@moduix/react 1.1.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/LICENSE.md +21 -0
- package/README.md +252 -0
- package/dist/components/accordion/Accordion.css +190 -0
- package/dist/components/accordion/Accordion.d.ts +13 -0
- package/dist/components/accordion/Accordion.js +67 -0
- package/dist/components/accordion/Accordion.module.js +15 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/alert/Alert.css +108 -0
- package/dist/components/alert/Alert.d.ts +14 -0
- package/dist/components/alert/Alert.js +69 -0
- package/dist/components/alert/Alert.module.js +11 -0
- package/dist/components/angle-slider/AngleSlider.css +192 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +16 -0
- package/dist/components/angle-slider/AngleSlider.js +92 -0
- package/dist/components/angle-slider/AngleSlider.module.js +13 -0
- package/dist/components/angle-slider/index.d.ts +2 -0
- package/dist/components/aspect-ratio/AspectRatio.css +14 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +10 -0
- package/dist/components/aspect-ratio/AspectRatio.js +24 -0
- package/dist/components/aspect-ratio/AspectRatio.module.js +5 -0
- package/dist/components/avatar/Avatar.css +75 -0
- package/dist/components/avatar/Avatar.d.ts +19 -0
- package/dist/components/avatar/Avatar.js +49 -0
- package/dist/components/avatar/Avatar.module.js +9 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/badge/Badge.css +66 -0
- package/dist/components/badge/Badge.d.ts +11 -0
- package/dist/components/badge/Badge.js +35 -0
- package/dist/components/badge/Badge.module.js +8 -0
- package/dist/components/bleed/Bleed.css +51 -0
- package/dist/components/bleed/Bleed.d.ts +12 -0
- package/dist/components/bleed/Bleed.js +22 -0
- package/dist/components/bleed/Bleed.module.js +5 -0
- package/dist/components/breadcrumbs/Breadcrumbs.css +90 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +12 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +95 -0
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +13 -0
- package/dist/components/button/Button.css +193 -0
- package/dist/components/button/Button.d.ts +14 -0
- package/dist/components/button/Button.js +28 -0
- package/dist/components/button/Button.module.js +5 -0
- package/dist/components/card/Card.css +148 -0
- package/dist/components/card/Card.d.ts +19 -0
- package/dist/components/card/Card.js +101 -0
- package/dist/components/card/Card.module.js +14 -0
- package/dist/components/carousel/Carousel.css +198 -0
- package/dist/components/carousel/Carousel.d.ts +19 -0
- package/dist/components/carousel/Carousel.js +128 -0
- package/dist/components/carousel/Carousel.module.js +18 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/checkbox/Checkbox.css +135 -0
- package/dist/components/checkbox/Checkbox.d.ts +22 -0
- package/dist/components/checkbox/Checkbox.js +84 -0
- package/dist/components/checkbox/Checkbox.module.js +12 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/clipboard/Clipboard.css +145 -0
- package/dist/components/clipboard/Clipboard.d.ts +15 -0
- package/dist/components/clipboard/Clipboard.js +96 -0
- package/dist/components/clipboard/Clipboard.module.js +14 -0
- package/dist/components/clipboard/index.d.ts +2 -0
- package/dist/components/close-button/CloseButton.css +49 -0
- package/dist/components/close-button/CloseButton.d.ts +6 -0
- package/dist/components/close-button/CloseButton.js +39 -0
- package/dist/components/close-button/CloseButton.module.js +5 -0
- package/dist/components/collapsible/Collapsible.css +138 -0
- package/dist/components/collapsible/Collapsible.d.ts +12 -0
- package/dist/components/collapsible/Collapsible.js +59 -0
- package/dist/components/collapsible/Collapsible.module.js +12 -0
- package/dist/components/collapsible/index.d.ts +2 -0
- package/dist/components/color-picker/ColorPicker.css +433 -0
- package/dist/components/color-picker/ColorPicker.d.ts +39 -0
- package/dist/components/color-picker/ColorPicker.js +275 -0
- package/dist/components/color-picker/ColorPicker.module.js +33 -0
- package/dist/components/color-picker/index.d.ts +2 -0
- package/dist/components/combobox/Combobox.css +315 -0
- package/dist/components/combobox/Combobox.d.ts +24 -0
- package/dist/components/combobox/Combobox.js +169 -0
- package/dist/components/combobox/Combobox.module.js +23 -0
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/command-palette/CommandPalette.css +492 -0
- package/dist/components/command-palette/CommandPalette.d.ts +71 -0
- package/dist/components/command-palette/CommandPalette.js +383 -0
- package/dist/components/command-palette/CommandPalette.module.js +43 -0
- package/dist/components/command-palette/index.d.ts +2 -0
- package/dist/components/container/Container.css +45 -0
- package/dist/components/container/Container.d.ts +14 -0
- package/dist/components/container/Container.js +22 -0
- package/dist/components/container/Container.module.js +5 -0
- package/dist/components/date-input/DateInput.css +104 -0
- package/dist/components/date-input/DateInput.d.ts +22 -0
- package/dist/components/date-input/DateInput.js +83 -0
- package/dist/components/date-input/DateInput.module.js +12 -0
- package/dist/components/date-input/index.d.ts +2 -0
- package/dist/components/date-picker/DatePicker.css +420 -0
- package/dist/components/date-picker/DatePicker.d.ts +39 -0
- package/dist/components/date-picker/DatePicker.js +284 -0
- package/dist/components/date-picker/DatePicker.module.js +29 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/dialog/Dialog.css +221 -0
- package/dist/components/dialog/Dialog.d.ts +46 -0
- package/dist/components/dialog/Dialog.js +133 -0
- package/dist/components/dialog/Dialog.module.js +21 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/drawer/Drawer.css +482 -0
- package/dist/components/drawer/Drawer.d.ts +56 -0
- package/dist/components/drawer/Drawer.js +188 -0
- package/dist/components/drawer/Drawer.module.js +32 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/editable/Editable.css +171 -0
- package/dist/components/editable/Editable.d.ts +17 -0
- package/dist/components/editable/Editable.js +106 -0
- package/dist/components/editable/Editable.module.js +13 -0
- package/dist/components/editable/index.d.ts +2 -0
- package/dist/components/empty/Empty.css +78 -0
- package/dist/components/empty/Empty.d.ts +11 -0
- package/dist/components/empty/Empty.js +77 -0
- package/dist/components/empty/Empty.module.js +12 -0
- package/dist/components/field/Field.css +113 -0
- package/dist/components/field/Field.d.ts +25 -0
- package/dist/components/field/Field.js +104 -0
- package/dist/components/field/Field.module.js +15 -0
- package/dist/components/field/index.d.ts +2 -0
- package/dist/components/fieldset/Fieldset.css +52 -0
- package/dist/components/fieldset/Fieldset.d.ts +12 -0
- package/dist/components/fieldset/Fieldset.js +56 -0
- package/dist/components/fieldset/Fieldset.module.js +10 -0
- package/dist/components/fieldset/index.d.ts +2 -0
- package/dist/components/file-upload/FileUpload.css +290 -0
- package/dist/components/file-upload/FileUpload.d.ts +28 -0
- package/dist/components/file-upload/FileUpload.js +149 -0
- package/dist/components/file-upload/FileUpload.module.js +19 -0
- package/dist/components/file-upload/index.d.ts +2 -0
- package/dist/components/floating-panel/FloatingPanel.css +319 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +45 -0
- package/dist/components/floating-panel/FloatingPanel.js +194 -0
- package/dist/components/floating-panel/FloatingPanel.module.js +20 -0
- package/dist/components/floating-panel/index.d.ts +2 -0
- package/dist/components/heading/Heading.css +58 -0
- package/dist/components/heading/Heading.d.ts +17 -0
- package/dist/components/heading/Heading.js +32 -0
- package/dist/components/heading/Heading.module.js +5 -0
- package/dist/components/highlight/Highlight.css +15 -0
- package/dist/components/highlight/Highlight.d.ts +13 -0
- package/dist/components/highlight/Highlight.js +18 -0
- package/dist/components/highlight/Highlight.module.js +5 -0
- package/dist/components/highlight/index.d.ts +2 -0
- package/dist/components/hover-card/HoverCard.css +107 -0
- package/dist/components/hover-card/HoverCard.d.ts +28 -0
- package/dist/components/hover-card/HoverCard.js +81 -0
- package/dist/components/hover-card/HoverCard.module.js +13 -0
- package/dist/components/hover-card/index.d.ts +2 -0
- package/dist/components/image-cropper/ImageCropper.css +147 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +15 -0
- package/dist/components/image-cropper/ImageCropper.js +75 -0
- package/dist/components/image-cropper/ImageCropper.module.js +12 -0
- package/dist/components/image-cropper/index.d.ts +2 -0
- package/dist/components/input/Input.css +83 -0
- package/dist/components/input/Input.d.ts +15 -0
- package/dist/components/input/Input.js +22 -0
- package/dist/components/input/Input.module.js +5 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input-group/InputGroup.css +158 -0
- package/dist/components/input-group/InputGroup.d.ts +25 -0
- package/dist/components/input-group/InputGroup.js +76 -0
- package/dist/components/input-group/InputGroup.module.js +11 -0
- package/dist/components/input-group/index.d.ts +2 -0
- package/dist/components/kbd/Kbd.css +45 -0
- package/dist/components/kbd/Kbd.d.ts +7 -0
- package/dist/components/kbd/Kbd.js +33 -0
- package/dist/components/kbd/Kbd.module.js +8 -0
- package/dist/components/lightbox/Lightbox.css +242 -0
- package/dist/components/lightbox/Lightbox.d.ts +71 -0
- package/dist/components/lightbox/Lightbox.js +219 -0
- package/dist/components/lightbox/Lightbox.module.js +22 -0
- package/dist/components/lightbox/index.d.ts +2 -0
- package/dist/components/list/List.css +118 -0
- package/dist/components/list/List.d.ts +24 -0
- package/dist/components/list/List.js +48 -0
- package/dist/components/list/List.module.js +5 -0
- package/dist/components/list/index.d.ts +2 -0
- package/dist/components/listbox/Listbox.css +255 -0
- package/dist/components/listbox/Listbox.d.ts +35 -0
- package/dist/components/listbox/Listbox.js +145 -0
- package/dist/components/listbox/Listbox.module.js +20 -0
- package/dist/components/listbox/index.d.ts +2 -0
- package/dist/components/marquee/Marquee.css +114 -0
- package/dist/components/marquee/Marquee.d.ts +13 -0
- package/dist/components/marquee/Marquee.js +65 -0
- package/dist/components/marquee/Marquee.module.js +13 -0
- package/dist/components/marquee/index.d.ts +2 -0
- package/dist/components/menu/Menu.css +371 -0
- package/dist/components/menu/Menu.d.ts +83 -0
- package/dist/components/menu/Menu.js +240 -0
- package/dist/components/menu/Menu.module.js +33 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/native-select/NativeSelect.css +104 -0
- package/dist/components/native-select/NativeSelect.d.ts +8 -0
- package/dist/components/native-select/NativeSelect.js +32 -0
- package/dist/components/native-select/NativeSelect.module.js +9 -0
- package/dist/components/native-select/index.d.ts +2 -0
- package/dist/components/number-input/NumberInput.css +162 -0
- package/dist/components/number-input/NumberInput.d.ts +16 -0
- package/dist/components/number-input/NumberInput.js +95 -0
- package/dist/components/number-input/NumberInput.module.js +14 -0
- package/dist/components/number-input/index.d.ts +2 -0
- package/dist/components/pagination/Pagination.css +99 -0
- package/dist/components/pagination/Pagination.d.ts +16 -0
- package/dist/components/pagination/Pagination.js +101 -0
- package/dist/components/pagination/Pagination.module.js +12 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/password-input/PasswordInput.css +155 -0
- package/dist/components/password-input/PasswordInput.d.ts +14 -0
- package/dist/components/password-input/PasswordInput.js +77 -0
- package/dist/components/password-input/PasswordInput.module.js +12 -0
- package/dist/components/password-input/index.d.ts +2 -0
- package/dist/components/pin-input/PinInput.css +96 -0
- package/dist/components/pin-input/PinInput.d.ts +23 -0
- package/dist/components/pin-input/PinInput.js +85 -0
- package/dist/components/pin-input/PinInput.module.js +11 -0
- package/dist/components/pin-input/index.d.ts +2 -0
- package/dist/components/popover/Popover.css +162 -0
- package/dist/components/popover/Popover.d.ts +50 -0
- package/dist/components/popover/Popover.js +167 -0
- package/dist/components/popover/Popover.module.js +20 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/progress-circular/ProgressCircular.css +68 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +15 -0
- package/dist/components/progress-circular/ProgressCircular.js +83 -0
- package/dist/components/progress-circular/ProgressCircular.module.js +14 -0
- package/dist/components/progress-circular/index.d.ts +2 -0
- package/dist/components/progress-linear/ProgressLinear.css +106 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +14 -0
- package/dist/components/progress-linear/ProgressLinear.js +74 -0
- package/dist/components/progress-linear/ProgressLinear.module.js +14 -0
- package/dist/components/progress-linear/index.d.ts +2 -0
- package/dist/components/qr-code/QrCode.css +100 -0
- package/dist/components/qr-code/QrCode.d.ts +13 -0
- package/dist/components/qr-code/QrCode.js +65 -0
- package/dist/components/qr-code/QrCode.module.js +11 -0
- package/dist/components/qr-code/index.d.ts +2 -0
- package/dist/components/radio-group/RadioGroup.css +147 -0
- package/dist/components/radio-group/RadioGroup.d.ts +20 -0
- package/dist/components/radio-group/RadioGroup.js +83 -0
- package/dist/components/radio-group/RadioGroup.module.js +12 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/rating-group/RatingGroup.css +133 -0
- package/dist/components/rating-group/RatingGroup.d.ts +23 -0
- package/dist/components/rating-group/RatingGroup.js +86 -0
- package/dist/components/rating-group/RatingGroup.module.js +13 -0
- package/dist/components/rating-group/index.d.ts +2 -0
- package/dist/components/scroll-area/ScrollArea.css +162 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +21 -0
- package/dist/components/scroll-area/ScrollArea.js +76 -0
- package/dist/components/scroll-area/ScrollArea.module.js +12 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/segment-group/SegmentGroup.css +120 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +15 -0
- package/dist/components/segment-group/SegmentGroup.js +83 -0
- package/dist/components/segment-group/SegmentGroup.module.js +12 -0
- package/dist/components/segment-group/index.d.ts +2 -0
- package/dist/components/select/Select.css +351 -0
- package/dist/components/select/Select.d.ts +48 -0
- package/dist/components/select/Select.js +210 -0
- package/dist/components/select/Select.module.js +27 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/separator/Separator.css +45 -0
- package/dist/components/separator/Separator.d.ts +14 -0
- package/dist/components/separator/Separator.js +27 -0
- package/dist/components/separator/Separator.module.js +5 -0
- package/dist/components/sidebar/Sidebar.css +341 -0
- package/dist/components/sidebar/Sidebar.d.ts +48 -0
- package/dist/components/sidebar/Sidebar.js +279 -0
- package/dist/components/sidebar/Sidebar.module.js +23 -0
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/signature-pad/SignaturePad.css +123 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +15 -0
- package/dist/components/signature-pad/SignaturePad.js +82 -0
- package/dist/components/signature-pad/SignaturePad.module.js +12 -0
- package/dist/components/signature-pad/index.d.ts +2 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +18 -0
- package/dist/components/simple-grid/SimpleGrid.js +32 -0
- package/dist/components/skeleton/Skeleton.css +29 -0
- package/dist/components/skeleton/Skeleton.d.ts +20 -0
- package/dist/components/skeleton/Skeleton.js +32 -0
- package/dist/components/skeleton/Skeleton.module.js +5 -0
- package/dist/components/slider/Slider.css +167 -0
- package/dist/components/slider/Slider.d.ts +19 -0
- package/dist/components/slider/Slider.js +119 -0
- package/dist/components/slider/Slider.module.js +16 -0
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/spinner/Spinner.css +60 -0
- package/dist/components/spinner/Spinner.d.ts +12 -0
- package/dist/components/spinner/Spinner.js +40 -0
- package/dist/components/spinner/Spinner.module.js +9 -0
- package/dist/components/split-button/SplitButton.css +51 -0
- package/dist/components/split-button/SplitButton.d.ts +36 -0
- package/dist/components/split-button/SplitButton.js +93 -0
- package/dist/components/split-button/SplitButton.module.js +9 -0
- package/dist/components/split-button/index.d.ts +2 -0
- package/dist/components/splitter/Splitter.css +170 -0
- package/dist/components/splitter/Splitter.d.ts +12 -0
- package/dist/components/splitter/Splitter.js +68 -0
- package/dist/components/splitter/Splitter.module.js +10 -0
- package/dist/components/splitter/index.d.ts +2 -0
- package/dist/components/stack/Stack.css +13 -0
- package/dist/components/stack/Stack.d.ts +31 -0
- package/dist/components/stack/Stack.js +36 -0
- package/dist/components/stack/Stack.module.js +5 -0
- package/dist/components/stack/index.d.ts +2 -0
- package/dist/components/steps/Steps.css +283 -0
- package/dist/components/steps/Steps.d.ts +19 -0
- package/dist/components/steps/Steps.js +122 -0
- package/dist/components/steps/Steps.module.js +17 -0
- package/dist/components/steps/index.d.ts +2 -0
- package/dist/components/switch/Switch.css +130 -0
- package/dist/components/switch/Switch.d.ts +21 -0
- package/dist/components/switch/Switch.js +67 -0
- package/dist/components/switch/Switch.module.js +10 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/table/Table.css +162 -0
- package/dist/components/table/Table.d.ts +41 -0
- package/dist/components/table/Table.js +173 -0
- package/dist/components/table/Table.module.js +18 -0
- package/dist/components/tabs/Tabs.css +186 -0
- package/dist/components/tabs/Tabs.d.ts +20 -0
- package/dist/components/tabs/Tabs.js +67 -0
- package/dist/components/tabs/Tabs.module.js +11 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tag/Tag.css +128 -0
- package/dist/components/tag/Tag.d.ts +18 -0
- package/dist/components/tag/Tag.js +87 -0
- package/dist/components/tag/Tag.module.js +11 -0
- package/dist/components/tags-input/TagsInput.css +248 -0
- package/dist/components/tags-input/TagsInput.d.ts +20 -0
- package/dist/components/tags-input/TagsInput.js +139 -0
- package/dist/components/tags-input/TagsInput.module.js +16 -0
- package/dist/components/tags-input/index.d.ts +2 -0
- package/dist/components/text/Text.css +87 -0
- package/dist/components/text/Text.d.ts +27 -0
- package/dist/components/text/Text.js +43 -0
- package/dist/components/text/Text.module.js +5 -0
- package/dist/components/textarea/Textarea.css +55 -0
- package/dist/components/textarea/Textarea.d.ts +6 -0
- package/dist/components/textarea/Textarea.js +21 -0
- package/dist/components/textarea/Textarea.module.js +5 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/timer/Timer.css +95 -0
- package/dist/components/timer/Timer.d.ts +14 -0
- package/dist/components/timer/Timer.js +74 -0
- package/dist/components/timer/Timer.module.js +12 -0
- package/dist/components/timer/index.d.ts +2 -0
- package/dist/components/toast/Toast.css +154 -0
- package/dist/components/toast/Toast.d.ts +17 -0
- package/dist/components/toast/Toast.js +92 -0
- package/dist/components/toast/Toast.module.js +12 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toggle/Toggle.css +167 -0
- package/dist/components/toggle/Toggle.d.ts +16 -0
- package/dist/components/toggle/Toggle.js +31 -0
- package/dist/components/toggle/Toggle.module.js +8 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle-group/ToggleGroup.css +42 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +25 -0
- package/dist/components/toggle-group/ToggleGroup.js +62 -0
- package/dist/components/toggle-group/ToggleGroup.module.js +8 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.css +125 -0
- package/dist/components/tooltip/Tooltip.d.ts +28 -0
- package/dist/components/tooltip/Tooltip.js +75 -0
- package/dist/components/tooltip/Tooltip.module.js +13 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tour/Tour.css +286 -0
- package/dist/components/tour/Tour.d.ts +30 -0
- package/dist/components/tour/Tour.js +149 -0
- package/dist/components/tour/Tour.module.js +23 -0
- package/dist/components/tour/index.d.ts +2 -0
- package/dist/components/tree-view/TreeView.css +261 -0
- package/dist/components/tree-view/TreeView.d.ts +32 -0
- package/dist/components/tree-view/TreeView.js +171 -0
- package/dist/components/tree-view/TreeView.module.js +26 -0
- package/dist/components/tree-view/index.d.ts +2 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +83 -0
- package/dist/lib/moduix/icons/ui/Icons.d.ts +51 -0
- package/dist/lib/moduix/icons/ui/Icons.js +759 -0
- package/dist/lib/moduix/icons/ui/index.d.ts +2 -0
- package/dist/lib/moduix/normalizeClassName.js +4 -0
- package/dist/lib/moduix/overlayPortal.d.ts +9 -0
- package/dist/lib/moduix/overlayPortal.js +21 -0
- package/dist/lib/moduix/styles/reset.css +175 -0
- package/dist/lib/moduix/styles/style.css +288 -0
- package/dist/reset.d.ts +1 -0
- package/dist/reset.js +1 -0
- package/dist/style.d.ts +1 -0
- package/dist/style.js +1 -0
- package/package.json +76 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.Y0NE0q_root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
justify-items: center;
|
|
5
|
+
gap: var(--progress-circular-gap, .5rem);
|
|
6
|
+
width: var(--progress-circular-root-width, max-content);
|
|
7
|
+
color: var(--progress-circular-color, var(--color-foreground));
|
|
8
|
+
display: inline-grid;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.Y0NE0q_label {
|
|
12
|
+
font-size: var(--progress-circular-label-font-size, var(--text-sm));
|
|
13
|
+
font-weight: var(--progress-circular-label-font-weight, var(--weight-regular));
|
|
14
|
+
line-height: var(--progress-circular-label-line-height, var(--line-height-text-sm));
|
|
15
|
+
color: var(--progress-circular-label-color, currentColor);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.Y0NE0q_valueText {
|
|
19
|
+
font-size: var(--progress-circular-value-text-font-size, var(--text-sm));
|
|
20
|
+
font-weight: var(--progress-circular-value-text-font-weight, var(--weight-medium));
|
|
21
|
+
line-height: var(--progress-circular-value-text-line-height, var(--line-height-text-sm));
|
|
22
|
+
color: var(--progress-circular-value-text-color, currentColor);
|
|
23
|
+
text-align: center;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.Y0NE0q_circle {
|
|
27
|
+
--size: var(--progress-circular-size, 3rem);
|
|
28
|
+
--thickness: var(--progress-circular-thickness, .4rem);
|
|
29
|
+
display: block;
|
|
30
|
+
overflow: visible;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.Y0NE0q_circleTrack {
|
|
34
|
+
stroke: var(--progress-circular-track-bg, var(--color-muted));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.Y0NE0q_circleRange {
|
|
38
|
+
stroke: var(--progress-circular-range-bg, var(--color-primary));
|
|
39
|
+
stroke-linecap: var(--progress-circular-range-linecap, round);
|
|
40
|
+
transition: stroke-dashoffset
|
|
41
|
+
var(--progress-circular-range-transition, var(--transition-default));
|
|
42
|
+
|
|
43
|
+
&[data-state="indeterminate"] {
|
|
44
|
+
animation: var(--progress-circular-range-indeterminate-animation, progress-circular-indeterminate 1.4s linear infinite);
|
|
45
|
+
stroke-dasharray: var(--progress-circular-range-indeterminate-dasharray, 1 200);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (prefers-reduced-motion: reduce) {
|
|
49
|
+
&[data-state="indeterminate"] {
|
|
50
|
+
animation: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.Y0NE0q_view {
|
|
56
|
+
display: contents;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@keyframes Y0NE0q_progress-circular-indeterminate {
|
|
60
|
+
from {
|
|
61
|
+
transform: rotate(-90deg);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
to {
|
|
65
|
+
transform: rotate(270deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Progress } from "@ark-ui/react/progress";
|
|
2
|
+
|
|
3
|
+
//#region src/components/progress-circular/ProgressCircular.d.ts
|
|
4
|
+
declare const ProgressCircular: import("react").ForwardRefExoticComponent<Omit<Progress.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
5
|
+
Root: import("react").ForwardRefExoticComponent<Omit<Progress.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
RootProvider: import("react").ForwardRefExoticComponent<Omit<Progress.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Label: import("react").ForwardRefExoticComponent<Omit<Progress.LabelProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
ValueText: import("react").ForwardRefExoticComponent<Omit<Progress.ValueTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
Circle: import("react").ForwardRefExoticComponent<Omit<Progress.CircleProps & import("react").RefAttributes<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
CircleTrack: import("react").ForwardRefExoticComponent<Omit<Progress.CircleTrackProps & import("react").RefAttributes<SVGCircleElement>, "ref"> & import("react").RefAttributes<SVGCircleElement>>;
|
|
11
|
+
CircleRange: import("react").ForwardRefExoticComponent<Omit<Progress.CircleRangeProps & import("react").RefAttributes<SVGCircleElement>, "ref"> & import("react").RefAttributes<SVGCircleElement>>;
|
|
12
|
+
View: import("react").ForwardRefExoticComponent<Omit<Progress.ViewProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ProgressCircular };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
|
|
2
|
+
import ProgressCircular_module_default from "./ProgressCircular.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { clsx } from "clsx";
|
|
5
|
+
import { forwardRef } from "react";
|
|
6
|
+
import { Progress } from "@ark-ui/react/progress";
|
|
7
|
+
//#region src/components/progress-circular/ProgressCircular.tsx
|
|
8
|
+
const ProgressCircularRoot = forwardRef(function ProgressCircularRoot({ className, ...props }, ref) {
|
|
9
|
+
return /* @__PURE__ */ jsx(Progress.Root, {
|
|
10
|
+
ref,
|
|
11
|
+
"data-slot": "progress-circular-root",
|
|
12
|
+
className: clsx(ProgressCircular_module_default.root, normalizeClassName(className)),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
const ProgressCircularRootProvider = forwardRef(function ProgressCircularRootProvider({ className, ...props }, ref) {
|
|
17
|
+
return /* @__PURE__ */ jsx(Progress.RootProvider, {
|
|
18
|
+
ref,
|
|
19
|
+
"data-slot": "progress-circular-root-provider",
|
|
20
|
+
className: clsx(ProgressCircular_module_default.root, normalizeClassName(className)),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
const ProgressCircularLabel = forwardRef(function ProgressCircularLabel({ className, ...props }, ref) {
|
|
25
|
+
return /* @__PURE__ */ jsx(Progress.Label, {
|
|
26
|
+
ref,
|
|
27
|
+
"data-slot": "progress-circular-label",
|
|
28
|
+
className: clsx(ProgressCircular_module_default.label, normalizeClassName(className)),
|
|
29
|
+
...props
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
const ProgressCircularValueText = forwardRef(function ProgressCircularValueText({ className, ...props }, ref) {
|
|
33
|
+
return /* @__PURE__ */ jsx(Progress.ValueText, {
|
|
34
|
+
ref,
|
|
35
|
+
"data-slot": "progress-circular-value-text",
|
|
36
|
+
className: clsx(ProgressCircular_module_default.valueText, normalizeClassName(className)),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
const ProgressCircularCircle = forwardRef(function ProgressCircularCircle({ className, ...props }, ref) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Progress.Circle, {
|
|
42
|
+
ref,
|
|
43
|
+
"data-slot": "progress-circular-circle",
|
|
44
|
+
className: clsx(ProgressCircular_module_default.circle, normalizeClassName(className)),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
const ProgressCircularCircleTrack = forwardRef(function ProgressCircularCircleTrack({ className, ...props }, ref) {
|
|
49
|
+
return /* @__PURE__ */ jsx(Progress.CircleTrack, {
|
|
50
|
+
ref,
|
|
51
|
+
"data-slot": "progress-circular-circle-track",
|
|
52
|
+
className: clsx(ProgressCircular_module_default.circleTrack, normalizeClassName(className)),
|
|
53
|
+
...props
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
const ProgressCircularCircleRange = forwardRef(function ProgressCircularCircleRange({ className, ...props }, ref) {
|
|
57
|
+
return /* @__PURE__ */ jsx(Progress.CircleRange, {
|
|
58
|
+
ref,
|
|
59
|
+
"data-slot": "progress-circular-circle-range",
|
|
60
|
+
className: clsx(ProgressCircular_module_default.circleRange, normalizeClassName(className)),
|
|
61
|
+
...props
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
const ProgressCircularView = forwardRef(function ProgressCircularView({ className, ...props }, ref) {
|
|
65
|
+
return /* @__PURE__ */ jsx(Progress.View, {
|
|
66
|
+
ref,
|
|
67
|
+
"data-slot": "progress-circular-view",
|
|
68
|
+
className: clsx(ProgressCircular_module_default.view, normalizeClassName(className)),
|
|
69
|
+
...props
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
const ProgressCircular = Object.assign(ProgressCircularRoot, {
|
|
73
|
+
Root: ProgressCircularRoot,
|
|
74
|
+
RootProvider: ProgressCircularRootProvider,
|
|
75
|
+
Label: ProgressCircularLabel,
|
|
76
|
+
ValueText: ProgressCircularValueText,
|
|
77
|
+
Circle: ProgressCircularCircle,
|
|
78
|
+
CircleTrack: ProgressCircularCircleTrack,
|
|
79
|
+
CircleRange: ProgressCircularCircleRange,
|
|
80
|
+
View: ProgressCircularView
|
|
81
|
+
});
|
|
82
|
+
//#endregion
|
|
83
|
+
export { ProgressCircular };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './ProgressCircular.css';
|
|
2
|
+
//#region src/components/progress-circular/ProgressCircular.module.css
|
|
3
|
+
var ProgressCircular_module_default = {
|
|
4
|
+
"circle": "Y0NE0q_circle",
|
|
5
|
+
"circleRange": "Y0NE0q_circleRange",
|
|
6
|
+
"circleTrack": "Y0NE0q_circleTrack",
|
|
7
|
+
"label": "Y0NE0q_label",
|
|
8
|
+
"progress-circular-indeterminate": "Y0NE0q_progress-circular-indeterminate",
|
|
9
|
+
"root": "Y0NE0q_root",
|
|
10
|
+
"valueText": "Y0NE0q_valueText",
|
|
11
|
+
"view": "Y0NE0q_view"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ProgressCircular_module_default as default };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.fteJNa_root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
gap: var(--progress-linear-gap, .5rem);
|
|
5
|
+
width: var(--progress-linear-width, 12rem);
|
|
6
|
+
color: var(--progress-linear-color, var(--color-foreground));
|
|
7
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
8
|
+
display: grid;
|
|
9
|
+
|
|
10
|
+
&[data-orientation="vertical"] {
|
|
11
|
+
width: var(--progress-linear-vertical-width, max-content);
|
|
12
|
+
height: var(--progress-linear-height, 12rem);
|
|
13
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
14
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.fteJNa_label {
|
|
19
|
+
font-size: var(--progress-linear-label-font-size, var(--text-sm));
|
|
20
|
+
font-weight: var(--progress-linear-label-font-weight, var(--weight-regular));
|
|
21
|
+
line-height: var(--progress-linear-label-line-height, var(--line-height-text-sm));
|
|
22
|
+
color: var(--progress-linear-label-color, currentColor);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fteJNa_valueText {
|
|
26
|
+
font-size: var(--progress-linear-value-text-font-size, var(--text-sm));
|
|
27
|
+
font-weight: var(--progress-linear-value-text-font-weight, var(--weight-regular));
|
|
28
|
+
line-height: var(--progress-linear-value-text-line-height, var(--line-height-text-sm));
|
|
29
|
+
color: var(--progress-linear-value-text-color, currentColor);
|
|
30
|
+
text-align: right;
|
|
31
|
+
justify-self: end;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fteJNa_track {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: var(--progress-linear-track-height, .5rem);
|
|
37
|
+
border-radius: var(--progress-linear-track-radius, var(--radius-full));
|
|
38
|
+
background-color: var(--progress-linear-track-bg, var(--color-muted));
|
|
39
|
+
box-shadow: inset 0 0 0 var(--progress-linear-track-border-width, var(--border-width-sm))
|
|
40
|
+
var(--progress-linear-track-border-color, var(--color-border));
|
|
41
|
+
grid-column: 1 / -1;
|
|
42
|
+
display: block;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
|
|
45
|
+
&[data-orientation="vertical"] {
|
|
46
|
+
width: var(--progress-linear-track-width, .5rem);
|
|
47
|
+
align-items: end;
|
|
48
|
+
height: 100%;
|
|
49
|
+
display: flex;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fteJNa_range {
|
|
54
|
+
border-radius: var(--progress-linear-range-radius, inherit);
|
|
55
|
+
background-color: var(--progress-linear-range-bg, var(--color-primary));
|
|
56
|
+
height: 100%;
|
|
57
|
+
transition: width var(--progress-linear-range-transition, var(--transition-default)),
|
|
58
|
+
height var(--progress-linear-range-transition, var(--transition-default));
|
|
59
|
+
display: block;
|
|
60
|
+
|
|
61
|
+
&[data-state="indeterminate"] {
|
|
62
|
+
width: var(--progress-linear-range-indeterminate-width, 35%);
|
|
63
|
+
animation: var(--progress-linear-range-indeterminate-animation, progress-linear-indeterminate 1.5s ease-in-out infinite);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[data-orientation="vertical"] {
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&[data-state="indeterminate"][data-orientation="vertical"] {
|
|
71
|
+
height: var(--progress-linear-range-indeterminate-width, 35%);
|
|
72
|
+
animation: var(--progress-linear-range-indeterminate-vertical-animation, progress-linear-indeterminate-vertical 1.5s ease-in-out infinite);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (prefers-reduced-motion: reduce) {
|
|
76
|
+
&[data-state="indeterminate"] {
|
|
77
|
+
animation: none;
|
|
78
|
+
transform: translate(0);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.fteJNa_view {
|
|
84
|
+
display: contents;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@keyframes fteJNa_progress-linear-indeterminate {
|
|
88
|
+
from {
|
|
89
|
+
transform: translateX(-100%);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
to {
|
|
93
|
+
transform: translateX(300%);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@keyframes fteJNa_progress-linear-indeterminate-vertical {
|
|
98
|
+
from {
|
|
99
|
+
transform: translateY(100%);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
to {
|
|
103
|
+
transform: translateY(-300%);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Progress } from "@ark-ui/react/progress";
|
|
2
|
+
|
|
3
|
+
//#region src/components/progress-linear/ProgressLinear.d.ts
|
|
4
|
+
declare const ProgressLinear: import("react").ForwardRefExoticComponent<Omit<Progress.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
5
|
+
Root: import("react").ForwardRefExoticComponent<Omit<Progress.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
RootProvider: import("react").ForwardRefExoticComponent<Omit<Progress.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Label: import("react").ForwardRefExoticComponent<Omit<Progress.LabelProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
ValueText: import("react").ForwardRefExoticComponent<Omit<Progress.ValueTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
Track: import("react").ForwardRefExoticComponent<Omit<Progress.TrackProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
Range: import("react").ForwardRefExoticComponent<Omit<Progress.RangeProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
View: import("react").ForwardRefExoticComponent<Omit<Progress.ViewProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ProgressLinear };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
|
|
2
|
+
import ProgressLinear_module_default from "./ProgressLinear.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { clsx } from "clsx";
|
|
5
|
+
import { forwardRef } from "react";
|
|
6
|
+
import { Progress } from "@ark-ui/react/progress";
|
|
7
|
+
//#region src/components/progress-linear/ProgressLinear.tsx
|
|
8
|
+
const ProgressLinearRoot = forwardRef(function ProgressLinearRoot({ className, ...props }, ref) {
|
|
9
|
+
return /* @__PURE__ */ jsx(Progress.Root, {
|
|
10
|
+
ref,
|
|
11
|
+
"data-slot": "progress-linear-root",
|
|
12
|
+
className: clsx(ProgressLinear_module_default.root, normalizeClassName(className)),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
const ProgressLinearRootProvider = forwardRef(function ProgressLinearRootProvider({ className, ...props }, ref) {
|
|
17
|
+
return /* @__PURE__ */ jsx(Progress.RootProvider, {
|
|
18
|
+
ref,
|
|
19
|
+
"data-slot": "progress-linear-root-provider",
|
|
20
|
+
className: clsx(ProgressLinear_module_default.root, normalizeClassName(className)),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
const ProgressLinearLabel = forwardRef(function ProgressLinearLabel({ className, ...props }, ref) {
|
|
25
|
+
return /* @__PURE__ */ jsx(Progress.Label, {
|
|
26
|
+
ref,
|
|
27
|
+
"data-slot": "progress-linear-label",
|
|
28
|
+
className: clsx(ProgressLinear_module_default.label, normalizeClassName(className)),
|
|
29
|
+
...props
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
const ProgressLinearValueText = forwardRef(function ProgressLinearValueText({ className, ...props }, ref) {
|
|
33
|
+
return /* @__PURE__ */ jsx(Progress.ValueText, {
|
|
34
|
+
ref,
|
|
35
|
+
"data-slot": "progress-linear-value-text",
|
|
36
|
+
className: clsx(ProgressLinear_module_default.valueText, normalizeClassName(className)),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
const ProgressLinearTrack = forwardRef(function ProgressLinearTrack({ className, ...props }, ref) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Progress.Track, {
|
|
42
|
+
ref,
|
|
43
|
+
"data-slot": "progress-linear-track",
|
|
44
|
+
className: clsx(ProgressLinear_module_default.track, normalizeClassName(className)),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
const ProgressLinearRange = forwardRef(function ProgressLinearRange({ className, ...props }, ref) {
|
|
49
|
+
return /* @__PURE__ */ jsx(Progress.Range, {
|
|
50
|
+
ref,
|
|
51
|
+
"data-slot": "progress-linear-range",
|
|
52
|
+
className: clsx(ProgressLinear_module_default.range, normalizeClassName(className)),
|
|
53
|
+
...props
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
const ProgressLinearView = forwardRef(function ProgressLinearView({ className, ...props }, ref) {
|
|
57
|
+
return /* @__PURE__ */ jsx(Progress.View, {
|
|
58
|
+
ref,
|
|
59
|
+
"data-slot": "progress-linear-view",
|
|
60
|
+
className: clsx(ProgressLinear_module_default.view, normalizeClassName(className)),
|
|
61
|
+
...props
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
const ProgressLinear = Object.assign(ProgressLinearRoot, {
|
|
65
|
+
Root: ProgressLinearRoot,
|
|
66
|
+
RootProvider: ProgressLinearRootProvider,
|
|
67
|
+
Label: ProgressLinearLabel,
|
|
68
|
+
ValueText: ProgressLinearValueText,
|
|
69
|
+
Track: ProgressLinearTrack,
|
|
70
|
+
Range: ProgressLinearRange,
|
|
71
|
+
View: ProgressLinearView
|
|
72
|
+
});
|
|
73
|
+
//#endregion
|
|
74
|
+
export { ProgressLinear };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './ProgressLinear.css';
|
|
2
|
+
//#region src/components/progress-linear/ProgressLinear.module.css
|
|
3
|
+
var ProgressLinear_module_default = {
|
|
4
|
+
"label": "fteJNa_label",
|
|
5
|
+
"progress-linear-indeterminate": "fteJNa_progress-linear-indeterminate",
|
|
6
|
+
"progress-linear-indeterminate-vertical": "fteJNa_progress-linear-indeterminate-vertical",
|
|
7
|
+
"range": "fteJNa_range",
|
|
8
|
+
"root": "fteJNa_root",
|
|
9
|
+
"track": "fteJNa_track",
|
|
10
|
+
"valueText": "fteJNa_valueText",
|
|
11
|
+
"view": "fteJNa_view"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ProgressLinear_module_default as default };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.B15lta_root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: var(--qr-code-gap, var(--spacing-3));
|
|
6
|
+
width: fit-content;
|
|
7
|
+
max-width: var(--qr-code-max-width, 100%);
|
|
8
|
+
color: var(--qr-code-color, var(--color-foreground));
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.B15lta_frame {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
width: var(--qr-code-size, 8rem);
|
|
17
|
+
height: var(--qr-code-size, 8rem);
|
|
18
|
+
color: inherit;
|
|
19
|
+
fill: var(--qr-code-fill, currentColor);
|
|
20
|
+
display: block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.B15lta_pattern {
|
|
24
|
+
fill: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.B15lta_overlay {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
width: var(--qr-code-overlay-size, 2.5rem);
|
|
30
|
+
height: var(--qr-code-overlay-size, 2.5rem);
|
|
31
|
+
padding: var(--qr-code-overlay-padding, var(--spacing-1));
|
|
32
|
+
border-radius: var(--qr-code-overlay-radius, var(--radius-sm));
|
|
33
|
+
background-color: var(--qr-code-overlay-bg, var(--color-background));
|
|
34
|
+
color: var(--qr-code-overlay-color, var(--color-foreground));
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.B15lta_overlay :where(img, svg) {
|
|
41
|
+
object-fit: contain;
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.B15lta_downloadTrigger {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
align-items: center;
|
|
50
|
+
gap: var(--qr-code-download-trigger-gap, var(--button-content-gap, var(--spacing-2)));
|
|
51
|
+
min-height: var(--qr-code-download-trigger-height, var(--button-size-md, var(--size-lg)));
|
|
52
|
+
padding-inline: var(--qr-code-download-trigger-padding-x, var(--button-padding-x-md, 1rem));
|
|
53
|
+
border: var(--qr-code-download-trigger-border-width, var(--button-border-width, var(--border-width-sm)))
|
|
54
|
+
solid
|
|
55
|
+
var(--qr-code-download-trigger-border-color, var(--button-outline-border-color, var(--color-border)));
|
|
56
|
+
border-radius: var(--qr-code-download-trigger-radius, var(--button-radius, var(--radius-md)));
|
|
57
|
+
background-color: var(--qr-code-download-trigger-bg, var(--button-outline-bg, var(--color-background)));
|
|
58
|
+
color: var(--qr-code-download-trigger-color, var(--button-outline-color, var(--color-foreground)));
|
|
59
|
+
appearance: none;
|
|
60
|
+
font: inherit;
|
|
61
|
+
font-size: var(--qr-code-download-trigger-font-size, var(--button-font-size, var(--text-sm)));
|
|
62
|
+
font-weight: var(--qr-code-download-trigger-font-weight, var(--button-font-weight, var(--weight-medium)));
|
|
63
|
+
line-height: var(--qr-code-download-trigger-line-height, var(--button-line-height, var(--line-height-text-sm)));
|
|
64
|
+
user-select: none;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
transition: border-color var(--qr-code-transition, var(--button-transition, var(--transition-default))),
|
|
68
|
+
background-color
|
|
69
|
+
var(--qr-code-transition, var(--button-transition, var(--transition-default))),
|
|
70
|
+
color var(--qr-code-transition, var(--button-transition, var(--transition-default))),
|
|
71
|
+
opacity var(--qr-code-transition, var(--button-transition, var(--transition-default))),
|
|
72
|
+
box-shadow var(--qr-code-transition, var(--button-transition, var(--transition-default)));
|
|
73
|
+
display: inline-flex;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.B15lta_downloadTrigger :where(svg) {
|
|
77
|
+
width: var(--qr-code-download-trigger-icon-size, var(--button-icon-size, 1rem));
|
|
78
|
+
height: var(--qr-code-download-trigger-icon-size, var(--button-icon-size, 1rem));
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (hover: hover) {
|
|
83
|
+
.B15lta_downloadTrigger:hover:not(:disabled, [data-disabled]) {
|
|
84
|
+
background-color: var(--qr-code-download-trigger-bg-hover, var(--button-outline-bg-hover, var(--color-accent)));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.B15lta_downloadTrigger:focus-visible {
|
|
89
|
+
outline: var(--qr-code-download-trigger-focus-ring-width, var(--button-focus-ring-width, var(--border-width-md)))
|
|
90
|
+
solid
|
|
91
|
+
var(--qr-code-download-trigger-focus-ring-color, var(--button-focus-ring-color, var(--color-ring)));
|
|
92
|
+
outline-offset: calc(var(--qr-code-download-trigger-focus-ring-offset, var(--qr-code-download-trigger-border-width, var(--button-border-width, var(--border-width-sm)))) *
|
|
93
|
+
-1);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.B15lta_downloadTrigger:disabled, .B15lta_downloadTrigger[data-disabled] {
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
opacity: var(--qr-code-disabled-opacity, var(--button-disabled-opacity, var(--opacity-disabled)));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QrCode } from "@ark-ui/react/qr-code";
|
|
2
|
+
|
|
3
|
+
//#region src/components/qr-code/QrCode.d.ts
|
|
4
|
+
declare const QrCode$1: import("react").ForwardRefExoticComponent<Omit<QrCode.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
5
|
+
Root: import("react").ForwardRefExoticComponent<Omit<QrCode.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
RootProvider: import("react").ForwardRefExoticComponent<Omit<QrCode.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Frame: import("react").ForwardRefExoticComponent<Omit<QrCode.FrameProps & import("react").RefAttributes<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
Pattern: import("react").ForwardRefExoticComponent<Omit<QrCode.PatternProps & import("react").RefAttributes<SVGPathElement>, "ref"> & import("react").RefAttributes<SVGPathElement>>;
|
|
9
|
+
Overlay: import("react").ForwardRefExoticComponent<Omit<QrCode.OverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
DownloadTrigger: import("react").ForwardRefExoticComponent<Omit<QrCode.DownloadTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { QrCode$1 as QrCode };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
|
|
2
|
+
import QrCode_module_default from "./QrCode.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { clsx } from "clsx";
|
|
5
|
+
import { forwardRef } from "react";
|
|
6
|
+
import { QrCode } from "@ark-ui/react/qr-code";
|
|
7
|
+
//#region src/components/qr-code/QrCode.tsx
|
|
8
|
+
const QrCodeRoot = forwardRef(function QrCodeRoot({ className, ...props }, ref) {
|
|
9
|
+
return /* @__PURE__ */ jsx(QrCode.Root, {
|
|
10
|
+
ref,
|
|
11
|
+
"data-slot": "qr-code-root",
|
|
12
|
+
className: clsx(QrCode_module_default.root, normalizeClassName(className)),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
const QrCodeRootProvider = forwardRef(function QrCodeRootProvider({ className, ...props }, ref) {
|
|
17
|
+
return /* @__PURE__ */ jsx(QrCode.RootProvider, {
|
|
18
|
+
ref,
|
|
19
|
+
"data-slot": "qr-code-root-provider",
|
|
20
|
+
className: clsx(QrCode_module_default.root, normalizeClassName(className)),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
const QrCodeFrame = forwardRef(function QrCodeFrame({ className, ...props }, ref) {
|
|
25
|
+
return /* @__PURE__ */ jsx(QrCode.Frame, {
|
|
26
|
+
ref,
|
|
27
|
+
"data-slot": "qr-code-frame",
|
|
28
|
+
className: clsx(QrCode_module_default.frame, normalizeClassName(className)),
|
|
29
|
+
...props
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
const QrCodePattern = forwardRef(function QrCodePattern({ className, ...props }, ref) {
|
|
33
|
+
return /* @__PURE__ */ jsx(QrCode.Pattern, {
|
|
34
|
+
ref,
|
|
35
|
+
"data-slot": "qr-code-pattern",
|
|
36
|
+
className: clsx(QrCode_module_default.pattern, normalizeClassName(className)),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
const QrCodeOverlay = forwardRef(function QrCodeOverlay({ className, ...props }, ref) {
|
|
41
|
+
return /* @__PURE__ */ jsx(QrCode.Overlay, {
|
|
42
|
+
ref,
|
|
43
|
+
"data-slot": "qr-code-overlay",
|
|
44
|
+
className: clsx(QrCode_module_default.overlay, normalizeClassName(className)),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
const QrCodeDownloadTrigger = forwardRef(function QrCodeDownloadTrigger({ className, ...props }, ref) {
|
|
49
|
+
return /* @__PURE__ */ jsx(QrCode.DownloadTrigger, {
|
|
50
|
+
ref,
|
|
51
|
+
"data-slot": "qr-code-download-trigger",
|
|
52
|
+
className: clsx(QrCode_module_default.downloadTrigger, normalizeClassName(className)),
|
|
53
|
+
...props
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
const QrCode$1 = Object.assign(QrCodeRoot, {
|
|
57
|
+
Root: QrCodeRoot,
|
|
58
|
+
RootProvider: QrCodeRootProvider,
|
|
59
|
+
Frame: QrCodeFrame,
|
|
60
|
+
Pattern: QrCodePattern,
|
|
61
|
+
Overlay: QrCodeOverlay,
|
|
62
|
+
DownloadTrigger: QrCodeDownloadTrigger
|
|
63
|
+
});
|
|
64
|
+
//#endregion
|
|
65
|
+
export { QrCode$1 as QrCode };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './QrCode.css';
|
|
2
|
+
//#region src/components/qr-code/QrCode.module.css
|
|
3
|
+
var QrCode_module_default = {
|
|
4
|
+
"downloadTrigger": "B15lta_downloadTrigger",
|
|
5
|
+
"frame": "B15lta_frame",
|
|
6
|
+
"overlay": "B15lta_overlay",
|
|
7
|
+
"pattern": "B15lta_pattern",
|
|
8
|
+
"root": "B15lta_root"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { QrCode_module_default as default };
|