@webquark/core 1.1.0-dev.4 → 1.1.0-dev.6
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/README.md +41 -9
- package/dist/cjs/{action.props-CkEZpMY6.js → action.props-CtwTiyf6.js} +1 -1
- package/dist/cjs/field-CiEtk37y.js +14 -0
- package/dist/cjs/{index-B7ex88C2.js → index-BLlc_shC.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q-accordion.cjs.entry.js +18 -0
- package/dist/cjs/q-alert.cjs.entry.js +1 -1
- package/dist/cjs/q-avatar.cjs.entry.js +6 -6
- package/dist/cjs/q-banner.cjs.entry.js +19 -0
- package/dist/cjs/q-button_2.cjs.entry.js +7 -7
- package/dist/cjs/q-card.cjs.entry.js +17 -6
- package/dist/cjs/q-carousel.cjs.entry.js +3 -3
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +6 -6
- package/dist/cjs/q-data-table.cjs.entry.js +4 -4
- package/dist/cjs/q-dialog.cjs.entry.js +22 -8
- package/dist/cjs/q-dropdown.cjs.entry.js +50 -6
- package/dist/cjs/q-form.cjs.entry.js +11 -5
- package/dist/cjs/q-grid.cjs.entry.js +24 -0
- package/dist/cjs/q-icon.cjs.entry.js +16 -6
- package/dist/cjs/q-inline.cjs.entry.js +22 -0
- package/dist/cjs/q-input_2.cjs.entry.js +14 -7
- package/dist/cjs/q-link.cjs.entry.js +5 -5
- package/dist/cjs/q-map.cjs.entry.js +2 -2
- package/dist/cjs/q-media.cjs.entry.js +21 -0
- package/dist/cjs/q-navbar.cjs.entry.js +229 -8
- package/dist/cjs/q-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q-panel.cjs.entry.js +17 -8
- package/dist/cjs/q-quantity-selector.cjs.entry.js +15 -8
- package/dist/cjs/q-radio-group.cjs.entry.js +14 -7
- package/dist/cjs/q-reel.cjs.entry.js +3 -3
- package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
- package/dist/cjs/q-section.cjs.entry.js +20 -0
- package/dist/cjs/q-sidepanel.cjs.entry.js +14 -7
- package/dist/cjs/q-stack.cjs.entry.js +20 -0
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +7 -4
- package/dist/cjs/q-step-diagram.cjs.entry.js +21 -11
- package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
- package/dist/cjs/q-tabs.cjs.entry.js +3 -3
- package/dist/cjs/q-textarea.cjs.entry.js +61 -7
- package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
- package/dist/cjs/q-toast.cjs.entry.js +3 -3
- package/dist/cjs/q-toggle.cjs.entry.js +14 -6
- package/dist/cjs/q-toolbar.cjs.entry.js +8 -4
- package/dist/cjs/tokens-DGECOqpA.js +42 -0
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +16 -9
- package/dist/collection/components/actions/button/button.css +55 -4
- package/dist/collection/components/actions/button/button.js +4 -4
- package/dist/collection/components/actions/link/link.js +8 -5
- package/dist/collection/components/{data-display → communication}/alert/alert.js +2 -2
- package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.js +40 -40
- package/dist/collection/components/{overlays → communication}/toast/test/toast.cmp.test.js +1 -1
- package/dist/collection/components/{overlays → communication}/toast/toast.js +14 -14
- package/dist/collection/components/content/banner/banner.css +1 -0
- package/dist/collection/components/content/banner/banner.js +84 -0
- package/dist/collection/components/{layout → content}/card/card.css +12 -0
- package/dist/collection/components/content/card/card.js +308 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.js +4 -4
- 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/{actions → data-display}/chip/chip.js +5 -5
- package/dist/collection/components/data-display/data-table/data-table.js +3 -3
- package/dist/collection/components/data-display/map/map.js +1 -1
- package/dist/collection/components/data-display/pagination/pagination.js +1 -1
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +50 -11
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.css +7 -7
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +36 -4
- package/dist/collection/components/inputs/dropdown/dropdown.css +77 -34
- package/dist/collection/components/inputs/dropdown/dropdown.js +202 -6
- package/dist/collection/components/inputs/form/form.css +85 -0
- package/dist/collection/components/{layout → inputs}/form/form.js +105 -13
- package/dist/collection/components/inputs/form/form.types.js +1 -0
- package/dist/collection/components/inputs/input/input.css +78 -62
- package/dist/collection/components/inputs/input/input.js +77 -9
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +43 -3
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +70 -7
- package/dist/collection/components/inputs/radio-group/radio-group.css +77 -30
- package/dist/collection/components/inputs/radio-group/radio-group.js +77 -9
- package/dist/collection/components/inputs/textarea/textarea.css +85 -1
- package/dist/collection/components/inputs/textarea/textarea.js +149 -7
- package/dist/collection/components/inputs/toggle/toggle.css +80 -48
- package/dist/collection/components/inputs/toggle/toggle.js +72 -6
- 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 +119 -0
- package/dist/collection/components/layout/navbar/navbar.js +310 -9
- package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +317 -1
- package/dist/collection/components/layout/panel/panel.css +13 -12
- package/dist/collection/components/layout/panel/panel.js +139 -10
- package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
- 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/nav-items.js +1 -1
- package/dist/collection/components/layout/sidepanel/sidepanel.js +90 -10
- 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.js +2 -2
- package/dist/collection/components/layout/toolbar/toolbar.css +24 -1
- package/dist/collection/components/layout/toolbar/toolbar.js +81 -3
- package/dist/collection/components/media/avatar/avatar.js +43 -43
- package/dist/collection/components/media/icon/icon.js +79 -18
- 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.js +2 -2
- package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/overlays/dialog/dialog.css +16 -0
- package/dist/collection/components/overlays/dialog/dialog.js +144 -14
- package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
- 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 +1 -1
- package/dist/collection/playground/components/playground-event-log/playground-event-log.js +1 -1
- package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +5 -3
- package/dist/collection/playground/components/theme-designer/theme-designer.js +13 -35
- package/dist/collection/playground/components/theme-designer/token-row.js +26 -7
- package/dist/collection/playground/playground.bundled.js +846 -34
- package/dist/collection/theme/test/foundation.cmp.test.js +347 -0
- package/dist/collection/theme/tokens.js +828 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-0PieXMX9.js +1 -0
- package/dist/components/p-BOYjkCNa.js +1 -0
- package/dist/components/p-Bw4TVbfm.js +1 -0
- package/dist/components/{p-7oXL29Gu.js → p-BxFGkrUe.js} +1 -1
- package/dist/components/{p-CQofbR9q.js → p-CK7avZdv.js} +1 -1
- package/dist/components/p-Cx1vCuMp.js +1 -0
- package/dist/components/{p-Czf3kP0S.js → p-D0Q2vrt5.js} +1 -1
- package/dist/components/p-GU98U1DJ.js +1 -0
- package/dist/components/{p-C8fq-feq.js → p-NEolaUak.js} +1 -1
- package/dist/components/p-f95uguY1.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.js +1 -1
- package/dist/components/q-avatar.js +1 -1
- package/dist/components/q-banner.d.ts +11 -0
- package/dist/components/q-banner.js +1 -0
- package/dist/components/q-button.js +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-chip.js +1 -1
- package/dist/components/q-conversation-bubble.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.d.ts +11 -0
- package/dist/components/q-grid.js +1 -0
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-inline.d.ts +11 -0
- package/dist/components/q-inline.js +1 -0
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-link.js +1 -1
- package/dist/components/q-map.js +1 -1
- package/dist/components/q-media.d.ts +11 -0
- package/dist/components/q-media.js +1 -0
- package/dist/components/q-navbar.js +1 -1
- package/dist/components/q-pagination.js +1 -1
- package/dist/components/q-panel.js +1 -1
- package/dist/components/q-progress.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-radio-group.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-section.d.ts +11 -0
- package/dist/components/q-section.js +1 -0
- package/dist/components/q-sidepanel.js +3 -3
- package/dist/components/q-stack.d.ts +11 -0
- package/dist/components/q-stack.js +1 -0
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +2 -2
- package/dist/components/q-tabs.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.js +1 -1
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/{action.props-CJoxGHR7.js → action.props-GP1ameE3.js} +1 -1
- package/dist/esm/field-DkpyvZiX.js +11 -0
- package/dist/esm/{index-VFWyFa-_.js → index-DbGG9Q40.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/q-accordion.entry.js +16 -0
- package/dist/esm/q-alert.entry.js +1 -1
- package/dist/esm/q-avatar.entry.js +6 -6
- package/dist/esm/q-banner.entry.js +17 -0
- package/dist/esm/q-button_2.entry.js +7 -7
- package/dist/esm/q-card.entry.js +17 -6
- package/dist/esm/q-carousel.entry.js +3 -3
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-conversation-bubble.entry.js +6 -6
- package/dist/esm/q-data-table.entry.js +4 -4
- package/dist/esm/q-dialog.entry.js +22 -8
- package/dist/esm/q-dropdown.entry.js +50 -6
- package/dist/esm/q-form.entry.js +11 -5
- package/dist/esm/q-grid.entry.js +22 -0
- package/dist/esm/q-icon.entry.js +16 -6
- package/dist/esm/q-inline.entry.js +20 -0
- package/dist/esm/q-input_2.entry.js +14 -7
- package/dist/esm/q-link.entry.js +5 -5
- package/dist/esm/q-map.entry.js +2 -2
- package/dist/esm/q-media.entry.js +19 -0
- package/dist/esm/q-navbar.entry.js +229 -8
- package/dist/esm/q-pagination.entry.js +2 -2
- package/dist/esm/q-panel.entry.js +17 -8
- package/dist/esm/q-quantity-selector.entry.js +15 -8
- package/dist/esm/q-radio-group.entry.js +14 -7
- package/dist/esm/q-reel.entry.js +3 -3
- package/dist/esm/q-scrollable.entry.js +4 -4
- package/dist/esm/q-section.entry.js +18 -0
- package/dist/esm/q-sidepanel.entry.js +14 -7
- package/dist/esm/q-stack.entry.js +18 -0
- package/dist/esm/q-step-diagram-item.entry.js +7 -4
- package/dist/esm/q-step-diagram.entry.js +21 -11
- package/dist/esm/q-syntax-box.entry.js +1 -1
- package/dist/esm/q-tabs.entry.js +3 -3
- package/dist/esm/q-textarea.entry.js +61 -7
- package/dist/esm/q-thumbnail.entry.js +3 -3
- package/dist/esm/q-toast.entry.js +3 -3
- package/dist/esm/q-toggle.entry.js +14 -6
- package/dist/esm/q-toolbar.entry.js +8 -4
- package/dist/esm/tokens-f95uguY1.js +38 -0
- package/dist/esm/webquark.js +3 -3
- package/dist/playground/build/p-0aea8464.entry.js +1 -0
- package/dist/playground/build/p-0aecd9b1.entry.js +1 -0
- package/dist/playground/build/p-0d98e500.entry.js +1 -0
- package/dist/playground/build/p-139fec38.entry.js +1 -0
- package/dist/{webquark/p-0053ec76.entry.js → playground/build/p-15502232.entry.js} +1 -1
- package/dist/playground/build/p-17340abf.entry.js +1 -0
- package/dist/playground/build/p-303dcac8.entry.js +1 -0
- package/dist/playground/build/p-408bf48a.entry.js +1 -0
- package/dist/playground/build/p-47253466.entry.js +1 -0
- package/dist/playground/build/p-5f6860f2.entry.js +13 -0
- package/dist/playground/build/p-6b619655.entry.js +1 -0
- package/dist/playground/build/p-6b63922b.entry.js +1 -0
- package/dist/playground/build/p-71e3d582.entry.js +1 -0
- package/dist/playground/build/p-737ca99e.entry.js +1 -0
- package/dist/playground/build/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
- package/dist/playground/build/p-8115ec23.entry.js +1 -0
- package/dist/playground/build/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
- package/dist/playground/build/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
- package/dist/playground/build/p-9418caa0.entry.js +1 -0
- package/dist/playground/build/p-96ef2b54.entry.js +1 -0
- package/dist/playground/build/p-97dae970.entry.js +1 -0
- package/dist/{webquark/p-b5066051.entry.js → playground/build/p-989bdc1a.entry.js} +1 -1
- package/dist/playground/build/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
- package/dist/playground/build/p-DbGG9Q40.js +3 -0
- package/dist/playground/build/p-JgeOdXyP.js +1 -0
- package/dist/playground/build/p-a4b36120.entry.js +1 -0
- package/dist/playground/build/p-abf54361.entry.js +1 -0
- package/dist/playground/build/p-aed4b219.entry.js +1 -0
- package/dist/playground/build/p-b3a07d94.entry.js +1 -0
- package/dist/{webquark/p-8077aa3f.entry.js → playground/build/p-b465aebd.entry.js} +1 -1
- package/dist/playground/build/p-c1f3dca6.entry.js +1 -0
- package/dist/playground/build/p-c4899c2b.entry.js +1 -0
- package/dist/{webquark/p-1c9a82b8.entry.js → playground/build/p-c4fd89b8.entry.js} +1 -1
- package/dist/playground/build/p-cf8f7f2a.entry.js +1 -0
- package/dist/playground/build/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
- package/dist/{webquark/p-6c0bc4b9.entry.js → playground/build/p-d7d436c5.entry.js} +1 -1
- package/dist/playground/build/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
- package/dist/{webquark/p-8ec7d250.entry.js → playground/build/p-eb71e335.entry.js} +1 -1
- package/dist/playground/build/p-ecbc0fee.entry.js +1 -0
- package/dist/{webquark/p-d837603c.entry.js → playground/build/p-ed327679.entry.js} +1 -1
- package/dist/{webquark/p-e0e6b68f.entry.js → playground/build/p-f911c90f.entry.js} +1 -1
- package/dist/playground/build/p-f95uguY1.js +1 -0
- package/dist/{webquark/p-13329777.entry.js → playground/build/p-ff1e2363.entry.js} +1 -1
- package/dist/playground/build/webquark.css +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/playground/components.manifest.json +40 -35
- package/dist/playground/playground/specs/q-button.sandbox.json +3 -2
- package/dist/playground/playground/specs/q-card.sandbox.json +37 -3
- package/dist/playground/playground/specs/q-dialog.sandbox.json +16 -6
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +12 -2
- package/dist/playground/playground/specs/q-form.sandbox.json +88 -10
- package/dist/playground/playground/specs/q-grid.sandbox.json +56 -0
- package/dist/playground/playground/specs/q-icon.sandbox.json +11 -11
- package/dist/playground/playground/specs/q-inline.sandbox.json +60 -0
- package/dist/playground/playground/specs/q-input.sandbox.json +12 -2
- package/dist/playground/playground/specs/q-navbar.sandbox.json +11 -3
- package/dist/playground/playground/specs/q-panel.sandbox.json +138 -17
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +13 -2
- package/dist/playground/playground/specs/q-radio-group.sandbox.json +46 -10
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +7 -7
- package/dist/playground/playground/specs/q-stack.sandbox.json +56 -0
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +5 -5
- package/dist/playground/playground/specs/q-textarea.sandbox.json +20 -0
- package/dist/playground/playground/specs/q-toggle.sandbox.json +12 -2
- package/dist/playground/playground/specs/q-toolbar.sandbox.json +99 -14
- package/dist/playground/playground.js +846 -34
- package/dist/types/components/actions/button/button.types.d.ts +2 -1
- package/dist/types/components/actions/link/link.d.ts +1 -1
- 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/content/banner/banner.d.ts +12 -0
- package/dist/types/components/content/banner/banner.types.d.ts +2 -0
- package/dist/types/components/{layout → content}/card/card.d.ts +11 -0
- package/dist/types/components/content/card/card.types.d.ts +1 -0
- package/dist/types/components/{layout → content}/card/card.utils.d.ts +1 -1
- 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/indicators/step-diagram/step-diagram.d.ts +6 -3
- package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +3 -1
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +4 -2
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +3 -1
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +13 -0
- package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +2 -1
- package/dist/types/components/{layout → inputs}/form/form.d.ts +6 -0
- package/dist/types/components/inputs/input/input.d.ts +7 -1
- package/dist/types/components/inputs/input/input.types.d.ts +2 -1
- package/dist/types/components/inputs/quantity-selector/quantity-selector.d.ts +6 -1
- package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +3 -1
- package/dist/types/components/inputs/radio-group/radio-group.d.ts +7 -1
- package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +2 -1
- package/dist/types/components/inputs/textarea/textarea.d.ts +16 -1
- package/dist/types/components/inputs/toggle/toggle.d.ts +6 -0
- package/dist/types/components/inputs/toggle/toggle.types.d.ts +2 -1
- 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 +29 -1
- package/dist/types/components/layout/navbar/navbar.types.d.ts +2 -0
- package/dist/types/components/layout/panel/panel.d.ts +8 -0
- package/dist/types/components/layout/panel/panel.types.d.ts +2 -1
- 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/sidepanel.d.ts +7 -0
- package/dist/types/components/layout/stack/stack.d.ts +10 -0
- package/dist/types/components/layout/toolbar/toolbar.d.ts +4 -0
- package/dist/types/components/media/avatar/avatar.d.ts +4 -4
- package/dist/types/components/media/icon/icon.d.ts +7 -3
- 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/overlays/dialog/dialog.d.ts +14 -2
- 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 +911 -68
- package/dist/types/index.d.ts +8 -3
- package/dist/types/playground/components/theme-designer/token-row.d.ts +2 -1
- 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/tokens.d.ts +63 -0
- package/dist/webquark/p-0aea8464.entry.js +1 -0
- package/dist/webquark/p-0aecd9b1.entry.js +1 -0
- package/dist/webquark/p-0d98e500.entry.js +1 -0
- package/dist/webquark/p-139fec38.entry.js +1 -0
- package/dist/{playground/build/p-0053ec76.entry.js → webquark/p-15502232.entry.js} +1 -1
- package/dist/webquark/p-17340abf.entry.js +1 -0
- package/dist/webquark/p-303dcac8.entry.js +1 -0
- package/dist/webquark/p-408bf48a.entry.js +1 -0
- package/dist/webquark/p-47253466.entry.js +1 -0
- package/dist/webquark/p-5f6860f2.entry.js +13 -0
- package/dist/webquark/p-6b619655.entry.js +1 -0
- package/dist/webquark/p-6b63922b.entry.js +1 -0
- package/dist/webquark/p-71e3d582.entry.js +1 -0
- package/dist/webquark/p-737ca99e.entry.js +1 -0
- package/dist/webquark/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
- package/dist/webquark/p-8115ec23.entry.js +1 -0
- package/dist/webquark/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
- package/dist/webquark/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
- package/dist/webquark/p-9418caa0.entry.js +1 -0
- package/dist/webquark/p-96ef2b54.entry.js +1 -0
- package/dist/webquark/p-97dae970.entry.js +1 -0
- package/dist/{playground/build/p-b5066051.entry.js → webquark/p-989bdc1a.entry.js} +1 -1
- package/dist/webquark/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
- package/dist/webquark/p-DbGG9Q40.js +3 -0
- package/dist/webquark/p-JgeOdXyP.js +1 -0
- package/dist/webquark/p-a4b36120.entry.js +1 -0
- package/dist/webquark/p-abf54361.entry.js +1 -0
- package/dist/webquark/p-aed4b219.entry.js +1 -0
- package/dist/webquark/p-b3a07d94.entry.js +1 -0
- package/dist/{playground/build/p-8077aa3f.entry.js → webquark/p-b465aebd.entry.js} +1 -1
- package/dist/webquark/p-c1f3dca6.entry.js +1 -0
- package/dist/webquark/p-c4899c2b.entry.js +1 -0
- package/dist/{playground/build/p-1c9a82b8.entry.js → webquark/p-c4fd89b8.entry.js} +1 -1
- package/dist/webquark/p-cf8f7f2a.entry.js +1 -0
- package/dist/webquark/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
- package/dist/{playground/build/p-6c0bc4b9.entry.js → webquark/p-d7d436c5.entry.js} +1 -1
- package/dist/webquark/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
- package/dist/{playground/build/p-8ec7d250.entry.js → webquark/p-eb71e335.entry.js} +1 -1
- package/dist/webquark/p-ecbc0fee.entry.js +1 -0
- package/dist/{playground/build/p-d837603c.entry.js → webquark/p-ed327679.entry.js} +1 -1
- package/dist/{playground/build/p-e0e6b68f.entry.js → webquark/p-f911c90f.entry.js} +1 -1
- package/dist/webquark/p-f95uguY1.js +1 -0
- package/dist/{playground/build/p-13329777.entry.js → webquark/p-ff1e2363.entry.js} +1 -1
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +68 -5
- package/scripts/wq-switch/README.md +141 -0
- package/scripts/wq-switch/dist/index.js +543 -0
- package/scripts/wq-switch/dist/setup.js +349 -0
- package/dist/collection/components/layout/card/card.js +0 -168
- package/dist/collection/components/layout/form/form.css +0 -49
- package/dist/components/p-BygmcFxM.js +0 -1
- package/dist/components/p-CVtof65h.js +0 -1
- package/dist/components/p-I81wUKud.js +0 -1
- package/dist/components/p-vv3X99Ji.js +0 -1
- package/dist/playground/build/p-0363c0e6.entry.js +0 -1
- package/dist/playground/build/p-0e3dbe01.entry.js +0 -1
- package/dist/playground/build/p-226c2f79.entry.js +0 -13
- package/dist/playground/build/p-38b92be6.entry.js +0 -1
- package/dist/playground/build/p-42831108.entry.js +0 -1
- package/dist/playground/build/p-50ca27f7.entry.js +0 -1
- package/dist/playground/build/p-5c08aa94.entry.js +0 -1
- package/dist/playground/build/p-611ef3e0.entry.js +0 -1
- package/dist/playground/build/p-684292dd.entry.js +0 -1
- package/dist/playground/build/p-7081c96b.entry.js +0 -1
- package/dist/playground/build/p-789eb3c9.entry.js +0 -1
- package/dist/playground/build/p-8d0aa5a7.entry.js +0 -1
- package/dist/playground/build/p-9978ae38.entry.js +0 -1
- package/dist/playground/build/p-VFWyFa-_.js +0 -3
- package/dist/playground/build/p-b99541cd.entry.js +0 -1
- package/dist/playground/build/p-ca1a1d25.entry.js +0 -1
- package/dist/playground/build/p-e15e6d76.entry.js +0 -1
- package/dist/playground/build/p-e272dd45.entry.js +0 -1
- package/dist/playground/build/p-e8003179.entry.js +0 -1
- package/dist/types/components/layout/card/card.types.d.ts +0 -1
- package/dist/types/components/overlays/toast/test/toast.cmp.test.d.ts +0 -2
- package/dist/webquark/p-0363c0e6.entry.js +0 -1
- package/dist/webquark/p-0e3dbe01.entry.js +0 -1
- package/dist/webquark/p-226c2f79.entry.js +0 -13
- package/dist/webquark/p-38b92be6.entry.js +0 -1
- package/dist/webquark/p-42831108.entry.js +0 -1
- package/dist/webquark/p-50ca27f7.entry.js +0 -1
- package/dist/webquark/p-5c08aa94.entry.js +0 -1
- package/dist/webquark/p-611ef3e0.entry.js +0 -1
- package/dist/webquark/p-684292dd.entry.js +0 -1
- package/dist/webquark/p-7081c96b.entry.js +0 -1
- package/dist/webquark/p-789eb3c9.entry.js +0 -1
- package/dist/webquark/p-8d0aa5a7.entry.js +0 -1
- package/dist/webquark/p-9978ae38.entry.js +0 -1
- package/dist/webquark/p-VFWyFa-_.js +0 -3
- package/dist/webquark/p-b99541cd.entry.js +0 -1
- package/dist/webquark/p-ca1a1d25.entry.js +0 -1
- package/dist/webquark/p-e15e6d76.entry.js +0 -1
- package/dist/webquark/p-e272dd45.entry.js +0 -1
- package/dist/webquark/p-e8003179.entry.js +0 -1
- package/dist/collection/components/{data-display → communication}/alert/alert.css +0 -0
- package/dist/collection/components/{data-display → communication}/alert/alert.types.js +0 -0
- package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.css +0 -0
- package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/internals/icons.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/internals/queue.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/internals/timers.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/test/toast.unit.test.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/toast-controller.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/toast.css +0 -0
- package/dist/collection/components/{overlays → communication}/toast/toast.types.js +0 -0
- package/dist/collection/components/{actions/chip/chip.types.js → content/banner/banner.types.js} +0 -0
- package/dist/collection/components/{layout → content}/card/card.types.js +0 -0
- package/dist/collection/components/{layout → content}/card/card.utils.js +0 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.css +0 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.types.js +0 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.utils.js +0 -0
- package/dist/collection/components/{layout → content}/carousel/internals/metrics.js +0 -0
- package/dist/collection/components/{layout/form/form.types.js → data-display/accordion/accordion.types.js} +0 -0
- package/dist/collection/components/{actions → data-display}/chip/chip.css +0 -0
- package/dist/{types/components/overlays/toast/test/toast.unit.test.d.ts → collection/components/data-display/chip/chip.types.js} +0 -0
- package/dist/collection/components/{layout → inputs}/form/internals/controls.js +0 -0
- package/dist/collection/components/{layout → inputs}/form/internals/enter-behavior.js +0 -0
- package/dist/collection/components/{layout → inputs}/form/internals/values.js +0 -0
- package/dist/collection/components/{layout → inputs}/form/test/form.cmp.test.js +0 -0
- package/dist/types/components/{data-display → communication}/alert/alert.d.ts +0 -0
- package/dist/types/components/{data-display → communication}/alert/alert.types.d.ts +0 -0
- package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.d.ts +3 -3
- /package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/internals/icons.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/internals/queue.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/internals/timers.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/toast-controller.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/toast.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/toast.types.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/carousel.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/carousel.types.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/carousel.utils.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/internals/metrics.d.ts +0 -0
- /package/dist/types/components/{actions → data-display}/chip/chip.d.ts +0 -0
- /package/dist/types/components/{actions → data-display}/chip/chip.types.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/form.types.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/internals/controls.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/internals/enter-behavior.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/internals/values.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/test/form.cmp.test.d.ts +0 -0
|
@@ -508,9 +508,11 @@ playground-sidebar q-sidepanel {
|
|
|
508
508
|
// src/playground/components/playground-sidebar/playground-sidebar.tsx
|
|
509
509
|
var CATEGORY_LABELS = {
|
|
510
510
|
actions: "Actions",
|
|
511
|
-
|
|
511
|
+
communication: "Communication",
|
|
512
|
+
content: "Content",
|
|
513
|
+
"data-display": "Data display",
|
|
514
|
+
inputs: "Forms & inputs",
|
|
512
515
|
indicators: "Indicators",
|
|
513
|
-
inputs: "Inputs",
|
|
514
516
|
layout: "Layout",
|
|
515
517
|
media: "Media",
|
|
516
518
|
overlays: "Overlays"
|
|
@@ -547,7 +549,7 @@ class PlaygroundSidebar extends HTMLElement {
|
|
|
547
549
|
onClick: () => activeComponent.set("global-styling")
|
|
548
550
|
}, /* @__PURE__ */ h("q-icon", {
|
|
549
551
|
name: "globe",
|
|
550
|
-
|
|
552
|
+
library: "lucide",
|
|
551
553
|
size: "16"
|
|
552
554
|
}), /* @__PURE__ */ h("span", null, "Global Styling")))));
|
|
553
555
|
const styleId = "playground-sidebar-style";
|
|
@@ -1770,7 +1772,7 @@ class PlaygroundEventLog extends HTMLElement {
|
|
|
1770
1772
|
onClick: () => this.clearLog()
|
|
1771
1773
|
}, /* @__PURE__ */ h("q-icon", {
|
|
1772
1774
|
slot: "icon-left",
|
|
1773
|
-
|
|
1775
|
+
library: "local",
|
|
1774
1776
|
name: "trash-2",
|
|
1775
1777
|
size: "sm"
|
|
1776
1778
|
}), /* @__PURE__ */ h("q-tooltip", {
|
|
@@ -2459,10 +2461,18 @@ customElements.define("properties-panel", PropertiesPanel);
|
|
|
2459
2461
|
// src/playground/components/theme-designer/token-row.tsx
|
|
2460
2462
|
class TokenRow extends HTMLElement {
|
|
2461
2463
|
token;
|
|
2464
|
+
pixelValue(value) {
|
|
2465
|
+
const rootSize = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
2466
|
+
return (parseFloat(value) || 0) * (value.endsWith("rem") ? rootSize : 1);
|
|
2467
|
+
}
|
|
2462
2468
|
syncValue() {
|
|
2463
2469
|
const computedStyle = window.getComputedStyle(document.documentElement);
|
|
2464
2470
|
const val = computedStyle.getPropertyValue(this.token.name).trim();
|
|
2465
|
-
if (this.token.type === "
|
|
2471
|
+
if (this.token.type === "text") {
|
|
2472
|
+
const input = this.querySelector(".token-text-input");
|
|
2473
|
+
if (input)
|
|
2474
|
+
input.value = val;
|
|
2475
|
+
} else if (this.token.type === "color") {
|
|
2466
2476
|
const hexVal = convertToHex(val);
|
|
2467
2477
|
const picker = this.querySelector(".color-swatch-picker");
|
|
2468
2478
|
const textInput = this.querySelector(".color-text-input");
|
|
@@ -2470,8 +2480,8 @@ class TokenRow extends HTMLElement {
|
|
|
2470
2480
|
picker.value = hexVal;
|
|
2471
2481
|
if (textInput)
|
|
2472
2482
|
textInput.value = hexVal;
|
|
2473
|
-
} else
|
|
2474
|
-
const numVal =
|
|
2483
|
+
} else {
|
|
2484
|
+
const numVal = this.pixelValue(val);
|
|
2475
2485
|
const slider = this.querySelector(".range-slider-input");
|
|
2476
2486
|
const display = this.querySelector(".range-slider-value");
|
|
2477
2487
|
if (slider)
|
|
@@ -2488,7 +2498,21 @@ class TokenRow extends HTMLElement {
|
|
|
2488
2498
|
const computedStyle = window.getComputedStyle(document.documentElement);
|
|
2489
2499
|
const val = computedStyle.getPropertyValue(this.token.name).trim();
|
|
2490
2500
|
let control;
|
|
2491
|
-
if (this.token.type === "
|
|
2501
|
+
if (this.token.type === "text") {
|
|
2502
|
+
control = /* @__PURE__ */ h("input", {
|
|
2503
|
+
type: "text",
|
|
2504
|
+
class: "color-text-input token-text-input",
|
|
2505
|
+
"aria-label": this.token.label,
|
|
2506
|
+
value: val,
|
|
2507
|
+
onChange: (event) => {
|
|
2508
|
+
const value = event.target.value.trim();
|
|
2509
|
+
if (value)
|
|
2510
|
+
document.documentElement.style.setProperty(this.token.name, value);
|
|
2511
|
+
else
|
|
2512
|
+
document.documentElement.style.removeProperty(this.token.name);
|
|
2513
|
+
}
|
|
2514
|
+
});
|
|
2515
|
+
} else if (this.token.type === "color") {
|
|
2492
2516
|
const hexVal = convertToHex(val);
|
|
2493
2517
|
const picker = /* @__PURE__ */ h("input", {
|
|
2494
2518
|
type: "color",
|
|
@@ -2525,13 +2549,14 @@ class TokenRow extends HTMLElement {
|
|
|
2525
2549
|
class: "color-picker-wrapper"
|
|
2526
2550
|
}, picker), textInput);
|
|
2527
2551
|
} else {
|
|
2528
|
-
const numVal =
|
|
2552
|
+
const numVal = this.pixelValue(val);
|
|
2529
2553
|
const valDisplay = /* @__PURE__ */ h("span", {
|
|
2530
2554
|
class: "range-slider-value",
|
|
2531
2555
|
"data-token": this.token.name
|
|
2532
2556
|
}, numVal, "px");
|
|
2533
2557
|
const slider = /* @__PURE__ */ h("input", {
|
|
2534
2558
|
type: "range",
|
|
2559
|
+
step: "0.5",
|
|
2535
2560
|
class: "range-slider-input",
|
|
2536
2561
|
min: String(this.token.min ?? 0),
|
|
2537
2562
|
max: String(this.token.max ?? 40),
|
|
@@ -2540,7 +2565,8 @@ class TokenRow extends HTMLElement {
|
|
|
2540
2565
|
onInput: (e) => {
|
|
2541
2566
|
const target = e.target;
|
|
2542
2567
|
valDisplay.innerText = `${target.value}px`;
|
|
2543
|
-
document.documentElement.
|
|
2568
|
+
const rootSize = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
2569
|
+
document.documentElement.style.setProperty(this.token.name, this.token.type === "dimension" ? `${Number(target.value) / rootSize}rem` : `${target.value}px`);
|
|
2544
2570
|
}
|
|
2545
2571
|
});
|
|
2546
2572
|
control = /* @__PURE__ */ h("div", {
|
|
@@ -2778,46 +2804,832 @@ var theme_designer_default = `.theme-designer-container {
|
|
|
2778
2804
|
}
|
|
2779
2805
|
`;
|
|
2780
2806
|
|
|
2781
|
-
// src/
|
|
2782
|
-
var
|
|
2807
|
+
// src/theme/tokens.ts
|
|
2808
|
+
var spaces = { none: 0, xs: 4, sm: 8, md: 12, lg: 16, xl: 24, "2xl": 32, "3xl": 48 };
|
|
2809
|
+
var controls = {
|
|
2810
|
+
sm: { height: 28, font: 12, line: 16, padding: 8, icon: 14, radius: 5.5 },
|
|
2811
|
+
md: { height: 36, font: 14, line: 20, padding: 12, icon: 16, radius: 7 },
|
|
2812
|
+
lg: { height: 44, font: 16, line: 24, padding: 16, icon: 20, radius: 8.5 }
|
|
2813
|
+
};
|
|
2814
|
+
var rem = (pixels) => `${pixels / 16}rem`;
|
|
2815
|
+
var dimensionTokens = [
|
|
2816
|
+
...Object.entries(spaces).map(([key, value]) => ({ name: `--q-space-${key}`, value: rem(value), label: `Space ${key}` })),
|
|
2817
|
+
...Object.entries(controls).flatMap(([size, metrics]) => Object.entries(metrics).map(([key, value]) => ({
|
|
2818
|
+
name: `--q-control-${key}-${size}`,
|
|
2819
|
+
value: rem(value),
|
|
2820
|
+
label: `${size} control ${key}`
|
|
2821
|
+
})))
|
|
2822
|
+
];
|
|
2823
|
+
var themeGroups = [
|
|
2783
2824
|
{
|
|
2784
|
-
category: "
|
|
2825
|
+
category: "Colors",
|
|
2785
2826
|
tokens: [
|
|
2786
|
-
{
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2827
|
+
{
|
|
2828
|
+
name: "--q-color-primary",
|
|
2829
|
+
value: "#60a5fa",
|
|
2830
|
+
light: "#3b82f6",
|
|
2831
|
+
dark: "#60a5fa"
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
name: "--q-color-primary-hover",
|
|
2835
|
+
value: "#93c5fd",
|
|
2836
|
+
light: "#2563eb",
|
|
2837
|
+
dark: "#93c5fd"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
name: "--q-color-secondary",
|
|
2841
|
+
value: "#9777ea",
|
|
2842
|
+
light: "#7c3aed",
|
|
2843
|
+
dark: "#9777ea"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
name: "--q-color-success",
|
|
2847
|
+
value: "#34d399",
|
|
2848
|
+
light: "#10b981",
|
|
2849
|
+
dark: "#34d399"
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
name: "--q-color-warning",
|
|
2853
|
+
value: "#fbbf24",
|
|
2854
|
+
light: "#f59e0b",
|
|
2855
|
+
dark: "#fbbf24"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
name: "--q-color-danger",
|
|
2859
|
+
value: "#f87171",
|
|
2860
|
+
light: "#ef4444",
|
|
2861
|
+
dark: "#f87171"
|
|
2862
|
+
}
|
|
2863
|
+
]
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
category: "Hierarchical Surfaces & Backgrounds",
|
|
2867
|
+
tokens: [
|
|
2868
|
+
{
|
|
2869
|
+
name: "--q-bg-base",
|
|
2870
|
+
value: "#0b0f19",
|
|
2871
|
+
light: "#ffffff",
|
|
2872
|
+
dark: "#0b0f19"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
name: "--q-bg-surface-1",
|
|
2876
|
+
value: "#111827",
|
|
2877
|
+
light: "#f0f3f9",
|
|
2878
|
+
dark: "#111827"
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
name: "--q-bg-surface-2",
|
|
2882
|
+
value: "#19243b",
|
|
2883
|
+
light: "#dee5f2",
|
|
2884
|
+
dark: "#19243b"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
name: "--q-bg-surface-3",
|
|
2888
|
+
value: "#22304d",
|
|
2889
|
+
light: "#c7d1e6",
|
|
2890
|
+
dark: "#22304d"
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
name: "--q-bg-surface-4",
|
|
2894
|
+
value: "#2c3a58",
|
|
2895
|
+
light: "#aab8d5",
|
|
2896
|
+
dark: "#2c3a58"
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
name: "--q-bg-surface-5",
|
|
2900
|
+
value: "#374761",
|
|
2901
|
+
light: "#8b9dc1",
|
|
2902
|
+
dark: "#374761"
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
name: "--q-bg-glass",
|
|
2906
|
+
value: "rgba(25, 36, 59, 0.85)",
|
|
2907
|
+
light: "rgba(255, 255, 255, 0.85)",
|
|
2908
|
+
dark: "rgba(25, 36, 59, 0.85)"
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
name: "--q-bg-overlay",
|
|
2912
|
+
value: "rgba(0, 0, 0, 0.85)",
|
|
2913
|
+
light: "rgba(0, 0, 0, 0.6)",
|
|
2914
|
+
dark: "rgba(0, 0, 0, 0.85)"
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
name: "--q-fg-base",
|
|
2918
|
+
value: "#f9fafb",
|
|
2919
|
+
light: "#1f2937",
|
|
2920
|
+
dark: "#f9fafb"
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
name: "--q-fg-muted",
|
|
2924
|
+
value: "#9ca3af",
|
|
2925
|
+
light: "#4b5563",
|
|
2926
|
+
dark: "#9ca3af"
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
name: "--q-border-color",
|
|
2930
|
+
value: "#374151",
|
|
2931
|
+
light: "#e5e7eb",
|
|
2932
|
+
dark: "#374151"
|
|
2933
|
+
}
|
|
2792
2934
|
]
|
|
2793
2935
|
},
|
|
2794
2936
|
{
|
|
2795
|
-
category: "
|
|
2937
|
+
category: "Shadows & OSR-safe glass surfaces",
|
|
2796
2938
|
tokens: [
|
|
2797
|
-
{
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
{
|
|
2802
|
-
|
|
2939
|
+
{
|
|
2940
|
+
name: "--q-dialog-backdrop-bg",
|
|
2941
|
+
value: "var(--q-bg-overlay, rgba(0, 0, 0, 0.85))"
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
name: "--q-dialog-backdrop-solid-bg",
|
|
2945
|
+
value: "var(--q-bg-overlay, rgba(0, 0, 0, 0.85))"
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
name: "--q-shadow-low",
|
|
2949
|
+
value: "0 2px 4px rgba(0, 0, 0, 0.2)",
|
|
2950
|
+
light: "0 2px 4px rgba(0, 0, 0, 0.05)",
|
|
2951
|
+
dark: "0 2px 4px rgba(0, 0, 0, 0.2)"
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
name: "--q-shadow-medium",
|
|
2955
|
+
value: "0 8px 16px rgba(0, 0, 0, 0.3)",
|
|
2956
|
+
light: "0 8px 16px rgba(0, 0, 0, 0.08)",
|
|
2957
|
+
dark: "0 8px 16px rgba(0, 0, 0, 0.3)"
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
name: "--q-shadow-high",
|
|
2961
|
+
value: "0 16px 32px rgba(0, 0, 0, 0.45)",
|
|
2962
|
+
light: "0 16px 32px rgba(0, 0, 0, 0.12)",
|
|
2963
|
+
dark: "0 16px 32px rgba(0, 0, 0, 0.45)"
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
name: "--q-glow-interactive",
|
|
2967
|
+
value: "0 0 20px rgba(96, 165, 250, 0.3)",
|
|
2968
|
+
light: "0 0 20px rgba(59, 130, 246, 0.3)",
|
|
2969
|
+
dark: "0 0 20px rgba(96, 165, 250, 0.3)"
|
|
2970
|
+
}
|
|
2803
2971
|
]
|
|
2804
2972
|
},
|
|
2805
2973
|
{
|
|
2806
2974
|
category: "Borders & Outlines",
|
|
2807
2975
|
tokens: [
|
|
2808
|
-
{
|
|
2976
|
+
{
|
|
2977
|
+
name: "--q-border-width",
|
|
2978
|
+
value: "1px"
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
name: "--q-border",
|
|
2982
|
+
value: "var(--q-border-width) solid var(--q-border-color)"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
name: "--q-focus-ring",
|
|
2986
|
+
value: "2px solid var(--q-color-primary)"
|
|
2987
|
+
}
|
|
2809
2988
|
]
|
|
2810
2989
|
},
|
|
2811
2990
|
{
|
|
2812
|
-
category: "
|
|
2991
|
+
category: "Typography",
|
|
2813
2992
|
tokens: [
|
|
2814
|
-
{
|
|
2815
|
-
|
|
2816
|
-
|
|
2993
|
+
{
|
|
2994
|
+
name: "--q-font-family",
|
|
2995
|
+
value: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
name: "--q-font-size-sm",
|
|
2999
|
+
value: "0.7rem"
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
name: "--q-font-size-base",
|
|
3003
|
+
value: "0.9rem"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
name: "--q-font-size-lg",
|
|
3007
|
+
value: "1rem"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
name: "--q-font-weight-normal",
|
|
3011
|
+
value: "400"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
name: "--q-font-weight-bold",
|
|
3015
|
+
value: "600"
|
|
3016
|
+
}
|
|
3017
|
+
]
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
category: "Spacing & Radii",
|
|
3021
|
+
tokens: [
|
|
3022
|
+
{
|
|
3023
|
+
name: "--q-radius-sm",
|
|
3024
|
+
value: "4px"
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
name: "--q-radius-md",
|
|
3028
|
+
value: "7px"
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
name: "--q-radius-lg",
|
|
3032
|
+
value: "11px"
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
name: "--q-padding-sm",
|
|
3036
|
+
value: "var(--q-space-sm, .5rem)"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
name: "--q-padding-md",
|
|
3040
|
+
value: "var(--q-space-md, .75rem)"
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
name: "--q-padding-lg",
|
|
3044
|
+
value: "var(--q-space-lg, 1rem)"
|
|
3045
|
+
}
|
|
3046
|
+
]
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
category: "Transitions",
|
|
3050
|
+
tokens: [
|
|
3051
|
+
{
|
|
3052
|
+
name: "--q-transition-fast",
|
|
3053
|
+
value: "150ms ease"
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
name: "--q-transition-normal",
|
|
3057
|
+
value: "250ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
name: "--q-transition-slow",
|
|
3061
|
+
value: "400ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
3062
|
+
}
|
|
3063
|
+
]
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
category: "Z-index",
|
|
3067
|
+
tokens: [
|
|
3068
|
+
{
|
|
3069
|
+
name: "--q-z-index-overlay",
|
|
3070
|
+
value: "1000"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
name: "--q-z-index-popover",
|
|
3074
|
+
value: "1100"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
name: "--q-z-index-toast",
|
|
3078
|
+
value: "1200"
|
|
3079
|
+
}
|
|
3080
|
+
]
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
category: "Global Animation Base",
|
|
3084
|
+
tokens: [
|
|
3085
|
+
{
|
|
3086
|
+
name: "--q-hover-transform",
|
|
3087
|
+
value: "translateY(-4px) scale(1.02)"
|
|
3088
|
+
}
|
|
3089
|
+
]
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
category: "Theme-aware hover overlays (automatically flips in light mode)",
|
|
3093
|
+
tokens: [
|
|
3094
|
+
{
|
|
3095
|
+
name: "--q-btn-hover-overlay",
|
|
3096
|
+
value: "color-mix(in srgb, var(--q-fg-base) 8%, transparent)"
|
|
3097
|
+
}
|
|
3098
|
+
]
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
category: "Card (q-card)",
|
|
3102
|
+
tokens: [
|
|
3103
|
+
{
|
|
3104
|
+
name: "--q-card-border",
|
|
3105
|
+
value: "var(--q-border)"
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
name: "--q-card-hover-transform",
|
|
3109
|
+
value: "var(--q-hover-transform)"
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
name: "--q-card-transition-duration",
|
|
3113
|
+
value: "var(--q-transition-normal)"
|
|
3114
|
+
}
|
|
3115
|
+
]
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
category: "Step Diagram (q-step-diagram / q-step-diagram-item)",
|
|
3119
|
+
tokens: [
|
|
3120
|
+
{
|
|
3121
|
+
name: "--q-step-diag-line",
|
|
3122
|
+
value: "2px solid var(--q-border-color)"
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
name: "--q-step-diag-border",
|
|
3126
|
+
value: "var(--q-border)"
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
name: "--q-step-diag-icon-size",
|
|
3130
|
+
value: "32px"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
name: "--q-step-diag-item-gap",
|
|
3134
|
+
value: "24px"
|
|
3135
|
+
}
|
|
3136
|
+
]
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
category: "Media Reel & Thumbnail (q-reel / q-thumbnail)",
|
|
3140
|
+
tokens: [
|
|
3141
|
+
{
|
|
3142
|
+
name: "--q-thumb-aspect-ratio",
|
|
3143
|
+
value: "16 / 9"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
name: "--q-thumb-border",
|
|
3147
|
+
value: "2px solid var(--q-thumb-border-color)"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
name: "--q-thumb-hover-transform",
|
|
3151
|
+
value: "var(--q-hover-transform)"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
name: "--q-thumb-overlay-bg",
|
|
3155
|
+
value: "rgba(0, 0, 0, 0.4)"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
name: "--q-thumb-radius",
|
|
3159
|
+
value: "var(--q-radius-md)"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
name: "--q-thumb-border-color",
|
|
3163
|
+
value: "transparent"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
name: "--q-thumb-glow",
|
|
3167
|
+
value: "var(--q-glow-interactive)"
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
name: "--q-reel-gap",
|
|
3171
|
+
value: "12px"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
name: "--q-reel-columns-desktop",
|
|
3175
|
+
value: "repeat(auto-fill, minmax(200px, 1fr))"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
name: "--q-reel-columns-mobile",
|
|
3179
|
+
value: "1fr"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
name: "--q-lightbox-max-size",
|
|
3183
|
+
value: "90vh"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
name: "--q-reel-lightbox-btn-bg",
|
|
3187
|
+
value: "rgba(0, 0, 0, 0.5)"
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
name: "--q-reel-lightbox-btn-border",
|
|
3191
|
+
value: "1px solid rgba(255, 255, 255, 0.2)"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
name: "--q-reel-lightbox-btn-color",
|
|
3195
|
+
value: "#ffffff"
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
name: "--q-reel-lightbox-btn-hover-bg",
|
|
3199
|
+
value: "rgba(255, 255, 255, 0.2)"
|
|
3200
|
+
}
|
|
3201
|
+
]
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
category: "Avatar (q-avatar)",
|
|
3205
|
+
tokens: [
|
|
3206
|
+
{
|
|
3207
|
+
name: "--q-avatar-size-sm",
|
|
3208
|
+
value: "28px"
|
|
3209
|
+
},
|
|
3210
|
+
{
|
|
3211
|
+
name: "--q-avatar-size-md",
|
|
3212
|
+
value: "40px"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
name: "--q-avatar-size-lg",
|
|
3216
|
+
value: "56px"
|
|
3217
|
+
},
|
|
3218
|
+
{
|
|
3219
|
+
name: "--q-avatar-bg",
|
|
3220
|
+
value: "var(--q-bg-surface-3)"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
name: "--q-avatar-fg",
|
|
3224
|
+
value: "var(--q-fg-base)"
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
name: "--q-avatar-border",
|
|
3228
|
+
value: "var(--q-border)"
|
|
3229
|
+
}
|
|
3230
|
+
]
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
category: "Conversation bubble (q-conversation-bubble)",
|
|
3234
|
+
tokens: [
|
|
3235
|
+
{
|
|
3236
|
+
name: "--q-conversation-incoming-bg",
|
|
3237
|
+
value: "var(--q-bg-surface-2)"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
name: "--q-conversation-outgoing-bg",
|
|
3241
|
+
value: "var(--q-color-primary)"
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
name: "--q-conversation-outgoing-fg",
|
|
3245
|
+
value: "#ffffff"
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
name: "--q-conversation-system-bg",
|
|
3249
|
+
value: "transparent"
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
name: "--q-conversation-system-fg",
|
|
3253
|
+
value: "var(--q-fg-muted)"
|
|
3254
|
+
}
|
|
3255
|
+
]
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
category: "Carousel (q-carousel)",
|
|
3259
|
+
tokens: [
|
|
3260
|
+
{
|
|
3261
|
+
name: "--q-carousel-gap",
|
|
3262
|
+
value: "16px"
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
name: "--q-carousel-padding",
|
|
3266
|
+
value: "24px 20px"
|
|
3267
|
+
},
|
|
3268
|
+
{
|
|
3269
|
+
name: "--q-carousel-arrow-bg",
|
|
3270
|
+
value: "var(--q-bg-overlay)"
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
name: "--q-carousel-arrow-border",
|
|
3274
|
+
value: "var(--q-border)"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
name: "--q-carousel-arrow-color",
|
|
3278
|
+
value: "#ffffff"
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
name: "--q-carousel-arrow-size",
|
|
3282
|
+
value: "40px"
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
name: "--q-carousel-indicator-gap",
|
|
3286
|
+
value: "8px"
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
name: "--q-carousel-indicator-size",
|
|
3290
|
+
value: "6px"
|
|
3291
|
+
}
|
|
3292
|
+
]
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
category: "Progress (q-progress)",
|
|
3296
|
+
tokens: [
|
|
3297
|
+
{
|
|
3298
|
+
name: "--q-progress-transition",
|
|
3299
|
+
value: "var(--q-transition-normal)"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
name: "--q-progress-indeterminate-duration",
|
|
3303
|
+
value: "1.4s"
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
name: "--q-progress-linear-height-sm",
|
|
3307
|
+
value: "4px"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
name: "--q-progress-linear-height-md",
|
|
3311
|
+
value: "6px"
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
name: "--q-progress-linear-height-lg",
|
|
3315
|
+
value: "8px"
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
name: "--q-progress-linear-radius",
|
|
3319
|
+
value: "999px"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
name: "--q-progress-circular-size-sm",
|
|
3323
|
+
value: "64px"
|
|
3324
|
+
},
|
|
3325
|
+
{
|
|
3326
|
+
name: "--q-progress-circular-size-md",
|
|
3327
|
+
value: "120px"
|
|
3328
|
+
},
|
|
3329
|
+
{
|
|
3330
|
+
name: "--q-progress-circular-size-lg",
|
|
3331
|
+
value: "180px"
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
name: "--q-progress-circular-stroke-width-sm",
|
|
3335
|
+
value: "6px"
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
name: "--q-progress-circular-stroke-width-md",
|
|
3339
|
+
value: "8px"
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
name: "--q-progress-circular-stroke-width-lg",
|
|
3343
|
+
value: "10px"
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
name: "--q-progress-circular-linecap",
|
|
3347
|
+
value: "round"
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
name: "--q-progress-circular-font-weight",
|
|
3351
|
+
value: "var(--q-font-weight-bold)"
|
|
3352
|
+
}
|
|
3353
|
+
]
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
category: "Button (q-button)",
|
|
3357
|
+
tokens: [
|
|
3358
|
+
{
|
|
3359
|
+
name: "--q-btn-font-weight",
|
|
3360
|
+
value: "var(--q-font-weight-bold)"
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
name: "--q-btn-active-transform",
|
|
3364
|
+
value: "scale(0.97)"
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
name: "--q-btn-transition",
|
|
3368
|
+
value: "all 150ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
3369
|
+
},
|
|
3370
|
+
{
|
|
3371
|
+
name: "--q-btn-icon-padding-sm",
|
|
3372
|
+
value: "4px"
|
|
3373
|
+
},
|
|
3374
|
+
{
|
|
3375
|
+
name: "--q-btn-icon-padding-md",
|
|
3376
|
+
value: "6px"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
name: "--q-btn-icon-padding-lg",
|
|
3380
|
+
value: "9px"
|
|
3381
|
+
}
|
|
3382
|
+
]
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
category: "Chip (q-chip)",
|
|
3386
|
+
tokens: [
|
|
3387
|
+
{
|
|
3388
|
+
name: "--q-chip-radius",
|
|
3389
|
+
value: "999px"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
name: "--q-chip-border",
|
|
3393
|
+
value: "var(--q-border)"
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
name: "--q-chip-font-weight",
|
|
3397
|
+
value: "var(--q-font-weight-bold)"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
name: "--q-chip-padding-sm",
|
|
3401
|
+
value: "4px 9px"
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
name: "--q-chip-padding-md",
|
|
3405
|
+
value: "6px 11px"
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
name: "--q-chip-padding-lg",
|
|
3409
|
+
value: "8px 14px"
|
|
3410
|
+
},
|
|
3411
|
+
{
|
|
3412
|
+
name: "--q-chip-height-sm",
|
|
3413
|
+
value: "24px"
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
name: "--q-chip-height-md",
|
|
3417
|
+
value: "30px"
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
name: "--q-chip-height-lg",
|
|
3421
|
+
value: "36px"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
name: "--q-chip-active-transform",
|
|
3425
|
+
value: "scale(0.97)"
|
|
3426
|
+
}
|
|
3427
|
+
]
|
|
3428
|
+
},
|
|
3429
|
+
{
|
|
3430
|
+
category: "Unified Form Field Variables (Borders & Radius Consistency)",
|
|
3431
|
+
tokens: [
|
|
3432
|
+
{
|
|
3433
|
+
name: "--q-field-border",
|
|
3434
|
+
value: "var(--q-border)"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
name: "--q-field-border-color-focus",
|
|
3438
|
+
value: "var(--q-color-primary)"
|
|
3439
|
+
}
|
|
3440
|
+
]
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
category: "Input & Textarea (q-input / q-textarea) mapped to unified field tokens",
|
|
3444
|
+
tokens: [
|
|
3445
|
+
{
|
|
3446
|
+
name: "--q-input-border",
|
|
3447
|
+
value: "var(--q-field-border)"
|
|
3448
|
+
}
|
|
3449
|
+
]
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
category: "Dropdown (q-dropdown) mapped to unified field tokens",
|
|
3453
|
+
tokens: [
|
|
3454
|
+
{
|
|
3455
|
+
name: "--q-dropdown-border",
|
|
3456
|
+
value: "var(--q-field-border)"
|
|
3457
|
+
}
|
|
3458
|
+
]
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
category: "Panel (q-panel)",
|
|
3462
|
+
tokens: [
|
|
3463
|
+
{
|
|
3464
|
+
name: "--q-panel-border",
|
|
3465
|
+
value: "var(--q-border)"
|
|
3466
|
+
}
|
|
3467
|
+
]
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
category: "Sidepanel (q-sidepanel)",
|
|
3471
|
+
tokens: [
|
|
3472
|
+
{
|
|
3473
|
+
name: "--q-sidepanel-bg",
|
|
3474
|
+
value: "var(--q-bg-surface-1)",
|
|
3475
|
+
light: "var(--q-bg-surface-1)",
|
|
3476
|
+
dark: "var(--q-bg-surface-1)"
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
name: "--q-sidepanel-border",
|
|
3480
|
+
value: "var(--q-border)"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
name: "--q-sidepanel-shadow",
|
|
3484
|
+
value: "var(--q-shadow-high)"
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
name: "--q-sidepanel-panel-width",
|
|
3488
|
+
value: "320px"
|
|
3489
|
+
},
|
|
3490
|
+
{
|
|
3491
|
+
name: "--q-sidepanel-panel-padding",
|
|
3492
|
+
value: "var(--q-padding-lg)"
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
name: "--q-sidepanel-panel-header-padding",
|
|
3496
|
+
value: "var(--q-padding-lg)"
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
name: "--q-sidepanel-panel-footer-padding",
|
|
3500
|
+
value: "var(--q-padding-lg)"
|
|
3501
|
+
},
|
|
3502
|
+
{
|
|
3503
|
+
name: "--q-sidepanel-panel-section-border",
|
|
3504
|
+
value: "var(--q-border)"
|
|
3505
|
+
}
|
|
3506
|
+
]
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
category: "Map (q-map)",
|
|
3510
|
+
tokens: [
|
|
3511
|
+
{
|
|
3512
|
+
name: "--q-map-height",
|
|
3513
|
+
value: "100%"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
name: "--q-map-min-height",
|
|
3517
|
+
value: "240px"
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
name: "--q-map-bg",
|
|
3521
|
+
value: "var(--q-bg-surface-1)"
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
name: "--q-map-border",
|
|
3525
|
+
value: "var(--q-border)"
|
|
3526
|
+
},
|
|
3527
|
+
{
|
|
3528
|
+
name: "--q-map-radius",
|
|
3529
|
+
value: "var(--q-radius-lg)"
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
name: "--q-map-marker-size",
|
|
3533
|
+
value: "20px"
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
name: "--q-map-marker-size-small",
|
|
3537
|
+
value: "16px"
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
name: "--q-map-marker-size-medium",
|
|
3541
|
+
value: "var(--q-map-marker-size)"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
name: "--q-map-marker-size-large",
|
|
3545
|
+
value: "24px"
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
name: "--q-map-marker-color",
|
|
3549
|
+
value: "var(--q-color-primary)"
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
name: "--q-map-marker-success",
|
|
3553
|
+
value: "var(--q-color-success)"
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
name: "--q-map-marker-warning",
|
|
3557
|
+
value: "var(--q-color-warning)"
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
name: "--q-map-marker-danger",
|
|
3561
|
+
value: "var(--q-color-danger)"
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
name: "--q-map-marker-muted",
|
|
3565
|
+
value: "var(--q-fg-muted)"
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
name: "--q-map-marker-selected-color",
|
|
3569
|
+
value: "var(--q-fg-base)"
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
name: "--q-map-marker-selected-shadow",
|
|
3573
|
+
value: "var(--q-shadow-medium)"
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
name: "--q-map-attribution-bg",
|
|
3577
|
+
value: "var(--q-bg-base)"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
name: "--q-map-attribution-color",
|
|
3581
|
+
value: "var(--q-fg-muted)"
|
|
3582
|
+
}
|
|
3583
|
+
]
|
|
3584
|
+
},
|
|
3585
|
+
{
|
|
3586
|
+
category: "Scrollbars",
|
|
3587
|
+
tokens: [
|
|
3588
|
+
{
|
|
3589
|
+
name: "--q-scrollbar-width",
|
|
3590
|
+
value: "6px"
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
name: "--q-scrollbar-width-thin",
|
|
3594
|
+
value: "thin"
|
|
3595
|
+
},
|
|
3596
|
+
{
|
|
3597
|
+
name: "--q-scrollbar-track-color",
|
|
3598
|
+
value: "transparent"
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
name: "--q-scrollbar-thumb-color",
|
|
3602
|
+
value: "var(--q-border-color, #374151)"
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
name: "--q-scrollbar-thumb-color-hover",
|
|
3606
|
+
value: "var(--q-color-primary, #60a5fa)"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
name: "--q-scrollbar-radius",
|
|
3610
|
+
value: "var(--q-radius-sm, 4px)"
|
|
3611
|
+
}
|
|
2817
3612
|
]
|
|
2818
3613
|
}
|
|
2819
3614
|
];
|
|
2820
3615
|
|
|
3616
|
+
// src/playground/components/theme-designer/theme-designer.tsx
|
|
3617
|
+
var THEME_TOKENS = [
|
|
3618
|
+
{
|
|
3619
|
+
category: "Spacing & Control Sizing",
|
|
3620
|
+
tokens: dimensionTokens.map((token) => ({ ...token, type: "dimension", min: 0, max: 64, desc: token.name }))
|
|
3621
|
+
},
|
|
3622
|
+
...themeGroups.map((group) => ({
|
|
3623
|
+
category: group.category,
|
|
3624
|
+
tokens: group.tokens.map((token) => ({
|
|
3625
|
+
name: token.name,
|
|
3626
|
+
label: token.name.replace("--q-", "").replaceAll("-", " "),
|
|
3627
|
+
type: /^#[0-9a-f]{6}$/i.test(token.value) ? "color" : token.name.startsWith("--q-radius-") ? "radius" : "text",
|
|
3628
|
+
desc: token.name
|
|
3629
|
+
}))
|
|
3630
|
+
}))
|
|
3631
|
+
];
|
|
3632
|
+
|
|
2821
3633
|
class ThemeDesigner extends HTMLElement {
|
|
2822
3634
|
cleanupThemeSync;
|
|
2823
3635
|
connectedCallback() {
|
|
@@ -2830,16 +3642,16 @@ class ThemeDesigner extends HTMLElement {
|
|
|
2830
3642
|
style: "flex: 1"
|
|
2831
3643
|
}, /* @__PURE__ */ h("h2", {
|
|
2832
3644
|
style: "margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--q-fg-base)"
|
|
2833
|
-
}, "
|
|
3645
|
+
}, "Theme Designer"), /* @__PURE__ */ h("p", {
|
|
2834
3646
|
class: "theme-designer-desc"
|
|
2835
|
-
}, "Customize
|
|
3647
|
+
}, "Customize colors, dimensions, and component defaults. Overrides apply to all sandbox components.")), /* @__PURE__ */ h("button", {
|
|
2836
3648
|
id: "resetThemeBtn",
|
|
2837
3649
|
class: "reset-theme-btn",
|
|
2838
3650
|
type: "button",
|
|
2839
3651
|
onClick: () => this.resetTheme()
|
|
2840
3652
|
}, /* @__PURE__ */ h("q-icon", {
|
|
2841
3653
|
name: "refresh-cw",
|
|
2842
|
-
|
|
3654
|
+
library: "lucide",
|
|
2843
3655
|
size: "16"
|
|
2844
3656
|
}), /* @__PURE__ */ h("span", null, "Reset to Default"))), this.renderGrid()));
|
|
2845
3657
|
const styleId = "theme-designer-style";
|