solid-tiny-ui 0.4.0 → 0.6.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/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/alert/alert.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/alert/alert.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/buttons/basic-button/basic-button.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/buttons/basic-button/basic-button.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/drawer/drawer-helper.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/drawer/drawer-helper.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/drawer/drawer.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/drawer/drawer.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/field/field.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/field/field.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/checkbox/checkbox.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/checkbox/checkbox.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/combobox/combobox.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/combobox/combobox.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/number-input/number-input.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/number-input/number-input.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/password-input/password-input.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/password-input/password-input.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/radio-group/radio-group.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/radio-group/radio-group.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/switcher/switcher.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/switcher/switcher.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/text-field/text-field.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/text-field/text-field.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/textarea/textarea.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/textarea/textarea.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/time-picker/time-picker.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/form-components/time-picker/time-picker.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/modal/modal-helper.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/modal/modal-helper.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/modal/modal.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/modal/modal.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/pagination/pagination.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/pagination/pagination.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/popover/popover.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/popover/popover.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/spin/spin.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/spin/spin.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/tabs/tabs.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/tabs/tabs.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/toaster/toaster.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/toaster/toaster.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/tooltip/tooltip.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/tooltip/tooltip.jsx +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/visually-hidden/visually-hidden.js +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/visually-hidden/visually-hidden.jsx +5 -0
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/root-provider/global.js +1 -1
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/root-provider/global.jsx +1 -1
- package/dist/components/alert/alert.d.ts +25 -0
- package/dist/components/alert/alert.js +186 -0
- package/dist/components/alert/alert.jsx +73 -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/buttons/basic-button/basic-button.d.ts +2 -2
- package/dist/components/buttons/basic-button/basic-button.js +20 -29
- package/dist/components/buttons/basic-button/basic-button.jsx +6 -7
- package/dist/components/buttons/state-button/state-button.d.ts +2 -2
- package/dist/components/buttons/state-button/state-button.js +2 -2
- package/dist/components/buttons/state-button/state-button.jsx +2 -2
- package/dist/components/drawer/helpers.d.ts +25 -0
- package/dist/components/drawer/helpers.js +104 -0
- package/dist/components/drawer/helpers.jsx +60 -0
- package/dist/components/drawer/index.d.ts +42 -0
- package/dist/components/drawer/index.js +95 -0
- package/dist/components/drawer/index.jsx +57 -0
- package/dist/components/field/index.d.ts +10 -0
- package/dist/components/field/index.js +11 -0
- package/dist/components/field/index.jsx +11 -0
- package/dist/components/field/parts.d.ts +24 -0
- package/dist/components/field/parts.js +69 -0
- package/dist/components/field/parts.jsx +41 -0
- package/dist/components/form-components/checkbox/checkbox.d.ts +26 -0
- package/dist/components/form-components/checkbox/checkbox.js +118 -0
- package/dist/components/form-components/checkbox/checkbox.jsx +42 -0
- package/dist/components/form-components/checkbox/index.d.ts +1 -0
- package/dist/components/form-components/checkbox/index.js +1 -0
- package/dist/components/form-components/checkbox/index.jsx +1 -0
- package/dist/components/form-components/checkbox-group/checkbox-group.d.ts +26 -0
- package/dist/components/form-components/checkbox-group/checkbox-group.js +76 -0
- package/dist/components/form-components/checkbox-group/checkbox-group.jsx +34 -0
- package/dist/components/form-components/checkbox-group/index.d.ts +1 -0
- package/dist/components/form-components/checkbox-group/index.js +1 -0
- package/dist/components/form-components/checkbox-group/index.jsx +1 -0
- package/dist/components/{combobox → form-components/combobox}/combobox.d.ts +6 -4
- package/dist/components/{combobox → form-components/combobox}/combobox.js +18 -14
- package/dist/components/{combobox → form-components/combobox}/combobox.jsx +10 -10
- package/dist/components/form-components/index.d.ts +19 -0
- package/dist/components/form-components/index.js +19 -0
- package/dist/components/form-components/index.jsx +19 -0
- package/dist/components/form-components/number-input/index.d.ts +1 -0
- package/dist/components/form-components/number-input/index.js +1 -0
- package/dist/components/form-components/number-input/index.jsx +1 -0
- package/dist/components/form-components/number-input/number-input.d.ts +33 -0
- package/dist/components/form-components/number-input/number-input.js +113 -0
- package/dist/components/form-components/number-input/number-input.jsx +59 -0
- package/dist/components/form-components/password-input/index.d.ts +1 -0
- package/dist/components/form-components/password-input/index.js +1 -0
- package/dist/components/form-components/password-input/index.jsx +1 -0
- package/dist/components/form-components/password-input/password-input.d.ts +31 -0
- package/dist/components/form-components/password-input/password-input.js +95 -0
- package/dist/components/form-components/password-input/password-input.jsx +36 -0
- package/dist/components/form-components/radio-group/index.d.ts +1 -0
- package/dist/components/form-components/radio-group/index.js +1 -0
- package/dist/components/form-components/radio-group/index.jsx +1 -0
- package/dist/components/form-components/radio-group/radio-group.d.ts +26 -0
- package/dist/components/form-components/radio-group/radio-group.js +118 -0
- package/dist/components/form-components/radio-group/radio-group.jsx +45 -0
- package/dist/components/form-components/switcher/index.d.ts +1 -0
- package/dist/components/form-components/switcher/index.js +1 -0
- package/dist/components/form-components/switcher/index.jsx +1 -0
- package/dist/components/form-components/switcher/switcher.d.ts +23 -0
- package/dist/components/form-components/switcher/switcher.js +92 -0
- package/dist/components/form-components/switcher/switcher.jsx +32 -0
- package/dist/components/form-components/text-field/index.d.ts +1 -0
- package/dist/components/form-components/text-field/index.js +1 -0
- package/dist/components/form-components/text-field/index.jsx +1 -0
- package/dist/components/form-components/text-field/text-field.d.ts +30 -0
- package/dist/components/form-components/text-field/text-field.js +112 -0
- package/dist/components/form-components/text-field/text-field.jsx +40 -0
- package/dist/components/{textarea → form-components/textarea}/textarea.d.ts +5 -2
- package/dist/components/form-components/textarea/textarea.js +55 -0
- package/dist/components/form-components/textarea/textarea.jsx +24 -0
- package/dist/components/form-components/time-picker/index.d.ts +27 -0
- package/dist/components/form-components/time-picker/index.js +106 -0
- package/dist/components/form-components/time-picker/index.jsx +44 -0
- package/dist/components/form-components/time-picker/panel.js +185 -0
- package/dist/components/form-components/time-picker/panel.jsx +108 -0
- package/dist/components/form-components/time-picker/trigger.js +68 -0
- package/dist/components/form-components/time-picker/trigger.jsx +37 -0
- package/dist/components/modal/helpers.js +1 -1
- package/dist/components/modal/helpers.jsx +1 -1
- package/dist/components/modal/index.d.ts +5 -8
- package/dist/components/modal/index.js +13 -10
- package/dist/components/modal/index.jsx +7 -4
- 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/pagination/pagination.d.ts +32 -0
- package/dist/components/pagination/pagination.js +336 -0
- package/dist/components/pagination/pagination.jsx +104 -0
- package/dist/components/popover/index.js +4 -3
- package/dist/components/popover/index.jsx +2 -1
- package/dist/components/progress/circle-progress.d.ts +7 -0
- package/dist/components/progress/circle-progress.js +33 -14
- package/dist/components/progress/circle-progress.jsx +15 -12
- package/dist/components/progress/line-progress.d.ts +2 -2
- package/dist/components/progress/line-progress.js +6 -5
- package/dist/components/progress/line-progress.jsx +6 -5
- package/dist/components/progress/loading-bar.d.ts +2 -2
- package/dist/components/spin/spin-ring.d.ts +2 -2
- package/dist/components/spin/spin-ring.js +1 -1
- package/dist/components/spin/spin-ring.jsx +1 -1
- package/dist/components/spin/spin.js +8 -7
- package/dist/components/spin/spin.jsx +6 -5
- package/dist/components/tabs/index.d.ts +7 -0
- package/dist/components/tabs/index.js +40 -12
- package/dist/components/tabs/index.jsx +9 -7
- package/dist/components/toaster/context.js +31 -0
- package/dist/components/toaster/context.jsx +31 -0
- package/dist/components/toaster/icon.js +50 -0
- package/dist/components/toaster/icon.jsx +27 -0
- package/dist/components/toaster/index.d.ts +3 -0
- package/dist/components/toaster/index.js +2 -0
- package/dist/components/toaster/index.jsx +2 -0
- package/dist/components/toaster/locator.js +67 -0
- package/dist/components/toaster/locator.jsx +54 -0
- package/dist/components/toaster/one-toaster.js +146 -0
- package/dist/components/toaster/one-toaster.jsx +104 -0
- package/dist/components/toaster/provider.d.ts +11 -0
- package/dist/components/toaster/provider.js +64 -0
- package/dist/components/toaster/provider.jsx +51 -0
- package/dist/components/toaster/type.d.ts +15 -0
- package/dist/components/toaster/use-toaster.d.ts +48 -0
- package/dist/components/toaster/use-toaster.js +72 -0
- package/dist/components/toaster/use-toaster.jsx +72 -0
- package/dist/components/tooltip/tooltip.d.ts +7 -0
- package/dist/components/tooltip/tooltip.js +9 -2
- package/dist/components/tooltip/tooltip.jsx +4 -2
- package/dist/components/visually-hidden/index.js +19 -0
- package/dist/components/visually-hidden/index.jsx +12 -0
- package/dist/icons/arrow-down-s-line.d.ts +3 -2
- package/dist/icons/arrow-down-s-line.js +4 -4
- package/dist/icons/arrow-down-s-line.jsx +2 -2
- package/dist/icons/arrow-left.d.ts +7 -0
- package/dist/icons/arrow-left.js +13 -0
- package/dist/icons/arrow-left.jsx +11 -0
- package/dist/icons/arrow-right.d.ts +7 -0
- package/dist/icons/arrow-right.js +13 -0
- package/dist/icons/arrow-right.jsx +11 -0
- package/dist/icons/check-bold.d.ts +7 -0
- package/dist/icons/check-bold.js +13 -0
- package/dist/icons/check-bold.jsx +11 -0
- package/dist/icons/check-line.d.ts +7 -0
- package/dist/icons/check-line.js +13 -0
- package/dist/icons/check-line.jsx +11 -0
- package/dist/icons/checkbox-circle-line.d.ts +7 -0
- package/dist/icons/checkbox-circle-line.js +13 -0
- package/dist/icons/checkbox-circle-line.jsx +11 -0
- package/dist/icons/close-line.d.ts +3 -2
- package/dist/icons/close-line.js +4 -4
- package/dist/icons/close-line.jsx +2 -2
- package/dist/icons/common.d.ts +9 -0
- package/dist/icons/common.js +12 -2
- package/dist/icons/common.jsx +1 -1
- package/dist/icons/ellipsis.d.ts +7 -0
- package/dist/icons/ellipsis.js +13 -0
- package/dist/icons/ellipsis.jsx +11 -0
- package/dist/icons/error-warning-line.d.ts +7 -0
- package/dist/icons/error-warning-line.js +13 -0
- package/dist/icons/error-warning-line.jsx +11 -0
- package/dist/icons/eye-line.d.ts +7 -0
- package/dist/icons/eye-line.js +13 -0
- package/dist/icons/eye-line.jsx +11 -0
- package/dist/icons/eye-off-line.d.ts +7 -0
- package/dist/icons/eye-off-line.js +13 -0
- package/dist/icons/eye-off-line.jsx +11 -0
- package/dist/icons/index.d.ts +13 -1
- package/dist/icons/index.js +13 -1
- package/dist/icons/index.jsx +13 -1
- package/dist/icons/information-line.d.ts +7 -0
- package/dist/icons/information-line.js +13 -0
- package/dist/icons/information-line.jsx +11 -0
- package/dist/icons/loading.d.ts +13 -0
- package/dist/icons/loading.js +18 -0
- package/dist/icons/loading.jsx +19 -0
- package/dist/icons/subtract.d.ts +7 -0
- package/dist/icons/subtract.js +13 -0
- package/dist/icons/subtract.jsx +11 -0
- package/dist/index.d.ts +23 -8
- package/dist/index.js +23 -9
- package/dist/index.jsx +23 -9
- package/dist/layout/flex/index.d.ts +5 -4
- package/dist/layout/flex/index.js +25 -15
- package/dist/layout/flex/index.jsx +23 -10
- package/dist/layout/index.d.ts +1 -2
- package/dist/layout/index.js +0 -1
- package/dist/layout/index.jsx +0 -1
- package/dist/primitives/animated-group/context.d.ts +9 -9
- package/dist/primitives/animated-group/panel.js +14 -13
- package/dist/primitives/animated-group/panel.jsx +7 -6
- package/dist/primitives/animated-group/root.d.ts +4 -4
- package/dist/primitives/animated-group/root.js +2 -3
- package/dist/primitives/animated-group/root.jsx +2 -3
- package/dist/primitives/checkbox/context.d.ts +63 -0
- package/dist/primitives/checkbox/context.js +13 -0
- package/dist/primitives/checkbox/context.jsx +13 -0
- package/dist/primitives/checkbox/index.d.ts +26 -0
- package/dist/primitives/checkbox/index.js +13 -0
- package/dist/primitives/checkbox/index.jsx +13 -0
- package/dist/primitives/checkbox/parts.d.ts +10 -0
- package/dist/primitives/checkbox/parts.js +62 -0
- package/dist/primitives/checkbox/parts.jsx +28 -0
- package/dist/primitives/checkbox/root.d.ts +16 -0
- package/dist/primitives/checkbox/root.js +25 -0
- package/dist/primitives/checkbox/root.jsx +24 -0
- package/dist/primitives/checkbox-group/context.js +21 -0
- package/dist/primitives/checkbox-group/context.jsx +21 -0
- package/dist/primitives/checkbox-group/index.js +12 -0
- package/dist/primitives/checkbox-group/index.jsx +12 -0
- package/dist/primitives/checkbox-group/parts.js +33 -0
- package/dist/primitives/checkbox-group/parts.jsx +21 -0
- package/dist/primitives/checkbox-group/root.js +24 -0
- package/dist/primitives/checkbox-group/root.jsx +23 -0
- package/dist/primitives/fake-scroll-list/context.js +30 -0
- package/dist/primitives/fake-scroll-list/context.jsx +30 -0
- package/dist/primitives/fake-scroll-list/index.d.ts +52 -0
- package/dist/primitives/fake-scroll-list/index.js +36 -0
- package/dist/primitives/fake-scroll-list/index.jsx +36 -0
- package/dist/primitives/fake-scroll-list/item.d.ts +11 -0
- package/dist/primitives/fake-scroll-list/item.js +30 -0
- package/dist/primitives/fake-scroll-list/item.jsx +13 -0
- package/dist/primitives/fake-scroll-list/listbox.d.ts +8 -0
- package/dist/primitives/fake-scroll-list/listbox.js +72 -0
- package/dist/primitives/fake-scroll-list/listbox.jsx +61 -0
- package/dist/primitives/fake-scroll-list/root.d.ts +15 -0
- package/dist/primitives/fake-scroll-list/root.js +52 -0
- package/dist/primitives/fake-scroll-list/root.jsx +40 -0
- package/dist/primitives/floating/content.js +12 -11
- package/dist/primitives/floating/content.jsx +7 -6
- package/dist/primitives/floating/context.d.ts +10 -9
- package/dist/primitives/floating/context.js +1 -1
- package/dist/primitives/floating/context.jsx +1 -1
- package/dist/primitives/floating/index.d.ts +3 -2
- package/dist/primitives/floating/trigger.js +1 -1
- package/dist/primitives/floating/trigger.jsx +1 -1
- package/dist/primitives/floating/types.d.ts +2 -1
- package/dist/primitives/index.d.ts +8 -1
- package/dist/primitives/index.js +8 -3
- package/dist/primitives/index.jsx +8 -3
- package/dist/primitives/listbox/listbox.d.ts +3 -3
- package/dist/primitives/modal/content.d.ts +3 -3
- package/dist/primitives/modal/content.js +2 -3
- package/dist/primitives/modal/content.jsx +2 -3
- package/dist/primitives/modal/context.d.ts +16 -29
- package/dist/primitives/modal/context.js +2 -4
- package/dist/primitives/modal/context.jsx +2 -4
- package/dist/primitives/modal/index.d.ts +5 -8
- package/dist/primitives/modal/portal.js +1 -1
- package/dist/primitives/modal/portal.jsx +1 -1
- package/dist/primitives/modal/root.d.ts +2 -3
- package/dist/primitives/modal/root.js +10 -10
- package/dist/primitives/modal/root.jsx +10 -10
- package/dist/primitives/pagination/context.d.ts +89 -0
- package/dist/primitives/pagination/context.js +88 -0
- package/dist/primitives/pagination/context.jsx +88 -0
- package/dist/primitives/pagination/index.d.ts +33 -0
- package/dist/primitives/pagination/index.js +12 -0
- package/dist/primitives/pagination/index.jsx +12 -0
- package/dist/primitives/pagination/items.d.ts +9 -0
- package/dist/primitives/pagination/items.js +19 -0
- package/dist/primitives/pagination/items.jsx +11 -0
- package/dist/primitives/pagination/root.d.ts +16 -0
- package/dist/primitives/pagination/root.js +24 -0
- package/dist/primitives/pagination/root.jsx +23 -0
- package/dist/primitives/radio-group/context.d.ts +91 -0
- package/dist/primitives/radio-group/context.js +16 -0
- package/dist/primitives/radio-group/context.jsx +16 -0
- package/dist/primitives/radio-group/index.d.ts +34 -0
- package/dist/primitives/radio-group/index.js +15 -0
- package/dist/primitives/radio-group/index.jsx +15 -0
- package/dist/primitives/radio-group/item.d.ts +19 -0
- package/dist/primitives/radio-group/item.js +74 -0
- package/dist/primitives/radio-group/item.jsx +44 -0
- package/dist/primitives/radio-group/root.d.ts +14 -0
- package/dist/primitives/radio-group/root.js +23 -0
- package/dist/primitives/radio-group/root.jsx +22 -0
- package/dist/root-provider/context.d.ts +16 -9
- package/dist/root-provider/context.js +4 -1
- package/dist/root-provider/context.jsx +4 -1
- package/dist/root-provider/gen-colors.js +138 -0
- package/dist/root-provider/gen-colors.jsx +138 -0
- package/dist/root-provider/provider.js +4 -3
- package/dist/root-provider/provider.jsx +3 -2
- package/dist/utils/duration.js +10 -0
- package/dist/utils/duration.jsx +10 -0
- package/dist/utils/index.js +1 -4
- package/dist/utils/index.jsx +1 -4
- package/dist/utils/types.d.ts +4 -8
- package/package.json +9 -8
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/combobox/combobox.js +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/combobox/combobox.jsx +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/input/input.js +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/input/input.jsx +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/textarea/textarea.js +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/textarea/textarea.jsx +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/layout/input-compact/input-compact.js +0 -5
- package/dist/_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/layout/input-compact/input-compact.jsx +0 -5
- package/dist/components/input/index.d.ts +0 -1
- package/dist/components/input/index.js +0 -1
- package/dist/components/input/index.jsx +0 -1
- package/dist/components/input/input.d.ts +0 -15
- package/dist/components/input/input.js +0 -44
- package/dist/components/input/input.jsx +0 -16
- package/dist/components/textarea/textarea.js +0 -49
- package/dist/components/textarea/textarea.jsx +0 -24
- package/dist/layout/input-compact/index.d.ts +0 -13
- package/dist/layout/input-compact/index.js +0 -42
- package/dist/layout/input-compact/index.jsx +0 -32
- package/dist/root-provider/gen-brand.js +0 -55
- package/dist/root-provider/gen-brand.jsx +0 -55
- package/dist/utils/types.js +0 -7
- package/dist/utils/types.jsx +0 -7
- /package/dist/components/{combobox → form-components/combobox}/index.d.ts +0 -0
- /package/dist/components/{combobox → form-components/combobox}/index.js +0 -0
- /package/dist/components/{combobox → form-components/combobox}/index.jsx +0 -0
- /package/dist/components/{textarea → form-components/textarea}/index.d.ts +0 -0
- /package/dist/components/{textarea → form-components/textarea}/index.js +0 -0
- /package/dist/components/{textarea → form-components/textarea}/index.jsx +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/eye-line.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M12 3c5.392 0 9.878 3.88 10.819 9c-.94 5.12-5.427 9-10.819 9s-9.878-3.88-10.818-9C2.122 6.88 6.608 3 12 3m0 16a9.005 9.005 0 0 0 8.778-7a9.005 9.005 0 0 0-17.555 0A9.005 9.005 0 0 0 12 19m0-2.5a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m0-2a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function EyeLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { EyeLine };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/eye-line.tsx
|
|
4
|
+
function EyeLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="M12 3c5.392 0 9.878 3.88 10.819 9c-.94 5.12-5.427 9-10.819 9s-9.878-3.88-10.818-9C2.122 6.88 6.608 3 12 3m0 16a9.005 9.005 0 0 0 8.778-7a9.005 9.005 0 0 0-17.555 0A9.005 9.005 0 0 0 12 19m0-2.5a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m0-2a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { EyeLine };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/eye-off-line.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M17.883 19.297A10.95 10.95 0 0 1 12 21c-5.392 0-9.878-3.88-10.818-9A11 11 0 0 1 4.52 5.935L1.394 2.808l1.414-1.414l19.799 19.798l-1.414 1.415zM5.936 7.35A8.97 8.97 0 0 0 3.223 12a9.005 9.005 0 0 0 13.201 5.838l-2.028-2.028A4.5 4.5 0 0 1 8.19 9.604zm6.978 6.978l-3.242-3.241a2.5 2.5 0 0 0 3.241 3.241m7.893 2.265l-1.431-1.431A8.9 8.9 0 0 0 20.778 12A9.005 9.005 0 0 0 9.552 5.338L7.974 3.76C9.221 3.27 10.58 3 12 3c5.392 0 9.878 3.88 10.819 9a10.95 10.95 0 0 1-2.012 4.593m-9.084-9.084Q11.86 7.5 12 7.5a4.5 4.5 0 0 1 4.492 4.778z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function EyeOffLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { EyeOffLine };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/eye-off-line.tsx
|
|
4
|
+
function EyeOffLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="M17.883 19.297A10.95 10.95 0 0 1 12 21c-5.392 0-9.878-3.88-10.818-9A11 11 0 0 1 4.52 5.935L1.394 2.808l1.414-1.414l19.799 19.798l-1.414 1.415zM5.936 7.35A8.97 8.97 0 0 0 3.223 12a9.005 9.005 0 0 0 13.201 5.838l-2.028-2.028A4.5 4.5 0 0 1 8.19 9.604zm6.978 6.978l-3.242-3.241a2.5 2.5 0 0 0 3.241 3.241m7.893 2.265l-1.431-1.431A8.9 8.9 0 0 0 20.778 12A9.005 9.005 0 0 0 9.552 5.338L7.974 3.76C9.221 3.27 10.58 3 12 3c5.392 0 9.878 3.88 10.819 9a10.95 10.95 0 0 1-2.012 4.593m-9.084-9.084Q11.86 7.5 12 7.5a4.5 4.5 0 0 1 4.492 4.778z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { EyeOffLine };
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
import { ArrowDownSLine } from "./arrow-down-s-line.js";
|
|
2
|
+
import { IconArrowLeft } from "./arrow-left.js";
|
|
3
|
+
import { IconArrowRight } from "./arrow-right.js";
|
|
4
|
+
import { CheckBold } from "./check-bold.js";
|
|
5
|
+
import { CheckLine } from "./check-line.js";
|
|
6
|
+
import { IconCheckboxCircleLine } from "./checkbox-circle-line.js";
|
|
2
7
|
import { CloseLine } from "./close-line.js";
|
|
3
|
-
|
|
8
|
+
import { IconEllipsis } from "./ellipsis.js";
|
|
9
|
+
import { IconErrorWarningLine } from "./error-warning-line.js";
|
|
10
|
+
import { EyeLine } from "./eye-line.js";
|
|
11
|
+
import { EyeOffLine } from "./eye-off-line.js";
|
|
12
|
+
import { InformationLine } from "./information-line.js";
|
|
13
|
+
import { IconLoading } from "./loading.js";
|
|
14
|
+
import { IconSubtract } from "./subtract.js";
|
|
15
|
+
export { ArrowDownSLine, CheckBold, CheckLine, CloseLine, EyeLine, EyeOffLine, IconArrowLeft, IconArrowRight, IconCheckboxCircleLine, IconEllipsis, IconErrorWarningLine, IconLoading, IconSubtract, InformationLine };
|
package/dist/icons/index.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { ArrowDownSLine } from "./arrow-down-s-line.js";
|
|
2
|
+
import { IconArrowLeft } from "./arrow-left.js";
|
|
3
|
+
import { IconArrowRight } from "./arrow-right.js";
|
|
4
|
+
import { CheckBold } from "./check-bold.js";
|
|
5
|
+
import { CheckLine } from "./check-line.js";
|
|
6
|
+
import { IconCheckboxCircleLine } from "./checkbox-circle-line.js";
|
|
2
7
|
import { CloseLine } from "./close-line.js";
|
|
8
|
+
import { IconEllipsis } from "./ellipsis.js";
|
|
9
|
+
import { IconErrorWarningLine } from "./error-warning-line.js";
|
|
10
|
+
import { EyeLine } from "./eye-line.js";
|
|
11
|
+
import { EyeOffLine } from "./eye-off-line.js";
|
|
12
|
+
import { InformationLine } from "./information-line.js";
|
|
13
|
+
import { IconLoading } from "./loading.js";
|
|
14
|
+
import { IconSubtract } from "./subtract.js";
|
|
3
15
|
|
|
4
|
-
export { ArrowDownSLine, CloseLine };
|
|
16
|
+
export { ArrowDownSLine, CheckBold, CheckLine, CloseLine, EyeLine, EyeOffLine, IconArrowLeft, IconArrowRight, IconCheckboxCircleLine, IconEllipsis, IconErrorWarningLine, IconLoading, IconSubtract, InformationLine };
|
package/dist/icons/index.jsx
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { ArrowDownSLine } from "./arrow-down-s-line.jsx";
|
|
2
|
+
import { IconArrowLeft } from "./arrow-left.jsx";
|
|
3
|
+
import { IconArrowRight } from "./arrow-right.jsx";
|
|
4
|
+
import { CheckBold } from "./check-bold.jsx";
|
|
5
|
+
import { CheckLine } from "./check-line.jsx";
|
|
6
|
+
import { IconCheckboxCircleLine } from "./checkbox-circle-line.jsx";
|
|
2
7
|
import { CloseLine } from "./close-line.jsx";
|
|
8
|
+
import { IconEllipsis } from "./ellipsis.jsx";
|
|
9
|
+
import { IconErrorWarningLine } from "./error-warning-line.jsx";
|
|
10
|
+
import { EyeLine } from "./eye-line.jsx";
|
|
11
|
+
import { EyeOffLine } from "./eye-off-line.jsx";
|
|
12
|
+
import { InformationLine } from "./information-line.jsx";
|
|
13
|
+
import { IconLoading } from "./loading.jsx";
|
|
14
|
+
import { IconSubtract } from "./subtract.jsx";
|
|
3
15
|
|
|
4
|
-
export { ArrowDownSLine, CloseLine };
|
|
16
|
+
export { ArrowDownSLine, CheckBold, CheckLine, CloseLine, EyeLine, EyeOffLine, IconArrowLeft, IconArrowRight, IconCheckboxCircleLine, IconEllipsis, IconErrorWarningLine, IconLoading, IconSubtract, InformationLine };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/information-line.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16M11 7h2v2h-2zm0 4h2v6h-2z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function InformationLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { InformationLine };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/information-line.tsx
|
|
4
|
+
function InformationLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16M11 7h2v2h-2zm0 4h2v6h-2z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { InformationLine };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconProps } from "./common.js";
|
|
2
|
+
import * as solid_js28 from "solid-js";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/loading.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* loading icon from [EOS Icons](https://gitlab.com/SUSE-UIUX/eos-icons)
|
|
8
|
+
*
|
|
9
|
+
* [MIT LICENSE](https://gitlab.com/SUSE-UIUX/eos-icons/-/blob/master/LICENSE)
|
|
10
|
+
*/
|
|
11
|
+
declare function IconLoading(props: IconProps): solid_js28.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconLoading };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/loading.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M12 2A10 10 0 1 0 22 12A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8A8 8 0 0 1 12 20Z"fill=currentColor opacity=0.5></svg>`, false, true, false), _tmpl$2 = /* @__PURE__ */ template(`<svg><path d="M20 12h2A10 10 0 0 0 12 2V4A8 8 0 0 1 20 12Z"fill=currentColor><animateTransform attributeName=transform dur=1s from="0 12 12"repeatCount=indefinite to="360 12 12"type=rotate></svg>`, false, true, false);
|
|
6
|
+
/**
|
|
7
|
+
* loading icon from [EOS Icons](https://gitlab.com/SUSE-UIUX/eos-icons)
|
|
8
|
+
*
|
|
9
|
+
* [MIT LICENSE](https://gitlab.com/SUSE-UIUX/eos-icons/-/blob/master/LICENSE)
|
|
10
|
+
*/
|
|
11
|
+
function IconLoading(props) {
|
|
12
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
13
|
+
return [_tmpl$(), _tmpl$2()];
|
|
14
|
+
} }));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { IconLoading };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/loading.tsx
|
|
4
|
+
/**
|
|
5
|
+
* loading icon from [EOS Icons](https://gitlab.com/SUSE-UIUX/eos-icons)
|
|
6
|
+
*
|
|
7
|
+
* [MIT LICENSE](https://gitlab.com/SUSE-UIUX/eos-icons/-/blob/master/LICENSE)
|
|
8
|
+
*/
|
|
9
|
+
function IconLoading(props) {
|
|
10
|
+
return <SvgWrapper {...props}>
|
|
11
|
+
<path d="M12 2A10 10 0 1 0 22 12A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8A8 8 0 0 1 12 20Z" fill="currentColor" opacity="0.5" />
|
|
12
|
+
<path d="M20 12h2A10 10 0 0 0 12 2V4A8 8 0 0 1 20 12Z" fill="currentColor">
|
|
13
|
+
<animateTransform attributeName="transform" dur="1s" from="0 12 12" repeatCount="indefinite" to="360 12 12" type="rotate" />
|
|
14
|
+
</path>
|
|
15
|
+
</SvgWrapper>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { IconLoading };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/subtract.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M4 12h16"stroke=currentColor stroke-width=4></svg>`, false, true, false);
|
|
6
|
+
function IconSubtract(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconSubtract };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/subtract.tsx
|
|
4
|
+
function IconSubtract(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="M4 12h16" stroke="currentColor" stroke-width="4" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { IconSubtract };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
import { ClassNames, GlobalToken, Styles } from "./utils/types.js";
|
|
2
|
+
import { Alert, AlertState, AlertStatus, AlertVariant } from "./components/alert/alert.js";
|
|
3
|
+
import "./components/alert/index.js";
|
|
2
4
|
import { Button, ButtonColors, ButtonFields, ButtonProps, ButtonState, ButtonVariants } from "./components/buttons/basic-button/basic-button.js";
|
|
3
5
|
import { StateButton, StateButtonProps } from "./components/buttons/state-button/state-button.js";
|
|
4
6
|
import "./components/buttons/index.js";
|
|
5
|
-
import { Combobox, ComboboxProps } from "./components/combobox/combobox.js";
|
|
6
|
-
import "./components/combobox/index.js";
|
|
7
|
-
import { Input, InputProps } from "./components/input/input.js";
|
|
8
|
-
import "./components/input/index.js";
|
|
9
7
|
import { Flex } from "./layout/flex/index.js";
|
|
10
|
-
import { InputCompact } from "./layout/input-compact/index.js";
|
|
11
8
|
import "./layout/index.js";
|
|
9
|
+
import { DrawerHelper } from "./components/drawer/helpers.js";
|
|
10
|
+
import { Drawer } from "./components/drawer/index.js";
|
|
11
|
+
import { Field } from "./components/field/index.js";
|
|
12
|
+
import { Checkbox } from "./components/form-components/checkbox/checkbox.js";
|
|
13
|
+
import { CheckboxGroup, CheckboxOption } from "./components/form-components/checkbox-group/checkbox-group.js";
|
|
14
|
+
import { Combobox, ComboboxProps } from "./components/form-components/combobox/combobox.js";
|
|
15
|
+
import { NumberInput, NumberInputProps } from "./components/form-components/number-input/number-input.js";
|
|
16
|
+
import { PasswordInput, PasswordInputProps } from "./components/form-components/password-input/password-input.js";
|
|
17
|
+
import { RadioGroup, RadioOption } from "./components/form-components/radio-group/radio-group.js";
|
|
18
|
+
import { Switcher } from "./components/form-components/switcher/switcher.js";
|
|
19
|
+
import { TextField, TextFieldProps } from "./components/form-components/text-field/text-field.js";
|
|
20
|
+
import { Textarea } from "./components/form-components/textarea/textarea.js";
|
|
21
|
+
import { TimePicker } from "./components/form-components/time-picker/index.js";
|
|
22
|
+
import "./components/form-components/index.js";
|
|
12
23
|
import { ModalHelper } from "./components/modal/helpers.js";
|
|
13
24
|
import { Modal } from "./components/modal/index.js";
|
|
25
|
+
import { Pagination, PaginationSize } from "./components/pagination/pagination.js";
|
|
26
|
+
import "./components/pagination/index.js";
|
|
14
27
|
import { Popover } from "./components/popover/index.js";
|
|
15
28
|
import { CircleProgress } from "./components/progress/circle-progress.js";
|
|
16
29
|
import { LineProgress, LineProgressState } from "./components/progress/line-progress.js";
|
|
@@ -20,12 +33,14 @@ import { Spin } from "./components/spin/spin.js";
|
|
|
20
33
|
import { SpinRing } from "./components/spin/spin-ring.js";
|
|
21
34
|
import "./components/spin/index.js";
|
|
22
35
|
import { TabItem, Tabs, TabsProps } from "./components/tabs/index.js";
|
|
23
|
-
import {
|
|
24
|
-
import "./components/
|
|
36
|
+
import { Toast, ToastPosition, ToastType } from "./components/toaster/type.js";
|
|
37
|
+
import { TinyToasterProvider } from "./components/toaster/provider.js";
|
|
38
|
+
import { useToaster } from "./components/toaster/use-toaster.js";
|
|
39
|
+
import "./components/toaster/index.js";
|
|
25
40
|
import { Tooltip, TooltipProps } from "./components/tooltip/tooltip.js";
|
|
26
41
|
import "./components/tooltip/index.js";
|
|
27
42
|
import { context } from "./root-provider/context.js";
|
|
28
43
|
import { RootProvider } from "./root-provider/provider.js";
|
|
29
44
|
import "./root-provider/index.js";
|
|
30
45
|
import { getGlobalToken } from "./utils/index.js";
|
|
31
|
-
export { Button, ButtonColors, ButtonFields, ButtonProps, ButtonState, ButtonVariants, CircleProgress, type ClassNames, Combobox, ComboboxProps,
|
|
46
|
+
export { Alert, AlertState, AlertStatus, AlertVariant, Button, ButtonColors, ButtonFields, ButtonProps, ButtonState, ButtonVariants, Checkbox, CheckboxGroup, CheckboxOption, CircleProgress, type ClassNames, Combobox, ComboboxProps, Drawer, DrawerHelper, Field, Flex, type GlobalToken, LineProgress, LineProgressState, LoadingBar, Modal, ModalHelper, NumberInput, NumberInputProps, Pagination, PaginationSize, PasswordInput, PasswordInputProps, Popover, RadioGroup, RadioOption, Spin, SpinRing, StateButton, StateButtonProps, type Styles, Switcher, TabItem, Tabs, TabsProps, TextField, TextFieldProps, Textarea, TimePicker, TinyToasterProvider, RootProvider as TinyUiProvider, Toast, ToastPosition, ToastType, Tooltip, TooltipProps, getGlobalToken, context as tinyUiContext, useToaster };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { getGlobalToken } from "./utils/index.js";
|
|
2
|
+
import { Alert } from "./components/alert/alert.js";
|
|
3
|
+
import "./components/alert/index.js";
|
|
2
4
|
import { Button } from "./components/buttons/basic-button/basic-button.js";
|
|
3
5
|
import { SpinRing } from "./components/spin/spin-ring.js";
|
|
4
6
|
import { Spin } from "./components/spin/spin.js";
|
|
@@ -7,25 +9,37 @@ import { Tooltip } from "./components/tooltip/tooltip.js";
|
|
|
7
9
|
import "./components/tooltip/index.js";
|
|
8
10
|
import { StateButton } from "./components/buttons/state-button/state-button.js";
|
|
9
11
|
import "./components/buttons/index.js";
|
|
10
|
-
import { Popover } from "./components/popover/index.js";
|
|
11
|
-
import { Combobox } from "./components/combobox/combobox.js";
|
|
12
|
-
import "./components/combobox/index.js";
|
|
13
|
-
import { Input } from "./components/input/input.js";
|
|
14
|
-
import "./components/input/index.js";
|
|
15
12
|
import { Flex } from "./layout/flex/index.js";
|
|
16
|
-
import { InputCompact } from "./layout/input-compact/index.js";
|
|
17
13
|
import "./layout/index.js";
|
|
14
|
+
import { DrawerHelper } from "./components/drawer/helpers.js";
|
|
15
|
+
import { Drawer } from "./components/drawer/index.js";
|
|
16
|
+
import { Field } from "./components/field/index.js";
|
|
17
|
+
import { Checkbox } from "./components/form-components/checkbox/checkbox.js";
|
|
18
|
+
import { CheckboxGroup } from "./components/form-components/checkbox-group/checkbox-group.js";
|
|
19
|
+
import { Popover } from "./components/popover/index.js";
|
|
20
|
+
import { Combobox } from "./components/form-components/combobox/combobox.js";
|
|
21
|
+
import { NumberInput } from "./components/form-components/number-input/number-input.js";
|
|
22
|
+
import { PasswordInput } from "./components/form-components/password-input/password-input.js";
|
|
23
|
+
import { RadioGroup } from "./components/form-components/radio-group/radio-group.js";
|
|
24
|
+
import { Switcher } from "./components/form-components/switcher/switcher.js";
|
|
25
|
+
import { TextField } from "./components/form-components/text-field/text-field.js";
|
|
26
|
+
import { Textarea } from "./components/form-components/textarea/textarea.js";
|
|
27
|
+
import { TimePicker } from "./components/form-components/time-picker/index.js";
|
|
28
|
+
import "./components/form-components/index.js";
|
|
18
29
|
import { ModalHelper } from "./components/modal/helpers.js";
|
|
19
30
|
import { Modal } from "./components/modal/index.js";
|
|
31
|
+
import { Pagination } from "./components/pagination/pagination.js";
|
|
32
|
+
import "./components/pagination/index.js";
|
|
20
33
|
import { CircleProgress } from "./components/progress/circle-progress.js";
|
|
21
34
|
import { LineProgress } from "./components/progress/line-progress.js";
|
|
22
35
|
import { LoadingBar } from "./components/progress/loading-bar.js";
|
|
23
36
|
import "./components/progress/index.js";
|
|
24
37
|
import { Tabs } from "./components/tabs/index.js";
|
|
25
|
-
import {
|
|
26
|
-
import "./components/
|
|
38
|
+
import { TinyToasterProvider } from "./components/toaster/provider.js";
|
|
39
|
+
import { useToaster } from "./components/toaster/use-toaster.js";
|
|
40
|
+
import "./components/toaster/index.js";
|
|
27
41
|
import { context } from "./root-provider/context.js";
|
|
28
42
|
import { RootProvider } from "./root-provider/provider.js";
|
|
29
43
|
import "./root-provider/index.js";
|
|
30
44
|
|
|
31
|
-
export { Button, CircleProgress, Combobox,
|
|
45
|
+
export { Alert, Button, Checkbox, CheckboxGroup, CircleProgress, Combobox, Drawer, DrawerHelper, Field, Flex, LineProgress, LoadingBar, Modal, ModalHelper, NumberInput, Pagination, PasswordInput, Popover, RadioGroup, Spin, SpinRing, StateButton, Switcher, Tabs, TextField, Textarea, TimePicker, TinyToasterProvider, RootProvider as TinyUiProvider, Tooltip, getGlobalToken, context as tinyUiContext, useToaster };
|
package/dist/index.jsx
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { getGlobalToken } from "./utils/index.jsx";
|
|
2
|
+
import { Alert } from "./components/alert/alert.jsx";
|
|
3
|
+
import "./components/alert/index.jsx";
|
|
2
4
|
import { Button } from "./components/buttons/basic-button/basic-button.jsx";
|
|
3
5
|
import { SpinRing } from "./components/spin/spin-ring.jsx";
|
|
4
6
|
import { Spin } from "./components/spin/spin.jsx";
|
|
@@ -7,25 +9,37 @@ import { Tooltip } from "./components/tooltip/tooltip.jsx";
|
|
|
7
9
|
import "./components/tooltip/index.jsx";
|
|
8
10
|
import { StateButton } from "./components/buttons/state-button/state-button.jsx";
|
|
9
11
|
import "./components/buttons/index.jsx";
|
|
10
|
-
import { Popover } from "./components/popover/index.jsx";
|
|
11
|
-
import { Combobox } from "./components/combobox/combobox.jsx";
|
|
12
|
-
import "./components/combobox/index.jsx";
|
|
13
|
-
import { Input } from "./components/input/input.jsx";
|
|
14
|
-
import "./components/input/index.jsx";
|
|
15
12
|
import { Flex } from "./layout/flex/index.jsx";
|
|
16
|
-
import { InputCompact } from "./layout/input-compact/index.jsx";
|
|
17
13
|
import "./layout/index.jsx";
|
|
14
|
+
import { DrawerHelper } from "./components/drawer/helpers.jsx";
|
|
15
|
+
import { Drawer } from "./components/drawer/index.jsx";
|
|
16
|
+
import { Field } from "./components/field/index.jsx";
|
|
17
|
+
import { Checkbox } from "./components/form-components/checkbox/checkbox.jsx";
|
|
18
|
+
import { CheckboxGroup } from "./components/form-components/checkbox-group/checkbox-group.jsx";
|
|
19
|
+
import { Popover } from "./components/popover/index.jsx";
|
|
20
|
+
import { Combobox } from "./components/form-components/combobox/combobox.jsx";
|
|
21
|
+
import { NumberInput } from "./components/form-components/number-input/number-input.jsx";
|
|
22
|
+
import { PasswordInput } from "./components/form-components/password-input/password-input.jsx";
|
|
23
|
+
import { RadioGroup } from "./components/form-components/radio-group/radio-group.jsx";
|
|
24
|
+
import { Switcher } from "./components/form-components/switcher/switcher.jsx";
|
|
25
|
+
import { TextField } from "./components/form-components/text-field/text-field.jsx";
|
|
26
|
+
import { Textarea } from "./components/form-components/textarea/textarea.jsx";
|
|
27
|
+
import { TimePicker } from "./components/form-components/time-picker/index.jsx";
|
|
28
|
+
import "./components/form-components/index.jsx";
|
|
18
29
|
import { ModalHelper } from "./components/modal/helpers.jsx";
|
|
19
30
|
import { Modal } from "./components/modal/index.jsx";
|
|
31
|
+
import { Pagination } from "./components/pagination/pagination.jsx";
|
|
32
|
+
import "./components/pagination/index.jsx";
|
|
20
33
|
import { CircleProgress } from "./components/progress/circle-progress.jsx";
|
|
21
34
|
import { LineProgress } from "./components/progress/line-progress.jsx";
|
|
22
35
|
import { LoadingBar } from "./components/progress/loading-bar.jsx";
|
|
23
36
|
import "./components/progress/index.jsx";
|
|
24
37
|
import { Tabs } from "./components/tabs/index.jsx";
|
|
25
|
-
import {
|
|
26
|
-
import "./components/
|
|
38
|
+
import { TinyToasterProvider } from "./components/toaster/provider.jsx";
|
|
39
|
+
import { useToaster } from "./components/toaster/use-toaster.jsx";
|
|
40
|
+
import "./components/toaster/index.jsx";
|
|
27
41
|
import { context } from "./root-provider/context.jsx";
|
|
28
42
|
import { RootProvider } from "./root-provider/provider.jsx";
|
|
29
43
|
import "./root-provider/index.jsx";
|
|
30
44
|
|
|
31
|
-
export { Button, CircleProgress, Combobox,
|
|
45
|
+
export { Alert, Button, Checkbox, CheckboxGroup, CircleProgress, Combobox, Drawer, DrawerHelper, Field, Flex, LineProgress, LoadingBar, Modal, ModalHelper, NumberInput, Pagination, PasswordInput, Popover, RadioGroup, Spin, SpinRing, StateButton, Switcher, Tabs, TextField, Textarea, TimePicker, TinyToasterProvider, RootProvider as TinyUiProvider, Tooltip, getGlobalToken, context as tinyUiContext, useToaster };
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import { OmitComponentProps } from "../../utils/types.js";
|
|
1
2
|
import { JSX, ValidComponent } from "solid-js";
|
|
2
3
|
|
|
3
4
|
//#region src/layout/flex/index.d.ts
|
|
4
|
-
declare function Flex(props: {
|
|
5
|
+
declare function Flex<T extends ValidComponent>(props: {
|
|
5
6
|
children: JSX.Element;
|
|
6
7
|
vertical?: boolean;
|
|
8
|
+
reverse?: boolean;
|
|
7
9
|
wrap?: boolean;
|
|
8
10
|
justify?: JSX.CSSProperties["justify-content"];
|
|
9
11
|
align?: JSX.CSSProperties["align-items"];
|
|
10
12
|
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | number;
|
|
11
13
|
flex?: JSX.CSSProperties["flex"];
|
|
12
|
-
as?:
|
|
13
|
-
class?: string;
|
|
14
|
+
as?: T;
|
|
14
15
|
style?: JSX.CSSProperties | string;
|
|
15
16
|
inline?: boolean;
|
|
16
|
-
}): JSX.Element;
|
|
17
|
+
} & OmitComponentProps<T, "children">): JSX.Element;
|
|
17
18
|
//#endregion
|
|
18
19
|
export { Flex };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getGlobalToken } from "../../utils/index.js";
|
|
2
|
-
import { Dynamic, createComponent, memo } from "solid-js/web";
|
|
3
|
-
import { createMemo } from "solid-js";
|
|
2
|
+
import { Dynamic, createComponent, memo, mergeProps } from "solid-js/web";
|
|
3
|
+
import { createMemo, splitProps } from "solid-js";
|
|
4
4
|
import { combineStyle, isString } from "solid-tiny-utils";
|
|
5
5
|
|
|
6
6
|
//#region src/layout/flex/index.tsx
|
|
@@ -10,28 +10,38 @@ function Flex(props) {
|
|
|
10
10
|
if (isString(gapProp)) return getGlobalToken(`space-${gapProp}`);
|
|
11
11
|
return `${gapProp}px`;
|
|
12
12
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const [local, others] = splitProps(props, [
|
|
14
|
+
"children",
|
|
15
|
+
"vertical",
|
|
16
|
+
"wrap",
|
|
17
|
+
"justify",
|
|
18
|
+
"align",
|
|
19
|
+
"gap",
|
|
20
|
+
"flex",
|
|
21
|
+
"as",
|
|
22
|
+
"style",
|
|
23
|
+
"inline",
|
|
24
|
+
"reverse"
|
|
25
|
+
]);
|
|
26
|
+
return createComponent(Dynamic, mergeProps(others, {
|
|
17
27
|
get component() {
|
|
18
28
|
return props.as ?? "div";
|
|
19
29
|
},
|
|
20
30
|
get style() {
|
|
21
31
|
return combineStyle({
|
|
22
|
-
display:
|
|
23
|
-
"flex-direction":
|
|
24
|
-
"flex-wrap":
|
|
25
|
-
"justify-content":
|
|
26
|
-
"align-items":
|
|
32
|
+
display: local.inline ? "inline-flex" : "flex",
|
|
33
|
+
"flex-direction": local.vertical ? `column${local.reverse ? "-reverse" : ""}` : `row${local.reverse ? "-reverse" : ""}`,
|
|
34
|
+
"flex-wrap": local.wrap ? "wrap" : "nowrap",
|
|
35
|
+
"justify-content": local.justify,
|
|
36
|
+
"align-items": local.align,
|
|
27
37
|
gap: gap(),
|
|
28
|
-
flex:
|
|
29
|
-
},
|
|
38
|
+
flex: local.flex
|
|
39
|
+
}, local.style);
|
|
30
40
|
},
|
|
31
41
|
get children() {
|
|
32
|
-
return
|
|
42
|
+
return local.children;
|
|
33
43
|
}
|
|
34
|
-
});
|
|
44
|
+
}));
|
|
35
45
|
}
|
|
36
46
|
|
|
37
47
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getGlobalToken } from "../../utils/index.jsx";
|
|
2
|
-
import { createMemo } from "solid-js";
|
|
2
|
+
import { createMemo, splitProps } from "solid-js";
|
|
3
3
|
import { combineStyle, isString } from "solid-tiny-utils";
|
|
4
4
|
import { Dynamic } from "solid-js/web";
|
|
5
5
|
|
|
@@ -10,16 +10,29 @@ function Flex(props) {
|
|
|
10
10
|
if (isString(gapProp)) return getGlobalToken(`space-${gapProp}`);
|
|
11
11
|
return `${gapProp}px`;
|
|
12
12
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"justify
|
|
18
|
-
"align
|
|
13
|
+
const [local, others] = splitProps(props, [
|
|
14
|
+
"children",
|
|
15
|
+
"vertical",
|
|
16
|
+
"wrap",
|
|
17
|
+
"justify",
|
|
18
|
+
"align",
|
|
19
|
+
"gap",
|
|
20
|
+
"flex",
|
|
21
|
+
"as",
|
|
22
|
+
"style",
|
|
23
|
+
"inline",
|
|
24
|
+
"reverse"
|
|
25
|
+
]);
|
|
26
|
+
return <Dynamic {...others} component={props.as ?? "div"} style={combineStyle({
|
|
27
|
+
display: local.inline ? "inline-flex" : "flex",
|
|
28
|
+
"flex-direction": local.vertical ? `column${local.reverse ? "-reverse" : ""}` : `row${local.reverse ? "-reverse" : ""}`,
|
|
29
|
+
"flex-wrap": local.wrap ? "wrap" : "nowrap",
|
|
30
|
+
"justify-content": local.justify,
|
|
31
|
+
"align-items": local.align,
|
|
19
32
|
gap: gap(),
|
|
20
|
-
flex:
|
|
21
|
-
},
|
|
22
|
-
{
|
|
33
|
+
flex: local.flex
|
|
34
|
+
}, local.style)}>
|
|
35
|
+
{local.children}
|
|
23
36
|
</Dynamic>;
|
|
24
37
|
}
|
|
25
38
|
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import { Flex } from "./flex/index.js";
|
|
2
|
-
import { InputCompact } from "./input-compact/index.js";
|
|
1
|
+
import { Flex } from "./flex/index.js";
|
package/dist/layout/index.js
CHANGED
package/dist/layout/index.jsx
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import * as solid_js31 from "solid-js";
|
|
2
|
+
import * as solid_tiny_context1 from "solid-tiny-context";
|
|
3
|
+
import * as solid_js_store11 from "solid-js/store";
|
|
4
4
|
|
|
5
5
|
//#region src/primitives/animated-group/context.d.ts
|
|
6
6
|
declare const context: {
|
|
7
7
|
useContext: () => [Readonly<{
|
|
8
8
|
active: string;
|
|
9
9
|
} & {}>, Omit<{}, "setState"> & {
|
|
10
|
-
setState:
|
|
10
|
+
setState: solid_js_store11.SetStoreFunction<{
|
|
11
11
|
active: string;
|
|
12
12
|
}>;
|
|
13
13
|
}, {}];
|
|
14
|
-
initial(initialState?: Partial<
|
|
14
|
+
initial(initialState?: Partial<solid_tiny_context1.MaybeSignals<{
|
|
15
15
|
active: string;
|
|
16
16
|
}>> | undefined): {
|
|
17
17
|
Provider(props: {
|
|
18
|
-
children?:
|
|
19
|
-
}):
|
|
18
|
+
children?: solid_js31.JSX.Element;
|
|
19
|
+
}): solid_js31.JSX.Element;
|
|
20
20
|
value: [Readonly<{
|
|
21
21
|
active: string;
|
|
22
|
-
} & {}>, Omit<ThisType<
|
|
22
|
+
} & {}>, Omit<ThisType<solid_tiny_context1.RealContextThis<{
|
|
23
23
|
active: string;
|
|
24
24
|
}, {}, {}, {}>>, "setState"> & {
|
|
25
|
-
setState:
|
|
25
|
+
setState: solid_js_store11.SetStoreFunction<{
|
|
26
26
|
active: string;
|
|
27
27
|
}>;
|
|
28
28
|
}, {}];
|