moduix 0.11.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -0
- package/dist/components/{Accordion → accordion}/Accordion.css +8 -6
- package/dist/components/{Accordion → accordion}/Accordion.d.ts +1 -1
- package/dist/components/{Accordion → accordion}/Accordion.js +3 -3
- package/dist/components/accordion/Accordion.module.js +12 -0
- package/dist/components/{Alert → alert}/Alert.css +6 -6
- package/dist/components/{Alert → alert}/Alert.d.ts +1 -1
- package/dist/components/{Alert → alert}/Alert.js +1 -1
- package/dist/components/alert/Alert.module.js +11 -0
- package/dist/components/{AlertDialog → alert-dialog}/AlertDialog.css +13 -13
- package/dist/components/{AlertDialog → alert-dialog}/AlertDialog.d.ts +1 -1
- package/dist/components/{AlertDialog → alert-dialog}/AlertDialog.js +2 -2
- package/dist/components/alert-dialog/AlertDialog.module.js +18 -0
- package/dist/components/{AspectRatio → aspect-ratio}/AspectRatio.css +1 -1
- package/dist/components/{AspectRatio → aspect-ratio}/AspectRatio.d.ts +1 -1
- package/dist/components/{AspectRatio → aspect-ratio}/AspectRatio.js +1 -1
- package/dist/components/aspect-ratio/AspectRatio.module.js +5 -0
- package/dist/components/{Autocomplete → autocomplete}/Autocomplete.css +34 -34
- package/dist/components/{Autocomplete → autocomplete}/Autocomplete.d.ts +1 -1
- package/dist/components/{Autocomplete → autocomplete}/Autocomplete.js +3 -3
- package/dist/components/autocomplete/Autocomplete.module.js +37 -0
- package/dist/components/{Avatar → avatar}/Avatar.css +3 -3
- package/dist/components/{Avatar → avatar}/Avatar.d.ts +1 -1
- package/dist/components/{Avatar → avatar}/Avatar.js +2 -2
- package/dist/components/avatar/Avatar.module.js +9 -0
- package/dist/components/{Badge → badge}/Badge.css +2 -2
- package/dist/components/{Badge → badge}/Badge.d.ts +1 -1
- package/dist/components/{Badge → badge}/Badge.js +1 -1
- package/dist/components/{Badge → badge}/Badge.module.js +3 -3
- package/dist/components/{Bleed → bleed}/Bleed.css +12 -12
- package/dist/components/{Bleed → bleed}/Bleed.d.ts +1 -1
- package/dist/components/{Bleed → bleed}/Bleed.js +1 -1
- package/dist/components/bleed/Bleed.module.js +5 -0
- package/dist/components/{Breadcrumbs → breadcrumbs}/Breadcrumbs.css +10 -10
- package/dist/components/{Breadcrumbs → breadcrumbs}/Breadcrumbs.d.ts +1 -1
- package/dist/components/{Breadcrumbs → breadcrumbs}/Breadcrumbs.js +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +13 -0
- package/dist/components/{Button → button}/Button.css +1 -1
- package/dist/components/{Button → button}/Button.d.ts +1 -1
- package/dist/components/{Button → button}/Button.js +2 -2
- package/dist/components/button/Button.module.js +5 -0
- package/dist/components/{Card → card}/Card.css +11 -11
- package/dist/components/{Card → card}/Card.d.ts +1 -1
- package/dist/components/{Card → card}/Card.js +1 -1
- package/dist/components/card/Card.module.js +14 -0
- package/dist/components/{Checkbox → checkbox}/Checkbox.css +8 -8
- package/dist/components/{Checkbox → checkbox}/Checkbox.d.ts +1 -1
- package/dist/components/{Checkbox → checkbox}/Checkbox.js +3 -3
- package/dist/components/checkbox/Checkbox.module.js +13 -0
- package/dist/components/{CheckboxGroup → checkbox-group}/CheckboxGroup.css +5 -5
- package/dist/components/{CheckboxGroup → checkbox-group}/CheckboxGroup.d.ts +2 -2
- package/dist/components/{CheckboxGroup → checkbox-group}/CheckboxGroup.js +3 -3
- package/dist/components/checkbox-group/CheckboxGroup.module.js +11 -0
- package/dist/components/{CloseButton → close-button}/CloseButton.css +1 -1
- package/dist/components/{CloseButton → close-button}/CloseButton.d.ts +1 -1
- package/dist/components/{CloseButton → close-button}/CloseButton.js +3 -3
- package/dist/components/close-button/CloseButton.module.js +5 -0
- package/dist/components/{Collapsible → collapsible}/Collapsible.css +6 -4
- package/dist/components/{Collapsible → collapsible}/Collapsible.d.ts +1 -1
- package/dist/components/{Collapsible → collapsible}/Collapsible.js +3 -3
- package/dist/components/collapsible/Collapsible.module.js +10 -0
- package/dist/components/{Combobox → combobox}/Combobox.css +38 -38
- package/dist/components/{Combobox → combobox}/Combobox.d.ts +1 -1
- package/dist/components/{Combobox → combobox}/Combobox.js +3 -3
- package/dist/components/combobox/Combobox.module.js +42 -0
- package/dist/components/{CommandPalette → command-palette}/CommandPalette.css +26 -26
- package/dist/components/{CommandPalette → command-palette}/CommandPalette.d.ts +1 -1
- package/dist/components/{CommandPalette → command-palette}/CommandPalette.js +3 -3
- package/dist/components/command-palette/CommandPalette.module.js +30 -0
- package/dist/components/{Container → container}/Container.css +9 -9
- package/dist/components/{Container → container}/Container.d.ts +1 -1
- package/dist/components/{Container → container}/Container.js +1 -1
- package/dist/components/container/Container.module.js +5 -0
- package/dist/components/{ContextMenu → context-menu}/ContextMenu.css +27 -27
- package/dist/components/{ContextMenu → context-menu}/ContextMenu.d.ts +1 -1
- package/dist/components/{ContextMenu → context-menu}/ContextMenu.js +3 -3
- package/dist/components/context-menu/ContextMenu.module.js +33 -0
- package/dist/components/{CopyButton → copy-button}/CopyButton.css +1 -1
- package/dist/components/{CopyButton → copy-button}/CopyButton.d.ts +2 -2
- package/dist/components/{CopyButton → copy-button}/CopyButton.js +3 -3
- package/dist/components/copy-button/CopyButton.module.js +5 -0
- package/dist/components/{Dialog → dialog}/Dialog.css +11 -11
- package/dist/components/{Dialog → dialog}/Dialog.d.ts +1 -1
- package/dist/components/{Dialog → dialog}/Dialog.js +3 -3
- package/dist/components/dialog/Dialog.module.js +18 -0
- package/dist/components/{Drawer → drawer}/Drawer.css +25 -25
- package/dist/components/{Drawer → drawer}/Drawer.d.ts +1 -1
- package/dist/components/{Drawer → drawer}/Drawer.js +3 -3
- package/dist/components/drawer/Drawer.module.js +24 -0
- package/dist/components/{Empty → empty}/Empty.css +6 -6
- package/dist/components/{Empty → empty}/Empty.d.ts +1 -1
- package/dist/components/{Empty → empty}/Empty.js +1 -1
- package/dist/components/empty/Empty.module.js +12 -0
- package/dist/components/{Field → field}/Field.css +7 -7
- package/dist/components/{Field → field}/Field.d.ts +1 -1
- package/dist/components/{Field → field}/Field.js +2 -2
- package/dist/components/field/Field.module.js +12 -0
- package/dist/components/{Fieldset → fieldset}/Fieldset.css +4 -4
- package/dist/components/{Fieldset → fieldset}/Fieldset.d.ts +1 -1
- package/dist/components/{Fieldset → fieldset}/Fieldset.js +2 -2
- package/dist/components/{Fieldset → fieldset}/Fieldset.module.js +3 -3
- package/dist/components/{Form → form}/Form.css +1 -1
- package/dist/components/{Form → form}/Form.d.ts +1 -1
- package/dist/components/{Form → form}/Form.js +2 -2
- package/dist/components/form/Form.module.js +5 -0
- package/dist/components/{Heading → heading}/Heading.css +2 -2
- package/dist/components/{Heading → heading}/Heading.d.ts +1 -1
- package/dist/components/{Heading → heading}/Heading.js +1 -1
- package/dist/components/heading/Heading.module.js +5 -0
- package/dist/components/{Input → input}/Input.css +5 -5
- package/dist/components/{Input → input}/Input.d.ts +1 -1
- package/dist/components/{Input → input}/Input.js +2 -2
- package/dist/components/input/Input.module.js +5 -0
- package/dist/components/{InputGroup → input-group}/InputGroup.css +6 -6
- package/dist/components/{InputGroup → input-group}/InputGroup.d.ts +3 -3
- package/dist/components/{InputGroup → input-group}/InputGroup.js +4 -4
- package/dist/components/input-group/InputGroup.module.js +11 -0
- package/dist/components/{Kbd → kbd}/Kbd.css +3 -3
- package/dist/components/{Kbd → kbd}/Kbd.d.ts +1 -1
- package/dist/components/{Kbd → kbd}/Kbd.js +1 -1
- package/dist/components/{Kbd → kbd}/Kbd.module.js +3 -3
- package/dist/components/{Lightbox → lightbox}/Lightbox.css +11 -11
- package/dist/components/{Lightbox → lightbox}/Lightbox.d.ts +1 -1
- package/dist/components/{Lightbox → lightbox}/Lightbox.js +3 -3
- package/dist/components/lightbox/Lightbox.module.js +14 -0
- package/dist/components/{List → list}/List.css +8 -8
- package/dist/components/{List → list}/List.d.ts +1 -1
- package/dist/components/{List → list}/List.js +1 -1
- package/dist/components/list/List.module.js +5 -0
- package/dist/components/{Menu → menu}/Menu.css +33 -33
- package/dist/components/{Menu → menu}/Menu.d.ts +1 -1
- package/dist/components/{Menu → menu}/Menu.js +3 -3
- package/dist/components/menu/Menu.module.js +36 -0
- package/dist/components/{Menubar → menubar}/Menubar.css +34 -34
- package/dist/components/{Menubar → menubar}/Menubar.d.ts +1 -1
- package/dist/components/{Menubar → menubar}/Menubar.js +3 -3
- package/dist/components/menubar/Menubar.module.js +36 -0
- package/dist/components/{Meter → meter}/Meter.css +5 -5
- package/dist/components/{Meter → meter}/Meter.d.ts +1 -1
- package/dist/components/{Meter → meter}/Meter.js +2 -2
- package/dist/components/meter/Meter.module.js +11 -0
- package/dist/components/{NavigationMenu → navigation-menu}/NavigationMenu.css +19 -19
- package/dist/components/{NavigationMenu → navigation-menu}/NavigationMenu.d.ts +1 -1
- package/dist/components/{NavigationMenu → navigation-menu}/NavigationMenu.js +3 -3
- package/dist/components/navigation-menu/NavigationMenu.module.js +21 -0
- package/dist/components/{NumberField → number-field}/NumberField.css +8 -8
- package/dist/components/{NumberField → number-field}/NumberField.d.ts +1 -1
- package/dist/components/{NumberField → number-field}/NumberField.js +3 -3
- package/dist/components/number-field/NumberField.module.js +13 -0
- package/dist/components/{OTPField → otp-field}/OTPField.css +3 -3
- package/dist/components/{OTPField → otp-field}/OTPField.d.ts +1 -1
- package/dist/components/{OTPField → otp-field}/OTPField.js +2 -2
- package/dist/components/otp-field/OTPField.module.js +9 -0
- package/dist/components/{Pagination → pagination}/Pagination.css +10 -10
- package/dist/components/{Pagination → pagination}/Pagination.d.ts +1 -1
- package/dist/components/{Pagination → pagination}/Pagination.js +3 -3
- package/dist/components/pagination/Pagination.module.js +16 -0
- package/dist/components/{PasswordInput → password-input}/PasswordInput.css +4 -4
- package/dist/components/{PasswordInput → password-input}/PasswordInput.d.ts +2 -2
- package/dist/components/{PasswordInput → password-input}/PasswordInput.js +3 -3
- package/dist/components/password-input/PasswordInput.module.js +9 -0
- package/dist/components/{Popover → popover}/Popover.css +15 -15
- package/dist/components/{Popover → popover}/Popover.d.ts +1 -1
- package/dist/components/{Popover → popover}/Popover.js +3 -3
- package/dist/components/popover/Popover.module.js +22 -0
- package/dist/components/{PreviewCard → preview-card}/PreviewCard.css +10 -10
- package/dist/components/{PreviewCard → preview-card}/PreviewCard.d.ts +1 -1
- package/dist/components/{PreviewCard → preview-card}/PreviewCard.js +3 -3
- package/dist/components/preview-card/PreviewCard.module.js +16 -0
- package/dist/components/{Progress → progress}/Progress.css +7 -7
- package/dist/components/{Progress → progress}/Progress.d.ts +1 -1
- package/dist/components/{Progress → progress}/Progress.js +2 -2
- package/dist/components/progress/Progress.module.js +12 -0
- package/dist/components/{Radio → radio}/Radio.css +9 -9
- package/dist/components/{Radio → radio}/Radio.d.ts +1 -1
- package/dist/components/{Radio → radio}/Radio.js +2 -2
- package/dist/components/radio/Radio.module.js +14 -0
- package/dist/components/{Rating → rating}/Rating.css +14 -14
- package/dist/components/{Rating → rating}/Rating.d.ts +1 -1
- package/dist/components/{Rating → rating}/Rating.js +3 -3
- package/dist/components/rating/Rating.module.js +9 -0
- package/dist/components/{ScrollArea → scroll-area}/ScrollArea.css +11 -11
- package/dist/components/{ScrollArea → scroll-area}/ScrollArea.d.ts +1 -1
- package/dist/components/{ScrollArea → scroll-area}/ScrollArea.js +2 -2
- package/dist/components/scroll-area/ScrollArea.module.js +12 -0
- package/dist/components/{Select → select}/Select.css +29 -29
- package/dist/components/{Select → select}/Select.d.ts +1 -1
- package/dist/components/{Select → select}/Select.js +3 -3
- package/dist/components/select/Select.module.js +33 -0
- package/dist/components/{Separator → separator}/Separator.css +1 -1
- package/dist/components/{Separator → separator}/Separator.d.ts +1 -1
- package/dist/components/{Separator → separator}/Separator.js +2 -2
- package/dist/components/separator/Separator.module.js +5 -0
- package/dist/components/{Skeleton → skeleton}/Skeleton.css +1 -1
- package/dist/components/{Skeleton → skeleton}/Skeleton.d.ts +1 -1
- package/dist/components/{Skeleton → skeleton}/Skeleton.js +1 -1
- package/dist/components/skeleton/Skeleton.module.js +5 -0
- package/dist/components/{Slider → slider}/Slider.css +7 -7
- package/dist/components/{Slider → slider}/Slider.d.ts +1 -1
- package/dist/components/{Slider → slider}/Slider.js +2 -2
- package/dist/components/slider/Slider.module.js +13 -0
- package/dist/components/{SnapCarousel → snap-carousel}/SnapCarousel.css +16 -16
- package/dist/components/{SnapCarousel → snap-carousel}/SnapCarousel.d.ts +1 -1
- package/dist/components/{SnapCarousel → snap-carousel}/SnapCarousel.js +2 -2
- package/dist/components/snap-carousel/SnapCarousel.module.js +13 -0
- package/dist/components/{Spinner → spinner}/Spinner.css +9 -9
- package/dist/components/{Spinner → spinner}/Spinner.d.ts +1 -1
- package/dist/components/{Spinner → spinner}/Spinner.js +1 -1
- package/dist/components/spinner/Spinner.module.js +9 -0
- package/dist/components/{SplitButton → split-button}/SplitButton.css +11 -11
- package/dist/components/{SplitButton → split-button}/SplitButton.d.ts +3 -3
- package/dist/components/{SplitButton → split-button}/SplitButton.js +5 -5
- package/dist/components/split-button/SplitButton.module.js +9 -0
- package/dist/components/{Stack → stack}/Stack.css +2 -2
- package/dist/components/{Stack → stack}/Stack.d.ts +1 -1
- package/dist/components/{Stack → stack}/Stack.js +1 -1
- package/dist/components/stack/Stack.module.js +5 -0
- package/dist/components/{Stepper → stepper}/Stepper.css +11 -11
- package/dist/components/{Stepper → stepper}/Stepper.d.ts +1 -1
- package/dist/components/{Stepper → stepper}/Stepper.js +2 -2
- package/dist/components/stepper/Stepper.module.js +14 -0
- package/dist/components/{Switch → switch}/Switch.css +5 -5
- package/dist/components/{Switch → switch}/Switch.d.ts +1 -1
- package/dist/components/{Switch → switch}/Switch.js +2 -2
- package/dist/components/switch/Switch.module.js +10 -0
- package/dist/components/{Table → table}/Table.css +17 -17
- package/dist/components/{Table → table}/Table.d.ts +1 -1
- package/dist/components/{Table → table}/Table.js +1 -1
- package/dist/components/table/Table.module.js +18 -0
- package/dist/components/{Tabs → tabs}/Tabs.css +9 -9
- package/dist/components/{Tabs → tabs}/Tabs.d.ts +1 -1
- package/dist/components/{Tabs → tabs}/Tabs.js +2 -2
- package/dist/components/tabs/Tabs.module.js +11 -0
- package/dist/components/{Text → text}/Text.css +2 -2
- package/dist/components/{Text → text}/Text.d.ts +1 -1
- package/dist/components/{Text → text}/Text.js +1 -1
- package/dist/components/text/Text.module.js +5 -0
- package/dist/components/{Textarea → textarea}/Textarea.css +8 -8
- package/dist/components/{Textarea → textarea}/Textarea.d.ts +1 -1
- package/dist/components/{Textarea → textarea}/Textarea.js +2 -2
- package/dist/components/textarea/Textarea.module.js +5 -0
- package/dist/components/{Toast → toast}/Toast.css +20 -20
- package/dist/components/{Toast → toast}/Toast.d.ts +1 -1
- package/dist/components/{Toast → toast}/Toast.js +3 -3
- package/dist/components/toast/Toast.module.js +26 -0
- package/dist/components/{Toggle → toggle}/Toggle.css +1 -1
- package/dist/components/{Toggle → toggle}/Toggle.d.ts +1 -1
- package/dist/components/{Toggle → toggle}/Toggle.js +2 -2
- package/dist/components/toggle/Toggle.module.js +5 -0
- package/dist/components/{ToggleGroup → toggle-group}/ToggleGroup.css +6 -6
- package/dist/components/{ToggleGroup → toggle-group}/ToggleGroup.d.ts +2 -2
- package/dist/components/{ToggleGroup → toggle-group}/ToggleGroup.js +3 -3
- package/dist/components/{ToggleGroup → toggle-group}/ToggleGroup.module.js +3 -3
- package/dist/components/{Toolbar → toolbar}/Toolbar.css +8 -8
- package/dist/components/{Toolbar → toolbar}/Toolbar.d.ts +1 -1
- package/dist/components/{Toolbar → toolbar}/Toolbar.js +2 -2
- package/dist/components/toolbar/Toolbar.module.js +12 -0
- package/dist/components/{Tooltip → tooltip}/Tooltip.css +9 -9
- package/dist/components/{Tooltip → tooltip}/Tooltip.d.ts +1 -1
- package/dist/components/{Tooltip → tooltip}/Tooltip.js +3 -3
- package/dist/components/tooltip/Tooltip.module.js +15 -0
- package/dist/index.d.ts +66 -66
- package/dist/index.js +66 -66
- package/dist/{icons → lib/moduix/icons}/ui/Icons.d.ts +1 -1
- package/dist/{icons → lib/moduix/icons}/ui/Icons.js +1 -1
- package/dist/{utils → lib/moduix}/mergeClassName.js +1 -1
- package/dist/styles/style.css +3 -10
- package/package.json +1 -2
- package/dist/components/Accordion/Accordion.module.js +0 -12
- package/dist/components/Alert/Alert.module.js +0 -11
- package/dist/components/AlertDialog/AlertDialog.module.js +0 -18
- package/dist/components/AspectRatio/AspectRatio.module.js +0 -5
- package/dist/components/Autocomplete/Autocomplete.module.js +0 -37
- package/dist/components/Avatar/Avatar.module.js +0 -9
- package/dist/components/Bleed/Bleed.module.js +0 -5
- package/dist/components/Breadcrumbs/Breadcrumbs.module.js +0 -13
- package/dist/components/Button/Button.module.js +0 -5
- package/dist/components/Card/Card.module.js +0 -14
- package/dist/components/Checkbox/Checkbox.module.js +0 -13
- package/dist/components/CheckboxGroup/CheckboxGroup.module.js +0 -11
- package/dist/components/CloseButton/CloseButton.module.js +0 -5
- package/dist/components/Collapsible/Collapsible.module.js +0 -10
- package/dist/components/Combobox/Combobox.module.js +0 -42
- package/dist/components/CommandPalette/CommandPalette.module.js +0 -30
- package/dist/components/Container/Container.module.js +0 -5
- package/dist/components/ContextMenu/ContextMenu.module.js +0 -33
- package/dist/components/CopyButton/CopyButton.module.js +0 -5
- package/dist/components/Dialog/Dialog.module.js +0 -18
- package/dist/components/Drawer/Drawer.module.js +0 -24
- package/dist/components/Empty/Empty.module.js +0 -12
- package/dist/components/Field/Field.module.js +0 -12
- package/dist/components/Form/Form.module.js +0 -5
- package/dist/components/Heading/Heading.module.js +0 -5
- package/dist/components/Input/Input.module.js +0 -5
- package/dist/components/InputGroup/InputGroup.module.js +0 -11
- package/dist/components/Lightbox/Lightbox.module.js +0 -14
- package/dist/components/List/List.module.js +0 -5
- package/dist/components/Menu/Menu.module.js +0 -36
- package/dist/components/Menubar/Menubar.module.js +0 -36
- package/dist/components/Meter/Meter.module.js +0 -11
- package/dist/components/NavigationMenu/NavigationMenu.module.js +0 -21
- package/dist/components/NumberField/NumberField.module.js +0 -13
- package/dist/components/OTPField/OTPField.module.js +0 -9
- package/dist/components/Pagination/Pagination.module.js +0 -16
- package/dist/components/PasswordInput/PasswordInput.module.js +0 -9
- package/dist/components/Popover/Popover.module.js +0 -22
- package/dist/components/PreviewCard/PreviewCard.module.js +0 -16
- package/dist/components/Progress/Progress.module.js +0 -12
- package/dist/components/Radio/Radio.module.js +0 -14
- package/dist/components/Rating/Rating.module.js +0 -9
- package/dist/components/ScrollArea/ScrollArea.module.js +0 -12
- package/dist/components/Select/Select.module.js +0 -33
- package/dist/components/Separator/Separator.module.js +0 -5
- package/dist/components/Skeleton/Skeleton.module.js +0 -5
- package/dist/components/Slider/Slider.module.js +0 -13
- package/dist/components/SnapCarousel/SnapCarousel.module.js +0 -13
- package/dist/components/Spinner/Spinner.module.js +0 -9
- package/dist/components/SplitButton/SplitButton.module.js +0 -9
- package/dist/components/Stack/Stack.module.js +0 -5
- package/dist/components/Stepper/Stepper.module.js +0 -14
- package/dist/components/Switch/Switch.module.js +0 -10
- package/dist/components/Table/Table.module.js +0 -18
- package/dist/components/Tabs/Tabs.module.js +0 -11
- package/dist/components/Text/Text.module.js +0 -5
- package/dist/components/Textarea/Textarea.module.js +0 -5
- package/dist/components/Toast/Toast.module.js +0 -26
- package/dist/components/Toggle/Toggle.module.js +0 -5
- package/dist/components/Toolbar/Toolbar.module.js +0 -12
- package/dist/components/Tooltip/Tooltip.module.js +0 -15
- /package/dist/components/{Accordion → accordion}/index.d.ts +0 -0
- /package/dist/components/{Alert → alert}/index.d.ts +0 -0
- /package/dist/components/{AlertDialog → alert-dialog}/index.d.ts +0 -0
- /package/dist/components/{AspectRatio → aspect-ratio}/index.d.ts +0 -0
- /package/dist/components/{Autocomplete → autocomplete}/index.d.ts +0 -0
- /package/dist/components/{Avatar → avatar}/index.d.ts +0 -0
- /package/dist/components/{Badge → badge}/index.d.ts +0 -0
- /package/dist/components/{Bleed → bleed}/index.d.ts +0 -0
- /package/dist/components/{Breadcrumbs → breadcrumbs}/index.d.ts +0 -0
- /package/dist/components/{Button → button}/index.d.ts +0 -0
- /package/dist/components/{Card → card}/index.d.ts +0 -0
- /package/dist/components/{Checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/components/{CheckboxGroup → checkbox-group}/index.d.ts +0 -0
- /package/dist/components/{Collapsible → collapsible}/index.d.ts +0 -0
- /package/dist/components/{Combobox → combobox}/index.d.ts +0 -0
- /package/dist/components/{CommandPalette → command-palette}/index.d.ts +0 -0
- /package/dist/components/{Container → container}/index.d.ts +0 -0
- /package/dist/components/{ContextMenu → context-menu}/index.d.ts +0 -0
- /package/dist/components/{CopyButton → copy-button}/index.d.ts +0 -0
- /package/dist/components/{Dialog → dialog}/index.d.ts +0 -0
- /package/dist/components/{Drawer → drawer}/index.d.ts +0 -0
- /package/dist/components/{Empty → empty}/index.d.ts +0 -0
- /package/dist/components/{Field → field}/index.d.ts +0 -0
- /package/dist/components/{Fieldset → fieldset}/index.d.ts +0 -0
- /package/dist/components/{Form → form}/index.d.ts +0 -0
- /package/dist/components/{Heading → heading}/index.d.ts +0 -0
- /package/dist/components/{Input → input}/index.d.ts +0 -0
- /package/dist/components/{InputGroup → input-group}/index.d.ts +0 -0
- /package/dist/components/{Kbd → kbd}/index.d.ts +0 -0
- /package/dist/components/{Lightbox → lightbox}/index.d.ts +0 -0
- /package/dist/components/{List → list}/index.d.ts +0 -0
- /package/dist/components/{Menu → menu}/index.d.ts +0 -0
- /package/dist/components/{Menubar → menubar}/index.d.ts +0 -0
- /package/dist/components/{NavigationMenu → navigation-menu}/index.d.ts +0 -0
- /package/dist/components/{NumberField → number-field}/index.d.ts +0 -0
- /package/dist/components/{OTPField → otp-field}/index.d.ts +0 -0
- /package/dist/components/{Pagination → pagination}/index.d.ts +0 -0
- /package/dist/components/{PasswordInput → password-input}/index.d.ts +0 -0
- /package/dist/components/{Popover → popover}/index.d.ts +0 -0
- /package/dist/components/{PreviewCard → preview-card}/index.d.ts +0 -0
- /package/dist/components/{Radio → radio}/index.d.ts +0 -0
- /package/dist/components/{Rating → rating}/index.d.ts +0 -0
- /package/dist/components/{ScrollArea → scroll-area}/index.d.ts +0 -0
- /package/dist/components/{Select → select}/index.d.ts +0 -0
- /package/dist/components/{Skeleton → skeleton}/index.d.ts +0 -0
- /package/dist/components/{Slider → slider}/index.d.ts +0 -0
- /package/dist/components/{SnapCarousel → snap-carousel}/index.d.ts +0 -0
- /package/dist/components/{Spinner → spinner}/index.d.ts +0 -0
- /package/dist/components/{SplitButton → split-button}/index.d.ts +0 -0
- /package/dist/components/{Stack → stack}/index.d.ts +0 -0
- /package/dist/components/{Stepper → stepper}/index.d.ts +0 -0
- /package/dist/components/{Switch → switch}/index.d.ts +0 -0
- /package/dist/components/{Table → table}/index.d.ts +0 -0
- /package/dist/components/{Text → text}/index.d.ts +0 -0
- /package/dist/components/{Textarea → textarea}/index.d.ts +0 -0
- /package/dist/components/{Toast → toast}/index.d.ts +0 -0
- /package/dist/components/{Toggle → toggle}/index.d.ts +0 -0
- /package/dist/components/{ToggleGroup → toggle-group}/index.d.ts +0 -0
- /package/dist/components/{Tooltip → tooltip}/index.d.ts +0 -0
- /package/dist/{icons → lib/moduix/icons}/ui/index.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Heading_module_default from "./Heading.module.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import clsx$1 from "clsx";
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/heading/Heading.tsx
|
|
5
5
|
const defaultSizeByElement = {
|
|
6
6
|
h1: "2xl",
|
|
7
7
|
h2: "xl",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.D49G_G_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: var(--input-width, 100%);
|
|
5
5
|
max-width: var(--input-max-width, none);
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.D49G_G_root[data-size="xs"] {
|
|
48
48
|
--input-height: var(--input-height-xs, var(--size-sm));
|
|
49
49
|
--input-padding-x: var(--input-padding-x-xs, .625rem);
|
|
50
50
|
--input-padding-y: var(--input-padding-y-xs, .25rem);
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
--input-line-height: var(--input-line-height-xs, var(--line-height-text-xs));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
.D49G_G_root[data-size="sm"] {
|
|
56
56
|
--input-height: var(--input-height-sm, 2rem);
|
|
57
57
|
--input-padding-x: var(--input-padding-x-sm, .75rem);
|
|
58
58
|
--input-padding-y: var(--input-padding-y-sm, .3125rem);
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
--input-line-height: var(--input-line-height-sm, var(--line-height-text-sm));
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.D49G_G_root[data-size="lg"] {
|
|
64
64
|
--input-height: var(--input-height-lg, var(--size-xl));
|
|
65
65
|
--input-padding-x: var(--input-padding-x-lg, 1rem);
|
|
66
66
|
--input-padding-y: var(--input-padding-y-lg, .625rem);
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
--input-line-height: var(--input-line-height-lg, var(--line-height-text-lg));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
.D49G_G_root[data-size="xl"] {
|
|
72
72
|
--input-height: var(--input-height-xl, 3rem);
|
|
73
73
|
--input-padding-x: var(--input-padding-x-xl, 1.125rem);
|
|
74
74
|
--input-padding-y: var(--input-padding-y-xl, .75rem);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
import { Input } from "@base-ui/react/input";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/input/Input.d.ts
|
|
5
5
|
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
6
|
type InputProps = Omit<Input.Props, 'size'> & {
|
|
7
7
|
size?: InputSize;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import Input_module_default from "./Input.module.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { Input } from "@base-ui/react/input";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/input/Input.tsx
|
|
7
7
|
const Input$1 = forwardRef(function Input$2({ className, size = "md", htmlSize, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsx(Input, {
|
|
9
9
|
ref,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.csZHjG_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: var(--input-group-width, 100%);
|
|
5
5
|
max-width: var(--input-group-max-width, none);
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.
|
|
84
|
+
.csZHjG_input {
|
|
85
85
|
min-width: 0;
|
|
86
86
|
min-height: 0;
|
|
87
87
|
font-size: var(--input-group-font-size, var(--text-md));
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
flex: auto;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.csZHjG_addon, .csZHjG_text {
|
|
99
99
|
box-sizing: border-box;
|
|
100
100
|
justify-content: center;
|
|
101
101
|
align-items: center;
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.csZHjG_addon {
|
|
120
120
|
border-inline: var(--input-group-separator-width, var(--border-width-sm)) solid
|
|
121
121
|
var(--input-group-separator-color, var(--color-border));
|
|
122
122
|
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.csZHjG_text {
|
|
133
133
|
background-color: #0000;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
.csZHjG_button {
|
|
137
137
|
height: auto;
|
|
138
138
|
min-height: auto;
|
|
139
139
|
padding-block: 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ButtonProps } from "../
|
|
2
|
-
import { Input, InputProps } from "../
|
|
1
|
+
import { ButtonProps } from "../button/Button.js";
|
|
2
|
+
import { Input, InputProps } from "../input/Input.js";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/input-group/InputGroup.d.ts
|
|
6
6
|
declare const InputGroup: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
7
7
|
size?: ComponentProps<typeof Input>["size"];
|
|
8
8
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
2
|
-
import { Button } from "../
|
|
3
|
-
import { Input } from "../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
|
+
import { Button } from "../button/Button.js";
|
|
3
|
+
import { Input } from "../input/Input.js";
|
|
4
4
|
import InputGroup_module_default from "./InputGroup.module.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { createContext, forwardRef, useContext } from "react";
|
|
8
|
-
//#region src/components/
|
|
8
|
+
//#region src/components/input-group/InputGroup.tsx
|
|
9
9
|
const InputGroupSizeContext = createContext("md");
|
|
10
10
|
const InputGroup = forwardRef(function InputGroup({ children, className, onMouseDown, size = "md", ...props }, ref) {
|
|
11
11
|
const handleMouseDown = (event) => {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './InputGroup.css';
|
|
2
|
+
//#region src/components/input-group/InputGroup.module.css
|
|
3
|
+
var InputGroup_module_default = {
|
|
4
|
+
"addon": "csZHjG_addon",
|
|
5
|
+
"button": "csZHjG_button",
|
|
6
|
+
"input": "csZHjG_input",
|
|
7
|
+
"root": "csZHjG_root",
|
|
8
|
+
"text": "csZHjG_text"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { InputGroup_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
._6mPSYa_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
min-width: var(--kbd-min-width, var(--kbd-height, 1.5rem));
|
|
5
5
|
height: var(--kbd-height, 1.5rem);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
background-color: var(--kbd-bg, var(--color-muted));
|
|
13
13
|
box-shadow: var(--kbd-shadow, inset 0 -1px 0 color-mix(in oklab, var(--color-foreground) 12%, transparent));
|
|
14
14
|
color: var(--kbd-color, var(--color-foreground));
|
|
15
|
-
font-family: var(--kbd-font-family, var(--font-mono));
|
|
15
|
+
font-family: var(--kbd-font-family, var(--font-mono)), monospace;
|
|
16
16
|
font-size: var(--kbd-font-size, var(--text-xs));
|
|
17
17
|
font-weight: var(--kbd-font-weight, var(--weight-medium));
|
|
18
18
|
line-height: var(--kbd-line-height, var(--line-height-text-xs));
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
._6mPSYa_group {
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
align-items: center;
|
|
34
34
|
gap: var(--kbd-group-gap, .25rem);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Kbd_module_default from "./Kbd.module.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import clsx$1 from "clsx";
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/kbd/Kbd.tsx
|
|
5
5
|
function Kbd({ className, ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx("kbd", {
|
|
7
7
|
"data-slot": "kbd-root",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './Kbd.css';
|
|
2
|
-
//#region src/components/
|
|
2
|
+
//#region src/components/kbd/Kbd.module.css
|
|
3
3
|
var Kbd_module_default = {
|
|
4
|
-
"group": "
|
|
5
|
-
"root": "
|
|
4
|
+
"group": "_6mPSYa_group",
|
|
5
|
+
"root": "_6mPSYa_root"
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Kbd_module_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.fxf4Xq_trigger {
|
|
3
3
|
cursor: zoom-in;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.fxf4Xq_backdrop {
|
|
7
7
|
z-index: var(--z-backdrop);
|
|
8
8
|
background-color: var(--lightbox-backdrop-bg, var(--backdrop-bg, var(--color-overlay)));
|
|
9
9
|
min-height: 100dvh;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.fxf4Xq_viewport {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
z-index: var(--z-modal);
|
|
25
25
|
padding: var(--lightbox-viewport-padding, var(--spacing-4));
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
.fxf4Xq_popup {
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
width: auto;
|
|
36
36
|
max-width: min(var(--lightbox-max-width, 80vw),
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.fxf4Xq_frame {
|
|
53
53
|
width: fit-content;
|
|
54
54
|
max-width: min(var(--lightbox-width, 80vw), 100%);
|
|
55
55
|
height: min(var(--lightbox-height, 80dvh), 100%);
|
|
56
56
|
max-height: min(var(--lightbox-height, 80dvh), 100%);
|
|
57
|
-
animation:
|
|
57
|
+
animation: fxf4Xq_lightbox-image-enter var(--lightbox-image-enter-duration, .24s) ease;
|
|
58
58
|
place-items: center;
|
|
59
59
|
display: grid;
|
|
60
60
|
position: relative;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.fxf4Xq_closeButton {
|
|
64
64
|
--close-button-size: var(--lightbox-close-size, 2rem);
|
|
65
65
|
--close-button-radius: var(--lightbox-close-radius, var(--radius-sm));
|
|
66
66
|
--close-button-icon-size: var(--lightbox-close-icon-size, .875rem);
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
position: fixed;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.fxf4Xq_viewport[data-starting-style] > .fxf4Xq_closeButton, .fxf4Xq_viewport[data-ending-style] > .fxf4Xq_closeButton {
|
|
83
83
|
opacity: 0;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.fxf4Xq_frame img, .fxf4Xq_frame picture > img {
|
|
87
87
|
width: auto;
|
|
88
88
|
height: auto;
|
|
89
89
|
max-width: min(var(--lightbox-image-max-width, 80vw), 100%);
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
display: block;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.fxf4Xq_contentClose {
|
|
99
99
|
cursor: zoom-out;
|
|
100
100
|
display: contents;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
@keyframes
|
|
103
|
+
@keyframes fxf4Xq_lightbox-image-enter {
|
|
104
104
|
from {
|
|
105
105
|
opacity: .35;
|
|
106
106
|
transform: scale(var(--lightbox-image-enter-scale, .9));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, RefObject } from "react";
|
|
2
2
|
import { Dialog } from "@base-ui/react/dialog";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/lightbox/Lightbox.d.ts
|
|
5
5
|
declare const createLightboxHandle: typeof Dialog.createHandle;
|
|
6
6
|
declare function Lightbox<Payload = unknown>(props: Dialog.Root.Props<Payload>): import("react").JSX.Element;
|
|
7
7
|
declare function LightboxTrigger({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
2
|
-
import { CloseButton } from "../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
|
+
import { CloseButton } from "../close-button/CloseButton.js";
|
|
3
3
|
import Lightbox_module_default from "./Lightbox.module.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { createContext, useContext, useEffect, useState } from "react";
|
|
7
7
|
import { Dialog } from "@base-ui/react/dialog";
|
|
8
|
-
//#region src/components/
|
|
8
|
+
//#region src/components/lightbox/Lightbox.tsx
|
|
9
9
|
const DEFAULT_CLOSE_LABEL = "Close image";
|
|
10
10
|
const createLightboxHandle = Dialog.createHandle;
|
|
11
11
|
const LightboxImageContext = createContext(null);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './Lightbox.css';
|
|
2
|
+
//#region src/components/lightbox/Lightbox.module.css
|
|
3
|
+
var Lightbox_module_default = {
|
|
4
|
+
"backdrop": "fxf4Xq_backdrop",
|
|
5
|
+
"closeButton": "fxf4Xq_closeButton",
|
|
6
|
+
"contentClose": "fxf4Xq_contentClose",
|
|
7
|
+
"frame": "fxf4Xq_frame",
|
|
8
|
+
"lightbox-image-enter": "fxf4Xq_lightbox-image-enter",
|
|
9
|
+
"popup": "fxf4Xq_popup",
|
|
10
|
+
"trigger": "fxf4Xq_trigger",
|
|
11
|
+
"viewport": "fxf4Xq_viewport"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Lightbox_module_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
|
|
2
|
+
.U2Gd-q_root {
|
|
3
3
|
--_list-color: var(--list-color, var(--list-default-color, var(--color-foreground)));
|
|
4
4
|
--_list-font-size: var(--list-font-size, var(--list-font-size-md, var(--text-md)));
|
|
5
5
|
--_list-gap: var(--list-gap, var(--list-gap-sm, var(--spacing-2)));
|
|
6
6
|
--_list-line-height: var(--list-line-height, var(--list-line-height-md, var(--line-height-text-md)));
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
color: var(--_list-color);
|
|
9
|
-
font-family: var(--list-font-family,
|
|
9
|
+
font-family: var(--list-font-family, inherit);
|
|
10
10
|
font-size: var(--_list-font-size);
|
|
11
11
|
font-weight: var(--list-font-weight, var(--weight-regular));
|
|
12
12
|
line-height: var(--_list-line-height);
|
|
@@ -88,27 +88,27 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
.U2Gd-q_root[data-gap="xs"] {
|
|
92
92
|
--_list-gap: var(--list-gap, var(--list-gap-xs, var(--spacing-1)));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
.U2Gd-q_root[data-gap="sm"] {
|
|
96
96
|
--_list-gap: var(--list-gap, var(--list-gap-sm, var(--spacing-2)));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
.U2Gd-q_root[data-gap="md"] {
|
|
100
100
|
--_list-gap: var(--list-gap, var(--list-gap-md, var(--spacing-3)));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
.U2Gd-q_root[data-gap="lg"] {
|
|
104
104
|
--_list-gap: var(--list-gap, var(--list-gap-lg, var(--spacing-4)));
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
.U2Gd-q_root[data-gap="xl"] {
|
|
108
108
|
--_list-gap: var(--list-gap, var(--list-gap-xl, var(--spacing-5)));
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
.U2Gd-q_root[data-gap="2xl"] {
|
|
112
112
|
--_list-gap: var(--list-gap, var(--list-gap-2xl, var(--spacing-6)));
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from "react";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/list/List.d.ts
|
|
4
4
|
type ListAs = 'ul' | 'ol';
|
|
5
5
|
type ListMarker = 'none' | 'disc' | 'decimal';
|
|
6
6
|
type ListGap = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import List_module_default from "./List.module.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import clsx$1 from "clsx";
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/list/List.tsx
|
|
5
5
|
function List({ as = "ul", marker, gap = "sm", size = "md", tone = "default", className, role, ...props }) {
|
|
6
6
|
const Component = as;
|
|
7
7
|
const resolvedMarker = marker ?? (as === "ol" ? "decimal" : "disc");
|