@edo-w/flatline-solid 0.2.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/src/components/button/button.css +155 -0
- package/dist/src/components/button/button.d.ts +9 -0
- package/dist/src/components/button/button.jsx +21 -0
- package/dist/src/components/button/button.jsx.map +1 -0
- package/dist/src/components/button/class.d.ts +16 -0
- package/dist/src/components/button/class.js +15 -0
- package/dist/src/components/button/class.js.map +1 -0
- package/dist/src/components/button/index.d.ts +2 -0
- package/dist/src/components/button/index.js +3 -0
- package/dist/src/components/button/index.js.map +1 -0
- package/dist/src/components/card/card-action.css +15 -0
- package/dist/src/components/card/card-content.css +13 -0
- package/dist/src/components/card/card-footer.css +39 -0
- package/dist/src/components/card/card-header.css +13 -0
- package/dist/src/components/card/card-root.css +31 -0
- package/dist/src/components/card/card-subtitle.css +12 -0
- package/dist/src/components/card/card-title.css +33 -0
- package/dist/src/components/card/card.d.ts +42 -0
- package/dist/src/components/card/card.jsx +86 -0
- package/dist/src/components/card/card.jsx.map +1 -0
- package/dist/src/components/card/class.d.ts +28 -0
- package/dist/src/components/card/class.js +27 -0
- package/dist/src/components/card/class.js.map +1 -0
- package/dist/src/components/card/index.d.ts +2 -0
- package/dist/src/components/card/index.js +3 -0
- package/dist/src/components/card/index.js.map +1 -0
- package/dist/src/components/checkbox/checkbox-group.css +9 -0
- package/dist/src/components/checkbox/checkbox-group.d.ts +3 -0
- package/dist/src/components/checkbox/checkbox-group.jsx +43 -0
- package/dist/src/components/checkbox/checkbox-group.jsx.map +1 -0
- package/dist/src/components/checkbox/checkbox-root.css +85 -0
- package/dist/src/components/checkbox/checkbox-root.d.ts +4 -0
- package/dist/src/components/checkbox/checkbox-root.jsx +55 -0
- package/dist/src/components/checkbox/checkbox-root.jsx.map +1 -0
- package/dist/src/components/checkbox/checkbox.d.ts +9 -0
- package/dist/src/components/checkbox/checkbox.jsx +6 -0
- package/dist/src/components/checkbox/checkbox.jsx.map +1 -0
- package/dist/src/components/checkbox/class.d.ts +8 -0
- package/dist/src/components/checkbox/class.js +9 -0
- package/dist/src/components/checkbox/class.js.map +1 -0
- package/dist/src/components/checkbox/context.d.ts +9 -0
- package/dist/src/components/checkbox/context.js +6 -0
- package/dist/src/components/checkbox/context.js.map +1 -0
- package/dist/src/components/checkbox/index.d.ts +6 -0
- package/dist/src/components/checkbox/index.js +7 -0
- package/dist/src/components/checkbox/index.js.map +1 -0
- package/dist/src/components/checkbox/types.d.ts +16 -0
- package/dist/src/components/checkbox/types.js +1 -0
- package/dist/src/components/checkbox/types.js.map +1 -0
- package/dist/src/components/combobox/class.d.ts +13 -0
- package/dist/src/components/combobox/class.js +14 -0
- package/dist/src/components/combobox/class.js.map +1 -0
- package/dist/src/components/combobox/combobox-content.css +20 -0
- package/dist/src/components/combobox/combobox-content.d.ts +2 -0
- package/dist/src/components/combobox/combobox-content.jsx +15 -0
- package/dist/src/components/combobox/combobox-content.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-control.css +29 -0
- package/dist/src/components/combobox/combobox-control.d.ts +3 -0
- package/dist/src/components/combobox/combobox-control.jsx +19 -0
- package/dist/src/components/combobox/combobox-control.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-group.css +31 -0
- package/dist/src/components/combobox/combobox-group.d.ts +2 -0
- package/dist/src/components/combobox/combobox-group.jsx +12 -0
- package/dist/src/components/combobox/combobox-group.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-hidden-select.d.ts +2 -0
- package/dist/src/components/combobox/combobox-hidden-select.jsx +8 -0
- package/dist/src/components/combobox/combobox-hidden-select.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-icon.css +11 -0
- package/dist/src/components/combobox/combobox-icon.d.ts +2 -0
- package/dist/src/components/combobox/combobox-icon.jsx +12 -0
- package/dist/src/components/combobox/combobox-icon.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-input.css +32 -0
- package/dist/src/components/combobox/combobox-input.d.ts +3 -0
- package/dist/src/components/combobox/combobox-input.jsx +90 -0
- package/dist/src/components/combobox/combobox-input.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-item-indicator.css +11 -0
- package/dist/src/components/combobox/combobox-item-indicator.d.ts +2 -0
- package/dist/src/components/combobox/combobox-item-indicator.jsx +16 -0
- package/dist/src/components/combobox/combobox-item-indicator.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-item-label.d.ts +2 -0
- package/dist/src/components/combobox/combobox-item-label.jsx +13 -0
- package/dist/src/components/combobox/combobox-item-label.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-item.css +48 -0
- package/dist/src/components/combobox/combobox-item.d.ts +3 -0
- package/dist/src/components/combobox/combobox-item.jsx +30 -0
- package/dist/src/components/combobox/combobox-item.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-listbox.css +18 -0
- package/dist/src/components/combobox/combobox-listbox.d.ts +2 -0
- package/dist/src/components/combobox/combobox-listbox.jsx +39 -0
- package/dist/src/components/combobox/combobox-listbox.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-portal.d.ts +2 -0
- package/dist/src/components/combobox/combobox-portal.jsx +6 -0
- package/dist/src/components/combobox/combobox-portal.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-root.css +12 -0
- package/dist/src/components/combobox/combobox-root.d.ts +3 -0
- package/dist/src/components/combobox/combobox-root.jsx +362 -0
- package/dist/src/components/combobox/combobox-root.jsx.map +1 -0
- package/dist/src/components/combobox/combobox-trigger.css +31 -0
- package/dist/src/components/combobox/combobox-trigger.d.ts +3 -0
- package/dist/src/components/combobox/combobox-trigger.jsx +30 -0
- package/dist/src/components/combobox/combobox-trigger.jsx.map +1 -0
- package/dist/src/components/combobox/combobox.d.ts +43 -0
- package/dist/src/components/combobox/combobox.jsx +39 -0
- package/dist/src/components/combobox/combobox.jsx.map +1 -0
- package/dist/src/components/combobox/context.d.ts +45 -0
- package/dist/src/components/combobox/context.js +18 -0
- package/dist/src/components/combobox/context.js.map +1 -0
- package/dist/src/components/combobox/index.d.ts +2 -0
- package/dist/src/components/combobox/index.js +3 -0
- package/dist/src/components/combobox/index.js.map +1 -0
- package/dist/src/components/combobox/types.d.ts +68 -0
- package/dist/src/components/combobox/types.js +1 -0
- package/dist/src/components/combobox/types.js.map +1 -0
- package/dist/src/components/combobox/util.d.ts +6 -0
- package/dist/src/components/combobox/util.js +58 -0
- package/dist/src/components/combobox/util.js.map +1 -0
- package/dist/src/components/dialog/class.d.ts +18 -0
- package/dist/src/components/dialog/class.js +18 -0
- package/dist/src/components/dialog/class.js.map +1 -0
- package/dist/src/components/dialog/dialog-close-button.css +48 -0
- package/dist/src/components/dialog/dialog-content.css +89 -0
- package/dist/src/components/dialog/dialog-description.css +6 -0
- package/dist/src/components/dialog/dialog-header.css +12 -0
- package/dist/src/components/dialog/dialog-overlay.css +43 -0
- package/dist/src/components/dialog/dialog-positioner.css +14 -0
- package/dist/src/components/dialog/dialog-title.css +6 -0
- package/dist/src/components/dialog/dialog-trigger.css +63 -0
- package/dist/src/components/dialog/dialog.d.ts +50 -0
- package/dist/src/components/dialog/dialog.jsx +89 -0
- package/dist/src/components/dialog/dialog.jsx.map +1 -0
- package/dist/src/components/dialog/index.d.ts +2 -0
- package/dist/src/components/dialog/index.js +3 -0
- package/dist/src/components/dialog/index.js.map +1 -0
- package/dist/src/components/dropdown-menu/class.d.ts +16 -0
- package/dist/src/components/dropdown-menu/class.js +17 -0
- package/dist/src/components/dropdown-menu/class.js.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.css +7 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-arrow.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.css +38 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-checkbox-item.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-content.css +50 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-content.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-content.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-content.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.css +15 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group-label.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group.d.ts +2 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group.jsx +7 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-group.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.css +21 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-icon.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.css +12 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-indicator.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.css +18 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.jsx +11 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item-right-slot.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item.css +37 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-item.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-portal.d.ts +2 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-portal.jsx +5 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-portal.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.d.ts +2 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.jsx +7 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-group.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.css +38 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-radio-item.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-root.d.ts +2 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-root.jsx +5 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-root.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.css +11 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-separator.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.css +26 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-content.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.css +43 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.jsx +10 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub-trigger.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub.d.ts +2 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub.jsx +5 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-sub.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.css +6 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.d.ts +3 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.jsx +16 -0
- package/dist/src/components/dropdown-menu/dropdown-menu-trigger.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.d.ts +43 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.jsx +39 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.jsx.map +1 -0
- package/dist/src/components/dropdown-menu/index.d.ts +21 -0
- package/dist/src/components/dropdown-menu/index.js +22 -0
- package/dist/src/components/dropdown-menu/index.js.map +1 -0
- package/dist/src/components/dropdown-menu/types.d.ts +21 -0
- package/dist/src/components/dropdown-menu/types.js +1 -0
- package/dist/src/components/dropdown-menu/types.js.map +1 -0
- package/dist/src/components/input/class.d.ts +3 -0
- package/dist/src/components/input/class.js +4 -0
- package/dist/src/components/input/class.js.map +1 -0
- package/dist/src/components/input/index.d.ts +2 -0
- package/dist/src/components/input/index.js +3 -0
- package/dist/src/components/input/index.js.map +1 -0
- package/dist/src/components/input/input.css +34 -0
- package/dist/src/components/input/input.d.ts +6 -0
- package/dist/src/components/input/input.jsx +10 -0
- package/dist/src/components/input/input.jsx.map +1 -0
- package/dist/src/components/label/class.d.ts +3 -0
- package/dist/src/components/label/class.js +4 -0
- package/dist/src/components/label/class.js.map +1 -0
- package/dist/src/components/label/index.d.ts +2 -0
- package/dist/src/components/label/index.js +3 -0
- package/dist/src/components/label/index.js.map +1 -0
- package/dist/src/components/label/label.css +16 -0
- package/dist/src/components/label/label.d.ts +6 -0
- package/dist/src/components/label/label.jsx +12 -0
- package/dist/src/components/label/label.jsx.map +1 -0
- package/dist/src/components/progress-bar/class.d.ts +4 -0
- package/dist/src/components/progress-bar/class.js +5 -0
- package/dist/src/components/progress-bar/class.js.map +1 -0
- package/dist/src/components/progress-bar/index.d.ts +2 -0
- package/dist/src/components/progress-bar/index.js +3 -0
- package/dist/src/components/progress-bar/index.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.css +43 -0
- package/dist/src/components/progress-bar/progress-bar.d.ts +9 -0
- package/dist/src/components/progress-bar/progress-bar.jsx +24 -0
- package/dist/src/components/progress-bar/progress-bar.jsx.map +1 -0
- package/dist/src/components/radio/class.d.ts +8 -0
- package/dist/src/components/radio/class.js +9 -0
- package/dist/src/components/radio/class.js.map +1 -0
- package/dist/src/components/radio/context.d.ts +9 -0
- package/dist/src/components/radio/context.js +6 -0
- package/dist/src/components/radio/context.js.map +1 -0
- package/dist/src/components/radio/index.d.ts +6 -0
- package/dist/src/components/radio/index.js +7 -0
- package/dist/src/components/radio/index.js.map +1 -0
- package/dist/src/components/radio/radio-group.css +9 -0
- package/dist/src/components/radio/radio-group.d.ts +3 -0
- package/dist/src/components/radio/radio-group.jsx +33 -0
- package/dist/src/components/radio/radio-group.jsx.map +1 -0
- package/dist/src/components/radio/radio-root.css +75 -0
- package/dist/src/components/radio/radio-root.d.ts +4 -0
- package/dist/src/components/radio/radio-root.jsx +51 -0
- package/dist/src/components/radio/radio-root.jsx.map +1 -0
- package/dist/src/components/radio/radio.d.ts +11 -0
- package/dist/src/components/radio/radio.jsx +7 -0
- package/dist/src/components/radio/radio.jsx.map +1 -0
- package/dist/src/components/radio/types.d.ts +16 -0
- package/dist/src/components/radio/types.js +1 -0
- package/dist/src/components/radio/types.js.map +1 -0
- package/dist/src/components/select/class.d.ts +5 -0
- package/dist/src/components/select/class.js +6 -0
- package/dist/src/components/select/class.js.map +1 -0
- package/dist/src/components/select/index.d.ts +2 -0
- package/dist/src/components/select/index.js +3 -0
- package/dist/src/components/select/index.js.map +1 -0
- package/dist/src/components/select/select.css +76 -0
- package/dist/src/components/select/select.d.ts +6 -0
- package/dist/src/components/select/select.jsx +16 -0
- package/dist/src/components/select/select.jsx.map +1 -0
- package/dist/src/components/slider/class.d.ts +3 -0
- package/dist/src/components/slider/class.js +4 -0
- package/dist/src/components/slider/class.js.map +1 -0
- package/dist/src/components/slider/index.d.ts +2 -0
- package/dist/src/components/slider/index.js +3 -0
- package/dist/src/components/slider/index.js.map +1 -0
- package/dist/src/components/slider/slider.css +83 -0
- package/dist/src/components/slider/slider.d.ts +7 -0
- package/dist/src/components/slider/slider.jsx +19 -0
- package/dist/src/components/slider/slider.jsx.map +1 -0
- package/dist/src/components/spinner/class.d.ts +10 -0
- package/dist/src/components/spinner/class.js +10 -0
- package/dist/src/components/spinner/class.js.map +1 -0
- package/dist/src/components/spinner/index.d.ts +2 -0
- package/dist/src/components/spinner/index.js +3 -0
- package/dist/src/components/spinner/index.js.map +1 -0
- package/dist/src/components/spinner/spinner.css +51 -0
- package/dist/src/components/spinner/spinner.d.ts +9 -0
- package/dist/src/components/spinner/spinner.jsx +22 -0
- package/dist/src/components/spinner/spinner.jsx.map +1 -0
- package/dist/src/components/switch/class.d.ts +7 -0
- package/dist/src/components/switch/class.js +8 -0
- package/dist/src/components/switch/class.js.map +1 -0
- package/dist/src/components/switch/index.d.ts +2 -0
- package/dist/src/components/switch/index.js +3 -0
- package/dist/src/components/switch/index.js.map +1 -0
- package/dist/src/components/switch/switch.css +90 -0
- package/dist/src/components/switch/switch.d.ts +9 -0
- package/dist/src/components/switch/switch.jsx +28 -0
- package/dist/src/components/switch/switch.jsx.map +1 -0
- package/dist/src/components/table/class.d.ts +10 -0
- package/dist/src/components/table/class.js +11 -0
- package/dist/src/components/table/class.js.map +1 -0
- package/dist/src/components/table/index.d.ts +11 -0
- package/dist/src/components/table/index.js +12 -0
- package/dist/src/components/table/index.js.map +1 -0
- package/dist/src/components/table/table-body.d.ts +2 -0
- package/dist/src/components/table/table-body.jsx +10 -0
- package/dist/src/components/table/table-body.jsx.map +1 -0
- package/dist/src/components/table/table-caption.css +11 -0
- package/dist/src/components/table/table-caption.d.ts +3 -0
- package/dist/src/components/table/table-caption.jsx +11 -0
- package/dist/src/components/table/table-caption.jsx.map +1 -0
- package/dist/src/components/table/table-cell.css +12 -0
- package/dist/src/components/table/table-cell.d.ts +3 -0
- package/dist/src/components/table/table-cell.jsx +11 -0
- package/dist/src/components/table/table-cell.jsx.map +1 -0
- package/dist/src/components/table/table-footer.css +15 -0
- package/dist/src/components/table/table-footer.d.ts +3 -0
- package/dist/src/components/table/table-footer.jsx +11 -0
- package/dist/src/components/table/table-footer.jsx.map +1 -0
- package/dist/src/components/table/table-head.css +16 -0
- package/dist/src/components/table/table-head.d.ts +3 -0
- package/dist/src/components/table/table-head.jsx +11 -0
- package/dist/src/components/table/table-head.jsx.map +1 -0
- package/dist/src/components/table/table-header.d.ts +2 -0
- package/dist/src/components/table/table-header.jsx +10 -0
- package/dist/src/components/table/table-header.jsx.map +1 -0
- package/dist/src/components/table/table-root.css +12 -0
- package/dist/src/components/table/table-root.d.ts +3 -0
- package/dist/src/components/table/table-root.jsx +11 -0
- package/dist/src/components/table/table-root.jsx.map +1 -0
- package/dist/src/components/table/table-row.css +6 -0
- package/dist/src/components/table/table-row.d.ts +3 -0
- package/dist/src/components/table/table-row.jsx +11 -0
- package/dist/src/components/table/table-row.jsx.map +1 -0
- package/dist/src/components/table/table.d.ts +23 -0
- package/dist/src/components/table/table.jsx +19 -0
- package/dist/src/components/table/table.jsx.map +1 -0
- package/dist/src/components/table/types.d.ts +9 -0
- package/dist/src/components/table/types.js +1 -0
- package/dist/src/components/table/types.js.map +1 -0
- package/dist/src/components/tabs/class.d.ts +12 -0
- package/dist/src/components/tabs/class.js +12 -0
- package/dist/src/components/tabs/class.js.map +1 -0
- package/dist/src/components/tabs/index.d.ts +2 -0
- package/dist/src/components/tabs/index.js +3 -0
- package/dist/src/components/tabs/index.js.map +1 -0
- package/dist/src/components/tabs/tabs-content.css +24 -0
- package/dist/src/components/tabs/tabs-indicator.css +32 -0
- package/dist/src/components/tabs/tabs-list.css +26 -0
- package/dist/src/components/tabs/tabs-root.css +34 -0
- package/dist/src/components/tabs/tabs-trigger.css +58 -0
- package/dist/src/components/tabs/tabs.d.ts +27 -0
- package/dist/src/components/tabs/tabs.jsx +47 -0
- package/dist/src/components/tabs/tabs.jsx.map +1 -0
- package/dist/src/components/textarea/class.d.ts +3 -0
- package/dist/src/components/textarea/class.js +4 -0
- package/dist/src/components/textarea/class.js.map +1 -0
- package/dist/src/components/textarea/index.d.ts +2 -0
- package/dist/src/components/textarea/index.js +3 -0
- package/dist/src/components/textarea/index.js.map +1 -0
- package/dist/src/components/textarea/textarea.css +46 -0
- package/dist/src/components/textarea/textarea.d.ts +6 -0
- package/dist/src/components/textarea/textarea.jsx +10 -0
- package/dist/src/components/textarea/textarea.jsx.map +1 -0
- package/dist/src/components/xstack/class.d.ts +12 -0
- package/dist/src/components/xstack/class.js +12 -0
- package/dist/src/components/xstack/class.js.map +1 -0
- package/dist/src/components/xstack/index.d.ts +1 -0
- package/dist/src/components/xstack/index.js +1 -0
- package/dist/src/components/xstack/index.js.map +1 -0
- package/dist/src/components/xstack/xstack.css +34 -0
- package/dist/src/components/xstack/xstack.d.ts +9 -0
- package/dist/src/components/xstack/xstack.jsx +15 -0
- package/dist/src/components/xstack/xstack.jsx.map +1 -0
- package/dist/src/components/ystack/class.d.ts +11 -0
- package/dist/src/components/ystack/class.js +11 -0
- package/dist/src/components/ystack/class.js.map +1 -0
- package/dist/src/components/ystack/index.d.ts +2 -0
- package/dist/src/components/ystack/index.js +3 -0
- package/dist/src/components/ystack/index.js.map +1 -0
- package/dist/src/components/ystack/ystack.css +31 -0
- package/dist/src/components/ystack/ystack.d.ts +9 -0
- package/dist/src/components/ystack/ystack.jsx +15 -0
- package/dist/src/components/ystack/ystack.jsx.map +1 -0
- package/dist/src/icons/check-icon.d.ts +2 -0
- package/dist/src/icons/check-icon.jsx +8 -0
- package/dist/src/icons/check-icon.jsx.map +1 -0
- package/dist/src/icons/chevron-down-icon.d.ts +2 -0
- package/dist/src/icons/chevron-down-icon.jsx +8 -0
- package/dist/src/icons/chevron-down-icon.jsx.map +1 -0
- package/dist/src/icons/chevron-right-icon.d.ts +2 -0
- package/dist/src/icons/chevron-right-icon.jsx +8 -0
- package/dist/src/icons/chevron-right-icon.jsx.map +1 -0
- package/dist/src/icons/dot-filled-icon.d.ts +2 -0
- package/dist/src/icons/dot-filled-icon.jsx +8 -0
- package/dist/src/icons/dot-filled-icon.jsx.map +1 -0
- package/dist/src/icons/index.d.ts +5 -0
- package/dist/src/icons/index.js +6 -0
- package/dist/src/icons/index.js.map +1 -0
- package/dist/src/icons/types.d.ts +5 -0
- package/dist/src/icons/types.js +1 -0
- package/dist/src/icons/types.js.map +1 -0
- package/dist/src/index.d.ts +19 -0
- package/dist/src/index.js +20 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/lib/reflect.d.ts +1 -0
- package/dist/src/lib/reflect.js +4 -0
- package/dist/src/lib/reflect.js.map +1 -0
- package/dist/src/style/colors.css +267 -0
- package/dist/src/style/flatline.css +12 -0
- package/dist/src/style/reset.css +175 -0
- package/dist/src/style/tokens.css +139 -0
- package/package.json +48 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
|
|
2
|
+
import clsx from 'clsx/lite';
|
|
3
|
+
import { splitProps } from 'solid-js';
|
|
4
|
+
import { dropdownMenuClass } from './class';
|
|
5
|
+
import './dropdown-menu-separator.css';
|
|
6
|
+
export function DropdownMenuSeparator(props) {
|
|
7
|
+
const [local, rest] = splitProps(props, ['class']);
|
|
8
|
+
return (<KDropdownMenu.Separator class={clsx(dropdownMenuClass.separator, local.class)} {...rest}/>);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=dropdown-menu-separator.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu-separator.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,+BAA+B,CAAC;AAEvC,MAAM,UAAU,qBAAqB,CAAC,KAAiC;IACtE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,SAAS,CACvB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACtD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuSeparatorProps } from './types';\nimport './dropdown-menu-separator.css';\n\nexport function DropdownMenuSeparator(props: DropdownMenuSeparatorProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.Separator\n\t\t\tclass={clsx(dropdownMenuClass.separator, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.fl-dropdown-menu_sub-content {
|
|
3
|
+
/* reset */
|
|
4
|
+
outline: none;
|
|
5
|
+
|
|
6
|
+
/* layout */
|
|
7
|
+
min-width: 13.75rem;
|
|
8
|
+
|
|
9
|
+
/* spacing */
|
|
10
|
+
padding: var(--fl-size-2);
|
|
11
|
+
|
|
12
|
+
/* background */
|
|
13
|
+
background: var(--fl-body-bg-color);
|
|
14
|
+
border: var(--fl-border-size, 1px) solid var(--fl-border-color);
|
|
15
|
+
border-radius: var(--fl-border-radius);
|
|
16
|
+
|
|
17
|
+
/* effects */
|
|
18
|
+
box-shadow: var(--fl-shadow-lg);
|
|
19
|
+
transform-origin: var(--kb-menu-content-transform-origin);
|
|
20
|
+
animation: fl-dropdown-menu-content-hide 180ms ease-in forwards;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.fl-dropdown-menu_sub-content[data-expanded] {
|
|
24
|
+
animation: fl-dropdown-menu-content-show 180ms ease-out;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
|
|
2
|
+
import clsx from 'clsx/lite';
|
|
3
|
+
import { splitProps } from 'solid-js';
|
|
4
|
+
import { dropdownMenuClass } from './class';
|
|
5
|
+
import './dropdown-menu-sub-content.css';
|
|
6
|
+
export function DropdownMenuSubContent(props) {
|
|
7
|
+
const [local, rest] = splitProps(props, ['class']);
|
|
8
|
+
return (<KDropdownMenu.SubContent class={clsx(dropdownMenuClass.subContent, local.class)} {...rest}/>);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=dropdown-menu-sub-content.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu-sub-content.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-sub-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,iCAAiC,CAAC;AAEzC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACxE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,UAAU,CACxB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACvD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuSubContentProps } from './types';\nimport './dropdown-menu-sub-content.css';\n\nexport function DropdownMenuSubContent(props: DropdownMenuSubContentProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.SubContent\n\t\t\tclass={clsx(dropdownMenuClass.subContent, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.fl-dropdown-menu_sub-trigger {
|
|
3
|
+
/* reset */
|
|
4
|
+
outline: none;
|
|
5
|
+
|
|
6
|
+
/* layout */
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
min-height: var(--fl-size-8);
|
|
11
|
+
|
|
12
|
+
/* spacing */
|
|
13
|
+
padding-inline: var(--fl-size-2);
|
|
14
|
+
padding-left: var(--fl-size-6);
|
|
15
|
+
|
|
16
|
+
/* background */
|
|
17
|
+
border-radius: var(--fl-radius-sm);
|
|
18
|
+
|
|
19
|
+
/* text */
|
|
20
|
+
color: var(--fl-body-text-color);
|
|
21
|
+
font-size: var(--fl-text-size-sm);
|
|
22
|
+
line-height: 1.2;
|
|
23
|
+
|
|
24
|
+
/* pointer */
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
user-select: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fl-dropdown-menu_sub-trigger[data-expanded] {
|
|
30
|
+
background: color-mix(in oklab, var(--fl-body-bg-color), var(--fl-primary-color) 8%);
|
|
31
|
+
color: color-mix(in oklab, var(--fl-primary-color), black 15%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fl-dropdown-menu_sub-trigger[data-disabled] {
|
|
35
|
+
opacity: var(--fl-disabled-opacity);
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.fl-dropdown-menu_sub-trigger[data-highlighted] {
|
|
40
|
+
background: var(--fl-primary-color);
|
|
41
|
+
color: var(--fl-primary-text-color);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
|
|
2
|
+
import clsx from 'clsx/lite';
|
|
3
|
+
import { splitProps } from 'solid-js';
|
|
4
|
+
import { dropdownMenuClass } from './class';
|
|
5
|
+
import './dropdown-menu-sub-trigger.css';
|
|
6
|
+
export function DropdownMenuSubTrigger(props) {
|
|
7
|
+
const [local, rest] = splitProps(props, ['class']);
|
|
8
|
+
return (<KDropdownMenu.SubTrigger class={clsx(dropdownMenuClass.subTrigger, local.class)} {...rest}/>);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=dropdown-menu-sub-trigger.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu-sub-trigger.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-sub-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,iCAAiC,CAAC;AAEzC,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACxE,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnD,OAAO,CACN,CAAC,aAAa,CAAC,UAAU,CACxB,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACvD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { splitProps } from 'solid-js';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuSubTriggerProps } from './types';\nimport './dropdown-menu-sub-trigger.css';\n\nexport function DropdownMenuSubTrigger(props: DropdownMenuSubTriggerProps) {\n\tconst [local, rest] = splitProps(props, ['class']);\n\treturn (\n\t\t<KDropdownMenu.SubTrigger\n\t\t\tclass={clsx(dropdownMenuClass.subTrigger, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu-sub.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-sub.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5E,MAAM,UAAU,eAAe,CAAC,KAA2B;IAC1D,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACzC,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport type { DropdownMenuSubProps } from './types';\n\nexport function DropdownMenuSub(props: DropdownMenuSubProps) {\n\treturn <KDropdownMenu.Sub {...props} />;\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';
|
|
2
|
+
import clsx from 'clsx/lite';
|
|
3
|
+
import { mergeProps, splitProps } from 'solid-js';
|
|
4
|
+
import { Button } from '../button';
|
|
5
|
+
import { dropdownMenuClass } from './class';
|
|
6
|
+
import './dropdown-menu-trigger.css';
|
|
7
|
+
export function DropdownMenuTrigger(props) {
|
|
8
|
+
const merged = mergeProps({
|
|
9
|
+
type: 'button',
|
|
10
|
+
variant: 'solid',
|
|
11
|
+
color: 'primary',
|
|
12
|
+
}, props);
|
|
13
|
+
const [local, rest] = splitProps(merged, ['class']);
|
|
14
|
+
return (<KDropdownMenu.Trigger as={Button} class={clsx(dropdownMenuClass.trigger, local.class)} {...rest}/>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=dropdown-menu-trigger.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu-trigger.jsx","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/dropdown-menu-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,6BAA6B,CAAC;AAErC,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IAClE,MAAM,MAAM,GAAG,UAAU,CACxB;QACC,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,OAAO;QAChB,KAAK,EAAE,SAAS;KACP,EACV,KAAK,CACL,CAAC;IACF,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEpD,OAAO,CACN,CAAC,aAAa,CAAC,OAAO,CACrB,EAAE,CAAC,CAAC,MAAM,CAAC,CACX,KAAK,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CACpD,IAAI,IAAI,CAAC,EACR,CACF,CAAC;AACH,CAAC","sourcesContent":["import { DropdownMenu as KDropdownMenu } from '@kobalte/core/dropdown-menu';\nimport clsx from 'clsx/lite';\nimport { mergeProps, splitProps } from 'solid-js';\nimport { Button } from '../button';\nimport { dropdownMenuClass } from './class';\nimport type { DropdownMenuTriggerProps } from './types';\nimport './dropdown-menu-trigger.css';\n\nexport function DropdownMenuTrigger(props: DropdownMenuTriggerProps) {\n\tconst merged = mergeProps(\n\t\t{\n\t\t\ttype: 'button',\n\t\t\tvariant: 'solid',\n\t\t\tcolor: 'primary',\n\t\t} as const,\n\t\tprops,\n\t);\n\tconst [local, rest] = splitProps(merged, ['class']);\n\n\treturn (\n\t\t<KDropdownMenu.Trigger\n\t\t\tas={Button}\n\t\t\tclass={clsx(dropdownMenuClass.trigger, local.class)}\n\t\t\t{...rest}\n\t\t/>\n\t);\n}\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
import { DropdownMenuArrow } from './dropdown-menu-arrow';
|
|
3
|
+
import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-item';
|
|
4
|
+
import { DropdownMenuContent } from './dropdown-menu-content';
|
|
5
|
+
import { DropdownMenuGroup } from './dropdown-menu-group';
|
|
6
|
+
import { DropdownMenuGroupLabel } from './dropdown-menu-group-label';
|
|
7
|
+
import { DropdownMenuIcon } from './dropdown-menu-icon';
|
|
8
|
+
import { DropdownMenuItem } from './dropdown-menu-item';
|
|
9
|
+
import { DropdownMenuItemIndicator } from './dropdown-menu-item-indicator';
|
|
10
|
+
import { DropdownMenuItemRightSlot } from './dropdown-menu-item-right-slot';
|
|
11
|
+
import { DropdownMenuPortal } from './dropdown-menu-portal';
|
|
12
|
+
import { DropdownMenuRadioGroup } from './dropdown-menu-radio-group';
|
|
13
|
+
import { DropdownMenuRadioItem } from './dropdown-menu-radio-item';
|
|
14
|
+
import { DropdownMenuRoot } from './dropdown-menu-root';
|
|
15
|
+
import { DropdownMenuSeparator } from './dropdown-menu-separator';
|
|
16
|
+
import { DropdownMenuSub } from './dropdown-menu-sub';
|
|
17
|
+
import { DropdownMenuSubContent } from './dropdown-menu-sub-content';
|
|
18
|
+
import { DropdownMenuSubTrigger } from './dropdown-menu-sub-trigger';
|
|
19
|
+
import { DropdownMenuTrigger } from './dropdown-menu-trigger';
|
|
20
|
+
import type { DropdownMenuRootProps } from './types';
|
|
21
|
+
export type { DropdownMenuArrowProps, DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuGroupLabelProps, DropdownMenuGroupProps, DropdownMenuIconProps, DropdownMenuItemIndicatorProps, DropdownMenuItemProps, DropdownMenuItemRightSlotProps, DropdownMenuPortalProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuRootProps, DropdownMenuSeparatorProps, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTriggerProps, DropdownMenuTriggerProps, } from './types';
|
|
22
|
+
export { DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuGroupLabel, DropdownMenuIcon, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuItemRightSlot, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
|
|
23
|
+
export interface DropdownMenuComponent {
|
|
24
|
+
(props: DropdownMenuRootProps): JSX.Element;
|
|
25
|
+
Trigger: typeof DropdownMenuTrigger;
|
|
26
|
+
Icon: typeof DropdownMenuIcon;
|
|
27
|
+
Portal: typeof DropdownMenuPortal;
|
|
28
|
+
Content: typeof DropdownMenuContent;
|
|
29
|
+
Item: typeof DropdownMenuItem;
|
|
30
|
+
CheckboxItem: typeof DropdownMenuCheckboxItem;
|
|
31
|
+
RadioItem: typeof DropdownMenuRadioItem;
|
|
32
|
+
RadioGroup: typeof DropdownMenuRadioGroup;
|
|
33
|
+
Group: typeof DropdownMenuGroup;
|
|
34
|
+
GroupLabel: typeof DropdownMenuGroupLabel;
|
|
35
|
+
Separator: typeof DropdownMenuSeparator;
|
|
36
|
+
ItemIndicator: typeof DropdownMenuItemIndicator;
|
|
37
|
+
ItemRightSlot: typeof DropdownMenuItemRightSlot;
|
|
38
|
+
Sub: typeof DropdownMenuSub;
|
|
39
|
+
SubTrigger: typeof DropdownMenuSubTrigger;
|
|
40
|
+
SubContent: typeof DropdownMenuSubContent;
|
|
41
|
+
Arrow: typeof DropdownMenuArrow;
|
|
42
|
+
}
|
|
43
|
+
export declare const DropdownMenu: DropdownMenuComponent;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
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';
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|