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,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
import { Popover } from "@base-ui/react/popover";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/popover/Popover.d.ts
|
|
5
5
|
type PopoverPositionerProps = Pick<Popover.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding'>;
|
|
6
6
|
type PopoverContentProps = Popover.Popup.Props & PopoverPositionerProps & {
|
|
7
7
|
showArrow?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PopupArrowIcon } from "../../icons/ui/Icons.js";
|
|
2
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { PopupArrowIcon } from "../../lib/moduix/icons/ui/Icons.js";
|
|
2
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
3
3
|
import Popover_module_default from "./Popover.module.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { Popover } from "@base-ui/react/popover";
|
|
7
|
-
//#region src/components/
|
|
7
|
+
//#region src/components/popover/Popover.tsx
|
|
8
8
|
const POPOVER_CONTENT_SIDE_OFFSET = 8;
|
|
9
9
|
const Popover$1 = Popover.Root;
|
|
10
10
|
const createPopoverHandle = Popover.createHandle;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './Popover.css';
|
|
2
|
+
//#region src/components/popover/Popover.module.css
|
|
3
|
+
var Popover_module_default = {
|
|
4
|
+
"arrow": "_5v_BDW_arrow",
|
|
5
|
+
"arrowFill": "_5v_BDW_arrowFill",
|
|
6
|
+
"arrowInnerStroke": "_5v_BDW_arrowInnerStroke",
|
|
7
|
+
"arrowOuterStroke": "_5v_BDW_arrowOuterStroke",
|
|
8
|
+
"arrowSvg": "_5v_BDW_arrowSvg",
|
|
9
|
+
"backdrop": "_5v_BDW_backdrop",
|
|
10
|
+
"body": "_5v_BDW_body",
|
|
11
|
+
"close": "_5v_BDW_close",
|
|
12
|
+
"description": "_5v_BDW_description",
|
|
13
|
+
"footer": "_5v_BDW_footer",
|
|
14
|
+
"header": "_5v_BDW_header",
|
|
15
|
+
"popup": "_5v_BDW_popup",
|
|
16
|
+
"positioner": "_5v_BDW_positioner",
|
|
17
|
+
"title": "_5v_BDW_title",
|
|
18
|
+
"trigger": "_5v_BDW_trigger",
|
|
19
|
+
"viewport": "_5v_BDW_viewport"
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Popover_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.GhE2eG_trigger {
|
|
3
3
|
color: var(--preview-card-trigger-color, var(--color-primary));
|
|
4
4
|
text-decoration-line: underline;
|
|
5
5
|
text-decoration-thickness: var(--preview-card-trigger-decoration-thickness, 1px);
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.GhE2eG_backdrop {
|
|
37
37
|
z-index: var(--z-backdrop);
|
|
38
38
|
pointer-events: none;
|
|
39
39
|
background-color: var(--preview-card-backdrop-bg, var(--backdrop-bg, var(--color-overlay)));
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
.GhE2eG_positioner {
|
|
54
54
|
z-index: var(--z-popup);
|
|
55
55
|
width: var(--positioner-width);
|
|
56
56
|
height: var(--positioner-height);
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
outline: 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
.GhE2eG_popup {
|
|
62
62
|
box-sizing: border-box;
|
|
63
63
|
width: var(--popup-width, var(--preview-card-width, auto));
|
|
64
64
|
height: var(--popup-height, var(--preview-card-height, auto));
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.
|
|
87
|
+
.GhE2eG_arrow {
|
|
88
88
|
color: var(--preview-card-bg, var(--color-popover));
|
|
89
89
|
display: flex;
|
|
90
90
|
|
|
@@ -108,26 +108,26 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.
|
|
111
|
+
.GhE2eG_arrowSvg {
|
|
112
112
|
width: var(--preview-card-arrow-width, 1.25rem);
|
|
113
113
|
height: var(--preview-card-arrow-height, .625rem);
|
|
114
114
|
display: block;
|
|
115
115
|
overflow: visible;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.GhE2eG_arrowFill {
|
|
119
119
|
fill: currentColor;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
.GhE2eG_arrowOuterStroke {
|
|
123
123
|
fill: var(--preview-card-arrow-stroke-color, var(--preview-card-border-color, var(--color-border)));
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.GhE2eG_arrowInnerStroke {
|
|
127
127
|
fill: var(--preview-card-bg, var(--color-popover));
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
.GhE2eG_viewport {
|
|
131
131
|
width: 100%;
|
|
132
132
|
height: 100%;
|
|
133
133
|
position: relative;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/preview-card/PreviewCard.d.ts
|
|
4
4
|
type PreviewCardPositionerProps = Pick<PreviewCard.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding'>;
|
|
5
5
|
type PreviewCardContentProps = PreviewCard.Popup.Props & PreviewCardPositionerProps & {
|
|
6
6
|
showArrow?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PopupArrowIcon } from "../../icons/ui/Icons.js";
|
|
2
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { PopupArrowIcon } from "../../lib/moduix/icons/ui/Icons.js";
|
|
2
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
3
3
|
import PreviewCard_module_default from "./PreviewCard.module.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/preview-card/PreviewCard.tsx
|
|
7
7
|
const DEFAULT_SIDE_OFFSET = 8;
|
|
8
8
|
const PreviewCard$1 = PreviewCard.Root;
|
|
9
9
|
const createPreviewCardHandle = PreviewCard.createHandle;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './PreviewCard.css';
|
|
2
|
+
//#region src/components/preview-card/PreviewCard.module.css
|
|
3
|
+
var PreviewCard_module_default = {
|
|
4
|
+
"arrow": "GhE2eG_arrow",
|
|
5
|
+
"arrowFill": "GhE2eG_arrowFill",
|
|
6
|
+
"arrowInnerStroke": "GhE2eG_arrowInnerStroke",
|
|
7
|
+
"arrowOuterStroke": "GhE2eG_arrowOuterStroke",
|
|
8
|
+
"arrowSvg": "GhE2eG_arrowSvg",
|
|
9
|
+
"backdrop": "GhE2eG_backdrop",
|
|
10
|
+
"popup": "GhE2eG_popup",
|
|
11
|
+
"positioner": "GhE2eG_positioner",
|
|
12
|
+
"trigger": "GhE2eG_trigger",
|
|
13
|
+
"viewport": "GhE2eG_viewport"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { PreviewCard_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.awMtKa_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
gap: var(--progress-gap, .5rem);
|
|
5
5
|
width: var(--progress-width, 12rem);
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
display: grid;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.awMtKa_label {
|
|
12
12
|
font-size: var(--progress-label-font-size, var(--text-sm));
|
|
13
13
|
font-weight: var(--progress-label-font-weight, var(--weight-regular));
|
|
14
14
|
line-height: var(--progress-label-line-height, var(--line-height-text-sm));
|
|
15
15
|
color: var(--progress-label-color, currentColor);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.awMtKa_value {
|
|
19
19
|
font-size: var(--progress-value-font-size, var(--text-sm));
|
|
20
20
|
font-weight: var(--progress-value-font-weight, var(--weight-regular));
|
|
21
21
|
line-height: var(--progress-value-line-height, var(--line-height-text-sm));
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
justify-self: end;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.awMtKa_track {
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: var(--progress-track-height, .5rem);
|
|
30
30
|
border-radius: var(--progress-track-radius, var(--radius-full));
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
overflow: hidden;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.awMtKa_indicator {
|
|
40
40
|
border-radius: var(--progress-indicator-radius, inherit);
|
|
41
41
|
background-color: var(--progress-indicator-bg, var(--color-primary));
|
|
42
42
|
height: 100%;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
@keyframes
|
|
52
|
+
@keyframes awMtKa_progress-indeterminate {
|
|
53
53
|
from {
|
|
54
54
|
transform: translateX(-100%);
|
|
55
55
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@media (prefers-reduced-motion: reduce) {
|
|
63
|
-
.
|
|
63
|
+
.awMtKa_indicator[data-indeterminate] {
|
|
64
64
|
animation: none;
|
|
65
65
|
transform: translateX(0);
|
|
66
66
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/components/
|
|
1
|
+
//#region src/components/progress/Progress.d.ts
|
|
2
2
|
declare const Progress: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ProgressRootProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
3
|
declare const ProgressRoot: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ProgressRootProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
declare const ProgressTrack: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ProgressTrackProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import Progress_module_default from "./Progress.module.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { Progress } from "@base-ui/react/progress";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/progress/Progress.tsx
|
|
7
7
|
const Progress$1 = forwardRef(function Progress({ children, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsxs(ProgressRoot, {
|
|
9
9
|
ref,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './Progress.css';
|
|
2
|
+
//#region src/components/progress/Progress.module.css
|
|
3
|
+
var Progress_module_default = {
|
|
4
|
+
"indicator": "awMtKa_indicator",
|
|
5
|
+
"label": "awMtKa_label",
|
|
6
|
+
"progress-indeterminate": "awMtKa_progress-indeterminate",
|
|
7
|
+
"root": "awMtKa_root",
|
|
8
|
+
"track": "awMtKa_track",
|
|
9
|
+
"value": "awMtKa_value"
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Progress_module_default as default };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
|
|
2
|
+
.QLHv5q_field {
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: var(--radio-gap, var(--spacing-2));
|
|
5
5
|
vertical-align: middle;
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
display: inline-flex;
|
|
8
8
|
|
|
9
|
-
&:has(
|
|
9
|
+
&:has(.QLHv5q_radio[data-disabled]), &:has(.QLHv5q_radio[data-readonly]) {
|
|
10
10
|
cursor: default;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
.QLHv5q_radio {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
-webkit-appearance: none;
|
|
17
17
|
appearance: none;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
.QLHv5q_indicator {
|
|
93
93
|
justify-content: center;
|
|
94
94
|
align-items: center;
|
|
95
95
|
width: 100%;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
.QLHv5q_icon {
|
|
105
105
|
width: var(--_radio-indicator-size, .5rem);
|
|
106
106
|
height: var(--_radio-indicator-size, .5rem);
|
|
107
107
|
border: var(--radio-indicator-border-width, 0) solid
|
|
@@ -111,28 +111,28 @@
|
|
|
111
111
|
display: block;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
.QLHv5q_label {
|
|
115
115
|
color: var(--radio-label-color, var(--color-foreground));
|
|
116
116
|
font-size: var(--radio-label-font-size, var(--text-sm));
|
|
117
117
|
font-weight: var(--radio-label-font-weight, var(--weight-medium));
|
|
118
118
|
line-height: var(--radio-label-line-height, var(--line-height-text-sm));
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
.QLHv5q_group {
|
|
122
122
|
gap: var(--radio-group-gap, var(--spacing-2));
|
|
123
123
|
color: var(--radio-group-color, var(--color-foreground));
|
|
124
124
|
flex-direction: column;
|
|
125
125
|
display: flex;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
.QLHv5q_groupLabel {
|
|
129
129
|
color: var(--radio-group-label-color, var(--radio-group-color, var(--color-foreground)));
|
|
130
130
|
font-size: var(--radio-group-label-font-size, var(--text-sm));
|
|
131
131
|
font-weight: var(--radio-group-label-font-weight, var(--weight-semibold));
|
|
132
132
|
line-height: var(--radio-group-label-line-height, var(--line-height-text-sm));
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
.QLHv5q_groupList {
|
|
136
136
|
align-items: flex-start;
|
|
137
137
|
gap: var(--radio-group-list-gap, var(--spacing-2));
|
|
138
138
|
flex-direction: column;
|
|
@@ -2,7 +2,7 @@ import { ComponentProps } from "react";
|
|
|
2
2
|
import { Radio } from "@base-ui/react/radio";
|
|
3
3
|
import { RadioGroup } from "@base-ui/react/radio-group";
|
|
4
4
|
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/radio/Radio.d.ts
|
|
6
6
|
type RadioSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
7
7
|
declare const Radio$1: import("react").ForwardRefExoticComponent<Omit<Radio.Root.Props<any> & {
|
|
8
8
|
size?: RadioSize;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import Radio_module_default from "./Radio.module.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { forwardRef } from "react";
|
|
6
6
|
import { Radio } from "@base-ui/react/radio";
|
|
7
7
|
import { RadioGroup } from "@base-ui/react/radio-group";
|
|
8
|
-
//#region src/components/
|
|
8
|
+
//#region src/components/radio/Radio.tsx
|
|
9
9
|
const Radio$1 = forwardRef(function Radio$2({ className, size = "md", children, ...props }, ref) {
|
|
10
10
|
return /* @__PURE__ */ jsx(Radio.Root, {
|
|
11
11
|
ref,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './Radio.css';
|
|
2
|
+
//#region src/components/radio/Radio.module.css
|
|
3
|
+
var Radio_module_default = {
|
|
4
|
+
"field": "QLHv5q_field",
|
|
5
|
+
"group": "QLHv5q_group",
|
|
6
|
+
"groupLabel": "QLHv5q_groupLabel",
|
|
7
|
+
"groupList": "QLHv5q_groupList",
|
|
8
|
+
"icon": "QLHv5q_icon",
|
|
9
|
+
"indicator": "QLHv5q_indicator",
|
|
10
|
+
"label": "QLHv5q_label",
|
|
11
|
+
"radio": "QLHv5q_radio"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Radio_module_default as default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
|
|
2
|
+
.-xIVma_root {
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: var(--rating-gap, var(--spacing-1));
|
|
5
5
|
color: var(--rating-color, var(--color-muted-foreground));
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
.-xIVma_root[data-disabled] {
|
|
10
10
|
opacity: var(--rating-disabled-opacity, var(--opacity-disabled));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
.-xIVma_item {
|
|
14
14
|
border-radius: var(--radius-sm);
|
|
15
15
|
color: inherit;
|
|
16
16
|
cursor: pointer;
|
|
@@ -26,45 +26,45 @@
|
|
|
26
26
|
display: inline-flex;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
.-xIVma_item[data-filled] {
|
|
30
30
|
color: var(--rating-active-color, var(--color-primary));
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
.-xIVma_item[data-readonly] {
|
|
34
34
|
cursor: default;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
.-xIVma_item[data-disabled] {
|
|
38
38
|
pointer-events: none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
.-xIVma_item:focus-visible {
|
|
42
42
|
outline: var(--rating-focus-ring-width, var(--border-width-sm)) solid
|
|
43
43
|
var(--rating-focus-ring-color, var(--color-ring));
|
|
44
44
|
outline-offset: var(--rating-focus-ring-offset, .125rem);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
.-xIVma_root[data-size="xs"] {
|
|
48
48
|
--_rating-icon-size: var(--rating-icon-size-xs, .875rem);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
.-xIVma_root[data-size="sm"] {
|
|
52
52
|
--_rating-icon-size: var(--rating-icon-size-sm, 1rem);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
.-xIVma_root[data-size="md"] {
|
|
56
56
|
--_rating-icon-size: var(--rating-icon-size-md, 1.25rem);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
.-xIVma_root[data-size="lg"] {
|
|
60
60
|
--_rating-icon-size: var(--rating-icon-size-lg, 1.5rem);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
.-xIVma_root[data-size="xl"] {
|
|
64
64
|
--_rating-icon-size: var(--rating-icon-size-xl, 1.75rem);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
.-xIVma_icon {
|
|
68
68
|
width: var(--_rating-icon-size, var(--rating-icon-size-md, 1.25rem));
|
|
69
69
|
height: var(--_rating-icon-size, var(--rating-icon-size-md, 1.25rem));
|
|
70
70
|
fill: #0000;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
stroke var(--rating-transition, var(--transition-default));
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
.-xIVma_item[data-filled] .-xIVma_icon {
|
|
77
77
|
fill: currentColor;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioGroup } from "@base-ui/react/radio-group";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/rating/Rating.d.ts
|
|
4
4
|
type RatingSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
type RatingProps = Omit<RadioGroup.Props, 'children' | 'defaultValue' | 'orientation' | 'onValueChange' | 'value'> & {
|
|
6
6
|
defaultValue?: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { RatingStarIcon } from "../../icons/ui/Icons.js";
|
|
2
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { RatingStarIcon } from "../../lib/moduix/icons/ui/Icons.js";
|
|
2
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
3
3
|
import Rating_module_default from "./Rating.module.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { forwardRef, useState } from "react";
|
|
6
6
|
import { Radio } from "@base-ui/react/radio";
|
|
7
7
|
import { RadioGroup } from "@base-ui/react/radio-group";
|
|
8
|
-
//#region src/components/
|
|
8
|
+
//#region src/components/rating/Rating.tsx
|
|
9
9
|
const DEFAULT_MAX = 5;
|
|
10
10
|
const Rating = forwardRef(function Rating({ className, defaultValue, disabled, max = DEFAULT_MAX, onValueChange, readOnly, size = "md", value, ...props }, ref) {
|
|
11
11
|
const normalizedMax = normalizeMax(max);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.WhM8lW_root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: var(--scroll-area-width, 100%);
|
|
5
5
|
height: var(--scroll-area-height, 100%);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
position: relative;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.WhM8lW_viewport {
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
border-radius: var(--scroll-area-radius, var(--radius-md));
|
|
13
13
|
background-color: var(--scroll-area-bg, transparent);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 100%;
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.WhM8lW_root[data-fade="vertical"] &, .WhM8lW_root[data-fade="both"] & {
|
|
19
19
|
mask-image: linear-gradient(to bottom,
|
|
20
20
|
transparent 0,
|
|
21
21
|
black
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
mask-repeat: no-repeat;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.WhM8lW_root[data-fade="horizontal"] & {
|
|
33
33
|
mask-image: linear-gradient(to right,
|
|
34
34
|
transparent 0,
|
|
35
35
|
black
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
mask-repeat: no-repeat;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.WhM8lW_root:dir(rtl)[data-fade="horizontal"] & {
|
|
47
47
|
mask-image: linear-gradient(to left,
|
|
48
48
|
transparent 0,
|
|
49
49
|
black
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
transparent 100%);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
.WhM8lW_root[data-fade="both"] & {
|
|
60
60
|
mask-image: linear-gradient(to bottom,
|
|
61
61
|
transparent 0,
|
|
62
62
|
black
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
mask-composite: intersect;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
83
|
+
.WhM8lW_root:dir(rtl)[data-fade="both"] & {
|
|
84
84
|
mask-image: linear-gradient(to bottom,
|
|
85
85
|
transparent 0,
|
|
86
86
|
black
|
|
@@ -110,13 +110,13 @@
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.WhM8lW_content {
|
|
114
114
|
box-sizing: border-box;
|
|
115
115
|
padding: var(--scroll-area-content-padding, 0);
|
|
116
116
|
display: block;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.WhM8lW_scrollbar {
|
|
120
120
|
--_scroll-area-scrollbar-margin: var(--scroll-area-scrollbar-margin, calc(var(--spacing-1) / 2));
|
|
121
121
|
--_scroll-area-scrollbar-hit-area-size: var(--scroll-area-scrollbar-hit-area-size, 1.25rem);
|
|
122
122
|
box-sizing: border-box;
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
.
|
|
185
|
+
.WhM8lW_thumb {
|
|
186
186
|
box-sizing: border-box;
|
|
187
187
|
border-radius: var(--scroll-area-thumb-radius, var(--radius-full));
|
|
188
188
|
background-color: var(--scroll-area-thumb-bg, var(--color-border));
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.
|
|
201
|
+
.WhM8lW_corner {
|
|
202
202
|
box-sizing: border-box;
|
|
203
203
|
background-color: var(--scroll-area-corner-bg, var(--scroll-area-scrollbar-bg, transparent));
|
|
204
204
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/scroll-area/ScrollArea.d.ts
|
|
4
4
|
type FadeDirection = boolean | 'vertical' | 'horizontal' | 'both';
|
|
5
5
|
type Scrollbars = 'vertical' | 'horizontal' | 'both' | false;
|
|
6
6
|
declare const ScrollAreaRoot: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ScrollAreaRootProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { mergeClassName } from "../../
|
|
1
|
+
import { mergeClassName } from "../../lib/moduix/mergeClassName.js";
|
|
2
2
|
import ScrollArea_module_default from "./ScrollArea.module.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { ScrollArea } from "@base-ui/react/scroll-area";
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/scroll-area/ScrollArea.tsx
|
|
7
7
|
const ScrollAreaRoot = forwardRef(function ScrollAreaRoot({ className, ...props }, ref) {
|
|
8
8
|
return /* @__PURE__ */ jsx(ScrollArea.Root, {
|
|
9
9
|
ref,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './ScrollArea.css';
|
|
2
|
+
//#region src/components/scroll-area/ScrollArea.module.css
|
|
3
|
+
var ScrollArea_module_default = {
|
|
4
|
+
"content": "WhM8lW_content",
|
|
5
|
+
"corner": "WhM8lW_corner",
|
|
6
|
+
"root": "WhM8lW_root",
|
|
7
|
+
"scrollbar": "WhM8lW_scrollbar",
|
|
8
|
+
"thumb": "WhM8lW_thumb",
|
|
9
|
+
"viewport": "WhM8lW_viewport"
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ScrollArea_module_default as default };
|