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,72 @@
|
|
|
1
|
+
import { context } from "./context.js";
|
|
2
|
+
import { createUniqueId } from "solid-js";
|
|
3
|
+
import { callMaybeCallableChild } from "solid-tiny-utils";
|
|
4
|
+
|
|
5
|
+
//#region src/components/toaster/use-toaster.ts
|
|
6
|
+
function createPreset(presets, toast) {
|
|
7
|
+
return (msg, opt) => {
|
|
8
|
+
return toast(msg, {
|
|
9
|
+
...presets,
|
|
10
|
+
...opt
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function useToaster() {
|
|
15
|
+
const [state, actions] = context.useContext();
|
|
16
|
+
const toast = (msg, opt) => {
|
|
17
|
+
const id = `toast-${createUniqueId()}`;
|
|
18
|
+
actions.setState("toasts", (toasts) => [{
|
|
19
|
+
id,
|
|
20
|
+
type: opt?.type || "blank",
|
|
21
|
+
duration: opt?.duration ?? state.defaultDuration,
|
|
22
|
+
position: opt?.position || state.defaultPosition,
|
|
23
|
+
message: msg,
|
|
24
|
+
icon: opt?.icon ?? null
|
|
25
|
+
}, ...toasts]);
|
|
26
|
+
return id;
|
|
27
|
+
};
|
|
28
|
+
return Object.assign(toast, {
|
|
29
|
+
blank: createPreset({ type: "blank" }, toast),
|
|
30
|
+
loading: createPreset({
|
|
31
|
+
type: "loading",
|
|
32
|
+
duration: 0
|
|
33
|
+
}, toast),
|
|
34
|
+
success: createPreset({ type: "success" }, toast),
|
|
35
|
+
error: createPreset({ type: "error" }, toast),
|
|
36
|
+
info: createPreset({ type: "info" }, toast),
|
|
37
|
+
warning: createPreset({ type: "warning" }, toast),
|
|
38
|
+
promise: createPromiseToast(toast, actions.updateToast),
|
|
39
|
+
dismiss: actions.dismissToast,
|
|
40
|
+
update: actions.updateToast
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function createPromiseToast(toast, update) {
|
|
44
|
+
return (promise, phase) => {
|
|
45
|
+
const id = toast((params) => callMaybeCallableChild(phase.loading, { ...params }), {
|
|
46
|
+
type: "loading",
|
|
47
|
+
duration: 0
|
|
48
|
+
});
|
|
49
|
+
promise.then((data) => {
|
|
50
|
+
update(id, {
|
|
51
|
+
type: "success",
|
|
52
|
+
duration: 5e3,
|
|
53
|
+
message: ({ id: id$1 }) => callMaybeCallableChild(phase.success, {
|
|
54
|
+
id: id$1,
|
|
55
|
+
data
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
}).catch((error) => {
|
|
59
|
+
update(id, {
|
|
60
|
+
type: "error",
|
|
61
|
+
duration: 5e3,
|
|
62
|
+
message: ({ id: id$1 }) => callMaybeCallableChild(phase.error, {
|
|
63
|
+
id: id$1,
|
|
64
|
+
error
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
export { useToaster };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { context } from "./context.jsx";
|
|
2
|
+
import { createUniqueId } from "solid-js";
|
|
3
|
+
import { callMaybeCallableChild } from "solid-tiny-utils";
|
|
4
|
+
|
|
5
|
+
//#region src/components/toaster/use-toaster.ts
|
|
6
|
+
function createPreset(presets, toast) {
|
|
7
|
+
return (msg, opt) => {
|
|
8
|
+
return toast(msg, {
|
|
9
|
+
...presets,
|
|
10
|
+
...opt
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function useToaster() {
|
|
15
|
+
const [state, actions] = context.useContext();
|
|
16
|
+
const toast = (msg, opt) => {
|
|
17
|
+
const id = `toast-${createUniqueId()}`;
|
|
18
|
+
actions.setState("toasts", (toasts) => [{
|
|
19
|
+
id,
|
|
20
|
+
type: opt?.type || "blank",
|
|
21
|
+
duration: opt?.duration ?? state.defaultDuration,
|
|
22
|
+
position: opt?.position || state.defaultPosition,
|
|
23
|
+
message: msg,
|
|
24
|
+
icon: opt?.icon ?? null
|
|
25
|
+
}, ...toasts]);
|
|
26
|
+
return id;
|
|
27
|
+
};
|
|
28
|
+
return Object.assign(toast, {
|
|
29
|
+
blank: createPreset({ type: "blank" }, toast),
|
|
30
|
+
loading: createPreset({
|
|
31
|
+
type: "loading",
|
|
32
|
+
duration: 0
|
|
33
|
+
}, toast),
|
|
34
|
+
success: createPreset({ type: "success" }, toast),
|
|
35
|
+
error: createPreset({ type: "error" }, toast),
|
|
36
|
+
info: createPreset({ type: "info" }, toast),
|
|
37
|
+
warning: createPreset({ type: "warning" }, toast),
|
|
38
|
+
promise: createPromiseToast(toast, actions.updateToast),
|
|
39
|
+
dismiss: actions.dismissToast,
|
|
40
|
+
update: actions.updateToast
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function createPromiseToast(toast, update) {
|
|
44
|
+
return (promise, phase) => {
|
|
45
|
+
const id = toast((params) => callMaybeCallableChild(phase.loading, { ...params }), {
|
|
46
|
+
type: "loading",
|
|
47
|
+
duration: 0
|
|
48
|
+
});
|
|
49
|
+
promise.then((data) => {
|
|
50
|
+
update(id, {
|
|
51
|
+
type: "success",
|
|
52
|
+
duration: 5e3,
|
|
53
|
+
message: ({ id: id$1 }) => callMaybeCallableChild(phase.success, {
|
|
54
|
+
id: id$1,
|
|
55
|
+
data
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
}).catch((error) => {
|
|
59
|
+
update(id, {
|
|
60
|
+
type: "error",
|
|
61
|
+
duration: 5e3,
|
|
62
|
+
message: ({ id: id$1 }) => callMaybeCallableChild(phase.error, {
|
|
63
|
+
id: id$1,
|
|
64
|
+
error
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
export { useToaster };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ClassNames, Styles } from "../../utils/types.js";
|
|
1
2
|
import { JSX } from "solid-js";
|
|
2
3
|
|
|
3
4
|
//#region src/components/tooltip/tooltip.d.ts
|
|
@@ -6,6 +7,12 @@ interface TooltipProps {
|
|
|
6
7
|
content: string;
|
|
7
8
|
children: JSX.Element;
|
|
8
9
|
disabled?: boolean;
|
|
10
|
+
classNames?: ClassNames<"content", {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
styles?: Styles<"content", {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}>;
|
|
9
16
|
}
|
|
10
17
|
declare function Tooltip(props: TooltipProps): JSX.Element;
|
|
11
18
|
//#endregion
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { createClassStyles } from "../../utils/index.js";
|
|
1
2
|
import tooltip_default from "../../_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/tooltip/tooltip.js";
|
|
2
3
|
import { FloatingUiCore } from "../../primitives/floating/index.js";
|
|
3
4
|
import { createComponent, memo } from "solid-js/web";
|
|
4
|
-
import { mountStyle } from "solid-tiny-utils";
|
|
5
|
+
import { combineClass, combineStyle, mountStyle } from "solid-tiny-utils";
|
|
5
6
|
|
|
6
7
|
//#region src/components/tooltip/tooltip.tsx
|
|
7
8
|
function Tooltip(props) {
|
|
8
9
|
mountStyle(tooltip_default, "tiny-tooltip");
|
|
10
|
+
const [classes, styles] = createClassStyles(() => props.classNames, () => props.styles, () => ({ disabled: props.disabled ?? false }));
|
|
9
11
|
return createComponent(FloatingUiCore, {
|
|
10
12
|
get disabled() {
|
|
11
13
|
return props.disabled;
|
|
@@ -18,7 +20,12 @@ function Tooltip(props) {
|
|
|
18
20
|
return [createComponent(FloatingUiCore.Trigger, { get children() {
|
|
19
21
|
return props.children;
|
|
20
22
|
} }), createComponent(FloatingUiCore.Content, {
|
|
21
|
-
"class"
|
|
23
|
+
get ["class"]() {
|
|
24
|
+
return combineClass("tiny-tooltip__content", classes().content);
|
|
25
|
+
},
|
|
26
|
+
get style() {
|
|
27
|
+
return combineStyle({}, styles().content);
|
|
28
|
+
},
|
|
22
29
|
get children() {
|
|
23
30
|
return props.content;
|
|
24
31
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { createClassStyles } from "../../utils/index.jsx";
|
|
1
2
|
import tooltip_default from "../../_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/tooltip/tooltip.jsx";
|
|
2
3
|
import { FloatingUiCore } from "../../primitives/floating/index.jsx";
|
|
3
|
-
import { mountStyle } from "solid-tiny-utils";
|
|
4
|
+
import { combineClass, combineStyle, mountStyle } from "solid-tiny-utils";
|
|
4
5
|
|
|
5
6
|
//#region src/components/tooltip/tooltip.tsx
|
|
6
7
|
function Tooltip(props) {
|
|
7
8
|
mountStyle(tooltip_default, "tiny-tooltip");
|
|
9
|
+
const [classes, styles] = createClassStyles(() => props.classNames, () => props.styles, () => ({ disabled: props.disabled ?? false }));
|
|
8
10
|
return <FloatingUiCore disabled={props.disabled} placement={props.placement ?? "top"} trigger="hover">
|
|
9
11
|
<FloatingUiCore.Trigger>{props.children}</FloatingUiCore.Trigger>
|
|
10
|
-
<FloatingUiCore.Content class="tiny-tooltip__content">
|
|
12
|
+
<FloatingUiCore.Content class={combineClass("tiny-tooltip__content", classes().content)} style={combineStyle({}, styles().content)}>
|
|
11
13
|
{props.content}
|
|
12
14
|
</FloatingUiCore.Content>
|
|
13
15
|
</FloatingUiCore>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import visually_hidden_default from "../../_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/visually-hidden/visually-hidden.js";
|
|
2
|
+
import { Dynamic, createComponent, memo, mergeProps } from "solid-js/web";
|
|
3
|
+
import { combineClass, mountStyle } from "solid-tiny-utils";
|
|
4
|
+
|
|
5
|
+
//#region src/components/visually-hidden/index.tsx
|
|
6
|
+
function VisuallyHidden(props) {
|
|
7
|
+
mountStyle(visually_hidden_default, "tiny-visually-hidden");
|
|
8
|
+
return createComponent(Dynamic, mergeProps(props, {
|
|
9
|
+
get ["class"]() {
|
|
10
|
+
return combineClass("tiny-visually-hidden", props.class);
|
|
11
|
+
},
|
|
12
|
+
get component() {
|
|
13
|
+
return props.as ?? "span";
|
|
14
|
+
}
|
|
15
|
+
}));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { VisuallyHidden };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import visually_hidden_default from "../../_virtual/__viteSafe__/home/runner/work/solid-tiny-ui/solid-tiny-ui/packages/core/src/components/visually-hidden/visually-hidden.jsx";
|
|
2
|
+
import { combineClass, mountStyle } from "solid-tiny-utils";
|
|
3
|
+
import { Dynamic } from "solid-js/web";
|
|
4
|
+
|
|
5
|
+
//#region src/components/visually-hidden/index.tsx
|
|
6
|
+
function VisuallyHidden(props) {
|
|
7
|
+
mountStyle(visually_hidden_default, "tiny-visually-hidden");
|
|
8
|
+
return <Dynamic {...props} class={combineClass("tiny-visually-hidden", props.class)} component={props.as ?? "span"} />;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { VisuallyHidden };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IconProps } from "./common.js";
|
|
2
|
+
import * as solid_js16 from "solid-js";
|
|
2
3
|
|
|
3
4
|
//#region src/icons/arrow-down-s-line.d.ts
|
|
4
|
-
declare function ArrowDownSLine():
|
|
5
|
+
declare function ArrowDownSLine(props: IconProps): solid_js16.JSX.Element;
|
|
5
6
|
//#endregion
|
|
6
7
|
export { ArrowDownSLine };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SvgWrapper } from "./common.js";
|
|
2
|
-
import { createComponent, template } from "solid-js/web";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/arrow-down-s-line.tsx
|
|
5
5
|
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="m12 13.171l4.95-4.95l1.414 1.415L12 16L5.636 9.636L7.05 8.222z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
-
function ArrowDownSLine() {
|
|
7
|
-
return createComponent(SvgWrapper, { get children() {
|
|
6
|
+
function ArrowDownSLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
8
|
return _tmpl$();
|
|
9
|
-
} });
|
|
9
|
+
} }));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SvgWrapper } from "./common.jsx";
|
|
2
2
|
|
|
3
3
|
//#region src/icons/arrow-down-s-line.tsx
|
|
4
|
-
function ArrowDownSLine() {
|
|
5
|
-
return <SvgWrapper>
|
|
4
|
+
function ArrowDownSLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
6
|
<path d="m12 13.171l4.95-4.95l1.414 1.415L12 16L5.636 9.636L7.05 8.222z" fill="currentColor" />
|
|
7
7
|
</SvgWrapper>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/arrow-left.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="m10.828 12l4.95 4.95l-1.414 1.415L8 12l6.364-6.364l1.414 1.414z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function IconArrowLeft(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconArrowLeft };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/arrow-left.tsx
|
|
4
|
+
function IconArrowLeft(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="m10.828 12l4.95 4.95l-1.414 1.415L8 12l6.364-6.364l1.414 1.414z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { IconArrowLeft };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/arrow-right.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="m13.172 12l-4.95-4.95l1.414-1.413L16 12l-6.364 6.364l-1.414-1.415z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function IconArrowRight(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconArrowRight };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/arrow-right.tsx
|
|
4
|
+
function IconArrowRight(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="m13.172 12l-4.95-4.95l1.414-1.413L16 12l-6.364 6.364l-1.414-1.415z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { IconArrowRight };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/check-bold.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="m6 10l-2 2l6 6L20 8l-2-2l-8 8z"fill=currentColor fill-rule=evenodd></svg>`, false, true, false);
|
|
6
|
+
function CheckBold(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { CheckBold };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/check-bold.tsx
|
|
4
|
+
function CheckBold(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="m6 10l-2 2l6 6L20 8l-2-2l-8 8z" fill="currentColor" fill-rule="evenodd" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { CheckBold };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/check-line.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="m10 15.17l9.192-9.191l1.414 1.414L10 17.999l-6.364-6.364l1.414-1.414z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function CheckLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { CheckLine };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/check-line.tsx
|
|
4
|
+
function CheckLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="m10 15.17l9.192-9.191l1.414 1.414L10 17.999l-6.364-6.364l1.414-1.414z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { CheckLine };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IconProps } from "./common.js";
|
|
2
|
+
import * as solid_js21 from "solid-js";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/checkbox-circle-line.d.ts
|
|
5
|
+
declare function IconCheckboxCircleLine(props: IconProps): solid_js21.JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { IconCheckboxCircleLine };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/checkbox-circle-line.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M4 12a8 8 0 1 1 16 0a8 8 0 0 1-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2m5.457 7.457l-1.414-1.414L11 13.086l-2.793-2.793l-1.414 1.414L11 15.914z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function IconCheckboxCircleLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconCheckboxCircleLine };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/checkbox-circle-line.tsx
|
|
4
|
+
function IconCheckboxCircleLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="M4 12a8 8 0 1 1 16 0a8 8 0 0 1-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2m5.457 7.457l-1.414-1.414L11 13.086l-2.793-2.793l-1.414 1.414L11 15.914z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { IconCheckboxCircleLine };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IconProps } from "./common.js";
|
|
2
|
+
import * as solid_js22 from "solid-js";
|
|
2
3
|
|
|
3
4
|
//#region src/icons/close-line.d.ts
|
|
4
|
-
declare function CloseLine():
|
|
5
|
+
declare function CloseLine(props: IconProps): solid_js22.JSX.Element;
|
|
5
6
|
//#endregion
|
|
6
7
|
export { CloseLine };
|
package/dist/icons/close-line.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SvgWrapper } from "./common.js";
|
|
2
|
-
import { createComponent, template } from "solid-js/web";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/close-line.tsx
|
|
5
5
|
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="m12 10.587l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.415 1.414l-4.95-4.95l-4.949 4.95l-1.414-1.415l4.95-4.95l-4.95-4.95L7.05 5.638z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
-
function CloseLine() {
|
|
7
|
-
return createComponent(SvgWrapper, { get children() {
|
|
6
|
+
function CloseLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
8
|
return _tmpl$();
|
|
9
|
-
} });
|
|
9
|
+
} }));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SvgWrapper } from "./common.jsx";
|
|
2
2
|
|
|
3
3
|
//#region src/icons/close-line.tsx
|
|
4
|
-
function CloseLine() {
|
|
5
|
-
return <SvgWrapper>
|
|
4
|
+
function CloseLine(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
6
|
<path d="m12 10.587l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.415 1.414l-4.95-4.95l-4.949 4.95l-1.414-1.415l4.95-4.95l-4.95-4.95L7.05 5.638z" fill="currentColor" />
|
|
7
7
|
</SvgWrapper>;
|
|
8
8
|
}
|
package/dist/icons/common.js
CHANGED
|
@@ -2,13 +2,23 @@ import { effect, insert, setAttribute, template } from "solid-js/web";
|
|
|
2
2
|
import { createMemo } from "solid-js";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/common.tsx
|
|
5
|
-
var _tmpl$ = /* @__PURE__ */ template(`<svg aria-label=icon
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg aria-label=icon role=img xmlns=http://www.w3.org/2000/svg>`);
|
|
6
6
|
function SvgWrapper(props) {
|
|
7
7
|
const size = createMemo(() => props.viewBoxSize || 24);
|
|
8
8
|
return (() => {
|
|
9
9
|
var _el$ = _tmpl$();
|
|
10
10
|
insert(_el$, () => props.children);
|
|
11
|
-
effect(() =>
|
|
11
|
+
effect((_p$) => {
|
|
12
|
+
var _v$ = props.size || "1.2em", _v$2 = `0 0 ${size()} ${size()}`, _v$3 = props.size || "1.2em";
|
|
13
|
+
_v$ !== _p$.e && setAttribute(_el$, "height", _p$.e = _v$);
|
|
14
|
+
_v$2 !== _p$.t && setAttribute(_el$, "viewBox", _p$.t = _v$2);
|
|
15
|
+
_v$3 !== _p$.a && setAttribute(_el$, "width", _p$.a = _v$3);
|
|
16
|
+
return _p$;
|
|
17
|
+
}, {
|
|
18
|
+
e: void 0,
|
|
19
|
+
t: void 0,
|
|
20
|
+
a: void 0
|
|
21
|
+
});
|
|
12
22
|
return _el$;
|
|
13
23
|
})();
|
|
14
24
|
}
|
package/dist/icons/common.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import { createMemo } from "solid-js";
|
|
|
3
3
|
//#region src/icons/common.tsx
|
|
4
4
|
function SvgWrapper(props) {
|
|
5
5
|
const size = createMemo(() => props.viewBoxSize || 24);
|
|
6
|
-
return <svg aria-label="icon" height="1.2em" role="img" viewBox={`0 0 ${size()} ${size()}`} width="1.2em" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
return <svg aria-label="icon" height={props.size || "1.2em"} role="img" viewBox={`0 0 ${size()} ${size()}`} width={props.size || "1.2em"} xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
{props.children}
|
|
8
8
|
</svg>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/ellipsis.tsx
|
|
5
|
+
var _tmpl$ = /* @__PURE__ */ template(`<svg><path d="M5 10c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m14 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m-7 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function IconEllipsis(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconEllipsis };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/ellipsis.tsx
|
|
4
|
+
function IconEllipsis(props) {
|
|
5
|
+
return <SvgWrapper {...props}>
|
|
6
|
+
<path d="M5 10c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m14 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m-7 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { IconEllipsis };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.js";
|
|
2
|
+
import { createComponent, mergeProps, template } from "solid-js/web";
|
|
3
|
+
|
|
4
|
+
//#region src/icons/error-warning-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 16m-1-5h2v2h-2zm0-8h2v6h-2z"fill=currentColor></svg>`, false, true, false);
|
|
6
|
+
function IconErrorWarningLine(props) {
|
|
7
|
+
return createComponent(SvgWrapper, mergeProps(props, { get children() {
|
|
8
|
+
return _tmpl$();
|
|
9
|
+
} }));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { IconErrorWarningLine };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SvgWrapper } from "./common.jsx";
|
|
2
|
+
|
|
3
|
+
//#region src/icons/error-warning-line.tsx
|
|
4
|
+
function IconErrorWarningLine(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 16m-1-5h2v2h-2zm0-8h2v6h-2z" fill="currentColor" />
|
|
7
|
+
</SvgWrapper>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { IconErrorWarningLine };
|