@edo-w/flatline-solid 0.2.0 → 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/README.md +16 -0
- 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 -155
- 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 -31
- 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 -90
- 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 -30
- package/dist/src/components/combobox/combobox-item.jsx.map +0 -1
- package/dist/src/components/combobox/combobox-listbox.css +0 -18
- 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 -362
- 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 -45
- 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 -6
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC","sourcesContent":["export * from './class';\nexport * from './switch';\n"]}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-switch {
|
|
3
|
-
/* layout */
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
|
|
7
|
-
/* spacing */
|
|
8
|
-
gap: var(--fl-size-2);
|
|
9
|
-
|
|
10
|
-
/* pointer */
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
user-select: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.fl-switch[data-disabled] {
|
|
16
|
-
cursor: var(--fl-disabled-cursor);
|
|
17
|
-
opacity: var(--fl-disabled-opacity);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.fl-switch .fl-switch_input {
|
|
21
|
-
/* layout */
|
|
22
|
-
position: absolute;
|
|
23
|
-
opacity: 0;
|
|
24
|
-
width: 1px;
|
|
25
|
-
height: 1px;
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.fl-switch .fl-switch_control {
|
|
30
|
-
--fl-switch-track-width: var(--fl-size-10);
|
|
31
|
-
--fl-switch-track-height: var(--fl-size-6);
|
|
32
|
-
--fl-switch-thumb-size: calc(var(--fl-switch-track-height) - var(--fl-size-1));
|
|
33
|
-
|
|
34
|
-
/* layout */
|
|
35
|
-
position: relative;
|
|
36
|
-
display: inline-flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
width: var(--fl-switch-track-width);
|
|
39
|
-
height: var(--fl-switch-track-height);
|
|
40
|
-
|
|
41
|
-
/* spacing */
|
|
42
|
-
padding-inline: var(--fl-size-0-5);
|
|
43
|
-
|
|
44
|
-
/* background */
|
|
45
|
-
background: color-mix(in oklab, var(--fl-body-bg-color), black 12%);
|
|
46
|
-
border: var(--fl-border-size, 1px) solid color-mix(in oklab, var(--fl-body-bg-color), black 18%);
|
|
47
|
-
border-radius: var(--fl-radius-md);
|
|
48
|
-
|
|
49
|
-
/* effects */
|
|
50
|
-
box-shadow: var(--fl-shadow-xs);
|
|
51
|
-
transition:
|
|
52
|
-
background var(--fl-animation-duration) ease,
|
|
53
|
-
border-color var(--fl-animation-duration) ease;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.fl-switch .fl-switch_thumb {
|
|
57
|
-
/* layout */
|
|
58
|
-
width: var(--fl-switch-thumb-size);
|
|
59
|
-
height: var(--fl-switch-thumb-size);
|
|
60
|
-
|
|
61
|
-
/* background */
|
|
62
|
-
background: var(--fl-body-bg-color);
|
|
63
|
-
border-radius: var(--fl-radius-sm);
|
|
64
|
-
|
|
65
|
-
/* effects */
|
|
66
|
-
box-shadow: var(--fl-shadow-sm);
|
|
67
|
-
transition: transform var(--fl-animation-duration) ease;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.fl-switch .fl-switch_input:focus-visible + .fl-switch_control {
|
|
71
|
-
outline: var(--fl-focus-ring-size) solid var(--fl-focus-ring-color);
|
|
72
|
-
outline-offset: var(--fl-focus-ring-offset);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.fl-switch .fl-switch_input:checked + .fl-switch_control {
|
|
76
|
-
background: color-mix(in oklab, var(--fl-primary-color), white 15%);
|
|
77
|
-
border-color: color-mix(in oklab, var(--fl-primary-color), black 10%);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.fl-switch .fl-switch_input:checked + .fl-switch_control .fl-switch_thumb {
|
|
81
|
-
transform: translateX(calc(var(--fl-switch-track-width) - var(--fl-switch-thumb-size) - var(--fl-size-1)));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.fl-switch .fl-switch_label {
|
|
85
|
-
/* text */
|
|
86
|
-
color: var(--fl-body-text-color);
|
|
87
|
-
font-size: var(--fl-text-size-sm);
|
|
88
|
-
font-weight: var(--fl-font-weight-medium);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'solid-js';
|
|
2
|
-
import './switch.css';
|
|
3
|
-
export type SwitchBaseProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'size'>;
|
|
4
|
-
export interface SwitchProps extends SwitchBaseProps {
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
defaultChecked?: boolean;
|
|
7
|
-
onChange?: (checked: boolean) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function Switch(props: SwitchProps): JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { createSignal, mergeProps, splitProps } from 'solid-js';
|
|
3
|
-
import { switchClass } from './class';
|
|
4
|
-
import './switch.css';
|
|
5
|
-
export function Switch(props) {
|
|
6
|
-
const merged = mergeProps({
|
|
7
|
-
value: 'on',
|
|
8
|
-
}, props);
|
|
9
|
-
const [local, rest] = splitProps(merged, ['class', 'children', 'checked', 'defaultChecked', 'disabled', 'onChange']);
|
|
10
|
-
const [internalChecked, setInternalChecked] = createSignal(Boolean(local.defaultChecked));
|
|
11
|
-
const rootClass = () => clsx(switchClass.root, local.class);
|
|
12
|
-
const checked = () => local.checked ?? internalChecked();
|
|
13
|
-
const handleChange = (event) => {
|
|
14
|
-
const nextChecked = event.currentTarget.checked;
|
|
15
|
-
if (local.checked === undefined) {
|
|
16
|
-
setInternalChecked(nextChecked);
|
|
17
|
-
}
|
|
18
|
-
local.onChange?.(nextChecked);
|
|
19
|
-
};
|
|
20
|
-
return (<label class={rootClass()} data-disabled={local.disabled ? '' : undefined}>
|
|
21
|
-
<input type="checkbox" class={switchClass.input} checked={checked()} disabled={local.disabled} onChange={handleChange} {...rest}/>
|
|
22
|
-
<span class={switchClass.control}>
|
|
23
|
-
<span class={switchClass.thumb}/>
|
|
24
|
-
</span>
|
|
25
|
-
{local.children ? <span class={switchClass.label}>{local.children}</span> : null}
|
|
26
|
-
</label>);
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=switch.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"switch.jsx","sourceRoot":"","sources":["../../../../src/components/switch/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAY,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,cAAc,CAAC;AAUtB,MAAM,UAAU,MAAM,CAAC,KAAkB;IACxC,MAAM,MAAM,GAAG,UAAU,CACxB;QACC,KAAK,EAAE,IAAI;KACF,EACV,KAAK,CACL,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;IACrH,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;IAE1F,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAC5D,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,IAAI,eAAe,EAAE,CAAC;IAEzD,MAAM,YAAY,GAAmD,CAAC,KAAK,EAAE,EAAE;QAC9E,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;QAEhD,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YACjC,kBAAkB,CAAC,WAAW,CAAC,CAAC;QACjC,CAAC;QAED,KAAK,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,CAAC;IAC/B,CAAC,CAAC;IAEF,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,CACnB,aAAa,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAE/C;GAAA,CAAC,KAAK,CACL,IAAI,CAAC,UAAU,CACf,KAAK,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CACzB,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC,CACnB,QAAQ,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CACzB,QAAQ,CAAC,CAAC,YAAY,CAAC,CACvB,IAAI,IAAI,CAAC,EAEV;GAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAChC;IAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,EAChC;GAAA,EAAE,IAAI,CACN;GAAA,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CACjF;EAAA,EAAE,KAAK,CAAC,CACR,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { createSignal, type JSX, mergeProps, splitProps } from 'solid-js';\nimport { switchClass } from './class';\nimport './switch.css';\n\nexport type SwitchBaseProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'size'>;\n\nexport interface SwitchProps extends SwitchBaseProps {\n\tchecked?: boolean;\n\tdefaultChecked?: boolean;\n\tonChange?: (checked: boolean) => void;\n}\n\nexport function Switch(props: SwitchProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\tvalue: 'on',\n\t\t} as const,\n\t\tprops,\n\t);\n\tconst [local, rest] = splitProps(merged, ['class', 'children', 'checked', 'defaultChecked', 'disabled', 'onChange']);\n\tconst [internalChecked, setInternalChecked] = createSignal(Boolean(local.defaultChecked));\n\n\tconst rootClass = () => clsx(switchClass.root, local.class);\n\tconst checked = () => local.checked ?? internalChecked();\n\n\tconst handleChange: JSX.EventHandlerUnion<HTMLInputElement, Event> = (event) => {\n\t\tconst nextChecked = event.currentTarget.checked;\n\n\t\tif (local.checked === undefined) {\n\t\t\tsetInternalChecked(nextChecked);\n\t\t}\n\n\t\tlocal.onChange?.(nextChecked);\n\t};\n\n\treturn (\n\t\t<label\n\t\t\tclass={rootClass()}\n\t\t\tdata-disabled={local.disabled ? '' : undefined}\n\t\t>\n\t\t\t<input\n\t\t\t\ttype=\"checkbox\"\n\t\t\t\tclass={switchClass.input}\n\t\t\t\tchecked={checked()}\n\t\t\t\tdisabled={local.disabled}\n\t\t\t\tonChange={handleChange}\n\t\t\t\t{...rest}\n\t\t\t/>\n\t\t\t<span class={switchClass.control}>\n\t\t\t\t<span class={switchClass.thumb} />\n\t\t\t</span>\n\t\t\t{local.children ? <span class={switchClass.label}>{local.children}</span> : null}\n\t\t</label>\n\t);\n}\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const tableClass: {
|
|
2
|
-
readonly root: 'fl-table';
|
|
3
|
-
readonly header: 'fl-table_header';
|
|
4
|
-
readonly body: 'fl-table_body';
|
|
5
|
-
readonly footer: 'fl-table_footer';
|
|
6
|
-
readonly head: 'fl-table_head';
|
|
7
|
-
readonly row: 'fl-table_row';
|
|
8
|
-
readonly cell: 'fl-table_cell';
|
|
9
|
-
readonly caption: 'fl-table_caption';
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const tableClass = {
|
|
2
|
-
root: 'fl-table',
|
|
3
|
-
header: 'fl-table_header',
|
|
4
|
-
body: 'fl-table_body',
|
|
5
|
-
footer: 'fl-table_footer',
|
|
6
|
-
head: 'fl-table_head',
|
|
7
|
-
row: 'fl-table_row',
|
|
8
|
-
cell: 'fl-table_cell',
|
|
9
|
-
caption: 'fl-table_caption',
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/table/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,iBAAiB;IACzB,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE,iBAAiB;IACzB,IAAI,EAAE,eAAe;IACrB,GAAG,EAAE,cAAc;IACnB,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,kBAAkB;CAClB,CAAC","sourcesContent":["export const tableClass = {\n\troot: 'fl-table',\n\theader: 'fl-table_header',\n\tbody: 'fl-table_body',\n\tfooter: 'fl-table_footer',\n\thead: 'fl-table_head',\n\trow: 'fl-table_row',\n\tcell: 'fl-table_cell',\n\tcaption: 'fl-table_caption',\n} as const;\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './class';
|
|
2
|
-
export * from './table';
|
|
3
|
-
export * from './table-body';
|
|
4
|
-
export * from './table-caption';
|
|
5
|
-
export * from './table-cell';
|
|
6
|
-
export * from './table-footer';
|
|
7
|
-
export * from './table-head';
|
|
8
|
-
export * from './table-header';
|
|
9
|
-
export * from './table-root';
|
|
10
|
-
export * from './table-row';
|
|
11
|
-
export * from './types';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './class';
|
|
2
|
-
export * from './table';
|
|
3
|
-
export * from './table-body';
|
|
4
|
-
export * from './table-caption';
|
|
5
|
-
export * from './table-cell';
|
|
6
|
-
export * from './table-footer';
|
|
7
|
-
export * from './table-head';
|
|
8
|
-
export * from './table-header';
|
|
9
|
-
export * from './table-root';
|
|
10
|
-
export * from './table-row';
|
|
11
|
-
export * from './types';
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC","sourcesContent":["export * from './class';\nexport * from './table';\nexport * from './table-body';\nexport * from './table-caption';\nexport * from './table-cell';\nexport * from './table-footer';\nexport * from './table-head';\nexport * from './table-header';\nexport * from './table-root';\nexport * from './table-row';\nexport * from './types';\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
export function TableBody(props) {
|
|
5
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
6
|
-
return (<tbody class={clsx(tableClass.body, local.class)} {...rest}>
|
|
7
|
-
{local.children}
|
|
8
|
-
</tbody>);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=table-body.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-body.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-body.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,MAAM,UAAU,SAAS,CAAC,KAAqB;IAC9C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC1C,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 { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableBodyProps } from './types';\n\nexport function TableBody(props: TableBodyProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<tbody\n\t\t\tclass={clsx(tableClass.body, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</tbody>\n\t);\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
import './table-caption.css';
|
|
5
|
-
export function TableCaption(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
return (<caption class={clsx(tableClass.caption, local.class)} {...rest}>
|
|
8
|
-
{local.children}
|
|
9
|
-
</caption>);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=table-caption.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-caption.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-caption.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,qBAAqB,CAAC;AAE7B,MAAM,UAAU,YAAY,CAAC,KAAwB;IACpD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,OAAO,CACP,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC7C,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,OAAO,CAAC,CACV,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableCaptionProps } from './types';\nimport './table-caption.css';\n\nexport function TableCaption(props: TableCaptionProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<caption\n\t\t\tclass={clsx(tableClass.caption, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</caption>\n\t);\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-table .fl-table_cell {
|
|
3
|
-
/* layout */
|
|
4
|
-
vertical-align: middle;
|
|
5
|
-
|
|
6
|
-
/* spacing */
|
|
7
|
-
padding: var(--fl-size-2) var(--fl-size-3);
|
|
8
|
-
|
|
9
|
-
/* background */
|
|
10
|
-
border-bottom: var(--fl-border-size, 1px) solid color-mix(in oklab, var(--fl-border-color), transparent 20%);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
import './table-cell.css';
|
|
5
|
-
export function TableCell(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
return (<td class={clsx(tableClass.cell, local.class)} {...rest}>
|
|
8
|
-
{local.children}
|
|
9
|
-
</td>);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=table-cell.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-cell.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,kBAAkB,CAAC;AAE1B,MAAM,UAAU,SAAS,CAAC,KAAqB;IAC9C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,EAAE,CACF,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC1C,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,EAAE,CAAC,CACL,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableCellProps } from './types';\nimport './table-cell.css';\n\nexport function TableCell(props: TableCellProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<td\n\t\t\tclass={clsx(tableClass.cell, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</td>\n\t);\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-table .fl-table_footer {
|
|
3
|
-
/* background */
|
|
4
|
-
background: color-mix(in oklab, var(--fl-body-bg-color), black 3%);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.fl-table .fl-table_footer .fl-table_cell,
|
|
8
|
-
.fl-table .fl-table_footer .fl-table_head {
|
|
9
|
-
/* background */
|
|
10
|
-
border-bottom: 0;
|
|
11
|
-
|
|
12
|
-
/* text */
|
|
13
|
-
font-weight: var(--fl-font-weight-medium);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
import './table-footer.css';
|
|
5
|
-
export function TableFooter(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
return (<tfoot class={clsx(tableClass.footer, local.class)} {...rest}>
|
|
8
|
-
{local.children}
|
|
9
|
-
</tfoot>);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=table-footer.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-footer.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,oBAAoB,CAAC;AAE5B,MAAM,UAAU,WAAW,CAAC,KAAuB;IAClD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC5C,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 { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableFooterProps } from './types';\nimport './table-footer.css';\n\nexport function TableFooter(props: TableFooterProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<tfoot\n\t\t\tclass={clsx(tableClass.footer, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</tfoot>\n\t);\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-table .fl-table_head {
|
|
3
|
-
/* spacing */
|
|
4
|
-
padding: var(--fl-size-2) var(--fl-size-3);
|
|
5
|
-
|
|
6
|
-
/* background */
|
|
7
|
-
background: color-mix(in oklab, var(--fl-body-bg-color), black 4%);
|
|
8
|
-
border-bottom: var(--fl-border-size, 1px) solid var(--fl-border-color);
|
|
9
|
-
|
|
10
|
-
/* text */
|
|
11
|
-
color: var(--fl-body-muted-text-color);
|
|
12
|
-
font-size: var(--fl-text-size-sm);
|
|
13
|
-
font-weight: var(--fl-font-weight-semibold);
|
|
14
|
-
text-align: left;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
import './table-head.css';
|
|
5
|
-
export function TableHead(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
return (<th class={clsx(tableClass.head, local.class)} {...rest}>
|
|
8
|
-
{local.children}
|
|
9
|
-
</th>);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=table-head.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-head.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-head.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,kBAAkB,CAAC;AAE1B,MAAM,UAAU,SAAS,CAAC,KAAqB;IAC9C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,EAAE,CACF,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC1C,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,EAAE,CAAC,CACL,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableHeadProps } from './types';\nimport './table-head.css';\n\nexport function TableHead(props: TableHeadProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<th\n\t\t\tclass={clsx(tableClass.head, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</th>\n\t);\n}\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
export function TableHeader(props) {
|
|
5
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
6
|
-
return (<thead class={clsx(tableClass.header, local.class)} {...rest}>
|
|
7
|
-
{local.children}
|
|
8
|
-
</thead>);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=table-header.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-header.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-header.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,MAAM,UAAU,WAAW,CAAC,KAAuB;IAClD,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC5C,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 { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableHeaderProps } from './types';\n\nexport function TableHeader(props: TableHeaderProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<thead\n\t\t\tclass={clsx(tableClass.header, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</thead>\n\t);\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
import './table-root.css';
|
|
5
|
-
export function TableRoot(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
return (<table class={clsx(tableClass.root, local.class)} {...rest}>
|
|
8
|
-
{local.children}
|
|
9
|
-
</table>);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=table-root.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-root.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-root.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,kBAAkB,CAAC;AAE1B,MAAM,UAAU,SAAS,CAAC,KAAiB;IAC1C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,KAAK,CACL,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAC1C,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 { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableProps } from './types';\nimport './table-root.css';\n\nexport function TableRoot(props: TableProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<table\n\t\t\tclass={clsx(tableClass.root, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</table>\n\t);\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx/lite';
|
|
2
|
-
import { splitProps } from 'solid-js';
|
|
3
|
-
import { tableClass } from './class';
|
|
4
|
-
import './table-row.css';
|
|
5
|
-
export function TableRow(props) {
|
|
6
|
-
const [local, rest] = splitProps(props, ['class', 'children']);
|
|
7
|
-
return (<tr class={clsx(tableClass.row, local.class)} {...rest}>
|
|
8
|
-
{local.children}
|
|
9
|
-
</tr>);
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=table-row.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-row.jsx","sourceRoot":"","sources":["../../../../src/components/table/table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,iBAAiB,CAAC;AAEzB,MAAM,UAAU,QAAQ,CAAC,KAAoB;IAC5C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/D,OAAO,CACN,CAAC,EAAE,CACF,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACzC,IAAI,IAAI,CAAC,CAET;GAAA,CAAC,KAAK,CAAC,QAAQ,CAChB;EAAA,EAAE,EAAE,CAAC,CACL,CAAC;AACH,CAAC","sourcesContent":["import clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { tableClass } from './class';\nimport type { TableRowProps } from './types';\nimport './table-row.css';\n\nexport function TableRow(props: TableRowProps) {\n\tconst [local, rest] = splitProps(props, ['class', 'children']);\n\treturn (\n\t\t<tr\n\t\t\tclass={clsx(tableClass.row, local.class)}\n\t\t\t{...rest}\n\t\t>\n\t\t\t{local.children}\n\t\t</tr>\n\t);\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { JSX } from 'solid-js';
|
|
2
|
-
import { TableBody } from './table-body';
|
|
3
|
-
import { TableCaption } from './table-caption';
|
|
4
|
-
import { TableCell } from './table-cell';
|
|
5
|
-
import { TableFooter } from './table-footer';
|
|
6
|
-
import { TableHead } from './table-head';
|
|
7
|
-
import { TableHeader } from './table-header';
|
|
8
|
-
import { TableRoot } from './table-root';
|
|
9
|
-
import { TableRow } from './table-row';
|
|
10
|
-
import type { TableProps } from './types';
|
|
11
|
-
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeaderProps, TableHeadProps, TableProps, TableRowProps, } from './types';
|
|
12
|
-
export { TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRoot, TableRow };
|
|
13
|
-
export interface TableComponent {
|
|
14
|
-
(props: TableProps): JSX.Element;
|
|
15
|
-
Header: typeof TableHeader;
|
|
16
|
-
Body: typeof TableBody;
|
|
17
|
-
Footer: typeof TableFooter;
|
|
18
|
-
Head: typeof TableHead;
|
|
19
|
-
Row: typeof TableRow;
|
|
20
|
-
Cell: typeof TableCell;
|
|
21
|
-
Caption: typeof TableCaption;
|
|
22
|
-
}
|
|
23
|
-
export declare const Table: TableComponent;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { TableBody } from './table-body';
|
|
2
|
-
import { TableCaption } from './table-caption';
|
|
3
|
-
import { TableCell } from './table-cell';
|
|
4
|
-
import { TableFooter } from './table-footer';
|
|
5
|
-
import { TableHead } from './table-head';
|
|
6
|
-
import { TableHeader } from './table-header';
|
|
7
|
-
import { TableRoot } from './table-root';
|
|
8
|
-
import { TableRow } from './table-row';
|
|
9
|
-
export { TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRoot, TableRow };
|
|
10
|
-
export const Table = Object.assign(TableRoot, {
|
|
11
|
-
Header: TableHeader,
|
|
12
|
-
Body: TableBody,
|
|
13
|
-
Footer: TableFooter,
|
|
14
|
-
Head: TableHead,
|
|
15
|
-
Row: TableRow,
|
|
16
|
-
Cell: TableCell,
|
|
17
|
-
Caption: TableCaption,
|
|
18
|
-
});
|
|
19
|
-
//# sourceMappingURL=table.jsx.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table.jsx","sourceRoot":"","sources":["../../../../src/components/table/table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAavC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;AAaxG,MAAM,CAAC,MAAM,KAAK,GAAmB,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;IAC7D,MAAM,EAAE,WAAW;IACnB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,WAAW;IACnB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,YAAY;CACrB,CAAC,CAAC","sourcesContent":["import type { JSX } from 'solid-js';\nimport { TableBody } from './table-body';\nimport { TableCaption } from './table-caption';\nimport { TableCell } from './table-cell';\nimport { TableFooter } from './table-footer';\nimport { TableHead } from './table-head';\nimport { TableHeader } from './table-header';\nimport { TableRoot } from './table-root';\nimport { TableRow } from './table-row';\nimport type { TableProps } from './types';\n\nexport type {\n\tTableBodyProps,\n\tTableCaptionProps,\n\tTableCellProps,\n\tTableFooterProps,\n\tTableHeaderProps,\n\tTableHeadProps,\n\tTableProps,\n\tTableRowProps,\n} from './types';\nexport { TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRoot, TableRow };\n\nexport interface TableComponent {\n\t(props: TableProps): JSX.Element;\n\tHeader: typeof TableHeader;\n\tBody: typeof TableBody;\n\tFooter: typeof TableFooter;\n\tHead: typeof TableHead;\n\tRow: typeof TableRow;\n\tCell: typeof TableCell;\n\tCaption: typeof TableCaption;\n}\n\nexport const Table: TableComponent = Object.assign(TableRoot, {\n\tHeader: TableHeader,\n\tBody: TableBody,\n\tFooter: TableFooter,\n\tHead: TableHead,\n\tRow: TableRow,\n\tCell: TableCell,\n\tCaption: TableCaption,\n});\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { JSX } from 'solid-js';
|
|
2
|
-
export type TableProps = JSX.HTMLAttributes<HTMLTableElement>;
|
|
3
|
-
export type TableHeaderProps = JSX.HTMLAttributes<HTMLTableSectionElement>;
|
|
4
|
-
export type TableBodyProps = JSX.HTMLAttributes<HTMLTableSectionElement>;
|
|
5
|
-
export type TableFooterProps = JSX.HTMLAttributes<HTMLTableSectionElement>;
|
|
6
|
-
export type TableHeadProps = JSX.ThHTMLAttributes<HTMLTableCellElement>;
|
|
7
|
-
export type TableRowProps = JSX.HTMLAttributes<HTMLTableRowElement>;
|
|
8
|
-
export type TableCellProps = JSX.TdHTMLAttributes<HTMLTableCellElement>;
|
|
9
|
-
export type TableCaptionProps = JSX.HTMLAttributes<HTMLTableCaptionElement>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/table/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { JSX } from 'solid-js';\n\nexport type TableProps = JSX.HTMLAttributes<HTMLTableElement>;\nexport type TableHeaderProps = JSX.HTMLAttributes<HTMLTableSectionElement>;\nexport type TableBodyProps = JSX.HTMLAttributes<HTMLTableSectionElement>;\nexport type TableFooterProps = JSX.HTMLAttributes<HTMLTableSectionElement>;\nexport type TableHeadProps = JSX.ThHTMLAttributes<HTMLTableCellElement>;\nexport type TableRowProps = JSX.HTMLAttributes<HTMLTableRowElement>;\nexport type TableCellProps = JSX.TdHTMLAttributes<HTMLTableCellElement>;\nexport type TableCaptionProps = JSX.HTMLAttributes<HTMLTableCaptionElement>;\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const tabsClass: {
|
|
2
|
-
readonly root: 'fl-tabs';
|
|
3
|
-
readonly list: 'fl-tabs_list';
|
|
4
|
-
readonly trigger: 'fl-tabs_trigger';
|
|
5
|
-
readonly indicator: 'fl-tabs_indicator';
|
|
6
|
-
readonly content: 'fl-tabs_content';
|
|
7
|
-
readonly color: {
|
|
8
|
-
readonly primary: '--color-primary';
|
|
9
|
-
readonly secondary: '--color-secondary';
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type TabsColor = keyof typeof tabsClass.color;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const tabsClass = {
|
|
2
|
-
root: 'fl-tabs',
|
|
3
|
-
list: 'fl-tabs_list',
|
|
4
|
-
trigger: 'fl-tabs_trigger',
|
|
5
|
-
indicator: 'fl-tabs_indicator',
|
|
6
|
-
content: 'fl-tabs_content',
|
|
7
|
-
color: {
|
|
8
|
-
primary: '--color-primary',
|
|
9
|
-
secondary: '--color-secondary',
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../src/components/tabs/class.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,mBAAmB;IAC9B,OAAO,EAAE,iBAAiB;IAC1B,KAAK,EAAE;QACN,OAAO,EAAE,iBAAiB;QAC1B,SAAS,EAAE,mBAAmB;KAC9B;CACQ,CAAC","sourcesContent":["export const tabsClass = {\n\troot: 'fl-tabs',\n\tlist: 'fl-tabs_list',\n\ttrigger: 'fl-tabs_trigger',\n\tindicator: 'fl-tabs_indicator',\n\tcontent: 'fl-tabs_content',\n\tcolor: {\n\t\tprimary: '--color-primary',\n\t\tsecondary: '--color-secondary',\n\t},\n} as const;\n\nexport type TabsColor = keyof typeof tabsClass.color;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC","sourcesContent":["export * from './class';\nexport * from './tabs';\n"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.fl-tabs .fl-tabs_content {
|
|
3
|
-
/* spacing */
|
|
4
|
-
padding: var(--fl-size-4);
|
|
5
|
-
|
|
6
|
-
/* text */
|
|
7
|
-
color: var(--fl-body-text-color);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* focus-visible state */
|
|
11
|
-
.fl-tabs .fl-tabs_content:focus-visible {
|
|
12
|
-
outline: var(--fl-focus-ring-size) solid var(--fl-focus-ring-color);
|
|
13
|
-
outline-offset: var(--fl-focus-ring-offset);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* vertical content */
|
|
17
|
-
.fl-tabs[data-orientation="vertical"] .fl-tabs_content {
|
|
18
|
-
/* layout */
|
|
19
|
-
flex: 1 1 auto;
|
|
20
|
-
|
|
21
|
-
/* spacing */
|
|
22
|
-
padding-top: 0;
|
|
23
|
-
}
|
|
24
|
-
}
|