@visitwonders/assembly 0.1.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/LICENSE.md +9 -0
- package/README.md +26 -0
- package/addon-main.cjs +4 -0
- package/declarations/action/button.d.ts +50 -0
- package/declarations/action/button.d.ts.map +1 -0
- package/declarations/action/index.d.ts +3 -0
- package/declarations/action/index.d.ts.map +1 -0
- package/declarations/action/link.d.ts +16 -0
- package/declarations/action/link.d.ts.map +1 -0
- package/declarations/components/form/checkbox.d.ts +65 -0
- package/declarations/components/form/checkbox.d.ts.map +1 -0
- package/declarations/components/form/control.d.ts +36 -0
- package/declarations/components/form/control.d.ts.map +1 -0
- package/declarations/components/form/error-message.d.ts +22 -0
- package/declarations/components/form/error-message.d.ts.map +1 -0
- package/declarations/components/form/field.d.ts +21 -0
- package/declarations/components/form/field.d.ts.map +1 -0
- package/declarations/components/form/form.d.ts +14 -0
- package/declarations/components/form/form.d.ts.map +1 -0
- package/declarations/components/form/help-text.d.ts +14 -0
- package/declarations/components/form/help-text.d.ts.map +1 -0
- package/declarations/components/form/index.d.ts +15 -0
- package/declarations/components/form/index.d.ts.map +1 -0
- package/declarations/components/form/input.d.ts +80 -0
- package/declarations/components/form/input.d.ts.map +1 -0
- package/declarations/components/form/label.d.ts +34 -0
- package/declarations/components/form/label.d.ts.map +1 -0
- package/declarations/components/form/radio-group.d.ts +43 -0
- package/declarations/components/form/radio-group.d.ts.map +1 -0
- package/declarations/components/form/radio.d.ts +54 -0
- package/declarations/components/form/radio.d.ts.map +1 -0
- package/declarations/components/form/search-input.d.ts +35 -0
- package/declarations/components/form/search-input.d.ts.map +1 -0
- package/declarations/components/form/select.d.ts +36 -0
- package/declarations/components/form/select.d.ts.map +1 -0
- package/declarations/components/form/test.d.ts +11 -0
- package/declarations/components/form/test.d.ts.map +1 -0
- package/declarations/components/form/textarea.d.ts +79 -0
- package/declarations/components/form/textarea.d.ts.map +1 -0
- package/declarations/components/form/toggle.d.ts +23 -0
- package/declarations/components/form/toggle.d.ts.map +1 -0
- package/declarations/components/primitives/grid-item.d.ts +21 -0
- package/declarations/components/primitives/grid-item.d.ts.map +1 -0
- package/declarations/components/primitives/grid.d.ts +49 -0
- package/declarations/components/primitives/grid.d.ts.map +1 -0
- package/declarations/components/primitives/h-stack.d.ts +17 -0
- package/declarations/components/primitives/h-stack.d.ts.map +1 -0
- package/declarations/components/primitives/heading.d.ts +52 -0
- package/declarations/components/primitives/heading.d.ts.map +1 -0
- package/declarations/components/primitives/image.d.ts +24 -0
- package/declarations/components/primitives/image.d.ts.map +1 -0
- package/declarations/components/primitives/index.d.ts +8 -0
- package/declarations/components/primitives/index.d.ts.map +1 -0
- package/declarations/components/primitives/link.d.ts +16 -0
- package/declarations/components/primitives/link.d.ts.map +1 -0
- package/declarations/components/primitives/stack.d.ts +23 -0
- package/declarations/components/primitives/stack.d.ts.map +1 -0
- package/declarations/components/primitives/text.d.ts +50 -0
- package/declarations/components/primitives/text.d.ts.map +1 -0
- package/declarations/components/primitives/v-stack.d.ts +16 -0
- package/declarations/components/primitives/v-stack.d.ts.map +1 -0
- package/declarations/components/ui/badge.d.ts +14 -0
- package/declarations/components/ui/badge.d.ts.map +1 -0
- package/declarations/components/ui/button.d.ts +32 -0
- package/declarations/components/ui/button.d.ts.map +1 -0
- package/declarations/components/ui/card.d.ts +27 -0
- package/declarations/components/ui/card.d.ts.map +1 -0
- package/declarations/components/ui/description-list.d.ts +22 -0
- package/declarations/components/ui/description-list.d.ts.map +1 -0
- package/declarations/components/ui/drawer.d.ts +14 -0
- package/declarations/components/ui/drawer.d.ts.map +1 -0
- package/declarations/components/ui/icon-button.d.ts +21 -0
- package/declarations/components/ui/icon-button.d.ts.map +1 -0
- package/declarations/components/ui/icon.d.ts +21 -0
- package/declarations/components/ui/icon.d.ts.map +1 -0
- package/declarations/components/ui/index.d.ts +17 -0
- package/declarations/components/ui/index.d.ts.map +1 -0
- package/declarations/components/ui/modal.d.ts +14 -0
- package/declarations/components/ui/modal.d.ts.map +1 -0
- package/declarations/components/ui/page-header.d.ts +16 -0
- package/declarations/components/ui/page-header.d.ts.map +1 -0
- package/declarations/components/ui/skeleton-card.d.ts +17 -0
- package/declarations/components/ui/skeleton-card.d.ts.map +1 -0
- package/declarations/components/ui/skeleton-text.d.ts +16 -0
- package/declarations/components/ui/skeleton-text.d.ts.map +1 -0
- package/declarations/components/ui/skeleton.d.ts +20 -0
- package/declarations/components/ui/skeleton.d.ts.map +1 -0
- package/declarations/components/ui/spinner.d.ts +11 -0
- package/declarations/components/ui/spinner.d.ts.map +1 -0
- package/declarations/components/ui/tab-nav/index.d.ts +36 -0
- package/declarations/components/ui/tab-nav/index.d.ts.map +1 -0
- package/declarations/components/ui/table/body.d.ts +11 -0
- package/declarations/components/ui/table/body.d.ts.map +1 -0
- package/declarations/components/ui/table/caption.d.ts +18 -0
- package/declarations/components/ui/table/caption.d.ts.map +1 -0
- package/declarations/components/ui/table/cell.d.ts +31 -0
- package/declarations/components/ui/table/cell.d.ts.map +1 -0
- package/declarations/components/ui/table/footer.d.ts +11 -0
- package/declarations/components/ui/table/footer.d.ts.map +1 -0
- package/declarations/components/ui/table/header-cell.d.ts +35 -0
- package/declarations/components/ui/table/header-cell.d.ts.map +1 -0
- package/declarations/components/ui/table/header.d.ts +11 -0
- package/declarations/components/ui/table/header.d.ts.map +1 -0
- package/declarations/components/ui/table/index.d.ts +0 -0
- package/declarations/components/ui/table/index.d.ts.map +1 -0
- package/declarations/components/ui/table/row.d.ts +21 -0
- package/declarations/components/ui/table/row.d.ts.map +1 -0
- package/declarations/components/ui/table_old.d.ts +29 -0
- package/declarations/components/ui/table_old.d.ts.map +1 -0
- package/declarations/data/index.d.ts +2 -0
- package/declarations/data/index.d.ts.map +1 -0
- package/declarations/data/table.d.ts +147 -0
- package/declarations/data/table.d.ts.map +1 -0
- package/declarations/form/calendar.d.ts +113 -0
- package/declarations/form/calendar.d.ts.map +1 -0
- package/declarations/form/checkbox-group.d.ts +84 -0
- package/declarations/form/checkbox-group.d.ts.map +1 -0
- package/declarations/form/checkbox.d.ts +65 -0
- package/declarations/form/checkbox.d.ts.map +1 -0
- package/declarations/form/control.d.ts +53 -0
- package/declarations/form/control.d.ts.map +1 -0
- package/declarations/form/country-data.d.ts +42 -0
- package/declarations/form/country-data.d.ts.map +1 -0
- package/declarations/form/country-select-field.d.ts +52 -0
- package/declarations/form/country-select-field.d.ts.map +1 -0
- package/declarations/form/country-select.d.ts +117 -0
- package/declarations/form/country-select.d.ts.map +1 -0
- package/declarations/form/date-picker-field.d.ts +69 -0
- package/declarations/form/date-picker-field.d.ts.map +1 -0
- package/declarations/form/date-picker.d.ts +128 -0
- package/declarations/form/date-picker.d.ts.map +1 -0
- package/declarations/form/date-range-picker-field.d.ts +71 -0
- package/declarations/form/date-range-picker-field.d.ts.map +1 -0
- package/declarations/form/date-range-picker.d.ts +146 -0
- package/declarations/form/date-range-picker.d.ts.map +1 -0
- package/declarations/form/error-message.d.ts +22 -0
- package/declarations/form/error-message.d.ts.map +1 -0
- package/declarations/form/field.d.ts +21 -0
- package/declarations/form/field.d.ts.map +1 -0
- package/declarations/form/form.d.ts +61 -0
- package/declarations/form/form.d.ts.map +1 -0
- package/declarations/form/help-text.d.ts +14 -0
- package/declarations/form/help-text.d.ts.map +1 -0
- package/declarations/form/index.d.ts +35 -0
- package/declarations/form/index.d.ts.map +1 -0
- package/declarations/form/input.d.ts +78 -0
- package/declarations/form/input.d.ts.map +1 -0
- package/declarations/form/label.d.ts +34 -0
- package/declarations/form/label.d.ts.map +1 -0
- package/declarations/form/listbox.d.ts +181 -0
- package/declarations/form/listbox.d.ts.map +1 -0
- package/declarations/form/money-field.d.ts +74 -0
- package/declarations/form/money-field.d.ts.map +1 -0
- package/declarations/form/multi-select.d.ts +121 -0
- package/declarations/form/multi-select.d.ts.map +1 -0
- package/declarations/form/number-field.d.ts +86 -0
- package/declarations/form/number-field.d.ts.map +1 -0
- package/declarations/form/option-group.d.ts +2 -0
- package/declarations/form/option-group.d.ts.map +1 -0
- package/declarations/form/option.d.ts +2 -0
- package/declarations/form/option.d.ts.map +1 -0
- package/declarations/form/radio-group.d.ts +43 -0
- package/declarations/form/radio-group.d.ts.map +1 -0
- package/declarations/form/radio.d.ts +54 -0
- package/declarations/form/radio.d.ts.map +1 -0
- package/declarations/form/search-input.d.ts +35 -0
- package/declarations/form/search-input.d.ts.map +1 -0
- package/declarations/form/select-field.d.ts +49 -0
- package/declarations/form/select-field.d.ts.map +1 -0
- package/declarations/form/select.d.ts +145 -0
- package/declarations/form/select.d.ts.map +1 -0
- package/declarations/form/test.d.ts +11 -0
- package/declarations/form/test.d.ts.map +1 -0
- package/declarations/form/text-field.d.ts +95 -0
- package/declarations/form/text-field.d.ts.map +1 -0
- package/declarations/form/textarea.d.ts +81 -0
- package/declarations/form/textarea.d.ts.map +1 -0
- package/declarations/form/time-picker-field.d.ts +61 -0
- package/declarations/form/time-picker-field.d.ts.map +1 -0
- package/declarations/form/time-picker.d.ts +151 -0
- package/declarations/form/time-picker.d.ts.map +1 -0
- package/declarations/form/toggle-field.d.ts +45 -0
- package/declarations/form/toggle-field.d.ts.map +1 -0
- package/declarations/form/toggle-group.d.ts +21 -0
- package/declarations/form/toggle-group.d.ts.map +1 -0
- package/declarations/form/toggle.d.ts +59 -0
- package/declarations/form/toggle.d.ts.map +1 -0
- package/declarations/index.d.ts +1 -0
- package/declarations/index.d.ts.map +1 -0
- package/declarations/layout/divider.d.ts +21 -0
- package/declarations/layout/divider.d.ts.map +1 -0
- package/declarations/layout/grid-item.d.ts +21 -0
- package/declarations/layout/grid-item.d.ts.map +1 -0
- package/declarations/layout/grid.d.ts +49 -0
- package/declarations/layout/grid.d.ts.map +1 -0
- package/declarations/layout/h-stack.d.ts +17 -0
- package/declarations/layout/h-stack.d.ts.map +1 -0
- package/declarations/layout/index.d.ts +7 -0
- package/declarations/layout/index.d.ts.map +1 -0
- package/declarations/layout/stack.d.ts +23 -0
- package/declarations/layout/stack.d.ts.map +1 -0
- package/declarations/layout/v-stack.d.ts +16 -0
- package/declarations/layout/v-stack.d.ts.map +1 -0
- package/declarations/media/icon.d.ts +34 -0
- package/declarations/media/icon.d.ts.map +1 -0
- package/declarations/media/image.d.ts +24 -0
- package/declarations/media/image.d.ts.map +1 -0
- package/declarations/media/index.d.ts +3 -0
- package/declarations/media/index.d.ts.map +1 -0
- package/declarations/overlay/blanket.d.ts +78 -0
- package/declarations/overlay/blanket.d.ts.map +1 -0
- package/declarations/overlay/drawer.d.ts +140 -0
- package/declarations/overlay/drawer.d.ts.map +1 -0
- package/declarations/overlay/index.d.ts +7 -0
- package/declarations/overlay/index.d.ts.map +1 -0
- package/declarations/overlay/modal.d.ts +138 -0
- package/declarations/overlay/modal.d.ts.map +1 -0
- package/declarations/overlay/popover.d.ts +205 -0
- package/declarations/overlay/popover.d.ts.map +1 -0
- package/declarations/overlay/toast.d.ts +58 -0
- package/declarations/overlay/toast.d.ts.map +1 -0
- package/declarations/overlay/tooltip.d.ts +154 -0
- package/declarations/overlay/tooltip.d.ts.map +1 -0
- package/declarations/primitives/grid-item.d.ts +21 -0
- package/declarations/primitives/grid-item.d.ts.map +1 -0
- package/declarations/primitives/grid.d.ts +49 -0
- package/declarations/primitives/grid.d.ts.map +1 -0
- package/declarations/primitives/h-stack.d.ts +17 -0
- package/declarations/primitives/h-stack.d.ts.map +1 -0
- package/declarations/primitives/heading.d.ts +52 -0
- package/declarations/primitives/heading.d.ts.map +1 -0
- package/declarations/primitives/image.d.ts +24 -0
- package/declarations/primitives/image.d.ts.map +1 -0
- package/declarations/primitives/index.d.ts +4 -0
- package/declarations/primitives/index.d.ts.map +1 -0
- package/declarations/primitives/link.d.ts +16 -0
- package/declarations/primitives/link.d.ts.map +1 -0
- package/declarations/primitives/stack.d.ts +23 -0
- package/declarations/primitives/stack.d.ts.map +1 -0
- package/declarations/primitives/text.d.ts +50 -0
- package/declarations/primitives/text.d.ts.map +1 -0
- package/declarations/primitives/v-stack.d.ts +16 -0
- package/declarations/primitives/v-stack.d.ts.map +1 -0
- package/declarations/services/index.d.ts +3 -0
- package/declarations/services/index.d.ts.map +1 -0
- package/declarations/services/toast.d.ts +81 -0
- package/declarations/services/toast.d.ts.map +1 -0
- package/declarations/status/badge.d.ts +38 -0
- package/declarations/status/badge.d.ts.map +1 -0
- package/declarations/status/index.d.ts +8 -0
- package/declarations/status/index.d.ts.map +1 -0
- package/declarations/status/skeleton-avatar.d.ts +22 -0
- package/declarations/status/skeleton-avatar.d.ts.map +1 -0
- package/declarations/status/skeleton-button.d.ts +21 -0
- package/declarations/status/skeleton-button.d.ts.map +1 -0
- package/declarations/status/skeleton-image.d.ts +21 -0
- package/declarations/status/skeleton-image.d.ts.map +1 -0
- package/declarations/status/skeleton-text.d.ts +24 -0
- package/declarations/status/skeleton-text.d.ts.map +1 -0
- package/declarations/status/skeleton.d.ts +33 -0
- package/declarations/status/skeleton.d.ts.map +1 -0
- package/declarations/status/tag.d.ts +48 -0
- package/declarations/status/tag.d.ts.map +1 -0
- package/declarations/template-registry.d.ts +1 -0
- package/declarations/template-registry.d.ts.map +1 -0
- package/declarations/types/design-system.d.ts +42 -0
- package/declarations/types/design-system.d.ts.map +1 -0
- package/declarations/typography/heading.d.ts +52 -0
- package/declarations/typography/heading.d.ts.map +1 -0
- package/declarations/typography/index.d.ts +3 -0
- package/declarations/typography/index.d.ts.map +1 -0
- package/declarations/typography/link.d.ts +16 -0
- package/declarations/typography/link.d.ts.map +1 -0
- package/declarations/typography/text.d.ts +50 -0
- package/declarations/typography/text.d.ts.map +1 -0
- package/declarations/ui/button.d.ts +50 -0
- package/declarations/ui/button.d.ts.map +1 -0
- package/declarations/ui/icon.d.ts +21 -0
- package/declarations/ui/icon.d.ts.map +1 -0
- package/declarations/ui/index.d.ts +2 -0
- package/declarations/ui/index.d.ts.map +1 -0
- package/dist/_app_/action/button.js +1 -0
- package/dist/_app_/action/link.js +1 -0
- package/dist/_app_/data/table.js +1 -0
- package/dist/_app_/form/calendar.js +1 -0
- package/dist/_app_/form/checkbox-group.js +1 -0
- package/dist/_app_/form/checkbox.js +1 -0
- package/dist/_app_/form/control.js +1 -0
- package/dist/_app_/form/country-data.js +1 -0
- package/dist/_app_/form/country-select-field.js +1 -0
- package/dist/_app_/form/country-select.js +1 -0
- package/dist/_app_/form/date-picker-field.js +1 -0
- package/dist/_app_/form/date-picker.js +1 -0
- package/dist/_app_/form/date-range-picker-field.js +1 -0
- package/dist/_app_/form/date-range-picker.js +1 -0
- package/dist/_app_/form/error-message.js +1 -0
- package/dist/_app_/form/field.js +1 -0
- package/dist/_app_/form/form.js +1 -0
- package/dist/_app_/form/help-text.js +1 -0
- package/dist/_app_/form/input.js +1 -0
- package/dist/_app_/form/label.js +1 -0
- package/dist/_app_/form/listbox.js +1 -0
- package/dist/_app_/form/money-field.js +1 -0
- package/dist/_app_/form/multi-select.js +1 -0
- package/dist/_app_/form/number-field.js +1 -0
- package/dist/_app_/form/option-group.js +1 -0
- package/dist/_app_/form/option.js +1 -0
- package/dist/_app_/form/radio-group.js +1 -0
- package/dist/_app_/form/radio.js +1 -0
- package/dist/_app_/form/search-input.js +1 -0
- package/dist/_app_/form/select-field.js +1 -0
- package/dist/_app_/form/select.js +1 -0
- package/dist/_app_/form/text-field.js +1 -0
- package/dist/_app_/form/textarea.js +1 -0
- package/dist/_app_/form/time-picker-field.js +1 -0
- package/dist/_app_/form/time-picker.js +1 -0
- package/dist/_app_/form/toggle-field.js +1 -0
- package/dist/_app_/form/toggle-group.js +1 -0
- package/dist/_app_/form/toggle.js +1 -0
- package/dist/_app_/layout/divider.js +1 -0
- package/dist/_app_/layout/grid-item.js +1 -0
- package/dist/_app_/layout/grid.js +1 -0
- package/dist/_app_/layout/h-stack.js +1 -0
- package/dist/_app_/layout/stack.js +1 -0
- package/dist/_app_/layout/v-stack.js +1 -0
- package/dist/_app_/media/icon.js +1 -0
- package/dist/_app_/media/image.js +1 -0
- package/dist/_app_/overlay/blanket.js +1 -0
- package/dist/_app_/overlay/drawer.js +1 -0
- package/dist/_app_/overlay/modal.js +1 -0
- package/dist/_app_/overlay/popover.js +1 -0
- package/dist/_app_/overlay/toast.js +1 -0
- package/dist/_app_/overlay/tooltip.js +1 -0
- package/dist/_app_/services/toast.js +1 -0
- package/dist/_app_/status/badge.js +1 -0
- package/dist/_app_/status/skeleton-avatar.js +1 -0
- package/dist/_app_/status/skeleton-button.js +1 -0
- package/dist/_app_/status/skeleton-image.js +1 -0
- package/dist/_app_/status/skeleton-text.js +1 -0
- package/dist/_app_/status/skeleton.js +1 -0
- package/dist/_app_/status/tag.js +1 -0
- package/dist/_app_/typography/heading.js +1 -0
- package/dist/_app_/typography/text.js +1 -0
- package/dist/action/button.css +360 -0
- package/dist/action/button.js +50 -0
- package/dist/action/button.js.map +1 -0
- package/dist/action/index.js +3 -0
- package/dist/action/index.js.map +1 -0
- package/dist/action/link-css-2b7265326c02ebb264835b3680b7e81e.css +19 -0
- package/dist/action/link.js +17 -0
- package/dist/action/link.js.map +1 -0
- package/dist/data/index.js +2 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data/table.css +270 -0
- package/dist/data/table.js +478 -0
- package/dist/data/table.js.map +1 -0
- package/dist/form/calendar.css +239 -0
- package/dist/form/calendar.js +532 -0
- package/dist/form/calendar.js.map +1 -0
- package/dist/form/checkbox-group.css +47 -0
- package/dist/form/checkbox-group.js +102 -0
- package/dist/form/checkbox-group.js.map +1 -0
- package/dist/form/checkbox.css +193 -0
- package/dist/form/checkbox.js +70 -0
- package/dist/form/checkbox.js.map +1 -0
- package/dist/form/control-css-6c81caf37fd813b36033091d5340bc70.css +20 -0
- package/dist/form/control.js +57 -0
- package/dist/form/control.js.map +1 -0
- package/dist/form/country-data.js +1075 -0
- package/dist/form/country-data.js.map +1 -0
- package/dist/form/country-select-field.js +37 -0
- package/dist/form/country-select-field.js.map +1 -0
- package/dist/form/country-select.css +299 -0
- package/dist/form/country-select.js +336 -0
- package/dist/form/country-select.js.map +1 -0
- package/dist/form/date-picker-field.js +37 -0
- package/dist/form/date-picker-field.js.map +1 -0
- package/dist/form/date-picker.css +177 -0
- package/dist/form/date-picker.js +366 -0
- package/dist/form/date-picker.js.map +1 -0
- package/dist/form/date-range-picker-field.js +37 -0
- package/dist/form/date-range-picker-field.js.map +1 -0
- package/dist/form/date-range-picker.css +259 -0
- package/dist/form/date-range-picker.js +451 -0
- package/dist/form/date-range-picker.js.map +1 -0
- package/dist/form/error-message.css +27 -0
- package/dist/form/error-message.js +27 -0
- package/dist/form/error-message.js.map +1 -0
- package/dist/form/field.css +45 -0
- package/dist/form/field.js +28 -0
- package/dist/form/field.js.map +1 -0
- package/dist/form/form.css +6 -0
- package/dist/form/form.js +120 -0
- package/dist/form/form.js.map +1 -0
- package/dist/form/help-text.css +7 -0
- package/dist/form/help-text.js +13 -0
- package/dist/form/help-text.js.map +1 -0
- package/dist/form/index.js +33 -0
- package/dist/form/index.js.map +1 -0
- package/dist/form/input.css +176 -0
- package/dist/form/input.js +43 -0
- package/dist/form/input.js.map +1 -0
- package/dist/form/label.css +59 -0
- package/dist/form/label.js +54 -0
- package/dist/form/label.js.map +1 -0
- package/dist/form/listbox.css +125 -0
- package/dist/form/listbox.js +388 -0
- package/dist/form/listbox.js.map +1 -0
- package/dist/form/money-field.css +9 -0
- package/dist/form/money-field.js +203 -0
- package/dist/form/money-field.js.map +1 -0
- package/dist/form/multi-select.css +343 -0
- package/dist/form/multi-select.js +429 -0
- package/dist/form/multi-select.js.map +1 -0
- package/dist/form/number-field.css +170 -0
- package/dist/form/number-field.js +184 -0
- package/dist/form/number-field.js.map +1 -0
- package/dist/form/option-group.js +2 -0
- package/dist/form/option-group.js.map +1 -0
- package/dist/form/option.js +2 -0
- package/dist/form/option.js.map +1 -0
- package/dist/form/radio-group.css +54 -0
- package/dist/form/radio-group.js +53 -0
- package/dist/form/radio-group.js.map +1 -0
- package/dist/form/radio.css +183 -0
- package/dist/form/radio.js +65 -0
- package/dist/form/radio.js.map +1 -0
- package/dist/form/search-input.css +118 -0
- package/dist/form/search-input.js +87 -0
- package/dist/form/search-input.js.map +1 -0
- package/dist/form/select-field.js +39 -0
- package/dist/form/select-field.js.map +1 -0
- package/dist/form/select.css +201 -0
- package/dist/form/select.js +394 -0
- package/dist/form/select.js.map +1 -0
- package/dist/form/text-field-css-f60360f3f8aaf4da664eaccd1bcc9f8f.css +31 -0
- package/dist/form/text-field.js +141 -0
- package/dist/form/text-field.js.map +1 -0
- package/dist/form/textarea.css +139 -0
- package/dist/form/textarea.js +140 -0
- package/dist/form/textarea.js.map +1 -0
- package/dist/form/time-picker-field.js +37 -0
- package/dist/form/time-picker-field.js.map +1 -0
- package/dist/form/time-picker.css +239 -0
- package/dist/form/time-picker.js +618 -0
- package/dist/form/time-picker.js.map +1 -0
- package/dist/form/toggle-field.css +6 -0
- package/dist/form/toggle-field.js +40 -0
- package/dist/form/toggle-field.js.map +1 -0
- package/dist/form/toggle-group.css +46 -0
- package/dist/form/toggle-group.js +20 -0
- package/dist/form/toggle-group.js.map +1 -0
- package/dist/form/toggle.css +206 -0
- package/dist/form/toggle.js +103 -0
- package/dist/form/toggle.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/divider-css-1ba104b9c606cbd1f542b45640fb5f2b.css +122 -0
- package/dist/layout/divider.js +35 -0
- package/dist/layout/divider.js.map +1 -0
- package/dist/layout/grid-css-086976eb41686e3714554f56c098d3d5.css +155 -0
- package/dist/layout/grid-item-css-8d0f842568d1e8345ac709bdf2ed6745.css +122 -0
- package/dist/layout/grid-item.js +13 -0
- package/dist/layout/grid-item.js.map +1 -0
- package/dist/layout/grid.js +96 -0
- package/dist/layout/grid.js.map +1 -0
- package/dist/layout/h-stack.js +14 -0
- package/dist/layout/h-stack.js.map +1 -0
- package/dist/layout/index.js +7 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/stack-css-f094dc4a0a45b6af2acedca81dcce289.css +77 -0
- package/dist/layout/stack.js +32 -0
- package/dist/layout/stack.js.map +1 -0
- package/dist/layout/v-stack.js +14 -0
- package/dist/layout/v-stack.js.map +1 -0
- package/dist/media/icon.css +43 -0
- package/dist/media/icon.js +71 -0
- package/dist/media/icon.js.map +1 -0
- package/dist/media/image-css-6bc4899d3a8b992c3d4d2f1a796ce0fc.css +78 -0
- package/dist/media/image.js +47 -0
- package/dist/media/image.js.map +1 -0
- package/dist/media/index.js +3 -0
- package/dist/media/index.js.map +1 -0
- package/dist/overlay/blanket.css +67 -0
- package/dist/overlay/blanket.js +139 -0
- package/dist/overlay/blanket.js.map +1 -0
- package/dist/overlay/drawer.css +369 -0
- package/dist/overlay/drawer.js +275 -0
- package/dist/overlay/drawer.js.map +1 -0
- package/dist/overlay/index.js +7 -0
- package/dist/overlay/index.js.map +1 -0
- package/dist/overlay/modal.css +209 -0
- package/dist/overlay/modal.js +269 -0
- package/dist/overlay/modal.js.map +1 -0
- package/dist/overlay/popover.css +210 -0
- package/dist/overlay/popover.js +396 -0
- package/dist/overlay/popover.js.map +1 -0
- package/dist/overlay/toast.css +300 -0
- package/dist/overlay/toast.js +123 -0
- package/dist/overlay/toast.js.map +1 -0
- package/dist/overlay/tooltip.css +246 -0
- package/dist/overlay/tooltip.js +368 -0
- package/dist/overlay/tooltip.js.map +1 -0
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/toast.js +162 -0
- package/dist/services/toast.js.map +1 -0
- package/dist/skeleton-CL5Pcwrk.js +3 -0
- package/dist/skeleton-CL5Pcwrk.js.map +1 -0
- package/dist/status/badge.css +218 -0
- package/dist/status/badge.js +38 -0
- package/dist/status/badge.js.map +1 -0
- package/dist/status/index.js +8 -0
- package/dist/status/index.js.map +1 -0
- package/dist/status/skeleton-avatar.js +29 -0
- package/dist/status/skeleton-avatar.js.map +1 -0
- package/dist/status/skeleton-button.js +25 -0
- package/dist/status/skeleton-button.js.map +1 -0
- package/dist/status/skeleton-image.js +31 -0
- package/dist/status/skeleton-image.js.map +1 -0
- package/dist/status/skeleton-text.js +41 -0
- package/dist/status/skeleton-text.js.map +1 -0
- package/dist/status/skeleton.css +185 -0
- package/dist/status/skeleton.js +44 -0
- package/dist/status/skeleton.js.map +1 -0
- package/dist/status/tag.css +352 -0
- package/dist/status/tag.js +81 -0
- package/dist/status/tag.js.map +1 -0
- package/dist/styles/animations.css +11 -0
- package/dist/styles/base/typography.css +47 -0
- package/dist/styles/ember-promise-modals.css +43 -0
- package/dist/styles/primitive/colors.css +86 -0
- package/dist/styles/primitive/effects.css +29 -0
- package/dist/styles/primitive/fonts.css +19 -0
- package/dist/styles/primitive/motion.css +18 -0
- package/dist/styles/primitive/shape.css +17 -0
- package/dist/styles/primitive/spacing.css +29 -0
- package/dist/styles/primitive/typography.css +45 -0
- package/dist/styles/primitive/z-index.css +14 -0
- package/dist/styles/semantic/colors.css +155 -0
- package/dist/styles/semantic/component.css +0 -0
- package/dist/styles/semantic/effects.css +17 -0
- package/dist/styles/semantic/motion.css +10 -0
- package/dist/styles/semantic/shape.css +20 -0
- package/dist/styles/semantic/sizing.css +53 -0
- package/dist/styles/semantic/spacing.css +32 -0
- package/dist/styles/semantic/typography.css +32 -0
- package/dist/styles/tokens.css +31 -0
- package/dist/styles.css +710 -0
- package/dist/template-registry.js +2 -0
- package/dist/template-registry.js.map +1 -0
- package/dist/types/design-system.js +2 -0
- package/dist/types/design-system.js.map +1 -0
- package/dist/typography/heading-css-8850735eabc2efb34f15240b852c99e7.css +99 -0
- package/dist/typography/heading.js +80 -0
- package/dist/typography/heading.js.map +1 -0
- package/dist/typography/index.js +3 -0
- package/dist/typography/index.js.map +1 -0
- package/dist/typography/text-css-73e03f1b750b32d7064d4ef87562289c.css +143 -0
- package/dist/typography/text.js +76 -0
- package/dist/typography/text.js.map +1 -0
- package/dist/ui/index.js +3 -0
- package/dist/ui/index.js.map +1 -0
- package/package.json +218 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/* <inline>/src/layout/grid-css-086976eb41686e3714554f56c098d3d5.css */
|
|
2
|
+
|
|
3
|
+
.grid_e46af672c {
|
|
4
|
+
display: grid;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Inline */
|
|
8
|
+
.grid_e46af672c[data-inline="true"] {
|
|
9
|
+
display: inline-grid;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Fixed column counts */
|
|
13
|
+
.grid_e46af672c[data-columns="1"] {
|
|
14
|
+
grid-template-columns: repeat(1, 1fr);
|
|
15
|
+
}
|
|
16
|
+
.grid_e46af672c[data-columns="2"] {
|
|
17
|
+
grid-template-columns: repeat(2, 1fr);
|
|
18
|
+
}
|
|
19
|
+
.grid_e46af672c[data-columns="3"] {
|
|
20
|
+
grid-template-columns: repeat(3, 1fr);
|
|
21
|
+
}
|
|
22
|
+
.grid_e46af672c[data-columns="4"] {
|
|
23
|
+
grid-template-columns: repeat(4, 1fr);
|
|
24
|
+
}
|
|
25
|
+
.grid_e46af672c[data-columns="5"] {
|
|
26
|
+
grid-template-columns: repeat(5, 1fr);
|
|
27
|
+
}
|
|
28
|
+
.grid_e46af672c[data-columns="6"] {
|
|
29
|
+
grid-template-columns: repeat(6, 1fr);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Auto columns with min-child-width */
|
|
33
|
+
.grid_e46af672c[data-columns="auto"][data-min-child-width="xs"] {
|
|
34
|
+
grid-template-columns: repeat(
|
|
35
|
+
auto-fit,
|
|
36
|
+
minmax(var(--grid-min-child-width-xs), 1fr)
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
.grid_e46af672c[data-columns="auto"][data-min-child-width="sm"] {
|
|
40
|
+
grid-template-columns: repeat(
|
|
41
|
+
auto-fit,
|
|
42
|
+
minmax(var(--grid-min-child-width-sm), 1fr)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
.grid_e46af672c[data-columns="auto"][data-min-child-width="md"] {
|
|
46
|
+
grid-template-columns: repeat(
|
|
47
|
+
auto-fit,
|
|
48
|
+
minmax(var(--grid-min-child-width-md), 1fr)
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
.grid_e46af672c[data-columns="auto"][data-min-child-width="lg"] {
|
|
52
|
+
grid-template-columns: repeat(
|
|
53
|
+
auto-fit,
|
|
54
|
+
minmax(var(--grid-min-child-width-lg), 1fr)
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
.grid_e46af672c[data-columns="auto"][data-min-child-width="xl"] {
|
|
58
|
+
grid-template-columns: repeat(
|
|
59
|
+
auto-fit,
|
|
60
|
+
minmax(var(--grid-min-child-width-xl), 1fr)
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Fixed row counts */
|
|
65
|
+
.grid_e46af672c[data-rows="1"] {
|
|
66
|
+
grid-template-rows: repeat(1, 1fr);
|
|
67
|
+
}
|
|
68
|
+
.grid_e46af672c[data-rows="2"] {
|
|
69
|
+
grid-template-rows: repeat(2, 1fr);
|
|
70
|
+
}
|
|
71
|
+
.grid_e46af672c[data-rows="3"] {
|
|
72
|
+
grid-template-rows: repeat(3, 1fr);
|
|
73
|
+
}
|
|
74
|
+
.grid_e46af672c[data-rows="4"] {
|
|
75
|
+
grid-template-rows: repeat(4, 1fr);
|
|
76
|
+
}
|
|
77
|
+
.grid_e46af672c[data-rows="5"] {
|
|
78
|
+
grid-template-rows: repeat(5, 1fr);
|
|
79
|
+
}
|
|
80
|
+
.grid_e46af672c[data-rows="6"] {
|
|
81
|
+
grid-template-rows: repeat(6, 1fr);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Auto rows */
|
|
85
|
+
.grid_e46af672c[data-rows="auto"] {
|
|
86
|
+
grid-auto-rows: minmax(min-content, max-content);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Gap X */
|
|
90
|
+
.grid_e46af672c[data-gap-x="none"] {
|
|
91
|
+
column-gap: 0;
|
|
92
|
+
}
|
|
93
|
+
.grid_e46af672c[data-gap-x="xs"] {
|
|
94
|
+
column-gap: var(--spacing-gap-xs);
|
|
95
|
+
}
|
|
96
|
+
.grid_e46af672c[data-gap-x="sm"] {
|
|
97
|
+
column-gap: var(--spacing-gap-sm);
|
|
98
|
+
}
|
|
99
|
+
.grid_e46af672c[data-gap-x="md"] {
|
|
100
|
+
column-gap: var(--spacing-gap-md);
|
|
101
|
+
}
|
|
102
|
+
.grid_e46af672c[data-gap-x="lg"] {
|
|
103
|
+
column-gap: var(--spacing-gap-lg);
|
|
104
|
+
}
|
|
105
|
+
.grid_e46af672c[data-gap-x="xl"] {
|
|
106
|
+
column-gap: var(--spacing-gap-xl);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Gap Y */
|
|
110
|
+
.grid_e46af672c[data-gap-y="none"] {
|
|
111
|
+
row-gap: 0;
|
|
112
|
+
}
|
|
113
|
+
.grid_e46af672c[data-gap-y="xs"] {
|
|
114
|
+
row-gap: var(--spacing-gap-xs);
|
|
115
|
+
}
|
|
116
|
+
.grid_e46af672c[data-gap-y="sm"] {
|
|
117
|
+
row-gap: var(--spacing-gap-sm);
|
|
118
|
+
}
|
|
119
|
+
.grid_e46af672c[data-gap-y="md"] {
|
|
120
|
+
row-gap: var(--spacing-gap-md);
|
|
121
|
+
}
|
|
122
|
+
.grid_e46af672c[data-gap-y="lg"] {
|
|
123
|
+
row-gap: var(--spacing-gap-lg);
|
|
124
|
+
}
|
|
125
|
+
.grid_e46af672c[data-gap-y="xl"] {
|
|
126
|
+
row-gap: var(--spacing-gap-xl);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Align (items on block axis) */
|
|
130
|
+
.grid_e46af672c[data-align="start"] {
|
|
131
|
+
align-items: start;
|
|
132
|
+
}
|
|
133
|
+
.grid_e46af672c[data-align="center"] {
|
|
134
|
+
align-items: center;
|
|
135
|
+
}
|
|
136
|
+
.grid_e46af672c[data-align="end"] {
|
|
137
|
+
align-items: end;
|
|
138
|
+
}
|
|
139
|
+
.grid_e46af672c[data-align="stretch"] {
|
|
140
|
+
align-items: stretch;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* Justify (items on inline axis) */
|
|
144
|
+
.grid_e46af672c[data-justify="start"] {
|
|
145
|
+
justify-items: start;
|
|
146
|
+
}
|
|
147
|
+
.grid_e46af672c[data-justify="center"] {
|
|
148
|
+
justify-items: center;
|
|
149
|
+
}
|
|
150
|
+
.grid_e46af672c[data-justify="end"] {
|
|
151
|
+
justify-items: end;
|
|
152
|
+
}
|
|
153
|
+
.grid_e46af672c[data-justify="stretch"] {
|
|
154
|
+
justify-items: stretch;
|
|
155
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* <inline>/src/layout/grid-item-css-8d0f842568d1e8345ac709bdf2ed6745.css */
|
|
2
|
+
|
|
3
|
+
.grid-item_e1f8d62c1 {
|
|
4
|
+
/* No default styles needed */
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Column spanning */
|
|
8
|
+
.grid-item_e1f8d62c1[data-col-span="1"] {
|
|
9
|
+
grid-column: span 1;
|
|
10
|
+
}
|
|
11
|
+
.grid-item_e1f8d62c1[data-col-span="2"] {
|
|
12
|
+
grid-column: span 2;
|
|
13
|
+
}
|
|
14
|
+
.grid-item_e1f8d62c1[data-col-span="3"] {
|
|
15
|
+
grid-column: span 3;
|
|
16
|
+
}
|
|
17
|
+
.grid-item_e1f8d62c1[data-col-span="4"] {
|
|
18
|
+
grid-column: span 4;
|
|
19
|
+
}
|
|
20
|
+
.grid-item_e1f8d62c1[data-col-span="5"] {
|
|
21
|
+
grid-column: span 5;
|
|
22
|
+
}
|
|
23
|
+
.grid-item_e1f8d62c1[data-col-span="6"] {
|
|
24
|
+
grid-column: span 6;
|
|
25
|
+
}
|
|
26
|
+
.grid-item_e1f8d62c1[data-col-span="full"] {
|
|
27
|
+
grid-column: 1 / -1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Row spanning */
|
|
31
|
+
.grid-item_e1f8d62c1[data-row-span="1"] {
|
|
32
|
+
grid-row: span 1;
|
|
33
|
+
}
|
|
34
|
+
.grid-item_e1f8d62c1[data-row-span="2"] {
|
|
35
|
+
grid-row: span 2;
|
|
36
|
+
}
|
|
37
|
+
.grid-item_e1f8d62c1[data-row-span="3"] {
|
|
38
|
+
grid-row: span 3;
|
|
39
|
+
}
|
|
40
|
+
.grid-item_e1f8d62c1[data-row-span="4"] {
|
|
41
|
+
grid-row: span 4;
|
|
42
|
+
}
|
|
43
|
+
.grid-item_e1f8d62c1[data-row-span="5"] {
|
|
44
|
+
grid-row: span 5;
|
|
45
|
+
}
|
|
46
|
+
.grid-item_e1f8d62c1[data-row-span="6"] {
|
|
47
|
+
grid-row: span 6;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Column start */
|
|
51
|
+
.grid-item_e1f8d62c1[data-col-start="1"] {
|
|
52
|
+
grid-column-start: 1;
|
|
53
|
+
}
|
|
54
|
+
.grid-item_e1f8d62c1[data-col-start="2"] {
|
|
55
|
+
grid-column-start: 2;
|
|
56
|
+
}
|
|
57
|
+
.grid-item_e1f8d62c1[data-col-start="3"] {
|
|
58
|
+
grid-column-start: 3;
|
|
59
|
+
}
|
|
60
|
+
.grid-item_e1f8d62c1[data-col-start="4"] {
|
|
61
|
+
grid-column-start: 4;
|
|
62
|
+
}
|
|
63
|
+
.grid-item_e1f8d62c1[data-col-start="5"] {
|
|
64
|
+
grid-column-start: 5;
|
|
65
|
+
}
|
|
66
|
+
.grid-item_e1f8d62c1[data-col-start="6"] {
|
|
67
|
+
grid-column-start: 6;
|
|
68
|
+
}
|
|
69
|
+
.grid-item_e1f8d62c1[data-col-start="7"] {
|
|
70
|
+
grid-column-start: 7;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Row start */
|
|
74
|
+
.grid-item_e1f8d62c1[data-row-start="1"] {
|
|
75
|
+
grid-row-start: 1;
|
|
76
|
+
}
|
|
77
|
+
.grid-item_e1f8d62c1[data-row-start="2"] {
|
|
78
|
+
grid-row-start: 2;
|
|
79
|
+
}
|
|
80
|
+
.grid-item_e1f8d62c1[data-row-start="3"] {
|
|
81
|
+
grid-row-start: 3;
|
|
82
|
+
}
|
|
83
|
+
.grid-item_e1f8d62c1[data-row-start="4"] {
|
|
84
|
+
grid-row-start: 4;
|
|
85
|
+
}
|
|
86
|
+
.grid-item_e1f8d62c1[data-row-start="5"] {
|
|
87
|
+
grid-row-start: 5;
|
|
88
|
+
}
|
|
89
|
+
.grid-item_e1f8d62c1[data-row-start="6"] {
|
|
90
|
+
grid-row-start: 6;
|
|
91
|
+
}
|
|
92
|
+
.grid-item_e1f8d62c1[data-row-start="7"] {
|
|
93
|
+
grid-row-start: 7;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Align self */
|
|
97
|
+
.grid-item_e1f8d62c1[data-align-self="start"] {
|
|
98
|
+
align-self: start;
|
|
99
|
+
}
|
|
100
|
+
.grid-item_e1f8d62c1[data-align-self="center"] {
|
|
101
|
+
align-self: center;
|
|
102
|
+
}
|
|
103
|
+
.grid-item_e1f8d62c1[data-align-self="end"] {
|
|
104
|
+
align-self: end;
|
|
105
|
+
}
|
|
106
|
+
.grid-item_e1f8d62c1[data-align-self="stretch"] {
|
|
107
|
+
align-self: stretch;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Justify self */
|
|
111
|
+
.grid-item_e1f8d62c1[data-justify-self="start"] {
|
|
112
|
+
justify-self: start;
|
|
113
|
+
}
|
|
114
|
+
.grid-item_e1f8d62c1[data-justify-self="center"] {
|
|
115
|
+
justify-self: center;
|
|
116
|
+
}
|
|
117
|
+
.grid-item_e1f8d62c1[data-justify-self="end"] {
|
|
118
|
+
justify-self: end;
|
|
119
|
+
}
|
|
120
|
+
.grid-item_e1f8d62c1[data-justify-self="stretch"] {
|
|
121
|
+
justify-self: stretch;
|
|
122
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./grid-item-css-8d0f842568d1e8345ac709bdf2ed6745.css"
|
|
2
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
3
|
+
import { setComponentTemplate } from '@ember/component';
|
|
4
|
+
import templateOnly from '@ember/component/template-only';
|
|
5
|
+
|
|
6
|
+
;
|
|
7
|
+
|
|
8
|
+
const GridItem = setComponentTemplate(precompileTemplate("\n\n<div class=\"grid-item_e1f8d62c1\" data-col-span={{@colSpan}} data-row-span={{@rowSpan}} data-col-start={{@colStart}} data-row-start={{@rowStart}} data-align-self={{@alignSelf}} data-justify-self={{@justifySelf}} ...attributes>\n {{yield}}\n</div>", {
|
|
9
|
+
strictMode: true
|
|
10
|
+
}), templateOnly());
|
|
11
|
+
|
|
12
|
+
export { GridItem as default };
|
|
13
|
+
//# sourceMappingURL=grid-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-item.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import "./grid-css-086976eb41686e3714554f56c098d3d5.css"
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import GridItem from './grid-item.js';
|
|
4
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
5
|
+
import { setComponentTemplate } from '@ember/component';
|
|
6
|
+
|
|
7
|
+
;
|
|
8
|
+
|
|
9
|
+
class Grid extends Component {
|
|
10
|
+
static Item = GridItem;
|
|
11
|
+
get columns() {
|
|
12
|
+
return this.args.columns ?? 1;
|
|
13
|
+
}
|
|
14
|
+
get rows() {
|
|
15
|
+
return this.args.rows;
|
|
16
|
+
}
|
|
17
|
+
get minChildWidth() {
|
|
18
|
+
return this.args.minChildWidth ?? 'md';
|
|
19
|
+
}
|
|
20
|
+
get gap() {
|
|
21
|
+
return this.args.gap ?? 'md';
|
|
22
|
+
}
|
|
23
|
+
get gapX() {
|
|
24
|
+
return this.args.gapX ?? this.gap;
|
|
25
|
+
}
|
|
26
|
+
get gapY() {
|
|
27
|
+
return this.args.gapY ?? this.gap;
|
|
28
|
+
}
|
|
29
|
+
get align() {
|
|
30
|
+
return this.args.align ?? 'stretch';
|
|
31
|
+
}
|
|
32
|
+
get justify() {
|
|
33
|
+
return this.args.justify ?? 'stretch';
|
|
34
|
+
}
|
|
35
|
+
get inline() {
|
|
36
|
+
return this.args.inline ?? false;
|
|
37
|
+
}
|
|
38
|
+
// Column classification
|
|
39
|
+
get isAutoColumns() {
|
|
40
|
+
return this.columns === 'auto';
|
|
41
|
+
}
|
|
42
|
+
get isTemplateColumns() {
|
|
43
|
+
return typeof this.columns === 'string' && this.columns !== 'auto';
|
|
44
|
+
}
|
|
45
|
+
get isCountColumns() {
|
|
46
|
+
return typeof this.columns === 'number';
|
|
47
|
+
}
|
|
48
|
+
get columnsDataValue() {
|
|
49
|
+
if (this.isCountColumns) return this.columns;
|
|
50
|
+
if (this.isAutoColumns) return 'auto';
|
|
51
|
+
return 'custom';
|
|
52
|
+
}
|
|
53
|
+
get columnsStyle() {
|
|
54
|
+
if (this.isTemplateColumns) {
|
|
55
|
+
return `grid-template-columns: ${this.columns};`;
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
// Row classification
|
|
60
|
+
get isAutoRows() {
|
|
61
|
+
return this.rows === 'auto';
|
|
62
|
+
}
|
|
63
|
+
get isTemplateRows() {
|
|
64
|
+
return typeof this.rows === 'string' && this.rows !== 'auto';
|
|
65
|
+
}
|
|
66
|
+
get isCountRows() {
|
|
67
|
+
return typeof this.rows === 'number';
|
|
68
|
+
}
|
|
69
|
+
get rowsDataValue() {
|
|
70
|
+
if (this.rows === undefined) return undefined;
|
|
71
|
+
if (this.isCountRows) return this.rows;
|
|
72
|
+
if (this.isAutoRows) return 'auto';
|
|
73
|
+
return 'custom';
|
|
74
|
+
}
|
|
75
|
+
get rowsStyle() {
|
|
76
|
+
if (this.isTemplateRows) {
|
|
77
|
+
return `grid-template-rows: ${this.rows};`;
|
|
78
|
+
}
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
get style() {
|
|
82
|
+
const styles = [this.columnsStyle, this.rowsStyle].filter(Boolean);
|
|
83
|
+
return styles.length > 0 ? styles.join(' ') : null;
|
|
84
|
+
}
|
|
85
|
+
static {
|
|
86
|
+
setComponentTemplate(precompileTemplate("\n\n<div class=\"grid_e46af672c\" data-columns={{this.columnsDataValue}} data-rows={{this.rowsDataValue}} data-min-child-width={{if this.isAutoColumns this.minChildWidth}} data-gap-x={{this.gapX}} data-gap-y={{this.gapY}} data-align={{this.align}} data-justify={{this.justify}} data-inline={{this.inline}} style={{this.style}} ...attributes>\n {{yield Grid.Item}}\n</div>", {
|
|
87
|
+
strictMode: true,
|
|
88
|
+
scope: () => ({
|
|
89
|
+
Grid
|
|
90
|
+
})
|
|
91
|
+
}), this);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export { GridItem, Grid as default };
|
|
96
|
+
//# sourceMappingURL=grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Stack from './stack.js';
|
|
2
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
3
|
+
import { setComponentTemplate } from '@ember/component';
|
|
4
|
+
import templateOnly from '@ember/component/template-only';
|
|
5
|
+
|
|
6
|
+
const HStack = setComponentTemplate(precompileTemplate("<Stack @direction=\"row\" @gap={{@gap}} @align={{@align}} @justify={{@justify}} @wrap={{@wrap}} @inline={{@inline}} ...attributes>\n {{yield}}\n</Stack>", {
|
|
7
|
+
strictMode: true,
|
|
8
|
+
scope: () => ({
|
|
9
|
+
Stack
|
|
10
|
+
})
|
|
11
|
+
}), templateOnly());
|
|
12
|
+
|
|
13
|
+
export { HStack as default };
|
|
14
|
+
//# sourceMappingURL=h-stack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h-stack.js","sources":["../../src/layout/h-stack.gts"],"sourcesContent":["import type { TOC } from '@ember/component/template-only';\nimport Stack from './stack.gts';\n\nexport interface HStackSignature {\n Element: HTMLDivElement;\n Args: {\n gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';\n justify?: 'start' | 'center' | 'end' | 'between';\n wrap?: boolean;\n inline?: boolean;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst HStack: TOC<HStackSignature> = <template>\n <Stack\n @direction=\"row\"\n @gap={{@gap}}\n @align={{@align}}\n @justify={{@justify}}\n @wrap={{@wrap}}\n @inline={{@inline}}\n ...attributes\n >\n {{yield}}\n </Stack>\n</template>;\n\nexport default HStack;\n"],"names":["HStack","setComponentTemplate","precompileTemplate","strictMode","scope","Stack","templateOnly"],"mappings":";;;;;AAiBA,MAAMA,MAAY,GAAAC,oBAAA,CAAmBC,kBAAA,CAAA,2JAAA,EAYrC;EAAAC,UAAA,EAAA,IAAA;AAAAC,EAAAA,KAAA,EAAAA,OAAA;AAAAC,IAAAA;AAAA,GAAA;AAAU,CAAA,CAAA,EAAAC,YAAA,EAAA;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Stack } from './stack.js';
|
|
2
|
+
export { default as HStack } from './h-stack.js';
|
|
3
|
+
export { default as VStack } from './v-stack.js';
|
|
4
|
+
export { default as Grid } from './grid.js';
|
|
5
|
+
export { default as GridItem } from './grid-item.js';
|
|
6
|
+
export { default as Divider } from './divider.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* <inline>/src/layout/stack-css-f094dc4a0a45b6af2acedca81dcce289.css */
|
|
2
|
+
|
|
3
|
+
.stack_ea2819afb {
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Inline */
|
|
8
|
+
.stack_ea2819afb[data-inline="true"] {
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Direction */
|
|
13
|
+
.stack_ea2819afb[data-direction="row"] {
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
}
|
|
16
|
+
.stack_ea2819afb[data-direction="column"] {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Gap */
|
|
21
|
+
.stack_ea2819afb[data-gap="none"] {
|
|
22
|
+
gap: 0;
|
|
23
|
+
}
|
|
24
|
+
.stack_ea2819afb[data-gap="xs"] {
|
|
25
|
+
gap: var(--spacing-gap-xs);
|
|
26
|
+
}
|
|
27
|
+
.stack_ea2819afb[data-gap="sm"] {
|
|
28
|
+
gap: var(--spacing-gap-sm);
|
|
29
|
+
}
|
|
30
|
+
.stack_ea2819afb[data-gap="md"] {
|
|
31
|
+
gap: var(--spacing-gap-md);
|
|
32
|
+
}
|
|
33
|
+
.stack_ea2819afb[data-gap="lg"] {
|
|
34
|
+
gap: var(--spacing-gap-lg);
|
|
35
|
+
}
|
|
36
|
+
.stack_ea2819afb[data-gap="xl"] {
|
|
37
|
+
gap: var(--spacing-gap-xl);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Align (cross-axis) */
|
|
41
|
+
.stack_ea2819afb[data-align="start"] {
|
|
42
|
+
align-items: flex-start;
|
|
43
|
+
}
|
|
44
|
+
.stack_ea2819afb[data-align="center"] {
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
.stack_ea2819afb[data-align="end"] {
|
|
48
|
+
align-items: flex-end;
|
|
49
|
+
}
|
|
50
|
+
.stack_ea2819afb[data-align="stretch"] {
|
|
51
|
+
align-items: stretch;
|
|
52
|
+
}
|
|
53
|
+
.stack_ea2819afb[data-align="baseline"] {
|
|
54
|
+
align-items: baseline;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Justify (main-axis) */
|
|
58
|
+
.stack_ea2819afb[data-justify="start"] {
|
|
59
|
+
justify-content: flex-start;
|
|
60
|
+
}
|
|
61
|
+
.stack_ea2819afb[data-justify="center"] {
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
64
|
+
.stack_ea2819afb[data-justify="end"] {
|
|
65
|
+
justify-content: flex-end;
|
|
66
|
+
}
|
|
67
|
+
.stack_ea2819afb[data-justify="between"] {
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Wrap */
|
|
72
|
+
.stack_ea2819afb[data-wrap="true"] {
|
|
73
|
+
flex-wrap: wrap;
|
|
74
|
+
}
|
|
75
|
+
.stack_ea2819afb[data-wrap="false"] {
|
|
76
|
+
flex-wrap: nowrap;
|
|
77
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./stack-css-f094dc4a0a45b6af2acedca81dcce289.css"
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
4
|
+
import { setComponentTemplate } from '@ember/component';
|
|
5
|
+
|
|
6
|
+
;
|
|
7
|
+
|
|
8
|
+
class Stack extends Component {
|
|
9
|
+
get gap() {
|
|
10
|
+
return this.args.gap ?? 'md';
|
|
11
|
+
}
|
|
12
|
+
get align() {
|
|
13
|
+
return this.args.align ?? (this.args.direction === 'row' ? 'center' : 'stretch');
|
|
14
|
+
}
|
|
15
|
+
get justify() {
|
|
16
|
+
return this.args.justify ?? 'start';
|
|
17
|
+
}
|
|
18
|
+
get wrap() {
|
|
19
|
+
return this.args.wrap ?? false;
|
|
20
|
+
}
|
|
21
|
+
get inline() {
|
|
22
|
+
return this.args.inline ?? false;
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
setComponentTemplate(precompileTemplate("\n\n<div class=\"stack_ea2819afb\" data-direction={{@direction}} data-gap={{this.gap}} data-align={{this.align}} data-justify={{this.justify}} data-wrap={{this.wrap}} data-inline={{this.inline}} ...attributes>\n {{yield}}\n</div>", {
|
|
26
|
+
strictMode: true
|
|
27
|
+
}), this);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { Stack as default };
|
|
32
|
+
//# sourceMappingURL=stack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Stack from './stack.js';
|
|
2
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
3
|
+
import { setComponentTemplate } from '@ember/component';
|
|
4
|
+
import templateOnly from '@ember/component/template-only';
|
|
5
|
+
|
|
6
|
+
const VStack = setComponentTemplate(precompileTemplate("<Stack @direction=\"column\" @gap={{@gap}} @align={{@align}} @justify={{@justify}} @inline={{@inline}} ...attributes>\n {{yield}}\n</Stack>", {
|
|
7
|
+
strictMode: true,
|
|
8
|
+
scope: () => ({
|
|
9
|
+
Stack
|
|
10
|
+
})
|
|
11
|
+
}), templateOnly());
|
|
12
|
+
|
|
13
|
+
export { VStack as default };
|
|
14
|
+
//# sourceMappingURL=v-stack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v-stack.js","sources":["../../src/layout/v-stack.gts"],"sourcesContent":["import type { TOC } from '@ember/component/template-only';\nimport Stack from './stack.gts';\n\nexport interface VStackSignature {\n Element: HTMLDivElement;\n Args: {\n gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n align?: 'start' | 'center' | 'end' | 'stretch';\n justify?: 'start' | 'center' | 'end' | 'between';\n inline?: boolean;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst VStack: TOC<VStackSignature> = <template>\n <Stack\n @direction=\"column\"\n @gap={{@gap}}\n @align={{@align}}\n @justify={{@justify}}\n @inline={{@inline}}\n ...attributes\n >\n {{yield}}\n </Stack>\n</template>;\n\nexport default VStack;\n"],"names":["VStack","setComponentTemplate","precompileTemplate","strictMode","scope","Stack","templateOnly"],"mappings":";;;;;AAgBA,MAAMA,MAAY,GAAAC,oBAAA,CAAmBC,kBAAA,CAAA,8IAAA,EAWrC;EAAAC,UAAA,EAAA,IAAA;AAAAC,EAAAA,KAAA,EAAAA,OAAA;AAAAC,IAAAA;AAAA,GAAA;AAAU,CAAA,CAAA,EAAAC,YAAA,EAAA;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* src/media/icon.css */
|
|
2
|
+
/* ===================================
|
|
3
|
+
* Icon Component
|
|
4
|
+
* =================================== */
|
|
5
|
+
|
|
6
|
+
.icon_ef535ce5e {
|
|
7
|
+
/* Layout */
|
|
8
|
+
display: inline-block;
|
|
9
|
+
vertical-align: middle;
|
|
10
|
+
flex-shrink: 0;
|
|
11
|
+
|
|
12
|
+
/* Color inheritance */
|
|
13
|
+
color: currentColor;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* ===================================
|
|
17
|
+
* Sizes
|
|
18
|
+
* =================================== */
|
|
19
|
+
|
|
20
|
+
.icon_ef535ce5e[data-size="xs"] {
|
|
21
|
+
width: 12px;
|
|
22
|
+
height: 12px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.icon_ef535ce5e[data-size="sm"] {
|
|
26
|
+
width: 16px;
|
|
27
|
+
height: 16px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.icon_ef535ce5e[data-size="md"] {
|
|
31
|
+
width: 20px;
|
|
32
|
+
height: 20px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.icon_ef535ce5e[data-size="lg"] {
|
|
36
|
+
width: 24px;
|
|
37
|
+
height: 24px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.icon_ef535ce5e[data-size="xl"] {
|
|
41
|
+
width: 32px;
|
|
42
|
+
height: 32px;
|
|
43
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import "./icon.css"
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import { modifier } from 'ember-modifier';
|
|
4
|
+
import { createElement } from 'lucide';
|
|
5
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
6
|
+
import { setComponentTemplate } from '@ember/component';
|
|
7
|
+
|
|
8
|
+
;
|
|
9
|
+
|
|
10
|
+
/** Size preset to pixel mapping */const SIZE_MAP = {
|
|
11
|
+
xs: 12,
|
|
12
|
+
sm: 16,
|
|
13
|
+
md: 20,
|
|
14
|
+
lg: 24,
|
|
15
|
+
xl: 32
|
|
16
|
+
};
|
|
17
|
+
class Icon extends Component {
|
|
18
|
+
/** Returns the data-size attribute value for named sizes */get dataSize() {
|
|
19
|
+
const size = this.args.size ?? 'md';
|
|
20
|
+
return typeof size === 'string' ? size : undefined;
|
|
21
|
+
}
|
|
22
|
+
/** Returns pixel size for the icon */
|
|
23
|
+
get pixelSize() {
|
|
24
|
+
const size = this.args.size ?? 'md';
|
|
25
|
+
return typeof size === 'number' ? size : SIZE_MAP[size];
|
|
26
|
+
}
|
|
27
|
+
/** Returns true if using a custom numeric size (needs inline styles) */
|
|
28
|
+
get isCustomSize() {
|
|
29
|
+
return typeof this.args.size === 'number';
|
|
30
|
+
}
|
|
31
|
+
renderIcon = modifier((element, [iconNode, pixelSize, dataSize, isCustomSize, strokeWidth, label]) => {
|
|
32
|
+
const icon = createElement(iconNode);
|
|
33
|
+
// Apply class
|
|
34
|
+
icon.classList.add('icon');
|
|
35
|
+
// Apply size
|
|
36
|
+
icon.setAttribute('width', String(pixelSize));
|
|
37
|
+
icon.setAttribute('height', String(pixelSize));
|
|
38
|
+
// Apply data-size for named sizes (CSS handles styling)
|
|
39
|
+
if (dataSize) {
|
|
40
|
+
icon.setAttribute('data-size', dataSize);
|
|
41
|
+
}
|
|
42
|
+
// Apply custom size via inline style if numeric
|
|
43
|
+
if (isCustomSize) {
|
|
44
|
+
icon.style.width = `${pixelSize}px`;
|
|
45
|
+
icon.style.height = `${pixelSize}px`;
|
|
46
|
+
}
|
|
47
|
+
// Apply stroke width
|
|
48
|
+
if (strokeWidth !== undefined) {
|
|
49
|
+
icon.setAttribute('stroke-width', String(strokeWidth));
|
|
50
|
+
}
|
|
51
|
+
// Apply accessibility attributes
|
|
52
|
+
if (label) {
|
|
53
|
+
icon.setAttribute('role', 'img');
|
|
54
|
+
icon.setAttribute('aria-label', label);
|
|
55
|
+
} else {
|
|
56
|
+
icon.setAttribute('aria-hidden', 'true');
|
|
57
|
+
}
|
|
58
|
+
// Replace the placeholder element with the SVG
|
|
59
|
+
if (element.parentNode) {
|
|
60
|
+
element.parentNode.replaceChild(icon, element);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
static {
|
|
64
|
+
setComponentTemplate(precompileTemplate("<svg {{this.renderIcon @icon this.pixelSize this.dataSize this.isCustomSize @strokeWidth @label}} />", {
|
|
65
|
+
strictMode: true
|
|
66
|
+
}), this);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { Icon as default };
|
|
71
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|