@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
1 lines • 2.27 kB
Source Map (JSON)
{"version":3,"file":"theme.mjs","sources":["../../../src/components/Dropdown/theme.ts"],"sourcesContent":["import type { FlowbiteDropdownTheme } from './Dropdown';\n\nexport const dropdownTheme: FlowbiteDropdownTheme = {\n arrowIcon: 'ml-2 h-4 w-4',\n content: 'py-1 focus:outline-none',\n floating: {\n animation: 'transition-opacity',\n arrow: {\n base: 'absolute z-10 h-2 w-2 rotate-45',\n style: {\n dark: 'bg-gray-900 dark:bg-gray-700',\n light: 'bg-white',\n auto: 'bg-white dark:bg-gray-700',\n },\n placement: '-4px',\n },\n base: 'z-10 w-fit rounded divide-y divide-gray-100 shadow focus:outline-none',\n content: 'py-1 text-sm text-gray-700 dark:text-gray-200',\n divider: 'my-1 h-px bg-gray-100 dark:bg-gray-600',\n header: 'block py-2 px-4 text-sm text-gray-700 dark:text-gray-200',\n hidden: 'invisible opacity-0',\n item: {\n container: '',\n base: 'flex items-center justify-start py-2 px-4 text-sm text-gray-700 cursor-pointer w-full hover:bg-gray-100 focus:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 focus:outline-none dark:hover:text-white dark:focus:bg-gray-600 dark:focus:text-white',\n icon: 'mr-2 h-4 w-4',\n },\n style: {\n dark: 'bg-gray-900 text-white dark:bg-gray-700',\n light: 'border border-gray-200 bg-white text-gray-900',\n auto: 'border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white',\n },\n target: 'w-fit',\n },\n inlineWrapper: 'flex items-center',\n};\n"],"names":["dropdownTheme","arrowIcon","content","floating","animation","arrow","base","style","dark","light","auto","placement","divider","header","hidden","item","container","icon","target","inlineWrapper"],"mappings":"AAEO,MAAMA,IAAuC;AAAA,EAClDC,WAAW;AAAA,EACXC,SAAS;AAAA,EACTC,UAAU;AAAA,IACRC,WAAW;AAAA,IACXC,OAAO;AAAA,MACLC,MAAM;AAAA,MACNC,OAAO;AAAA,QACLC,MAAM;AAAA,QACNC,OAAO;AAAA,QACPC,MAAM;AAAA,MACR;AAAA,MACAC,WAAW;AAAA,IACb;AAAA,IACAL,MAAM;AAAA,IACNJ,SAAS;AAAA,IACTU,SAAS;AAAA,IACTC,QAAQ;AAAA,IACRC,QAAQ;AAAA,IACRC,MAAM;AAAA,MACJC,WAAW;AAAA,MACXV,MAAM;AAAA,MACNW,MAAM;AAAA,IACR;AAAA,IACAV,OAAO;AAAA,MACLC,MAAM;AAAA,MACNC,OAAO;AAAA,MACPC,MAAM;AAAA,IACR;AAAA,IACAQ,QAAQ;AAAA,EACV;AAAA,EACAC,eAAe;AACjB;"}