moduix 0.11.2 → 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 +8 -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 +21 -21
- 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 +21 -20
- 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
package/README.md
CHANGED
|
@@ -42,6 +42,13 @@ it helps another team build consistent interfaces faster, that is already a good
|
|
|
42
42
|
|
|
43
43
|
## Installation
|
|
44
44
|
|
|
45
|
+
moduix supports two installation paths:
|
|
46
|
+
|
|
47
|
+
- Install the library as a regular npm package when you want package-managed updates.
|
|
48
|
+
- Install component source into your own project with `shadcn` when you want direct ownership.
|
|
49
|
+
|
|
50
|
+
### npm package
|
|
51
|
+
|
|
45
52
|
```bash
|
|
46
53
|
npm install moduix @base-ui/react
|
|
47
54
|
```
|
|
@@ -49,6 +56,59 @@ npm install moduix @base-ui/react
|
|
|
49
56
|
`react`, `react-dom`, and `@base-ui/react` are peer dependencies. They stay in your application
|
|
50
57
|
bundle, so moduix does not ship duplicate React or Base UI runtimes.
|
|
51
58
|
|
|
59
|
+
### shadcn copy-owned install
|
|
60
|
+
|
|
61
|
+
`shadcn` can install selected moduix components from the GitHub registry directly into your project.
|
|
62
|
+
The files become part of your codebase instead of staying in `node_modules`.
|
|
63
|
+
|
|
64
|
+
Make sure your project resolves the `@/*` alias to `src/*` in both `tsconfig.json` and
|
|
65
|
+
`tsconfig.app.json`, and mirror it in your bundler config.
|
|
66
|
+
|
|
67
|
+
Create `components.json` in the project root. Current workaround while `shadcn` custom registry
|
|
68
|
+
base init still fails for this setup:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
73
|
+
"style": "new-york",
|
|
74
|
+
"rsc": false,
|
|
75
|
+
"tsx": true,
|
|
76
|
+
"tailwind": {
|
|
77
|
+
"config": "",
|
|
78
|
+
"css": "src/index.css",
|
|
79
|
+
"baseColor": "neutral",
|
|
80
|
+
"cssVariables": true,
|
|
81
|
+
"prefix": ""
|
|
82
|
+
},
|
|
83
|
+
"iconLibrary": "lucide",
|
|
84
|
+
"rtl": false,
|
|
85
|
+
"aliases": {
|
|
86
|
+
"components": "@/components",
|
|
87
|
+
"utils": "@/lib/utils",
|
|
88
|
+
"ui": "@/components/ui",
|
|
89
|
+
"lib": "@/lib",
|
|
90
|
+
"hooks": "@/hooks"
|
|
91
|
+
},
|
|
92
|
+
"registries": {}
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
npx shadcn@latest add Blinks44/moduix/button
|
|
98
|
+
npx shadcn@latest add Blinks44/moduix/accordion
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
The registry install also pulls in the shared moduix foundation files those components need, such as
|
|
102
|
+
styles, icons, and small utilities.
|
|
103
|
+
|
|
104
|
+
Import the generated foundation stylesheet once in your application entry point:
|
|
105
|
+
|
|
106
|
+
```tsx
|
|
107
|
+
import '@/lib/moduix/styles/style.css';
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
With the aliases above, generated files land in `src/components/moduix/*` and `src/lib/moduix/*`.
|
|
111
|
+
|
|
52
112
|
## Usage
|
|
53
113
|
|
|
54
114
|
Import the required foundation stylesheet once in your application entry point:
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.w4lmKG_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
min-width: 0;
|
|
5
|
+
width: var(--accordion-width, 22rem);
|
|
6
|
+
max-width: var(--accordion-max-width, 100%);
|
|
5
7
|
color: var(--accordion-color, var(--color-foreground));
|
|
6
8
|
flex-direction: column;
|
|
7
9
|
display: flex;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
|
-
.
|
|
12
|
+
.w4lmKG_item:not(:last-child) {
|
|
11
13
|
border-bottom: var(--accordion-item-border-width, var(--border-width-sm)) solid
|
|
12
14
|
var(--accordion-item-border-color, var(--color-border));
|
|
13
15
|
}
|
|
14
16
|
|
|
15
|
-
.
|
|
17
|
+
.w4lmKG_header {
|
|
16
18
|
margin: 0;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
.
|
|
21
|
+
.w4lmKG_trigger {
|
|
20
22
|
box-sizing: border-box;
|
|
21
23
|
justify-content: space-between;
|
|
22
24
|
align-items: center;
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
|
|
62
|
-
.
|
|
64
|
+
.w4lmKG_triggerIcon {
|
|
63
65
|
box-sizing: border-box;
|
|
64
66
|
width: var(--accordion-icon-size, .75rem);
|
|
65
67
|
height: var(--accordion-icon-size, .75rem);
|
|
@@ -79,7 +81,7 @@
|
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
.
|
|
84
|
+
.w4lmKG_panel {
|
|
83
85
|
box-sizing: border-box;
|
|
84
86
|
height: var(--accordion-panel-height);
|
|
85
87
|
color: var(--accordion-panel-color, var(--color-muted-foreground));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Accordion } from "@base-ui/react/accordion";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/accordion/Accordion.d.ts
|
|
5
5
|
declare const Accordion$1: import("react").ForwardRefExoticComponent<Omit<Accordion.Root.Props<any>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
6
|
declare const AccordionItem: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").AccordionItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const AccordionHeader: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").AccordionHeaderProps, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PlusIcon } from "../../icons/ui/Icons.js";
|
|
2
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { PlusIcon } from "../../lib/moduix/icons/ui/Icons.js";
|
|
2
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
3
3
|
import Accordion_module_default from "./Accordion.module.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { Accordion } from "@base-ui/react/accordion";
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
//#region src/components/
|
|
8
|
+
//#region src/components/accordion/Accordion.tsx
|
|
9
9
|
const Accordion$1 = forwardRef(function Accordion$2({ className, ...props }, ref) {
|
|
10
10
|
return /* @__PURE__ */ jsx(Accordion.Root, {
|
|
11
11
|
ref,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './Accordion.css';
|
|
2
|
+
//#region src/components/accordion/Accordion.module.css
|
|
3
|
+
var Accordion_module_default = {
|
|
4
|
+
"header": "w4lmKG_header",
|
|
5
|
+
"item": "w4lmKG_item",
|
|
6
|
+
"panel": "w4lmKG_panel",
|
|
7
|
+
"root": "w4lmKG_root",
|
|
8
|
+
"trigger": "w4lmKG_trigger",
|
|
9
|
+
"triggerIcon": "w4lmKG_triggerIcon"
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Accordion_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.qvul9W_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
align-items: start;
|
|
5
5
|
gap: var(--alert-gap, var(--spacing-3));
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.qvul9W_icon {
|
|
63
63
|
width: var(--alert-icon-size, 1rem);
|
|
64
64
|
height: var(--alert-icon-size, 1rem);
|
|
65
65
|
color: var(--alert-icon-color, var(--alert-icon-color-default, currentColor));
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.
|
|
79
|
+
.qvul9W_content {
|
|
80
80
|
gap: var(--alert-content-gap, var(--spacing-1));
|
|
81
81
|
min-width: 0;
|
|
82
82
|
display: grid;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.qvul9W_title {
|
|
86
86
|
min-width: 0;
|
|
87
87
|
color: var(--alert-title-color, var(--alert-color, var(--alert-color-default)));
|
|
88
88
|
font-size: var(--alert-title-font-size, var(--text-sm));
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
margin: 0;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.
|
|
95
|
+
.qvul9W_description {
|
|
96
96
|
min-width: 0;
|
|
97
97
|
color: var(--alert-description-color, var(--color-muted-foreground));
|
|
98
98
|
font-size: var(--alert-description-font-size, var(--text-sm));
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.
|
|
111
|
+
.qvul9W_root:not(:has([data-slot="alert-icon"])) .qvul9W_content {
|
|
112
112
|
grid-column: 1 / -1;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, ComponentPropsWithoutRef } from "react";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/alert/Alert.d.ts
|
|
4
4
|
type AlertVariant = 'default' | 'info' | 'success' | 'warning' | 'destructive';
|
|
5
5
|
type AlertTitleElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6
6
|
declare function Alert({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Alert_module_default from "./Alert.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/alert/Alert.tsx
|
|
5
5
|
function Alert({ className, role, variant = "default", ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx("div", {
|
|
7
7
|
role: role ?? (variant === "destructive" ? "alert" : "status"),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './Alert.css';
|
|
2
|
+
//#region src/components/alert/Alert.module.css
|
|
3
|
+
var Alert_module_default = {
|
|
4
|
+
"content": "qvul9W_content",
|
|
5
|
+
"description": "qvul9W_description",
|
|
6
|
+
"icon": "qvul9W_icon",
|
|
7
|
+
"root": "qvul9W_root",
|
|
8
|
+
"title": "qvul9W_title"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Alert_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.uWgiba_trigger, .uWgiba_close {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
min-height: var(--alert-dialog-control-height, var(--size-lg));
|
|
5
5
|
padding: var(--alert-dialog-control-padding-y, .5rem)
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
.uWgiba_trigger {
|
|
45
45
|
color: var(--alert-dialog-trigger-color, var(--color-destructive));
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.uWgiba_backdrop {
|
|
49
49
|
z-index: var(--z-backdrop);
|
|
50
50
|
background-color: var(--alert-dialog-backdrop-bg, var(--backdrop-bg, var(--color-overlay)));
|
|
51
51
|
min-height: 100dvh;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.uWgiba_viewport {
|
|
65
65
|
box-sizing: border-box;
|
|
66
66
|
z-index: var(--z-modal);
|
|
67
67
|
overscroll-behavior: contain;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
overflow-y: auto;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.uWgiba_popup {
|
|
77
77
|
box-sizing: border-box;
|
|
78
78
|
gap: var(--spacing-4);
|
|
79
79
|
width: min(var(--alert-dialog-width, 24rem),
|
|
@@ -98,36 +98,36 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
.
|
|
101
|
+
.uWgiba_header {
|
|
102
102
|
gap: var(--alert-dialog-header-gap, var(--spacing-1));
|
|
103
103
|
display: grid;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.uWgiba_title {
|
|
107
107
|
color: var(--alert-dialog-title-color, var(--alert-dialog-color, var(--color-popover-foreground)));
|
|
108
108
|
font-size: var(--alert-dialog-title-font-size, var(--text-lg));
|
|
109
109
|
font-weight: var(--alert-dialog-title-font-weight, var(--weight-semibold));
|
|
110
110
|
line-height: var(--alert-dialog-title-line-height, var(--line-height-text-lg));
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.uWgiba_description {
|
|
114
114
|
color: var(--alert-dialog-description-color, var(--alert-dialog-muted-color, var(--color-muted-foreground)));
|
|
115
115
|
font-size: var(--alert-dialog-description-font-size, var(--text-md));
|
|
116
116
|
line-height: var(--alert-dialog-description-line-height, var(--line-height-text-md));
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.uWgiba_title, .uWgiba_description {
|
|
120
120
|
margin: 0;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.uWgiba_footer {
|
|
124
124
|
justify-content: flex-end;
|
|
125
125
|
gap: var(--alert-dialog-footer-gap, var(--spacing-2));
|
|
126
126
|
flex-wrap: wrap;
|
|
127
127
|
display: flex;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
.uWgiba_cancel {
|
|
131
131
|
border-color: var(--alert-dialog-cancel-border-color, var(--color-border));
|
|
132
132
|
background-color: var(--alert-dialog-cancel-bg, var(--alert-dialog-control-bg, var(--color-background)));
|
|
133
133
|
color: var(--alert-dialog-cancel-color, var(--alert-dialog-control-color, var(--color-foreground)));
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.
|
|
142
|
+
.uWgiba_action {
|
|
143
143
|
border-color: var(--alert-dialog-action-border-color, var(--color-primary));
|
|
144
144
|
background-color: var(--alert-dialog-action-bg, var(--color-primary));
|
|
145
145
|
color: var(--alert-dialog-action-color, var(--color-primary-foreground));
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.
|
|
154
|
+
.uWgiba_body {
|
|
155
155
|
color: var(--alert-dialog-description-color, var(--alert-dialog-muted-color, var(--color-muted-foreground)));
|
|
156
156
|
font-size: var(--alert-dialog-description-font-size, var(--text-md));
|
|
157
157
|
line-height: var(--alert-dialog-description-line-height, var(--line-height-text-md));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
import { AlertDialog } from "@base-ui/react/alert-dialog";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/alert-dialog/AlertDialog.d.ts
|
|
5
5
|
declare const AlertDialog$1: typeof AlertDialog.Root;
|
|
6
6
|
declare const createAlertDialogHandle: typeof AlertDialog.createHandle;
|
|
7
7
|
declare function AlertDialogPortal({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import AlertDialog_module_default from "./AlertDialog.module.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { AlertDialog } from "@base-ui/react/alert-dialog";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/alert-dialog/AlertDialog.tsx
|
|
7
7
|
const AlertDialog$1 = AlertDialog.Root;
|
|
8
8
|
const createAlertDialogHandle = AlertDialog.createHandle;
|
|
9
9
|
function AlertDialogPortal({ className, ...props }) {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import './AlertDialog.css';
|
|
2
|
+
//#region src/components/alert-dialog/AlertDialog.module.css
|
|
3
|
+
var AlertDialog_module_default = {
|
|
4
|
+
"action": "uWgiba_action",
|
|
5
|
+
"backdrop": "uWgiba_backdrop",
|
|
6
|
+
"body": "uWgiba_body",
|
|
7
|
+
"cancel": "uWgiba_cancel",
|
|
8
|
+
"close": "uWgiba_close",
|
|
9
|
+
"description": "uWgiba_description",
|
|
10
|
+
"footer": "uWgiba_footer",
|
|
11
|
+
"header": "uWgiba_header",
|
|
12
|
+
"popup": "uWgiba_popup",
|
|
13
|
+
"title": "uWgiba_title",
|
|
14
|
+
"trigger": "uWgiba_trigger",
|
|
15
|
+
"viewport": "uWgiba_viewport"
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { AlertDialog_module_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from "react";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/aspect-ratio/AspectRatio.d.ts
|
|
4
4
|
type RatioPreset = 'square' | 'video' | 'portrait' | 'photo';
|
|
5
5
|
declare function AspectRatio({
|
|
6
6
|
ratio,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import AspectRatio_module_default from "./AspectRatio.module.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { clsx } from "clsx";
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/aspect-ratio/AspectRatio.tsx
|
|
5
5
|
const PRESETS = {
|
|
6
6
|
square: 1,
|
|
7
7
|
video: 16 / 9,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.EXUTcW_inputGroup {
|
|
3
3
|
width: var(--autocomplete-width, 16rem);
|
|
4
4
|
min-height: var(--autocomplete-control-height, var(--size-lg));
|
|
5
5
|
padding-inline: var(--autocomplete-input-group-padding-x, 0);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.EXUTcW_input {
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
width: 100%;
|
|
34
34
|
min-width: 0;
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
52
|
-
& .
|
|
51
|
+
.EXUTcW_inputGroup:has( > [data-slot="autocomplete-control-actions"]) {
|
|
52
|
+
& .EXUTcW_input {
|
|
53
53
|
padding-inline-end: var(--autocomplete-input-padding-x-end-with-actions, 3.25rem);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.EXUTcW_trigger, .EXUTcW_clear {
|
|
58
58
|
box-sizing: border-box;
|
|
59
59
|
width: var(--autocomplete-action-size, 1.5rem);
|
|
60
60
|
height: var(--autocomplete-action-size, 1.5rem);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.
|
|
91
|
+
.EXUTcW_icon {
|
|
92
92
|
width: var(--autocomplete-icon-size, .875rem);
|
|
93
93
|
height: var(--autocomplete-icon-size, .875rem);
|
|
94
94
|
color: var(--autocomplete-icon-color, var(--color-muted-foreground));
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
display: inline-flex;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
.
|
|
101
|
+
.EXUTcW_iconSvg {
|
|
102
102
|
width: var(--autocomplete-icon-svg-size, 1rem);
|
|
103
103
|
height: var(--autocomplete-icon-svg-size, 1rem);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
.EXUTcW_backdrop {
|
|
107
107
|
z-index: var(--z-backdrop);
|
|
108
108
|
background-color: var(--autocomplete-backdrop-bg, var(--backdrop-bg, var(--color-overlay)));
|
|
109
109
|
min-height: 100dvh;
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
.EXUTcW_positioner {
|
|
123
123
|
z-index: var(--z-popup);
|
|
124
124
|
outline: 0;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.
|
|
127
|
+
.EXUTcW_popup {
|
|
128
128
|
box-sizing: border-box;
|
|
129
129
|
width: var(--anchor-width);
|
|
130
130
|
min-width: min(var(--anchor-width), var(--available-width));
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.
|
|
158
|
+
.EXUTcW_arrow {
|
|
159
159
|
color: var(--autocomplete-popup-bg, var(--color-popover));
|
|
160
160
|
display: flex;
|
|
161
161
|
|
|
@@ -180,26 +180,26 @@
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.
|
|
183
|
+
.EXUTcW_arrowSvg {
|
|
184
184
|
width: var(--autocomplete-arrow-width, 1.25rem);
|
|
185
185
|
height: var(--autocomplete-arrow-height, .625rem);
|
|
186
186
|
display: block;
|
|
187
187
|
overflow: visible;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.
|
|
190
|
+
.EXUTcW_arrowFill {
|
|
191
191
|
fill: currentColor;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
.
|
|
194
|
+
.EXUTcW_arrowOuterStroke {
|
|
195
195
|
fill: var(--autocomplete-arrow-stroke-color, var(--autocomplete-popup-border-color, var(--color-border)));
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.
|
|
198
|
+
.EXUTcW_arrowInnerStroke {
|
|
199
199
|
fill: var(--autocomplete-popup-bg, var(--color-popover));
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.
|
|
202
|
+
.EXUTcW_status {
|
|
203
203
|
margin: 0;
|
|
204
204
|
padding: 0;
|
|
205
205
|
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.
|
|
220
|
+
.EXUTcW_empty {
|
|
221
221
|
margin: 0;
|
|
222
222
|
padding: 0;
|
|
223
223
|
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.
|
|
233
|
+
.EXUTcW_list {
|
|
234
234
|
box-sizing: border-box;
|
|
235
235
|
max-height: min(var(--autocomplete-list-max-height, var(--autocomplete-popup-max-height, 24rem)),
|
|
236
236
|
var(--available-height));
|
|
@@ -255,13 +255,13 @@
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
.
|
|
258
|
+
.EXUTcW_row {
|
|
259
259
|
align-items: center;
|
|
260
260
|
gap: var(--autocomplete-row-gap, var(--spacing-1));
|
|
261
261
|
padding-inline: var(--autocomplete-row-padding-x, var(--spacing-1));
|
|
262
262
|
display: flex;
|
|
263
263
|
|
|
264
|
-
& > .
|
|
264
|
+
& > .EXUTcW_item {
|
|
265
265
|
width: var(--autocomplete-grid-item-width, 2.5rem);
|
|
266
266
|
min-height: var(--autocomplete-grid-item-min-height, 2.5rem);
|
|
267
267
|
padding-inline: var(--autocomplete-grid-item-padding-x, var(--spacing-2));
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
.
|
|
276
|
+
.EXUTcW_item {
|
|
277
277
|
box-sizing: border-box;
|
|
278
278
|
width: 100%;
|
|
279
279
|
min-height: var(--autocomplete-item-min-height, var(--popup-item-min-height, 2rem));
|
|
@@ -313,18 +313,18 @@
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
.
|
|
316
|
+
.EXUTcW_separator {
|
|
317
317
|
height: var(--autocomplete-separator-size, var(--border-width-sm));
|
|
318
318
|
margin: var(--autocomplete-separator-margin-y, var(--popup-separator-margin-y, .375rem))
|
|
319
319
|
var(--autocomplete-separator-margin-x, var(--popup-separator-margin-x-start, 1rem));
|
|
320
320
|
background-color: var(--autocomplete-border-color, var(--color-border));
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
.
|
|
323
|
+
.EXUTcW_group {
|
|
324
324
|
padding-bottom: var(--autocomplete-group-padding-bottom, var(--spacing-1));
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
.
|
|
327
|
+
.EXUTcW_groupLabel {
|
|
328
328
|
z-index: 1;
|
|
329
329
|
padding: var(--autocomplete-group-label-padding-top, var(--popup-group-label-padding-y, .35rem))
|
|
330
330
|
var(--autocomplete-group-label-padding-x, var(--popup-group-label-padding-x-start, .625rem))
|
|
@@ -340,13 +340,13 @@
|
|
|
340
340
|
top: 0;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
.
|
|
343
|
+
.EXUTcW_field {
|
|
344
344
|
gap: var(--autocomplete-field-gap, .375rem);
|
|
345
345
|
flex-direction: column;
|
|
346
346
|
display: inline-flex;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
.
|
|
349
|
+
.EXUTcW_fieldLabel {
|
|
350
350
|
font-size: var(--autocomplete-label-font-size, var(--text-sm));
|
|
351
351
|
line-height: var(--autocomplete-label-line-height, var(--line-height-text-sm));
|
|
352
352
|
font-weight: var(--autocomplete-label-font-weight, var(--weight-medium));
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
display: inline-flex;
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
.
|
|
359
|
+
.EXUTcW_controlActions {
|
|
360
360
|
right: var(--autocomplete-actions-offset-right, .5rem);
|
|
361
361
|
align-items: center;
|
|
362
362
|
gap: var(--autocomplete-actions-gap, .125rem);
|
|
@@ -366,14 +366,14 @@
|
|
|
366
366
|
transform: translateY(-50%);
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
.
|
|
369
|
+
.EXUTcW_itemText {
|
|
370
370
|
text-overflow: ellipsis;
|
|
371
371
|
white-space: nowrap;
|
|
372
372
|
min-width: 0;
|
|
373
373
|
overflow: hidden;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
.
|
|
376
|
+
.EXUTcW_itemTextContent {
|
|
377
377
|
align-items: center;
|
|
378
378
|
gap: var(--autocomplete-item-text-content-gap, var(--spacing-2));
|
|
379
379
|
vertical-align: top;
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
display: inline-flex;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
.
|
|
385
|
+
.EXUTcW_itemTextIcon {
|
|
386
386
|
width: var(--autocomplete-item-text-icon-size, 1rem);
|
|
387
387
|
height: var(--autocomplete-item-text-icon-size, 1rem);
|
|
388
388
|
color: var(--autocomplete-item-text-icon-color, currentColor);
|
|
@@ -392,14 +392,14 @@
|
|
|
392
392
|
display: inline-flex;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
-
.
|
|
395
|
+
.EXUTcW_itemTextLabel {
|
|
396
396
|
text-overflow: ellipsis;
|
|
397
397
|
white-space: nowrap;
|
|
398
398
|
min-width: 0;
|
|
399
399
|
overflow: hidden;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
.
|
|
402
|
+
.EXUTcW_fieldTrigger {
|
|
403
403
|
width: var(--autocomplete-width, 16rem);
|
|
404
404
|
min-height: var(--autocomplete-control-height, var(--size-lg));
|
|
405
405
|
justify-content: space-between;
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
.
|
|
438
|
+
.EXUTcW_inlineInputContainer {
|
|
439
439
|
box-sizing: border-box;
|
|
440
440
|
padding: var(--autocomplete-inline-input-container-padding-top, var(--spacing-2))
|
|
441
441
|
var(--autocomplete-inline-input-container-padding-x, var(--spacing-2))
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
border-bottom-style: var(--autocomplete-inline-input-divider-style, solid);
|
|
445
445
|
border-bottom-color: var(--autocomplete-inline-input-divider-color, var(--autocomplete-border-color, var(--color-border)));
|
|
446
446
|
|
|
447
|
-
& > .
|
|
447
|
+
& > .EXUTcW_input {
|
|
448
448
|
padding-inline: var(--autocomplete-inline-input-padding-x, .75rem);
|
|
449
449
|
border: var(--autocomplete-inline-input-border-width, var(--border-width-sm)) solid
|
|
450
450
|
var(--autocomplete-border-color, var(--color-border));
|