@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,123 @@
|
|
|
1
|
+
import "./toast.css"
|
|
2
|
+
import Component from '@glimmer/component';
|
|
3
|
+
import { service } from '@ember/service';
|
|
4
|
+
import { on } from '@ember/modifier';
|
|
5
|
+
import { modifier } from 'ember-modifier';
|
|
6
|
+
import { Info, AlertCircle, AlertTriangle, CheckCircle, X } from 'lucide';
|
|
7
|
+
import Icon from '../media/icon.js';
|
|
8
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
9
|
+
import { setComponentTemplate } from '@ember/component';
|
|
10
|
+
import { g, i } from 'decorator-transforms/runtime';
|
|
11
|
+
|
|
12
|
+
;
|
|
13
|
+
|
|
14
|
+
// ============================================================================
|
|
15
|
+
// Icon Mapping
|
|
16
|
+
// ============================================================================
|
|
17
|
+
const TONE_ICONS = {
|
|
18
|
+
success: CheckCircle,
|
|
19
|
+
warning: AlertTriangle,
|
|
20
|
+
critical: AlertCircle,
|
|
21
|
+
info: Info
|
|
22
|
+
};
|
|
23
|
+
// ============================================================================
|
|
24
|
+
// ToastItem Component
|
|
25
|
+
// ============================================================================
|
|
26
|
+
class ToastItem extends Component {
|
|
27
|
+
get toast() {
|
|
28
|
+
return this.args.toast;
|
|
29
|
+
}
|
|
30
|
+
get icon() {
|
|
31
|
+
return this.toast.icon ?? TONE_ICONS[this.toast.tone];
|
|
32
|
+
}
|
|
33
|
+
get role() {
|
|
34
|
+
return this.toast.tone === 'critical' ? 'alert' : 'status';
|
|
35
|
+
}
|
|
36
|
+
handleDismiss = () => {
|
|
37
|
+
this.args.onDismiss(this.toast.id);
|
|
38
|
+
};
|
|
39
|
+
handleMouseEnter = () => {
|
|
40
|
+
this.args.onMouseEnter(this.toast.id);
|
|
41
|
+
};
|
|
42
|
+
handleMouseLeave = () => {
|
|
43
|
+
this.args.onMouseLeave(this.toast.id);
|
|
44
|
+
};
|
|
45
|
+
handleActionClick = () => {
|
|
46
|
+
this.toast.action?.onClick();
|
|
47
|
+
this.args.onDismiss(this.toast.id);
|
|
48
|
+
};
|
|
49
|
+
static {
|
|
50
|
+
setComponentTemplate(precompileTemplate("<div class=\"toast-item\" role={{this.role}} data-tone={{this.toast.tone}} data-state={{this.toast.state}} data-test-toast data-test-toast-id={{this.toast.id}} {{on \"mouseenter\" this.handleMouseEnter}} {{on \"mouseleave\" this.handleMouseLeave}} ...attributes>\n {{#if this.icon}}\n <span class=\"toast-icon\" data-test-toast-icon>\n <Icon @icon={{this.icon}} @size=\"sm\" />\n </span>\n {{/if}}\n\n <div class=\"toast-content\">\n <p class=\"toast-title\" data-test-toast-title>{{this.toast.title}}</p>\n {{#if this.toast.description}}\n <p class=\"toast-description\" data-test-toast-description>\n {{this.toast.description}}\n </p>\n {{/if}}\n </div>\n\n {{#if this.toast.action}}\n <button type=\"button\" class=\"toast-action\" data-test-toast-action {{on \"click\" this.handleActionClick}}>\n {{this.toast.action.label}}\n </button>\n {{/if}}\n\n {{#if this.toast.dismissible}}\n <button type=\"button\" class=\"toast-close\" aria-label=\"Dismiss notification\" data-test-toast-close {{on \"click\" this.handleDismiss}}>\n <Icon @icon={{X}} @size=\"xs\" />\n </button>\n {{/if}}\n</div>", {
|
|
51
|
+
strictMode: true,
|
|
52
|
+
scope: () => ({
|
|
53
|
+
on,
|
|
54
|
+
Icon,
|
|
55
|
+
X
|
|
56
|
+
})
|
|
57
|
+
}), this);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// ============================================================================
|
|
61
|
+
// Toast Component
|
|
62
|
+
// ============================================================================
|
|
63
|
+
class Toast extends Component {
|
|
64
|
+
static {
|
|
65
|
+
g(this.prototype, "toast", [service]);
|
|
66
|
+
}
|
|
67
|
+
#toast = (i(this, "toast"), void 0);
|
|
68
|
+
get position() {
|
|
69
|
+
return this.args.position ?? 'bottom-right';
|
|
70
|
+
}
|
|
71
|
+
get maxToasts() {
|
|
72
|
+
return this.args.maxToasts ?? 5;
|
|
73
|
+
}
|
|
74
|
+
get gap() {
|
|
75
|
+
return this.args.gap ?? 8;
|
|
76
|
+
}
|
|
77
|
+
get offset() {
|
|
78
|
+
return this.args.offset ?? 16;
|
|
79
|
+
}
|
|
80
|
+
get visibleToasts() {
|
|
81
|
+
return this.toast.toasts.slice(-this.maxToasts);
|
|
82
|
+
}
|
|
83
|
+
get destinationElement() {
|
|
84
|
+
return document.body;
|
|
85
|
+
}
|
|
86
|
+
get containerStyle() {
|
|
87
|
+
return `--toast-gap: ${this.gap}px; --toast-offset: ${this.offset}px;`;
|
|
88
|
+
}
|
|
89
|
+
handleDismiss = id => {
|
|
90
|
+
this.toast.dismiss(id);
|
|
91
|
+
};
|
|
92
|
+
handleMouseEnter = id => {
|
|
93
|
+
this.toast.pauseTimer(id);
|
|
94
|
+
};
|
|
95
|
+
handleMouseLeave = id => {
|
|
96
|
+
this.toast.resumeTimer(id);
|
|
97
|
+
};
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99
|
+
setupWindowListeners = modifier(_element => {
|
|
100
|
+
const handleVisibilityChange = () => {
|
|
101
|
+
if (document.hidden) {
|
|
102
|
+
this.toast.toasts.forEach(t => this.toast.pauseTimer(t.id));
|
|
103
|
+
} else {
|
|
104
|
+
this.toast.toasts.forEach(t => this.toast.resumeTimer(t.id));
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
document.addEventListener('visibilitychange', handleVisibilityChange);
|
|
108
|
+
return () => {
|
|
109
|
+
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
static {
|
|
113
|
+
setComponentTemplate(precompileTemplate("{{#if this.visibleToasts.length}}\n {{#in-element this.destinationElement insertBefore=null}}\n <div class=\"toast-container\" role=\"region\" aria-label=\"Notifications\" aria-live=\"polite\" data-position={{this.position}} style={{this.containerStyle}} {{this.setupWindowListeners}} data-test-toast-container ...attributes>\n {{#each this.visibleToasts as |toastItem|}}\n <ToastItem @toast={{toastItem}} @onDismiss={{this.handleDismiss}} @onMouseEnter={{this.handleMouseEnter}} @onMouseLeave={{this.handleMouseLeave}} />\n {{/each}}\n </div>\n {{/in-element}}\n{{/if}}", {
|
|
114
|
+
strictMode: true,
|
|
115
|
+
scope: () => ({
|
|
116
|
+
ToastItem
|
|
117
|
+
})
|
|
118
|
+
}), this);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export { ToastItem, Toast as default };
|
|
123
|
+
//# sourceMappingURL=toast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/* ===================================
|
|
2
|
+
* Tooltip Component
|
|
3
|
+
* =================================== */
|
|
4
|
+
|
|
5
|
+
.tooltip {
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.tooltip-provider {
|
|
10
|
+
display: contents;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* ===================================
|
|
14
|
+
* Trigger
|
|
15
|
+
* =================================== */
|
|
16
|
+
|
|
17
|
+
.tooltip-trigger {
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* ===================================
|
|
24
|
+
* Content - Dark variant (default)
|
|
25
|
+
* =================================== */
|
|
26
|
+
|
|
27
|
+
.tooltip-content {
|
|
28
|
+
/* Positioning */
|
|
29
|
+
position: absolute;
|
|
30
|
+
z-index: var(--z-tooltip, 9999);
|
|
31
|
+
|
|
32
|
+
/* Visual - Dark theme by default */
|
|
33
|
+
background: var(--gray-900, #161a2e);
|
|
34
|
+
color: var(--white, #fff);
|
|
35
|
+
border-radius: var(--radius-md, 6px);
|
|
36
|
+
box-shadow: var(
|
|
37
|
+
--shadow-md,
|
|
38
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
39
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1)
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
/* Typography */
|
|
43
|
+
font-size: var(--font-size-sm, 14px);
|
|
44
|
+
font-weight: var(--font-weight-medium, 500);
|
|
45
|
+
line-height: var(--line-height-tight, 1.25);
|
|
46
|
+
|
|
47
|
+
/* Sizing */
|
|
48
|
+
max-width: 240px;
|
|
49
|
+
padding: 6px 10px;
|
|
50
|
+
|
|
51
|
+
/* Animation */
|
|
52
|
+
animation: tooltip-fade-in var(--duration-150, 150ms)
|
|
53
|
+
var(--easing-out, ease-out);
|
|
54
|
+
|
|
55
|
+
/* Prevent text selection */
|
|
56
|
+
user-select: none;
|
|
57
|
+
pointer-events: auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Light variant */
|
|
61
|
+
.tooltip-content[data-variant="light"] {
|
|
62
|
+
background: var(--white, #fff);
|
|
63
|
+
color: var(--gray-900, #161a2e);
|
|
64
|
+
border: 1px solid var(--gray-200, #d8dcea);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Transform origin based on side */
|
|
68
|
+
.tooltip-content[data-side="top"] {
|
|
69
|
+
--transform-origin: bottom center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tooltip-content[data-side="bottom"] {
|
|
73
|
+
--transform-origin: top center;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.tooltip-content[data-side="left"] {
|
|
77
|
+
--transform-origin: right center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.tooltip-content[data-side="right"] {
|
|
81
|
+
--transform-origin: left center;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* ===================================
|
|
85
|
+
* Animation
|
|
86
|
+
* =================================== */
|
|
87
|
+
|
|
88
|
+
@keyframes tooltip-fade-in {
|
|
89
|
+
from {
|
|
90
|
+
opacity: 0;
|
|
91
|
+
transform: scale(0.96);
|
|
92
|
+
}
|
|
93
|
+
to {
|
|
94
|
+
opacity: 1;
|
|
95
|
+
transform: scale(1);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* ===================================
|
|
100
|
+
* Arrow (Caret)
|
|
101
|
+
* =================================== */
|
|
102
|
+
|
|
103
|
+
.tooltip-arrow {
|
|
104
|
+
position: absolute;
|
|
105
|
+
width: 0;
|
|
106
|
+
height: 0;
|
|
107
|
+
border-style: solid;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Arrow pointing down (tooltip on top) */
|
|
111
|
+
.tooltip-arrow[data-side="top"] {
|
|
112
|
+
border-width: 6px 6px 0 6px;
|
|
113
|
+
border-color: var(--gray-900, #161a2e) transparent transparent transparent;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Arrow pointing up (tooltip on bottom) */
|
|
117
|
+
.tooltip-arrow[data-side="bottom"] {
|
|
118
|
+
border-width: 0 6px 6px 6px;
|
|
119
|
+
border-color: transparent transparent var(--gray-900, #161a2e) transparent;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Arrow pointing right (tooltip on left) */
|
|
123
|
+
.tooltip-arrow[data-side="left"] {
|
|
124
|
+
border-width: 6px 0 6px 6px;
|
|
125
|
+
border-color: transparent transparent transparent var(--gray-900, #161a2e);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Arrow pointing left (tooltip on right) */
|
|
129
|
+
.tooltip-arrow[data-side="right"] {
|
|
130
|
+
border-width: 6px 6px 6px 0;
|
|
131
|
+
border-color: transparent var(--gray-900, #161a2e) transparent transparent;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Light variant arrow - uses pseudo-element for border effect */
|
|
135
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow {
|
|
136
|
+
/* Hide the default arrow, we'll use pseudo-elements instead */
|
|
137
|
+
border-color: transparent;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow::before,
|
|
141
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow::after {
|
|
142
|
+
content: "";
|
|
143
|
+
position: absolute;
|
|
144
|
+
width: 0;
|
|
145
|
+
height: 0;
|
|
146
|
+
border-style: solid;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Border layer (behind) */
|
|
150
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow::before {
|
|
151
|
+
z-index: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Fill layer (in front) */
|
|
155
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow::after {
|
|
156
|
+
z-index: 1;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Top arrow (pointing down) - light variant */
|
|
160
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow[data-side="top"]::before {
|
|
161
|
+
border-width: 7px 7px 0 7px;
|
|
162
|
+
border-color: var(--gray-200, #d8dcea) transparent transparent transparent;
|
|
163
|
+
top: 0;
|
|
164
|
+
left: -1px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow[data-side="top"]::after {
|
|
168
|
+
border-width: 6px 6px 0 6px;
|
|
169
|
+
border-color: var(--white, #fff) transparent transparent transparent;
|
|
170
|
+
top: 0;
|
|
171
|
+
left: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Bottom arrow (pointing up) - light variant */
|
|
175
|
+
.tooltip-content[data-variant="light"]
|
|
176
|
+
.tooltip-arrow[data-side="bottom"]::before {
|
|
177
|
+
border-width: 0 7px 7px 7px;
|
|
178
|
+
border-color: transparent transparent var(--gray-200, #d8dcea) transparent;
|
|
179
|
+
bottom: 0;
|
|
180
|
+
left: -1px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.tooltip-content[data-variant="light"]
|
|
184
|
+
.tooltip-arrow[data-side="bottom"]::after {
|
|
185
|
+
border-width: 0 6px 6px 6px;
|
|
186
|
+
border-color: transparent transparent var(--white, #fff) transparent;
|
|
187
|
+
bottom: 0;
|
|
188
|
+
left: 0;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Left arrow (pointing right) - light variant */
|
|
192
|
+
.tooltip-content[data-variant="light"]
|
|
193
|
+
.tooltip-arrow[data-side="left"]::before {
|
|
194
|
+
border-width: 7px 0 7px 7px;
|
|
195
|
+
border-color: transparent transparent transparent var(--gray-200, #d8dcea);
|
|
196
|
+
top: -1px;
|
|
197
|
+
left: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.tooltip-content[data-variant="light"] .tooltip-arrow[data-side="left"]::after {
|
|
201
|
+
border-width: 6px 0 6px 6px;
|
|
202
|
+
border-color: transparent transparent transparent var(--white, #fff);
|
|
203
|
+
top: 0;
|
|
204
|
+
left: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Right arrow (pointing left) - light variant */
|
|
208
|
+
.tooltip-content[data-variant="light"]
|
|
209
|
+
.tooltip-arrow[data-side="right"]::before {
|
|
210
|
+
border-width: 7px 7px 7px 0;
|
|
211
|
+
border-color: transparent var(--gray-200, #d8dcea) transparent transparent;
|
|
212
|
+
top: -1px;
|
|
213
|
+
right: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.tooltip-content[data-variant="light"]
|
|
217
|
+
.tooltip-arrow[data-side="right"]::after {
|
|
218
|
+
border-width: 6px 6px 6px 0;
|
|
219
|
+
border-color: transparent var(--white, #fff) transparent transparent;
|
|
220
|
+
top: 0;
|
|
221
|
+
right: 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* ===================================
|
|
225
|
+
* Keyboard Shortcut Badge
|
|
226
|
+
* =================================== */
|
|
227
|
+
|
|
228
|
+
.tooltip-kbd {
|
|
229
|
+
display: inline-flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
min-width: 20px;
|
|
233
|
+
height: 20px;
|
|
234
|
+
padding: 0 var(--spacing-1, 4px);
|
|
235
|
+
margin-left: var(--spacing-2, 8px);
|
|
236
|
+
background: var(--gray-800, #252a40);
|
|
237
|
+
border-radius: var(--radius-sm, 4px);
|
|
238
|
+
font-size: var(--font-size-xs, 12px);
|
|
239
|
+
font-family: var(--font-family-mono, ui-monospace, monospace);
|
|
240
|
+
font-weight: var(--font-weight-medium, 500);
|
|
241
|
+
color: var(--gray-300, #c2c7d9);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.tooltip-kbd + .tooltip-kbd {
|
|
245
|
+
margin-left: var(--spacing-1, 4px);
|
|
246
|
+
}
|