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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
._5qWfmq_field {
|
|
3
3
|
gap: var(--select-field-gap, .375rem);
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
._5qWfmq_label {
|
|
9
9
|
font-size: var(--select-label-font-size, var(--text-sm));
|
|
10
10
|
line-height: var(--select-label-line-height, var(--line-height-text-sm));
|
|
11
11
|
font-weight: var(--select-label-font-weight, var(--weight-medium));
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
display: inline-flex;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
._5qWfmq_trigger {
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
width: var(--select-width, 14rem);
|
|
21
21
|
min-height: var(--select-control-height, var(--size-lg));
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
._5qWfmq_value {
|
|
67
67
|
text-align: start;
|
|
68
68
|
text-overflow: ellipsis;
|
|
69
69
|
white-space: nowrap;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.
|
|
79
|
+
._5qWfmq_icon {
|
|
80
80
|
width: var(--select-icon-size, .875rem);
|
|
81
81
|
height: var(--select-icon-size, .875rem);
|
|
82
82
|
color: var(--select-icon-color, var(--color-muted-foreground));
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
display: inline-flex;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
._5qWfmq_iconSvg {
|
|
91
91
|
width: var(--select-icon-svg-size, 1rem);
|
|
92
92
|
height: var(--select-icon-svg-size, 1rem);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.
|
|
95
|
+
._5qWfmq_backdrop {
|
|
96
96
|
z-index: var(--z-backdrop);
|
|
97
97
|
background-color: var(--select-backdrop-bg, var(--backdrop-bg, var(--color-overlay)));
|
|
98
98
|
min-height: 100dvh;
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.
|
|
111
|
+
._5qWfmq_positioner {
|
|
112
112
|
z-index: var(--z-popup);
|
|
113
113
|
outline: 0;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
116
|
+
._5qWfmq_popup {
|
|
117
117
|
box-sizing: border-box;
|
|
118
118
|
width: var(--anchor-width);
|
|
119
119
|
min-width: min(var(--anchor-width), var(--available-width));
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
._5qWfmq_arrow {
|
|
149
149
|
color: var(--select-popup-bg, var(--color-popover));
|
|
150
150
|
display: flex;
|
|
151
151
|
|
|
@@ -170,26 +170,26 @@
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
._5qWfmq_arrowSvg {
|
|
174
174
|
width: var(--select-arrow-width, 1.25rem);
|
|
175
175
|
height: var(--select-arrow-height, .625rem);
|
|
176
176
|
display: block;
|
|
177
177
|
overflow: visible;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
.
|
|
180
|
+
._5qWfmq_arrowFill {
|
|
181
181
|
fill: currentColor;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.
|
|
184
|
+
._5qWfmq_arrowOuterStroke {
|
|
185
185
|
fill: var(--select-arrow-stroke-color, var(--select-popup-border-color, var(--color-border)));
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.
|
|
188
|
+
._5qWfmq_arrowInnerStroke {
|
|
189
189
|
fill: var(--select-popup-bg, var(--color-popover));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.
|
|
192
|
+
._5qWfmq_scrollArrow {
|
|
193
193
|
width: auto;
|
|
194
194
|
height: var(--select-scroll-arrow-height, 1rem);
|
|
195
195
|
background-color: var(--select-popup-bg, var(--color-popover));
|
|
@@ -210,12 +210,12 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.
|
|
213
|
+
._5qWfmq_scrollArrowIcon {
|
|
214
214
|
width: var(--select-scroll-arrow-icon-size, .875rem);
|
|
215
215
|
height: var(--select-scroll-arrow-icon-size, .875rem);
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.
|
|
218
|
+
._5qWfmq_list {
|
|
219
219
|
box-sizing: border-box;
|
|
220
220
|
max-height: min(var(--select-list-max-height, var(--select-popup-max-height, 24rem)),
|
|
221
221
|
var(--available-height));
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
overflow-y: auto;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.
|
|
229
|
+
._5qWfmq_item {
|
|
230
230
|
box-sizing: border-box;
|
|
231
231
|
grid-template-columns: var(--select-item-indicator-size, var(--popup-check-indicator-size, .75rem))
|
|
232
232
|
1fr;
|
|
@@ -272,18 +272,18 @@
|
|
|
272
272
|
grid-template-columns: minmax(0, 1fr)
|
|
273
273
|
var(--select-item-indicator-size, var(--popup-check-indicator-size, .75rem));
|
|
274
274
|
|
|
275
|
-
& > .
|
|
275
|
+
& > ._5qWfmq_itemIndicator {
|
|
276
276
|
grid-column-start: 2;
|
|
277
277
|
justify-self: end;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
& > .
|
|
280
|
+
& > ._5qWfmq_itemText {
|
|
281
281
|
grid-column-start: 1;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.
|
|
286
|
+
._5qWfmq_itemIndicator {
|
|
287
287
|
width: var(--select-item-indicator-size, var(--popup-check-indicator-size, .75rem));
|
|
288
288
|
height: var(--select-item-indicator-size, var(--popup-check-indicator-size, .75rem));
|
|
289
289
|
justify-content: center;
|
|
@@ -291,18 +291,18 @@
|
|
|
291
291
|
display: inline-flex;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
.
|
|
294
|
+
._5qWfmq_itemIndicatorIcon {
|
|
295
295
|
width: var(--select-item-indicator-icon-size, .75rem);
|
|
296
296
|
height: var(--select-item-indicator-icon-size, .75rem);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.
|
|
299
|
+
._5qWfmq_itemText {
|
|
300
300
|
grid-column-start: 2;
|
|
301
301
|
min-width: 0;
|
|
302
302
|
overflow: hidden;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
.
|
|
305
|
+
._5qWfmq_itemTextContent {
|
|
306
306
|
align-items: center;
|
|
307
307
|
gap: var(--select-item-text-content-gap, var(--spacing-2));
|
|
308
308
|
vertical-align: top;
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
display: inline-flex;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.
|
|
314
|
+
._5qWfmq_itemTextIcon {
|
|
315
315
|
width: var(--select-item-text-icon-size, 1rem);
|
|
316
316
|
height: var(--select-item-text-icon-size, 1rem);
|
|
317
317
|
color: var(--select-item-text-icon-color, currentColor);
|
|
@@ -321,25 +321,25 @@
|
|
|
321
321
|
display: inline-flex;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
.
|
|
324
|
+
._5qWfmq_itemTextLabel {
|
|
325
325
|
text-overflow: ellipsis;
|
|
326
326
|
white-space: nowrap;
|
|
327
327
|
min-width: 0;
|
|
328
328
|
overflow: hidden;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
.
|
|
331
|
+
._5qWfmq_separator {
|
|
332
332
|
height: var(--select-separator-thickness, var(--border-width-sm));
|
|
333
333
|
margin: var(--select-separator-margin-y, var(--popup-separator-margin-y, .375rem))
|
|
334
334
|
var(--select-separator-margin-x, var(--popup-separator-margin-x-start, 1rem));
|
|
335
335
|
background-color: var(--select-separator-color, var(--select-border-color, var(--color-border)));
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
.
|
|
338
|
+
._5qWfmq_group {
|
|
339
339
|
padding-bottom: var(--select-group-padding-bottom, var(--spacing-1));
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
.
|
|
342
|
+
._5qWfmq_groupLabel {
|
|
343
343
|
z-index: 1;
|
|
344
344
|
padding: var(--select-group-label-padding-top, var(--popup-group-label-padding-y, .35rem))
|
|
345
345
|
var(--select-group-label-padding-x, var(--popup-group-label-padding-x-start, .625rem))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
import { Select } from "@base-ui/react/select";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/select/Select.d.ts
|
|
5
5
|
type IndicatorPosition = 'start' | 'end';
|
|
6
6
|
type SelectContentProps = Select.Popup.Props & Pick<Select.Positioner.Props, 'align' | 'alignItemWithTrigger' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'side' | 'sideOffset'> & {
|
|
7
7
|
showArrow?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CheckIcon, ChevronDownIcon, ChevronUpDownIcon, ChevronUpIcon, PopupArrowIcon } from "../../icons/ui/Icons.js";
|
|
2
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { CheckIcon, ChevronDownIcon, ChevronUpDownIcon, ChevronUpIcon, PopupArrowIcon } from "../../lib/moduix/icons/ui/Icons.js";
|
|
2
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
3
3
|
import Select_module_default from "./Select.module.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { Select } from "@base-ui/react/select";
|
|
7
|
-
//#region src/components/
|
|
7
|
+
//#region src/components/select/Select.tsx
|
|
8
8
|
const SELECT_CONTENT_SIDE_OFFSET = 8;
|
|
9
9
|
const Select$1 = Select.Root;
|
|
10
10
|
function SelectField({ className, ...props }) {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import './Select.css';
|
|
2
|
+
//#region src/components/select/Select.module.css
|
|
3
|
+
var Select_module_default = {
|
|
4
|
+
"arrow": "_5qWfmq_arrow",
|
|
5
|
+
"arrowFill": "_5qWfmq_arrowFill",
|
|
6
|
+
"arrowInnerStroke": "_5qWfmq_arrowInnerStroke",
|
|
7
|
+
"arrowOuterStroke": "_5qWfmq_arrowOuterStroke",
|
|
8
|
+
"arrowSvg": "_5qWfmq_arrowSvg",
|
|
9
|
+
"backdrop": "_5qWfmq_backdrop",
|
|
10
|
+
"field": "_5qWfmq_field",
|
|
11
|
+
"group": "_5qWfmq_group",
|
|
12
|
+
"groupLabel": "_5qWfmq_groupLabel",
|
|
13
|
+
"icon": "_5qWfmq_icon",
|
|
14
|
+
"iconSvg": "_5qWfmq_iconSvg",
|
|
15
|
+
"item": "_5qWfmq_item",
|
|
16
|
+
"itemIndicator": "_5qWfmq_itemIndicator",
|
|
17
|
+
"itemIndicatorIcon": "_5qWfmq_itemIndicatorIcon",
|
|
18
|
+
"itemText": "_5qWfmq_itemText",
|
|
19
|
+
"itemTextContent": "_5qWfmq_itemTextContent",
|
|
20
|
+
"itemTextIcon": "_5qWfmq_itemTextIcon",
|
|
21
|
+
"itemTextLabel": "_5qWfmq_itemTextLabel",
|
|
22
|
+
"label": "_5qWfmq_label",
|
|
23
|
+
"list": "_5qWfmq_list",
|
|
24
|
+
"popup": "_5qWfmq_popup",
|
|
25
|
+
"positioner": "_5qWfmq_positioner",
|
|
26
|
+
"scrollArrow": "_5qWfmq_scrollArrow",
|
|
27
|
+
"scrollArrowIcon": "_5qWfmq_scrollArrowIcon",
|
|
28
|
+
"separator": "_5qWfmq_separator",
|
|
29
|
+
"trigger": "_5qWfmq_trigger",
|
|
30
|
+
"value": "_5qWfmq_value"
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { Select_module_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/components/
|
|
1
|
+
//#region src/components/separator/Separator.d.ts
|
|
2
2
|
declare const Separator: import("react").ForwardRefExoticComponent<Omit<Omit<import("@base-ui/react").SeparatorProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
3
|
//#endregion
|
|
4
4
|
export { Separator };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import Separator_module_default from "./Separator.module.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { Separator } from "@base-ui/react/separator";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/separator/Separator.tsx
|
|
7
7
|
const Separator$1 = forwardRef(function Separator$2({ className, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsx(Separator, {
|
|
9
9
|
ref,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Skeleton_module_default from "./Skeleton.module.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { clsx } from "clsx";
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/skeleton/Skeleton.tsx
|
|
5
5
|
function toCssValue(value) {
|
|
6
6
|
if (typeof value === "number") return `${value}px`;
|
|
7
7
|
return value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.gpuhTW_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
gap: var(--slider-gap, .5rem);
|
|
5
5
|
width: var(--slider-width, 12rem);
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
21
|
+
.gpuhTW_label {
|
|
22
22
|
color: var(--slider-label-color, var(--slider-color, var(--color-foreground)));
|
|
23
23
|
font-size: var(--slider-label-font-size, var(--text-sm));
|
|
24
24
|
font-weight: var(--slider-label-font-weight, var(--weight-regular));
|
|
25
25
|
line-height: var(--slider-label-line-height, var(--line-height-text-sm));
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
.gpuhTW_value {
|
|
29
29
|
color: var(--slider-value-color, var(--slider-color, var(--color-foreground)));
|
|
30
30
|
font-size: var(--slider-value-font-size, var(--text-sm));
|
|
31
31
|
font-weight: var(--slider-value-font-weight, var(--weight-regular));
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
42
|
+
.gpuhTW_control {
|
|
43
43
|
box-sizing: border-box;
|
|
44
44
|
width: 100%;
|
|
45
45
|
padding-block: var(--slider-control-padding-y, .625rem);
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.gpuhTW_track {
|
|
67
67
|
width: 100%;
|
|
68
68
|
height: var(--slider-track-size, .375rem);
|
|
69
69
|
border-radius: var(--slider-track-radius, var(--radius-full));
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.gpuhTW_indicator {
|
|
83
83
|
border-radius: var(--slider-indicator-radius, inherit);
|
|
84
84
|
background-color: var(--slider-indicator-bg, var(--color-primary));
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.
|
|
87
|
+
.gpuhTW_thumb {
|
|
88
88
|
box-sizing: border-box;
|
|
89
89
|
width: var(--slider-thumb-size, 1rem);
|
|
90
90
|
height: var(--slider-thumb-size, 1rem);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentRef, ReactElement, RefAttributes } from "react";
|
|
2
2
|
import { Slider } from "@base-ui/react/slider";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/slider/Slider.d.ts
|
|
5
5
|
type SliderValue = number | readonly number[];
|
|
6
6
|
type SliderRootComponent = <Value extends SliderValue = SliderValue>(props: Slider.Root.Props<Value> & RefAttributes<ComponentRef<typeof Slider.Root>>) => ReactElement;
|
|
7
7
|
declare const Slider$1: SliderRootComponent;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import Slider_module_default from "./Slider.module.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Children, Fragment as Fragment$1, forwardRef, isValidElement } from "react";
|
|
5
5
|
import { Slider } from "@base-ui/react/slider";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/slider/Slider.tsx
|
|
7
7
|
const Slider$1 = forwardRef(function Slider({ children, ...props }, ref) {
|
|
8
8
|
const { content, thumbs } = splitSliderChildren(children);
|
|
9
9
|
return /* @__PURE__ */ jsxs(SliderRoot, {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './Slider.css';
|
|
2
|
+
//#region src/components/slider/Slider.module.css
|
|
3
|
+
var Slider_module_default = {
|
|
4
|
+
"control": "gpuhTW_control",
|
|
5
|
+
"indicator": "gpuhTW_indicator",
|
|
6
|
+
"label": "gpuhTW_label",
|
|
7
|
+
"root": "gpuhTW_root",
|
|
8
|
+
"thumb": "gpuhTW_thumb",
|
|
9
|
+
"track": "gpuhTW_track",
|
|
10
|
+
"value": "gpuhTW_value"
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Slider_module_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.tKbECq_root {
|
|
3
3
|
gap: var(--snap-carousel-gap, var(--spacing-3));
|
|
4
4
|
display: grid;
|
|
5
5
|
position: relative;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.tKbECq_viewport {
|
|
9
9
|
overscroll-behavior-x: contain;
|
|
10
10
|
overscroll-behavior-y: auto;
|
|
11
11
|
scroll-snap-type: x mandatory;
|
|
@@ -23,48 +23,48 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.tKbECq_root[data-orientation="vertical"] {
|
|
27
27
|
height: var(--snap-carousel-height, 100%);
|
|
28
28
|
|
|
29
|
-
& .
|
|
29
|
+
& .tKbECq_viewport {
|
|
30
30
|
overscroll-behavior-x: auto;
|
|
31
31
|
overscroll-behavior-y: contain;
|
|
32
32
|
scroll-snap-type: y mandatory;
|
|
33
33
|
height: 100%;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
& .
|
|
36
|
+
& .tKbECq_content {
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
min-height: 100%;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
& .
|
|
41
|
+
& .tKbECq_item {
|
|
42
42
|
flex-basis: var(--snap-carousel-item-size, 100%);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
& .
|
|
45
|
+
& .tKbECq_control {
|
|
46
46
|
inset-inline-start: 50%;
|
|
47
47
|
transform: translateX(-50%);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
& .
|
|
50
|
+
& .tKbECq_previous {
|
|
51
51
|
inset-block-start: var(--spacing-2);
|
|
52
52
|
inset-inline-end: auto;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
& .
|
|
55
|
+
& .tKbECq_next {
|
|
56
56
|
inset-block-start: auto;
|
|
57
57
|
inset-block-end: var(--spacing-2);
|
|
58
58
|
inset-inline-start: 50%;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.tKbECq_content {
|
|
63
63
|
gap: var(--snap-carousel-item-gap, var(--spacing-4));
|
|
64
64
|
display: flex;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.tKbECq_item {
|
|
68
68
|
box-sizing: border-box;
|
|
69
69
|
flex: 0 0 var(--snap-carousel-item-size, 100%);
|
|
70
70
|
scroll-snap-align: start;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
min-width: 0;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
.tKbECq_control {
|
|
76
76
|
z-index: 1;
|
|
77
77
|
width: var(--size-md);
|
|
78
78
|
height: var(--size-md);
|
|
@@ -113,19 +113,19 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
116
|
+
.tKbECq_previous {
|
|
117
117
|
inset-inline-start: var(--spacing-2);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.tKbECq_next {
|
|
121
121
|
inset-inline-end: var(--spacing-2);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.tKbECq_root[data-align="center"] .tKbECq_item {
|
|
125
125
|
scroll-snap-align: center;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.
|
|
128
|
+
.tKbECq_root[data-align="end"] .tKbECq_item {
|
|
129
129
|
scroll-snap-align: end;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/snap-carousel/SnapCarousel.d.ts
|
|
4
4
|
type SnapCarouselOrientation = 'horizontal' | 'vertical';
|
|
5
5
|
type SnapCarouselAlign = 'start' | 'center' | 'end';
|
|
6
6
|
type SnapCarouselProps = ComponentProps<'div'> & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from "../../icons/ui/Icons.js";
|
|
1
|
+
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from "../../lib/moduix/icons/ui/Icons.js";
|
|
2
2
|
import SnapCarousel_module_default from "./SnapCarousel.module.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { Children, createContext, useCallback, useContext, useRef } from "react";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/snap-carousel/SnapCarousel.tsx
|
|
7
7
|
const SnapCarouselContext = createContext(null);
|
|
8
8
|
const SnapCarouselViewportPresenceContext = createContext(false);
|
|
9
9
|
function useSnapCarouselContext(componentName) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './SnapCarousel.css';
|
|
2
|
+
//#region src/components/snap-carousel/SnapCarousel.module.css
|
|
3
|
+
var SnapCarousel_module_default = {
|
|
4
|
+
"content": "tKbECq_content",
|
|
5
|
+
"control": "tKbECq_control",
|
|
6
|
+
"item": "tKbECq_item",
|
|
7
|
+
"next": "tKbECq_next",
|
|
8
|
+
"previous": "tKbECq_previous",
|
|
9
|
+
"root": "tKbECq_root",
|
|
10
|
+
"viewport": "tKbECq_viewport"
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { SnapCarousel_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.PtWy_a_root {
|
|
3
3
|
--_spinner-size: var(--spinner-size, var(--spinner-size-md, 1.25rem));
|
|
4
4
|
width: var(--_spinner-size);
|
|
5
5
|
height: var(--_spinner-size);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
display: inline-flex;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.PtWy_a_indicator {
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 100%;
|
|
17
17
|
animation: var(--spinner-animation, var(--animation-spin));
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
display: inline-flex;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
.PtWy_a_ring {
|
|
24
24
|
box-sizing: border-box;
|
|
25
25
|
border: var(--spinner-ring-border-width, .125rem) solid
|
|
26
26
|
var(--spinner-ring-track-color, color-mix(in oklab, currentColor 22%, transparent));
|
|
@@ -31,29 +31,29 @@
|
|
|
31
31
|
display: block;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.PtWy_a_indicator :where(svg) {
|
|
35
35
|
width: 100%;
|
|
36
36
|
height: 100%;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.PtWy_a_root[data-size="xs"] {
|
|
40
40
|
--_spinner-size: var(--spinner-size, var(--spinner-size-xs, .75rem));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.PtWy_a_root[data-size="sm"] {
|
|
44
44
|
--_spinner-size: var(--spinner-size, var(--spinner-size-sm, 1rem));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.PtWy_a_root[data-size="lg"] {
|
|
48
48
|
--_spinner-size: var(--spinner-size, var(--spinner-size-lg, 1.75rem));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.PtWy_a_root[data-size="xl"] {
|
|
52
52
|
--_spinner-size: var(--spinner-size, var(--spinner-size-xl, 2.25rem));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
@media (prefers-reduced-motion: reduce) {
|
|
56
|
-
.
|
|
56
|
+
.PtWy_a_indicator {
|
|
57
57
|
animation: none;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Spinner_module_default from "./Spinner.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/spinner/Spinner.tsx
|
|
5
5
|
function Spinner({ className, size = "md", decorative = false, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...props }) {
|
|
6
6
|
const accessibleLabel = decorative ? void 0 : ariaLabel ?? (ariaLabelledBy ? void 0 : "Loading");
|
|
7
7
|
return /* @__PURE__ */ jsx("span", {
|