@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,78 @@
|
|
|
1
|
+
/* <inline>/src/media/image-css-6bc4899d3a8b992c3d4d2f1a796ce0fc.css */
|
|
2
|
+
|
|
3
|
+
.image_e1a54b413 {
|
|
4
|
+
display: block;
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
height: auto;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* Object Fit */
|
|
10
|
+
.image_e1a54b413[data-fit="cover"] {
|
|
11
|
+
object-fit: cover;
|
|
12
|
+
}
|
|
13
|
+
.image_e1a54b413[data-fit="contain"] {
|
|
14
|
+
object-fit: contain;
|
|
15
|
+
}
|
|
16
|
+
.image_e1a54b413[data-fit="fill"] {
|
|
17
|
+
object-fit: fill;
|
|
18
|
+
}
|
|
19
|
+
.image_e1a54b413[data-fit="none"] {
|
|
20
|
+
object-fit: none;
|
|
21
|
+
}
|
|
22
|
+
.image_e1a54b413[data-fit="scale-down"] {
|
|
23
|
+
object-fit: scale-down;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Object Position */
|
|
27
|
+
.image_e1a54b413[data-position="center"] {
|
|
28
|
+
object-position: center;
|
|
29
|
+
}
|
|
30
|
+
.image_e1a54b413[data-position="top"] {
|
|
31
|
+
object-position: top;
|
|
32
|
+
}
|
|
33
|
+
.image_e1a54b413[data-position="bottom"] {
|
|
34
|
+
object-position: bottom;
|
|
35
|
+
}
|
|
36
|
+
.image_e1a54b413[data-position="left"] {
|
|
37
|
+
object-position: left;
|
|
38
|
+
}
|
|
39
|
+
.image_e1a54b413[data-position="right"] {
|
|
40
|
+
object-position: right;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Border Radius */
|
|
44
|
+
.image_e1a54b413[data-radius="none"] {
|
|
45
|
+
border-radius: 0;
|
|
46
|
+
}
|
|
47
|
+
.image_e1a54b413[data-radius="sm"] {
|
|
48
|
+
border-radius: var(--radius-sm);
|
|
49
|
+
}
|
|
50
|
+
.image_e1a54b413[data-radius="md"] {
|
|
51
|
+
border-radius: var(--radius-md);
|
|
52
|
+
}
|
|
53
|
+
.image_e1a54b413[data-radius="lg"] {
|
|
54
|
+
border-radius: var(--radius-lg);
|
|
55
|
+
}
|
|
56
|
+
.image_e1a54b413[data-radius="full"] {
|
|
57
|
+
border-radius: var(--radius-full);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Aspect Ratio */
|
|
61
|
+
.image_e1a54b413[data-aspect="1/1"] {
|
|
62
|
+
aspect-ratio: 1 / 1;
|
|
63
|
+
}
|
|
64
|
+
.image_e1a54b413[data-aspect="4/3"] {
|
|
65
|
+
aspect-ratio: 4 / 3;
|
|
66
|
+
}
|
|
67
|
+
.image_e1a54b413[data-aspect="16/9"] {
|
|
68
|
+
aspect-ratio: 16 / 9;
|
|
69
|
+
}
|
|
70
|
+
.image_e1a54b413[data-aspect="3/2"] {
|
|
71
|
+
aspect-ratio: 3 / 2;
|
|
72
|
+
}
|
|
73
|
+
.image_e1a54b413[data-aspect="2/3"] {
|
|
74
|
+
aspect-ratio: 2 / 3;
|
|
75
|
+
}
|
|
76
|
+
.image_e1a54b413[data-aspect="auto"] {
|
|
77
|
+
aspect-ratio: auto;
|
|
78
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "./image-css-6bc4899d3a8b992c3d4d2f1a796ce0fc.css"
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import { action } from '@ember/object';
|
|
4
|
+
import { on } from '@ember/modifier';
|
|
5
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
6
|
+
import { setComponentTemplate } from '@ember/component';
|
|
7
|
+
import { n } from 'decorator-transforms/runtime';
|
|
8
|
+
|
|
9
|
+
;
|
|
10
|
+
|
|
11
|
+
class Image extends Component {
|
|
12
|
+
get fit() {
|
|
13
|
+
return this.args.objectFit ?? 'cover';
|
|
14
|
+
}
|
|
15
|
+
get position() {
|
|
16
|
+
return this.args.objectPosition ?? 'center';
|
|
17
|
+
}
|
|
18
|
+
get radius() {
|
|
19
|
+
return this.args.radius ?? 'none';
|
|
20
|
+
}
|
|
21
|
+
get loading() {
|
|
22
|
+
return this.args.loading ?? 'lazy';
|
|
23
|
+
}
|
|
24
|
+
handleLoad() {
|
|
25
|
+
this.args.onLoad?.();
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
n(this.prototype, "handleLoad", [action]);
|
|
29
|
+
}
|
|
30
|
+
handleError() {
|
|
31
|
+
this.args.onError?.();
|
|
32
|
+
}
|
|
33
|
+
static {
|
|
34
|
+
n(this.prototype, "handleError", [action]);
|
|
35
|
+
}
|
|
36
|
+
static {
|
|
37
|
+
setComponentTemplate(precompileTemplate("\n\n<img class=\"image_e1a54b413\" src={{@src}} alt={{@alt}} loading={{this.loading}} data-fit={{this.fit}} data-position={{this.position}} data-radius={{this.radius}} data-aspect={{@aspectRatio}} {{on \"load\" this.handleLoad}} {{on \"error\" this.handleError}} ...attributes />", {
|
|
38
|
+
strictMode: true,
|
|
39
|
+
scope: () => ({
|
|
40
|
+
on
|
|
41
|
+
})
|
|
42
|
+
}), this);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { Image as default };
|
|
47
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* ===================================
|
|
2
|
+
* Blanket Component
|
|
3
|
+
* Full-screen overlay backdrop
|
|
4
|
+
* =================================== */
|
|
5
|
+
|
|
6
|
+
.blanket {
|
|
7
|
+
/* Positioning */
|
|
8
|
+
position: fixed;
|
|
9
|
+
inset: 0;
|
|
10
|
+
z-index: var(--z-overlay);
|
|
11
|
+
|
|
12
|
+
/* Default background */
|
|
13
|
+
background: rgba(0, 0, 0, 0.5);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* ===================================
|
|
17
|
+
* Opacity Variants
|
|
18
|
+
* =================================== */
|
|
19
|
+
|
|
20
|
+
.blanket[data-opacity="light"] {
|
|
21
|
+
background: rgba(0, 0, 0, 0.3);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.blanket[data-opacity="default"] {
|
|
25
|
+
background: rgba(0, 0, 0, 0.5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.blanket[data-opacity="heavy"] {
|
|
29
|
+
background: rgba(0, 0, 0, 0.8);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* ===================================
|
|
33
|
+
* Animations
|
|
34
|
+
* =================================== */
|
|
35
|
+
|
|
36
|
+
/* Fade in (visible state) */
|
|
37
|
+
.blanket[data-animated="true"][data-state="visible"] {
|
|
38
|
+
animation: blanket-fade-in var(--duration-200) var(--easing-out);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Fade out (hidden state) */
|
|
42
|
+
.blanket[data-animated="true"][data-state="hidden"] {
|
|
43
|
+
animation: blanket-fade-out var(--duration-150) var(--easing-in) forwards;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes blanket-fade-in {
|
|
47
|
+
from {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
to {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes blanket-fade-out {
|
|
56
|
+
from {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
to {
|
|
60
|
+
opacity: 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* No animation */
|
|
65
|
+
.blanket[data-animated="false"] {
|
|
66
|
+
animation: none;
|
|
67
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import "./blanket.css"
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import { tracked } from '@glimmer/tracking';
|
|
4
|
+
import { on } from '@ember/modifier';
|
|
5
|
+
import { modifier } from 'ember-modifier';
|
|
6
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
7
|
+
import { setComponentTemplate } from '@ember/component';
|
|
8
|
+
import { g, i } from 'decorator-transforms/runtime';
|
|
9
|
+
|
|
10
|
+
;
|
|
11
|
+
|
|
12
|
+
// ============================================================================
|
|
13
|
+
// Component
|
|
14
|
+
// ============================================================================
|
|
15
|
+
class Blanket extends Component {
|
|
16
|
+
static {
|
|
17
|
+
g(this.prototype, "exitAnimationActive", [tracked], function () {
|
|
18
|
+
return false;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
#exitAnimationActive = (i(this, "exitAnimationActive"), void 0);
|
|
22
|
+
/**
|
|
23
|
+
* Track whether we're in exit animation mode.
|
|
24
|
+
* When visible goes from true to false with animation enabled,
|
|
25
|
+
* we stay rendered until animationend fires.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Track the previous visible state to detect transitions.
|
|
29
|
+
*/
|
|
30
|
+
previousVisible = undefined;
|
|
31
|
+
// ============================================================================
|
|
32
|
+
// Getters
|
|
33
|
+
// ============================================================================
|
|
34
|
+
get closeOnClick() {
|
|
35
|
+
return this.args.closeOnClick ?? true;
|
|
36
|
+
}
|
|
37
|
+
get lockScroll() {
|
|
38
|
+
return this.args.lockScroll ?? true;
|
|
39
|
+
}
|
|
40
|
+
get opacity() {
|
|
41
|
+
return this.args.opacity ?? 'default';
|
|
42
|
+
}
|
|
43
|
+
get animated() {
|
|
44
|
+
return this.args.animated ?? true;
|
|
45
|
+
}
|
|
46
|
+
get destinationElement() {
|
|
47
|
+
return this.args.container ?? document.body;
|
|
48
|
+
}
|
|
49
|
+
get zIndexStyle() {
|
|
50
|
+
if (this.args.zIndex !== undefined) {
|
|
51
|
+
return `z-index: ${this.args.zIndex}`;
|
|
52
|
+
}
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
get shouldRender() {
|
|
56
|
+
// Render if visible or if we're in exit animation mode
|
|
57
|
+
return this.args.visible || this.exitAnimationActive;
|
|
58
|
+
}
|
|
59
|
+
get dataState() {
|
|
60
|
+
// Show hidden state when visible is false (for exit animation)
|
|
61
|
+
return this.args.visible ? 'visible' : 'hidden';
|
|
62
|
+
}
|
|
63
|
+
// ============================================================================
|
|
64
|
+
// Event Handlers
|
|
65
|
+
// ============================================================================
|
|
66
|
+
handleClick = event => {
|
|
67
|
+
// Only trigger close if clicking directly on the blanket, not children
|
|
68
|
+
if (this.closeOnClick && event.target === event.currentTarget && this.args.onClose) {
|
|
69
|
+
this.args.onClose();
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
handleAnimationEnd = () => {
|
|
73
|
+
// When exit animation completes, clear the exit animation flag
|
|
74
|
+
if (!this.args.visible) {
|
|
75
|
+
this.exitAnimationActive = false;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
// ============================================================================
|
|
79
|
+
// Modifiers
|
|
80
|
+
// ============================================================================
|
|
81
|
+
/**
|
|
82
|
+
* Tracks visibility changes and manages exit animation state.
|
|
83
|
+
* This modifier detects when visible transitions from true to false
|
|
84
|
+
* and sets up the exit animation mode.
|
|
85
|
+
*/
|
|
86
|
+
trackVisibility = modifier((_element, _positional, named) => {
|
|
87
|
+
const wasVisible = this.previousVisible;
|
|
88
|
+
this.previousVisible = named.visible;
|
|
89
|
+
// Detect transition from visible to hidden
|
|
90
|
+
if (wasVisible === true && named.visible === false) {
|
|
91
|
+
if (named.animated) {
|
|
92
|
+
// Start exit animation - component stays rendered
|
|
93
|
+
this.exitAnimationActive = true;
|
|
94
|
+
}
|
|
95
|
+
// If not animated, exitAnimationActive stays false, component unmounts
|
|
96
|
+
} else if (named.visible) {
|
|
97
|
+
// Opening - ensure exit animation flag is cleared
|
|
98
|
+
this.exitAnimationActive = false;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
/**
|
|
102
|
+
* Locks body scroll when the blanket is visible.
|
|
103
|
+
* Compensates for scrollbar width to prevent layout shift.
|
|
104
|
+
*/
|
|
105
|
+
scrollLock = modifier((_element, _positional, named) => {
|
|
106
|
+
if (!named.enabled) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
// Store original values
|
|
110
|
+
const originalOverflow = document.body.style.overflow;
|
|
111
|
+
const originalPaddingRight = document.body.style.paddingRight;
|
|
112
|
+
// Calculate scrollbar width
|
|
113
|
+
const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
|
114
|
+
// Apply scroll lock
|
|
115
|
+
document.body.style.overflow = 'hidden';
|
|
116
|
+
if (scrollbarWidth > 0) {
|
|
117
|
+
document.body.style.paddingRight = `${scrollbarWidth}px`;
|
|
118
|
+
}
|
|
119
|
+
return () => {
|
|
120
|
+
// Restore original values
|
|
121
|
+
document.body.style.overflow = originalOverflow;
|
|
122
|
+
document.body.style.paddingRight = originalPaddingRight;
|
|
123
|
+
};
|
|
124
|
+
});
|
|
125
|
+
// ============================================================================
|
|
126
|
+
// Template
|
|
127
|
+
// ============================================================================
|
|
128
|
+
static {
|
|
129
|
+
setComponentTemplate(precompileTemplate("{{!-- Track visibility changes to manage exit animation state --}}\n<span hidden {{this.trackVisibility visible=@visible animated=this.animated}} data-test-blanket-tracker></span>\n\n{{#if this.shouldRender}}\n {{#in-element this.destinationElement insertBefore=null}}\n {{!-- template-lint-disable no-invalid-interactive --}}\n <div class=\"blanket\" aria-hidden=\"true\" data-opacity={{this.opacity}} data-animated={{if this.animated \"true\" \"false\"}} data-state={{this.dataState}} style={{this.zIndexStyle}} {{on \"click\" this.handleClick}} {{on \"animationend\" this.handleAnimationEnd}} {{this.scrollLock enabled=this.lockScroll}} data-test-blanket ...attributes>\n {{yield}}\n </div>\n {{/in-element}}\n{{/if}}", {
|
|
130
|
+
strictMode: true,
|
|
131
|
+
scope: () => ({
|
|
132
|
+
on
|
|
133
|
+
})
|
|
134
|
+
}), this);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export { Blanket as default };
|
|
139
|
+
//# sourceMappingURL=blanket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blanket.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
/* ===================================
|
|
2
|
+
* Drawer Component
|
|
3
|
+
* Slide-in panel from screen edge
|
|
4
|
+
* =================================== */
|
|
5
|
+
|
|
6
|
+
/* ===================================
|
|
7
|
+
* Drawer Container (Portal)
|
|
8
|
+
* =================================== */
|
|
9
|
+
|
|
10
|
+
.drawer-container {
|
|
11
|
+
/* Positioning - fixed, z-index shared with modal */
|
|
12
|
+
position: fixed;
|
|
13
|
+
z-index: var(--z-modal);
|
|
14
|
+
|
|
15
|
+
/* Flex container for content */
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
|
|
19
|
+
/* Base visual */
|
|
20
|
+
background: var(--color-bg-surface-raised);
|
|
21
|
+
box-shadow: var(--shadow-xl);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Focus reset for container */
|
|
25
|
+
.drawer-container:focus {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* ===================================
|
|
30
|
+
* Side Positioning
|
|
31
|
+
* =================================== */
|
|
32
|
+
|
|
33
|
+
/* Right side (default) */
|
|
34
|
+
.drawer-container[data-side="right"] {
|
|
35
|
+
top: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
height: 100vh;
|
|
38
|
+
max-height: 100vh;
|
|
39
|
+
border-left: 1px solid var(--color-border-subtle);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Left side */
|
|
43
|
+
.drawer-container[data-side="left"] {
|
|
44
|
+
top: 0;
|
|
45
|
+
left: 0;
|
|
46
|
+
height: 100vh;
|
|
47
|
+
max-height: 100vh;
|
|
48
|
+
border-right: 1px solid var(--color-border-subtle);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Top side */
|
|
52
|
+
.drawer-container[data-side="top"] {
|
|
53
|
+
top: 0;
|
|
54
|
+
left: 0;
|
|
55
|
+
right: 0;
|
|
56
|
+
width: 100%;
|
|
57
|
+
max-width: 100vw;
|
|
58
|
+
border-bottom: 1px solid var(--color-border-subtle);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Bottom side */
|
|
62
|
+
.drawer-container[data-side="bottom"] {
|
|
63
|
+
bottom: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
right: 0;
|
|
66
|
+
width: 100%;
|
|
67
|
+
max-width: 100vw;
|
|
68
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ===================================
|
|
72
|
+
* Size Variants - Horizontal (left/right)
|
|
73
|
+
* =================================== */
|
|
74
|
+
|
|
75
|
+
.drawer-container[data-side="right"][data-size="sm"],
|
|
76
|
+
.drawer-container[data-side="left"][data-size="sm"] {
|
|
77
|
+
width: 320px;
|
|
78
|
+
max-width: 100vw;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.drawer-container[data-side="right"][data-size="md"],
|
|
82
|
+
.drawer-container[data-side="left"][data-size="md"] {
|
|
83
|
+
width: 400px;
|
|
84
|
+
max-width: 100vw;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.drawer-container[data-side="right"][data-size="lg"],
|
|
88
|
+
.drawer-container[data-side="left"][data-size="lg"] {
|
|
89
|
+
width: 560px;
|
|
90
|
+
max-width: 100vw;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.drawer-container[data-side="right"][data-size="xl"],
|
|
94
|
+
.drawer-container[data-side="left"][data-size="xl"] {
|
|
95
|
+
width: 720px;
|
|
96
|
+
max-width: 100vw;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.drawer-container[data-side="right"][data-size="full"],
|
|
100
|
+
.drawer-container[data-side="left"][data-size="full"] {
|
|
101
|
+
width: 100vw;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* ===================================
|
|
105
|
+
* Size Variants - Vertical (top/bottom)
|
|
106
|
+
* =================================== */
|
|
107
|
+
|
|
108
|
+
.drawer-container[data-side="top"][data-size="sm"],
|
|
109
|
+
.drawer-container[data-side="bottom"][data-size="sm"] {
|
|
110
|
+
height: 200px;
|
|
111
|
+
max-height: 100vh;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.drawer-container[data-side="top"][data-size="md"],
|
|
115
|
+
.drawer-container[data-side="bottom"][data-size="md"] {
|
|
116
|
+
height: 320px;
|
|
117
|
+
max-height: 100vh;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.drawer-container[data-side="top"][data-size="lg"],
|
|
121
|
+
.drawer-container[data-side="bottom"][data-size="lg"] {
|
|
122
|
+
height: 480px;
|
|
123
|
+
max-height: 100vh;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.drawer-container[data-side="top"][data-size="xl"],
|
|
127
|
+
.drawer-container[data-side="bottom"][data-size="xl"] {
|
|
128
|
+
height: 640px;
|
|
129
|
+
max-height: 100vh;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.drawer-container[data-side="top"][data-size="full"],
|
|
133
|
+
.drawer-container[data-side="bottom"][data-size="full"] {
|
|
134
|
+
height: 100vh;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* ===================================
|
|
138
|
+
* Drawer Content
|
|
139
|
+
* =================================== */
|
|
140
|
+
|
|
141
|
+
.drawer-content {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
flex: 1;
|
|
145
|
+
min-height: 0;
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* ===================================
|
|
150
|
+
* Drawer Header
|
|
151
|
+
* =================================== */
|
|
152
|
+
|
|
153
|
+
.drawer-header {
|
|
154
|
+
/* Layout */
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: flex-start;
|
|
157
|
+
justify-content: space-between;
|
|
158
|
+
gap: var(--spacing-3);
|
|
159
|
+
padding: var(--spacing-4);
|
|
160
|
+
|
|
161
|
+
/* Border */
|
|
162
|
+
border-bottom: 1px solid var(--color-border-subtle);
|
|
163
|
+
|
|
164
|
+
/* Don't shrink */
|
|
165
|
+
flex-shrink: 0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.drawer-title {
|
|
169
|
+
/* Typography */
|
|
170
|
+
font-size: var(--font-size-lg);
|
|
171
|
+
font-weight: var(--font-weight-semibold);
|
|
172
|
+
line-height: var(--line-height-tight);
|
|
173
|
+
color: var(--color-text);
|
|
174
|
+
|
|
175
|
+
/* Prevent overflow */
|
|
176
|
+
min-width: 0;
|
|
177
|
+
flex: 1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.drawer-header-close {
|
|
181
|
+
/* Reset button styles */
|
|
182
|
+
appearance: none;
|
|
183
|
+
background: none;
|
|
184
|
+
border: none;
|
|
185
|
+
padding: var(--spacing-1);
|
|
186
|
+
margin: calc(var(--spacing-1) * -1);
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
color: var(--color-text-secondary);
|
|
189
|
+
display: inline-flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
border-radius: var(--radius-sm);
|
|
193
|
+
flex-shrink: 0;
|
|
194
|
+
|
|
195
|
+
transition:
|
|
196
|
+
color var(--duration-150) var(--easing-out),
|
|
197
|
+
background-color var(--duration-150) var(--easing-out);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.drawer-header-close:hover {
|
|
201
|
+
color: var(--color-text);
|
|
202
|
+
background: var(--color-bg-neutral-subtle);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.drawer-header-close:focus-visible {
|
|
206
|
+
outline: none;
|
|
207
|
+
box-shadow: var(--focus-ring);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* ===================================
|
|
211
|
+
* Drawer Body
|
|
212
|
+
* =================================== */
|
|
213
|
+
|
|
214
|
+
.drawer-body {
|
|
215
|
+
/* Layout */
|
|
216
|
+
padding: var(--spacing-4);
|
|
217
|
+
|
|
218
|
+
/* Scrollable */
|
|
219
|
+
overflow-y: auto;
|
|
220
|
+
flex: 1;
|
|
221
|
+
|
|
222
|
+
/* Typography */
|
|
223
|
+
color: var(--color-text);
|
|
224
|
+
font-size: var(--font-size-base);
|
|
225
|
+
line-height: var(--line-height-normal);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* ===================================
|
|
229
|
+
* Drawer Footer
|
|
230
|
+
* =================================== */
|
|
231
|
+
|
|
232
|
+
.drawer-footer {
|
|
233
|
+
/* Layout */
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
justify-content: flex-end;
|
|
237
|
+
gap: var(--spacing-2);
|
|
238
|
+
padding: var(--spacing-4);
|
|
239
|
+
|
|
240
|
+
/* Border */
|
|
241
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
242
|
+
|
|
243
|
+
/* Don't shrink */
|
|
244
|
+
flex-shrink: 0;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* ===================================
|
|
248
|
+
* Animations - Right Side
|
|
249
|
+
* =================================== */
|
|
250
|
+
|
|
251
|
+
@keyframes drawer-slide-in-right {
|
|
252
|
+
from {
|
|
253
|
+
transform: translateX(100%);
|
|
254
|
+
}
|
|
255
|
+
to {
|
|
256
|
+
transform: translateX(0);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@keyframes drawer-slide-out-right {
|
|
261
|
+
from {
|
|
262
|
+
transform: translateX(0);
|
|
263
|
+
}
|
|
264
|
+
to {
|
|
265
|
+
transform: translateX(100%);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.drawer-container[data-side="right"][data-state="open"] {
|
|
270
|
+
animation: drawer-slide-in-right var(--duration-200) var(--easing-out)
|
|
271
|
+
forwards;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.drawer-container[data-side="right"][data-state="closed"] {
|
|
275
|
+
animation: drawer-slide-out-right var(--duration-150) var(--easing-in)
|
|
276
|
+
forwards;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* ===================================
|
|
280
|
+
* Animations - Left Side
|
|
281
|
+
* =================================== */
|
|
282
|
+
|
|
283
|
+
@keyframes drawer-slide-in-left {
|
|
284
|
+
from {
|
|
285
|
+
transform: translateX(-100%);
|
|
286
|
+
}
|
|
287
|
+
to {
|
|
288
|
+
transform: translateX(0);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@keyframes drawer-slide-out-left {
|
|
293
|
+
from {
|
|
294
|
+
transform: translateX(0);
|
|
295
|
+
}
|
|
296
|
+
to {
|
|
297
|
+
transform: translateX(-100%);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.drawer-container[data-side="left"][data-state="open"] {
|
|
302
|
+
animation: drawer-slide-in-left var(--duration-200) var(--easing-out) forwards;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.drawer-container[data-side="left"][data-state="closed"] {
|
|
306
|
+
animation: drawer-slide-out-left var(--duration-150) var(--easing-in) forwards;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* ===================================
|
|
310
|
+
* Animations - Top Side
|
|
311
|
+
* =================================== */
|
|
312
|
+
|
|
313
|
+
@keyframes drawer-slide-in-top {
|
|
314
|
+
from {
|
|
315
|
+
transform: translateY(-100%);
|
|
316
|
+
}
|
|
317
|
+
to {
|
|
318
|
+
transform: translateY(0);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@keyframes drawer-slide-out-top {
|
|
323
|
+
from {
|
|
324
|
+
transform: translateY(0);
|
|
325
|
+
}
|
|
326
|
+
to {
|
|
327
|
+
transform: translateY(-100%);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.drawer-container[data-side="top"][data-state="open"] {
|
|
332
|
+
animation: drawer-slide-in-top var(--duration-200) var(--easing-out) forwards;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.drawer-container[data-side="top"][data-state="closed"] {
|
|
336
|
+
animation: drawer-slide-out-top var(--duration-150) var(--easing-in) forwards;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* ===================================
|
|
340
|
+
* Animations - Bottom Side
|
|
341
|
+
* =================================== */
|
|
342
|
+
|
|
343
|
+
@keyframes drawer-slide-in-bottom {
|
|
344
|
+
from {
|
|
345
|
+
transform: translateY(100%);
|
|
346
|
+
}
|
|
347
|
+
to {
|
|
348
|
+
transform: translateY(0);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
@keyframes drawer-slide-out-bottom {
|
|
353
|
+
from {
|
|
354
|
+
transform: translateY(0);
|
|
355
|
+
}
|
|
356
|
+
to {
|
|
357
|
+
transform: translateY(100%);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.drawer-container[data-side="bottom"][data-state="open"] {
|
|
362
|
+
animation: drawer-slide-in-bottom var(--duration-200) var(--easing-out)
|
|
363
|
+
forwards;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.drawer-container[data-side="bottom"][data-state="closed"] {
|
|
367
|
+
animation: drawer-slide-out-bottom var(--duration-150) var(--easing-in)
|
|
368
|
+
forwards;
|
|
369
|
+
}
|