@moduix/solid 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/LICENSE.md +21 -0
- package/README.md +124 -0
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/dist/components/accordion/Accordion.d.ts +22 -0
- package/dist/components/accordion/Accordion.js +104 -0
- package/dist/components/accordion/Accordion.jsx +64 -0
- package/dist/components/accordion/Accordion.module.js +18 -0
- package/dist/components/accordion/Accordion.module.jsx +18 -0
- package/dist/components/accordion/Accordion_module.css +214 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/accordion/index.jsx +1 -0
- package/dist/components/alert/Alert.d.ts +20 -0
- package/dist/components/alert/Alert.js +101 -0
- package/dist/components/alert/Alert.jsx +51 -0
- package/dist/components/alert/Alert.module.js +10 -0
- package/dist/components/alert/Alert.module.jsx +10 -0
- package/dist/components/alert/Alert_module.css +100 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/alert/index.jsx +1 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +37 -0
- package/dist/components/angle-slider/AngleSlider.js +161 -0
- package/dist/components/angle-slider/AngleSlider.jsx +94 -0
- package/dist/components/angle-slider/AngleSlider.module.js +11 -0
- package/dist/components/angle-slider/AngleSlider.module.jsx +11 -0
- package/dist/components/angle-slider/AngleSlider_module.css +214 -0
- package/dist/components/angle-slider/index.d.ts +1 -0
- package/dist/components/angle-slider/index.js +1 -0
- package/dist/components/angle-slider/index.jsx +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +13 -0
- package/dist/components/aspect-ratio/AspectRatio.js +44 -0
- package/dist/components/aspect-ratio/AspectRatio.jsx +29 -0
- package/dist/components/aspect-ratio/AspectRatio.module.js +5 -0
- package/dist/components/aspect-ratio/AspectRatio.module.jsx +5 -0
- package/dist/components/aspect-ratio/AspectRatio_module.css +11 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/aspect-ratio/index.jsx +1 -0
- package/dist/components/avatar/Avatar.d.ts +21 -0
- package/dist/components/avatar/Avatar.js +70 -0
- package/dist/components/avatar/Avatar.jsx +41 -0
- package/dist/components/avatar/Avatar.module.js +7 -0
- package/dist/components/avatar/Avatar.module.jsx +7 -0
- package/dist/components/avatar/Avatar_module.css +78 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/avatar/index.jsx +1 -0
- package/dist/components/badge/Badge.d.ts +23 -0
- package/dist/components/badge/Badge.js +66 -0
- package/dist/components/badge/Badge.jsx +40 -0
- package/dist/components/badge/Badge.module.js +7 -0
- package/dist/components/badge/Badge.module.jsx +7 -0
- package/dist/components/badge/Badge_module.css +123 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/badge/index.jsx +1 -0
- package/dist/components/bleed/Bleed.d.ts +17 -0
- package/dist/components/bleed/Bleed.js +40 -0
- package/dist/components/bleed/Bleed.jsx +22 -0
- package/dist/components/bleed/Bleed.module.js +5 -0
- package/dist/components/bleed/Bleed.module.jsx +5 -0
- package/dist/components/bleed/Bleed_module.css +52 -0
- package/dist/components/bleed/index.d.ts +1 -0
- package/dist/components/bleed/index.js +1 -0
- package/dist/components/bleed/index.jsx +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +30 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +161 -0
- package/dist/components/breadcrumbs/Breadcrumbs.jsx +89 -0
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +12 -0
- package/dist/components/breadcrumbs/Breadcrumbs.module.jsx +12 -0
- package/dist/components/breadcrumbs/Breadcrumbs_module.css +103 -0
- package/dist/components/breadcrumbs/index.d.ts +1 -0
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/breadcrumbs/index.jsx +1 -0
- package/dist/components/button/Button.d.ts +16 -0
- package/dist/components/button/Button.js +88 -0
- package/dist/components/button/Button.jsx +39 -0
- package/dist/components/button/Button.module.js +5 -0
- package/dist/components/button/Button.module.jsx +5 -0
- package/dist/components/button/Button_module.css +219 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button/index.jsx +1 -0
- package/dist/components/card/Card.d.ts +28 -0
- package/dist/components/card/Card.js +197 -0
- package/dist/components/card/Card.jsx +89 -0
- package/dist/components/card/Card.module.js +14 -0
- package/dist/components/card/Card.module.jsx +14 -0
- package/dist/components/card/Card_module.css +203 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/card/index.jsx +1 -0
- package/dist/components/carousel/Carousel.d.ts +35 -0
- package/dist/components/carousel/Carousel.js +216 -0
- package/dist/components/carousel/Carousel.jsx +122 -0
- package/dist/components/carousel/Carousel.module.js +16 -0
- package/dist/components/carousel/Carousel.module.jsx +16 -0
- package/dist/components/carousel/Carousel_module.css +230 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/index.js +1 -0
- package/dist/components/carousel/index.jsx +1 -0
- package/dist/components/chart/Chart.d.ts +34 -0
- package/dist/components/chart/Chart.js +453 -0
- package/dist/components/chart/Chart.jsx +242 -0
- package/dist/components/chart/Chart.module.js +18 -0
- package/dist/components/chart/Chart.module.jsx +18 -0
- package/dist/components/chart/Chart_module.css +136 -0
- package/dist/components/chart/index.d.ts +1 -0
- package/dist/components/chart/index.js +1 -0
- package/dist/components/chart/index.jsx +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +26 -0
- package/dist/components/checkbox/Checkbox.js +148 -0
- package/dist/components/checkbox/Checkbox.jsx +77 -0
- package/dist/components/checkbox/Checkbox.module.js +10 -0
- package/dist/components/checkbox/Checkbox.module.jsx +10 -0
- package/dist/components/checkbox/Checkbox_module.css +145 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/checkbox/index.jsx +1 -0
- package/dist/components/clipboard/Clipboard.d.ts +26 -0
- package/dist/components/clipboard/Clipboard.js +146 -0
- package/dist/components/clipboard/Clipboard.jsx +86 -0
- package/dist/components/clipboard/Clipboard.module.js +12 -0
- package/dist/components/clipboard/Clipboard.module.jsx +12 -0
- package/dist/components/clipboard/Clipboard_module.css +168 -0
- package/dist/components/clipboard/index.d.ts +1 -0
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/clipboard/index.jsx +1 -0
- package/dist/components/close-button/CloseButton.d.ts +14 -0
- package/dist/components/close-button/CloseButton.js +88 -0
- package/dist/components/close-button/CloseButton.jsx +49 -0
- package/dist/components/close-button/CloseButton.module.js +5 -0
- package/dist/components/close-button/CloseButton.module.jsx +5 -0
- package/dist/components/close-button/CloseButton_module.css +55 -0
- package/dist/components/close-button/index.d.ts +1 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/close-button/index.jsx +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +19 -0
- package/dist/components/collapsible/Collapsible.js +93 -0
- package/dist/components/collapsible/Collapsible.jsx +57 -0
- package/dist/components/collapsible/Collapsible.module.js +13 -0
- package/dist/components/collapsible/Collapsible.module.jsx +13 -0
- package/dist/components/collapsible/Collapsible_module.css +158 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/collapsible/index.jsx +1 -0
- package/dist/components/color-picker/ColorPicker.d.ts +66 -0
- package/dist/components/color-picker/ColorPicker.js +542 -0
- package/dist/components/color-picker/ColorPicker.jsx +277 -0
- package/dist/components/color-picker/ColorPicker.module.js +36 -0
- package/dist/components/color-picker/ColorPicker.module.jsx +36 -0
- package/dist/components/color-picker/ColorPicker_module.css +581 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-picker/index.js +1 -0
- package/dist/components/color-picker/index.jsx +1 -0
- package/dist/components/combobox/Combobox.d.ts +50 -0
- package/dist/components/combobox/Combobox.js +354 -0
- package/dist/components/combobox/Combobox.jsx +188 -0
- package/dist/components/combobox/Combobox.module.js +24 -0
- package/dist/components/combobox/Combobox.module.jsx +24 -0
- package/dist/components/combobox/Combobox_module.css +335 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/combobox/index.jsx +1 -0
- package/dist/components/command-palette/CommandPalette.d.ts +72 -0
- package/dist/components/command-palette/CommandPalette.js +583 -0
- package/dist/components/command-palette/CommandPalette.jsx +326 -0
- package/dist/components/command-palette/CommandPalette.module.js +41 -0
- package/dist/components/command-palette/CommandPalette.module.jsx +41 -0
- package/dist/components/command-palette/CommandPalette_module.css +443 -0
- package/dist/components/command-palette/index.d.ts +1 -0
- package/dist/components/command-palette/index.js +1 -0
- package/dist/components/command-palette/index.jsx +1 -0
- package/dist/components/container/Container.d.ts +17 -0
- package/dist/components/container/Container.js +40 -0
- package/dist/components/container/Container.jsx +22 -0
- package/dist/components/container/Container.module.js +5 -0
- package/dist/components/container/Container.module.jsx +5 -0
- package/dist/components/container/Container_module.css +46 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/container/index.jsx +1 -0
- package/dist/components/date-input/DateInput.d.ts +25 -0
- package/dist/components/date-input/DateInput.js +137 -0
- package/dist/components/date-input/DateInput.jsx +77 -0
- package/dist/components/date-input/DateInput.module.js +10 -0
- package/dist/components/date-input/DateInput.module.jsx +10 -0
- package/dist/components/date-input/DateInput_module.css +109 -0
- package/dist/components/date-input/index.d.ts +1 -0
- package/dist/components/date-input/index.js +1 -0
- package/dist/components/date-input/index.jsx +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +98 -0
- package/dist/components/date-picker/DatePicker.js +696 -0
- package/dist/components/date-picker/DatePicker.jsx +361 -0
- package/dist/components/date-picker/DatePicker.module.js +29 -0
- package/dist/components/date-picker/DatePicker.module.jsx +29 -0
- package/dist/components/date-picker/DatePicker_module.css +445 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/index.jsx +1 -0
- package/dist/components/dialog/Dialog.d.ts +38 -0
- package/dist/components/dialog/Dialog.js +240 -0
- package/dist/components/dialog/Dialog.jsx +131 -0
- package/dist/components/dialog/Dialog.module.js +23 -0
- package/dist/components/dialog/Dialog.module.jsx +23 -0
- package/dist/components/dialog/Dialog_module.css +247 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/dialog/index.jsx +1 -0
- package/dist/components/drawer/Drawer.d.ts +54 -0
- package/dist/components/drawer/Drawer.js +333 -0
- package/dist/components/drawer/Drawer.jsx +179 -0
- package/dist/components/drawer/Drawer.module.js +40 -0
- package/dist/components/drawer/Drawer.module.jsx +40 -0
- package/dist/components/drawer/Drawer_module.css +557 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/drawer/index.jsx +1 -0
- package/dist/components/editable/Editable.d.ts +29 -0
- package/dist/components/editable/Editable.js +182 -0
- package/dist/components/editable/Editable.jsx +106 -0
- package/dist/components/editable/Editable.module.js +11 -0
- package/dist/components/editable/Editable.module.jsx +11 -0
- package/dist/components/editable/Editable_module.css +176 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +1 -0
- package/dist/components/editable/index.jsx +1 -0
- package/dist/components/empty/Empty.d.ts +16 -0
- package/dist/components/empty/Empty.js +122 -0
- package/dist/components/empty/Empty.jsx +55 -0
- package/dist/components/empty/Empty.module.js +10 -0
- package/dist/components/empty/Empty.module.jsx +10 -0
- package/dist/components/empty/Empty_module.css +91 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/empty/index.js +1 -0
- package/dist/components/empty/index.jsx +1 -0
- package/dist/components/field/Field.d.ts +37 -0
- package/dist/components/field/Field.js +237 -0
- package/dist/components/field/Field.jsx +135 -0
- package/dist/components/field/Field.module.js +12 -0
- package/dist/components/field/Field.module.jsx +12 -0
- package/dist/components/field/Field_module.css +102 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +1 -0
- package/dist/components/field/index.jsx +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +16 -0
- package/dist/components/fieldset/Fieldset.js +94 -0
- package/dist/components/fieldset/Fieldset.jsx +48 -0
- package/dist/components/fieldset/Fieldset.module.js +8 -0
- package/dist/components/fieldset/Fieldset.module.jsx +8 -0
- package/dist/components/fieldset/Fieldset_module.css +56 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/fieldset/index.jsx +1 -0
- package/dist/components/file-upload/FileUpload.d.ts +44 -0
- package/dist/components/file-upload/FileUpload.js +326 -0
- package/dist/components/file-upload/FileUpload.jsx +179 -0
- package/dist/components/file-upload/FileUpload.module.js +20 -0
- package/dist/components/file-upload/FileUpload.module.jsx +20 -0
- package/dist/components/file-upload/FileUpload_module.css +369 -0
- package/dist/components/file-upload/index.d.ts +1 -0
- package/dist/components/file-upload/index.js +1 -0
- package/dist/components/file-upload/index.jsx +1 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +53 -0
- package/dist/components/floating-panel/FloatingPanel.js +339 -0
- package/dist/components/floating-panel/FloatingPanel.jsx +187 -0
- package/dist/components/floating-panel/FloatingPanel.module.js +20 -0
- package/dist/components/floating-panel/FloatingPanel.module.jsx +20 -0
- package/dist/components/floating-panel/FloatingPanel_module.css +309 -0
- package/dist/components/floating-panel/index.d.ts +2 -0
- package/dist/components/floating-panel/index.js +1 -0
- package/dist/components/floating-panel/index.jsx +1 -0
- package/dist/components/heading/Heading.d.ts +19 -0
- package/dist/components/heading/Heading.js +53 -0
- package/dist/components/heading/Heading.jsx +33 -0
- package/dist/components/heading/Heading.module.js +5 -0
- package/dist/components/heading/Heading.module.jsx +5 -0
- package/dist/components/heading/Heading_module.css +59 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/heading/index.jsx +1 -0
- package/dist/components/highlight/Highlight.d.ts +12 -0
- package/dist/components/highlight/Highlight.js +25 -0
- package/dist/components/highlight/Highlight.jsx +17 -0
- package/dist/components/highlight/Highlight.module.js +5 -0
- package/dist/components/highlight/Highlight.module.jsx +5 -0
- package/dist/components/highlight/Highlight_module.css +16 -0
- package/dist/components/highlight/index.d.ts +1 -0
- package/dist/components/highlight/index.js +1 -0
- package/dist/components/highlight/index.jsx +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +27 -0
- package/dist/components/hover-card/HoverCard.js +165 -0
- package/dist/components/hover-card/HoverCard.jsx +90 -0
- package/dist/components/hover-card/HoverCard.module.js +14 -0
- package/dist/components/hover-card/HoverCard.module.jsx +14 -0
- package/dist/components/hover-card/HoverCard_module.css +143 -0
- package/dist/components/hover-card/index.d.ts +2 -0
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/hover-card/index.jsx +1 -0
- package/dist/components/image/Image.d.ts +14 -0
- package/dist/components/image/Image.js +54 -0
- package/dist/components/image/Image.jsx +34 -0
- package/dist/components/image/Image.module.js +5 -0
- package/dist/components/image/Image.module.jsx +5 -0
- package/dist/components/image/Image_module.css +8 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/image/index.jsx +1 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +27 -0
- package/dist/components/image-cropper/ImageCropper.js +132 -0
- package/dist/components/image-cropper/ImageCropper.jsx +73 -0
- package/dist/components/image-cropper/ImageCropper.module.js +10 -0
- package/dist/components/image-cropper/ImageCropper.module.jsx +10 -0
- package/dist/components/image-cropper/ImageCropper_module.css +162 -0
- package/dist/components/image-cropper/index.d.ts +1 -0
- package/dist/components/image-cropper/index.js +1 -0
- package/dist/components/image-cropper/index.jsx +1 -0
- package/dist/components/input/Input.d.ts +13 -0
- package/dist/components/input/Input.js +41 -0
- package/dist/components/input/Input.jsx +20 -0
- package/dist/components/input/Input.module.js +5 -0
- package/dist/components/input/Input.module.jsx +5 -0
- package/dist/components/input/Input_module.css +110 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/index.jsx +1 -0
- package/dist/components/input-group/InputGroup.d.ts +27 -0
- package/dist/components/input-group/InputGroup.js +134 -0
- package/dist/components/input-group/InputGroup.jsx +72 -0
- package/dist/components/input-group/InputGroup.module.js +9 -0
- package/dist/components/input-group/InputGroup.module.jsx +9 -0
- package/dist/components/input-group/InputGroup_module.css +162 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/input-group/index.jsx +1 -0
- package/dist/components/json-tree-view/JsonTreeView.d.ts +11 -0
- package/dist/components/json-tree-view/JsonTreeView.js +69 -0
- package/dist/components/json-tree-view/JsonTreeView.jsx +38 -0
- package/dist/components/json-tree-view/JsonTreeView.module.js +6 -0
- package/dist/components/json-tree-view/JsonTreeView.module.jsx +6 -0
- package/dist/components/json-tree-view/JsonTreeView_module.css +163 -0
- package/dist/components/json-tree-view/index.d.ts +1 -0
- package/dist/components/json-tree-view/index.js +1 -0
- package/dist/components/json-tree-view/index.jsx +1 -0
- package/dist/components/kbd/Kbd.d.ts +8 -0
- package/dist/components/kbd/Kbd.js +37 -0
- package/dist/components/kbd/Kbd.jsx +21 -0
- package/dist/components/kbd/Kbd.module.js +6 -0
- package/dist/components/kbd/Kbd.module.jsx +6 -0
- package/dist/components/kbd/Kbd_module.css +46 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/kbd/index.jsx +1 -0
- package/dist/components/lightbox/Lightbox.d.ts +60 -0
- package/dist/components/lightbox/Lightbox.js +352 -0
- package/dist/components/lightbox/Lightbox.jsx +219 -0
- package/dist/components/lightbox/Lightbox.module.js +24 -0
- package/dist/components/lightbox/Lightbox.module.jsx +24 -0
- package/dist/components/lightbox/Lightbox_module.css +259 -0
- package/dist/components/lightbox/index.d.ts +2 -0
- package/dist/components/lightbox/index.js +1 -0
- package/dist/components/lightbox/index.jsx +1 -0
- package/dist/components/list/List.d.ts +36 -0
- package/dist/components/list/List.js +136 -0
- package/dist/components/list/List.jsx +64 -0
- package/dist/components/list/List.module.js +5 -0
- package/dist/components/list/List.module.jsx +5 -0
- package/dist/components/list/List_module.css +118 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +1 -0
- package/dist/components/list/index.jsx +1 -0
- package/dist/components/listbox/Listbox.d.ts +46 -0
- package/dist/components/listbox/Listbox.js +252 -0
- package/dist/components/listbox/Listbox.jsx +148 -0
- package/dist/components/listbox/Listbox.module.js +21 -0
- package/dist/components/listbox/Listbox.module.jsx +21 -0
- package/dist/components/listbox/Listbox_module.css +313 -0
- package/dist/components/listbox/index.d.ts +1 -0
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/listbox/index.jsx +1 -0
- package/dist/components/marquee/Marquee.d.ts +18 -0
- package/dist/components/marquee/Marquee.js +81 -0
- package/dist/components/marquee/Marquee.jsx +50 -0
- package/dist/components/marquee/Marquee.module.js +13 -0
- package/dist/components/marquee/Marquee.module.jsx +13 -0
- package/dist/components/marquee/Marquee_module.css +109 -0
- package/dist/components/marquee/index.d.ts +1 -0
- package/dist/components/marquee/index.js +1 -0
- package/dist/components/marquee/index.jsx +1 -0
- package/dist/components/menu/Menu.d.ts +74 -0
- package/dist/components/menu/Menu.js +465 -0
- package/dist/components/menu/Menu.jsx +248 -0
- package/dist/components/menu/Menu.module.js +32 -0
- package/dist/components/menu/Menu.module.jsx +32 -0
- package/dist/components/menu/Menu_module.css +396 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/menu/index.jsx +1 -0
- package/dist/components/native-select/NativeSelect.d.ts +11 -0
- package/dist/components/native-select/NativeSelect.js +49 -0
- package/dist/components/native-select/NativeSelect.jsx +24 -0
- package/dist/components/native-select/NativeSelect.module.js +7 -0
- package/dist/components/native-select/NativeSelect.module.jsx +7 -0
- package/dist/components/native-select/NativeSelect_module.css +115 -0
- package/dist/components/native-select/index.d.ts +1 -0
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/native-select/index.jsx +1 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts +31 -0
- package/dist/components/navigation-menu/NavigationMenu.js +161 -0
- package/dist/components/navigation-menu/NavigationMenu.jsx +94 -0
- package/dist/components/navigation-menu/NavigationMenu.module.js +35 -0
- package/dist/components/navigation-menu/NavigationMenu.module.jsx +35 -0
- package/dist/components/navigation-menu/NavigationMenu_module.css +452 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/index.js +1 -0
- package/dist/components/navigation-menu/index.jsx +1 -0
- package/dist/components/number-input/NumberInput.d.ts +27 -0
- package/dist/components/number-input/NumberInput.js +168 -0
- package/dist/components/number-input/NumberInput.jsx +98 -0
- package/dist/components/number-input/NumberInput.module.js +12 -0
- package/dist/components/number-input/NumberInput.module.jsx +12 -0
- package/dist/components/number-input/NumberInput_module.css +161 -0
- package/dist/components/number-input/index.d.ts +1 -0
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/number-input/index.jsx +1 -0
- package/dist/components/pagination/Pagination.d.ts +28 -0
- package/dist/components/pagination/Pagination.js +220 -0
- package/dist/components/pagination/Pagination.jsx +116 -0
- package/dist/components/pagination/Pagination.module.js +10 -0
- package/dist/components/pagination/Pagination.module.jsx +10 -0
- package/dist/components/pagination/Pagination_module.css +105 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/index.jsx +1 -0
- package/dist/components/password-input/PasswordInput.d.ts +26 -0
- package/dist/components/password-input/PasswordInput.js +136 -0
- package/dist/components/password-input/PasswordInput.jsx +84 -0
- package/dist/components/password-input/PasswordInput.module.js +10 -0
- package/dist/components/password-input/PasswordInput.module.jsx +10 -0
- package/dist/components/password-input/PasswordInput_module.css +150 -0
- package/dist/components/password-input/index.d.ts +1 -0
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/password-input/index.jsx +1 -0
- package/dist/components/pin-input/PinInput.d.ts +24 -0
- package/dist/components/pin-input/PinInput.js +145 -0
- package/dist/components/pin-input/PinInput.jsx +81 -0
- package/dist/components/pin-input/PinInput.module.js +9 -0
- package/dist/components/pin-input/PinInput.module.jsx +9 -0
- package/dist/components/pin-input/PinInput_module.css +97 -0
- package/dist/components/pin-input/index.d.ts +1 -0
- package/dist/components/pin-input/index.js +1 -0
- package/dist/components/pin-input/index.jsx +1 -0
- package/dist/components/popover/Popover.d.ts +46 -0
- package/dist/components/popover/Popover.js +289 -0
- package/dist/components/popover/Popover.jsx +156 -0
- package/dist/components/popover/Popover.module.js +20 -0
- package/dist/components/popover/Popover.module.jsx +20 -0
- package/dist/components/popover/Popover_module.css +196 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/popover/index.jsx +1 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +28 -0
- package/dist/components/progress-circular/ProgressCircular.js +165 -0
- package/dist/components/progress-circular/ProgressCircular.jsx +90 -0
- package/dist/components/progress-circular/ProgressCircular.module.js +11 -0
- package/dist/components/progress-circular/ProgressCircular.module.jsx +11 -0
- package/dist/components/progress-circular/ProgressCircular_module.css +76 -0
- package/dist/components/progress-circular/index.d.ts +1 -0
- package/dist/components/progress-circular/index.js +1 -0
- package/dist/components/progress-circular/index.jsx +1 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +23 -0
- package/dist/components/progress-linear/ProgressLinear.js +95 -0
- package/dist/components/progress-linear/ProgressLinear.jsx +59 -0
- package/dist/components/progress-linear/ProgressLinear.module.js +10 -0
- package/dist/components/progress-linear/ProgressLinear.module.jsx +10 -0
- package/dist/components/progress-linear/ProgressLinear_module.css +100 -0
- package/dist/components/progress-linear/index.d.ts +1 -0
- package/dist/components/progress-linear/index.js +1 -0
- package/dist/components/progress-linear/index.jsx +1 -0
- package/dist/components/qr-code/QrCode.d.ts +19 -0
- package/dist/components/qr-code/QrCode.js +130 -0
- package/dist/components/qr-code/QrCode.jsx +71 -0
- package/dist/components/qr-code/QrCode.module.js +9 -0
- package/dist/components/qr-code/QrCode.module.jsx +9 -0
- package/dist/components/qr-code/QrCode_module.css +119 -0
- package/dist/components/qr-code/index.d.ts +1 -0
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/qr-code/index.jsx +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +33 -0
- package/dist/components/radio-group/RadioGroup.js +142 -0
- package/dist/components/radio-group/RadioGroup.jsx +78 -0
- package/dist/components/radio-group/RadioGroup.module.js +10 -0
- package/dist/components/radio-group/RadioGroup.module.jsx +10 -0
- package/dist/components/radio-group/RadioGroup_module.css +156 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/radio-group/index.jsx +1 -0
- package/dist/components/rating-group/RatingGroup.d.ts +33 -0
- package/dist/components/rating-group/RatingGroup.js +153 -0
- package/dist/components/rating-group/RatingGroup.jsx +81 -0
- package/dist/components/rating-group/RatingGroup.module.js +11 -0
- package/dist/components/rating-group/RatingGroup.module.jsx +11 -0
- package/dist/components/rating-group/RatingGroup_module.css +139 -0
- package/dist/components/rating-group/index.d.ts +2 -0
- package/dist/components/rating-group/index.js +1 -0
- package/dist/components/rating-group/index.jsx +1 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +30 -0
- package/dist/components/scroll-area/ScrollArea.js +110 -0
- package/dist/components/scroll-area/ScrollArea.jsx +62 -0
- package/dist/components/scroll-area/ScrollArea.module.js +10 -0
- package/dist/components/scroll-area/ScrollArea.module.jsx +10 -0
- package/dist/components/scroll-area/ScrollArea_module.css +191 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/scroll-area/index.jsx +1 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +33 -0
- package/dist/components/segment-group/SegmentGroup.js +206 -0
- package/dist/components/segment-group/SegmentGroup.jsx +127 -0
- package/dist/components/segment-group/SegmentGroup.module.js +10 -0
- package/dist/components/segment-group/SegmentGroup.module.jsx +10 -0
- package/dist/components/segment-group/SegmentGroup_module.css +127 -0
- package/dist/components/segment-group/index.d.ts +1 -0
- package/dist/components/segment-group/index.js +1 -0
- package/dist/components/segment-group/index.jsx +1 -0
- package/dist/components/select/Select.d.ts +59 -0
- package/dist/components/select/Select.js +392 -0
- package/dist/components/select/Select.jsx +210 -0
- package/dist/components/select/Select.module.js +26 -0
- package/dist/components/select/Select.module.jsx +26 -0
- package/dist/components/select/Select_module.css +362 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/index.jsx +1 -0
- package/dist/components/separator/Separator.d.ts +17 -0
- package/dist/components/separator/Separator.js +55 -0
- package/dist/components/separator/Separator.jsx +28 -0
- package/dist/components/separator/Separator.module.js +5 -0
- package/dist/components/separator/Separator.module.jsx +5 -0
- package/dist/components/separator/Separator_module.css +47 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/separator/index.jsx +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +82 -0
- package/dist/components/sidebar/Sidebar.js +591 -0
- package/dist/components/sidebar/Sidebar.jsx +309 -0
- package/dist/components/sidebar/Sidebar.module.js +26 -0
- package/dist/components/sidebar/Sidebar.module.jsx +26 -0
- package/dist/components/sidebar/Sidebar_module.css +437 -0
- package/dist/components/sidebar/index.d.ts +1 -0
- package/dist/components/sidebar/index.js +1 -0
- package/dist/components/sidebar/index.jsx +1 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +30 -0
- package/dist/components/signature-pad/SignaturePad.js +206 -0
- package/dist/components/signature-pad/SignaturePad.jsx +118 -0
- package/dist/components/signature-pad/SignaturePad.module.js +10 -0
- package/dist/components/signature-pad/SignaturePad.module.jsx +10 -0
- package/dist/components/signature-pad/SignaturePad_module.css +88 -0
- package/dist/components/signature-pad/index.d.ts +1 -0
- package/dist/components/signature-pad/index.js +1 -0
- package/dist/components/signature-pad/index.jsx +1 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +17 -0
- package/dist/components/simple-grid/SimpleGrid.js +65 -0
- package/dist/components/simple-grid/SimpleGrid.jsx +50 -0
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/simple-grid/index.jsx +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +15 -0
- package/dist/components/skeleton/Skeleton.js +75 -0
- package/dist/components/skeleton/Skeleton.jsx +48 -0
- package/dist/components/skeleton/Skeleton.module.js +5 -0
- package/dist/components/skeleton/Skeleton.module.jsx +5 -0
- package/dist/components/skeleton/Skeleton_module.css +35 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skeleton/index.jsx +1 -0
- package/dist/components/slider/Slider.d.ts +36 -0
- package/dist/components/slider/Slider.js +203 -0
- package/dist/components/slider/Slider.jsx +110 -0
- package/dist/components/slider/Slider.module.js +14 -0
- package/dist/components/slider/Slider.module.jsx +14 -0
- package/dist/components/slider/Slider_module.css +226 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/slider/index.jsx +1 -0
- package/dist/components/spinner/Spinner.d.ts +10 -0
- package/dist/components/spinner/Spinner.js +60 -0
- package/dist/components/spinner/Spinner.jsx +26 -0
- package/dist/components/spinner/Spinner.module.js +7 -0
- package/dist/components/spinner/Spinner.module.jsx +7 -0
- package/dist/components/spinner/Spinner_module.css +59 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/index.jsx +1 -0
- package/dist/components/split-button/SplitButton.d.ts +41 -0
- package/dist/components/split-button/SplitButton.js +168 -0
- package/dist/components/split-button/SplitButton.jsx +88 -0
- package/dist/components/split-button/SplitButton.module.js +7 -0
- package/dist/components/split-button/SplitButton.module.jsx +7 -0
- package/dist/components/split-button/SplitButton_module.css +52 -0
- package/dist/components/split-button/index.d.ts +1 -0
- package/dist/components/split-button/index.js +1 -0
- package/dist/components/split-button/index.jsx +1 -0
- package/dist/components/splitter/Splitter.d.ts +18 -0
- package/dist/components/splitter/Splitter.js +105 -0
- package/dist/components/splitter/Splitter.jsx +62 -0
- package/dist/components/splitter/Splitter.module.js +8 -0
- package/dist/components/splitter/Splitter.module.jsx +8 -0
- package/dist/components/splitter/Splitter_module.css +173 -0
- package/dist/components/splitter/index.d.ts +1 -0
- package/dist/components/splitter/index.js +1 -0
- package/dist/components/splitter/index.jsx +1 -0
- package/dist/components/stack/Stack.d.ts +19 -0
- package/dist/components/stack/Stack.js +61 -0
- package/dist/components/stack/Stack.jsx +46 -0
- package/dist/components/stack/Stack.module.js +5 -0
- package/dist/components/stack/Stack.module.jsx +5 -0
- package/dist/components/stack/Stack_module.css +14 -0
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/index.js +1 -0
- package/dist/components/stack/index.jsx +1 -0
- package/dist/components/steps/Steps.d.ts +35 -0
- package/dist/components/steps/Steps.js +163 -0
- package/dist/components/steps/Steps.jsx +100 -0
- package/dist/components/steps/Steps.module.js +15 -0
- package/dist/components/steps/Steps.module.jsx +15 -0
- package/dist/components/steps/Steps_module.css +305 -0
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/steps/index.js +1 -0
- package/dist/components/steps/index.jsx +1 -0
- package/dist/components/swap/Swap.d.ts +20 -0
- package/dist/components/swap/Swap.js +53 -0
- package/dist/components/swap/Swap.jsx +31 -0
- package/dist/components/swap/Swap.module.js +22 -0
- package/dist/components/swap/Swap.module.jsx +22 -0
- package/dist/components/swap/Swap_module.css +118 -0
- package/dist/components/swap/index.d.ts +1 -0
- package/dist/components/swap/index.js +1 -0
- package/dist/components/swap/index.jsx +1 -0
- package/dist/components/switch/Switch.d.ts +25 -0
- package/dist/components/switch/Switch.js +102 -0
- package/dist/components/switch/Switch.jsx +58 -0
- package/dist/components/switch/Switch.module.js +8 -0
- package/dist/components/switch/Switch.module.jsx +8 -0
- package/dist/components/switch/Switch_module.css +150 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/switch/index.jsx +1 -0
- package/dist/components/table/Table.d.ts +71 -0
- package/dist/components/table/Table.js +342 -0
- package/dist/components/table/Table.jsx +166 -0
- package/dist/components/table/Table.module.js +15 -0
- package/dist/components/table/Table.module.jsx +15 -0
- package/dist/components/table/Table_module.css +169 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/index.jsx +1 -0
- package/dist/components/tabs/Tabs.d.ts +25 -0
- package/dist/components/tabs/Tabs.js +99 -0
- package/dist/components/tabs/Tabs.jsx +56 -0
- package/dist/components/tabs/Tabs.module.js +9 -0
- package/dist/components/tabs/Tabs.module.jsx +9 -0
- package/dist/components/tabs/Tabs_module.css +186 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/index.jsx +1 -0
- package/dist/components/tag/Tag.d.ts +24 -0
- package/dist/components/tag/Tag.js +126 -0
- package/dist/components/tag/Tag.jsx +57 -0
- package/dist/components/tag/Tag.module.js +9 -0
- package/dist/components/tag/Tag.module.jsx +9 -0
- package/dist/components/tag/Tag_module.css +101 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/index.jsx +1 -0
- package/dist/components/tags-input/TagsInput.d.ts +32 -0
- package/dist/components/tags-input/TagsInput.js +242 -0
- package/dist/components/tags-input/TagsInput.jsx +129 -0
- package/dist/components/tags-input/TagsInput.module.js +14 -0
- package/dist/components/tags-input/TagsInput.module.jsx +14 -0
- package/dist/components/tags-input/TagsInput_module.css +222 -0
- package/dist/components/tags-input/index.d.ts +1 -0
- package/dist/components/tags-input/index.js +1 -0
- package/dist/components/tags-input/index.jsx +1 -0
- package/dist/components/text/Text.d.ts +30 -0
- package/dist/components/text/Text.js +89 -0
- package/dist/components/text/Text.jsx +54 -0
- package/dist/components/text/Text.module.js +5 -0
- package/dist/components/text/Text.module.jsx +5 -0
- package/dist/components/text/Text_module.css +101 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/text/index.jsx +1 -0
- package/dist/components/textarea/Textarea.d.ts +9 -0
- package/dist/components/textarea/Textarea.js +46 -0
- package/dist/components/textarea/Textarea.jsx +27 -0
- package/dist/components/textarea/Textarea.module.js +5 -0
- package/dist/components/textarea/Textarea.module.jsx +5 -0
- package/dist/components/textarea/Textarea_module.css +58 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/textarea/index.jsx +1 -0
- package/dist/components/timer/Timer.d.ts +26 -0
- package/dist/components/timer/Timer.js +127 -0
- package/dist/components/timer/Timer.jsx +78 -0
- package/dist/components/timer/Timer.module.js +10 -0
- package/dist/components/timer/Timer.module.jsx +10 -0
- package/dist/components/timer/Timer_module.css +102 -0
- package/dist/components/timer/index.d.ts +2 -0
- package/dist/components/timer/index.js +1 -0
- package/dist/components/timer/index.jsx +1 -0
- package/dist/components/toast/Toast.d.ts +22 -0
- package/dist/components/toast/Toast.js +185 -0
- package/dist/components/toast/Toast.jsx +95 -0
- package/dist/components/toast/Toast.module.js +10 -0
- package/dist/components/toast/Toast.module.jsx +10 -0
- package/dist/components/toast/Toast_module.css +164 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/index.jsx +1 -0
- package/dist/components/toc/Toc.d.ts +34 -0
- package/dist/components/toc/Toc.js +221 -0
- package/dist/components/toc/Toc.jsx +130 -0
- package/dist/components/toc/Toc.module.js +13 -0
- package/dist/components/toc/Toc.module.jsx +13 -0
- package/dist/components/toc/Toc_module.css +184 -0
- package/dist/components/toc/index.d.ts +1 -0
- package/dist/components/toc/index.js +1 -0
- package/dist/components/toc/index.jsx +1 -0
- package/dist/components/toggle/Toggle.d.ts +17 -0
- package/dist/components/toggle/Toggle.js +51 -0
- package/dist/components/toggle/Toggle.jsx +26 -0
- package/dist/components/toggle/Toggle.module.js +6 -0
- package/dist/components/toggle/Toggle.module.jsx +6 -0
- package/dist/components/toggle/Toggle_module.css +169 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle/index.jsx +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +26 -0
- package/dist/components/toggle-group/ToggleGroup.js +125 -0
- package/dist/components/toggle-group/ToggleGroup.jsx +70 -0
- package/dist/components/toggle-group/ToggleGroup.module.js +6 -0
- package/dist/components/toggle-group/ToggleGroup.module.jsx +6 -0
- package/dist/components/toggle-group/ToggleGroup_module.css +49 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/toggle-group/index.jsx +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +29 -0
- package/dist/components/tooltip/Tooltip.js +193 -0
- package/dist/components/tooltip/Tooltip.jsx +109 -0
- package/dist/components/tooltip/Tooltip.module.js +14 -0
- package/dist/components/tooltip/Tooltip.module.jsx +14 -0
- package/dist/components/tooltip/Tooltip_module.css +156 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/index.jsx +1 -0
- package/dist/components/tour/Tour.d.ts +46 -0
- package/dist/components/tour/Tour.js +275 -0
- package/dist/components/tour/Tour.jsx +156 -0
- package/dist/components/tour/Tour.module.js +26 -0
- package/dist/components/tour/Tour.module.jsx +26 -0
- package/dist/components/tour/Tour_module.css +373 -0
- package/dist/components/tour/index.d.ts +2 -0
- package/dist/components/tour/index.js +1 -0
- package/dist/components/tour/index.jsx +1 -0
- package/dist/components/tree-view/TreeView.d.ts +58 -0
- package/dist/components/tree-view/TreeView.js +297 -0
- package/dist/components/tree-view/TreeView.jsx +174 -0
- package/dist/components/tree-view/TreeView.module.js +28 -0
- package/dist/components/tree-view/TreeView.module.jsx +28 -0
- package/dist/components/tree-view/TreeView_module.css +310 -0
- package/dist/components/tree-view/index.d.ts +1 -0
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/tree-view/index.jsx +1 -0
- package/dist/components/typeset/Typeset.d.ts +15 -0
- package/dist/components/typeset/Typeset.js +68 -0
- package/dist/components/typeset/Typeset.jsx +33 -0
- package/dist/components/typeset/Typeset.module.js +6 -0
- package/dist/components/typeset/Typeset.module.jsx +6 -0
- package/dist/components/typeset/Typeset_module.css +466 -0
- package/dist/components/typeset/index.d.ts +1 -0
- package/dist/components/typeset/index.js +1 -0
- package/dist/components/typeset/index.jsx +1 -0
- package/dist/internal/icons/ui/Icons.d.ts +37 -0
- package/dist/internal/icons/ui/Icons.js +115 -0
- package/dist/internal/icons/ui/Icons.jsx +93 -0
- package/dist/internal/overlayPortal.d.ts +13 -0
- package/dist/internal/overlayPortal.js +39 -0
- package/dist/internal/overlayPortal.jsx +19 -0
- package/dist/locale.d.ts +1 -0
- package/dist/locale.js +1 -0
- package/dist/locale.jsx +1 -0
- package/dist/presets/contrast.css +65 -0
- package/dist/presets/dense.css +78 -0
- package/dist/presets/soft.css +77 -0
- package/dist/styles/animations.css +371 -0
- package/dist/styles/borders.css +10 -0
- package/dist/styles/colors.css +122 -0
- package/dist/styles/opacity.css +5 -0
- package/dist/styles/radius.css +11 -0
- package/dist/styles/reset.css +367 -0
- package/dist/styles/shadows.css +5 -0
- package/dist/styles/sizing.css +11 -0
- package/dist/styles/spacing.css +26 -0
- package/dist/styles/style.css +180 -0
- package/dist/styles/transforms.css +4 -0
- package/dist/styles/transitions.css +32 -0
- package/dist/styles/typography.css +37 -0
- package/dist/styles/z-index.css +13 -0
- package/package.json +637 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { NumberInput, useNumberInput, useNumberInputContext } from "@ark-ui/solid/number-input";
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { children, splitProps } from "solid-js";
|
|
4
|
+
import { MinusIcon, PlusIcon } from "../../internal/icons/ui/Icons.jsx";
|
|
5
|
+
import NumberInput_module from "./NumberInput.module.jsx";
|
|
6
|
+
function NumberInputRoot(props) {
|
|
7
|
+
const [local, others] = splitProps(props, [
|
|
8
|
+
'asChild',
|
|
9
|
+
'children',
|
|
10
|
+
'class',
|
|
11
|
+
'value'
|
|
12
|
+
]);
|
|
13
|
+
return <NumberInput.Root asChild={local.asChild} value={local.value} data-slot="number-input-root" class={clsx(NumberInput_module.root, local.class)} {...others}>
|
|
14
|
+
{local.children}
|
|
15
|
+
</NumberInput.Root>;
|
|
16
|
+
}
|
|
17
|
+
function NumberInputRootProvider(props) {
|
|
18
|
+
const [local, others] = splitProps(props, [
|
|
19
|
+
'asChild',
|
|
20
|
+
'children',
|
|
21
|
+
'class',
|
|
22
|
+
'value'
|
|
23
|
+
]);
|
|
24
|
+
return <NumberInput.RootProvider asChild={local.asChild} value={local.value} data-slot="number-input-root-provider" class={clsx(NumberInput_module.root, local.class)} {...others}>
|
|
25
|
+
{local.children}
|
|
26
|
+
</NumberInput.RootProvider>;
|
|
27
|
+
}
|
|
28
|
+
function NumberInputLabel(props) {
|
|
29
|
+
const [local, others] = splitProps(props, [
|
|
30
|
+
'class'
|
|
31
|
+
]);
|
|
32
|
+
return <NumberInput.Label data-slot="number-input-label" class={clsx(NumberInput_module.label, local.class)} {...others}/>;
|
|
33
|
+
}
|
|
34
|
+
function NumberInputScrubber(props) {
|
|
35
|
+
const [local, others] = splitProps(props, [
|
|
36
|
+
'class'
|
|
37
|
+
]);
|
|
38
|
+
return <NumberInput.Scrubber data-slot="number-input-scrubber" class={clsx(NumberInput_module.scrubber, local.class)} {...others}/>;
|
|
39
|
+
}
|
|
40
|
+
function NumberInputControl(props) {
|
|
41
|
+
const [local, others] = splitProps(props, [
|
|
42
|
+
'class'
|
|
43
|
+
]);
|
|
44
|
+
return <NumberInput.Control data-slot="number-input-control" class={clsx(NumberInput_module.control, local.class)} {...others}/>;
|
|
45
|
+
}
|
|
46
|
+
function NumberInputDecrementTrigger(props) {
|
|
47
|
+
const [local, others] = splitProps(props, [
|
|
48
|
+
'children',
|
|
49
|
+
'class'
|
|
50
|
+
]);
|
|
51
|
+
const resolvedChildren = children(()=>local.children);
|
|
52
|
+
return <NumberInput.DecrementTrigger data-slot="number-input-decrement-trigger" class={clsx(NumberInput_module.decrementTrigger, local.class)} {...others}>
|
|
53
|
+
{resolvedChildren() ?? <MinusIcon/>}
|
|
54
|
+
</NumberInput.DecrementTrigger>;
|
|
55
|
+
}
|
|
56
|
+
function NumberInputInput(props) {
|
|
57
|
+
const [local, others] = splitProps(props, [
|
|
58
|
+
'class'
|
|
59
|
+
]);
|
|
60
|
+
return <NumberInput.Input data-slot="number-input-input" class={clsx(NumberInput_module.input, local.class)} {...others}/>;
|
|
61
|
+
}
|
|
62
|
+
function NumberInputIncrementTrigger(props) {
|
|
63
|
+
const [local, others] = splitProps(props, [
|
|
64
|
+
'children',
|
|
65
|
+
'class'
|
|
66
|
+
]);
|
|
67
|
+
const resolvedChildren = children(()=>local.children);
|
|
68
|
+
return <NumberInput.IncrementTrigger data-slot="number-input-increment-trigger" class={clsx(NumberInput_module.incrementTrigger, local.class)} {...others}>
|
|
69
|
+
{resolvedChildren() ?? <PlusIcon/>}
|
|
70
|
+
</NumberInput.IncrementTrigger>;
|
|
71
|
+
}
|
|
72
|
+
function NumberInputValueText(props) {
|
|
73
|
+
const [local, others] = splitProps(props, [
|
|
74
|
+
'class'
|
|
75
|
+
]);
|
|
76
|
+
return <NumberInput.ValueText data-slot="number-input-value-text" class={clsx(NumberInput_module.valueText, local.class)} {...others}/>;
|
|
77
|
+
}
|
|
78
|
+
function NumberInputField(props) {
|
|
79
|
+
return <NumberInputControl {...props}>
|
|
80
|
+
<NumberInputDecrementTrigger/>
|
|
81
|
+
<NumberInputInput/>
|
|
82
|
+
<NumberInputIncrementTrigger/>
|
|
83
|
+
</NumberInputControl>;
|
|
84
|
+
}
|
|
85
|
+
const NumberInput_NumberInput = Object.assign(NumberInputRoot, {
|
|
86
|
+
Root: NumberInputRoot,
|
|
87
|
+
RootProvider: NumberInputRootProvider,
|
|
88
|
+
Context: NumberInput.Context,
|
|
89
|
+
Label: NumberInputLabel,
|
|
90
|
+
Scrubber: NumberInputScrubber,
|
|
91
|
+
Control: NumberInputControl,
|
|
92
|
+
Field: NumberInputField,
|
|
93
|
+
DecrementTrigger: NumberInputDecrementTrigger,
|
|
94
|
+
Input: NumberInputInput,
|
|
95
|
+
IncrementTrigger: NumberInputIncrementTrigger,
|
|
96
|
+
ValueText: NumberInputValueText
|
|
97
|
+
});
|
|
98
|
+
export { NumberInput_NumberInput as NumberInput, useNumberInput, useNumberInputContext };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./NumberInput_module.css";
|
|
2
|
+
const NumberInput_module = {
|
|
3
|
+
root: "root-J5l339",
|
|
4
|
+
label: "label-V0iygT",
|
|
5
|
+
scrubber: "scrubber-ZbVoIs",
|
|
6
|
+
control: "control-IKvJFM",
|
|
7
|
+
decrementTrigger: "decrementTrigger-gr_J6_",
|
|
8
|
+
incrementTrigger: "incrementTrigger-AZRSzr",
|
|
9
|
+
input: "input-MggWIT",
|
|
10
|
+
valueText: "valueText-lP90vp"
|
|
11
|
+
};
|
|
12
|
+
export default NumberInput_module;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./NumberInput_module.css";
|
|
2
|
+
const NumberInput_module = {
|
|
3
|
+
root: "root-J5l339",
|
|
4
|
+
label: "label-V0iygT",
|
|
5
|
+
scrubber: "scrubber-ZbVoIs",
|
|
6
|
+
control: "control-IKvJFM",
|
|
7
|
+
decrementTrigger: "decrementTrigger-gr_J6_",
|
|
8
|
+
incrementTrigger: "incrementTrigger-AZRSzr",
|
|
9
|
+
input: "input-MggWIT",
|
|
10
|
+
valueText: "valueText-lP90vp"
|
|
11
|
+
};
|
|
12
|
+
export default NumberInput_module;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@layer moduix.components {
|
|
2
|
+
.root-J5l339 {
|
|
3
|
+
align-items: flex-start;
|
|
4
|
+
gap: var(--moduix-number-input-gap, var(--moduix-spacing-1));
|
|
5
|
+
width: var(--moduix-number-input-width, auto);
|
|
6
|
+
max-width: var(--moduix-number-input-max-width, none);
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.root-J5l339[data-disabled] {
|
|
12
|
+
opacity: var(--moduix-number-input-disabled-opacity, var(--moduix-opacity-disabled));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.label-V0iygT {
|
|
16
|
+
color: var(--moduix-number-input-label-color, var(--moduix-color-foreground));
|
|
17
|
+
font-size: var(--moduix-number-input-label-font-size, var(--moduix-text-sm));
|
|
18
|
+
line-height: var(--moduix-number-input-label-line-height, var(--moduix-line-height-text-sm));
|
|
19
|
+
font-weight: var(--moduix-number-input-label-font-weight, var(--moduix-weight-medium));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.scrubber-ZbVoIs {
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: var(--moduix-number-input-scrubber-gap, var(--moduix-spacing-2));
|
|
25
|
+
color: var(--moduix-number-input-scrubber-color, var(--moduix-color-foreground));
|
|
26
|
+
-webkit-user-select: none;
|
|
27
|
+
user-select: none;
|
|
28
|
+
cursor: ew-resize;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.scrubber-ZbVoIs[data-disabled] {
|
|
33
|
+
cursor: default;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.control-IKvJFM {
|
|
37
|
+
align-items: stretch;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr {
|
|
42
|
+
--_number-input-focus-ring-width: var(--moduix-number-input-focus-ring-width, var(--moduix-number-input-border-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))));
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
width: var(--moduix-number-input-control-height, var(--moduix-size-md));
|
|
45
|
+
min-width: var(--moduix-number-input-control-height, var(--moduix-size-md));
|
|
46
|
+
height: var(--moduix-number-input-control-height, var(--moduix-size-md));
|
|
47
|
+
border: var(--moduix-number-input-border-width, var(--moduix-border-width-sm))
|
|
48
|
+
var(--moduix-number-input-border-style, solid)
|
|
49
|
+
var(--moduix-number-input-border-color, var(--moduix-color-border));
|
|
50
|
+
background-color: var(--moduix-number-input-button-bg, var(--moduix-color-background));
|
|
51
|
+
color: var(--moduix-number-input-button-color, var(--moduix-color-foreground));
|
|
52
|
+
-webkit-user-select: none;
|
|
53
|
+
user-select: none;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
transition: background-color var(--moduix-transition-default),
|
|
56
|
+
border-color var(--moduix-transition-default),
|
|
57
|
+
color var(--moduix-transition-default),
|
|
58
|
+
opacity var(--moduix-transition-default);
|
|
59
|
+
outline: 0;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
display: inline-flex;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (hover: hover) {
|
|
68
|
+
:is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr):hover {
|
|
69
|
+
background-color: var(--moduix-number-input-button-bg-hover, var(--moduix-color-accent));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr):active {
|
|
74
|
+
background-color: var(--moduix-number-input-button-bg-active, var(--moduix-number-input-button-bg-hover, var(--moduix-color-accent)));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr):focus-visible, :is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr)[data-focus] {
|
|
78
|
+
outline: var(--_number-input-focus-ring-width) solid
|
|
79
|
+
var(--moduix-number-input-focus-ring-color, var(--moduix-color-ring));
|
|
80
|
+
outline-offset: calc(var(--_number-input-focus-ring-width) * -1);
|
|
81
|
+
z-index: 1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr):is([data-disabled], :disabled) {
|
|
85
|
+
pointer-events: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr)[data-invalid], .root-J5l339[data-invalid] :is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr) {
|
|
89
|
+
border-color: var(--moduix-number-input-border-color-invalid, var(--moduix-color-destructive));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:is(.decrementTrigger-gr_J6_, .incrementTrigger-AZRSzr) > svg {
|
|
93
|
+
width: var(--moduix-number-input-icon-size, var(--moduix-spacing-3-5));
|
|
94
|
+
height: var(--moduix-number-input-icon-size, var(--moduix-spacing-3-5));
|
|
95
|
+
flex-shrink: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.decrementTrigger-gr_J6_ {
|
|
99
|
+
border-inline-end: 0;
|
|
100
|
+
border-start-start-radius: var(--moduix-number-input-radius, var(--moduix-radius-md));
|
|
101
|
+
border-end-start-radius: var(--moduix-number-input-radius, var(--moduix-radius-md));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.incrementTrigger-AZRSzr {
|
|
105
|
+
border-inline-start: 0;
|
|
106
|
+
border-start-end-radius: var(--moduix-number-input-radius, var(--moduix-radius-md));
|
|
107
|
+
border-end-end-radius: var(--moduix-number-input-radius, var(--moduix-radius-md));
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.input-MggWIT {
|
|
111
|
+
--_number-input-focus-ring-width: var(--moduix-number-input-focus-ring-width, var(--moduix-number-input-border-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))));
|
|
112
|
+
box-sizing: border-box;
|
|
113
|
+
width: var(--moduix-number-input-input-width, 6rem);
|
|
114
|
+
height: var(--moduix-number-input-control-height, var(--moduix-size-md));
|
|
115
|
+
border-top: var(--moduix-number-input-border-width, var(--moduix-border-width-sm))
|
|
116
|
+
var(--moduix-number-input-border-style, solid)
|
|
117
|
+
var(--moduix-number-input-border-color, var(--moduix-color-border));
|
|
118
|
+
border-bottom: var(--moduix-number-input-border-width, var(--moduix-border-width-sm))
|
|
119
|
+
var(--moduix-number-input-border-style, solid)
|
|
120
|
+
var(--moduix-number-input-border-color, var(--moduix-color-border));
|
|
121
|
+
padding: var(--moduix-number-input-input-padding-y, var(--moduix-spacing-1))
|
|
122
|
+
var(--moduix-number-input-input-padding-x, var(--moduix-spacing-3));
|
|
123
|
+
background-color: var(--moduix-number-input-input-bg, var(--moduix-color-background));
|
|
124
|
+
color: var(--moduix-number-input-input-color, var(--moduix-color-foreground));
|
|
125
|
+
font: inherit;
|
|
126
|
+
font-size: var(--moduix-number-input-input-font-size, var(--moduix-text-md));
|
|
127
|
+
line-height: var(--moduix-number-input-input-line-height, var(--moduix-line-height-text-md));
|
|
128
|
+
text-align: center;
|
|
129
|
+
font-variant-numeric: tabular-nums;
|
|
130
|
+
outline: var(--_number-input-focus-ring-width) solid transparent;
|
|
131
|
+
outline-offset: calc(var(--_number-input-focus-ring-width) * -1);
|
|
132
|
+
transition: border-color var(--moduix-transition-default),
|
|
133
|
+
outline-color var(--moduix-transition-default),
|
|
134
|
+
opacity var(--moduix-transition-default);
|
|
135
|
+
border-inline: 0;
|
|
136
|
+
border-radius: 0;
|
|
137
|
+
margin: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.input-MggWIT:focus-visible, .input-MggWIT[data-focus] {
|
|
141
|
+
outline-color: var(--moduix-number-input-focus-ring-color, var(--moduix-color-ring));
|
|
142
|
+
z-index: 1;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.input-MggWIT[data-invalid], .root-J5l339[data-invalid] .input-MggWIT {
|
|
146
|
+
border-top-color: var(--moduix-number-input-border-color-invalid, var(--moduix-color-destructive));
|
|
147
|
+
border-bottom-color: var(--moduix-number-input-border-color-invalid, var(--moduix-color-destructive));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:is(.input-MggWIT[data-invalid], .root-J5l339[data-invalid] .input-MggWIT):focus-visible, :is(.input-MggWIT[data-invalid], .root-J5l339[data-invalid] .input-MggWIT)[data-focus] {
|
|
151
|
+
outline-color: var(--moduix-number-input-border-color-invalid, var(--moduix-color-destructive));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.valueText-lP90vp {
|
|
155
|
+
color: var(--moduix-number-input-value-text-color, var(--moduix-color-muted-foreground));
|
|
156
|
+
font-size: var(--moduix-number-input-value-text-font-size, var(--moduix-text-sm));
|
|
157
|
+
line-height: var(--moduix-number-input-value-text-line-height, var(--moduix-line-height-text-sm));
|
|
158
|
+
font-variant-numeric: tabular-nums;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NumberInput, useNumberInput, useNumberInputContext } from './NumberInput.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NumberInput, useNumberInput, useNumberInputContext } from "./NumberInput.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NumberInput, useNumberInput, useNumberInputContext } from "./NumberInput.jsx";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Pagination as PaginationPrimitive, usePagination, usePaginationContext } from '@ark-ui/solid/pagination';
|
|
2
|
+
import type { ComponentProps } from 'solid-js';
|
|
3
|
+
declare function PaginationRoot(props: ComponentProps<typeof PaginationPrimitive.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function PaginationRootProvider(props: ComponentProps<typeof PaginationPrimitive.RootProvider>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function PaginationItem(props: ComponentProps<typeof PaginationPrimitive.Item>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function PaginationEllipsis(props: ComponentProps<typeof PaginationPrimitive.Ellipsis>): import("solid-js").JSX.Element;
|
|
7
|
+
declare function PaginationPrevTrigger(props: ComponentProps<typeof PaginationPrimitive.PrevTrigger>): import("solid-js").JSX.Element;
|
|
8
|
+
declare function PaginationNextTrigger(props: ComponentProps<typeof PaginationPrimitive.NextTrigger>): import("solid-js").JSX.Element;
|
|
9
|
+
declare function PaginationFirstTrigger(props: ComponentProps<typeof PaginationPrimitive.FirstTrigger>): import("solid-js").JSX.Element;
|
|
10
|
+
declare function PaginationLastTrigger(props: ComponentProps<typeof PaginationPrimitive.LastTrigger>): import("solid-js").JSX.Element;
|
|
11
|
+
declare const PaginationContext: (props: PaginationPrimitive.ContextProps) => import("solid-js").JSX.Element;
|
|
12
|
+
declare function PaginationItems(): import("solid-js").JSX.Element;
|
|
13
|
+
type PaginationComponent = typeof PaginationRoot & {
|
|
14
|
+
Root: typeof PaginationRoot;
|
|
15
|
+
RootProvider: typeof PaginationRootProvider;
|
|
16
|
+
Item: typeof PaginationItem;
|
|
17
|
+
Ellipsis: typeof PaginationEllipsis;
|
|
18
|
+
PrevTrigger: typeof PaginationPrevTrigger;
|
|
19
|
+
NextTrigger: typeof PaginationNextTrigger;
|
|
20
|
+
FirstTrigger: typeof PaginationFirstTrigger;
|
|
21
|
+
LastTrigger: typeof PaginationLastTrigger;
|
|
22
|
+
Context: typeof PaginationContext;
|
|
23
|
+
Items: typeof PaginationItems;
|
|
24
|
+
usePagination: typeof usePagination;
|
|
25
|
+
usePaginationContext: typeof usePaginationContext;
|
|
26
|
+
};
|
|
27
|
+
declare const Pagination: PaginationComponent;
|
|
28
|
+
export { Pagination, usePagination, usePaginationContext };
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { className, createComponent, effect, insert, memo, mergeProps, template } from "solid-js/web";
|
|
2
|
+
import { Pagination, usePagination, usePaginationContext } from "@ark-ui/solid/pagination";
|
|
3
|
+
import { clsx } from "clsx";
|
|
4
|
+
import { For, children, splitProps } from "solid-js";
|
|
5
|
+
import { ChevronLeftIcon, ChevronRightIcon } from "../../internal/icons/ui/Icons.js";
|
|
6
|
+
import Pagination_module from "./Pagination.module.js";
|
|
7
|
+
var _tmpl$ = /*#__PURE__*/ template("<span aria-hidden>");
|
|
8
|
+
function PaginationRoot(props) {
|
|
9
|
+
const [local, others] = splitProps(props, [
|
|
10
|
+
'asChild',
|
|
11
|
+
'children',
|
|
12
|
+
'class'
|
|
13
|
+
]);
|
|
14
|
+
return createComponent(Pagination.Root, mergeProps({
|
|
15
|
+
get asChild () {
|
|
16
|
+
return local.asChild;
|
|
17
|
+
},
|
|
18
|
+
"data-slot": "pagination-root",
|
|
19
|
+
get ["class"] () {
|
|
20
|
+
return clsx(Pagination_module.root, local.class);
|
|
21
|
+
}
|
|
22
|
+
}, others, {
|
|
23
|
+
get children () {
|
|
24
|
+
return local.children;
|
|
25
|
+
}
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
function PaginationRootProvider(props) {
|
|
29
|
+
const [local, others] = splitProps(props, [
|
|
30
|
+
'asChild',
|
|
31
|
+
'children',
|
|
32
|
+
'class'
|
|
33
|
+
]);
|
|
34
|
+
return createComponent(Pagination.RootProvider, mergeProps({
|
|
35
|
+
get asChild () {
|
|
36
|
+
return local.asChild;
|
|
37
|
+
},
|
|
38
|
+
"data-slot": "pagination-root-provider",
|
|
39
|
+
get ["class"] () {
|
|
40
|
+
return clsx(Pagination_module.root, local.class);
|
|
41
|
+
}
|
|
42
|
+
}, others, {
|
|
43
|
+
get children () {
|
|
44
|
+
return local.children;
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
function PaginationItem(props) {
|
|
49
|
+
const [local, others] = splitProps(props, [
|
|
50
|
+
'asChild',
|
|
51
|
+
'class'
|
|
52
|
+
]);
|
|
53
|
+
return createComponent(Pagination.Item, mergeProps({
|
|
54
|
+
get asChild () {
|
|
55
|
+
return local.asChild;
|
|
56
|
+
},
|
|
57
|
+
"data-slot": "pagination-item",
|
|
58
|
+
get ["class"] () {
|
|
59
|
+
return clsx(Pagination_module.item, local.class);
|
|
60
|
+
}
|
|
61
|
+
}, others));
|
|
62
|
+
}
|
|
63
|
+
function PaginationEllipsis(props) {
|
|
64
|
+
const [local, others] = splitProps(props, [
|
|
65
|
+
'asChild',
|
|
66
|
+
'children',
|
|
67
|
+
'class'
|
|
68
|
+
]);
|
|
69
|
+
const resolvedChildren = children(()=>local.children);
|
|
70
|
+
return createComponent(Pagination.Ellipsis, mergeProps({
|
|
71
|
+
get asChild () {
|
|
72
|
+
return local.asChild;
|
|
73
|
+
},
|
|
74
|
+
"data-slot": "pagination-ellipsis",
|
|
75
|
+
get ["class"] () {
|
|
76
|
+
return clsx(Pagination_module.ellipsis, local.class);
|
|
77
|
+
}
|
|
78
|
+
}, others, {
|
|
79
|
+
get children () {
|
|
80
|
+
return resolvedChildren() ?? (!local.asChild && '...');
|
|
81
|
+
}
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
function EdgeIcon(props) {
|
|
85
|
+
return (()=>{
|
|
86
|
+
var _el$ = _tmpl$();
|
|
87
|
+
insert(_el$, (()=>{
|
|
88
|
+
var _c$ = memo(()=>'left' === props.side);
|
|
89
|
+
return ()=>_c$() ? createComponent(ChevronLeftIcon, {}) : createComponent(ChevronRightIcon, {});
|
|
90
|
+
})(), null);
|
|
91
|
+
insert(_el$, (()=>{
|
|
92
|
+
var _c$2 = memo(()=>'left' === props.side);
|
|
93
|
+
return ()=>_c$2() ? createComponent(ChevronLeftIcon, {}) : createComponent(ChevronRightIcon, {});
|
|
94
|
+
})(), null);
|
|
95
|
+
effect(()=>className(_el$, Pagination_module.edgeIcon));
|
|
96
|
+
return _el$;
|
|
97
|
+
})();
|
|
98
|
+
}
|
|
99
|
+
function PaginationPrevTrigger(props) {
|
|
100
|
+
const [local, others] = splitProps(props, [
|
|
101
|
+
'asChild',
|
|
102
|
+
'children',
|
|
103
|
+
'class'
|
|
104
|
+
]);
|
|
105
|
+
const resolvedChildren = children(()=>local.children);
|
|
106
|
+
return createComponent(Pagination.PrevTrigger, mergeProps({
|
|
107
|
+
get asChild () {
|
|
108
|
+
return local.asChild;
|
|
109
|
+
},
|
|
110
|
+
"data-slot": "pagination-prev-trigger",
|
|
111
|
+
get ["class"] () {
|
|
112
|
+
return clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class);
|
|
113
|
+
}
|
|
114
|
+
}, others, {
|
|
115
|
+
get children () {
|
|
116
|
+
return resolvedChildren() ?? (!local.asChild && createComponent(ChevronLeftIcon, {}));
|
|
117
|
+
}
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
function PaginationNextTrigger(props) {
|
|
121
|
+
const [local, others] = splitProps(props, [
|
|
122
|
+
'asChild',
|
|
123
|
+
'children',
|
|
124
|
+
'class'
|
|
125
|
+
]);
|
|
126
|
+
const resolvedChildren = children(()=>local.children);
|
|
127
|
+
return createComponent(Pagination.NextTrigger, mergeProps({
|
|
128
|
+
get asChild () {
|
|
129
|
+
return local.asChild;
|
|
130
|
+
},
|
|
131
|
+
"data-slot": "pagination-next-trigger",
|
|
132
|
+
get ["class"] () {
|
|
133
|
+
return clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class);
|
|
134
|
+
}
|
|
135
|
+
}, others, {
|
|
136
|
+
get children () {
|
|
137
|
+
return resolvedChildren() ?? (!local.asChild && createComponent(ChevronRightIcon, {}));
|
|
138
|
+
}
|
|
139
|
+
}));
|
|
140
|
+
}
|
|
141
|
+
function PaginationFirstTrigger(props) {
|
|
142
|
+
const [local, others] = splitProps(props, [
|
|
143
|
+
'asChild',
|
|
144
|
+
'children',
|
|
145
|
+
'class'
|
|
146
|
+
]);
|
|
147
|
+
const resolvedChildren = children(()=>local.children);
|
|
148
|
+
return createComponent(Pagination.FirstTrigger, mergeProps({
|
|
149
|
+
get asChild () {
|
|
150
|
+
return local.asChild;
|
|
151
|
+
},
|
|
152
|
+
"data-slot": "pagination-first-trigger",
|
|
153
|
+
get ["class"] () {
|
|
154
|
+
return clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class);
|
|
155
|
+
}
|
|
156
|
+
}, others, {
|
|
157
|
+
get children () {
|
|
158
|
+
return resolvedChildren() ?? (!local.asChild && createComponent(EdgeIcon, {
|
|
159
|
+
side: "left"
|
|
160
|
+
}));
|
|
161
|
+
}
|
|
162
|
+
}));
|
|
163
|
+
}
|
|
164
|
+
function PaginationLastTrigger(props) {
|
|
165
|
+
const [local, others] = splitProps(props, [
|
|
166
|
+
'asChild',
|
|
167
|
+
'children',
|
|
168
|
+
'class'
|
|
169
|
+
]);
|
|
170
|
+
const resolvedChildren = children(()=>local.children);
|
|
171
|
+
return createComponent(Pagination.LastTrigger, mergeProps({
|
|
172
|
+
get asChild () {
|
|
173
|
+
return local.asChild;
|
|
174
|
+
},
|
|
175
|
+
"data-slot": "pagination-last-trigger",
|
|
176
|
+
get ["class"] () {
|
|
177
|
+
return clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class);
|
|
178
|
+
}
|
|
179
|
+
}, others, {
|
|
180
|
+
get children () {
|
|
181
|
+
return resolvedChildren() ?? (!local.asChild && createComponent(EdgeIcon, {
|
|
182
|
+
side: "right"
|
|
183
|
+
}));
|
|
184
|
+
}
|
|
185
|
+
}));
|
|
186
|
+
}
|
|
187
|
+
const PaginationContext = Pagination.Context;
|
|
188
|
+
function PaginationItems() {
|
|
189
|
+
return createComponent(PaginationContext, {
|
|
190
|
+
children: (pagination)=>createComponent(For, {
|
|
191
|
+
get each () {
|
|
192
|
+
return pagination().pages;
|
|
193
|
+
},
|
|
194
|
+
children: (page, index)=>'page' === page.type ? createComponent(PaginationItem, mergeProps(page, {
|
|
195
|
+
get children () {
|
|
196
|
+
return page.value;
|
|
197
|
+
}
|
|
198
|
+
})) : createComponent(PaginationEllipsis, {
|
|
199
|
+
get index () {
|
|
200
|
+
return index();
|
|
201
|
+
}
|
|
202
|
+
})
|
|
203
|
+
})
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
const Pagination_Pagination = Object.assign(PaginationRoot, {
|
|
207
|
+
Root: PaginationRoot,
|
|
208
|
+
RootProvider: PaginationRootProvider,
|
|
209
|
+
Item: PaginationItem,
|
|
210
|
+
Ellipsis: PaginationEllipsis,
|
|
211
|
+
PrevTrigger: PaginationPrevTrigger,
|
|
212
|
+
NextTrigger: PaginationNextTrigger,
|
|
213
|
+
FirstTrigger: PaginationFirstTrigger,
|
|
214
|
+
LastTrigger: PaginationLastTrigger,
|
|
215
|
+
Context: PaginationContext,
|
|
216
|
+
Items: PaginationItems,
|
|
217
|
+
usePagination: usePagination,
|
|
218
|
+
usePaginationContext: usePaginationContext
|
|
219
|
+
});
|
|
220
|
+
export { Pagination_Pagination as Pagination, usePagination, usePaginationContext };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Pagination, usePagination, usePaginationContext } from "@ark-ui/solid/pagination";
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { For, children, splitProps } from "solid-js";
|
|
4
|
+
import { ChevronLeftIcon, ChevronRightIcon } from "../../internal/icons/ui/Icons.jsx";
|
|
5
|
+
import Pagination_module from "./Pagination.module.jsx";
|
|
6
|
+
function PaginationRoot(props) {
|
|
7
|
+
const [local, others] = splitProps(props, [
|
|
8
|
+
'asChild',
|
|
9
|
+
'children',
|
|
10
|
+
'class'
|
|
11
|
+
]);
|
|
12
|
+
return <Pagination.Root asChild={local.asChild} data-slot="pagination-root" class={clsx(Pagination_module.root, local.class)} {...others}>
|
|
13
|
+
{local.children}
|
|
14
|
+
</Pagination.Root>;
|
|
15
|
+
}
|
|
16
|
+
function PaginationRootProvider(props) {
|
|
17
|
+
const [local, others] = splitProps(props, [
|
|
18
|
+
'asChild',
|
|
19
|
+
'children',
|
|
20
|
+
'class'
|
|
21
|
+
]);
|
|
22
|
+
return <Pagination.RootProvider asChild={local.asChild} data-slot="pagination-root-provider" class={clsx(Pagination_module.root, local.class)} {...others}>
|
|
23
|
+
{local.children}
|
|
24
|
+
</Pagination.RootProvider>;
|
|
25
|
+
}
|
|
26
|
+
function PaginationItem(props) {
|
|
27
|
+
const [local, others] = splitProps(props, [
|
|
28
|
+
'asChild',
|
|
29
|
+
'class'
|
|
30
|
+
]);
|
|
31
|
+
return <Pagination.Item asChild={local.asChild} data-slot="pagination-item" class={clsx(Pagination_module.item, local.class)} {...others}/>;
|
|
32
|
+
}
|
|
33
|
+
function PaginationEllipsis(props) {
|
|
34
|
+
const [local, others] = splitProps(props, [
|
|
35
|
+
'asChild',
|
|
36
|
+
'children',
|
|
37
|
+
'class'
|
|
38
|
+
]);
|
|
39
|
+
const resolvedChildren = children(()=>local.children);
|
|
40
|
+
return <Pagination.Ellipsis asChild={local.asChild} data-slot="pagination-ellipsis" class={clsx(Pagination_module.ellipsis, local.class)} {...others}>
|
|
41
|
+
{resolvedChildren() ?? (!local.asChild && '...')}
|
|
42
|
+
</Pagination.Ellipsis>;
|
|
43
|
+
}
|
|
44
|
+
function EdgeIcon(props) {
|
|
45
|
+
return <span class={Pagination_module.edgeIcon} aria-hidden>
|
|
46
|
+
{'left' === props.side ? <ChevronLeftIcon/> : <ChevronRightIcon/>}
|
|
47
|
+
{'left' === props.side ? <ChevronLeftIcon/> : <ChevronRightIcon/>}
|
|
48
|
+
</span>;
|
|
49
|
+
}
|
|
50
|
+
function PaginationPrevTrigger(props) {
|
|
51
|
+
const [local, others] = splitProps(props, [
|
|
52
|
+
'asChild',
|
|
53
|
+
'children',
|
|
54
|
+
'class'
|
|
55
|
+
]);
|
|
56
|
+
const resolvedChildren = children(()=>local.children);
|
|
57
|
+
return <Pagination.PrevTrigger asChild={local.asChild} data-slot="pagination-prev-trigger" class={clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class)} {...others}>
|
|
58
|
+
{resolvedChildren() ?? (!local.asChild && <ChevronLeftIcon/>)}
|
|
59
|
+
</Pagination.PrevTrigger>;
|
|
60
|
+
}
|
|
61
|
+
function PaginationNextTrigger(props) {
|
|
62
|
+
const [local, others] = splitProps(props, [
|
|
63
|
+
'asChild',
|
|
64
|
+
'children',
|
|
65
|
+
'class'
|
|
66
|
+
]);
|
|
67
|
+
const resolvedChildren = children(()=>local.children);
|
|
68
|
+
return <Pagination.NextTrigger asChild={local.asChild} data-slot="pagination-next-trigger" class={clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class)} {...others}>
|
|
69
|
+
{resolvedChildren() ?? (!local.asChild && <ChevronRightIcon/>)}
|
|
70
|
+
</Pagination.NextTrigger>;
|
|
71
|
+
}
|
|
72
|
+
function PaginationFirstTrigger(props) {
|
|
73
|
+
const [local, others] = splitProps(props, [
|
|
74
|
+
'asChild',
|
|
75
|
+
'children',
|
|
76
|
+
'class'
|
|
77
|
+
]);
|
|
78
|
+
const resolvedChildren = children(()=>local.children);
|
|
79
|
+
return <Pagination.FirstTrigger asChild={local.asChild} data-slot="pagination-first-trigger" class={clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class)} {...others}>
|
|
80
|
+
{resolvedChildren() ?? (!local.asChild && <EdgeIcon side="left"/>)}
|
|
81
|
+
</Pagination.FirstTrigger>;
|
|
82
|
+
}
|
|
83
|
+
function PaginationLastTrigger(props) {
|
|
84
|
+
const [local, others] = splitProps(props, [
|
|
85
|
+
'asChild',
|
|
86
|
+
'children',
|
|
87
|
+
'class'
|
|
88
|
+
]);
|
|
89
|
+
const resolvedChildren = children(()=>local.children);
|
|
90
|
+
return <Pagination.LastTrigger asChild={local.asChild} data-slot="pagination-last-trigger" class={clsx(Pagination_module.trigger, null == local.children && Pagination_module.iconTrigger, local.class)} {...others}>
|
|
91
|
+
{resolvedChildren() ?? (!local.asChild && <EdgeIcon side="right"/>)}
|
|
92
|
+
</Pagination.LastTrigger>;
|
|
93
|
+
}
|
|
94
|
+
const PaginationContext = Pagination.Context;
|
|
95
|
+
function PaginationItems() {
|
|
96
|
+
return <PaginationContext>
|
|
97
|
+
{(pagination)=><For each={pagination().pages}>
|
|
98
|
+
{(page, index)=>'page' === page.type ? <PaginationItem {...page}>{page.value}</PaginationItem> : <PaginationEllipsis index={index()}/>}
|
|
99
|
+
</For>}
|
|
100
|
+
</PaginationContext>;
|
|
101
|
+
}
|
|
102
|
+
const Pagination_Pagination = Object.assign(PaginationRoot, {
|
|
103
|
+
Root: PaginationRoot,
|
|
104
|
+
RootProvider: PaginationRootProvider,
|
|
105
|
+
Item: PaginationItem,
|
|
106
|
+
Ellipsis: PaginationEllipsis,
|
|
107
|
+
PrevTrigger: PaginationPrevTrigger,
|
|
108
|
+
NextTrigger: PaginationNextTrigger,
|
|
109
|
+
FirstTrigger: PaginationFirstTrigger,
|
|
110
|
+
LastTrigger: PaginationLastTrigger,
|
|
111
|
+
Context: PaginationContext,
|
|
112
|
+
Items: PaginationItems,
|
|
113
|
+
usePagination: usePagination,
|
|
114
|
+
usePaginationContext: usePaginationContext
|
|
115
|
+
});
|
|
116
|
+
export { Pagination_Pagination as Pagination, usePagination, usePaginationContext };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./Pagination_module.css";
|
|
2
|
+
const Pagination_module = {
|
|
3
|
+
root: "root-m3_o8c",
|
|
4
|
+
item: "item-TI2iyy",
|
|
5
|
+
trigger: "trigger-Z_SoJt",
|
|
6
|
+
ellipsis: "ellipsis-j46pnR",
|
|
7
|
+
iconTrigger: "iconTrigger-c2CUab",
|
|
8
|
+
edgeIcon: "edgeIcon-QA3FZr"
|
|
9
|
+
};
|
|
10
|
+
export default Pagination_module;
|