@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,39 +0,0 @@
|
|
|
1
|
-
import { DropdownMenuArrow } from './dropdown-menu-arrow';
|
|
2
|
-
import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-item';
|
|
3
|
-
import { DropdownMenuContent } from './dropdown-menu-content';
|
|
4
|
-
import { DropdownMenuGroup } from './dropdown-menu-group';
|
|
5
|
-
import { DropdownMenuGroupLabel } from './dropdown-menu-group-label';
|
|
6
|
-
import { DropdownMenuIcon } from './dropdown-menu-icon';
|
|
7
|
-
import { DropdownMenuItem } from './dropdown-menu-item';
|
|
8
|
-
import { DropdownMenuItemIndicator } from './dropdown-menu-item-indicator';
|
|
9
|
-
import { DropdownMenuItemRightSlot } from './dropdown-menu-item-right-slot';
|
|
10
|
-
import { DropdownMenuPortal } from './dropdown-menu-portal';
|
|
11
|
-
import { DropdownMenuRadioGroup } from './dropdown-menu-radio-group';
|
|
12
|
-
import { DropdownMenuRadioItem } from './dropdown-menu-radio-item';
|
|
13
|
-
import { DropdownMenuRoot } from './dropdown-menu-root';
|
|
14
|
-
import { DropdownMenuSeparator } from './dropdown-menu-separator';
|
|
15
|
-
import { DropdownMenuSub } from './dropdown-menu-sub';
|
|
16
|
-
import { DropdownMenuSubContent } from './dropdown-menu-sub-content';
|
|
17
|
-
import { DropdownMenuSubTrigger } from './dropdown-menu-sub-trigger';
|
|
18
|
-
import { DropdownMenuTrigger } from './dropdown-menu-trigger';
|
|
19
|
-
export { DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuIcon, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuItemRightSlot, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
|
|
20
|
-
export const DropdownMenu = Object.assign(DropdownMenuRoot, {
|
|
21
|
-
Trigger: DropdownMenuTrigger,
|
|
22
|
-
Icon: DropdownMenuIcon,
|
|
23
|
-
Portal: DropdownMenuPortal,
|
|
24
|
-
Content: DropdownMenuContent,
|
|
25
|
-
Item: DropdownMenuItem,
|
|
26
|
-
CheckboxItem: DropdownMenuCheckboxItem,
|
|
27
|
-
RadioItem: DropdownMenuRadioItem,
|
|
28
|
-
RadioGroup: DropdownMenuRadioGroup,
|
|
29
|
-
Group: DropdownMenuGroup,
|
|
30
|
-
GroupLabel: DropdownMenuGroupLabel,
|
|
31
|
-
Separator: DropdownMenuSeparator,
|
|
32
|
-
ItemIndicator: DropdownMenuItemIndicator,
|
|
33
|
-
ItemRightSlot: DropdownMenuItemRightSlot,
|
|
34
|
-
Sub: DropdownMenuSub,
|
|
35
|
-
SubTrigger: DropdownMenuSubTrigger,
|
|
36
|
-
SubContent: DropdownMenuSubContent,
|
|
37
|
-
Arrow: DropdownMenuArrow,
|
|
38
|
-
});
|
|
39
|
-
//# sourceMappingURL=dropdown-menu.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAuB9D,OAAO,EACN,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACnB,CAAC;AAuBF,MAAM,CAAC,MAAM,YAAY,GAA0B,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE;IAClF,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,kBAAkB;IAC1B,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,gBAAgB;IACtB,YAAY,EAAE,wBAAwB;IACtC,SAAS,EAAE,qBAAqB;IAChC,UAAU,EAAE,sBAAsB;IAClC,KAAK,EAAE,iBAAiB;IACxB,UAAU,EAAE,sBAAsB;IAClC,SAAS,EAAE,qBAAqB;IAChC,aAAa,EAAE,yBAAyB;IACxC,aAAa,EAAE,yBAAyB;IACxC,GAAG,EAAE,eAAe;IACpB,UAAU,EAAE,sBAAsB;IAClC,UAAU,EAAE,sBAAsB;IAClC,KAAK,EAAE,iBAAiB;CACxB,CAAC,CAAC","sourcesContent":["import type { JSX } from 'solid-js';\nimport { DropdownMenuArrow } from './dropdown-menu-arrow';\nimport { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-item';\nimport { DropdownMenuContent } from './dropdown-menu-content';\nimport { DropdownMenuGroup } from './dropdown-menu-group';\nimport { DropdownMenuGroupLabel } from './dropdown-menu-group-label';\nimport { DropdownMenuIcon } from './dropdown-menu-icon';\nimport { DropdownMenuItem } from './dropdown-menu-item';\nimport { DropdownMenuItemIndicator } from './dropdown-menu-item-indicator';\nimport { DropdownMenuItemRightSlot } from './dropdown-menu-item-right-slot';\nimport { DropdownMenuPortal } from './dropdown-menu-portal';\nimport { DropdownMenuRadioGroup } from './dropdown-menu-radio-group';\nimport { DropdownMenuRadioItem } from './dropdown-menu-radio-item';\nimport { DropdownMenuRoot } from './dropdown-menu-root';\nimport { DropdownMenuSeparator } from './dropdown-menu-separator';\nimport { DropdownMenuSub } from './dropdown-menu-sub';\nimport { DropdownMenuSubContent } from './dropdown-menu-sub-content';\nimport { DropdownMenuSubTrigger } from './dropdown-menu-sub-trigger';\nimport { DropdownMenuTrigger } from './dropdown-menu-trigger';\nimport type { DropdownMenuRootProps } from './types';\n\nexport type {\n\tDropdownMenuArrowProps,\n\tDropdownMenuCheckboxItemProps,\n\tDropdownMenuContentProps,\n\tDropdownMenuGroupLabelProps,\n\tDropdownMenuGroupProps,\n\tDropdownMenuIconProps,\n\tDropdownMenuItemIndicatorProps,\n\tDropdownMenuItemProps,\n\tDropdownMenuItemRightSlotProps,\n\tDropdownMenuPortalProps,\n\tDropdownMenuRadioGroupProps,\n\tDropdownMenuRadioItemProps,\n\tDropdownMenuRootProps,\n\tDropdownMenuSeparatorProps,\n\tDropdownMenuSubContentProps,\n\tDropdownMenuSubProps,\n\tDropdownMenuSubTriggerProps,\n\tDropdownMenuTriggerProps,\n} from './types';\nexport {\n\tDropdownMenuArrow,\n\tDropdownMenuCheckboxItem,\n\tDropdownMenuContent,\n\tDropdownMenuGroup,\n\tDropdownMenuGroupLabel,\n\tDropdownMenuIcon,\n\tDropdownMenuItem,\n\tDropdownMenuItemIndicator,\n\tDropdownMenuItemRightSlot,\n\tDropdownMenuPortal,\n\tDropdownMenuRadioGroup,\n\tDropdownMenuRadioItem,\n\tDropdownMenuRoot,\n\tDropdownMenuSeparator,\n\tDropdownMenuSub,\n\tDropdownMenuSubContent,\n\tDropdownMenuSubTrigger,\n\tDropdownMenuTrigger,\n};\n\nexport interface DropdownMenuComponent {\n\t(props: DropdownMenuRootProps): JSX.Element;\n\tTrigger: typeof DropdownMenuTrigger;\n\tIcon: typeof DropdownMenuIcon;\n\tPortal: typeof DropdownMenuPortal;\n\tContent: typeof DropdownMenuContent;\n\tItem: typeof DropdownMenuItem;\n\tCheckboxItem: typeof DropdownMenuCheckboxItem;\n\tRadioItem: typeof DropdownMenuRadioItem;\n\tRadioGroup: typeof DropdownMenuRadioGroup;\n\tGroup: typeof DropdownMenuGroup;\n\tGroupLabel: typeof DropdownMenuGroupLabel;\n\tSeparator: typeof DropdownMenuSeparator;\n\tItemIndicator: typeof DropdownMenuItemIndicator;\n\tItemRightSlot: typeof DropdownMenuItemRightSlot;\n\tSub: typeof DropdownMenuSub;\n\tSubTrigger: typeof DropdownMenuSubTrigger;\n\tSubContent: typeof DropdownMenuSubContent;\n\tArrow: typeof DropdownMenuArrow;\n}\n\nexport const DropdownMenu: DropdownMenuComponent = Object.assign(DropdownMenuRoot, {\n\tTrigger: DropdownMenuTrigger,\n\tIcon: DropdownMenuIcon,\n\tPortal: DropdownMenuPortal,\n\tContent: DropdownMenuContent,\n\tItem: DropdownMenuItem,\n\tCheckboxItem: DropdownMenuCheckboxItem,\n\tRadioItem: DropdownMenuRadioItem,\n\tRadioGroup: DropdownMenuRadioGroup,\n\tGroup: DropdownMenuGroup,\n\tGroupLabel: DropdownMenuGroupLabel,\n\tSeparator: DropdownMenuSeparator,\n\tItemIndicator: DropdownMenuItemIndicator,\n\tItemRightSlot: DropdownMenuItemRightSlot,\n\tSub: DropdownMenuSub,\n\tSubTrigger: DropdownMenuSubTrigger,\n\tSubContent: DropdownMenuSubContent,\n\tArrow: DropdownMenuArrow,\n});\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * from './class';
|
|
2
|
-
export * from './dropdown-menu';
|
|
3
|
-
export * from './dropdown-menu-arrow';
|
|
4
|
-
export * from './dropdown-menu-checkbox-item';
|
|
5
|
-
export * from './dropdown-menu-content';
|
|
6
|
-
export * from './dropdown-menu-group';
|
|
7
|
-
export * from './dropdown-menu-group-label';
|
|
8
|
-
export * from './dropdown-menu-icon';
|
|
9
|
-
export * from './dropdown-menu-item';
|
|
10
|
-
export * from './dropdown-menu-item-indicator';
|
|
11
|
-
export * from './dropdown-menu-item-right-slot';
|
|
12
|
-
export * from './dropdown-menu-portal';
|
|
13
|
-
export * from './dropdown-menu-radio-group';
|
|
14
|
-
export * from './dropdown-menu-radio-item';
|
|
15
|
-
export * from './dropdown-menu-root';
|
|
16
|
-
export * from './dropdown-menu-separator';
|
|
17
|
-
export * from './dropdown-menu-sub';
|
|
18
|
-
export * from './dropdown-menu-sub-content';
|
|
19
|
-
export * from './dropdown-menu-sub-trigger';
|
|
20
|
-
export * from './dropdown-menu-trigger';
|
|
21
|
-
export * from './types';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export * from './class';
|
|
2
|
-
export * from './dropdown-menu';
|
|
3
|
-
export * from './dropdown-menu-arrow';
|
|
4
|
-
export * from './dropdown-menu-checkbox-item';
|
|
5
|
-
export * from './dropdown-menu-content';
|
|
6
|
-
export * from './dropdown-menu-group';
|
|
7
|
-
export * from './dropdown-menu-group-label';
|
|
8
|
-
export * from './dropdown-menu-icon';
|
|
9
|
-
export * from './dropdown-menu-item';
|
|
10
|
-
export * from './dropdown-menu-item-indicator';
|
|
11
|
-
export * from './dropdown-menu-item-right-slot';
|
|
12
|
-
export * from './dropdown-menu-portal';
|
|
13
|
-
export * from './dropdown-menu-radio-group';
|
|
14
|
-
export * from './dropdown-menu-radio-item';
|
|
15
|
-
export * from './dropdown-menu-root';
|
|
16
|
-
export * from './dropdown-menu-separator';
|
|
17
|
-
export * from './dropdown-menu-sub';
|
|
18
|
-
export * from './dropdown-menu-sub-content';
|
|
19
|
-
export * from './dropdown-menu-sub-trigger';
|
|
20
|
-
export * from './dropdown-menu-trigger';
|
|
21
|
-
export * from './types';
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC","sourcesContent":["export * from './class';\nexport * from './dropdown-menu';\nexport * from './dropdown-menu-arrow';\nexport * from './dropdown-menu-checkbox-item';\nexport * from './dropdown-menu-content';\nexport * from './dropdown-menu-group';\nexport * from './dropdown-menu-group-label';\nexport * from './dropdown-menu-icon';\nexport * from './dropdown-menu-item';\nexport * from './dropdown-menu-item-indicator';\nexport * from './dropdown-menu-item-right-slot';\nexport * from './dropdown-menu-portal';\nexport * from './dropdown-menu-radio-group';\nexport * from './dropdown-menu-radio-item';\nexport * from './dropdown-menu-root';\nexport * from './dropdown-menu-separator';\nexport * from './dropdown-menu-sub';\nexport * from './dropdown-menu-sub-content';\nexport * from './dropdown-menu-sub-trigger';\nexport * from './dropdown-menu-trigger';\nexport * from './types';\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { DropdownMenuArrowProps as KDropdownMenuArrowProps, DropdownMenuCheckboxItemProps as KDropdownMenuCheckboxItemProps, DropdownMenuContentProps as KDropdownMenuContentProps, DropdownMenuGroupLabelProps as KDropdownMenuGroupLabelProps, DropdownMenuGroupProps as KDropdownMenuGroupProps, DropdownMenuIconProps as KDropdownMenuIconProps, DropdownMenuItemIndicatorProps as KDropdownMenuItemIndicatorProps, DropdownMenuItemProps as KDropdownMenuItemProps, DropdownMenuPortalProps as KDropdownMenuPortalProps, DropdownMenuRadioGroupProps as KDropdownMenuRadioGroupProps, DropdownMenuRadioItemProps as KDropdownMenuRadioItemProps, DropdownMenuRootProps as KDropdownMenuRootProps, DropdownMenuSeparatorProps as KDropdownMenuSeparatorProps, DropdownMenuSubContentProps as KDropdownMenuSubContentProps, DropdownMenuSubProps as KDropdownMenuSubProps, DropdownMenuSubTriggerProps as KDropdownMenuSubTriggerProps, DropdownMenuTriggerProps as KDropdownMenuTriggerProps } from '@kobalte/core/dropdown-menu';
|
|
2
|
-
import type { JSX } from 'solid-js';
|
|
3
|
-
import type { ButtonProps } from '../button';
|
|
4
|
-
export type DropdownMenuRootProps = KDropdownMenuRootProps;
|
|
5
|
-
export type DropdownMenuTriggerProps = KDropdownMenuTriggerProps & Omit<ButtonProps, 'type'>;
|
|
6
|
-
export type DropdownMenuIconProps = KDropdownMenuIconProps & JSX.HTMLAttributes<HTMLSpanElement>;
|
|
7
|
-
export type DropdownMenuPortalProps = KDropdownMenuPortalProps;
|
|
8
|
-
export type DropdownMenuContentProps = KDropdownMenuContentProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
9
|
-
export type DropdownMenuItemProps = KDropdownMenuItemProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export type DropdownMenuCheckboxItemProps = KDropdownMenuCheckboxItemProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
11
|
-
export type DropdownMenuRadioItemProps = KDropdownMenuRadioItemProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
export type DropdownMenuRadioGroupProps = KDropdownMenuRadioGroupProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
13
|
-
export type DropdownMenuGroupProps = KDropdownMenuGroupProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
14
|
-
export type DropdownMenuGroupLabelProps = KDropdownMenuGroupLabelProps & JSX.HTMLAttributes<HTMLSpanElement>;
|
|
15
|
-
export type DropdownMenuSeparatorProps = KDropdownMenuSeparatorProps & JSX.HTMLAttributes<HTMLHRElement>;
|
|
16
|
-
export type DropdownMenuItemIndicatorProps = KDropdownMenuItemIndicatorProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
17
|
-
export type DropdownMenuSubProps = KDropdownMenuSubProps;
|
|
18
|
-
export type DropdownMenuSubTriggerProps = KDropdownMenuSubTriggerProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
19
|
-
export type DropdownMenuSubContentProps = KDropdownMenuSubContentProps & JSX.HTMLAttributes<HTMLDivElement>;
|
|
20
|
-
export type DropdownMenuArrowProps = KDropdownMenuArrowProps & JSX.HTMLAttributes<SVGSVGElement>;
|
|
21
|
-
export type DropdownMenuItemRightSlotProps = JSX.HTMLAttributes<HTMLSpanElement>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n\tDropdownMenuArrowProps as KDropdownMenuArrowProps,\n\tDropdownMenuCheckboxItemProps as KDropdownMenuCheckboxItemProps,\n\tDropdownMenuContentProps as KDropdownMenuContentProps,\n\tDropdownMenuGroupLabelProps as KDropdownMenuGroupLabelProps,\n\tDropdownMenuGroupProps as KDropdownMenuGroupProps,\n\tDropdownMenuIconProps as KDropdownMenuIconProps,\n\tDropdownMenuItemIndicatorProps as KDropdownMenuItemIndicatorProps,\n\tDropdownMenuItemProps as KDropdownMenuItemProps,\n\tDropdownMenuPortalProps as KDropdownMenuPortalProps,\n\tDropdownMenuRadioGroupProps as KDropdownMenuRadioGroupProps,\n\tDropdownMenuRadioItemProps as KDropdownMenuRadioItemProps,\n\tDropdownMenuRootProps as KDropdownMenuRootProps,\n\tDropdownMenuSeparatorProps as KDropdownMenuSeparatorProps,\n\tDropdownMenuSubContentProps as KDropdownMenuSubContentProps,\n\tDropdownMenuSubProps as KDropdownMenuSubProps,\n\tDropdownMenuSubTriggerProps as KDropdownMenuSubTriggerProps,\n\tDropdownMenuTriggerProps as KDropdownMenuTriggerProps,\n} from '@kobalte/core/dropdown-menu';\nimport type { JSX } from 'solid-js';\nimport type { ButtonProps } from '../button';\n\nexport type DropdownMenuRootProps = KDropdownMenuRootProps;\nexport type DropdownMenuTriggerProps = KDropdownMenuTriggerProps & Omit<ButtonProps, 'type'>;\nexport type DropdownMenuIconProps = KDropdownMenuIconProps & JSX.HTMLAttributes<HTMLSpanElement>;\nexport type DropdownMenuPortalProps = KDropdownMenuPortalProps;\nexport type DropdownMenuContentProps = KDropdownMenuContentProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuItemProps = KDropdownMenuItemProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuCheckboxItemProps = KDropdownMenuCheckboxItemProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuRadioItemProps = KDropdownMenuRadioItemProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuRadioGroupProps = KDropdownMenuRadioGroupProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuGroupProps = KDropdownMenuGroupProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuGroupLabelProps = KDropdownMenuGroupLabelProps & JSX.HTMLAttributes<HTMLSpanElement>;\nexport type DropdownMenuSeparatorProps = KDropdownMenuSeparatorProps & JSX.HTMLAttributes<HTMLHRElement>;\nexport type DropdownMenuItemIndicatorProps = KDropdownMenuItemIndicatorProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuSubProps = KDropdownMenuSubProps;\nexport type DropdownMenuSubTriggerProps = KDropdownMenuSubTriggerProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuSubContentProps = KDropdownMenuSubContentProps & JSX.HTMLAttributes<HTMLDivElement>;\nexport type DropdownMenuArrowProps = KDropdownMenuArrowProps & JSX.HTMLAttributes<SVGSVGElement>;\nexport type DropdownMenuItemRightSlotProps = JSX.HTMLAttributes<HTMLSpanElement>;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/input/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,UAAU;CACP,CAAC","sourcesContent":["export const inputClass = {\n\troot: 'fl-input',\n} as const;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC","sourcesContent":["export * from './class';\nexport * from './input';\n"]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-input {
|
|
3
|
-
/* reset */
|
|
4
|
-
appearance: initial;
|
|
5
|
-
|
|
6
|
-
/* spacing */
|
|
7
|
-
padding-inline: var(--fl-input-pad-x);
|
|
8
|
-
padding-block: var(--fl-input-pad-y);
|
|
9
|
-
|
|
10
|
-
/* background */
|
|
11
|
-
background: var(--fl-input-bg-color);
|
|
12
|
-
border: var(--fl-input-border-size) solid var(--fl-input-border-color);
|
|
13
|
-
border-radius: var(--fl-input-border-radius);
|
|
14
|
-
|
|
15
|
-
/* text */
|
|
16
|
-
color: var(--fl-input-text-color);
|
|
17
|
-
|
|
18
|
-
/* effects */
|
|
19
|
-
box-shadow: var(--fl-input-shadow);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* focus state */
|
|
23
|
-
.fl-input:focus-visible:not(:disabled) {
|
|
24
|
-
border-color: var(--fl-input-border-focus-color);
|
|
25
|
-
outline: var(--fl-focus-ring-size) solid var(--fl-focus-ring-color);
|
|
26
|
-
outline-offset: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* disabled state */
|
|
30
|
-
.fl-input:disabled {
|
|
31
|
-
cursor: var(--fl-disabled-cursor);
|
|
32
|
-
opacity: var(--fl-disabled-opacity);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { inputClass } from './class';
|
|
4
|
-
import './input.css';
|
|
5
|
-
export function Input(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
const rootClass = () => clsx(inputClass.root, local.class);
|
|
8
|
-
return (<input class={rootClass()} {...rest}/>);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=input.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.jsx","sourceRoot":"","sources":["../../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,aAAa,CAAC;AAMrB,MAAM,UAAU,KAAK,CAAC,KAAiB;IACtC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAE/D,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE3D,OAAO,CACN,CAAC,KAAK,CACL,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 { inputClass } from './class';\nimport './input.css';\n\nexport type InputBaseProps = JSX.InputHTMLAttributes<HTMLInputElement>;\n\nexport interface InputProps extends InputBaseProps {}\n\nexport function Input(props: InputProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\n\tconst rootClass = () => clsx(inputClass.root, local.class);\n\n\treturn (\n\t\t<input\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/label/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,UAAU;CACP,CAAC","sourcesContent":["export const labelClass = {\n\troot: 'fl-label',\n} as const;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/label/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC","sourcesContent":["export * from './class';\nexport * from './label';\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-label {
|
|
3
|
-
/* layout */
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
|
|
7
|
-
/* spacing */
|
|
8
|
-
gap: var(--fl-size-1-5);
|
|
9
|
-
|
|
10
|
-
/* text */
|
|
11
|
-
color: var(--fl-body-text-color);
|
|
12
|
-
font-size: var(--fl-text-size-sm);
|
|
13
|
-
font-weight: var(--fl-font-weight-medium);
|
|
14
|
-
line-height: 1.4;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { labelClass } from './class';
|
|
4
|
-
import './label.css';
|
|
5
|
-
export function Label(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
const rootClass = () => clsx(labelClass.root, local.class);
|
|
8
|
-
return (<label class={rootClass()} {...rest}>
|
|
9
|
-
{local.children}
|
|
10
|
-
</label>);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=label.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label.jsx","sourceRoot":"","sources":["../../../../src/components/label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,aAAa,CAAC;AAMrB,MAAM,UAAU,KAAK,CAAC,KAAiB;IACtC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAE/D,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAE3D,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,KAAK,CAAC,CACR,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { type JSX, splitProps } from 'solid-js';\nimport { labelClass } from './class';\nimport './label.css';\n\nexport type LabelBaseProps = JSX.LabelHTMLAttributes<HTMLLabelElement>;\n\nexport interface LabelProps extends LabelBaseProps {}\n\nexport function Label(props: LabelProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\n\tconst rootClass = () => clsx(labelClass.root, local.class);\n\n\treturn (\n\t\t<label\n\t\t\tclass={rootClass()}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</label>\n\t);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/progress-bar/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,iBAAiB;IACvB,SAAS,EAAE,2BAA2B;CAC7B,CAAC","sourcesContent":["export const progressBarClass = {\n\troot: 'fl-progress-bar',\n\tindicator: 'fl-progress-bar_indicator',\n} as const;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/progress-bar/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './class';\nexport * from './progress-bar';\n"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-progress-bar {
|
|
3
|
-
/* layout */
|
|
4
|
-
position: relative;
|
|
5
|
-
display: block;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: var(--fl-size-2);
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
/* background */
|
|
11
|
-
background: color-mix(in oklab, var(--fl-body-bg-color), black 8%);
|
|
12
|
-
border-radius: 2px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.fl-progress-bar .fl-progress-bar_indicator {
|
|
16
|
-
/* layout */
|
|
17
|
-
display: block;
|
|
18
|
-
height: 100%;
|
|
19
|
-
|
|
20
|
-
/* background */
|
|
21
|
-
background: var(--fl-primary-color);
|
|
22
|
-
border-radius: inherit;
|
|
23
|
-
|
|
24
|
-
/* effects */
|
|
25
|
-
transition: width var(--fl-animation-duration) ease;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.fl-progress-bar[data-indeterminate] .fl-progress-bar_indicator {
|
|
29
|
-
/* biome-ignore lint/complexity/noImportantStyles: required to override the inline width used for determinate progress */
|
|
30
|
-
width: 35% !important;
|
|
31
|
-
animation: fl-progress-bar-indeterminate 1.2s ease-in-out infinite;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@keyframes fl-progress-bar-indeterminate {
|
|
35
|
-
from {
|
|
36
|
-
transform: translateX(-100%);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
to {
|
|
40
|
-
transform: translateX(300%);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'solid-js';
|
|
2
|
-
import './progress-bar.css';
|
|
3
|
-
export type ProgressBarBaseProps = JSX.HTMLAttributes<HTMLDivElement>;
|
|
4
|
-
export interface ProgressBarProps extends ProgressBarBaseProps {
|
|
5
|
-
value?: number;
|
|
6
|
-
max?: number;
|
|
7
|
-
indeterminate?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare function ProgressBar(props: ProgressBarProps): JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { mergeProps, splitProps } from 'solid-js';
|
|
3
|
-
import { progressBarClass } from './class';
|
|
4
|
-
import './progress-bar.css';
|
|
5
|
-
export function ProgressBar(props) {
|
|
6
|
-
const merged = mergeProps({
|
|
7
|
-
max: 100,
|
|
8
|
-
value: 0,
|
|
9
|
-
indeterminate: false,
|
|
10
|
-
}, props);
|
|
11
|
-
const [local, rest] = splitProps(merged, ['class', 'value', 'max', 'indeterminate']);
|
|
12
|
-
const clampedValue = () => Math.max(0, Math.min(local.value, local.max));
|
|
13
|
-
const percent = () => {
|
|
14
|
-
if (local.max <= 0) {
|
|
15
|
-
return 0;
|
|
16
|
-
}
|
|
17
|
-
return (clampedValue() / local.max) * 100;
|
|
18
|
-
};
|
|
19
|
-
const rootClass = () => clsx(progressBarClass.root, local.class);
|
|
20
|
-
return (<div class={rootClass()} role="progressbar" aria-valuemin={0} aria-valuemax={local.max} aria-valuenow={local.indeterminate ? undefined : clampedValue()} data-indeterminate={local.indeterminate ? '' : undefined} {...rest}>
|
|
21
|
-
<span class={progressBarClass.indicator} style={local.indeterminate ? undefined : { width: `${percent()}%` }}/>
|
|
22
|
-
</div>);
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=progress-bar.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"progress-bar.jsx","sourceRoot":"","sources":["../../../../src/components/progress-bar/progress-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAY,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,oBAAoB,CAAC;AAU5B,MAAM,UAAU,WAAW,CAAC,KAAuB;IAClD,MAAM,MAAM,GAAG,UAAU,CACxB;QACC,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,CAAC;QACR,aAAa,EAAE,KAAK;KACX,EACV,KAAK,CACL,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC;IAErF,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACzE,MAAM,OAAO,GAAG,GAAG,EAAE;QACpB,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;YACpB,OAAO,CAAC,CAAC;QACV,CAAC;QAED,OAAO,CAAC,YAAY,EAAE,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;IAC3C,CAAC,CAAC;IACF,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAEjE,OAAO,CACN,CAAC,GAAG,CACH,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,IAAI,CAAC,aAAa,CAClB,aAAa,CAAC,CAAC,CAAC,CAAC,CACjB,aAAa,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CACzB,aAAa,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,CAChE,kBAAkB,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CACzD,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,IAAI,CACJ,KAAK,CAAC,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAClC,KAAK,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,CAAC,EAEtE;EAAA,EAAE,GAAG,CAAC,CACN,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { type JSX, mergeProps, splitProps } from 'solid-js';\nimport { progressBarClass } from './class';\nimport './progress-bar.css';\n\nexport type ProgressBarBaseProps = JSX.HTMLAttributes<HTMLDivElement>;\n\nexport interface ProgressBarProps extends ProgressBarBaseProps {\n\tvalue?: number;\n\tmax?: number;\n\tindeterminate?: boolean;\n}\n\nexport function ProgressBar(props: ProgressBarProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\tmax: 100,\n\t\t\tvalue: 0,\n\t\t\tindeterminate: false,\n\t\t} as const,\n\t\tprops,\n\t);\n\tconst [local, rest] = splitProps(merged, ['class', 'value', 'max', 'indeterminate']);\n\n\tconst clampedValue = () => Math.max(0, Math.min(local.value, local.max));\n\tconst percent = () => {\n\t\tif (local.max <= 0) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn (clampedValue() / local.max) * 100;\n\t};\n\tconst rootClass = () => clsx(progressBarClass.root, local.class);\n\n\treturn (\n\t\t<div\n\t\t\tclass={rootClass()}\n\t\t\trole=\"progressbar\"\n\t\t\taria-valuemin={0}\n\t\t\taria-valuemax={local.max}\n\t\t\taria-valuenow={local.indeterminate ? undefined : clampedValue()}\n\t\t\tdata-indeterminate={local.indeterminate ? '' : undefined}\n\t\t\t{...rest}\n\t\t>\n\t\t\t<span\n\t\t\t\tclass={progressBarClass.indicator}\n\t\t\t\tstyle={local.indeterminate ? undefined : { width: `${percent()}%` }}\n\t\t\t/>\n\t\t</div>\n\t);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/radio/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,KAAK,EAAE,gBAAgB;IACvB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE,kBAAkB;IAC3B,SAAS,EAAE,oBAAoB;IAC/B,KAAK,EAAE,gBAAgB;CACd,CAAC","sourcesContent":["export const radioClass = {\n\tgroup: 'fl-radio-group',\n\troot: 'fl-radio',\n\tinput: 'fl-radio_input',\n\tcontrol: 'fl-radio_control',\n\tindicator: 'fl-radio_indicator',\n\tlabel: 'fl-radio_label',\n} as const;\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Accessor } from 'solid-js';
|
|
2
|
-
export interface RadioGroupContextValue {
|
|
3
|
-
name: Accessor<string>;
|
|
4
|
-
value: Accessor<string | undefined>;
|
|
5
|
-
setValue: (value: string) => void;
|
|
6
|
-
disabled: Accessor<boolean>;
|
|
7
|
-
}
|
|
8
|
-
export declare const RadioGroupContext: import("solid-js").Context<RadioGroupContextValue | undefined>;
|
|
9
|
-
export declare function useRadioGroupContext(): RadioGroupContextValue | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/components/radio/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AASpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,EAA0B,CAAC;AAEzE,MAAM,UAAU,oBAAoB;IACnC,OAAO,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACtC,CAAC","sourcesContent":["import { type Accessor, createContext, useContext } from 'solid-js';\n\nexport interface RadioGroupContextValue {\n\tname: Accessor<string>;\n\tvalue: Accessor<string | undefined>;\n\tsetValue: (value: string) => void;\n\tdisabled: Accessor<boolean>;\n}\n\nexport const RadioGroupContext = createContext<RadioGroupContextValue>();\n\nexport function useRadioGroupContext() {\n\treturn useContext(RadioGroupContext);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC","sourcesContent":["export * from './class';\nexport * from './context';\nexport * from './radio';\nexport * from './radio-group';\nexport * from './radio-root';\nexport * from './types';\n"]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { createSignal, createUniqueId, splitProps } from 'solid-js';
|
|
3
|
-
import { radioClass } from './class';
|
|
4
|
-
import { RadioGroupContext } from './context';
|
|
5
|
-
import './radio-group.css';
|
|
6
|
-
export function RadioGroup(props) {
|
|
7
|
-
const generatedName = createUniqueId();
|
|
8
|
-
const [local, rest] = splitProps(props, [
|
|
9
|
-
'class',
|
|
10
|
-
'children',
|
|
11
|
-
'value',
|
|
12
|
-
'defaultValue',
|
|
13
|
-
'name',
|
|
14
|
-
'disabled',
|
|
15
|
-
'onChange',
|
|
16
|
-
]);
|
|
17
|
-
const [internalValue, setInternalValue] = createSignal(local.defaultValue);
|
|
18
|
-
const value = () => local.value ?? internalValue();
|
|
19
|
-
const name = () => local.name ?? generatedName;
|
|
20
|
-
const disabled = () => Boolean(local.disabled);
|
|
21
|
-
const setValue = (nextValue) => {
|
|
22
|
-
if (local.value === undefined) {
|
|
23
|
-
setInternalValue(nextValue);
|
|
24
|
-
}
|
|
25
|
-
local.onChange?.(nextValue);
|
|
26
|
-
};
|
|
27
|
-
return (<RadioGroupContext.Provider value={{ name, value, setValue, disabled }}>
|
|
28
|
-
<div class={clsx(radioClass.group, local.class)} role="radiogroup" {...rest}>
|
|
29
|
-
{local.children}
|
|
30
|
-
</div>
|
|
31
|
-
</RadioGroupContext.Provider>);
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=radio-group.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.jsx","sourceRoot":"","sources":["../../../../src/components/radio/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,mBAAmB,CAAC;AAE3B,MAAM,UAAU,UAAU,CAAC,KAAsB;IAChD,MAAM,aAAa,GAAG,cAAc,EAAE,CAAC;IACvC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE;QACvC,OAAO;QACP,UAAU;QACV,OAAO;QACP,cAAc;QACd,MAAM;QACN,UAAU;QACV,UAAU;KACV,CAAC,CAAC;IACH,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAE3E,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,KAAK,IAAI,aAAa,EAAE,CAAC;IACnD,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,IAAI,aAAa,CAAC;IAC/C,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,QAAQ,GAAG,CAAC,SAAiB,EAAE,EAAE;QACtC,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC/B,gBAAgB,CAAC,SAAS,CAAC,CAAC;QAC7B,CAAC;QAED,KAAK,CAAC,QAAQ,EAAE,CAAC,SAAS,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACN,CAAC,iBAAiB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CACtE;GAAA,CAAC,GAAG,CACH,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC3C,IAAI,CAAC,YAAY,CACjB,IAAI,IAAI,CAAC,CAET;IAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;GAAA,EAAE,GAAG,CACN;EAAA,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAC7B,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { createSignal, createUniqueId, splitProps } from 'solid-js';\nimport { radioClass } from './class';\nimport { RadioGroupContext } from './context';\nimport type { RadioGroupProps } from './types';\nimport './radio-group.css';\n\nexport function RadioGroup(props: RadioGroupProps) {\n\tconst generatedName = createUniqueId();\n\tconst [local, rest] = splitProps(props, [\n\t\t'class',\n\t\t'children',\n\t\t'value',\n\t\t'defaultValue',\n\t\t'name',\n\t\t'disabled',\n\t\t'onChange',\n\t]);\n\tconst [internalValue, setInternalValue] = createSignal(local.defaultValue);\n\n\tconst value = () => local.value ?? internalValue();\n\tconst name = () => local.name ?? generatedName;\n\tconst disabled = () => Boolean(local.disabled);\n\tconst setValue = (nextValue: string) => {\n\t\tif (local.value === undefined) {\n\t\t\tsetInternalValue(nextValue);\n\t\t}\n\n\t\tlocal.onChange?.(nextValue);\n\t};\n\n\treturn (\n\t\t<RadioGroupContext.Provider value={{ name, value, setValue, disabled }}>\n\t\t\t<div\n\t\t\t\tclass={clsx(radioClass.group, local.class)}\n\t\t\t\trole=\"radiogroup\"\n\t\t\t\t{...rest}\n\t\t\t>\n\t\t\t\t{local.children}\n\t\t\t</div>\n\t\t</RadioGroupContext.Provider>\n\t);\n}\n"]}
|