@webquark/browser 0.0.0-stage → 1.1.0-dev.9
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 +21 -0
- package/README.md +12 -2
- package/dist/cjs/Leaflet.GoogleMutant-i4bYl6qy.js +768 -0
- package/dist/cjs/action.props-N0urQtdP.js +35 -0
- package/dist/cjs/chevron-up-D4t2OSHA.js +30 -0
- package/dist/cjs/collection-identity-CV5HLD9Z.js +141 -0
- package/dist/cjs/data-table-cell-8uUCk2Qz.js +51 -0
- package/dist/cjs/dom-Dk77oFF6.js +247 -0
- package/dist/cjs/field-CsrQGhG-.js +14 -0
- package/dist/cjs/form-control-validity-D1ukC0_e.js +49 -0
- package/dist/cjs/form-field-adapter-D0CJ6poh.js +51 -0
- package/dist/cjs/form-field-state-P63wN30v.js +51 -0
- package/dist/cjs/form-submit-action-C6c4aq6C.js +227 -0
- package/dist/cjs/image-crop-BZD5Cxd7.js +53 -0
- package/dist/cjs/index-DWXhKHCB.js +1869 -0
- package/dist/cjs/index.cjs.js +34 -0
- package/dist/cjs/leaflet-maplibre-gl-JIaCQ-7v.js +1025 -0
- package/dist/cjs/leaflet-src-mrRg-Srs.js +14551 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/map.types-BWymIRql.js +24 -0
- package/dist/cjs/q-accordion.cjs.entry.js +18 -0
- package/dist/cjs/q-alert.cjs.entry.js +52 -0
- package/dist/cjs/q-avatar.cjs.entry.js +101 -0
- package/dist/cjs/q-banner.cjs.entry.js +19 -0
- package/dist/cjs/q-button_2.cjs.entry.js +462 -0
- package/dist/cjs/q-card.cjs.entry.js +88 -0
- package/dist/cjs/q-carousel.cjs.entry.js +718 -0
- package/dist/cjs/q-chip.cjs.entry.js +124 -0
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +70 -0
- package/dist/cjs/q-data-table.cjs.entry.js +611 -0
- package/dist/cjs/q-dialog.cjs.entry.js +271 -0
- package/dist/cjs/q-dropdown.cjs.entry.js +699 -0
- package/dist/cjs/q-form.cjs.entry.js +1002 -0
- package/dist/cjs/q-grid.cjs.entry.js +24 -0
- package/dist/cjs/q-icon.cjs.entry.js +439 -0
- package/dist/cjs/q-image-comparison.cjs.entry.js +201 -0
- package/dist/cjs/q-inline.cjs.entry.js +22 -0
- package/dist/cjs/q-input_2.cjs.entry.js +438 -0
- package/dist/cjs/q-link.cjs.entry.js +80 -0
- package/dist/cjs/q-map.cjs.entry.js +3509 -0
- package/dist/cjs/q-media.cjs.entry.js +21 -0
- package/dist/cjs/q-navbar.cjs.entry.js +415 -0
- package/dist/cjs/q-pagination.cjs.entry.js +68 -0
- package/dist/cjs/q-panel.cjs.entry.js +76 -0
- package/dist/cjs/q-quantity-selector.cjs.entry.js +204 -0
- package/dist/cjs/q-radio-group.cjs.entry.js +261 -0
- package/dist/cjs/q-reel.cjs.entry.js +170 -0
- package/dist/cjs/q-scrollable.cjs.entry.js +449 -0
- package/dist/cjs/q-section.cjs.entry.js +20 -0
- package/dist/cjs/q-sidepanel.cjs.entry.js +793 -0
- package/dist/cjs/q-stack.cjs.entry.js +20 -0
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +45 -0
- package/dist/cjs/q-step-diagram.cjs.entry.js +56 -0
- package/dist/cjs/q-syntax-box.cjs.entry.js +782 -0
- package/dist/cjs/q-tabs.cjs.entry.js +155 -0
- package/dist/cjs/q-textarea.cjs.entry.js +295 -0
- package/dist/cjs/q-thumbnail.cjs.entry.js +51 -0
- package/dist/cjs/q-toast.cjs.entry.js +400 -0
- package/dist/cjs/q-toggle.cjs.entry.js +233 -0
- package/dist/cjs/q-toolbar.cjs.entry.js +33 -0
- package/dist/cjs/registry-CzkkkaZO.js +323 -0
- package/dist/cjs/toast-controller-CIXagxbV.js +111 -0
- package/dist/cjs/tokens-RMRaIOqv.js +957 -0
- package/dist/cjs/utils-DGQOjEwT.js +33 -0
- package/dist/cjs/webquark.cjs.js +24 -0
- package/dist/collection/assets/icons/braces.svg +14 -0
- package/dist/collection/assets/icons/check.svg +1 -0
- package/dist/collection/assets/icons/chevron-down.svg +1 -0
- package/dist/collection/assets/icons/chevron-left.svg +1 -0
- package/dist/collection/assets/icons/chevron-right.svg +1 -0
- package/dist/collection/assets/icons/chevron-up.svg +1 -0
- package/dist/collection/assets/icons/copy.svg +4 -0
- package/dist/collection/assets/icons/eye-off.svg +1 -0
- package/dist/collection/assets/icons/eye.svg +1 -0
- package/dist/collection/assets/icons/minus.svg +1 -0
- package/dist/collection/assets/icons/play.svg +1 -0
- package/dist/collection/assets/icons/plus.svg +1 -0
- package/dist/collection/assets/icons/search.svg +1 -0
- package/dist/collection/assets/icons/spinner.svg +1 -0
- package/dist/collection/assets/icons/trash-2.svg +1 -0
- package/dist/collection/assets/icons/x.svg +1 -0
- package/dist/collection/collection-manifest.json +56 -0
- package/dist/collection/components/actions/action.props.js +130 -0
- package/dist/collection/components/actions/button/button.css +242 -0
- package/dist/collection/components/actions/button/button.js +748 -0
- package/dist/collection/components/actions/button/button.types.js +1 -0
- package/dist/collection/components/actions/button/button.utils.js +9 -0
- package/dist/collection/components/actions/button/button.utils.unit.test.js +44 -0
- package/dist/collection/components/actions/button/test/button-slots.cmp.test.js +70 -0
- package/dist/collection/components/actions/link/link.css +102 -0
- package/dist/collection/components/actions/link/link.js +316 -0
- package/dist/collection/components/actions/link/link.types.js +1 -0
- package/dist/collection/components/communication/alert/alert.css +118 -0
- package/dist/collection/components/communication/alert/alert.js +208 -0
- package/dist/collection/components/communication/alert/alert.types.js +1 -0
- package/dist/collection/components/communication/conversation-bubble/conversation-bubble.css +154 -0
- package/dist/collection/components/communication/conversation-bubble/conversation-bubble.js +207 -0
- package/dist/collection/components/communication/conversation-bubble/conversation-bubble.types.js +1 -0
- package/dist/collection/components/communication/toast/internals/icons.js +25 -0
- package/dist/collection/components/communication/toast/internals/queue.js +64 -0
- package/dist/collection/components/communication/toast/internals/timers.js +75 -0
- package/dist/collection/components/communication/toast/test/toast.cmp.test.js +38 -0
- package/dist/collection/components/communication/toast/test/toast.unit.test.js +104 -0
- package/dist/collection/components/communication/toast/toast-controller.js +105 -0
- package/dist/collection/components/communication/toast/toast.css +141 -0
- package/dist/collection/components/communication/toast/toast.js +556 -0
- package/dist/collection/components/communication/toast/toast.types.js +1 -0
- package/dist/collection/components/content/banner/banner.css +1 -0
- package/dist/collection/components/content/banner/banner.js +84 -0
- package/dist/collection/components/content/banner/banner.types.js +1 -0
- package/dist/collection/components/content/card/card.css +105 -0
- package/dist/collection/components/content/card/card.js +308 -0
- package/dist/collection/components/content/card/card.types.js +1 -0
- package/dist/collection/components/content/card/card.utils.js +15 -0
- package/dist/collection/components/content/carousel/carousel.css +254 -0
- package/dist/collection/components/content/carousel/carousel.js +956 -0
- package/dist/collection/components/content/carousel/carousel.types.js +1 -0
- package/dist/collection/components/content/carousel/carousel.utils.js +1 -0
- package/dist/collection/components/content/carousel/internals/autoplay.js +64 -0
- package/dist/collection/components/content/carousel/internals/metrics.js +59 -0
- package/dist/collection/components/content/carousel/internals/slide-state.js +50 -0
- package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +328 -0
- package/dist/collection/components/data-display/accordion/accordion.css +1 -0
- package/dist/collection/components/data-display/accordion/accordion.js +54 -0
- package/dist/collection/components/data-display/accordion/accordion.types.js +1 -0
- package/dist/collection/components/data-display/chip/chip.css +219 -0
- package/dist/collection/components/data-display/chip/chip.js +381 -0
- package/dist/collection/components/data-display/chip/chip.types.js +1 -0
- package/dist/collection/components/data-display/data-table/data-table-cell.js +44 -0
- package/dist/collection/components/data-display/data-table/data-table.css +429 -0
- package/dist/collection/components/data-display/data-table/data-table.js +862 -0
- package/dist/collection/components/data-display/data-table/data-table.types.js +1 -0
- package/dist/collection/components/data-display/data-table/internals/data-access.js +43 -0
- package/dist/collection/components/data-display/data-table/internals/render-row-actions.js +22 -0
- package/dist/collection/components/data-display/data-table/internals/render-sort-indicator.js +5 -0
- package/dist/collection/components/data-display/data-table/internals/render-table-body.js +59 -0
- package/dist/collection/components/data-display/data-table/internals/render-table-head.js +42 -0
- package/dist/collection/components/data-display/data-table/internals/render-toolbar.js +6 -0
- package/dist/collection/components/data-display/data-table/internals/row-events.js +27 -0
- package/dist/collection/components/data-display/data-table/internals/selection.js +31 -0
- package/dist/collection/components/data-display/data-table/internals/sort.js +57 -0
- package/dist/collection/components/data-display/data-table/internals/table-model.js +92 -0
- package/dist/collection/components/data-display/data-table/test/row-gutter.cmp.test.js +104 -0
- package/dist/collection/components/data-display/data-table/test/two-line-rows.cmp.test.js +164 -0
- package/dist/collection/components/data-display/map/internals/base-layer.js +140 -0
- package/dist/collection/components/data-display/map/internals/bounds.js +66 -0
- package/dist/collection/components/data-display/map/internals/buffered-tile-layer.js +128 -0
- package/dist/collection/components/data-display/map/internals/cluster-collision.js +73 -0
- package/dist/collection/components/data-display/map/internals/google-maps.js +117 -0
- package/dist/collection/components/data-display/map/internals/google-mutant.js +51 -0
- package/dist/collection/components/data-display/map/internals/maplibre.js +50 -0
- package/dist/collection/components/data-display/map/internals/marker-cluster-index.js +136 -0
- package/dist/collection/components/data-display/map/internals/marker-controller.js +425 -0
- package/dist/collection/components/data-display/map/internals/marker-presentation.js +266 -0
- package/dist/collection/components/data-display/map/internals/marker-visibility.js +158 -0
- package/dist/collection/components/data-display/map/internals/markers.js +191 -0
- package/dist/collection/components/data-display/map/internals/tile-layer-readiness.js +67 -0
- package/dist/collection/components/data-display/map/internals/tile-preload-buffer.js +8 -0
- package/dist/collection/components/data-display/map/internals/vector-padding.js +8 -0
- package/dist/collection/components/data-display/map/map.css +742 -0
- package/dist/collection/components/data-display/map/map.js +1595 -0
- package/dist/collection/components/data-display/map/map.types.js +12 -0
- package/dist/collection/components/data-display/map/test/map.cmp.test.js +961 -0
- package/dist/collection/components/data-display/pagination/pagination.css +81 -0
- package/dist/collection/components/data-display/pagination/pagination.js +240 -0
- package/dist/collection/components/data-display/pagination/test/pagination.cmp.test.js +57 -0
- package/dist/collection/components/data-display/syntax-box/internals/clipboard.js +9 -0
- package/dist/collection/components/data-display/syntax-box/internals/editor-key-action.js +14 -0
- package/dist/collection/components/data-display/syntax-box/internals/value-sync.js +10 -0
- package/dist/collection/components/data-display/syntax-box/internals/value-sync.unit.test.js +25 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.css +209 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.js +678 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.types.js +1 -0
- package/dist/collection/components/data-display/syntax-box/syntax-box.utils.js +1 -0
- package/dist/collection/components/data-display/syntax-box/test/format-fixtures.js +20 -0
- package/dist/collection/components/data-display/syntax-box/test/syntax-box.cmp.test.js +241 -0
- package/dist/collection/components/data-display/syntax-box/test/syntax-fixtures.js +14 -0
- package/dist/collection/components/data-display/syntax-box/test/syntax-format.cmp.test.js +157 -0
- package/dist/collection/components/indicators/progress/progress.css +223 -0
- package/dist/collection/components/indicators/progress/progress.js +275 -0
- package/dist/collection/components/indicators/progress/progress.types.js +1 -0
- package/dist/collection/components/indicators/step-diagram/step-diagram.css +21 -0
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +143 -0
- package/dist/collection/components/indicators/step-diagram/step-diagram.types.js +1 -0
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.css +252 -0
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +185 -0
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.types.js +1 -0
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.utils.js +3 -0
- package/dist/collection/components/inputs/dropdown/dropdown.css +387 -0
- package/dist/collection/components/inputs/dropdown/dropdown.js +1236 -0
- package/dist/collection/components/inputs/dropdown/dropdown.types.js +1 -0
- package/dist/collection/components/inputs/dropdown/internals/options.js +30 -0
- package/dist/collection/components/inputs/dropdown/internals/position.js +35 -0
- package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +62 -0
- package/dist/collection/components/inputs/form/form.css +85 -0
- package/dist/collection/components/inputs/form/form.js +808 -0
- package/dist/collection/components/inputs/form/form.types.js +1 -0
- package/dist/collection/components/inputs/form/internals/controls.js +173 -0
- package/dist/collection/components/inputs/form/internals/enter-behavior.js +25 -0
- package/dist/collection/components/inputs/form/internals/field-state.js +129 -0
- package/dist/collection/components/inputs/form/internals/reset.js +50 -0
- package/dist/collection/components/inputs/form/internals/submission.js +140 -0
- package/dist/collection/components/inputs/form/internals/values.js +199 -0
- package/dist/collection/components/inputs/form/internals/values.unit.test.js +59 -0
- package/dist/collection/components/inputs/form/test/form-reset-state.cmp.test.js +559 -0
- package/dist/collection/components/inputs/form/test/form-submit-transport.cmp.test.js +352 -0
- package/dist/collection/components/inputs/form/test/form-submit.cmp.test.js +438 -0
- package/dist/collection/components/inputs/form/test/form-values.cmp.test.js +440 -0
- package/dist/collection/components/inputs/form/test/form.cmp.test.js +157 -0
- package/dist/collection/components/inputs/input/input.css +293 -0
- package/dist/collection/components/inputs/input/input.js +907 -0
- package/dist/collection/components/inputs/input/input.types.js +1 -0
- package/dist/collection/components/inputs/input/input.utils.js +3 -0
- package/dist/collection/components/inputs/quantity-selector/internals/number-value.js +64 -0
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +171 -0
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +390 -0
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.types.js +1 -0
- package/dist/collection/components/inputs/radio-group/radio-group.css +224 -0
- package/dist/collection/components/inputs/radio-group/radio-group.js +668 -0
- package/dist/collection/components/inputs/radio-group/radio-group.types.js +1 -0
- package/dist/collection/components/inputs/radio-group/radio-group.utils.js +18 -0
- package/dist/collection/components/inputs/textarea/textarea.css +172 -0
- package/dist/collection/components/inputs/textarea/textarea.js +799 -0
- package/dist/collection/components/inputs/textarea/textarea.types.js +1 -0
- package/dist/collection/components/inputs/toggle/toggle.css +252 -0
- package/dist/collection/components/inputs/toggle/toggle.js +610 -0
- package/dist/collection/components/inputs/toggle/toggle.types.js +1 -0
- package/dist/collection/components/inputs/toggle/toggle.utils.js +3 -0
- package/dist/collection/components/layout/grid/grid.css +11 -0
- package/dist/collection/components/layout/grid/grid.js +152 -0
- package/dist/collection/components/layout/inline/inline.css +4 -0
- package/dist/collection/components/layout/inline/inline.js +118 -0
- package/dist/collection/components/layout/navbar/navbar.css +584 -0
- package/dist/collection/components/layout/navbar/navbar.js +848 -0
- package/dist/collection/components/layout/navbar/navbar.types.js +1 -0
- package/dist/collection/components/layout/navbar/navbar.utils.js +13 -0
- package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +369 -0
- package/dist/collection/components/layout/panel/panel.css +114 -0
- package/dist/collection/components/layout/panel/panel.js +394 -0
- package/dist/collection/components/layout/panel/panel.types.js +1 -0
- package/dist/collection/components/layout/scrollable/internals/metrics.js +61 -0
- package/dist/collection/components/layout/scrollable/internals/native-scrollbar.js +41 -0
- package/dist/collection/components/layout/scrollable/scrollable.css +123 -0
- package/dist/collection/components/layout/scrollable/scrollable.js +565 -0
- package/dist/collection/components/layout/scrollable/scrollable.types.js +1 -0
- package/dist/collection/components/layout/section/section.css +1 -0
- package/dist/collection/components/layout/section/section.js +98 -0
- package/dist/collection/components/layout/section/section.types.js +1 -0
- package/dist/collection/components/layout/sidepanel/internals/drawer.js +98 -0
- package/dist/collection/components/layout/sidepanel/internals/groups.js +56 -0
- package/dist/collection/components/layout/sidepanel/internals/nav-items.js +30 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.css +1035 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.js +1001 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.types.js +1 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.utils.js +17 -0
- package/dist/collection/components/layout/sidepanel/test/nav-drawer-transitions.cmp.test.js +120 -0
- package/dist/collection/components/layout/sidepanel/test/panel-transitions.cmp.test.js +180 -0
- package/dist/collection/components/layout/stack/stack.css +4 -0
- package/dist/collection/components/layout/stack/stack.js +76 -0
- package/dist/collection/components/layout/tabs/tabs.css +248 -0
- package/dist/collection/components/layout/tabs/tabs.js +322 -0
- package/dist/collection/components/layout/tabs/tabs.types.js +1 -0
- package/dist/collection/components/layout/tabs/tabs.utils.js +31 -0
- package/dist/collection/components/layout/tabs/test/tabs.cmp.test.js +165 -0
- package/dist/collection/components/layout/toolbar/toolbar.css +168 -0
- package/dist/collection/components/layout/toolbar/toolbar.js +251 -0
- package/dist/collection/components/layout/toolbar/toolbar.types.js +1 -0
- package/dist/collection/components/media/avatar/avatar.css +71 -0
- package/dist/collection/components/media/avatar/avatar.js +302 -0
- package/dist/collection/components/media/avatar/avatar.types.js +1 -0
- package/dist/collection/components/media/icon/icon.css +42 -0
- package/dist/collection/components/media/icon/icon.js +510 -0
- package/dist/collection/components/media/icon/icon.types.js +1 -0
- package/dist/collection/components/media/icon/internals/constants.js +3 -0
- package/dist/collection/components/media/icon/internals/fetch-icon.js +47 -0
- package/dist/collection/components/media/icon/internals/fetch-icon.unit.test.js +51 -0
- package/dist/collection/components/media/icon/internals/policy.js +184 -0
- package/dist/collection/components/media/icon/internals/policy.unit.test.js +65 -0
- package/dist/collection/components/media/icon/internals/registry-lucide.unit.test.js +78 -0
- package/dist/collection/components/media/icon/internals/registry.js +122 -0
- package/dist/collection/components/media/icon/internals/registry.unit.test.js +42 -0
- package/dist/collection/components/media/icon/internals/render-definition.js +24 -0
- package/dist/collection/components/media/icon/internals/sanitize-svg.js +86 -0
- package/dist/collection/components/media/icon/internals/size.js +12 -0
- package/dist/collection/components/media/icon/internals/url.js +52 -0
- package/dist/collection/components/media/icon/internals/url.unit.test.js +34 -0
- package/dist/collection/components/media/icon/test/icon-fixtures.js +47 -0
- package/dist/collection/components/media/icon/test/icon.cmp.test.js +223 -0
- package/dist/collection/components/media/image-comparison/image-comparison.css +124 -0
- package/dist/collection/components/media/image-comparison/image-comparison.js +468 -0
- package/dist/collection/components/media/image-comparison/test/image-comparison.cmp.test.js +234 -0
- package/dist/collection/components/media/media/media.css +1 -0
- package/dist/collection/components/media/media/media.js +125 -0
- package/dist/collection/components/media/media/media.types.js +1 -0
- package/dist/collection/components/media/reel/reel.css +193 -0
- package/dist/collection/components/media/reel/reel.js +279 -0
- package/dist/collection/components/media/reel/reel.types.js +1 -0
- package/dist/collection/components/media/thumbnail/thumbnail.css +111 -0
- package/dist/collection/components/media/thumbnail/thumbnail.js +184 -0
- package/dist/collection/components/media/thumbnail/thumbnail.types.js +1 -0
- package/dist/collection/components/overlays/dialog/dialog.css +264 -0
- package/dist/collection/components/overlays/dialog/dialog.js +743 -0
- package/dist/collection/components/overlays/dialog/dialog.types.js +1 -0
- package/dist/collection/components/overlays/dialog/internals/backdrop.js +9 -0
- package/dist/collection/components/overlays/dialog/internals/lifecycle.js +53 -0
- package/dist/collection/components/overlays/tooltip/internals/aria.js +27 -0
- package/dist/collection/components/overlays/tooltip/internals/positioning.js +84 -0
- package/dist/collection/components/overlays/tooltip/internals/scroll-listeners.js +18 -0
- package/dist/collection/components/overlays/tooltip/tooltip.css +69 -0
- package/dist/collection/components/overlays/tooltip/tooltip.js +196 -0
- package/dist/collection/components/overlays/tooltip/tooltip.types.js +1 -0
- package/dist/collection/components/shared/field.js +8 -0
- package/dist/collection/components/shared/test/orientation.cmp.test.js +36 -0
- package/dist/collection/index.js +16 -0
- package/dist/collection/native-content.css +24 -0
- package/dist/collection/theme/test/foundation.cmp.test.js +353 -0
- package/dist/collection/theme/test/presets.cmp.test.js +129 -0
- package/dist/collection/theme/tokens.js +960 -0
- package/dist/collection/utils/collection-identity.js +136 -0
- package/dist/collection/utils/collection-identity.unit.test.js +107 -0
- package/dist/collection/utils/dom.js +236 -0
- package/dist/collection/utils/form-control-validity.js +44 -0
- package/dist/collection/utils/form-field-adapter.js +44 -0
- package/dist/collection/utils/form-field-state.js +45 -0
- package/dist/collection/utils/form-reset-action.js +60 -0
- package/dist/collection/utils/form-submit-action.js +151 -0
- package/dist/collection/utils/form-submit-action.unit.test.js +15 -0
- package/dist/collection/utils/formatter.js +156 -0
- package/dist/collection/utils/formatter.unit.test.js +71 -0
- package/dist/collection/utils/image-crop.js +47 -0
- package/dist/collection/utils/image-crop.unit.test.js +57 -0
- package/dist/collection/utils/math.js +19 -0
- package/dist/collection/utils/syntax.js +239 -0
- package/dist/collection/utils/syntax.unit.test.js +134 -0
- package/dist/collection/utils/utils.js +28 -0
- package/dist/collection/utils/utils.unit.test.js +16 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-6PPZ2sIO.js +1 -0
- package/dist/components/p-B4Mg1xEw.js +1 -0
- package/dist/components/p-BH4gQWub.js +1 -0
- package/dist/components/p-BIIQL66b.js +1 -0
- package/dist/components/p-BJiYCN3i.js +1 -0
- package/dist/components/p-BOdNg0jc.js +1 -0
- package/dist/components/p-BcL0NVv0.js +1 -0
- package/dist/components/p-Bj2RJb2E.js +1 -0
- package/dist/components/p-BofcK-7Z.js +1 -0
- package/dist/components/p-ByfrUWx1.js +1 -0
- package/dist/components/p-CGZPmEUB.js +1 -0
- package/dist/components/p-CGml_DQ8.js +1 -0
- package/dist/components/p-CKuPOxKN.js +1 -0
- package/dist/components/p-CN1ut2Lb.js +1 -0
- package/dist/components/p-C_RztzNv.js +5 -0
- package/dist/components/p-Cg0Mv7Vb.js +1 -0
- package/dist/components/p-CoIMrUb3.js +1 -0
- package/dist/components/p-CpI3m4_T.js +1 -0
- package/dist/components/p-DKrPmn2y.js +13 -0
- package/dist/components/p-DQhiqYeq.js +1 -0
- package/dist/components/p-DYMWBqU1.js +5 -0
- package/dist/components/p-Dfp_If-_.js +1 -0
- package/dist/components/p-DlIn_ZWk.js +1 -0
- package/dist/components/p-DstNl_WY.js +1 -0
- package/dist/components/p-DuX-9GOi.js +1 -0
- package/dist/components/p-SzKf4WZF.js +1 -0
- package/dist/components/p-ye27qtRo.js +1 -0
- package/dist/components/q-accordion.d.ts +11 -0
- package/dist/components/q-accordion.js +1 -0
- package/dist/components/q-alert.d.ts +11 -0
- package/dist/components/q-alert.js +1 -0
- package/dist/components/q-avatar.d.ts +11 -0
- package/dist/components/q-avatar.js +1 -0
- package/dist/components/q-banner.d.ts +11 -0
- package/dist/components/q-banner.js +1 -0
- package/dist/components/q-button.d.ts +11 -0
- package/dist/components/q-button.js +1 -0
- package/dist/components/q-card.d.ts +11 -0
- package/dist/components/q-card.js +1 -0
- package/dist/components/q-carousel.d.ts +11 -0
- package/dist/components/q-carousel.js +1 -0
- package/dist/components/q-chip.d.ts +11 -0
- package/dist/components/q-chip.js +1 -0
- package/dist/components/q-conversation-bubble.d.ts +11 -0
- package/dist/components/q-conversation-bubble.js +1 -0
- package/dist/components/q-data-table.d.ts +11 -0
- package/dist/components/q-data-table.js +1 -0
- package/dist/components/q-dialog.d.ts +11 -0
- package/dist/components/q-dialog.js +1 -0
- package/dist/components/q-dropdown.d.ts +11 -0
- package/dist/components/q-dropdown.js +1 -0
- package/dist/components/q-form.d.ts +11 -0
- package/dist/components/q-form.js +1 -0
- package/dist/components/q-grid.d.ts +11 -0
- package/dist/components/q-grid.js +1 -0
- package/dist/components/q-icon.d.ts +11 -0
- package/dist/components/q-icon.js +1 -0
- package/dist/components/q-image-comparison.d.ts +11 -0
- package/dist/components/q-image-comparison.js +1 -0
- package/dist/components/q-inline.d.ts +11 -0
- package/dist/components/q-inline.js +1 -0
- package/dist/components/q-input.d.ts +11 -0
- package/dist/components/q-input.js +1 -0
- package/dist/components/q-link.d.ts +11 -0
- package/dist/components/q-link.js +1 -0
- package/dist/components/q-map.d.ts +11 -0
- package/dist/components/q-map.js +1 -0
- package/dist/components/q-media.d.ts +11 -0
- package/dist/components/q-media.js +1 -0
- package/dist/components/q-navbar.d.ts +11 -0
- package/dist/components/q-navbar.js +1 -0
- package/dist/components/q-pagination.d.ts +11 -0
- package/dist/components/q-pagination.js +1 -0
- package/dist/components/q-panel.d.ts +11 -0
- package/dist/components/q-panel.js +1 -0
- package/dist/components/q-progress.d.ts +11 -0
- package/dist/components/q-progress.js +1 -0
- package/dist/components/q-quantity-selector.d.ts +11 -0
- package/dist/components/q-quantity-selector.js +1 -0
- package/dist/components/q-radio-group.d.ts +11 -0
- package/dist/components/q-radio-group.js +1 -0
- package/dist/components/q-reel.d.ts +11 -0
- package/dist/components/q-reel.js +1 -0
- package/dist/components/q-scrollable.d.ts +11 -0
- package/dist/components/q-scrollable.js +1 -0
- package/dist/components/q-section.d.ts +11 -0
- package/dist/components/q-section.js +1 -0
- package/dist/components/q-sidepanel.d.ts +11 -0
- package/dist/components/q-sidepanel.js +13 -0
- package/dist/components/q-stack.d.ts +11 -0
- package/dist/components/q-stack.js +1 -0
- package/dist/components/q-step-diagram-item.d.ts +11 -0
- package/dist/components/q-step-diagram-item.js +1 -0
- package/dist/components/q-step-diagram.d.ts +11 -0
- package/dist/components/q-step-diagram.js +1 -0
- package/dist/components/q-syntax-box.d.ts +11 -0
- package/dist/components/q-syntax-box.js +13 -0
- package/dist/components/q-tabs.d.ts +11 -0
- package/dist/components/q-tabs.js +1 -0
- package/dist/components/q-textarea.d.ts +11 -0
- package/dist/components/q-textarea.js +1 -0
- package/dist/components/q-thumbnail.d.ts +11 -0
- package/dist/components/q-thumbnail.js +1 -0
- package/dist/components/q-toast.d.ts +11 -0
- package/dist/components/q-toast.js +1 -0
- package/dist/components/q-toggle.d.ts +11 -0
- package/dist/components/q-toggle.js +1 -0
- package/dist/components/q-toolbar.d.ts +11 -0
- package/dist/components/q-toolbar.js +1 -0
- package/dist/components/q-tooltip.d.ts +11 -0
- package/dist/components/q-tooltip.js +1 -0
- package/dist/esm/Leaflet.GoogleMutant-MpxOb4Jm.js +766 -0
- package/dist/esm/action.props-CpnGza8z.js +32 -0
- package/dist/esm/chevron-up-DKrPmn2y.js +27 -0
- package/dist/esm/collection-identity-CGZPmEUB.js +138 -0
- package/dist/esm/data-table-cell-SzKf4WZF.js +46 -0
- package/dist/esm/dom-ByfrUWx1.js +238 -0
- package/dist/esm/field-zfD6OQ02.js +11 -0
- package/dist/esm/form-control-validity-Bj2RJb2E.js +46 -0
- package/dist/esm/form-field-adapter-CGml_DQ8.js +46 -0
- package/dist/esm/form-field-state-DstNl_WY.js +47 -0
- package/dist/esm/form-submit-action-CoEIvDqE.js +213 -0
- package/dist/esm/image-crop-BcL0NVv0.js +49 -0
- package/dist/esm/index-B5ElFlHv.js +1858 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/leaflet-maplibre-gl-BvKlNmWf.js +1020 -0
- package/dist/esm/leaflet-src-DYMWBqU1.js +14547 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/map.types-CoIMrUb3.js +14 -0
- package/dist/esm/q-accordion.entry.js +16 -0
- package/dist/esm/q-alert.entry.js +50 -0
- package/dist/esm/q-avatar.entry.js +99 -0
- package/dist/esm/q-banner.entry.js +17 -0
- package/dist/esm/q-button_2.entry.js +459 -0
- package/dist/esm/q-card.entry.js +86 -0
- package/dist/esm/q-carousel.entry.js +716 -0
- package/dist/esm/q-chip.entry.js +122 -0
- package/dist/esm/q-conversation-bubble.entry.js +68 -0
- package/dist/esm/q-data-table.entry.js +609 -0
- package/dist/esm/q-dialog.entry.js +269 -0
- package/dist/esm/q-dropdown.entry.js +697 -0
- package/dist/esm/q-form.entry.js +1000 -0
- package/dist/esm/q-grid.entry.js +22 -0
- package/dist/esm/q-icon.entry.js +437 -0
- package/dist/esm/q-image-comparison.entry.js +199 -0
- package/dist/esm/q-inline.entry.js +20 -0
- package/dist/esm/q-input_2.entry.js +435 -0
- package/dist/esm/q-link.entry.js +78 -0
- package/dist/esm/q-map.entry.js +3507 -0
- package/dist/esm/q-media.entry.js +19 -0
- package/dist/esm/q-navbar.entry.js +413 -0
- package/dist/esm/q-pagination.entry.js +66 -0
- package/dist/esm/q-panel.entry.js +74 -0
- package/dist/esm/q-quantity-selector.entry.js +202 -0
- package/dist/esm/q-radio-group.entry.js +259 -0
- package/dist/esm/q-reel.entry.js +168 -0
- package/dist/esm/q-scrollable.entry.js +447 -0
- package/dist/esm/q-section.entry.js +18 -0
- package/dist/esm/q-sidepanel.entry.js +791 -0
- package/dist/esm/q-stack.entry.js +18 -0
- package/dist/esm/q-step-diagram-item.entry.js +43 -0
- package/dist/esm/q-step-diagram.entry.js +54 -0
- package/dist/esm/q-syntax-box.entry.js +780 -0
- package/dist/esm/q-tabs.entry.js +153 -0
- package/dist/esm/q-textarea.entry.js +293 -0
- package/dist/esm/q-thumbnail.entry.js +49 -0
- package/dist/esm/q-toast.entry.js +398 -0
- package/dist/esm/q-toggle.entry.js +231 -0
- package/dist/esm/q-toolbar.entry.js +31 -0
- package/dist/esm/registry-CpI3m4_T.js +308 -0
- package/dist/esm/toast-controller-BIIQL66b.js +107 -0
- package/dist/esm/tokens-B4Mg1xEw.js +953 -0
- package/dist/esm/utils-BJiYCN3i.js +30 -0
- package/dist/esm/webquark.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +2 -0
- package/dist/types/components/actions/action.props.d.ts +19 -0
- package/dist/types/components/actions/button/button.d.ts +87 -0
- package/dist/types/components/actions/button/button.types.d.ts +6 -0
- package/dist/types/components/actions/button/button.utils.d.ts +8 -0
- package/dist/types/components/actions/button/button.utils.unit.test.d.ts +1 -0
- package/dist/types/components/actions/button/test/button-slots.cmp.test.d.ts +1 -0
- package/dist/types/components/actions/link/link.d.ts +43 -0
- package/dist/types/components/actions/link/link.types.d.ts +3 -0
- package/dist/types/components/communication/alert/alert.d.ts +32 -0
- package/dist/types/components/communication/alert/alert.types.d.ts +2 -0
- package/dist/types/components/communication/conversation-bubble/conversation-bubble.d.ts +38 -0
- package/dist/types/components/communication/conversation-bubble/conversation-bubble.types.d.ts +1 -0
- package/dist/types/components/communication/toast/internals/icons.d.ts +2 -0
- package/dist/types/components/communication/toast/internals/queue.d.ts +19 -0
- package/dist/types/components/communication/toast/internals/timers.d.ts +12 -0
- package/dist/types/components/communication/toast/test/toast.cmp.test.d.ts +2 -0
- package/dist/types/components/communication/toast/test/toast.unit.test.d.ts +1 -0
- package/dist/types/components/communication/toast/toast-controller.d.ts +9 -0
- package/dist/types/components/communication/toast/toast.d.ts +44 -0
- package/dist/types/components/communication/toast/toast.types.d.ts +30 -0
- package/dist/types/components/content/banner/banner.d.ts +12 -0
- package/dist/types/components/content/banner/banner.types.d.ts +2 -0
- package/dist/types/components/content/card/card.d.ts +35 -0
- package/dist/types/components/content/card/card.types.d.ts +1 -0
- package/dist/types/components/content/card/card.utils.d.ts +5 -0
- package/dist/types/components/content/carousel/carousel.d.ts +123 -0
- package/dist/types/components/content/carousel/carousel.types.d.ts +10 -0
- package/dist/types/components/content/carousel/carousel.utils.d.ts +1 -0
- package/dist/types/components/content/carousel/internals/autoplay.d.ts +22 -0
- package/dist/types/components/content/carousel/internals/metrics.d.ts +23 -0
- package/dist/types/components/content/carousel/internals/slide-state.d.ts +8 -0
- package/dist/types/components/content/carousel/test/transitions.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/accordion/accordion.d.ts +9 -0
- package/dist/types/components/data-display/accordion/accordion.types.d.ts +1 -0
- package/dist/types/components/data-display/chip/chip.d.ts +55 -0
- package/dist/types/components/data-display/chip/chip.types.d.ts +13 -0
- package/dist/types/components/data-display/data-table/data-table-cell.d.ts +7 -0
- package/dist/types/components/data-display/data-table/data-table.d.ts +95 -0
- package/dist/types/components/data-display/data-table/data-table.types.d.ts +56 -0
- package/dist/types/components/data-display/data-table/internals/data-access.d.ts +9 -0
- package/dist/types/components/data-display/data-table/internals/render-row-actions.d.ts +9 -0
- package/dist/types/components/data-display/data-table/internals/render-sort-indicator.d.ts +5 -0
- package/dist/types/components/data-display/data-table/internals/render-table-body.d.ts +13 -0
- package/dist/types/components/data-display/data-table/internals/render-table-head.d.ts +8 -0
- package/dist/types/components/data-display/data-table/internals/render-toolbar.d.ts +9 -0
- package/dist/types/components/data-display/data-table/internals/row-events.d.ts +1 -0
- package/dist/types/components/data-display/data-table/internals/selection.d.ts +10 -0
- package/dist/types/components/data-display/data-table/internals/sort.d.ts +3 -0
- package/dist/types/components/data-display/data-table/internals/table-model.d.ts +56 -0
- package/dist/types/components/data-display/data-table/test/row-gutter.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/data-table/test/two-line-rows.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/map/internals/base-layer.d.ts +63 -0
- package/dist/types/components/data-display/map/internals/bounds.d.ts +23 -0
- package/dist/types/components/data-display/map/internals/buffered-tile-layer.d.ts +10 -0
- package/dist/types/components/data-display/map/internals/cluster-collision.d.ts +15 -0
- package/dist/types/components/data-display/map/internals/google-maps.d.ts +9 -0
- package/dist/types/components/data-display/map/internals/google-mutant-module.d.ts +11 -0
- package/dist/types/components/data-display/map/internals/google-mutant.d.ts +18 -0
- package/dist/types/components/data-display/map/internals/maplibre.d.ts +14 -0
- package/dist/types/components/data-display/map/internals/marker-cluster-index.d.ts +36 -0
- package/dist/types/components/data-display/map/internals/marker-controller.d.ts +57 -0
- package/dist/types/components/data-display/map/internals/marker-presentation.d.ts +8 -0
- package/dist/types/components/data-display/map/internals/marker-visibility.d.ts +10 -0
- package/dist/types/components/data-display/map/internals/markers.d.ts +4 -0
- package/dist/types/components/data-display/map/internals/tile-layer-readiness.d.ts +11 -0
- package/dist/types/components/data-display/map/internals/tile-preload-buffer.d.ts +4 -0
- package/dist/types/components/data-display/map/internals/vector-padding.d.ts +4 -0
- package/dist/types/components/data-display/map/map.d.ts +175 -0
- package/dist/types/components/data-display/map/map.types.d.ts +132 -0
- package/dist/types/components/data-display/map/test/map.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/pagination/pagination.d.ts +33 -0
- package/dist/types/components/data-display/pagination/test/pagination.cmp.test.d.ts +2 -0
- package/dist/types/components/data-display/syntax-box/internals/clipboard.d.ts +2 -0
- package/dist/types/components/data-display/syntax-box/internals/editor-key-action.d.ts +12 -0
- package/dist/types/components/data-display/syntax-box/internals/value-sync.d.ts +15 -0
- package/dist/types/components/data-display/syntax-box/internals/value-sync.unit.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +72 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.types.d.ts +2 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.utils.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/test/format-fixtures.d.ts +6 -0
- package/dist/types/components/data-display/syntax-box/test/syntax-box.cmp.test.d.ts +1 -0
- package/dist/types/components/data-display/syntax-box/test/syntax-fixtures.d.ts +9 -0
- package/dist/types/components/data-display/syntax-box/test/syntax-format.cmp.test.d.ts +1 -0
- package/dist/types/components/indicators/progress/progress.d.ts +30 -0
- package/dist/types/components/indicators/progress/progress.types.d.ts +3 -0
- package/dist/types/components/indicators/step-diagram/step-diagram.d.ts +19 -0
- package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +3 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +26 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +5 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.utils.d.ts +1 -0
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +108 -0
- package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +9 -0
- package/dist/types/components/inputs/dropdown/internals/options.d.ts +6 -0
- package/dist/types/components/inputs/dropdown/internals/position.d.ts +26 -0
- package/dist/types/components/inputs/dropdown/test/dropdown.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/form.d.ts +80 -0
- package/dist/types/components/inputs/form/form.types.d.ts +40 -0
- package/dist/types/components/inputs/form/internals/controls.d.ts +8 -0
- package/dist/types/components/inputs/form/internals/enter-behavior.d.ts +2 -0
- package/dist/types/components/inputs/form/internals/field-state.d.ts +19 -0
- package/dist/types/components/inputs/form/internals/reset.d.ts +3 -0
- package/dist/types/components/inputs/form/internals/submission.d.ts +17 -0
- package/dist/types/components/inputs/form/internals/values.d.ts +10 -0
- package/dist/types/components/inputs/form/internals/values.unit.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-reset-state.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-submit-transport.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-submit.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form-values.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/test/form.cmp.test.d.ts +4 -0
- package/dist/types/components/inputs/input/input.d.ts +89 -0
- package/dist/types/components/inputs/input/input.types.d.ts +3 -0
- package/dist/types/components/inputs/input/input.utils.d.ts +1 -0
- package/dist/types/components/inputs/quantity-selector/internals/number-value.d.ts +13 -0
- package/dist/types/components/inputs/quantity-selector/quantity-selector.d.ts +37 -0
- package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +3 -0
- package/dist/types/components/inputs/radio-group/radio-group.d.ts +70 -0
- package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +12 -0
- package/dist/types/components/inputs/radio-group/radio-group.utils.d.ts +2 -0
- package/dist/types/components/inputs/textarea/textarea.d.ts +79 -0
- package/dist/types/components/inputs/textarea/textarea.types.d.ts +1 -0
- package/dist/types/components/inputs/toggle/toggle.d.ts +67 -0
- package/dist/types/components/inputs/toggle/toggle.types.d.ts +3 -0
- package/dist/types/components/inputs/toggle/toggle.utils.d.ts +1 -0
- package/dist/types/components/layout/grid/grid.d.ts +13 -0
- package/dist/types/components/layout/inline/inline.d.ts +12 -0
- package/dist/types/components/layout/navbar/navbar.d.ts +94 -0
- package/dist/types/components/layout/navbar/navbar.types.d.ts +33 -0
- package/dist/types/components/layout/navbar/navbar.utils.d.ts +2 -0
- package/dist/types/components/layout/navbar/test/navbar.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/panel/panel.d.ts +41 -0
- package/dist/types/components/layout/panel/panel.types.d.ts +3 -0
- package/dist/types/components/layout/scrollable/internals/metrics.d.ts +26 -0
- package/dist/types/components/layout/scrollable/internals/native-scrollbar.d.ts +4 -0
- package/dist/types/components/layout/scrollable/scrollable.d.ts +67 -0
- package/dist/types/components/layout/scrollable/scrollable.types.d.ts +6 -0
- package/dist/types/components/layout/section/section.d.ts +13 -0
- package/dist/types/components/layout/section/section.types.d.ts +1 -0
- package/dist/types/components/layout/sidepanel/internals/drawer.d.ts +2 -0
- package/dist/types/components/layout/sidepanel/internals/groups.d.ts +7 -0
- package/dist/types/components/layout/sidepanel/internals/nav-items.d.ts +2 -0
- package/dist/types/components/layout/sidepanel/sidepanel.d.ts +110 -0
- package/dist/types/components/layout/sidepanel/sidepanel.types.d.ts +43 -0
- package/dist/types/components/layout/sidepanel/sidepanel.utils.d.ts +2 -0
- package/dist/types/components/layout/sidepanel/test/nav-drawer-transitions.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/sidepanel/test/panel-transitions.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/stack/stack.d.ts +10 -0
- package/dist/types/components/layout/tabs/tabs.d.ts +29 -0
- package/dist/types/components/layout/tabs/tabs.types.d.ts +14 -0
- package/dist/types/components/layout/tabs/tabs.utils.d.ts +4 -0
- package/dist/types/components/layout/tabs/test/tabs.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/toolbar/toolbar.d.ts +27 -0
- package/dist/types/components/layout/toolbar/toolbar.types.d.ts +1 -0
- package/dist/types/components/media/avatar/avatar.d.ts +37 -0
- package/dist/types/components/media/avatar/avatar.types.d.ts +2 -0
- package/dist/types/components/media/icon/icon.d.ts +48 -0
- package/dist/types/components/media/icon/icon.types.d.ts +30 -0
- package/dist/types/components/media/icon/internals/constants.d.ts +3 -0
- package/dist/types/components/media/icon/internals/fetch-icon.d.ts +1 -0
- package/dist/types/components/media/icon/internals/fetch-icon.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/policy.d.ts +19 -0
- package/dist/types/components/media/icon/internals/policy.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/registry-lucide.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/registry.d.ts +11 -0
- package/dist/types/components/media/icon/internals/registry.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/internals/render-definition.d.ts +2 -0
- package/dist/types/components/media/icon/internals/sanitize-svg.d.ts +2 -0
- package/dist/types/components/media/icon/internals/size.d.ts +2 -0
- package/dist/types/components/media/icon/internals/url.d.ts +11 -0
- package/dist/types/components/media/icon/internals/url.unit.test.d.ts +1 -0
- package/dist/types/components/media/icon/test/icon-fixtures.d.ts +4 -0
- package/dist/types/components/media/icon/test/icon.cmp.test.d.ts +1 -0
- package/dist/types/components/media/image-comparison/image-comparison.d.ts +63 -0
- package/dist/types/components/media/image-comparison/test/image-comparison.cmp.test.d.ts +1 -0
- package/dist/types/components/media/media/media.d.ts +13 -0
- package/dist/types/components/media/media/media.types.d.ts +2 -0
- package/dist/types/components/media/reel/reel.d.ts +34 -0
- package/dist/types/components/media/reel/reel.types.d.ts +3 -0
- package/dist/types/components/media/thumbnail/thumbnail.d.ts +21 -0
- package/dist/types/components/media/thumbnail/thumbnail.types.d.ts +7 -0
- package/dist/types/components/overlays/dialog/dialog.d.ts +83 -0
- package/dist/types/components/overlays/dialog/dialog.types.d.ts +1 -0
- package/dist/types/components/overlays/dialog/internals/backdrop.d.ts +2 -0
- package/dist/types/components/overlays/dialog/internals/lifecycle.d.ts +21 -0
- package/dist/types/components/overlays/tooltip/internals/aria.d.ts +13 -0
- package/dist/types/components/overlays/tooltip/internals/positioning.d.ts +7 -0
- package/dist/types/components/overlays/tooltip/internals/scroll-listeners.d.ts +2 -0
- package/dist/types/components/overlays/tooltip/tooltip.d.ts +33 -0
- package/dist/types/components/overlays/tooltip/tooltip.types.d.ts +1 -0
- package/dist/types/components/shared/field.d.ts +3 -0
- package/dist/types/components/shared/test/orientation.cmp.test.d.ts +1 -0
- package/dist/types/components.d.ts +6047 -0
- package/dist/types/declarations.d.ts +14 -0
- package/dist/types/index.d.ts +31 -0
- package/dist/types/stencil-public-runtime.d.ts +1879 -0
- package/dist/types/theme/test/assets.d.ts +4 -0
- package/dist/types/theme/test/foundation.cmp.test.d.ts +16 -0
- package/dist/types/theme/test/presets.cmp.test.d.ts +7 -0
- package/dist/types/theme/tokens.d.ts +141 -0
- package/dist/types/utils/collection-identity.d.ts +55 -0
- package/dist/types/utils/collection-identity.unit.test.d.ts +1 -0
- package/dist/types/utils/dom.d.ts +68 -0
- package/dist/types/utils/form-control-validity.d.ts +14 -0
- package/dist/types/utils/form-field-adapter.d.ts +17 -0
- package/dist/types/utils/form-field-state.d.ts +4 -0
- package/dist/types/utils/form-reset-action.d.ts +5 -0
- package/dist/types/utils/form-submit-action.d.ts +17 -0
- package/dist/types/utils/form-submit-action.unit.test.d.ts +1 -0
- package/dist/types/utils/formatter.d.ts +15 -0
- package/dist/types/utils/formatter.unit.test.d.ts +1 -0
- package/dist/types/utils/image-crop.d.ts +30 -0
- package/dist/types/utils/image-crop.unit.test.d.ts +1 -0
- package/dist/types/utils/math.d.ts +10 -0
- package/dist/types/utils/syntax.d.ts +13 -0
- package/dist/types/utils/syntax.unit.test.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +11 -0
- package/dist/types/utils/utils.unit.test.d.ts +1 -0
- package/dist/webquark/index.esm.js +1 -0
- package/dist/webquark/native-content.css +24 -0
- package/dist/webquark/p-023f8437.entry.js +1 -0
- package/dist/webquark/p-030ecde3.entry.js +1 -0
- package/dist/webquark/p-04c8cb9e.entry.js +1 -0
- package/dist/webquark/p-059daa8a.entry.js +1 -0
- package/dist/webquark/p-09cca7b9.entry.js +1 -0
- package/dist/webquark/p-0aa74ad6.entry.js +1 -0
- package/dist/webquark/p-0ae43d6c.entry.js +1 -0
- package/dist/webquark/p-0c3aac3f.entry.js +1 -0
- package/dist/webquark/p-144ef339.entry.js +1 -0
- package/dist/webquark/p-296fbdb1.entry.js +1 -0
- package/dist/webquark/p-36118d90.entry.js +1 -0
- package/dist/webquark/p-3bc4629c.entry.js +1 -0
- package/dist/webquark/p-48fb5228.entry.js +1 -0
- package/dist/webquark/p-4d61b70d.entry.js +1 -0
- package/dist/webquark/p-5f232b44.entry.js +13 -0
- package/dist/webquark/p-64096386.entry.js +1 -0
- package/dist/webquark/p-6bfffa79.entry.js +1 -0
- package/dist/webquark/p-6e28cfe2.entry.js +1 -0
- package/dist/webquark/p-70d9ffde.entry.js +1 -0
- package/dist/webquark/p-888e46a8.entry.js +1 -0
- package/dist/webquark/p-8ece2c62.entry.js +1 -0
- package/dist/webquark/p-90b0858c.entry.js +1 -0
- package/dist/webquark/p-91fff6b6.entry.js +1 -0
- package/dist/webquark/p-923dac41.entry.js +1 -0
- package/dist/webquark/p-97a89cae.entry.js +1 -0
- package/dist/webquark/p-99d785ca.entry.js +1 -0
- package/dist/webquark/p-9e78b796.entry.js +1 -0
- package/dist/webquark/p-9ff7e5a4.entry.js +1 -0
- package/dist/webquark/p-B4Mg1xEw.js +1 -0
- package/dist/webquark/p-B5ElFlHv.js +3 -0
- package/dist/webquark/p-BIIQL66b.js +1 -0
- package/dist/webquark/p-BJiYCN3i.js +1 -0
- package/dist/webquark/p-BOdNg0jc.js +1 -0
- package/dist/webquark/p-BcL0NVv0.js +1 -0
- package/dist/webquark/p-Bj2RJb2E.js +1 -0
- package/dist/webquark/p-ByfrUWx1.js +1 -0
- package/dist/webquark/p-CGZPmEUB.js +1 -0
- package/dist/webquark/p-CGml_DQ8.js +1 -0
- package/dist/webquark/p-C_RztzNv.js +5 -0
- package/dist/webquark/p-CoIMrUb3.js +1 -0
- package/dist/webquark/p-CpI3m4_T.js +1 -0
- package/dist/webquark/p-DKrPmn2y.js +13 -0
- package/dist/webquark/p-DWO-pleQ.js +1 -0
- package/dist/webquark/p-DYMWBqU1.js +5 -0
- package/dist/webquark/p-Dhsn99q4.js +1 -0
- package/dist/webquark/p-DstNl_WY.js +1 -0
- package/dist/webquark/p-DuX-9GOi.js +1 -0
- package/dist/webquark/p-SzKf4WZF.js +1 -0
- package/dist/webquark/p-c523ec6f.entry.js +1 -0
- package/dist/webquark/p-d0253d64.entry.js +1 -0
- package/dist/webquark/p-d0fbd2b1.entry.js +1 -0
- package/dist/webquark/p-dd115868.entry.js +1 -0
- package/dist/webquark/p-f1bac94c.entry.js +1 -0
- package/dist/webquark/p-f4f97e74.entry.js +1 -0
- package/dist/webquark/p-f63b7214.entry.js +1 -0
- package/dist/webquark/p-f98f9439.entry.js +1 -0
- package/dist/webquark/p-f9ad63ff.entry.js +1 -0
- package/dist/webquark/p-fe200f68.entry.js +1 -0
- package/dist/webquark/p-fe8c634a.entry.js +13 -0
- package/dist/webquark/p-fec6fe0a.entry.js +1 -0
- package/dist/webquark/webquark.css +1 -0
- package/dist/webquark/webquark.esm.js +1 -0
- package/package.json +78 -4
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/** Canonical theme dimensions. Rem values assume a 16px root font. */
|
|
4
|
+
const spaces = { none: 0, xs: 4, sm: 8, md: 12, lg: 16, xl: 24, '2xl': 32, '3xl': 48 };
|
|
5
|
+
const controls = {
|
|
6
|
+
sm: { height: 28, font: 12, line: 16, padding: 8, icon: 14, radius: 5.5 },
|
|
7
|
+
md: { height: 36, font: 14, line: 20, padding: 12, icon: 16, radius: 7 },
|
|
8
|
+
lg: { height: 44, font: 16, line: 24, padding: 16, icon: 20, radius: 8.5 },
|
|
9
|
+
};
|
|
10
|
+
const rem = (pixels) => `${pixels / 16}rem`;
|
|
11
|
+
const dimensionTokens = [
|
|
12
|
+
...Object.entries(spaces).map(([key, value]) => ({ name: `--q-space-${key}`, value: rem(value), label: `Space ${key}` })),
|
|
13
|
+
...Object.entries(controls).flatMap(([size, metrics]) => Object.entries(metrics).map(([key, value]) => ({
|
|
14
|
+
name: `--q-control-${key}-${size}`, value: rem(value), label: `${size} control ${key}`,
|
|
15
|
+
}))),
|
|
16
|
+
];
|
|
17
|
+
function spaceValue(value) {
|
|
18
|
+
return `var(--q-space-${value}, ${rem(spaces[value] ?? spaces.lg)})`;
|
|
19
|
+
}
|
|
20
|
+
/** Only scope owners publish context metrics; leaf controls never change them. */
|
|
21
|
+
function controlScope(size) {
|
|
22
|
+
// Carry size intent, rather than resolved lengths, through nested preset boundaries.
|
|
23
|
+
return { ...Object.fromEntries(Object.keys(controls).map(key => [
|
|
24
|
+
`--_q-context-size-${key}`,
|
|
25
|
+
size === 'inherit' ? '' : size === key ? '1' : '0',
|
|
26
|
+
])), ...Object.fromEntries(Object.keys(controls.md).map(metric => [
|
|
27
|
+
`--q-context-control-${metric}`, size === 'inherit' ? '' : 'initial',
|
|
28
|
+
])) };
|
|
29
|
+
}
|
|
30
|
+
/** Resolve roles at the component, not at :root, to respect scoped palettes. */
|
|
31
|
+
function surfaceValue(surface) {
|
|
32
|
+
const defaults = {
|
|
33
|
+
canvas: 'var(--q-bg-base, #0b0f19)',
|
|
34
|
+
panel: 'var(--q-bg-surface-1, #111827)',
|
|
35
|
+
card: 'var(--q-bg-surface-2, #19243b)',
|
|
36
|
+
field: 'var(--q-bg-surface-3, #22304d)',
|
|
37
|
+
floating: 'var(--q-bg-surface-4, #2c3a58)',
|
|
38
|
+
transparent: 'transparent',
|
|
39
|
+
};
|
|
40
|
+
return surface === 'transparent' ? 'transparent' : `var(--q-bg-${surface}, ${defaults[surface]})`;
|
|
41
|
+
}
|
|
42
|
+
const themeGroups = [
|
|
43
|
+
{
|
|
44
|
+
"category": "Colors",
|
|
45
|
+
"tokens": [
|
|
46
|
+
{
|
|
47
|
+
"name": "--q-color-primary",
|
|
48
|
+
"value": "#60a5fa",
|
|
49
|
+
"light": "#3b82f6",
|
|
50
|
+
"dark": "#60a5fa"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "--q-color-primary-hover",
|
|
54
|
+
"value": "#93c5fd",
|
|
55
|
+
"light": "#2563eb",
|
|
56
|
+
"dark": "#93c5fd"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "--q-color-secondary",
|
|
60
|
+
"value": "#9777ea",
|
|
61
|
+
"light": "#7c3aed",
|
|
62
|
+
"dark": "#9777ea"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "--q-color-success",
|
|
66
|
+
"value": "#34d399",
|
|
67
|
+
"light": "#10b981",
|
|
68
|
+
"dark": "#34d399"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "--q-color-warning",
|
|
72
|
+
"value": "#fbbf24",
|
|
73
|
+
"light": "#f59e0b",
|
|
74
|
+
"dark": "#fbbf24"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "--q-color-danger",
|
|
78
|
+
"value": "#f87171",
|
|
79
|
+
"light": "#ef4444",
|
|
80
|
+
"dark": "#f87171"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"category": "Hierarchical Surfaces & Backgrounds",
|
|
86
|
+
"tokens": [
|
|
87
|
+
{
|
|
88
|
+
"name": "--q-bg-base",
|
|
89
|
+
"value": "#0b0f19",
|
|
90
|
+
"light": "#ffffff",
|
|
91
|
+
"dark": "#0b0f19"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "--q-bg-surface-1",
|
|
95
|
+
"value": "#111827",
|
|
96
|
+
"light": "#f0f3f9",
|
|
97
|
+
"dark": "#111827"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "--q-bg-surface-2",
|
|
101
|
+
"value": "#19243b",
|
|
102
|
+
"light": "#dee5f2",
|
|
103
|
+
"dark": "#19243b"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "--q-bg-surface-3",
|
|
107
|
+
"value": "#22304d",
|
|
108
|
+
"light": "#c7d1e6",
|
|
109
|
+
"dark": "#22304d"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "--q-bg-surface-4",
|
|
113
|
+
"value": "#2c3a58",
|
|
114
|
+
"light": "#aab8d5",
|
|
115
|
+
"dark": "#2c3a58"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "--q-bg-surface-5",
|
|
119
|
+
"value": "#374761",
|
|
120
|
+
"light": "#8b9dc1",
|
|
121
|
+
"dark": "#374761"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "--q-bg-glass",
|
|
125
|
+
"value": "rgba(25, 36, 59, 0.85)",
|
|
126
|
+
"light": "rgba(255, 255, 255, 0.85)",
|
|
127
|
+
"dark": "rgba(25, 36, 59, 0.85)"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "--q-bg-overlay",
|
|
131
|
+
"value": "rgba(0, 0, 0, 0.85)",
|
|
132
|
+
"light": "rgba(0, 0, 0, 0.6)",
|
|
133
|
+
"dark": "rgba(0, 0, 0, 0.85)"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "--q-fg-base",
|
|
137
|
+
"value": "#f9fafb",
|
|
138
|
+
"light": "#1f2937",
|
|
139
|
+
"dark": "#f9fafb"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "--q-fg-muted",
|
|
143
|
+
"value": "#9ca3af",
|
|
144
|
+
"light": "#4b5563",
|
|
145
|
+
"dark": "#9ca3af"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "--q-border-color",
|
|
149
|
+
"value": "#374151",
|
|
150
|
+
"light": "#e5e7eb",
|
|
151
|
+
"dark": "#374151"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"category": "Shadows & OSR-safe glass surfaces",
|
|
157
|
+
"tokens": [
|
|
158
|
+
{
|
|
159
|
+
"name": "--q-dialog-backdrop-bg",
|
|
160
|
+
"value": "var(--q-bg-overlay, rgba(0, 0, 0, 0.85))"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "--q-dialog-backdrop-solid-bg",
|
|
164
|
+
"value": "var(--q-bg-overlay, rgba(0, 0, 0, 0.85))"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "--q-shadow-low",
|
|
168
|
+
"value": "0 2px 4px rgba(0, 0, 0, 0.2)",
|
|
169
|
+
"light": "0 2px 4px rgba(0, 0, 0, 0.05)",
|
|
170
|
+
"dark": "0 2px 4px rgba(0, 0, 0, 0.2)"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "--q-shadow-medium",
|
|
174
|
+
"value": "0 8px 16px rgba(0, 0, 0, 0.3)",
|
|
175
|
+
"light": "0 8px 16px rgba(0, 0, 0, 0.08)",
|
|
176
|
+
"dark": "0 8px 16px rgba(0, 0, 0, 0.3)"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "--q-shadow-high",
|
|
180
|
+
"value": "0 16px 32px rgba(0, 0, 0, 0.45)",
|
|
181
|
+
"light": "0 16px 32px rgba(0, 0, 0, 0.12)",
|
|
182
|
+
"dark": "0 16px 32px rgba(0, 0, 0, 0.45)"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "--q-glow-interactive",
|
|
186
|
+
"value": "0 0 20px rgba(96, 165, 250, 0.3)",
|
|
187
|
+
"light": "0 0 20px rgba(59, 130, 246, 0.3)",
|
|
188
|
+
"dark": "0 0 20px rgba(96, 165, 250, 0.3)"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"category": "Borders & Outlines",
|
|
194
|
+
"tokens": [
|
|
195
|
+
{
|
|
196
|
+
"name": "--q-border-width",
|
|
197
|
+
"value": "1px"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "--q-border",
|
|
201
|
+
"value": "var(--q-border-width) solid var(--q-border-color)"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "--q-focus-ring",
|
|
205
|
+
"value": "2px solid var(--q-color-primary)"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"category": "Typography",
|
|
211
|
+
"tokens": [
|
|
212
|
+
{
|
|
213
|
+
"name": "--q-font-family",
|
|
214
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "--q-font-size-sm",
|
|
218
|
+
"value": "0.7rem"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "--q-font-size-base",
|
|
222
|
+
"value": "0.9rem"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "--q-font-size-lg",
|
|
226
|
+
"value": "1rem"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "--q-font-weight-normal",
|
|
230
|
+
"value": "400"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "--q-font-weight-bold",
|
|
234
|
+
"value": "600"
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"category": "Spacing & Radii",
|
|
240
|
+
"tokens": [
|
|
241
|
+
{
|
|
242
|
+
"name": "--q-radius-sm",
|
|
243
|
+
"value": "4px"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "--q-radius-md",
|
|
247
|
+
"value": "7px"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "--q-radius-lg",
|
|
251
|
+
"value": "11px"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "--q-padding-sm",
|
|
255
|
+
"value": "var(--q-space-sm, .5rem)"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "--q-padding-md",
|
|
259
|
+
"value": "var(--q-space-md, .75rem)"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "--q-padding-lg",
|
|
263
|
+
"value": "var(--q-space-lg, 1rem)"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"category": "Transitions",
|
|
269
|
+
"tokens": [
|
|
270
|
+
{
|
|
271
|
+
"name": "--q-transition-fast",
|
|
272
|
+
"value": "150ms ease"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "--q-transition-normal",
|
|
276
|
+
"value": "250ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "--q-transition-slow",
|
|
280
|
+
"value": "400ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"category": "Z-index",
|
|
286
|
+
"tokens": [
|
|
287
|
+
{
|
|
288
|
+
"name": "--q-z-index-overlay",
|
|
289
|
+
"value": "1000"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "--q-z-index-popover",
|
|
293
|
+
"value": "1100"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "--q-z-index-toast",
|
|
297
|
+
"value": "1200"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"category": "Global Animation Base",
|
|
303
|
+
"tokens": [
|
|
304
|
+
{
|
|
305
|
+
"name": "--q-hover-transform",
|
|
306
|
+
"value": "translateY(-4px) scale(1.02)"
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"category": "Theme-aware hover overlays (automatically flips in light mode)",
|
|
312
|
+
"tokens": [
|
|
313
|
+
{
|
|
314
|
+
"name": "--q-btn-hover-overlay",
|
|
315
|
+
"value": "color-mix(in srgb, var(--q-fg-base) 8%, transparent)"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"category": "Card (q-card)",
|
|
321
|
+
"tokens": [
|
|
322
|
+
{
|
|
323
|
+
"name": "--q-card-border",
|
|
324
|
+
"value": "var(--q-border)"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "--q-card-hover-transform",
|
|
328
|
+
"value": "var(--q-hover-transform)"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "--q-card-transition-duration",
|
|
332
|
+
"value": "var(--q-transition-normal)"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"category": "Step Diagram (q-step-diagram / q-step-diagram-item)",
|
|
338
|
+
"tokens": [
|
|
339
|
+
{
|
|
340
|
+
"name": "--q-step-diag-line",
|
|
341
|
+
"value": "2px solid var(--q-border-color)"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "--q-step-diag-border",
|
|
345
|
+
"value": "var(--q-border)"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "--q-step-diag-icon-size",
|
|
349
|
+
"value": "32px"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "--q-step-diag-item-gap",
|
|
353
|
+
"value": "24px"
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"category": "Media Reel & Thumbnail (q-reel / q-thumbnail)",
|
|
359
|
+
"tokens": [
|
|
360
|
+
{
|
|
361
|
+
"name": "--q-thumb-aspect-ratio",
|
|
362
|
+
"value": "16 / 9"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "--q-thumb-border",
|
|
366
|
+
"value": "2px solid var(--q-thumb-border-color)"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "--q-thumb-hover-transform",
|
|
370
|
+
"value": "var(--q-hover-transform)"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "--q-thumb-overlay-bg",
|
|
374
|
+
"value": "rgba(0, 0, 0, 0.4)"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "--q-thumb-radius",
|
|
378
|
+
"value": "var(--q-radius-md)"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "--q-thumb-border-color",
|
|
382
|
+
"value": "transparent"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "--q-thumb-glow",
|
|
386
|
+
"value": "var(--q-glow-interactive)"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "--q-reel-gap",
|
|
390
|
+
"value": "12px"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "--q-reel-columns-desktop",
|
|
394
|
+
"value": "repeat(auto-fill, minmax(200px, 1fr))"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "--q-reel-columns-mobile",
|
|
398
|
+
"value": "1fr"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "--q-lightbox-max-size",
|
|
402
|
+
"value": "90vh"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "--q-reel-lightbox-btn-bg",
|
|
406
|
+
"value": "rgba(0, 0, 0, 0.5)"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "--q-reel-lightbox-btn-border",
|
|
410
|
+
"value": "1px solid rgba(255, 255, 255, 0.2)"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "--q-reel-lightbox-btn-color",
|
|
414
|
+
"value": "#ffffff"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "--q-reel-lightbox-btn-hover-bg",
|
|
418
|
+
"value": "rgba(255, 255, 255, 0.2)"
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"category": "Avatar (q-avatar)",
|
|
424
|
+
"tokens": [
|
|
425
|
+
{
|
|
426
|
+
"name": "--q-avatar-size-sm",
|
|
427
|
+
"value": "28px"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "--q-avatar-size-md",
|
|
431
|
+
"value": "40px"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "--q-avatar-size-lg",
|
|
435
|
+
"value": "56px"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "--q-avatar-bg",
|
|
439
|
+
"value": "var(--q-bg-surface-3)"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "--q-avatar-fg",
|
|
443
|
+
"value": "var(--q-fg-base)"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "--q-avatar-border",
|
|
447
|
+
"value": "var(--q-border)"
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"category": "Conversation bubble (q-conversation-bubble)",
|
|
453
|
+
"tokens": [
|
|
454
|
+
{
|
|
455
|
+
"name": "--q-conversation-incoming-bg",
|
|
456
|
+
"value": "var(--q-bg-surface-2)"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "--q-conversation-outgoing-bg",
|
|
460
|
+
"value": "var(--q-color-primary)"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "--q-conversation-outgoing-fg",
|
|
464
|
+
"value": "#ffffff"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "--q-conversation-system-bg",
|
|
468
|
+
"value": "transparent"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "--q-conversation-system-fg",
|
|
472
|
+
"value": "var(--q-fg-muted)"
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"category": "Carousel (q-carousel)",
|
|
478
|
+
"tokens": [
|
|
479
|
+
{
|
|
480
|
+
"name": "--q-carousel-gap",
|
|
481
|
+
"value": "16px"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "--q-carousel-padding",
|
|
485
|
+
"value": "24px 20px"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "--q-carousel-arrow-bg",
|
|
489
|
+
"value": "var(--q-bg-overlay)"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "--q-carousel-arrow-border",
|
|
493
|
+
"value": "var(--q-border)"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "--q-carousel-arrow-color",
|
|
497
|
+
"value": "#ffffff"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "--q-carousel-arrow-size",
|
|
501
|
+
"value": "40px"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "--q-carousel-indicator-gap",
|
|
505
|
+
"value": "8px"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "--q-carousel-indicator-size",
|
|
509
|
+
"value": "6px"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"category": "Progress (q-progress)",
|
|
515
|
+
"tokens": [
|
|
516
|
+
{
|
|
517
|
+
"name": "--q-progress-transition",
|
|
518
|
+
"value": "var(--q-transition-normal)"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "--q-progress-indeterminate-duration",
|
|
522
|
+
"value": "1.4s"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "--q-progress-linear-height-sm",
|
|
526
|
+
"value": "4px"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "--q-progress-linear-height-md",
|
|
530
|
+
"value": "6px"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "--q-progress-linear-height-lg",
|
|
534
|
+
"value": "8px"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "--q-progress-linear-radius",
|
|
538
|
+
"value": "999px"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "--q-progress-circular-size-sm",
|
|
542
|
+
"value": "64px"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "--q-progress-circular-size-md",
|
|
546
|
+
"value": "120px"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "--q-progress-circular-size-lg",
|
|
550
|
+
"value": "180px"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "--q-progress-circular-stroke-width-sm",
|
|
554
|
+
"value": "6px"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "--q-progress-circular-stroke-width-md",
|
|
558
|
+
"value": "8px"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "--q-progress-circular-stroke-width-lg",
|
|
562
|
+
"value": "10px"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "--q-progress-circular-linecap",
|
|
566
|
+
"value": "round"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "--q-progress-circular-font-weight",
|
|
570
|
+
"value": "var(--q-font-weight-bold)"
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"category": "Button (q-button)",
|
|
576
|
+
"tokens": [
|
|
577
|
+
{
|
|
578
|
+
"name": "--q-btn-font-weight",
|
|
579
|
+
"value": "var(--q-font-weight-bold)"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "--q-btn-active-transform",
|
|
583
|
+
"value": "scale(0.97)"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "--q-btn-transition",
|
|
587
|
+
"value": "all 150ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "--q-btn-icon-padding-sm",
|
|
591
|
+
"value": "4px"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "--q-btn-icon-padding-md",
|
|
595
|
+
"value": "6px"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "--q-btn-icon-padding-lg",
|
|
599
|
+
"value": "9px"
|
|
600
|
+
}
|
|
601
|
+
]
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"category": "Chip (q-chip)",
|
|
605
|
+
"tokens": [
|
|
606
|
+
{
|
|
607
|
+
"name": "--q-chip-radius",
|
|
608
|
+
"value": "999px"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "--q-chip-border",
|
|
612
|
+
"value": "var(--q-border)"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "--q-chip-font-weight",
|
|
616
|
+
"value": "var(--q-font-weight-bold)"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "--q-chip-padding-sm",
|
|
620
|
+
"value": "4px 9px"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "--q-chip-padding-md",
|
|
624
|
+
"value": "6px 11px"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "--q-chip-padding-lg",
|
|
628
|
+
"value": "8px 14px"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "--q-chip-height-sm",
|
|
632
|
+
"value": "24px"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "--q-chip-height-md",
|
|
636
|
+
"value": "30px"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "--q-chip-height-lg",
|
|
640
|
+
"value": "36px"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "--q-chip-active-transform",
|
|
644
|
+
"value": "scale(0.97)"
|
|
645
|
+
}
|
|
646
|
+
]
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"category": "Unified Form Field Variables (Borders & Radius Consistency)",
|
|
650
|
+
"tokens": [
|
|
651
|
+
{
|
|
652
|
+
"name": "--q-field-border",
|
|
653
|
+
"value": "var(--q-border)"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "--q-field-border-color-focus",
|
|
657
|
+
"value": "var(--q-color-primary)"
|
|
658
|
+
}
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"category": "Input & Textarea (q-input / q-textarea) mapped to unified field tokens",
|
|
663
|
+
"tokens": [
|
|
664
|
+
{
|
|
665
|
+
"name": "--q-input-border",
|
|
666
|
+
"value": "var(--q-field-border)"
|
|
667
|
+
}
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"category": "Dropdown (q-dropdown) mapped to unified field tokens",
|
|
672
|
+
"tokens": [
|
|
673
|
+
{
|
|
674
|
+
"name": "--q-dropdown-border",
|
|
675
|
+
"value": "var(--q-field-border)"
|
|
676
|
+
}
|
|
677
|
+
]
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"category": "Panel (q-panel)",
|
|
681
|
+
"tokens": [
|
|
682
|
+
{
|
|
683
|
+
"name": "--q-panel-border",
|
|
684
|
+
"value": "var(--q-border)"
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"category": "Sidepanel (q-sidepanel)",
|
|
690
|
+
"tokens": [
|
|
691
|
+
{
|
|
692
|
+
"name": "--q-sidepanel-bg",
|
|
693
|
+
"value": "var(--q-bg-surface-1)",
|
|
694
|
+
"light": "var(--q-bg-surface-1)",
|
|
695
|
+
"dark": "var(--q-bg-surface-1)"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "--q-sidepanel-border",
|
|
699
|
+
"value": "var(--q-border)"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "--q-sidepanel-shadow",
|
|
703
|
+
"value": "var(--q-shadow-high)"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "--q-sidepanel-panel-width",
|
|
707
|
+
"value": "320px"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "--q-sidepanel-panel-padding",
|
|
711
|
+
"value": "var(--q-padding-lg)"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "--q-sidepanel-panel-header-padding",
|
|
715
|
+
"value": "var(--q-padding-lg)"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "--q-sidepanel-panel-footer-padding",
|
|
719
|
+
"value": "var(--q-padding-lg)"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "--q-sidepanel-panel-section-border",
|
|
723
|
+
"value": "var(--q-border)"
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"category": "Map (q-map)",
|
|
729
|
+
"tokens": [
|
|
730
|
+
{
|
|
731
|
+
"name": "--q-map-height",
|
|
732
|
+
"value": "100%"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "--q-map-min-height",
|
|
736
|
+
"value": "240px"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "--q-map-bg",
|
|
740
|
+
"value": "var(--q-bg-surface-1)"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "--q-map-border",
|
|
744
|
+
"value": "var(--q-border)"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "--q-map-radius",
|
|
748
|
+
"value": "var(--q-radius-lg)"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "--q-map-marker-size",
|
|
752
|
+
"value": "20px"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "--q-map-marker-size-small",
|
|
756
|
+
"value": "16px"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "--q-map-marker-size-medium",
|
|
760
|
+
"value": "var(--q-map-marker-size)"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "--q-map-marker-size-large",
|
|
764
|
+
"value": "24px"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "--q-map-marker-color",
|
|
768
|
+
"value": "var(--q-color-primary)"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "--q-map-marker-success",
|
|
772
|
+
"value": "var(--q-color-success)"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "--q-map-marker-warning",
|
|
776
|
+
"value": "var(--q-color-warning)"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "--q-map-marker-danger",
|
|
780
|
+
"value": "var(--q-color-danger)"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"name": "--q-map-marker-muted",
|
|
784
|
+
"value": "var(--q-fg-muted)"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "--q-map-marker-selected-color",
|
|
788
|
+
"value": "var(--q-fg-base)"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "--q-map-marker-selected-shadow",
|
|
792
|
+
"value": "var(--q-shadow-medium)"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "--q-map-attribution-bg",
|
|
796
|
+
"value": "var(--q-bg-base)"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"name": "--q-map-attribution-color",
|
|
800
|
+
"value": "var(--q-fg-muted)"
|
|
801
|
+
}
|
|
802
|
+
]
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"category": "Scrollbars",
|
|
806
|
+
"tokens": [
|
|
807
|
+
{
|
|
808
|
+
"name": "--q-scrollbar-width",
|
|
809
|
+
"value": "6px"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "--q-scrollbar-width-thin",
|
|
813
|
+
"value": "thin"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "--q-scrollbar-track-color",
|
|
817
|
+
"value": "transparent"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "--q-scrollbar-thumb-color",
|
|
821
|
+
"value": "var(--q-border-color, #374151)"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "--q-scrollbar-thumb-color-hover",
|
|
825
|
+
"value": "var(--q-color-primary, #60a5fa)"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "--q-scrollbar-radius",
|
|
829
|
+
"value": "var(--q-radius-sm, 4px)"
|
|
830
|
+
}
|
|
831
|
+
]
|
|
832
|
+
}
|
|
833
|
+
];
|
|
834
|
+
/** Comfortable overrides for the existing density tokens. Compact values stay in their canonical catalog above. */
|
|
835
|
+
const comfortablePreset = {
|
|
836
|
+
'--q-space-none': '0rem', '--q-space-xs': '0.375rem', '--q-space-sm': '0.75rem',
|
|
837
|
+
'--q-space-md': '1rem', '--q-space-lg': '1.5rem', '--q-space-xl': '2rem',
|
|
838
|
+
'--q-space-2xl': '3rem', '--q-space-3xl': '4rem',
|
|
839
|
+
'--q-control-height-sm': '2.25rem', '--q-control-font-sm': '0.875rem',
|
|
840
|
+
'--q-control-line-sm': '1.25rem', '--q-control-padding-sm': '0.75rem', '--q-control-icon-sm': '1rem',
|
|
841
|
+
'--q-control-height-md': '2.75rem', '--q-control-font-md': '1rem',
|
|
842
|
+
'--q-control-line-md': '1.5rem', '--q-control-padding-md': '1rem', '--q-control-icon-md': '1.25rem',
|
|
843
|
+
'--q-control-height-lg': '3.25rem', '--q-control-font-lg': '1.125rem',
|
|
844
|
+
'--q-control-line-lg': '1.75rem', '--q-control-padding-lg': '1.25rem', '--q-control-icon-lg': '1.5rem',
|
|
845
|
+
'--q-font-size-sm': '0.875rem', '--q-font-size-base': '1.125rem', '--q-font-size-lg': '1.5rem',
|
|
846
|
+
'--q-padding-sm': 'var(--q-space-sm, .75rem)', '--q-padding-md': 'var(--q-space-md, 1rem)',
|
|
847
|
+
'--q-padding-lg': 'var(--q-space-lg, 1.5rem)',
|
|
848
|
+
'--q-step-diag-icon-size': '40px', '--q-step-diag-item-gap': '32px', '--q-reel-gap': '24px',
|
|
849
|
+
'--q-avatar-size-sm': '32px', '--q-avatar-size-md': '48px', '--q-avatar-size-lg': '64px',
|
|
850
|
+
'--q-carousel-gap': '24px', '--q-carousel-padding': '32px 24px', '--q-carousel-arrow-size': '44px',
|
|
851
|
+
'--q-carousel-indicator-gap': '12px', '--q-carousel-indicator-size': '8px',
|
|
852
|
+
'--q-progress-linear-height-sm': '6px', '--q-progress-linear-height-md': '8px', '--q-progress-linear-height-lg': '10px',
|
|
853
|
+
'--q-progress-circular-size-sm': '80px', '--q-progress-circular-size-md': '144px', '--q-progress-circular-size-lg': '200px',
|
|
854
|
+
'--q-progress-circular-stroke-width-sm': '8px', '--q-progress-circular-stroke-width-md': '10px', '--q-progress-circular-stroke-width-lg': '12px',
|
|
855
|
+
'--q-btn-icon-padding-sm': '6px', '--q-btn-icon-padding-md': '8px', '--q-btn-icon-padding-lg': '12px',
|
|
856
|
+
'--q-chip-padding-sm': '6px 12px', '--q-chip-padding-md': '8px 16px', '--q-chip-padding-lg': '10px 20px',
|
|
857
|
+
'--q-chip-height-sm': '32px', '--q-chip-height-md': '40px', '--q-chip-height-lg': '48px',
|
|
858
|
+
'--q-sidepanel-panel-padding': 'var(--q-padding-lg)',
|
|
859
|
+
'--q-sidepanel-panel-header-padding': 'var(--q-padding-lg)', '--q-sidepanel-panel-footer-padding': 'var(--q-padding-lg)',
|
|
860
|
+
'--q-map-marker-size': '24px', '--q-map-marker-size-small': '20px',
|
|
861
|
+
'--q-map-marker-size-medium': 'var(--q-map-marker-size)', '--q-map-marker-size-large': '28px',
|
|
862
|
+
};
|
|
863
|
+
/** New reading roles. Compact preserves the existing native-client text conventions. */
|
|
864
|
+
const semanticPresetTokens = {
|
|
865
|
+
'--q-text-body-size': { compact: 'var(--q-font-size-base)', comfortable: 'var(--q-font-size-base)' },
|
|
866
|
+
'--q-text-body-line-height': { compact: '1.5', comfortable: '1.6' },
|
|
867
|
+
'--q-text-small-size': { compact: 'var(--q-font-size-sm)', comfortable: 'var(--q-font-size-sm)' },
|
|
868
|
+
'--q-text-small-line-height': { compact: '1.5', comfortable: '1.5' },
|
|
869
|
+
'--q-heading-display-size': { compact: 'var(--q-font-size-lg)', comfortable: 'clamp(2.5rem, 1.75rem + 3vw, 4rem)' },
|
|
870
|
+
'--q-heading-display-line-height': { compact: '1.3', comfortable: '1.1' },
|
|
871
|
+
'--q-heading-1-size': { compact: 'var(--q-font-size-lg)', comfortable: 'clamp(27px, 1.5rem + 2vw, 36px)' },
|
|
872
|
+
'--q-heading-2-size': {
|
|
873
|
+
compact: 'var(--q-font-size-lg)',
|
|
874
|
+
comfortable: 'clamp(1.4rem, 1.1rem + 1.2vw, 2rem)',
|
|
875
|
+
},
|
|
876
|
+
'--q-heading-3-size': {
|
|
877
|
+
compact: 'var(--q-font-size-lg)',
|
|
878
|
+
comfortable: 'clamp(1.265625rem, 1.0546875rem + 0.84375vw, 1.6875rem)',
|
|
879
|
+
},
|
|
880
|
+
'--q-heading-4-size': {
|
|
881
|
+
compact: 'var(--q-font-size-lg)',
|
|
882
|
+
comfortable: '1.25rem',
|
|
883
|
+
},
|
|
884
|
+
'--q-heading-5-size': { compact: 'var(--q-font-size-lg)', comfortable: '1.25rem' },
|
|
885
|
+
'--q-heading-6-size': { compact: 'var(--q-font-size-lg)', comfortable: '1.125rem' },
|
|
886
|
+
...Object.fromEntries([1, 2, 3, 4, 5, 6].map(level => [
|
|
887
|
+
`--q-heading-${level}-line-height`, { compact: '1.3', comfortable: level <= 2 ? '1.2' : '1.3' },
|
|
888
|
+
])),
|
|
889
|
+
'--q-content-paragraph-gap': { compact: 'var(--q-padding-lg)', comfortable: '1.5rem' },
|
|
890
|
+
'--q-content-heading-gap': { compact: 'var(--q-padding-lg)', comfortable: '1.5rem' },
|
|
891
|
+
'--q-content-section-gap': { compact: 'var(--q-space-2xl)', comfortable: 'clamp(3rem, 2rem + 4vw, 6rem)' },
|
|
892
|
+
'--q-content-padding': { compact: 'var(--q-padding-lg)', comfortable: 'clamp(1.5rem, 1rem + 2vw, 3rem)' },
|
|
893
|
+
'--q-field-text-size': { compact: '.75rem', comfortable: '.875rem' },
|
|
894
|
+
'--q-field-text-line': { compact: '1rem', comfortable: '1.25rem' },
|
|
895
|
+
};
|
|
896
|
+
const componentPresetTokens = {
|
|
897
|
+
'--q-toolbar-height': { compact: '0px', comfortable: '72px' },
|
|
898
|
+
'--q-toolbar-compact-height': { compact: '0px', comfortable: '60px' },
|
|
899
|
+
'--q-font-size-xs': { compact: '0.7rem', comfortable: '0.8125rem' },
|
|
900
|
+
'--q-font-size-2xs': { compact: '0.625rem', comfortable: '0.75rem' },
|
|
901
|
+
'--q-btn-circle-size': { compact: '120px', comfortable: '144px' },
|
|
902
|
+
'--q-btn-circle-padding': { compact: '12px', comfortable: '16px' },
|
|
903
|
+
'--q-table-toolbar-padding-block': { compact: '12px', comfortable: '16px' },
|
|
904
|
+
'--q-table-toolbar-padding-inline': { compact: '16px', comfortable: '24px' },
|
|
905
|
+
'--q-bar-edge-padding': { compact: '24px', comfortable: '32px' },
|
|
906
|
+
'--q-bar-edge-compact-padding': { compact: '16px', comfortable: '24px' },
|
|
907
|
+
'--q-table-cell-padding-block': { compact: '4.5px', comfortable: '10px' },
|
|
908
|
+
'--q-table-cell-padding-inline': { compact: '8px', comfortable: '14px' },
|
|
909
|
+
'--q-dropdown-option-padding': { compact: '10px 14px', comfortable: '12px 18px' },
|
|
910
|
+
'--q-tooltip-padding': { compact: '6px 10px', comfortable: '8px 14px' },
|
|
911
|
+
'--q-syntax-padding': { compact: '16px', comfortable: '24px' },
|
|
912
|
+
'--q-syntax-compact-padding': { compact: '10px', comfortable: '16px' },
|
|
913
|
+
'--q-syntax-header-padding': { compact: '4px 16px', comfortable: '8px 24px' },
|
|
914
|
+
'--q-sidepanel-nav-font': { compact: '0.875rem', comfortable: '1rem' },
|
|
915
|
+
'--q-sidepanel-nav-small-font': { compact: '0.75rem', comfortable: '0.875rem' },
|
|
916
|
+
'--q-sidepanel-nav-badge-font': { compact: '0.65rem', comfortable: '0.75rem' },
|
|
917
|
+
'--q-navbar-item-height': { compact: '36px', comfortable: '44px' },
|
|
918
|
+
'--q-navbar-gap': { compact: '20px', comfortable: '28px' },
|
|
919
|
+
'--q-navbar-height': { compact: '64px', comfortable: '72px' },
|
|
920
|
+
'--q-navbar-compact-height': { compact: '52px', comfortable: '60px' },
|
|
921
|
+
'--q-navbar-logo-size': { compact: '32px', comfortable: '40px' },
|
|
922
|
+
'--q-navbar-brand-size': { compact: '1rem', comfortable: '1.25rem' },
|
|
923
|
+
'--q-navbar-nav-gap': { compact: '6px', comfortable: '10px' },
|
|
924
|
+
'--q-navbar-action-gap': { compact: '8px', comfortable: '12px' },
|
|
925
|
+
'--q-navbar-item-gap': { compact: '8px', comfortable: '12px' },
|
|
926
|
+
'--q-navbar-item-padding': { compact: '7px 10px', comfortable: '10px 14px' },
|
|
927
|
+
'--q-navbar-item-size': { compact: '0.9rem', comfortable: '1rem' },
|
|
928
|
+
'--q-navbar-item-icon-only-size': { compact: '40px', comfortable: '44px' },
|
|
929
|
+
'--q-navbar-item-icon-only-padding': { compact: '8px', comfortable: '10px' },
|
|
930
|
+
'--q-navbar-mobile-panel-padding': { compact: '8px 16px 16px', comfortable: '12px 24px 24px' },
|
|
931
|
+
'--q-avatar-font-size': { compact: '0.8rem', comfortable: '1rem' },
|
|
932
|
+
'--q-avatar-font-size-sm': { compact: '0.65rem', comfortable: '0.75rem' },
|
|
933
|
+
'--q-avatar-font-size-lg': { compact: '1rem', comfortable: '1.25rem' },
|
|
934
|
+
'--q-conversation-gap': { compact: '10px', comfortable: '16px' },
|
|
935
|
+
'--q-conversation-header-gap': { compact: '4px', comfortable: '6px' },
|
|
936
|
+
'--q-conversation-header-inset': { compact: '4px', comfortable: '6px' },
|
|
937
|
+
'--q-conversation-padding': { compact: '11px 13px', comfortable: '16px 20px' },
|
|
938
|
+
'--q-conversation-footer-gap': { compact: '10px', comfortable: '16px' },
|
|
939
|
+
'--q-conversation-footer-margin': { compact: '6px', comfortable: '10px' },
|
|
940
|
+
'--q-conversation-meta-gap': { compact: '6px', comfortable: '10px' },
|
|
941
|
+
'--q-conversation-compact-padding': { compact: '7px 10px', comfortable: '10px 14px' },
|
|
942
|
+
'--q-alert-padding': { compact: '12px 14px', comfortable: '16px 20px' },
|
|
943
|
+
'--q-alert-gap': { compact: '10px', comfortable: '16px' },
|
|
944
|
+
'--q-alert-actions-gap': { compact: '8px', comfortable: '12px' },
|
|
945
|
+
'--q-pagination-button-height': { compact: '30px', comfortable: '44px' },
|
|
946
|
+
'--q-pagination-button-padding': { compact: '5px 8px', comfortable: '8px 12px' },
|
|
947
|
+
};
|
|
948
|
+
Object.entries(comfortablePreset).map(([name, comfortable]) => {
|
|
949
|
+
const token = [...dimensionTokens, ...themeGroups.flatMap(group => group.tokens)].find(token => token.name === name);
|
|
950
|
+
if (!token)
|
|
951
|
+
throw new Error(`Preset token has no compact default: ${name}`);
|
|
952
|
+
return { name, compact: token.value, comfortable };
|
|
953
|
+
}).concat(Object.entries({ ...semanticPresetTokens, ...componentPresetTokens }).map(([name, values]) => ({ name, ...values })));
|
|
954
|
+
|
|
955
|
+
exports.controlScope = controlScope;
|
|
956
|
+
exports.spaceValue = spaceValue;
|
|
957
|
+
exports.surfaceValue = surfaceValue;
|