UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

1 lines 1.68 kB
{"version":3,"file":"dropdown-list.cjs","sources":["../../../components/dropdown/dropdown_list.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <li>\n <div\n v-if=\"heading\"\n class=\"dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center\"\n >\n <span>{{ heading }}</span>\n </div>\n <!-- eslint-disable-next-line vuejs-accessibility/mouse-events-have-key-events -->\n <ul\n :class=\"['d-ps-relative', 'd-stack2', 'd-px0', listClass]\"\n data-qa=\"dt-dropdown-list-wrapper\"\n >\n <!-- @slot Slot for the list component -->\n <slot />\n </ul>\n </li>\n</template>\n\n<script>\nexport default {\n compatConfig: { MODE: 3 },\n name: 'DtDropdownList',\n props: {\n /**\n * List's heading.\n */\n heading: {\n type: String,\n default: '',\n },\n\n /**\n * Additional class for the wrapper list element.\n */\n listClass: {\n type: [String, Array, Object],\n default: '',\n },\n },\n};\n</script>\n"],"names":["_sfc_main","_createElementBlock","$props","_openBlock","_hoisted_1","_createElementVNode","_createCommentVNode","_normalizeClass","_renderSlot","_ctx"],"mappings":"6LAqBKA,EAAU,CACb,aAAc,CAAE,KAAM,GACtB,KAAM,iBACN,MAAO,CAIL,QAAS,CACP,KAAM,OACN,QAAS,IAMX,UAAW,CACT,KAAM,CAAC,OAAQ,MAAO,MAAM,EAC5B,QAAS,IAGf,KAzCA,IAAA,EAKM,MAAM,iJAHVC,qBAeK,KAAA,KAAA,CAbKC,EAAA,SADRC,EAAAA,YAAAF,EAAAA,mBAKM,MALNG,EAKM,CADJC,EAAAA,mBAA0B,8BAAjBH,EAAA,OAAO,EAAA,CAAA,KAPtBI,EAAAA,mBAAA,GAAA,EAAA,EAUID,EAAAA,mBAMK,KAAA,CALF,MAXPE,EAAAA,mDAWqDL,EAAA,SAAS,CAAA,EACxD,UAAQ,6BAGRM,aAAQC,EAAA,OAAA,SAAA"}