@edo-w/flatline-solid 0.2.1 → 0.3.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/button/index.css +124 -0
- package/dist/button/index.d.ts +2 -0
- package/dist/button/index.js +51 -0
- package/dist/button/index.js.map +1 -0
- package/dist/card/index.css +112 -0
- package/dist/card/index.d.ts +68 -0
- package/dist/card/index.js +181 -0
- package/dist/card/index.js.map +1 -0
- package/dist/checkbox/index.css +75 -0
- package/dist/checkbox/index.d.ts +55 -0
- package/dist/checkbox/index.js +156 -0
- package/dist/checkbox/index.js.map +1 -0
- package/dist/combobox/index.css +184 -0
- package/dist/combobox/index.d.ts +145 -0
- package/dist/combobox/index.js +894 -0
- package/dist/combobox/index.js.map +1 -0
- package/dist/dialog/index.css +218 -0
- package/dist/dialog/index.d.ts +65 -0
- package/dist/dialog/index.js +124 -0
- package/dist/dialog/index.js.map +1 -0
- package/dist/dropdown-menu/index.css +238 -0
- package/dist/dropdown-menu/index.d.ts +122 -0
- package/dist/dropdown-menu/index.js +199 -0
- package/dist/dropdown-menu/index.js.map +1 -0
- package/dist/flatline.css +467 -0
- package/dist/icons-CH4ghH8L.js +41 -0
- package/dist/icons-CH4ghH8L.js.map +1 -0
- package/dist/index-D-CV7Jz5.d.ts +30 -0
- package/dist/input/index.css +23 -0
- package/dist/input/index.d.ts +14 -0
- package/dist/input/index.js +24 -0
- package/dist/input/index.js.map +1 -0
- package/dist/label/index.css +11 -0
- package/dist/label/index.d.ts +14 -0
- package/dist/label/index.js +25 -0
- package/dist/label/index.js.map +1 -0
- package/dist/lite-CiFvU804.js +9 -0
- package/dist/lite-CiFvU804.js.map +1 -0
- package/dist/progress-bar/index.css +34 -0
- package/dist/progress-bar/index.d.ts +19 -0
- package/dist/progress-bar/index.js +61 -0
- package/dist/progress-bar/index.js.map +1 -0
- package/dist/radio/index.css +64 -0
- package/dist/radio/index.d.ts +55 -0
- package/dist/radio/index.js +143 -0
- package/dist/radio/index.js.map +1 -0
- package/dist/select/index.css +53 -0
- package/dist/select/index.d.ts +16 -0
- package/dist/select/index.js +51 -0
- package/dist/select/index.js.map +1 -0
- package/dist/slider/index.css +59 -0
- package/dist/slider/index.d.ts +16 -0
- package/dist/slider/index.js +37 -0
- package/dist/slider/index.js.map +1 -0
- package/dist/spinner/index.css +44 -0
- package/dist/spinner/index.d.ts +24 -0
- package/dist/spinner/index.js +48 -0
- package/dist/spinner/index.js.map +1 -0
- package/dist/switch/index.css +69 -0
- package/dist/switch/index.d.ts +22 -0
- package/dist/switch/index.js +75 -0
- package/dist/switch/index.js.map +1 -0
- package/dist/table/index.css +50 -0
- package/dist/table/index.d.ts +64 -0
- package/dist/table/index.js +142 -0
- package/dist/table/index.js.map +1 -0
- package/dist/tabs/index.css +114 -0
- package/dist/tabs/index.d.ts +40 -0
- package/dist/tabs/index.js +67 -0
- package/dist/tabs/index.js.map +1 -0
- package/dist/textarea/index.css +35 -0
- package/dist/textarea/index.d.ts +14 -0
- package/dist/textarea/index.js +24 -0
- package/dist/textarea/index.js.map +1 -0
- package/dist/xstack/index.d.ts +1 -0
- package/dist/xstack/index.js +0 -0
- package/dist/ystack/index.css +26 -0
- package/dist/ystack/index.d.ts +25 -0
- package/dist/ystack/index.js +47 -0
- package/dist/ystack/index.js.map +1 -0
- package/package.json +30 -5
- package/dist/src/components/button/button.css +0 -156
- package/dist/src/components/button/button.d.ts +0 -9
- package/dist/src/components/button/button.jsx +0 -21
- package/dist/src/components/button/button.jsx.map +0 -1
- package/dist/src/components/button/class.d.ts +0 -16
- package/dist/src/components/button/class.js +0 -15
- package/dist/src/components/button/class.js.map +0 -1
- package/dist/src/components/button/index.d.ts +0 -2
- package/dist/src/components/button/index.js +0 -3
- package/dist/src/components/button/index.js.map +0 -1
- package/dist/src/components/card/card-action.css +0 -15
- package/dist/src/components/card/card-content.css +0 -13
- package/dist/src/components/card/card-footer.css +0 -39
- package/dist/src/components/card/card-header.css +0 -13
- package/dist/src/components/card/card-root.css +0 -31
- package/dist/src/components/card/card-subtitle.css +0 -12
- package/dist/src/components/card/card-title.css +0 -33
- package/dist/src/components/card/card.d.ts +0 -42
- package/dist/src/components/card/card.jsx +0 -86
- package/dist/src/components/card/card.jsx.map +0 -1
- package/dist/src/components/card/class.d.ts +0 -28
- package/dist/src/components/card/class.js +0 -27
- package/dist/src/components/card/class.js.map +0 -1
- package/dist/src/components/card/index.d.ts +0 -2
- package/dist/src/components/card/index.js +0 -3
- package/dist/src/components/card/index.js.map +0 -1
- package/dist/src/components/checkbox/checkbox-group.css +0 -9
- package/dist/src/components/checkbox/checkbox-group.d.ts +0 -3
- package/dist/src/components/checkbox/checkbox-group.jsx +0 -43
- package/dist/src/components/checkbox/checkbox-group.jsx.map +0 -1
- package/dist/src/components/checkbox/checkbox-root.css +0 -85
- package/dist/src/components/checkbox/checkbox-root.d.ts +0 -4
- package/dist/src/components/checkbox/checkbox-root.jsx +0 -55
- package/dist/src/components/checkbox/checkbox-root.jsx.map +0 -1
- package/dist/src/components/checkbox/checkbox.d.ts +0 -9
- package/dist/src/components/checkbox/checkbox.jsx +0 -6
- package/dist/src/components/checkbox/checkbox.jsx.map +0 -1
- package/dist/src/components/checkbox/class.d.ts +0 -8
- package/dist/src/components/checkbox/class.js +0 -9
- package/dist/src/components/checkbox/class.js.map +0 -1
- package/dist/src/components/checkbox/context.d.ts +0 -9
- package/dist/src/components/checkbox/context.js +0 -6
- package/dist/src/components/checkbox/context.js.map +0 -1
- package/dist/src/components/checkbox/index.d.ts +0 -6
- package/dist/src/components/checkbox/index.js +0 -7
- package/dist/src/components/checkbox/index.js.map +0 -1
- package/dist/src/components/checkbox/types.d.ts +0 -16
- package/dist/src/components/checkbox/types.js +0 -1
- package/dist/src/components/checkbox/types.js.map +0 -1
- package/dist/src/components/combobox/class.d.ts +0 -13
- package/dist/src/components/combobox/class.js +0 -14
- package/dist/src/components/combobox/class.js.map +0 -1
- package/dist/src/components/combobox/combobox-content.css +0 -20
- package/dist/src/components/combobox/combobox-content.d.ts +0 -2
- package/dist/src/components/combobox/combobox-content.jsx +0 -15
- package/dist/src/components/combobox/combobox-content.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-control.css +0 -29
- package/dist/src/components/combobox/combobox-control.d.ts +0 -3
- package/dist/src/components/combobox/combobox-control.jsx +0 -19
- package/dist/src/components/combobox/combobox-control.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-group.css +0 -32
- package/dist/src/components/combobox/combobox-group.d.ts +0 -2
- package/dist/src/components/combobox/combobox-group.jsx +0 -12
- package/dist/src/components/combobox/combobox-group.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-hidden-select.d.ts +0 -2
- package/dist/src/components/combobox/combobox-hidden-select.jsx +0 -8
- package/dist/src/components/combobox/combobox-hidden-select.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-icon.css +0 -11
- package/dist/src/components/combobox/combobox-icon.d.ts +0 -2
- package/dist/src/components/combobox/combobox-icon.jsx +0 -12
- package/dist/src/components/combobox/combobox-icon.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-input.css +0 -32
- package/dist/src/components/combobox/combobox-input.d.ts +0 -3
- package/dist/src/components/combobox/combobox-input.jsx +0 -101
- package/dist/src/components/combobox/combobox-input.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-item-indicator.css +0 -11
- package/dist/src/components/combobox/combobox-item-indicator.d.ts +0 -2
- package/dist/src/components/combobox/combobox-item-indicator.jsx +0 -16
- package/dist/src/components/combobox/combobox-item-indicator.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-item-label.d.ts +0 -2
- package/dist/src/components/combobox/combobox-item-label.jsx +0 -13
- package/dist/src/components/combobox/combobox-item-label.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-item.css +0 -48
- package/dist/src/components/combobox/combobox-item.d.ts +0 -3
- package/dist/src/components/combobox/combobox-item.jsx +0 -37
- package/dist/src/components/combobox/combobox-item.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-listbox.css +0 -21
- package/dist/src/components/combobox/combobox-listbox.d.ts +0 -2
- package/dist/src/components/combobox/combobox-listbox.jsx +0 -39
- package/dist/src/components/combobox/combobox-listbox.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-portal.d.ts +0 -2
- package/dist/src/components/combobox/combobox-portal.jsx +0 -6
- package/dist/src/components/combobox/combobox-portal.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-root.css +0 -12
- package/dist/src/components/combobox/combobox-root.d.ts +0 -3
- package/dist/src/components/combobox/combobox-root.jsx +0 -407
- package/dist/src/components/combobox/combobox-root.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-trigger.css +0 -31
- package/dist/src/components/combobox/combobox-trigger.d.ts +0 -3
- package/dist/src/components/combobox/combobox-trigger.jsx +0 -30
- package/dist/src/components/combobox/combobox-trigger.jsx.map +0 -1
- package/dist/src/components/combobox/combobox.d.ts +0 -43
- package/dist/src/components/combobox/combobox.jsx +0 -39
- package/dist/src/components/combobox/combobox.jsx.map +0 -1
- package/dist/src/components/combobox/context.d.ts +0 -47
- package/dist/src/components/combobox/context.js +0 -18
- package/dist/src/components/combobox/context.js.map +0 -1
- package/dist/src/components/combobox/index.d.ts +0 -2
- package/dist/src/components/combobox/index.js +0 -3
- package/dist/src/components/combobox/index.js.map +0 -1
- package/dist/src/components/combobox/types.d.ts +0 -68
- package/dist/src/components/combobox/types.js +0 -1
- package/dist/src/components/combobox/types.js.map +0 -1
- package/dist/src/components/combobox/util.d.ts +0 -6
- package/dist/src/components/combobox/util.js +0 -58
- package/dist/src/components/combobox/util.js.map +0 -1
- package/dist/src/components/dialog/class.d.ts +0 -18
- package/dist/src/components/dialog/class.js +0 -18
- package/dist/src/components/dialog/class.js.map +0 -1
- package/dist/src/components/dialog/dialog-close-button.css +0 -48
- package/dist/src/components/dialog/dialog-content.css +0 -89
- package/dist/src/components/dialog/dialog-description.css +0 -6
- package/dist/src/components/dialog/dialog-header.css +0 -12
- package/dist/src/components/dialog/dialog-overlay.css +0 -43
- package/dist/src/components/dialog/dialog-positioner.css +0 -14
- package/dist/src/components/dialog/dialog-title.css +0 -6
- package/dist/src/components/dialog/dialog-trigger.css +0 -63
- package/dist/src/components/dialog/dialog.d.ts +0 -50
- package/dist/src/components/dialog/dialog.jsx +0 -89
- package/dist/src/components/dialog/dialog.jsx.map +0 -1
- package/dist/src/components/dialog/index.d.ts +0 -2
- package/dist/src/components/dialog/index.js +0 -3
- package/dist/src/components/dialog/index.js.map +0 -1
- package/dist/src/components/dropdown-menu/class.d.ts +0 -16
- package/dist/src/components/dropdown-menu/class.js +0 -17
- package/dist/src/components/dropdown-menu/class.js.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.css +0 -7
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.css +0 -38
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-content.css +0 -50
- package/dist/src/components/dropdown-menu/dropdown-menu-content.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-content.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-content.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.css +0 -15
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-group.d.ts +0 -2
- package/dist/src/components/dropdown-menu/dropdown-menu-group.jsx +0 -7
- package/dist/src/components/dropdown-menu/dropdown-menu-group.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.css +0 -21
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.css +0 -12
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.css +0 -18
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.jsx +0 -11
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-item.css +0 -37
- package/dist/src/components/dropdown-menu/dropdown-menu-item.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-item.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-item.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-portal.d.ts +0 -2
- package/dist/src/components/dropdown-menu/dropdown-menu-portal.jsx +0 -5
- package/dist/src/components/dropdown-menu/dropdown-menu-portal.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.d.ts +0 -2
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.jsx +0 -7
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.css +0 -38
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-root.d.ts +0 -2
- package/dist/src/components/dropdown-menu/dropdown-menu-root.jsx +0 -5
- package/dist/src/components/dropdown-menu/dropdown-menu-root.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.css +0 -11
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.css +0 -26
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.css +0 -43
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.jsx +0 -10
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-sub.d.ts +0 -2
- package/dist/src/components/dropdown-menu/dropdown-menu-sub.jsx +0 -5
- package/dist/src/components/dropdown-menu/dropdown-menu-sub.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.css +0 -7
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -3
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.jsx +0 -16
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/dropdown-menu.d.ts +0 -43
- package/dist/src/components/dropdown-menu/dropdown-menu.jsx +0 -39
- package/dist/src/components/dropdown-menu/dropdown-menu.jsx.map +0 -1
- package/dist/src/components/dropdown-menu/index.d.ts +0 -21
- package/dist/src/components/dropdown-menu/index.js +0 -22
- package/dist/src/components/dropdown-menu/index.js.map +0 -1
- package/dist/src/components/dropdown-menu/types.d.ts +0 -21
- package/dist/src/components/dropdown-menu/types.js +0 -1
- package/dist/src/components/dropdown-menu/types.js.map +0 -1
- package/dist/src/components/input/class.d.ts +0 -3
- package/dist/src/components/input/class.js +0 -4
- package/dist/src/components/input/class.js.map +0 -1
- package/dist/src/components/input/index.d.ts +0 -2
- package/dist/src/components/input/index.js +0 -3
- package/dist/src/components/input/index.js.map +0 -1
- package/dist/src/components/input/input.css +0 -34
- package/dist/src/components/input/input.d.ts +0 -6
- package/dist/src/components/input/input.jsx +0 -10
- package/dist/src/components/input/input.jsx.map +0 -1
- package/dist/src/components/label/class.d.ts +0 -3
- package/dist/src/components/label/class.js +0 -4
- package/dist/src/components/label/class.js.map +0 -1
- package/dist/src/components/label/index.d.ts +0 -2
- package/dist/src/components/label/index.js +0 -3
- package/dist/src/components/label/index.js.map +0 -1
- package/dist/src/components/label/label.css +0 -16
- package/dist/src/components/label/label.d.ts +0 -6
- package/dist/src/components/label/label.jsx +0 -12
- package/dist/src/components/label/label.jsx.map +0 -1
- package/dist/src/components/progress-bar/class.d.ts +0 -4
- package/dist/src/components/progress-bar/class.js +0 -5
- package/dist/src/components/progress-bar/class.js.map +0 -1
- package/dist/src/components/progress-bar/index.d.ts +0 -2
- package/dist/src/components/progress-bar/index.js +0 -3
- package/dist/src/components/progress-bar/index.js.map +0 -1
- package/dist/src/components/progress-bar/progress-bar.css +0 -43
- package/dist/src/components/progress-bar/progress-bar.d.ts +0 -9
- package/dist/src/components/progress-bar/progress-bar.jsx +0 -24
- package/dist/src/components/progress-bar/progress-bar.jsx.map +0 -1
- package/dist/src/components/radio/class.d.ts +0 -8
- package/dist/src/components/radio/class.js +0 -9
- package/dist/src/components/radio/class.js.map +0 -1
- package/dist/src/components/radio/context.d.ts +0 -9
- package/dist/src/components/radio/context.js +0 -6
- package/dist/src/components/radio/context.js.map +0 -1
- package/dist/src/components/radio/index.d.ts +0 -6
- package/dist/src/components/radio/index.js +0 -7
- package/dist/src/components/radio/index.js.map +0 -1
- package/dist/src/components/radio/radio-group.css +0 -9
- package/dist/src/components/radio/radio-group.d.ts +0 -3
- package/dist/src/components/radio/radio-group.jsx +0 -33
- package/dist/src/components/radio/radio-group.jsx.map +0 -1
- package/dist/src/components/radio/radio-root.css +0 -75
- package/dist/src/components/radio/radio-root.d.ts +0 -4
- package/dist/src/components/radio/radio-root.jsx +0 -51
- package/dist/src/components/radio/radio-root.jsx.map +0 -1
- package/dist/src/components/radio/radio.d.ts +0 -11
- package/dist/src/components/radio/radio.jsx +0 -7
- package/dist/src/components/radio/radio.jsx.map +0 -1
- package/dist/src/components/radio/types.d.ts +0 -16
- package/dist/src/components/radio/types.js +0 -1
- package/dist/src/components/radio/types.js.map +0 -1
- package/dist/src/components/select/class.d.ts +0 -5
- package/dist/src/components/select/class.js +0 -6
- package/dist/src/components/select/class.js.map +0 -1
- package/dist/src/components/select/index.d.ts +0 -2
- package/dist/src/components/select/index.js +0 -3
- package/dist/src/components/select/index.js.map +0 -1
- package/dist/src/components/select/select.css +0 -76
- package/dist/src/components/select/select.d.ts +0 -6
- package/dist/src/components/select/select.jsx +0 -16
- package/dist/src/components/select/select.jsx.map +0 -1
- package/dist/src/components/slider/class.d.ts +0 -3
- package/dist/src/components/slider/class.js +0 -4
- package/dist/src/components/slider/class.js.map +0 -1
- package/dist/src/components/slider/index.d.ts +0 -2
- package/dist/src/components/slider/index.js +0 -3
- package/dist/src/components/slider/index.js.map +0 -1
- package/dist/src/components/slider/slider.css +0 -83
- package/dist/src/components/slider/slider.d.ts +0 -7
- package/dist/src/components/slider/slider.jsx +0 -19
- package/dist/src/components/slider/slider.jsx.map +0 -1
- package/dist/src/components/spinner/class.d.ts +0 -10
- package/dist/src/components/spinner/class.js +0 -10
- package/dist/src/components/spinner/class.js.map +0 -1
- package/dist/src/components/spinner/index.d.ts +0 -2
- package/dist/src/components/spinner/index.js +0 -3
- package/dist/src/components/spinner/index.js.map +0 -1
- package/dist/src/components/spinner/spinner.css +0 -51
- package/dist/src/components/spinner/spinner.d.ts +0 -9
- package/dist/src/components/spinner/spinner.jsx +0 -22
- package/dist/src/components/spinner/spinner.jsx.map +0 -1
- package/dist/src/components/switch/class.d.ts +0 -7
- package/dist/src/components/switch/class.js +0 -8
- package/dist/src/components/switch/class.js.map +0 -1
- package/dist/src/components/switch/index.d.ts +0 -2
- package/dist/src/components/switch/index.js +0 -3
- package/dist/src/components/switch/index.js.map +0 -1
- package/dist/src/components/switch/switch.css +0 -90
- package/dist/src/components/switch/switch.d.ts +0 -9
- package/dist/src/components/switch/switch.jsx +0 -28
- package/dist/src/components/switch/switch.jsx.map +0 -1
- package/dist/src/components/table/class.d.ts +0 -10
- package/dist/src/components/table/class.js +0 -11
- package/dist/src/components/table/class.js.map +0 -1
- package/dist/src/components/table/index.d.ts +0 -11
- package/dist/src/components/table/index.js +0 -12
- package/dist/src/components/table/index.js.map +0 -1
- package/dist/src/components/table/table-body.d.ts +0 -2
- package/dist/src/components/table/table-body.jsx +0 -10
- package/dist/src/components/table/table-body.jsx.map +0 -1
- package/dist/src/components/table/table-caption.css +0 -11
- package/dist/src/components/table/table-caption.d.ts +0 -3
- package/dist/src/components/table/table-caption.jsx +0 -11
- package/dist/src/components/table/table-caption.jsx.map +0 -1
- package/dist/src/components/table/table-cell.css +0 -12
- package/dist/src/components/table/table-cell.d.ts +0 -3
- package/dist/src/components/table/table-cell.jsx +0 -11
- package/dist/src/components/table/table-cell.jsx.map +0 -1
- package/dist/src/components/table/table-footer.css +0 -15
- package/dist/src/components/table/table-footer.d.ts +0 -3
- package/dist/src/components/table/table-footer.jsx +0 -11
- package/dist/src/components/table/table-footer.jsx.map +0 -1
- package/dist/src/components/table/table-head.css +0 -16
- package/dist/src/components/table/table-head.d.ts +0 -3
- package/dist/src/components/table/table-head.jsx +0 -11
- package/dist/src/components/table/table-head.jsx.map +0 -1
- package/dist/src/components/table/table-header.d.ts +0 -2
- package/dist/src/components/table/table-header.jsx +0 -10
- package/dist/src/components/table/table-header.jsx.map +0 -1
- package/dist/src/components/table/table-root.css +0 -12
- package/dist/src/components/table/table-root.d.ts +0 -3
- package/dist/src/components/table/table-root.jsx +0 -11
- package/dist/src/components/table/table-root.jsx.map +0 -1
- package/dist/src/components/table/table-row.css +0 -6
- package/dist/src/components/table/table-row.d.ts +0 -3
- package/dist/src/components/table/table-row.jsx +0 -11
- package/dist/src/components/table/table-row.jsx.map +0 -1
- package/dist/src/components/table/table.d.ts +0 -23
- package/dist/src/components/table/table.jsx +0 -19
- package/dist/src/components/table/table.jsx.map +0 -1
- package/dist/src/components/table/types.d.ts +0 -9
- package/dist/src/components/table/types.js +0 -1
- package/dist/src/components/table/types.js.map +0 -1
- package/dist/src/components/tabs/class.d.ts +0 -12
- package/dist/src/components/tabs/class.js +0 -12
- package/dist/src/components/tabs/class.js.map +0 -1
- package/dist/src/components/tabs/index.d.ts +0 -2
- package/dist/src/components/tabs/index.js +0 -3
- package/dist/src/components/tabs/index.js.map +0 -1
- package/dist/src/components/tabs/tabs-content.css +0 -24
- package/dist/src/components/tabs/tabs-indicator.css +0 -32
- package/dist/src/components/tabs/tabs-list.css +0 -26
- package/dist/src/components/tabs/tabs-root.css +0 -34
- package/dist/src/components/tabs/tabs-trigger.css +0 -58
- package/dist/src/components/tabs/tabs.d.ts +0 -27
- package/dist/src/components/tabs/tabs.jsx +0 -47
- package/dist/src/components/tabs/tabs.jsx.map +0 -1
- package/dist/src/components/textarea/class.d.ts +0 -3
- package/dist/src/components/textarea/class.js +0 -4
- package/dist/src/components/textarea/class.js.map +0 -1
- package/dist/src/components/textarea/index.d.ts +0 -2
- package/dist/src/components/textarea/index.js +0 -3
- package/dist/src/components/textarea/index.js.map +0 -1
- package/dist/src/components/textarea/textarea.css +0 -46
- package/dist/src/components/textarea/textarea.d.ts +0 -6
- package/dist/src/components/textarea/textarea.jsx +0 -10
- package/dist/src/components/textarea/textarea.jsx.map +0 -1
- package/dist/src/components/xstack/class.d.ts +0 -12
- package/dist/src/components/xstack/class.js +0 -12
- package/dist/src/components/xstack/class.js.map +0 -1
- package/dist/src/components/xstack/index.d.ts +0 -1
- package/dist/src/components/xstack/index.js +0 -1
- package/dist/src/components/xstack/index.js.map +0 -1
- package/dist/src/components/xstack/xstack.css +0 -34
- package/dist/src/components/xstack/xstack.d.ts +0 -9
- package/dist/src/components/xstack/xstack.jsx +0 -15
- package/dist/src/components/xstack/xstack.jsx.map +0 -1
- package/dist/src/components/ystack/class.d.ts +0 -11
- package/dist/src/components/ystack/class.js +0 -11
- package/dist/src/components/ystack/class.js.map +0 -1
- package/dist/src/components/ystack/index.d.ts +0 -2
- package/dist/src/components/ystack/index.js +0 -3
- package/dist/src/components/ystack/index.js.map +0 -1
- package/dist/src/components/ystack/ystack.css +0 -31
- package/dist/src/components/ystack/ystack.d.ts +0 -9
- package/dist/src/components/ystack/ystack.jsx +0 -15
- package/dist/src/components/ystack/ystack.jsx.map +0 -1
- package/dist/src/icons/check-icon.d.ts +0 -2
- package/dist/src/icons/check-icon.jsx +0 -8
- package/dist/src/icons/check-icon.jsx.map +0 -1
- package/dist/src/icons/chevron-down-icon.d.ts +0 -2
- package/dist/src/icons/chevron-down-icon.jsx +0 -8
- package/dist/src/icons/chevron-down-icon.jsx.map +0 -1
- package/dist/src/icons/chevron-right-icon.d.ts +0 -2
- package/dist/src/icons/chevron-right-icon.jsx +0 -8
- package/dist/src/icons/chevron-right-icon.jsx.map +0 -1
- package/dist/src/icons/dot-filled-icon.d.ts +0 -2
- package/dist/src/icons/dot-filled-icon.jsx +0 -8
- package/dist/src/icons/dot-filled-icon.jsx.map +0 -1
- package/dist/src/icons/index.d.ts +0 -5
- package/dist/src/icons/index.js +0 -6
- package/dist/src/icons/index.js.map +0 -1
- package/dist/src/icons/types.d.ts +0 -5
- package/dist/src/icons/types.js +0 -1
- package/dist/src/icons/types.js.map +0 -1
- package/dist/src/index.d.ts +0 -19
- package/dist/src/index.js +0 -20
- package/dist/src/index.js.map +0 -1
- package/dist/src/lib/reflect.d.ts +0 -1
- package/dist/src/lib/reflect.js +0 -4
- package/dist/src/lib/reflect.js.map +0 -1
- package/dist/src/style/colors.css +0 -267
- package/dist/src/style/flatline.css +0 -12
- package/dist/src/style/reset.css +0 -175
- package/dist/src/style/tokens.css +0 -139
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-tabs .fl-tabs_indicator {
|
|
3
|
-
/* layout */
|
|
4
|
-
position: absolute;
|
|
5
|
-
|
|
6
|
-
/* background */
|
|
7
|
-
background-color: var(--fl-tabs-indicator-color);
|
|
8
|
-
|
|
9
|
-
/* effects */
|
|
10
|
-
transition: all var(--fl-animation-duration) ease-in-out;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* horizontal indicator */
|
|
14
|
-
.fl-tabs .fl-tabs_indicator[data-orientation="horizontal"] {
|
|
15
|
-
/* layout */
|
|
16
|
-
bottom: calc(var(--fl-border-size, 1px) * -1);
|
|
17
|
-
height: var(--fl-tabs-indicator-size);
|
|
18
|
-
|
|
19
|
-
/* background */
|
|
20
|
-
border-radius: var(--fl-radius-full);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* vertical indicator */
|
|
24
|
-
.fl-tabs .fl-tabs_indicator[data-orientation="vertical"] {
|
|
25
|
-
/* layout */
|
|
26
|
-
right: calc(var(--fl-border-size, 1px) * -1);
|
|
27
|
-
width: var(--fl-tabs-indicator-size);
|
|
28
|
-
|
|
29
|
-
/* background */
|
|
30
|
-
border-radius: var(--fl-radius-full);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-tabs .fl-tabs_list {
|
|
3
|
-
/* layout */
|
|
4
|
-
position: relative;
|
|
5
|
-
display: flex;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* horizontal list */
|
|
9
|
-
.fl-tabs .fl-tabs_list[data-orientation="horizontal"] {
|
|
10
|
-
/* layout */
|
|
11
|
-
align-items: center;
|
|
12
|
-
|
|
13
|
-
/* background */
|
|
14
|
-
border-bottom: var(--fl-border-size, 1px) solid var(--fl-tabs-list-border-color);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* vertical list */
|
|
18
|
-
.fl-tabs .fl-tabs_list[data-orientation="vertical"] {
|
|
19
|
-
/* layout */
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
align-items: stretch;
|
|
22
|
-
|
|
23
|
-
/* background */
|
|
24
|
-
border-right: var(--fl-border-size, 1px) solid var(--fl-tabs-list-border-color);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-tabs {
|
|
3
|
-
--fl-tabs-indicator-size: 2px;
|
|
4
|
-
--fl-tabs-indicator-color: var(--fl-primary-color);
|
|
5
|
-
--fl-tabs-list-border-color: var(--fl-input-border-color, var(--fl-border-color));
|
|
6
|
-
--fl-tabs-trigger-hover-bg: var(--fl-input-bg-hover-color, color-mix(in oklab, white, black 5%));
|
|
7
|
-
--fl-tabs-trigger-focus-bg: color-mix(in oklab, var(--fl-input-bg-color, white), black 3%);
|
|
8
|
-
|
|
9
|
-
/* layout */
|
|
10
|
-
width: 100%;
|
|
11
|
-
|
|
12
|
-
/* text */
|
|
13
|
-
color: var(--fl-body-text-color);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* primary color variant */
|
|
17
|
-
.fl-tabs.--color-primary {
|
|
18
|
-
--fl-tabs-indicator-color: var(--fl-primary-color);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/* secondary color variant */
|
|
22
|
-
.fl-tabs.--color-secondary {
|
|
23
|
-
--fl-tabs-indicator-color: var(--fl-secondary-text-color);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* vertical orientation */
|
|
27
|
-
.fl-tabs[data-orientation="vertical"] {
|
|
28
|
-
/* layout */
|
|
29
|
-
display: flex;
|
|
30
|
-
|
|
31
|
-
/* spacing */
|
|
32
|
-
gap: var(--fl-size-4);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-tabs .fl-tabs_trigger {
|
|
3
|
-
/* reset */
|
|
4
|
-
appearance: none;
|
|
5
|
-
|
|
6
|
-
/* layout */
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
|
|
11
|
-
/* spacing */
|
|
12
|
-
padding-inline: var(--fl-size-4);
|
|
13
|
-
padding-block: var(--fl-input-pad-y, var(--fl-size-1-5));
|
|
14
|
-
|
|
15
|
-
/* background */
|
|
16
|
-
border: 0;
|
|
17
|
-
background: transparent;
|
|
18
|
-
|
|
19
|
-
/* text */
|
|
20
|
-
color: var(--fl-body-text-color);
|
|
21
|
-
font: inherit;
|
|
22
|
-
font-weight: var(--fl-font-weight-medium);
|
|
23
|
-
white-space: nowrap;
|
|
24
|
-
|
|
25
|
-
/* pointer */
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
user-select: none;
|
|
28
|
-
|
|
29
|
-
/* effects */
|
|
30
|
-
transition:
|
|
31
|
-
background-color 188ms ease-in-out,
|
|
32
|
-
color 188ms ease-in-out;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* hover state */
|
|
36
|
-
.fl-tabs .fl-tabs_trigger:hover:not([data-disabled]) {
|
|
37
|
-
background-color: var(--fl-tabs-trigger-hover-bg);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* focus-visible state */
|
|
41
|
-
.fl-tabs .fl-tabs_trigger:focus-visible {
|
|
42
|
-
outline: none;
|
|
43
|
-
background-color: var(--fl-tabs-trigger-focus-bg);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* selected state */
|
|
47
|
-
.fl-tabs .fl-tabs_trigger[data-selected] {
|
|
48
|
-
color: var(--fl-tabs-indicator-color);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* disabled state */
|
|
52
|
-
.fl-tabs .fl-tabs_trigger[data-disabled],
|
|
53
|
-
.fl-tabs .fl-tabs_trigger[data-disabled]:hover {
|
|
54
|
-
opacity: var(--fl-disabled-opacity);
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
cursor: var(--fl-disabled-cursor);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type TabsContentProps as KTabsContentProps, type TabsIndicatorProps as KTabsIndicatorProps, type TabsListProps as KTabsListProps, type TabsRootProps as KTabsRootProps, type TabsTriggerProps as KTabsTriggerProps } from '@kobalte/core/tabs';
|
|
2
|
-
import { type JSX } from 'solid-js';
|
|
3
|
-
import { type TabsColor } from './class';
|
|
4
|
-
import './tabs-root.css';
|
|
5
|
-
import './tabs-list.css';
|
|
6
|
-
import './tabs-trigger.css';
|
|
7
|
-
import './tabs-indicator.css';
|
|
8
|
-
import './tabs-content.css';
|
|
9
|
-
export type TabsRootBaseProps = KTabsRootProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export interface TabsRootProps extends TabsRootBaseProps {
|
|
11
|
-
color?: TabsColor;
|
|
12
|
-
}
|
|
13
|
-
export type TabsListProps = KTabsListProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
14
|
-
export type TabsTriggerProps = KTabsTriggerProps & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
15
|
-
export type TabsIndicatorProps = KTabsIndicatorProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
16
|
-
export type TabsContentProps = KTabsContentProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
17
|
-
export declare function TabsRoot(props: TabsRootProps): JSX.Element;
|
|
18
|
-
export declare function TabsList(props: TabsListProps): JSX.Element;
|
|
19
|
-
export declare function TabsTrigger(props: TabsTriggerProps): JSX.Element;
|
|
20
|
-
export declare function TabsIndicator(props: TabsIndicatorProps): JSX.Element;
|
|
21
|
-
export declare function TabsContent(props: TabsContentProps): JSX.Element;
|
|
22
|
-
export declare const Tabs: typeof TabsRoot & {
|
|
23
|
-
List: typeof TabsList;
|
|
24
|
-
Trigger: typeof TabsTrigger;
|
|
25
|
-
Indicator: typeof TabsIndicator;
|
|
26
|
-
Content: typeof TabsContent;
|
|
27
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Tabs as KTabs, } from '@kobalte/core/tabs';
|
|
2
|
-
import clsx from 'clsx/lite';
|
|
3
|
-
import { mergeProps, splitProps } from 'solid-js';
|
|
4
|
-
import { tabsClass } from './class';
|
|
5
|
-
import './tabs-root.css';
|
|
6
|
-
import './tabs-list.css';
|
|
7
|
-
import './tabs-trigger.css';
|
|
8
|
-
import './tabs-indicator.css';
|
|
9
|
-
import './tabs-content.css';
|
|
10
|
-
export function TabsRoot(props) {
|
|
11
|
-
const merged = mergeProps({
|
|
12
|
-
color: 'primary',
|
|
13
|
-
}, props);
|
|
14
|
-
const [local, rest] = splitProps(merged, ['class', 'color']);
|
|
15
|
-
const rootClass = () => {
|
|
16
|
-
const colorClass = tabsClass.color[local.color];
|
|
17
|
-
return clsx(tabsClass.root, colorClass, local.class);
|
|
18
|
-
};
|
|
19
|
-
return (<KTabs class={rootClass()} {...rest}/>);
|
|
20
|
-
}
|
|
21
|
-
export function TabsList(props) {
|
|
22
|
-
const [local, rest] = splitProps(props, ['class']);
|
|
23
|
-
const rootClass = () => clsx(tabsClass.list, local.class);
|
|
24
|
-
return (<KTabs.List class={rootClass()} {...rest}/>);
|
|
25
|
-
}
|
|
26
|
-
export function TabsTrigger(props) {
|
|
27
|
-
const [local, rest] = splitProps(props, ['class']);
|
|
28
|
-
const rootClass = () => clsx(tabsClass.trigger, local.class);
|
|
29
|
-
return (<KTabs.Trigger class={rootClass()} {...rest}/>);
|
|
30
|
-
}
|
|
31
|
-
export function TabsIndicator(props) {
|
|
32
|
-
const [local, rest] = splitProps(props, ['class']);
|
|
33
|
-
const rootClass = () => clsx(tabsClass.indicator, local.class);
|
|
34
|
-
return (<KTabs.Indicator class={rootClass()} {...rest}/>);
|
|
35
|
-
}
|
|
36
|
-
export function TabsContent(props) {
|
|
37
|
-
const [local, rest] = splitProps(props, ['class']);
|
|
38
|
-
const rootClass = () => clsx(tabsClass.content, local.class);
|
|
39
|
-
return (<KTabs.Content class={rootClass()} {...rest}/>);
|
|
40
|
-
}
|
|
41
|
-
export const Tabs = Object.assign(TabsRoot, {
|
|
42
|
-
List: TabsList,
|
|
43
|
-
Trigger: TabsTrigger,
|
|
44
|
-
Indicator: TabsIndicator,
|
|
45
|
-
Content: TabsContent,
|
|
46
|
-
});
|
|
47
|
-
//# sourceMappingURL=tabs.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.jsx","sourceRoot":"","sources":["../../../../src/components/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,IAAI,IAAI,KAAK,GAMb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAkB,SAAS,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAa5B,MAAM,UAAU,QAAQ,CAAC,KAAoB;IAC5C,MAAM,MAAM,GAAG,UAAU,CACxB;QACC,KAAK,EAAE,SAAS;KACP,EACV,KAAK,CACL,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAE7D,MAAM,SAAS,GAAG,GAAG,EAAE;QACtB,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAEhD,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC;IAEF,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,KAAoB;IAC5C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE1D,OAAO,CACN,CAAC,KAAK,CAAC,IAAI,CACV,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,KAAuB;IAClD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE7D,OAAO,CACN,CAAC,KAAK,CAAC,OAAO,CACb,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,KAAyB;IACtD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/D,OAAO,CACN,CAAC,KAAK,CAAC,SAAS,CACf,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,KAAuB;IAClD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE7D,OAAO,CACN,CAAC,KAAK,CAAC,OAAO,CACb,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;CACpB,CAAC,CAAC","sourcesContent":["import {\n\tTabs as KTabs,\n\ttype TabsContentProps as KTabsContentProps,\n\ttype TabsIndicatorProps as KTabsIndicatorProps,\n\ttype TabsListProps as KTabsListProps,\n\ttype TabsRootProps as KTabsRootProps,\n\ttype TabsTriggerProps as KTabsTriggerProps,\n} from '@kobalte/core/tabs';\nimport clsx from 'clsx/lite';\nimport { type JSX, mergeProps, splitProps } from 'solid-js';\nimport { type TabsColor, tabsClass } from './class';\nimport './tabs-root.css';\nimport './tabs-list.css';\nimport './tabs-trigger.css';\nimport './tabs-indicator.css';\nimport './tabs-content.css';\n\nexport type TabsRootBaseProps = KTabsRootProps & JSX.HTMLAttributes<HTMLDivElement>;\n\nexport interface TabsRootProps extends TabsRootBaseProps {\n\tcolor?: TabsColor;\n}\n\nexport type TabsListProps = KTabsListProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type TabsTriggerProps = KTabsTriggerProps & JSX.ButtonHTMLAttributes<HTMLButtonElement>;\nexport type TabsIndicatorProps = KTabsIndicatorProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type TabsContentProps = KTabsContentProps & JSX.HTMLAttributes<HTMLDivElement>;\n\nexport function TabsRoot(props: TabsRootProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\tcolor: 'primary',\n\t\t} as const,\n\t\tprops,\n\t);\n\tconst [local, rest] = splitProps(merged, ['class', 'color']);\n\n\tconst rootClass = () => {\n\t\tconst colorClass = tabsClass.color[local.color];\n\n\t\treturn clsx(tabsClass.root, colorClass, local.class);\n\t};\n\n\treturn (\n\t\t<KTabs\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function TabsList(props: TabsListProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(tabsClass.list, local.class);\n\n\treturn (\n\t\t<KTabs.List\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function TabsTrigger(props: TabsTriggerProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(tabsClass.trigger, local.class);\n\n\treturn (\n\t\t<KTabs.Trigger\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function TabsIndicator(props: TabsIndicatorProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(tabsClass.indicator, local.class);\n\n\treturn (\n\t\t<KTabs.Indicator\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport function TabsContent(props: TabsContentProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(tabsClass.content, local.class);\n\n\treturn (\n\t\t<KTabs.Content\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n\nexport const Tabs = Object.assign(TabsRoot, {\n\tList: TabsList,\n\tTrigger: TabsTrigger,\n\tIndicator: TabsIndicator,\n\tContent: TabsContent,\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/textarea/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,IAAI,EAAE,aAAa;CACV,CAAC","sourcesContent":["export const textAreaClass = {\n\troot: 'fl-textarea',\n} as const;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/textarea/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC","sourcesContent":["export * from './class';\nexport * from './textarea';\n"]}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-textarea {
|
|
3
|
-
/* reset */
|
|
4
|
-
appearance: initial;
|
|
5
|
-
outline: none;
|
|
6
|
-
|
|
7
|
-
/* layout */
|
|
8
|
-
display: block;
|
|
9
|
-
width: 100%;
|
|
10
|
-
min-width: 0;
|
|
11
|
-
min-height: var(--fl-size-24);
|
|
12
|
-
|
|
13
|
-
/* spacing */
|
|
14
|
-
padding-inline: var(--fl-input-pad-x);
|
|
15
|
-
padding-block: var(--fl-input-pad-y);
|
|
16
|
-
|
|
17
|
-
/* background */
|
|
18
|
-
background: var(--fl-input-bg-color);
|
|
19
|
-
border: var(--fl-input-border-size) solid var(--fl-input-border-color);
|
|
20
|
-
border-radius: var(--fl-input-border-radius);
|
|
21
|
-
box-shadow: var(--fl-input-shadow);
|
|
22
|
-
|
|
23
|
-
/* text */
|
|
24
|
-
color: var(--fl-input-text-color);
|
|
25
|
-
font: inherit;
|
|
26
|
-
line-height: 1.5;
|
|
27
|
-
|
|
28
|
-
/* pointer */
|
|
29
|
-
resize: vertical;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.fl-textarea::placeholder {
|
|
33
|
-
color: var(--fl-body-muted-text-color);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.fl-textarea:focus-visible:not(:disabled) {
|
|
37
|
-
border-color: var(--fl-input-border-focus-color);
|
|
38
|
-
outline: var(--fl-focus-ring-size) solid var(--fl-focus-ring-color);
|
|
39
|
-
outline-offset: 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.fl-textarea:disabled {
|
|
43
|
-
opacity: var(--fl-disabled-opacity);
|
|
44
|
-
cursor: var(--fl-disabled-cursor);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'solid-js';
|
|
2
|
-
import './textarea.css';
|
|
3
|
-
export type TextAreaBaseProps = JSX.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
4
|
-
export interface TextAreaProps extends TextAreaBaseProps {
|
|
5
|
-
}
|
|
6
|
-
export declare function TextArea(props: TextAreaProps): JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { textAreaClass } from './class';
|
|
4
|
-
import './textarea.css';
|
|
5
|
-
export function TextArea(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class']);
|
|
7
|
-
const rootClass = () => clsx(textAreaClass.root, local.class);
|
|
8
|
-
return (<textarea class={rootClass()} {...rest}/>);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=textarea.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.jsx","sourceRoot":"","sources":["../../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,gBAAgB,CAAC;AAMxB,MAAM,UAAU,QAAQ,CAAC,KAAoB;IAC5C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEnD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE9D,OAAO,CACN,CAAC,QAAQ,CACR,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { type JSX, splitProps } from 'solid-js';\nimport { textAreaClass } from './class';\nimport './textarea.css';\n\nexport type TextAreaBaseProps = JSX.TextareaHTMLAttributes<HTMLTextAreaElement>;\n\nexport interface TextAreaProps extends TextAreaBaseProps {}\n\nexport function TextArea(props: TextAreaProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\n\tconst rootClass = () => clsx(textAreaClass.root, local.class);\n\n\treturn (\n\t\t<textarea\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const xstackClass: {
|
|
2
|
-
readonly root: 'fl-xstack';
|
|
3
|
-
readonly garVar: '--fl-gap';
|
|
4
|
-
readonly align: {
|
|
5
|
-
readonly top: '--align-top';
|
|
6
|
-
readonly center: '--align-center';
|
|
7
|
-
readonly bottom: '--align-bottom';
|
|
8
|
-
readonly stretch: '--align-stretch';
|
|
9
|
-
readonly baseline: '--align-baseline';
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type XStackAlign = keyof typeof xstackClass.align;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const xstackClass = {
|
|
2
|
-
root: 'fl-xstack',
|
|
3
|
-
garVar: '--fl-gap',
|
|
4
|
-
align: {
|
|
5
|
-
top: '--align-top',
|
|
6
|
-
center: '--align-center',
|
|
7
|
-
bottom: '--align-bottom',
|
|
8
|
-
stretch: '--align-stretch',
|
|
9
|
-
baseline: '--align-baseline',
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/xstack/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE;QACN,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,gBAAgB;QACxB,MAAM,EAAE,gBAAgB;QACxB,OAAO,EAAE,iBAAiB;QAC1B,QAAQ,EAAE,kBAAkB;KAC5B;CACQ,CAAC","sourcesContent":["export const xstackClass = {\n\troot: 'fl-xstack',\n\tgarVar: '--fl-gap',\n\talign: {\n\t\ttop: '--align-top',\n\t\tcenter: '--align-center',\n\t\tbottom: '--align-bottom',\n\t\tstretch: '--align-stretch',\n\t\tbaseline: '--align-baseline',\n\t},\n} as const;\n\nexport type XStackAlign = keyof typeof xstackClass.align;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/xstack/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-xstack {
|
|
3
|
-
--fl-gap: 0;
|
|
4
|
-
|
|
5
|
-
/* layout */
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
align-items: stretch;
|
|
9
|
-
|
|
10
|
-
/* spacing */
|
|
11
|
-
gap: calc(var(--fl-gap) * var(--fl-size-unit));
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* alignment modifiers */
|
|
15
|
-
.fl-xstack.--align-top {
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.fl-xstack.--align-center {
|
|
20
|
-
align-items: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.fl-xstack.--align-bottom {
|
|
24
|
-
align-items: flex-end;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.fl-xstack.--align-stretch {
|
|
28
|
-
align-items: stretch;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.fl-xstack.--align-baseline {
|
|
32
|
-
align-items: baseline;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'solid-js';
|
|
2
|
-
import { type XStackAlign } from './class';
|
|
3
|
-
import './xstack.css';
|
|
4
|
-
export type XStackBaseProps = JSX.HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
export interface XStackProps extends XStackBaseProps {
|
|
6
|
-
gap?: number | string;
|
|
7
|
-
align?: XStackAlign;
|
|
8
|
-
}
|
|
9
|
-
export declare function XStack(props: XStackProps): JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { xstackClass } from './class';
|
|
4
|
-
import './xstack.css';
|
|
5
|
-
export function XStack(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children', 'gap', 'align']);
|
|
7
|
-
const rootClass = () => {
|
|
8
|
-
const alignClass = local.align ? xstackClass.align[local.align] : undefined;
|
|
9
|
-
return clsx(xstackClass.root, alignClass, local.class);
|
|
10
|
-
};
|
|
11
|
-
return (<div class={rootClass()} style={{ [xstackClass.garVar]: local.gap }} {...rest}>
|
|
12
|
-
{local.children}
|
|
13
|
-
</div>);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=xstack.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xstack.jsx","sourceRoot":"","sources":["../../../../src/components/xstack/xstack.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAoB,WAAW,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,cAAc,CAAC;AAStB,MAAM,UAAU,MAAM,CAAC,KAAkB;IACxC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAE/E,MAAM,SAAS,GAAG,GAAG,EAAE;QACtB,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAE5E,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC,CAAC;IAEF,OAAO,CACN,CAAC,GAAG,CACH,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,KAAK,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAC3C,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,GAAG,CAAC,CACN,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { type JSX, splitProps } from 'solid-js';\nimport { type XStackAlign, xstackClass } from './class';\nimport './xstack.css';\n\nexport type XStackBaseProps = JSX.HTMLAttributes<HTMLDivElement>;\n\nexport interface XStackProps extends XStackBaseProps {\n\tgap?: number | string;\n\talign?: XStackAlign;\n}\n\nexport function XStack(props: XStackProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children', 'gap', 'align']);\n\n\tconst rootClass = () => {\n\t\tconst alignClass = local.align ? xstackClass.align[local.align] : undefined;\n\n\t\treturn clsx(xstackClass.root, alignClass, local.class);\n\t};\n\n\treturn (\n\t\t<div\n\t\t\tclass={rootClass()}\n\t\t\tstyle={{ [xstackClass.garVar]: local.gap }}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</div>\n\t);\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const ystackClass: {
|
|
2
|
-
readonly root: 'fl-ystack';
|
|
3
|
-
readonly gapVar: '--fl-gap';
|
|
4
|
-
readonly align: {
|
|
5
|
-
readonly left: '--align-left';
|
|
6
|
-
readonly center: '--align-center';
|
|
7
|
-
readonly right: '--align-right';
|
|
8
|
-
readonly stretch: '--align-stretch';
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export type YStackAlign = keyof typeof ystackClass.align;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/ystack/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,UAAU;IAClB,KAAK,EAAE;QACN,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE,eAAe;QACtB,OAAO,EAAE,iBAAiB;KAC1B;CACQ,CAAC","sourcesContent":["export const ystackClass = {\n\troot: 'fl-ystack',\n\tgapVar: '--fl-gap',\n\talign: {\n\t\tleft: '--align-left',\n\t\tcenter: '--align-center',\n\t\tright: '--align-right',\n\t\tstretch: '--align-stretch',\n\t},\n} as const;\n\nexport type YStackAlign = keyof typeof ystackClass.align;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ystack/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC","sourcesContent":["export * from './class';\nexport * from './ystack';\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-ystack {
|
|
3
|
-
--fl-gap: 0;
|
|
4
|
-
|
|
5
|
-
/* layout */
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: stretch;
|
|
9
|
-
justify-content: flex-start;
|
|
10
|
-
|
|
11
|
-
/* spacing */
|
|
12
|
-
gap: calc(var(--fl-gap) * var(--fl-size-unit));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* alignment modifiers */
|
|
16
|
-
.fl-ystack.--align-left {
|
|
17
|
-
align-items: flex-start;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.fl-ystack.--align-center {
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.fl-ystack.--align-right {
|
|
25
|
-
align-items: flex-end;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.fl-ystack.--align-stretch {
|
|
29
|
-
align-items: stretch;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'solid-js';
|
|
2
|
-
import { type YStackAlign } from './class';
|
|
3
|
-
import './ystack.css';
|
|
4
|
-
export type YStackBaseProps = JSX.HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
export interface YStackProps extends YStackBaseProps {
|
|
6
|
-
gap?: number | string;
|
|
7
|
-
align?: YStackAlign;
|
|
8
|
-
}
|
|
9
|
-
export declare function YStack(props: YStackProps): JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { ystackClass } from './class';
|
|
4
|
-
import './ystack.css';
|
|
5
|
-
export function YStack(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children', 'gap', 'align']);
|
|
7
|
-
const rootClass = () => {
|
|
8
|
-
const alignClass = local.align ? ystackClass.align[local.align] : undefined;
|
|
9
|
-
return clsx(ystackClass.root, alignClass, local.class);
|
|
10
|
-
};
|
|
11
|
-
return (<div class={rootClass()} style={{ [ystackClass.gapVar]: local.gap }} {...rest}>
|
|
12
|
-
{local.children}
|
|
13
|
-
</div>);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=ystack.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ystack.jsx","sourceRoot":"","sources":["../../../../src/components/ystack/ystack.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAoB,WAAW,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,cAAc,CAAC;AAStB,MAAM,UAAU,MAAM,CAAC,KAAkB;IACxC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAE/E,MAAM,SAAS,GAAG,GAAG,EAAE;QACtB,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAE5E,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC,CAAC;IAEF,OAAO,CACN,CAAC,GAAG,CACH,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,KAAK,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAC3C,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,GAAG,CAAC,CACN,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { type JSX, splitProps } from 'solid-js';\nimport { type YStackAlign, ystackClass } from './class';\nimport './ystack.css';\n\nexport type YStackBaseProps = JSX.HTMLAttributes<HTMLDivElement>;\n\nexport interface YStackProps extends YStackBaseProps {\n\tgap?: number | string;\n\talign?: YStackAlign;\n}\n\nexport function YStack(props: YStackProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children', 'gap', 'align']);\n\n\tconst rootClass = () => {\n\t\tconst alignClass = local.align ? ystackClass.align[local.align] : undefined;\n\n\t\treturn clsx(ystackClass.root, alignClass, local.class);\n\t};\n\n\treturn (\n\t\t<div\n\t\t\tclass={rootClass()}\n\t\t\tstyle={{ [ystackClass.gapVar]: local.gap }}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</div>\n\t);\n}\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { splitProps } from 'solid-js';
|
|
2
|
-
export function CheckIcon(props) {
|
|
3
|
-
const [local, rest] = splitProps(props, ['w', 'h']);
|
|
4
|
-
return (<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" {...rest} width={local.w ?? '1rem'} height={local.h ?? '1rem'}>
|
|
5
|
-
<path d="M20 6 9 17l-5-5"/>
|
|
6
|
-
</svg>);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=check-icon.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-icon.jsx","sourceRoot":"","sources":["../../../src/icons/check-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,UAAU,SAAS,CAAC,KAAgB;IACzC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAEpD,OAAO,CACN,CAAC,GAAG,CACH,KAAK,CAAC,4BAA4B,CAClC,OAAO,CAAC,WAAW,CACnB,IAAI,CAAC,MAAM,CACX,MAAM,CAAC,cAAc,CACrB,YAAY,CAAC,GAAG,CAChB,cAAc,CAAC,OAAO,CACtB,eAAe,CAAC,OAAO,CACvB,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CACzB,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CAE1B;GAAA,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,EAC1B;EAAA,EAAE,GAAG,CAAC,CACN,CAAC;AACH,CAAC","sourcesContent":["import { splitProps } from 'solid-js';\nimport type { IconProps } from './types';\n\nexport function CheckIcon(props: IconProps) {\n\tconst [local, rest] = splitProps(props, ['w', 'h']);\n\n\treturn (\n\t\t<svg\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstroke-width=\"2\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\t{...rest}\n\t\t\twidth={local.w ?? '1rem'}\n\t\t\theight={local.h ?? '1rem'}\n\t\t>\n\t\t\t<path d=\"M20 6 9 17l-5-5\" />\n\t\t</svg>\n\t);\n}\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { splitProps } from 'solid-js';
|
|
2
|
-
export function ChevronDownIcon(props) {
|
|
3
|
-
const [local, rest] = splitProps(props, ['w', 'h']);
|
|
4
|
-
return (<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" {...rest} width={local.w ?? '1rem'} height={local.h ?? '1rem'}>
|
|
5
|
-
<path d="m6 9 6 6 6-6"/>
|
|
6
|
-
</svg>);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=chevron-down-icon.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-down-icon.jsx","sourceRoot":"","sources":["../../../src/icons/chevron-down-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,UAAU,eAAe,CAAC,KAAgB;IAC/C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAEpD,OAAO,CACN,CAAC,GAAG,CACH,KAAK,CAAC,4BAA4B,CAClC,OAAO,CAAC,WAAW,CACnB,IAAI,CAAC,MAAM,CACX,MAAM,CAAC,cAAc,CACrB,YAAY,CAAC,GAAG,CAChB,cAAc,CAAC,OAAO,CACtB,eAAe,CAAC,OAAO,CACvB,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CACzB,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CAE1B;GAAA,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,EACvB;EAAA,EAAE,GAAG,CAAC,CACN,CAAC;AACH,CAAC","sourcesContent":["import { splitProps } from 'solid-js';\nimport type { IconProps } from './types';\n\nexport function ChevronDownIcon(props: IconProps) {\n\tconst [local, rest] = splitProps(props, ['w', 'h']);\n\n\treturn (\n\t\t<svg\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstroke-width=\"2\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\t{...rest}\n\t\t\twidth={local.w ?? '1rem'}\n\t\t\theight={local.h ?? '1rem'}\n\t\t>\n\t\t\t<path d=\"m6 9 6 6 6-6\" />\n\t\t</svg>\n\t);\n}\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { splitProps } from 'solid-js';
|
|
2
|
-
export function ChevronRightIcon(props) {
|
|
3
|
-
const [local, rest] = splitProps(props, ['w', 'h']);
|
|
4
|
-
return (<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" {...rest} width={local.w ?? '1rem'} height={local.h ?? '1rem'}>
|
|
5
|
-
<path d="m9 6 6 6-6 6"/>
|
|
6
|
-
</svg>);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=chevron-right-icon.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-right-icon.jsx","sourceRoot":"","sources":["../../../src/icons/chevron-right-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,UAAU,gBAAgB,CAAC,KAAgB;IAChD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAEpD,OAAO,CACN,CAAC,GAAG,CACH,KAAK,CAAC,4BAA4B,CAClC,OAAO,CAAC,WAAW,CACnB,IAAI,CAAC,MAAM,CACX,MAAM,CAAC,cAAc,CACrB,YAAY,CAAC,GAAG,CAChB,cAAc,CAAC,OAAO,CACtB,eAAe,CAAC,OAAO,CACvB,IAAI,IAAI,CAAC,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CACzB,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CAE1B;GAAA,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,EACvB;EAAA,EAAE,GAAG,CAAC,CACN,CAAC;AACH,CAAC","sourcesContent":["import { splitProps } from 'solid-js';\nimport type { IconProps } from './types';\n\nexport function ChevronRightIcon(props: IconProps) {\n\tconst [local, rest] = splitProps(props, ['w', 'h']);\n\n\treturn (\n\t\t<svg\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstroke-width=\"2\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\t{...rest}\n\t\t\twidth={local.w ?? '1rem'}\n\t\t\theight={local.h ?? '1rem'}\n\t\t>\n\t\t\t<path d=\"m9 6 6 6-6 6\" />\n\t\t</svg>\n\t);\n}\n"]}
|