@webquark/core 1.0.2 → 1.1.0-dev.1
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 -21
- package/README.md +111 -98
- package/dist/cjs/Leaflet.GoogleMutant-BCs2oiE0.js +769 -0
- package/dist/cjs/action.props-Bxf6g2CW.js +35 -0
- package/dist/cjs/collection-identity-CV5HLD9Z.js +141 -0
- package/dist/cjs/data-table-cell-BAv6IIYx.js +46 -0
- package/dist/cjs/{dom-CTqgGpWA.js → dom-Dk77oFF6.js} +15 -6
- package/dist/cjs/form-control-validity-D1ukC0_e.js +49 -0
- package/dist/cjs/{index-CLlvFbDw.js → index-D5SQkd__.js} +21 -3
- package/dist/cjs/index.cjs.js +21 -2
- package/dist/cjs/leaflet-maplibre-gl-RCEffFEM.js +434 -0
- package/dist/cjs/leaflet-src-B0ls4IKq.js +14522 -0
- package/dist/cjs/leaflet-src-BX4jwTf5.js +33 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/map.types-DNrz8rJh.js +24 -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-button_2.cjs.entry.js +375 -0
- package/dist/cjs/q-card.cjs.entry.js +31 -9
- package/dist/cjs/q-carousel.cjs.entry.js +121 -78
- 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 +469 -118
- package/dist/cjs/q-dialog.cjs.entry.js +136 -22
- package/dist/cjs/q-dropdown.cjs.entry.js +318 -64
- package/dist/cjs/q-form.cjs.entry.js +509 -0
- package/dist/cjs/q-icon.cjs.entry.js +232 -100
- package/dist/cjs/q-input_2.cjs.entry.js +363 -0
- package/dist/cjs/q-link.cjs.entry.js +80 -0
- package/dist/cjs/q-map.cjs.entry.js +3328 -0
- package/dist/cjs/q-navbar.cjs.entry.js +194 -0
- package/dist/cjs/q-pagination.cjs.entry.js +68 -0
- package/dist/cjs/q-panel.cjs.entry.js +67 -0
- package/dist/cjs/q-quantity-selector.cjs.entry.js +112 -93
- package/dist/cjs/q-radio-group.cjs.entry.js +217 -0
- package/dist/cjs/q-reel.cjs.entry.js +86 -33
- package/dist/cjs/q-scrollable.cjs.entry.js +449 -0
- package/dist/cjs/q-sidepanel.cjs.entry.js +380 -114
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +11 -17
- package/dist/cjs/q-step-diagram.cjs.entry.js +9 -10
- package/dist/cjs/q-syntax-box.cjs.entry.js +326 -173
- package/dist/cjs/q-tabs.cjs.entry.js +155 -0
- package/dist/cjs/q-textarea.cjs.entry.js +69 -9
- package/dist/cjs/q-thumbnail.cjs.entry.js +18 -11
- package/dist/cjs/q-toast.cjs.entry.js +400 -0
- package/dist/cjs/q-toggle.cjs.entry.js +57 -26
- package/dist/cjs/q-toolbar.cjs.entry.js +29 -0
- package/dist/cjs/toast-controller-CIXagxbV.js +111 -0
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/assets/icons/braces.svg +14 -14
- package/dist/collection/assets/icons/check.svg +1 -1
- package/dist/collection/assets/icons/chevron-down.svg +1 -1
- package/dist/collection/assets/icons/chevron-left.svg +1 -1
- package/dist/collection/assets/icons/chevron-right.svg +1 -1
- package/dist/collection/assets/icons/chevron-up.svg +1 -1
- package/dist/collection/assets/icons/copy.svg +4 -4
- package/dist/collection/assets/icons/eye-off.svg +1 -1
- package/dist/collection/assets/icons/eye.svg +1 -1
- package/dist/collection/assets/icons/minus.svg +1 -1
- package/dist/collection/assets/icons/play.svg +1 -1
- package/dist/collection/assets/icons/plus.svg +1 -1
- package/dist/collection/assets/icons/search.svg +1 -1
- package/dist/collection/assets/icons/spinner.svg +1 -1
- package/dist/collection/assets/icons/trash-2.svg +1 -1
- package/dist/collection/assets/icons/x.svg +1 -1
- package/dist/collection/collection-manifest.json +37 -21
- package/dist/collection/components/actions/action.props.js +130 -0
- package/dist/collection/components/{button → actions/button}/button.css +191 -174
- package/dist/collection/components/{button → actions/button}/button.js +243 -89
- 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/chip/chip.css +219 -0
- package/dist/collection/components/actions/chip/chip.js +381 -0
- package/dist/collection/components/actions/chip/chip.types.js +1 -0
- package/dist/collection/components/actions/link/link.css +102 -0
- package/dist/collection/components/actions/link/link.js +313 -0
- package/dist/collection/components/actions/link/link.types.js +1 -0
- package/dist/collection/components/data-display/alert/alert.css +118 -0
- package/dist/collection/components/data-display/alert/alert.js +208 -0
- package/dist/collection/components/data-display/alert/alert.types.js +1 -0
- package/dist/collection/components/data-display/conversation-bubble/conversation-bubble.css +154 -0
- package/dist/collection/components/data-display/conversation-bubble/conversation-bubble.js +207 -0
- package/dist/collection/components/data-display/conversation-bubble/conversation-bubble.types.js +1 -0
- package/dist/collection/components/data-display/data-table/data-table-cell.js +40 -0
- package/dist/collection/components/{data-table → data-display/data-table}/data-table.css +356 -219
- package/dist/collection/components/data-display/data-table/data-table.js +748 -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 +4 -0
- package/dist/collection/components/data-display/data-table/internals/render-table-body.js +47 -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 +84 -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 +403 -0
- package/dist/collection/components/data-display/map/internals/marker-presentation.js +217 -0
- package/dist/collection/components/data-display/map/internals/marker-visibility.js +158 -0
- package/dist/collection/components/data-display/map/internals/markers.js +176 -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 +711 -0
- package/dist/collection/components/data-display/map/map.js +1514 -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 +748 -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 +27 -0
- package/dist/collection/components/{syntax-box → data-display/syntax-box}/syntax-box.css +202 -206
- package/dist/collection/components/data-display/syntax-box/syntax-box.js +622 -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/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/{step-diagram → indicators/step-diagram}/step-diagram.css +21 -21
- package/dist/collection/components/{step-diagram → indicators/step-diagram}/step-diagram.js +42 -12
- package/dist/collection/components/indicators/step-diagram/step-diagram.types.js +1 -0
- package/dist/collection/components/{step-diagram-item → indicators/step-diagram-item}/step-diagram-item.css +252 -253
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +153 -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/{dropdown → inputs/dropdown}/dropdown.css +344 -292
- package/dist/collection/components/inputs/dropdown/dropdown.js +986 -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/{input → inputs/input}/input.css +264 -276
- package/dist/collection/components/{input → inputs/input}/input.js +242 -83
- 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/{quantity-selector → inputs/quantity-selector}/quantity-selector.css +131 -131
- package/dist/collection/components/{quantity-selector → inputs/quantity-selector}/quantity-selector.js +75 -109
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.types.js +1 -0
- package/dist/collection/components/inputs/radio-group/radio-group.css +177 -0
- package/dist/collection/components/inputs/radio-group/radio-group.js +558 -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/{textarea → inputs/textarea}/textarea.css +88 -83
- package/dist/collection/components/{textarea → inputs/textarea}/textarea.js +162 -18
- package/dist/collection/components/inputs/textarea/textarea.types.js +1 -0
- package/dist/collection/components/{toggle → inputs/toggle}/toggle.css +220 -212
- package/dist/collection/components/{toggle → inputs/toggle}/toggle.js +158 -51
- 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/{card → layout/card}/card.css +93 -96
- package/dist/collection/components/{card → layout/card}/card.js +40 -19
- package/dist/collection/components/layout/card/card.types.js +1 -0
- package/dist/collection/components/layout/card/card.utils.js +15 -0
- package/dist/collection/components/{carousel → layout/carousel}/carousel.css +168 -177
- package/dist/collection/components/{carousel → layout/carousel}/carousel.js +103 -105
- package/dist/collection/components/layout/carousel/carousel.types.js +1 -0
- package/dist/collection/components/layout/carousel/carousel.utils.js +1 -0
- package/dist/collection/components/layout/carousel/internals/metrics.js +59 -0
- package/dist/collection/components/layout/form/form.css +49 -0
- package/dist/collection/components/layout/form/form.js +613 -0
- package/dist/collection/components/layout/form/form.types.js +1 -0
- package/dist/collection/components/layout/form/internals/controls.js +79 -0
- package/dist/collection/components/layout/form/internals/enter-behavior.js +36 -0
- package/dist/collection/components/layout/form/internals/values.js +176 -0
- package/dist/collection/components/layout/form/test/form.cmp.test.js +157 -0
- package/dist/collection/components/layout/navbar/navbar.css +465 -0
- package/dist/collection/components/layout/navbar/navbar.js +547 -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 +53 -0
- package/dist/collection/components/layout/panel/panel.css +113 -0
- package/dist/collection/components/layout/panel/panel.js +265 -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/{scrollable → layout/scrollable}/scrollable.css +123 -122
- package/dist/collection/components/{scrollable → layout/scrollable}/scrollable.js +165 -136
- package/dist/collection/components/layout/scrollable/scrollable.types.js +1 -0
- package/dist/collection/components/layout/sidepanel/internals/drawer.js +60 -0
- package/dist/collection/components/layout/sidepanel/internals/groups.js +56 -0
- package/dist/collection/components/layout/sidepanel/internals/nav-items.js +26 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.css +881 -0
- package/dist/collection/components/layout/sidepanel/sidepanel.js +813 -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/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 +145 -0
- package/dist/collection/components/layout/toolbar/toolbar.js +173 -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/{icon → media/icon}/icon.css +42 -39
- package/dist/collection/components/media/icon/icon.js +388 -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 +18 -0
- package/dist/collection/components/media/icon/internals/sanitize-svg.js +63 -0
- package/dist/collection/components/media/icon/internals/size.js +12 -0
- package/dist/collection/components/media/icon/internals/url.js +48 -0
- package/dist/collection/components/{reel → media/reel}/reel.css +193 -185
- package/dist/collection/components/{reel → media/reel}/reel.js +99 -34
- package/dist/collection/components/media/reel/reel.types.js +1 -0
- package/dist/collection/components/{thumbnail → media/thumbnail}/thumbnail.css +111 -109
- package/dist/collection/components/{thumbnail → media/thumbnail}/thumbnail.js +32 -19
- package/dist/collection/components/media/thumbnail/thumbnail.types.js +1 -0
- package/dist/collection/components/{dialog → overlays/dialog}/dialog.css +248 -240
- package/dist/collection/components/{dialog → overlays/dialog}/dialog.js +190 -58
- 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/toast/internals/icons.js +25 -0
- package/dist/collection/components/overlays/toast/internals/queue.js +64 -0
- package/dist/collection/components/overlays/toast/internals/timers.js +75 -0
- package/dist/collection/components/overlays/toast/test/toast.cmp.test.js +38 -0
- package/dist/collection/components/overlays/toast/test/toast.unit.test.js +104 -0
- package/dist/collection/components/overlays/toast/toast-controller.js +105 -0
- package/dist/collection/components/overlays/toast/toast.css +141 -0
- package/dist/collection/components/overlays/toast/toast.js +556 -0
- package/dist/collection/components/overlays/toast/toast.types.js +1 -0
- package/dist/collection/components/overlays/tooltip/internals/aria.js +27 -0
- package/dist/collection/components/overlays/tooltip/internals/positioning.js +69 -0
- package/dist/collection/components/overlays/tooltip/internals/scroll-listeners.js +18 -0
- package/dist/collection/components/{tooltip → overlays/tooltip}/tooltip.css +65 -65
- package/dist/collection/components/overlays/tooltip/tooltip.js +190 -0
- package/dist/collection/components/overlays/tooltip/tooltip.types.js +1 -0
- package/dist/collection/index.js +4 -0
- package/dist/collection/playground/components/playground-event-log/playground-event-log.js +3 -3
- package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +42 -6
- package/dist/collection/playground/components/properties-panel/properties-panel.js +1 -1
- package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +7 -3
- package/dist/collection/playground/components/sandbox-viewport/sandbox-viewport.js +4 -0
- package/dist/collection/playground/components/theme-designer/theme-designer.js +6 -4
- package/dist/collection/playground/logo.svg +8 -8
- package/dist/collection/playground/playground.bundled.js +949 -887
- 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 +14 -6
- package/dist/collection/utils/form-control-validity.js +44 -0
- package/dist/collection/utils/formatter.unit.test.js +24 -24
- package/dist/components/index.js +1 -1
- package/dist/components/p-2bWqVyTo.js +1 -0
- package/dist/components/p-BEBDDqVT.js +1 -0
- package/dist/components/p-BIIQL66b.js +1 -0
- package/dist/components/p-BJiYCN3i.js +1 -0
- package/dist/components/p-BeeM-7Ku.js +5 -0
- package/dist/components/p-Bj2RJb2E.js +1 -0
- package/dist/components/p-ByfrUWx1.js +1 -0
- package/dist/components/p-CBVOdtO_.js +1 -0
- package/dist/components/p-CGZPmEUB.js +1 -0
- package/dist/components/p-CXcle-2Q.js +1 -0
- package/dist/components/p-Ccj0labf.js +1 -0
- package/dist/components/p-D-SCwJg6.js +1 -0
- package/dist/components/p-DCICQbw4.js +1 -0
- package/dist/components/p-DH-PVHhr.js +1 -0
- package/dist/components/p-DQhiqYeq.js +1 -0
- package/dist/components/p-Dd8ZWrLX.js +1 -0
- package/dist/components/p-DiOrwkX8.js +1 -0
- package/dist/components/p-DmqVhVoj.js +1 -0
- package/dist/components/p-WJHaLJS_.js +1 -0
- package/dist/components/p-xNd-aY2K.js +1 -0
- package/dist/components/{q-circular-progress.d.ts → q-alert.d.ts} +4 -4
- 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-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.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.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.d.ts +11 -0
- package/dist/components/q-form.js +1 -0
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-input.js +1 -1
- 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-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.js +1 -1
- package/dist/components/q-radio-group.d.ts +11 -0
- package/dist/components/q-radio-group.js +1 -0
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-sidepanel.js +1 -1
- 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 +1 -1
- package/dist/components/q-tabs.d.ts +11 -0
- package/dist/components/q-tabs.js +1 -0
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.d.ts +11 -0
- package/dist/components/q-toast.js +1 -0
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.d.ts +11 -0
- package/dist/components/q-toolbar.js +1 -0
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/Leaflet.GoogleMutant-BlvymWLE.js +767 -0
- package/dist/esm/action.props-CzaBbbcQ.js +32 -0
- package/dist/esm/collection-identity-CGZPmEUB.js +138 -0
- package/dist/esm/data-table-cell-DmqVhVoj.js +42 -0
- package/dist/esm/{dom-DoQvrOHk.js → dom-ByfrUWx1.js} +15 -7
- package/dist/esm/form-control-validity-Bj2RJb2E.js +46 -0
- package/dist/esm/{index-CYoQ4Zv3.js → index-DOk7gYkf.js} +21 -4
- package/dist/esm/index.js +5 -1
- package/dist/esm/leaflet-maplibre-gl-Cgb-1z8Q.js +432 -0
- package/dist/esm/leaflet-src-BR13bdVA.js +30 -0
- package/dist/esm/leaflet-src-BeeM-7Ku.js +14520 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/map.types-WJHaLJS_.js +14 -0
- package/dist/esm/q-alert.entry.js +50 -0
- package/dist/esm/q-avatar.entry.js +99 -0
- package/dist/esm/q-button_2.entry.js +372 -0
- package/dist/esm/q-card.entry.js +31 -9
- package/dist/esm/q-carousel.entry.js +121 -78
- 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 +469 -118
- package/dist/esm/q-dialog.entry.js +136 -22
- package/dist/esm/q-dropdown.entry.js +318 -64
- package/dist/esm/q-form.entry.js +507 -0
- package/dist/esm/q-icon.entry.js +232 -100
- package/dist/esm/q-input_2.entry.js +360 -0
- package/dist/esm/q-link.entry.js +78 -0
- package/dist/esm/q-map.entry.js +3326 -0
- package/dist/esm/q-navbar.entry.js +192 -0
- package/dist/esm/q-pagination.entry.js +66 -0
- package/dist/esm/q-panel.entry.js +65 -0
- package/dist/esm/q-quantity-selector.entry.js +112 -93
- package/dist/esm/q-radio-group.entry.js +215 -0
- package/dist/esm/q-reel.entry.js +86 -33
- package/dist/esm/q-scrollable.entry.js +447 -0
- package/dist/esm/q-sidepanel.entry.js +380 -114
- package/dist/esm/q-step-diagram-item.entry.js +11 -17
- package/dist/esm/q-step-diagram.entry.js +9 -10
- package/dist/esm/q-syntax-box.entry.js +326 -173
- package/dist/esm/q-tabs.entry.js +153 -0
- package/dist/esm/q-textarea.entry.js +69 -9
- package/dist/esm/q-thumbnail.entry.js +18 -11
- package/dist/esm/q-toast.entry.js +398 -0
- package/dist/esm/q-toggle.entry.js +57 -26
- package/dist/esm/q-toolbar.entry.js +27 -0
- package/dist/esm/toast-controller-BIIQL66b.js +107 -0
- package/dist/esm/webquark.js +3 -3
- package/dist/playground/assets/icons/braces.svg +14 -14
- package/dist/playground/assets/icons/check.svg +1 -1
- package/dist/playground/assets/icons/chevron-down.svg +1 -1
- package/dist/playground/assets/icons/chevron-left.svg +1 -1
- package/dist/playground/assets/icons/chevron-right.svg +1 -1
- package/dist/playground/assets/icons/chevron-up.svg +1 -1
- package/dist/playground/assets/icons/copy.svg +4 -4
- package/dist/playground/assets/icons/eye-off.svg +1 -1
- package/dist/playground/assets/icons/eye.svg +1 -1
- package/dist/playground/assets/icons/minus.svg +1 -1
- package/dist/playground/assets/icons/play.svg +1 -1
- package/dist/playground/assets/icons/plus.svg +1 -1
- package/dist/playground/assets/icons/search.svg +1 -1
- package/dist/playground/assets/icons/spinner.svg +1 -1
- package/dist/playground/assets/icons/trash-2.svg +1 -1
- package/dist/playground/assets/icons/x.svg +1 -1
- package/dist/playground/build/index.esm.js +1 -1
- package/dist/playground/build/p-011bab4c.entry.js +1 -0
- package/dist/playground/build/p-0571c3ae.entry.js +1 -0
- package/dist/playground/build/p-09e29cf9.entry.js +1 -0
- package/dist/playground/build/p-0aeed0be.entry.js +1 -0
- package/dist/playground/build/p-13b7bd40.entry.js +1 -0
- package/dist/playground/build/p-1d1ec52e.entry.js +1 -0
- package/dist/playground/build/p-254555b1.entry.js +1 -0
- package/dist/playground/build/p-28cc0172.entry.js +1 -0
- package/dist/playground/build/p-2bWqVyTo.js +1 -0
- package/dist/playground/build/p-33a45980.entry.js +1 -0
- package/dist/playground/build/p-33cfbd33.entry.js +1 -0
- package/dist/playground/build/p-4557f558.entry.js +1 -0
- package/dist/playground/build/p-48a8413d.entry.js +1 -0
- package/dist/playground/build/p-4d5d0313.entry.js +1 -0
- package/dist/playground/build/p-56644a7b.entry.js +1 -0
- package/dist/playground/build/p-58724642.entry.js +1 -0
- package/dist/playground/build/p-590cde02.entry.js +1 -0
- package/dist/playground/build/p-6cf356da.entry.js +1 -0
- package/dist/playground/build/p-6deac326.entry.js +1 -0
- package/dist/playground/build/p-6f1b98c2.entry.js +1 -0
- package/dist/playground/build/p-711576c8.entry.js +1 -0
- package/dist/playground/build/p-93ffb8ab.entry.js +1 -0
- package/dist/playground/build/p-94413975.entry.js +1 -0
- package/dist/playground/build/p-9d14b8ec.entry.js +1 -0
- package/dist/playground/build/p-BEBDDqVT.js +1 -0
- package/dist/playground/build/p-BIIQL66b.js +1 -0
- package/dist/playground/build/p-BeeM-7Ku.js +5 -0
- package/dist/playground/build/p-Bj2RJb2E.js +1 -0
- package/dist/playground/build/p-ByfrUWx1.js +1 -0
- package/dist/playground/build/p-CGZPmEUB.js +1 -0
- package/dist/playground/build/p-DD6AOr35.js +1 -0
- package/dist/playground/build/p-DNFGt02p.js +1 -0
- package/dist/playground/build/p-DOk7gYkf.js +2 -0
- package/dist/playground/build/p-DmqVhVoj.js +1 -0
- package/dist/playground/build/p-WJHaLJS_.js +1 -0
- package/dist/playground/build/p-a054f314.entry.js +1 -0
- package/dist/playground/build/p-ad1c341c.entry.js +1 -0
- package/dist/playground/build/p-b8a75199.entry.js +1 -0
- package/dist/playground/build/p-b8aa6763.entry.js +1 -0
- package/dist/playground/build/p-c2032ee1.entry.js +1 -0
- package/dist/playground/build/p-cddadb39.entry.js +1 -0
- package/dist/playground/build/p-cfaffa33.entry.js +1 -0
- package/dist/playground/build/p-dda5be3e.entry.js +1 -0
- package/dist/playground/build/p-f51a7a3c.entry.js +1 -0
- package/dist/playground/build/webquark.css +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/css/base.css +122 -145
- package/dist/playground/index.html +29 -29
- package/dist/playground/logo.svg +8 -8
- package/dist/playground/playground/components.manifest.json +37 -20
- package/dist/playground/playground/specs/q-avatar.sandbox.json +24 -0
- package/dist/playground/playground/specs/q-button.sandbox.json +209 -198
- package/dist/playground/playground/specs/q-card.sandbox.json +144 -144
- package/dist/playground/playground/specs/q-carousel.sandbox.json +120 -120
- package/dist/playground/playground/specs/q-chip.sandbox.json +105 -0
- package/dist/playground/playground/specs/q-conversation-bubble.sandbox.json +26 -0
- package/dist/playground/playground/specs/q-data-table.sandbox.json +161 -108
- package/dist/playground/playground/specs/q-dialog.sandbox.json +108 -108
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +121 -116
- package/dist/playground/playground/specs/q-form.sandbox.json +20 -0
- package/dist/playground/playground/specs/q-icon.sandbox.json +138 -138
- package/dist/playground/playground/specs/q-input.sandbox.json +192 -192
- package/dist/playground/playground/specs/q-link.sandbox.json +27 -0
- package/dist/playground/playground/specs/q-map.sandbox.json +203 -0
- package/dist/playground/playground/specs/q-navbar.sandbox.json +32 -0
- package/dist/playground/playground/specs/q-panel.sandbox.json +28 -0
- package/dist/playground/playground/specs/q-progress.sandbox.json +117 -0
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +99 -99
- package/dist/playground/playground/specs/q-radio-group.sandbox.json +58 -0
- package/dist/playground/playground/specs/q-reel.sandbox.json +70 -70
- package/dist/playground/playground/specs/q-scrollable.sandbox.json +102 -102
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +152 -147
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +56 -56
- package/dist/playground/playground/specs/q-syntax-box.sandbox.json +160 -160
- package/dist/playground/playground/specs/q-textarea.sandbox.json +133 -133
- package/dist/playground/playground/specs/q-toast.sandbox.json +32 -0
- package/dist/playground/playground/specs/q-toggle.sandbox.json +196 -196
- package/dist/playground/playground/specs/q-toolbar.sandbox.json +26 -0
- package/dist/playground/playground/specs/q-tooltip.sandbox.json +65 -65
- package/dist/playground/playground.js +949 -887
- package/dist/types/components/actions/action.props.d.ts +19 -0
- package/dist/types/components/actions/button/button.d.ts +61 -0
- package/dist/types/components/actions/button/button.types.d.ts +5 -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/chip/chip.d.ts +55 -0
- package/dist/types/components/actions/chip/chip.types.d.ts +13 -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/data-display/alert/alert.d.ts +32 -0
- package/dist/types/components/data-display/alert/alert.types.d.ts +2 -0
- package/dist/types/components/data-display/conversation-bubble/conversation-bubble.d.ts +38 -0
- package/dist/types/components/data-display/conversation-bubble/conversation-bubble.types.d.ts +1 -0
- package/dist/types/components/data-display/data-table/data-table-cell.d.ts +5 -0
- package/dist/types/components/data-display/data-table/data-table.d.ts +78 -0
- package/dist/types/components/data-display/data-table/data-table.types.d.ts +53 -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 +12 -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 +52 -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 +55 -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 +171 -0
- package/dist/types/components/data-display/map/map.types.d.ts +122 -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 +18 -0
- package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +66 -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/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 +16 -0
- package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +1 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +24 -0
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +3 -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 +90 -0
- package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +8 -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/input/input.d.ts +77 -0
- package/dist/types/components/inputs/input/input.types.d.ts +2 -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/{quantity-selector → inputs/quantity-selector}/quantity-selector.d.ts +10 -9
- package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +1 -0
- package/dist/types/components/inputs/radio-group/radio-group.d.ts +60 -0
- package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +11 -0
- package/dist/types/components/inputs/radio-group/radio-group.utils.d.ts +2 -0
- package/dist/types/components/inputs/textarea/textarea.d.ts +59 -0
- package/dist/types/components/inputs/textarea/textarea.types.d.ts +1 -0
- package/dist/types/components/inputs/toggle/toggle.d.ts +56 -0
- package/dist/types/components/inputs/toggle/toggle.types.d.ts +2 -0
- package/dist/types/components/inputs/toggle/toggle.utils.d.ts +1 -0
- package/dist/types/components/layout/card/card.d.ts +24 -0
- package/dist/types/components/layout/card/card.types.d.ts +1 -0
- package/dist/types/components/layout/card/card.utils.d.ts +5 -0
- package/dist/types/components/{carousel → layout/carousel}/carousel.d.ts +19 -7
- package/dist/types/components/layout/carousel/carousel.types.d.ts +5 -0
- package/dist/types/components/layout/carousel/carousel.utils.d.ts +1 -0
- package/dist/types/components/layout/carousel/internals/metrics.d.ts +23 -0
- package/dist/types/components/layout/form/form.d.ts +69 -0
- package/dist/types/components/layout/form/form.types.d.ts +38 -0
- package/dist/types/components/layout/form/internals/controls.d.ts +5 -0
- package/dist/types/components/layout/form/internals/enter-behavior.d.ts +2 -0
- package/dist/types/components/layout/form/internals/values.d.ts +5 -0
- package/dist/types/components/layout/form/test/form.cmp.test.d.ts +4 -0
- package/dist/types/components/layout/navbar/navbar.d.ts +66 -0
- package/dist/types/components/layout/navbar/navbar.types.d.ts +31 -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 +33 -0
- package/dist/types/components/layout/panel/panel.types.d.ts +2 -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/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 +92 -0
- package/dist/types/components/layout/sidepanel/sidepanel.types.d.ts +39 -0
- package/dist/types/components/layout/sidepanel/sidepanel.utils.d.ts +2 -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 +23 -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 +41 -0
- package/dist/types/components/media/icon/icon.types.d.ts +5 -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/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/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 +71 -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/toast/internals/icons.d.ts +2 -0
- package/dist/types/components/overlays/toast/internals/queue.d.ts +19 -0
- package/dist/types/components/overlays/toast/internals/timers.d.ts +12 -0
- package/dist/types/components/overlays/toast/test/toast.cmp.test.d.ts +2 -0
- package/dist/types/components/overlays/toast/test/toast.unit.test.d.ts +1 -0
- package/dist/types/components/overlays/toast/toast-controller.d.ts +9 -0
- package/dist/types/components/overlays/toast/toast.d.ts +44 -0
- package/dist/types/components/overlays/toast/toast.types.d.ts +30 -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 +28 -0
- package/dist/types/components/overlays/tooltip/tooltip.types.d.ts +1 -0
- package/dist/types/components.d.ts +3600 -569
- package/dist/types/declarations.d.ts +14 -9
- package/dist/types/index.d.ts +10 -0
- package/dist/types/playground/components/playground-sidebar/playground-sidebar.d.ts +2 -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 +1 -1
- package/dist/types/utils/form-control-validity.d.ts +14 -0
- package/dist/webquark/index.esm.js +1 -1
- package/dist/webquark/p-011bab4c.entry.js +1 -0
- package/dist/webquark/p-0571c3ae.entry.js +1 -0
- package/dist/webquark/p-09e29cf9.entry.js +1 -0
- package/dist/webquark/p-0aeed0be.entry.js +1 -0
- package/dist/webquark/p-13b7bd40.entry.js +1 -0
- package/dist/webquark/p-1d1ec52e.entry.js +1 -0
- package/dist/webquark/p-254555b1.entry.js +1 -0
- package/dist/webquark/p-28cc0172.entry.js +1 -0
- package/dist/webquark/p-2bWqVyTo.js +1 -0
- package/dist/webquark/p-33a45980.entry.js +1 -0
- package/dist/webquark/p-33cfbd33.entry.js +1 -0
- package/dist/webquark/p-4557f558.entry.js +1 -0
- package/dist/webquark/p-48a8413d.entry.js +1 -0
- package/dist/webquark/p-4d5d0313.entry.js +1 -0
- package/dist/webquark/p-56644a7b.entry.js +1 -0
- package/dist/webquark/p-58724642.entry.js +1 -0
- package/dist/webquark/p-590cde02.entry.js +1 -0
- package/dist/webquark/p-6cf356da.entry.js +1 -0
- package/dist/webquark/p-6deac326.entry.js +1 -0
- package/dist/webquark/p-6f1b98c2.entry.js +1 -0
- package/dist/webquark/p-711576c8.entry.js +1 -0
- package/dist/webquark/p-93ffb8ab.entry.js +1 -0
- package/dist/webquark/p-94413975.entry.js +1 -0
- package/dist/webquark/p-9d14b8ec.entry.js +1 -0
- package/dist/webquark/p-BEBDDqVT.js +1 -0
- package/dist/webquark/p-BIIQL66b.js +1 -0
- package/dist/webquark/p-BeeM-7Ku.js +5 -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-DD6AOr35.js +1 -0
- package/dist/webquark/p-DNFGt02p.js +1 -0
- package/dist/webquark/p-DOk7gYkf.js +2 -0
- package/dist/webquark/p-DmqVhVoj.js +1 -0
- package/dist/webquark/p-WJHaLJS_.js +1 -0
- package/dist/webquark/p-a054f314.entry.js +1 -0
- package/dist/webquark/p-ad1c341c.entry.js +1 -0
- package/dist/webquark/p-b8a75199.entry.js +1 -0
- package/dist/webquark/p-b8aa6763.entry.js +1 -0
- package/dist/webquark/p-c2032ee1.entry.js +1 -0
- package/dist/webquark/p-cddadb39.entry.js +1 -0
- package/dist/webquark/p-cfaffa33.entry.js +1 -0
- package/dist/webquark/p-dda5be3e.entry.js +1 -0
- package/dist/webquark/p-f51a7a3c.entry.js +1 -0
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +105 -84
- package/scripts/webquark-serve.js +8 -6
- package/dist/cjs/q-button_3.cjs.entry.js +0 -603
- package/dist/cjs/q-circular-progress_2.cjs.entry.js +0 -255
- package/dist/collection/components/circular-progress/circular-progress.css +0 -85
- package/dist/collection/components/circular-progress/circular-progress.js +0 -122
- package/dist/collection/components/data-table/data-table.js +0 -481
- package/dist/collection/components/dropdown/dropdown.js +0 -606
- package/dist/collection/components/icon/icon.js +0 -297
- package/dist/collection/components/sidepanel/sidepanel.css +0 -371
- package/dist/collection/components/sidepanel/sidepanel.js +0 -460
- package/dist/collection/components/step-diagram-item/step-diagram-item.js +0 -131
- package/dist/collection/components/syntax-box/syntax-box.js +0 -534
- package/dist/collection/components/tooltip/tooltip.js +0 -249
- package/dist/components/p-91lJS0-v.js +0 -1
- package/dist/components/p-B4IF9WVv.js +0 -1
- package/dist/components/p-BCSpNDGG.js +0 -1
- package/dist/components/p-DScvq41R.js +0 -1
- package/dist/components/p-DfTW9B7V.js +0 -1
- package/dist/components/p-DgaKWrjd.js +0 -1
- package/dist/components/p-Do2ppeKL.js +0 -1
- package/dist/components/p-DoQvrOHk.js +0 -1
- package/dist/components/q-circular-progress.js +0 -1
- package/dist/esm/q-button_3.entry.js +0 -599
- package/dist/esm/q-circular-progress_2.entry.js +0 -252
- package/dist/playground/build/p-095635d3.entry.js +0 -1
- package/dist/playground/build/p-1187e439.entry.js +0 -1
- package/dist/playground/build/p-389e2cd3.entry.js +0 -1
- package/dist/playground/build/p-38d9e75b.entry.js +0 -1
- package/dist/playground/build/p-4ce667f1.entry.js +0 -1
- package/dist/playground/build/p-66b0eb0f.entry.js +0 -1
- package/dist/playground/build/p-69d33f9d.entry.js +0 -1
- package/dist/playground/build/p-6dc7b987.entry.js +0 -1
- package/dist/playground/build/p-76e04a7f.entry.js +0 -1
- package/dist/playground/build/p-776a0eb6.entry.js +0 -1
- package/dist/playground/build/p-7c4532f3.entry.js +0 -1
- package/dist/playground/build/p-7d2144cf.entry.js +0 -1
- package/dist/playground/build/p-84185204.entry.js +0 -1
- package/dist/playground/build/p-938cd8a6.entry.js +0 -1
- package/dist/playground/build/p-CYoQ4Zv3.js +0 -2
- package/dist/playground/build/p-DoQvrOHk.js +0 -1
- package/dist/playground/build/p-a182b818.entry.js +0 -1
- package/dist/playground/build/p-aa017815.entry.js +0 -1
- package/dist/playground/build/p-d7607e11.entry.js +0 -1
- package/dist/playground/playground/specs/q-circular-progress.sandbox.json +0 -91
- package/dist/types/components/button/button.d.ts +0 -26
- package/dist/types/components/card/card.d.ts +0 -12
- package/dist/types/components/circular-progress/circular-progress.d.ts +0 -7
- package/dist/types/components/data-table/data-table.d.ts +0 -45
- package/dist/types/components/dialog/dialog.d.ts +0 -35
- package/dist/types/components/dropdown/dropdown.d.ts +0 -49
- package/dist/types/components/icon/icon.d.ts +0 -33
- package/dist/types/components/input/input.d.ts +0 -43
- package/dist/types/components/reel/reel.d.ts +0 -23
- package/dist/types/components/scrollable/scrollable.d.ts +0 -47
- package/dist/types/components/sidepanel/sidepanel.d.ts +0 -58
- package/dist/types/components/step-diagram/step-diagram.d.ts +0 -10
- package/dist/types/components/step-diagram-item/step-diagram-item.d.ts +0 -12
- package/dist/types/components/syntax-box/syntax-box.d.ts +0 -37
- package/dist/types/components/textarea/textarea.d.ts +0 -36
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -18
- package/dist/types/components/toggle/toggle.d.ts +0 -36
- package/dist/types/components/tooltip/tooltip.d.ts +0 -29
- package/dist/webquark/p-095635d3.entry.js +0 -1
- package/dist/webquark/p-1187e439.entry.js +0 -1
- package/dist/webquark/p-389e2cd3.entry.js +0 -1
- package/dist/webquark/p-38d9e75b.entry.js +0 -1
- package/dist/webquark/p-4ce667f1.entry.js +0 -1
- package/dist/webquark/p-66b0eb0f.entry.js +0 -1
- package/dist/webquark/p-69d33f9d.entry.js +0 -1
- package/dist/webquark/p-6dc7b987.entry.js +0 -1
- package/dist/webquark/p-76e04a7f.entry.js +0 -1
- package/dist/webquark/p-776a0eb6.entry.js +0 -1
- package/dist/webquark/p-7c4532f3.entry.js +0 -1
- package/dist/webquark/p-7d2144cf.entry.js +0 -1
- package/dist/webquark/p-84185204.entry.js +0 -1
- package/dist/webquark/p-938cd8a6.entry.js +0 -1
- package/dist/webquark/p-CYoQ4Zv3.js +0 -2
- package/dist/webquark/p-DoQvrOHk.js +0 -1
- package/dist/webquark/p-a182b818.entry.js +0 -1
- package/dist/webquark/p-aa017815.entry.js +0 -1
- package/dist/webquark/p-d7607e11.entry.js +0 -1
- /package/dist/cjs/{index-DGQOjEwT.js → utils-DGQOjEwT.js} +0 -0
- /package/dist/esm/{index-BJiYCN3i.js → utils-BJiYCN3i.js} +0 -0
|
@@ -210,133 +210,132 @@ function h(tag, attrs, ...children) {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
// src/playground/components/playground-header/playground-header.css
|
|
213
|
-
var playground_header_default = `.app-header {
|
|
214
|
-
display: flex
|
|
215
|
-
align-items: center
|
|
216
|
-
justify-content: space-between
|
|
217
|
-
padding: 8px 16px
|
|
218
|
-
min-height: 56px
|
|
219
|
-
background: var(--bg-
|
|
220
|
-
border-bottom:
|
|
221
|
-
flex-shrink: 0
|
|
222
|
-
box-sizing: border-box
|
|
223
|
-
gap: 16px
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.header-logo {
|
|
227
|
-
display: flex
|
|
228
|
-
align-items: center
|
|
229
|
-
gap: 12px
|
|
230
|
-
flex-shrink: 0
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.logo-image {
|
|
234
|
-
height: 28px
|
|
235
|
-
width: auto
|
|
236
|
-
display: block
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.logo-text {
|
|
240
|
-
font-size: 1.15rem
|
|
241
|
-
font-weight: 700
|
|
242
|
-
|
|
243
|
-
background:
|
|
244
|
-
-webkit-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
font-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
color 0.2s
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
color:
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}\r
|
|
213
|
+
var playground_header_default = `.app-header {
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
justify-content: space-between;
|
|
217
|
+
padding: 8px 16px;
|
|
218
|
+
min-height: 56px;
|
|
219
|
+
background: var(--q-bg-surface-2);
|
|
220
|
+
border-bottom: var(--q-border);
|
|
221
|
+
flex-shrink: 0;
|
|
222
|
+
box-sizing: border-box;
|
|
223
|
+
gap: 16px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.header-logo {
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: 12px;
|
|
230
|
+
flex-shrink: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.logo-image {
|
|
234
|
+
height: 28px;
|
|
235
|
+
width: auto;
|
|
236
|
+
display: block;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.logo-text {
|
|
240
|
+
font-size: 1.15rem;
|
|
241
|
+
font-weight: 700;
|
|
242
|
+
background: linear-gradient(135deg, var(--q-fg-base) 30%, var(--q-fg-muted) 100%);
|
|
243
|
+
-webkit-background-clip: text;
|
|
244
|
+
-webkit-text-fill-color: transparent;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.header-actions {
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
gap: 20px;
|
|
251
|
+
flex-shrink: 0;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.action-btn {
|
|
255
|
+
background: var(--q-bg-surface-2);
|
|
256
|
+
border: var(--q-border);
|
|
257
|
+
color: var(--q-fg-base);
|
|
258
|
+
padding: 6px 12px;
|
|
259
|
+
border-radius: var(--q-radius-md);
|
|
260
|
+
font-size: 0.85rem;
|
|
261
|
+
font-weight: 500;
|
|
262
|
+
cursor: pointer;
|
|
263
|
+
transition:
|
|
264
|
+
background-color 0.2s,
|
|
265
|
+
color 0.2s,
|
|
266
|
+
border-color 0.2s;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.action-btn:hover {
|
|
270
|
+
background: var(--q-color-primary);
|
|
271
|
+
color: var(--q-bg-base);
|
|
272
|
+
border-color: var(--q-color-primary);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* Hamburger Menu Toggle styles */
|
|
276
|
+
.hamburger-menu {
|
|
277
|
+
display: none;
|
|
278
|
+
background: transparent;
|
|
279
|
+
border: none;
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
padding: 8px;
|
|
282
|
+
flex-direction: column;
|
|
283
|
+
gap: 5px;
|
|
284
|
+
z-index: 1001;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
align-items: center;
|
|
287
|
+
height: 40px;
|
|
288
|
+
width: 40px;
|
|
289
|
+
border-radius: var(--q-radius-md);
|
|
290
|
+
margin-right: 8px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.hamburger-menu:hover {
|
|
294
|
+
background: var(--q-btn-hover-overlay);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.hamburger-line {
|
|
298
|
+
display: block;
|
|
299
|
+
width: 20px;
|
|
300
|
+
height: 2px;
|
|
301
|
+
background-color: var(--q-fg-base);
|
|
302
|
+
transition:
|
|
303
|
+
transform 0.3s ease,
|
|
304
|
+
opacity 0.3s ease;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/* Mobile responsive menu overrides */
|
|
308
|
+
@media (max-width: 900px) {
|
|
309
|
+
.hamburger-menu {
|
|
310
|
+
display: flex;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.hamburger-menu.open .hamburger-line:nth-child(1) {
|
|
314
|
+
transform: translateY(7px) rotate(45deg);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.hamburger-menu.open .hamburger-line:nth-child(2) {
|
|
318
|
+
opacity: 0;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.hamburger-menu.open .hamburger-line:nth-child(3) {
|
|
322
|
+
transform: translateY(-7px) rotate(-45deg);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.app-header {
|
|
326
|
+
padding: 8px 10px;
|
|
327
|
+
min-height: 52px;
|
|
328
|
+
gap: 12px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.logo-text {
|
|
332
|
+
font-size: 1rem;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.header-actions {
|
|
336
|
+
gap: 10px;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
340
339
|
`;
|
|
341
340
|
|
|
342
341
|
// src/playground/components/playground-header/playground-header.tsx
|
|
@@ -444,6 +443,10 @@ playground-sidebar {
|
|
|
444
443
|
height: 100%;
|
|
445
444
|
}
|
|
446
445
|
|
|
446
|
+
playground-sidebar q-sidepanel {
|
|
447
|
+
--q-sidepanel-bg: var(--q-bg-surface-2);
|
|
448
|
+
}
|
|
449
|
+
|
|
447
450
|
/* Global Styling footer button — lives in q-sidepanel's footer slot (light DOM) */
|
|
448
451
|
.global-styling-btn {
|
|
449
452
|
display: flex;
|
|
@@ -452,9 +455,9 @@ playground-sidebar {
|
|
|
452
455
|
gap: 8px;
|
|
453
456
|
width: calc(100% - 24px);
|
|
454
457
|
margin: 4px 12px;
|
|
455
|
-
background: var(--bg-surface
|
|
456
|
-
border:
|
|
457
|
-
color: var(--
|
|
458
|
+
background: var(--q-bg-surface-2);
|
|
459
|
+
border: var(--q-border);
|
|
460
|
+
color: var(--q-fg-base);
|
|
458
461
|
padding: 10px 16px;
|
|
459
462
|
border-radius: var(--q-radius-md, 8px);
|
|
460
463
|
font-size: 0.9rem;
|
|
@@ -465,18 +468,18 @@ playground-sidebar {
|
|
|
465
468
|
}
|
|
466
469
|
|
|
467
470
|
.global-styling-btn:hover {
|
|
468
|
-
background:
|
|
469
|
-
color: var(--
|
|
471
|
+
background: color-mix(in srgb, var(--q-fg-base) 5%, var(--q-bg-surface-2));
|
|
472
|
+
color: var(--q-fg-base);
|
|
470
473
|
}
|
|
471
474
|
|
|
472
475
|
.global-styling-btn.active {
|
|
473
|
-
background:
|
|
474
|
-
color: var(--
|
|
475
|
-
border-color: var(--
|
|
476
|
+
background: color-mix(in srgb, var(--q-color-primary) 12%, transparent);
|
|
477
|
+
color: var(--q-color-primary);
|
|
478
|
+
border-color: var(--q-color-primary);
|
|
476
479
|
}
|
|
477
480
|
|
|
478
481
|
.global-styling-btn:focus-visible {
|
|
479
|
-
outline: var(--q-focus-ring
|
|
482
|
+
outline: var(--q-focus-ring);
|
|
480
483
|
outline-offset: -2px;
|
|
481
484
|
}
|
|
482
485
|
|
|
@@ -493,7 +496,7 @@ playground-sidebar {
|
|
|
493
496
|
z-index: 1000;
|
|
494
497
|
transform: translateX(-100%);
|
|
495
498
|
transition: transform 220ms ease-out;
|
|
496
|
-
box-shadow:
|
|
499
|
+
box-shadow: var(--q-shadow-high);
|
|
497
500
|
}
|
|
498
501
|
|
|
499
502
|
playground-sidebar.open {
|
|
@@ -503,6 +506,17 @@ playground-sidebar {
|
|
|
503
506
|
`;
|
|
504
507
|
|
|
505
508
|
// src/playground/components/playground-sidebar/playground-sidebar.tsx
|
|
509
|
+
var CATEGORY_LABELS = {
|
|
510
|
+
actions: "Actions",
|
|
511
|
+
"data-display": "Data Display",
|
|
512
|
+
indicators: "Indicators",
|
|
513
|
+
inputs: "Inputs",
|
|
514
|
+
layout: "Layout",
|
|
515
|
+
media: "Media",
|
|
516
|
+
overlays: "Overlays"
|
|
517
|
+
};
|
|
518
|
+
var CATEGORY_ORDER = Object.keys(CATEGORY_LABELS);
|
|
519
|
+
|
|
506
520
|
class PlaygroundSidebar extends HTMLElement {
|
|
507
521
|
components = [];
|
|
508
522
|
navPanel = null;
|
|
@@ -523,7 +537,7 @@ class PlaygroundSidebar extends HTMLElement {
|
|
|
523
537
|
this.appendChild(/* @__PURE__ */ h("q-sidepanel", {
|
|
524
538
|
id: "sidebarNav",
|
|
525
539
|
variant: "nav",
|
|
526
|
-
mode: "
|
|
540
|
+
mode: "tree"
|
|
527
541
|
}, /* @__PURE__ */ h("div", {
|
|
528
542
|
slot: "footer"
|
|
529
543
|
}, /* @__PURE__ */ h("button", {
|
|
@@ -550,10 +564,7 @@ class PlaygroundSidebar extends HTMLElement {
|
|
|
550
564
|
this.globalStylingBtn = this.querySelector("#globalStylingBtn");
|
|
551
565
|
if (!this.navPanel)
|
|
552
566
|
return;
|
|
553
|
-
this.navPanel.items = this.
|
|
554
|
-
label: comp.name,
|
|
555
|
-
value: comp.tag
|
|
556
|
-
}));
|
|
567
|
+
this.navPanel.items = this.buildNavItems();
|
|
557
568
|
this.handleNavSelect = (e) => {
|
|
558
569
|
const { value } = e.detail;
|
|
559
570
|
activeTab.set("sandbox");
|
|
@@ -571,6 +582,30 @@ class PlaygroundSidebar extends HTMLElement {
|
|
|
571
582
|
}
|
|
572
583
|
});
|
|
573
584
|
}
|
|
585
|
+
buildNavItems() {
|
|
586
|
+
const grouped = new Map;
|
|
587
|
+
this.components.forEach((component) => {
|
|
588
|
+
const category = component.category || "other";
|
|
589
|
+
const components = grouped.get(category) ?? [];
|
|
590
|
+
components.push(component);
|
|
591
|
+
grouped.set(category, components);
|
|
592
|
+
});
|
|
593
|
+
const orderedCategories = [
|
|
594
|
+
...CATEGORY_ORDER,
|
|
595
|
+
...Array.from(grouped.keys()).filter((category) => !CATEGORY_LABELS[category]).sort()
|
|
596
|
+
];
|
|
597
|
+
return orderedCategories.filter((category) => grouped.has(category)).map((category) => ({
|
|
598
|
+
label: CATEGORY_LABELS[category] ?? this.toTitleCase(category),
|
|
599
|
+
value: `category:${category}`,
|
|
600
|
+
children: grouped.get(category).map((component) => ({
|
|
601
|
+
label: component.name,
|
|
602
|
+
value: component.tag
|
|
603
|
+
}))
|
|
604
|
+
}));
|
|
605
|
+
}
|
|
606
|
+
toTitleCase(value) {
|
|
607
|
+
return value.split(/[-_\s]+/).filter(Boolean).map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join(" ");
|
|
608
|
+
}
|
|
574
609
|
disconnectedCallback() {
|
|
575
610
|
if (this.cleanupActiveEffect) {
|
|
576
611
|
this.cleanupActiveEffect();
|
|
@@ -734,6 +769,10 @@ var SYNCBACK_MAP = {
|
|
|
734
769
|
if (cfg.props)
|
|
735
770
|
cfg.props.value.currentValue = det;
|
|
736
771
|
} },
|
|
772
|
+
"q-radio-group": { qChange: (cfg, det) => {
|
|
773
|
+
if (cfg.props)
|
|
774
|
+
cfg.props.value.currentValue = det;
|
|
775
|
+
} },
|
|
737
776
|
"q-textarea": { qChange: (cfg, det) => {
|
|
738
777
|
if (cfg.props)
|
|
739
778
|
cfg.props.value.currentValue = det;
|
|
@@ -1156,328 +1195,328 @@ class VariantCard extends HTMLElement {
|
|
|
1156
1195
|
customElements.define("variant-card", VariantCard);
|
|
1157
1196
|
|
|
1158
1197
|
// src/playground/components/sandbox-viewport/sandbox-viewport.css
|
|
1159
|
-
var sandbox_viewport_default = `.main-panel {
|
|
1160
|
-
flex: 1
|
|
1161
|
-
display: flex
|
|
1162
|
-
flex-direction: column
|
|
1163
|
-
min-width: 0
|
|
1164
|
-
background: var(--bg-
|
|
1165
|
-
overflow: hidden
|
|
1166
|
-
height: 100
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
.tabs-bar {
|
|
1170
|
-
display: flex
|
|
1171
|
-
align-items: center
|
|
1172
|
-
justify-content: space-between
|
|
1173
|
-
padding: 0 24px
|
|
1174
|
-
height: 43px
|
|
1175
|
-
background: var(--bg-
|
|
1176
|
-
border-bottom:
|
|
1177
|
-
flex-shrink: 0
|
|
1178
|
-
gap: 16px
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
.tab-buttons {
|
|
1182
|
-
display: flex
|
|
1183
|
-
height: 100
|
|
1184
|
-
flex-shrink: 0
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
.tab-btn {
|
|
1188
|
-
background: transparent
|
|
1189
|
-
border: none
|
|
1190
|
-
color: var(--
|
|
1191
|
-
padding: 0 20px
|
|
1192
|
-
font-size: 0.9rem
|
|
1193
|
-
font-weight: 600
|
|
1194
|
-
cursor: pointer
|
|
1195
|
-
height: 100
|
|
1196
|
-
display: flex
|
|
1197
|
-
align-items: center
|
|
1198
|
-
border-bottom: 2px solid transparent
|
|
1199
|
-
transition: all 0.2s ease
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
.tab-btn:hover {
|
|
1203
|
-
color: var(--
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
.tab-btn.active {
|
|
1207
|
-
color: var(--primary)
|
|
1208
|
-
border-bottom-color: var(--primary)
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
.active-component-badge {
|
|
1212
|
-
font-family: monospace
|
|
1213
|
-
background: var(--bg-surface)
|
|
1214
|
-
border:
|
|
1215
|
-
padding: 4px 8px
|
|
1216
|
-
border-radius: var(--q-radius-md)
|
|
1217
|
-
font-size: 0.8rem
|
|
1218
|
-
color: var(--primary)
|
|
1219
|
-
flex-shrink: 0
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
.stage-content-wrapper {
|
|
1223
|
-
flex: 1
|
|
1224
|
-
min-height: 0
|
|
1225
|
-
position: relative
|
|
1226
|
-
display: flex
|
|
1227
|
-
flex-direction: column
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
.tab-content {
|
|
1231
|
-
display: none
|
|
1232
|
-
flex: 1
|
|
1233
|
-
min-height: 0
|
|
1234
|
-
flex-direction: column
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
.tab-content.active {
|
|
1238
|
-
display: flex
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
.sandbox-layout {
|
|
1242
|
-
display: flex
|
|
1243
|
-
flex-direction: column
|
|
1244
|
-
flex: 1
|
|
1245
|
-
min-height: 0
|
|
1246
|
-
box-sizing: border-box
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
.sandbox-main {
|
|
1250
|
-
flex: 1
|
|
1251
|
-
display: flex
|
|
1252
|
-
flex-direction: column
|
|
1253
|
-
padding: 24px
|
|
1254
|
-
gap: 20px
|
|
1255
|
-
min-height: 0
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
.sandbox-bottom-panels {
|
|
1259
|
-
display: flex
|
|
1260
|
-
gap: 20px
|
|
1261
|
-
height: 150px
|
|
1262
|
-
flex-shrink: 0
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
playground-event-log
|
|
1266
|
-
playground-code-preview {
|
|
1267
|
-
flex: 1
|
|
1268
|
-
min-width: 0
|
|
1269
|
-
height: 100
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
.stage-container {
|
|
1274
|
-
flex: 1
|
|
1275
|
-
min-height: 0
|
|
1276
|
-
background-color: var(--bg-
|
|
1277
|
-
background-image: radial-gradient(var(--bg-surface) 1.5px, transparent 1.5px)
|
|
1278
|
-
background-size: 20px 20px
|
|
1279
|
-
border:
|
|
1280
|
-
border-radius: var(--q-radius-lg)
|
|
1281
|
-
padding: 40px
|
|
1282
|
-
display: flex
|
|
1283
|
-
align-items: center
|
|
1284
|
-
justify-content: center
|
|
1285
|
-
position: relative
|
|
1286
|
-
transition
|
|
1287
|
-
background-color 0.3s ease
|
|
1288
|
-
border-color 0.3s ease
|
|
1289
|
-
transform: translate(0, 0); /* Bounded mode by default
|
|
1290
|
-
overflow: hidden
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
/* Helpers Panel inside stage
|
|
1294
|
-
.stage-helper-bar {
|
|
1295
|
-
position: absolute
|
|
1296
|
-
bottom: 16px
|
|
1297
|
-
left: 50
|
|
1298
|
-
transform: translateX(-50%)
|
|
1299
|
-
background:
|
|
1300
|
-
padding: 8px 16px
|
|
1301
|
-
border-radius: 30px
|
|
1302
|
-
border:
|
|
1303
|
-
display: flex
|
|
1304
|
-
align-items: center
|
|
1305
|
-
gap: 10px
|
|
1306
|
-
z-index: 100
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
.stage-helper-text {
|
|
1310
|
-
font-size: 0.8rem
|
|
1311
|
-
color: var(--
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
/* Grid Visual Matrix styling
|
|
1315
|
-
.variants-grid {
|
|
1316
|
-
display: grid
|
|
1317
|
-
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))
|
|
1318
|
-
gap: 24px
|
|
1319
|
-
padding: 24px
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
.variant-card {
|
|
1323
|
-
background: var(--bg-
|
|
1324
|
-
border:
|
|
1325
|
-
border-radius: var(--q-radius-lg)
|
|
1326
|
-
padding: 20px
|
|
1327
|
-
display: flex
|
|
1328
|
-
flex-direction: column
|
|
1329
|
-
gap: 16px
|
|
1330
|
-
min-width: 0
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
.variant-title-row {
|
|
1334
|
-
display: flex
|
|
1335
|
-
justify-content: space-between
|
|
1336
|
-
align-items: center
|
|
1337
|
-
border-bottom:
|
|
1338
|
-
padding-bottom: 8px
|
|
1339
|
-
gap: 16px
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
.variant-card-title {
|
|
1343
|
-
font-size: 0.9rem
|
|
1344
|
-
font-weight: 600
|
|
1345
|
-
color: var(--primary)
|
|
1346
|
-
margin: 0
|
|
1347
|
-
flex-shrink: 1
|
|
1348
|
-
min-width: 0
|
|
1349
|
-
overflow: hidden
|
|
1350
|
-
text-overflow: ellipsis
|
|
1351
|
-
white-space: nowrap
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
.variant-card-stage {
|
|
1355
|
-
display: flex
|
|
1356
|
-
align-items: center
|
|
1357
|
-
justify-content: center
|
|
1358
|
-
min-height: 160px
|
|
1359
|
-
min-width: 280px
|
|
1360
|
-
background: var(--bg-
|
|
1361
|
-
border-radius: var(--q-radius-md)
|
|
1362
|
-
padding: 20px
|
|
1363
|
-
position: relative
|
|
1364
|
-
overflow: auto
|
|
1365
|
-
border:
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
.variant-card-dimensions {
|
|
1369
|
-
position: absolute
|
|
1370
|
-
top: 8px
|
|
1371
|
-
right: 8px
|
|
1372
|
-
background:
|
|
1373
|
-
border:
|
|
1374
|
-
color: var(--
|
|
1375
|
-
font-family: monospace
|
|
1376
|
-
font-size: 0.7rem
|
|
1377
|
-
padding: 2px 6px
|
|
1378
|
-
border-radius: 4px
|
|
1379
|
-
pointer-events: none
|
|
1380
|
-
z-index: 5
|
|
1381
|
-
user-select: none
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
.variant-card-desc {
|
|
1385
|
-
font-size: 0.8rem
|
|
1386
|
-
color: var(--
|
|
1387
|
-
margin: 0
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
.variant-card-code {
|
|
1391
|
-
margin: 0
|
|
1392
|
-
padding: 10px
|
|
1393
|
-
background:
|
|
1394
|
-
border-radius: var(--q-radius-md)
|
|
1395
|
-
border:
|
|
1396
|
-
font-family: monospace
|
|
1397
|
-
font-size: 0.75rem
|
|
1398
|
-
overflow-x: auto
|
|
1399
|
-
color:
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
/* Responsive mobile view styles
|
|
1403
|
-
@media (max-width: 900px) {
|
|
1404
|
-
.sandbox-layout {
|
|
1405
|
-
flex-direction: column
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
.sandbox-main {
|
|
1409
|
-
padding: 16px
|
|
1410
|
-
gap: 16px
|
|
1411
|
-
overflow-y: auto
|
|
1412
|
-
height: auto
|
|
1413
|
-
min-height: 100
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
.stage-container {
|
|
1417
|
-
min-height: 320px
|
|
1418
|
-
padding: 20px
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
.variants-grid {
|
|
1422
|
-
grid-template-columns: 1fr
|
|
1423
|
-
padding: 16px
|
|
1424
|
-
gap: 16px
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
.tabs-bar {
|
|
1428
|
-
flex-direction: column
|
|
1429
|
-
height: auto
|
|
1430
|
-
padding: 10px 16px
|
|
1431
|
-
align-items: stretch
|
|
1432
|
-
gap: 8px
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
.tab-buttons {
|
|
1436
|
-
overflow-x: auto
|
|
1437
|
-
white-space: nowrap
|
|
1438
|
-
height: auto
|
|
1439
|
-
padding: 4px 0
|
|
1440
|
-
-webkit-overflow-scrolling: touch
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
.tab-buttons::-webkit-scrollbar {
|
|
1444
|
-
display: none
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
.tab-btn {
|
|
1448
|
-
flex-shrink: 0
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
.active-component-badge {
|
|
1452
|
-
align-self: flex-start
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
.sandbox-bottom-panels {
|
|
1456
|
-
flex-direction: column
|
|
1457
|
-
height: auto
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
|
-
.grid-empty-state {
|
|
1462
|
-
grid-column: span 3
|
|
1463
|
-
padding: 40px
|
|
1464
|
-
text-align: center
|
|
1465
|
-
color: var(--
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/* Wide components full-width layouts
|
|
1469
|
-
sandbox-viewport[active-component="q-data-table"] .variants-grid
|
|
1470
|
-
sandbox-viewport[active-component="q-data-table"] .edgecases-grid
|
|
1471
|
-
sandbox-viewport[active-component="q-step-diagram"] .variants-grid
|
|
1472
|
-
sandbox-viewport[active-component="q-step-diagram"] .edgecases-grid {
|
|
1473
|
-
grid-template-columns: 1fr
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
.variant-card-stage > q-data-table
|
|
1477
|
-
.variant-card-stage > q-step-diagram {
|
|
1478
|
-
width: 100
|
|
1479
|
-
flex: 1
|
|
1480
|
-
}
|
|
1198
|
+
var sandbox_viewport_default = `.main-panel {
|
|
1199
|
+
flex: 1;
|
|
1200
|
+
display: flex;
|
|
1201
|
+
flex-direction: column;
|
|
1202
|
+
min-width: 0;
|
|
1203
|
+
background: var(--q-bg-base);
|
|
1204
|
+
overflow: hidden;
|
|
1205
|
+
height: 100%;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.tabs-bar {
|
|
1209
|
+
display: flex;
|
|
1210
|
+
align-items: center;
|
|
1211
|
+
justify-content: space-between;
|
|
1212
|
+
padding: 0 24px;
|
|
1213
|
+
height: 43px;
|
|
1214
|
+
background: var(--q-bg-surface-1);
|
|
1215
|
+
border-bottom: var(--q-border);
|
|
1216
|
+
flex-shrink: 0;
|
|
1217
|
+
gap: 16px;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.tab-buttons {
|
|
1221
|
+
display: flex;
|
|
1222
|
+
height: 100%;
|
|
1223
|
+
flex-shrink: 0;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.tab-btn {
|
|
1227
|
+
background: transparent;
|
|
1228
|
+
border: none;
|
|
1229
|
+
color: var(--q-fg-muted);
|
|
1230
|
+
padding: 0 20px;
|
|
1231
|
+
font-size: 0.9rem;
|
|
1232
|
+
font-weight: 600;
|
|
1233
|
+
cursor: pointer;
|
|
1234
|
+
height: 100%;
|
|
1235
|
+
display: flex;
|
|
1236
|
+
align-items: center;
|
|
1237
|
+
border-bottom: 2px solid transparent;
|
|
1238
|
+
transition: all 0.2s ease;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.tab-btn:hover {
|
|
1242
|
+
color: var(--q-fg-base);
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
.tab-btn.active {
|
|
1246
|
+
color: var(--q-color-primary);
|
|
1247
|
+
border-bottom-color: var(--q-color-primary);
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.active-component-badge {
|
|
1251
|
+
font-family: monospace;
|
|
1252
|
+
background: var(--q-bg-surface-2);
|
|
1253
|
+
border: var(--q-border);
|
|
1254
|
+
padding: 4px 8px;
|
|
1255
|
+
border-radius: var(--q-radius-md);
|
|
1256
|
+
font-size: 0.8rem;
|
|
1257
|
+
color: var(--q-color-primary);
|
|
1258
|
+
flex-shrink: 0;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
.stage-content-wrapper {
|
|
1262
|
+
flex: 1;
|
|
1263
|
+
min-height: 0;
|
|
1264
|
+
position: relative;
|
|
1265
|
+
display: flex;
|
|
1266
|
+
flex-direction: column;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.tab-content {
|
|
1270
|
+
display: none;
|
|
1271
|
+
flex: 1;
|
|
1272
|
+
min-height: 0;
|
|
1273
|
+
flex-direction: column;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.tab-content.active {
|
|
1277
|
+
display: flex;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.sandbox-layout {
|
|
1281
|
+
display: flex;
|
|
1282
|
+
flex-direction: column;
|
|
1283
|
+
flex: 1;
|
|
1284
|
+
min-height: 0;
|
|
1285
|
+
box-sizing: border-box;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
.sandbox-main {
|
|
1289
|
+
flex: 1;
|
|
1290
|
+
display: flex;
|
|
1291
|
+
flex-direction: column;
|
|
1292
|
+
padding: 24px;
|
|
1293
|
+
gap: 20px;
|
|
1294
|
+
min-height: 0;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.sandbox-bottom-panels {
|
|
1298
|
+
display: flex;
|
|
1299
|
+
gap: 20px;
|
|
1300
|
+
height: 150px;
|
|
1301
|
+
flex-shrink: 0;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
playground-event-log,
|
|
1305
|
+
playground-code-preview {
|
|
1306
|
+
flex: 1;
|
|
1307
|
+
min-width: 0;
|
|
1308
|
+
height: 100%;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
.stage-container {
|
|
1313
|
+
flex: 1;
|
|
1314
|
+
min-height: 0;
|
|
1315
|
+
background-color: var(--q-bg-base);
|
|
1316
|
+
background-image: radial-gradient(var(--q-bg-surface-2) 1.5px, transparent 1.5px);
|
|
1317
|
+
background-size: 20px 20px;
|
|
1318
|
+
border: var(--q-border);
|
|
1319
|
+
border-radius: var(--q-radius-lg);
|
|
1320
|
+
padding: 40px;
|
|
1321
|
+
display: flex;
|
|
1322
|
+
align-items: center;
|
|
1323
|
+
justify-content: center;
|
|
1324
|
+
position: relative;
|
|
1325
|
+
transition:
|
|
1326
|
+
background-color 0.3s ease,
|
|
1327
|
+
border-color 0.3s ease;
|
|
1328
|
+
transform: translate(0, 0); /* Bounded mode by default */
|
|
1329
|
+
overflow: hidden;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
/* Helpers Panel inside stage */
|
|
1333
|
+
.stage-helper-bar {
|
|
1334
|
+
position: absolute;
|
|
1335
|
+
bottom: 16px;
|
|
1336
|
+
left: 50%;
|
|
1337
|
+
transform: translateX(-50%);
|
|
1338
|
+
background: color-mix(in srgb, var(--q-bg-surface-1) 95%, transparent);
|
|
1339
|
+
padding: 8px 16px;
|
|
1340
|
+
border-radius: 30px;
|
|
1341
|
+
border: var(--q-border);
|
|
1342
|
+
display: flex;
|
|
1343
|
+
align-items: center;
|
|
1344
|
+
gap: 10px;
|
|
1345
|
+
z-index: 100;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
.stage-helper-text {
|
|
1349
|
+
font-size: 0.8rem;
|
|
1350
|
+
color: var(--q-fg-muted);
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/* Grid Visual Matrix styling */
|
|
1354
|
+
.variants-grid {
|
|
1355
|
+
display: grid;
|
|
1356
|
+
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
1357
|
+
gap: 24px;
|
|
1358
|
+
padding: 24px;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.variant-card {
|
|
1362
|
+
background: var(--q-bg-surface-1);
|
|
1363
|
+
border: var(--q-border);
|
|
1364
|
+
border-radius: var(--q-radius-lg);
|
|
1365
|
+
padding: 20px;
|
|
1366
|
+
display: flex;
|
|
1367
|
+
flex-direction: column;
|
|
1368
|
+
gap: 16px;
|
|
1369
|
+
min-width: 0;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
.variant-title-row {
|
|
1373
|
+
display: flex;
|
|
1374
|
+
justify-content: space-between;
|
|
1375
|
+
align-items: center;
|
|
1376
|
+
border-bottom: var(--q-border);
|
|
1377
|
+
padding-bottom: 8px;
|
|
1378
|
+
gap: 16px;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
.variant-card-title {
|
|
1382
|
+
font-size: 0.9rem;
|
|
1383
|
+
font-weight: 600;
|
|
1384
|
+
color: var(--q-color-primary);
|
|
1385
|
+
margin: 0;
|
|
1386
|
+
flex-shrink: 1;
|
|
1387
|
+
min-width: 0;
|
|
1388
|
+
overflow: hidden;
|
|
1389
|
+
text-overflow: ellipsis;
|
|
1390
|
+
white-space: nowrap;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
.variant-card-stage {
|
|
1394
|
+
display: flex;
|
|
1395
|
+
align-items: center;
|
|
1396
|
+
justify-content: center;
|
|
1397
|
+
min-height: 160px;
|
|
1398
|
+
min-width: 280px;
|
|
1399
|
+
background: var(--q-bg-base);
|
|
1400
|
+
border-radius: var(--q-radius-md);
|
|
1401
|
+
padding: 20px;
|
|
1402
|
+
position: relative;
|
|
1403
|
+
overflow: auto;
|
|
1404
|
+
border: var(--q-border);
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.variant-card-dimensions {
|
|
1408
|
+
position: absolute;
|
|
1409
|
+
top: 8px;
|
|
1410
|
+
right: 8px;
|
|
1411
|
+
background: color-mix(in srgb, var(--q-bg-surface-1) 85%, transparent);
|
|
1412
|
+
border: var(--q-border);
|
|
1413
|
+
color: var(--q-fg-muted);
|
|
1414
|
+
font-family: monospace;
|
|
1415
|
+
font-size: 0.7rem;
|
|
1416
|
+
padding: 2px 6px;
|
|
1417
|
+
border-radius: 4px;
|
|
1418
|
+
pointer-events: none;
|
|
1419
|
+
z-index: 5;
|
|
1420
|
+
user-select: none;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
.variant-card-desc {
|
|
1424
|
+
font-size: 0.8rem;
|
|
1425
|
+
color: var(--q-fg-muted);
|
|
1426
|
+
margin: 0;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
.variant-card-code {
|
|
1430
|
+
margin: 0;
|
|
1431
|
+
padding: 10px;
|
|
1432
|
+
background: var(--q-bg-surface-1);
|
|
1433
|
+
border-radius: var(--q-radius-md);
|
|
1434
|
+
border: var(--q-border);
|
|
1435
|
+
font-family: monospace;
|
|
1436
|
+
font-size: 0.75rem;
|
|
1437
|
+
overflow-x: auto;
|
|
1438
|
+
color: var(--q-fg-base);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
/* Responsive mobile view styles */
|
|
1442
|
+
@media (max-width: 900px) {
|
|
1443
|
+
.sandbox-layout {
|
|
1444
|
+
flex-direction: column;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
.sandbox-main {
|
|
1448
|
+
padding: 16px;
|
|
1449
|
+
gap: 16px;
|
|
1450
|
+
overflow-y: auto;
|
|
1451
|
+
height: auto;
|
|
1452
|
+
min-height: 100%;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
.stage-container {
|
|
1456
|
+
min-height: 320px;
|
|
1457
|
+
padding: 20px;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
.variants-grid {
|
|
1461
|
+
grid-template-columns: 1fr;
|
|
1462
|
+
padding: 16px;
|
|
1463
|
+
gap: 16px;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
.tabs-bar {
|
|
1467
|
+
flex-direction: column;
|
|
1468
|
+
height: auto;
|
|
1469
|
+
padding: 10px 16px;
|
|
1470
|
+
align-items: stretch;
|
|
1471
|
+
gap: 8px;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
.tab-buttons {
|
|
1475
|
+
overflow-x: auto;
|
|
1476
|
+
white-space: nowrap;
|
|
1477
|
+
height: auto;
|
|
1478
|
+
padding: 4px 0;
|
|
1479
|
+
-webkit-overflow-scrolling: touch;
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
.tab-buttons::-webkit-scrollbar {
|
|
1483
|
+
display: none;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
.tab-btn {
|
|
1487
|
+
flex-shrink: 0;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
.active-component-badge {
|
|
1491
|
+
align-self: flex-start;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
.sandbox-bottom-panels {
|
|
1495
|
+
flex-direction: column;
|
|
1496
|
+
height: auto;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
.grid-empty-state {
|
|
1501
|
+
grid-column: span 3;
|
|
1502
|
+
padding: 40px;
|
|
1503
|
+
text-align: center;
|
|
1504
|
+
color: var(--q-fg-muted);
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
/* Wide components full-width layouts */
|
|
1508
|
+
sandbox-viewport[active-component="q-data-table"] .variants-grid,
|
|
1509
|
+
sandbox-viewport[active-component="q-data-table"] .edgecases-grid,
|
|
1510
|
+
sandbox-viewport[active-component="q-step-diagram"] .variants-grid,
|
|
1511
|
+
sandbox-viewport[active-component="q-step-diagram"] .edgecases-grid {
|
|
1512
|
+
grid-template-columns: 1fr;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
.variant-card-stage > q-data-table,
|
|
1516
|
+
.variant-card-stage > q-step-diagram {
|
|
1517
|
+
width: 100%;
|
|
1518
|
+
flex: 1;
|
|
1519
|
+
}
|
|
1481
1520
|
`;
|
|
1482
1521
|
|
|
1483
1522
|
// src/playground/components/sandbox-viewport/sandbox-viewport.tsx
|
|
@@ -1568,6 +1607,10 @@ class SandboxViewport extends HTMLElement {
|
|
|
1568
1607
|
}
|
|
1569
1608
|
}
|
|
1570
1609
|
}
|
|
1610
|
+
if (target.id === "stageShowToastBtn") {
|
|
1611
|
+
const toastHost = this.querySelector("q-toast");
|
|
1612
|
+
toastHost?.error("Couldn't delete user", "System-protected accounts cannot be deleted.");
|
|
1613
|
+
}
|
|
1571
1614
|
if (target.classList.contains("var-open-panel-btn")) {
|
|
1572
1615
|
const card = target.closest(".variant-card");
|
|
1573
1616
|
if (card) {
|
|
@@ -1649,8 +1692,8 @@ customElements.define("sandbox-viewport", SandboxViewport);
|
|
|
1649
1692
|
|
|
1650
1693
|
// src/playground/components/playground-event-log/playground-event-log.css
|
|
1651
1694
|
var playground_event_log_default = `.event-log-container {
|
|
1652
|
-
background:
|
|
1653
|
-
border:
|
|
1695
|
+
background: var(--q-bg-surface-1);
|
|
1696
|
+
border: var(--q-border);
|
|
1654
1697
|
border-radius: var(--q-radius-lg);
|
|
1655
1698
|
overflow: hidden;
|
|
1656
1699
|
height: 100%;
|
|
@@ -1662,16 +1705,16 @@ var playground_event_log_default = `.event-log-container {
|
|
|
1662
1705
|
justify-content: space-between;
|
|
1663
1706
|
align-items: center;
|
|
1664
1707
|
padding: 8px 16px;
|
|
1665
|
-
background:
|
|
1666
|
-
border-bottom:
|
|
1708
|
+
background: var(--q-bg-surface-2);
|
|
1709
|
+
border-bottom: var(--q-border);
|
|
1667
1710
|
font-size: 0.8rem;
|
|
1668
|
-
color:
|
|
1711
|
+
color: var(--q-fg-muted);
|
|
1669
1712
|
}
|
|
1670
1713
|
|
|
1671
1714
|
.clear-log-btn {
|
|
1672
1715
|
background: transparent;
|
|
1673
|
-
border:
|
|
1674
|
-
color:
|
|
1716
|
+
border: var(--q-border);
|
|
1717
|
+
color: var(--q-fg-base);
|
|
1675
1718
|
border-radius: 4px;
|
|
1676
1719
|
padding: 2px 6px;
|
|
1677
1720
|
font-size: 0.75rem;
|
|
@@ -1679,7 +1722,7 @@ var playground_event_log_default = `.event-log-container {
|
|
|
1679
1722
|
}
|
|
1680
1723
|
|
|
1681
1724
|
.clear-log-btn:hover {
|
|
1682
|
-
background:
|
|
1725
|
+
background: var(--q-btn-hover-overlay);
|
|
1683
1726
|
}
|
|
1684
1727
|
|
|
1685
1728
|
.event-log-body {
|
|
@@ -1693,17 +1736,17 @@ var playground_event_log_default = `.event-log-container {
|
|
|
1693
1736
|
}
|
|
1694
1737
|
|
|
1695
1738
|
.log-placeholder {
|
|
1696
|
-
color:
|
|
1739
|
+
color: var(--q-fg-muted);
|
|
1697
1740
|
font-style: italic;
|
|
1698
1741
|
}
|
|
1699
1742
|
|
|
1700
1743
|
.log-item {
|
|
1701
|
-
color:
|
|
1744
|
+
color: var(--q-color-success);
|
|
1702
1745
|
word-break: break-all;
|
|
1703
1746
|
}
|
|
1704
1747
|
|
|
1705
1748
|
.log-item-time {
|
|
1706
|
-
color:
|
|
1749
|
+
color: var(--q-fg-muted);
|
|
1707
1750
|
margin-right: 8px;
|
|
1708
1751
|
}
|
|
1709
1752
|
`;
|
|
@@ -1793,8 +1836,8 @@ customElements.define("playground-event-log", PlaygroundEventLog);
|
|
|
1793
1836
|
var playground_code_preview_default = `.code-preview-container {
|
|
1794
1837
|
position: relative;
|
|
1795
1838
|
border-radius: var(--q-radius-lg);
|
|
1796
|
-
background:
|
|
1797
|
-
border:
|
|
1839
|
+
background: var(--q-bg-surface-1);
|
|
1840
|
+
border: var(--q-border);
|
|
1798
1841
|
overflow: hidden;
|
|
1799
1842
|
height: 100%;
|
|
1800
1843
|
box-sizing: border-box;
|
|
@@ -1805,16 +1848,16 @@ var playground_code_preview_default = `.code-preview-container {
|
|
|
1805
1848
|
justify-content: space-between;
|
|
1806
1849
|
align-items: center;
|
|
1807
1850
|
padding: 8px 16px;
|
|
1808
|
-
background:
|
|
1809
|
-
border-bottom:
|
|
1851
|
+
background: var(--q-bg-surface-2);
|
|
1852
|
+
border-bottom: var(--q-border);
|
|
1810
1853
|
font-size: 0.8rem;
|
|
1811
|
-
color:
|
|
1854
|
+
color: var(--q-fg-muted);
|
|
1812
1855
|
}
|
|
1813
1856
|
|
|
1814
1857
|
.copy-btn {
|
|
1815
1858
|
background: transparent;
|
|
1816
|
-
border:
|
|
1817
|
-
color:
|
|
1859
|
+
border: var(--q-border);
|
|
1860
|
+
color: var(--q-fg-base);
|
|
1818
1861
|
border-radius: 4px;
|
|
1819
1862
|
padding: 4px 8px;
|
|
1820
1863
|
font-size: 0.75rem;
|
|
@@ -1826,8 +1869,8 @@ var playground_code_preview_default = `.code-preview-container {
|
|
|
1826
1869
|
}
|
|
1827
1870
|
|
|
1828
1871
|
.copy-btn:hover {
|
|
1829
|
-
background:
|
|
1830
|
-
border-color:
|
|
1872
|
+
background: var(--q-btn-hover-overlay);
|
|
1873
|
+
border-color: var(--q-fg-muted);
|
|
1831
1874
|
}
|
|
1832
1875
|
|
|
1833
1876
|
.code-preview-body {
|
|
@@ -1844,23 +1887,23 @@ var playground_code_preview_default = `.code-preview-container {
|
|
|
1844
1887
|
monospace;
|
|
1845
1888
|
font-size: 0.85rem;
|
|
1846
1889
|
line-height: 1.5;
|
|
1847
|
-
color:
|
|
1890
|
+
color: var(--q-fg-base);
|
|
1848
1891
|
}
|
|
1849
1892
|
|
|
1850
1893
|
/* Syntax highlighting */
|
|
1851
1894
|
.code-comment {
|
|
1852
|
-
color:
|
|
1895
|
+
color: var(--q-fg-muted);
|
|
1853
1896
|
font-style: italic;
|
|
1854
1897
|
}
|
|
1855
1898
|
.code-tag {
|
|
1856
|
-
color:
|
|
1899
|
+
color: var(--q-color-danger);
|
|
1857
1900
|
font-weight: 600;
|
|
1858
1901
|
}
|
|
1859
1902
|
.code-attr {
|
|
1860
|
-
color:
|
|
1903
|
+
color: var(--q-color-primary);
|
|
1861
1904
|
}
|
|
1862
1905
|
.code-value {
|
|
1863
|
-
color:
|
|
1906
|
+
color: var(--q-color-success);
|
|
1864
1907
|
}
|
|
1865
1908
|
`;
|
|
1866
1909
|
|
|
@@ -2029,203 +2072,218 @@ class SlotRow extends HTMLElement {
|
|
|
2029
2072
|
customElements.define("slot-row", SlotRow);
|
|
2030
2073
|
|
|
2031
2074
|
// src/playground/components/properties-panel/properties-panel.css
|
|
2032
|
-
var properties_panel_default = `.properties-panel {
|
|
2033
|
-
width: 340px
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
flex-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
border-bottom:
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
.
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
box-shadow:
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
display: block
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2075
|
+
var properties_panel_default = `.properties-panel {
|
|
2076
|
+
width: 340px;
|
|
2077
|
+
--q-sidepanel-panel-width: 340px;
|
|
2078
|
+
--q-sidepanel-panel-padding: 0;
|
|
2079
|
+
--q-sidepanel-panel-header-padding: 0;
|
|
2080
|
+
--q-sidepanel-panel-footer-padding: 0;
|
|
2081
|
+
flex-shrink: 0;
|
|
2082
|
+
display: flex;
|
|
2083
|
+
flex-direction: column;
|
|
2084
|
+
height: 100%;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
.properties-panel::part(header),
|
|
2088
|
+
.properties-panel::part(footer) {
|
|
2089
|
+
display: none;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
.properties-panel::part(body) {
|
|
2093
|
+
overflow: hidden;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
.properties-scroll-content {
|
|
2097
|
+
padding: 20px;
|
|
2098
|
+
display: flex;
|
|
2099
|
+
flex-direction: column;
|
|
2100
|
+
gap: 24px;
|
|
2101
|
+
box-sizing: border-box;
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
.properties-section-title {
|
|
2105
|
+
font-size: 0.8rem;
|
|
2106
|
+
text-transform: uppercase;
|
|
2107
|
+
letter-spacing: 0.05em;
|
|
2108
|
+
color: var(--q-fg-muted);
|
|
2109
|
+
border-bottom: var(--q-border);
|
|
2110
|
+
padding-bottom: 8px;
|
|
2111
|
+
margin: 0 0 12px 0;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
.property-row {
|
|
2115
|
+
display: flex;
|
|
2116
|
+
align-items: center;
|
|
2117
|
+
justify-content: space-between;
|
|
2118
|
+
padding: 8px 0;
|
|
2119
|
+
gap: 12px;
|
|
2120
|
+
border-bottom: 1px dashed color-mix(in srgb, var(--q-border-color) 45%, transparent);
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.property-row.vertical {
|
|
2124
|
+
flex-direction: column;
|
|
2125
|
+
align-items: flex-start;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
.property-meta {
|
|
2129
|
+
flex: 1;
|
|
2130
|
+
min-width: 0;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
.property-control-container {
|
|
2134
|
+
flex: 1;
|
|
2135
|
+
display: flex;
|
|
2136
|
+
justify-content: flex-end;
|
|
2137
|
+
min-width: 0;
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
.property-label {
|
|
2141
|
+
font-size: 0.85rem;
|
|
2142
|
+
font-weight: 500;
|
|
2143
|
+
color: var(--q-fg-base);
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
.property-label-sub {
|
|
2147
|
+
font-size: 0.7rem;
|
|
2148
|
+
color: var(--q-fg-muted);
|
|
2149
|
+
display: block;
|
|
2150
|
+
margin-top: 2px;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
.properties-panel-header {
|
|
2154
|
+
display: none;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
.properties-toggle-btn {
|
|
2158
|
+
display: none;
|
|
2159
|
+
position: fixed;
|
|
2160
|
+
bottom: 24px;
|
|
2161
|
+
right: 24px;
|
|
2162
|
+
background: linear-gradient(135deg, var(--q-color-primary) 0%, var(--q-color-primary-hover) 100%);
|
|
2163
|
+
color: var(--q-bg-base);
|
|
2164
|
+
border: none;
|
|
2165
|
+
border-radius: 50px;
|
|
2166
|
+
padding: 12px 20px;
|
|
2167
|
+
font-weight: 600;
|
|
2168
|
+
font-size: 0.9rem;
|
|
2169
|
+
cursor: pointer;
|
|
2170
|
+
box-shadow: var(--q-glow-interactive);
|
|
2171
|
+
align-items: center;
|
|
2172
|
+
gap: 8px;
|
|
2173
|
+
z-index: 998;
|
|
2174
|
+
transition:
|
|
2175
|
+
transform 0.2s,
|
|
2176
|
+
box-shadow 0.2s;
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
.properties-toggle-btn:hover {
|
|
2180
|
+
transform: translateY(-2px);
|
|
2181
|
+
box-shadow: var(--q-shadow-medium), var(--q-glow-interactive);
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
.properties-toggle-btn:active {
|
|
2185
|
+
transform: translateY(0);
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
.properties-toggle-icon {
|
|
2189
|
+
font-size: 1rem;
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
/* Custom WebQuark Component Properties Layout */
|
|
2193
|
+
.property-row:not(.vertical) q-dropdown,
|
|
2194
|
+
.property-row:not(.vertical) q-input {
|
|
2195
|
+
width: 100% !important;
|
|
2196
|
+
display: block !important;
|
|
2197
|
+
min-width: 0 !important;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
.property-row.vertical q-input,
|
|
2201
|
+
.property-row.vertical q-textarea,
|
|
2202
|
+
.property-row.vertical q-syntax-box {
|
|
2203
|
+
width: 100%;
|
|
2204
|
+
max-width: 100%;
|
|
2205
|
+
box-sizing: border-box;
|
|
2206
|
+
margin-top: 6px;
|
|
2207
|
+
display: block;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
/* Mobile properties panel overrides */
|
|
2211
|
+
@media (max-width: 900px) {
|
|
2212
|
+
.properties-panel {
|
|
2213
|
+
position: fixed;
|
|
2214
|
+
bottom: 0;
|
|
2215
|
+
left: 0;
|
|
2216
|
+
right: 0;
|
|
2217
|
+
height: 60vh;
|
|
2218
|
+
width: 100%;
|
|
2219
|
+
z-index: 1000;
|
|
2220
|
+
transform: translateY(100%);
|
|
2221
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2222
|
+
--q-sidepanel-panel-width: 100%;
|
|
2223
|
+
border-left: none;
|
|
2224
|
+
box-shadow: var(--q-shadow-high);
|
|
2225
|
+
box-sizing: border-box;
|
|
2226
|
+
display: flex;
|
|
2227
|
+
flex-direction: column;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
.properties-panel::part(panel) {
|
|
2231
|
+
border-left: none;
|
|
2232
|
+
border-top: var(--q-border);
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
.properties-panel.open {
|
|
2236
|
+
transform: translateY(0);
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
.properties-section {
|
|
2240
|
+
flex: none;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
.properties-panel-header {
|
|
2244
|
+
display: flex;
|
|
2245
|
+
align-items: center;
|
|
2246
|
+
justify-content: space-between;
|
|
2247
|
+
padding-bottom: 12px;
|
|
2248
|
+
border-bottom: var(--q-border);
|
|
2249
|
+
margin-bottom: 8px;
|
|
2250
|
+
gap: 16px;
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
.properties-panel-header span {
|
|
2254
|
+
font-weight: 700;
|
|
2255
|
+
font-size: 1rem;
|
|
2256
|
+
color: var(--q-fg-base);
|
|
2257
|
+
flex-shrink: 1;
|
|
2258
|
+
min-width: 0;
|
|
2259
|
+
overflow: hidden;
|
|
2260
|
+
text-overflow: ellipsis;
|
|
2261
|
+
white-space: nowrap;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
.properties-close-btn {
|
|
2265
|
+
background: transparent;
|
|
2266
|
+
border: none;
|
|
2267
|
+
color: var(--q-fg-base);
|
|
2268
|
+
font-size: 1.5rem;
|
|
2269
|
+
cursor: pointer;
|
|
2270
|
+
padding: 4px 8px;
|
|
2271
|
+
line-height: 1;
|
|
2272
|
+
display: flex;
|
|
2273
|
+
align-items: center;
|
|
2274
|
+
justify-content: center;
|
|
2275
|
+
flex-shrink: 0;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
.properties-toggle-btn {
|
|
2279
|
+
display: flex;
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
.property-empty-state {
|
|
2284
|
+
color: var(--q-fg-muted);
|
|
2285
|
+
font-size: 0.85rem;
|
|
2286
|
+
}
|
|
2229
2287
|
`;
|
|
2230
2288
|
|
|
2231
2289
|
// src/playground/components/properties-panel/properties-panel.tsx
|
|
@@ -2251,9 +2309,11 @@ class PropertiesPanel extends HTMLElement {
|
|
|
2251
2309
|
type: "button",
|
|
2252
2310
|
onClick: () => this.closePanel()
|
|
2253
2311
|
}, "×");
|
|
2254
|
-
this.panel = /* @__PURE__ */ h("
|
|
2312
|
+
this.panel = /* @__PURE__ */ h("q-sidepanel", {
|
|
2255
2313
|
class: "properties-panel",
|
|
2256
|
-
id: "propertiesPanel"
|
|
2314
|
+
id: "propertiesPanel",
|
|
2315
|
+
variant: "panel",
|
|
2316
|
+
side: "right"
|
|
2257
2317
|
}, /* @__PURE__ */ h("q-scrollable", {
|
|
2258
2318
|
height: "100%"
|
|
2259
2319
|
}, /* @__PURE__ */ h("div", {
|
|
@@ -2521,201 +2581,201 @@ class TokenSection extends HTMLElement {
|
|
|
2521
2581
|
customElements.define("token-section", TokenSection);
|
|
2522
2582
|
|
|
2523
2583
|
// src/playground/components/theme-designer/theme-designer.css
|
|
2524
|
-
var theme_designer_default = `.theme-designer-container {
|
|
2525
|
-
padding: 32px 24px
|
|
2526
|
-
max-width: 1000px
|
|
2527
|
-
margin: 0 auto
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
|
-
.theme-designer-header {
|
|
2531
|
-
display: flex
|
|
2532
|
-
align-items: center
|
|
2533
|
-
justify-content: space-between
|
|
2534
|
-
margin-bottom: 8px
|
|
2535
|
-
flex-wrap: wrap
|
|
2536
|
-
gap: 16px
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
|
-
.theme-designer-header h2 {
|
|
2540
|
-
font-size: 1.75rem
|
|
2541
|
-
font-weight: 700
|
|
2542
|
-
margin: 0
|
|
2543
|
-
background: linear-gradient(135deg, var(--
|
|
2544
|
-
-webkit-background-clip: text
|
|
2545
|
-
-webkit-text-fill-color: transparent
|
|
2546
|
-
}
|
|
2547
|
-
|
|
2548
|
-
.theme-designer-desc {
|
|
2549
|
-
font-size: 0.95rem
|
|
2550
|
-
color: var(--
|
|
2551
|
-
margin: 0 0 32px 0
|
|
2552
|
-
line-height: 1.5
|
|
2553
|
-
}
|
|
2554
|
-
|
|
2555
|
-
.reset-theme-btn {
|
|
2556
|
-
display: flex
|
|
2557
|
-
align-items: center
|
|
2558
|
-
gap: 8px
|
|
2559
|
-
background: transparent
|
|
2560
|
-
border:
|
|
2561
|
-
color: var(--
|
|
2562
|
-
padding: 8px 16px
|
|
2563
|
-
border-radius: var(--q-radius-md, 8px)
|
|
2564
|
-
font-size: 0.85rem
|
|
2565
|
-
font-weight: 600
|
|
2566
|
-
cursor: pointer
|
|
2567
|
-
transition: all 0.2s ease
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
.reset-theme-btn:hover {
|
|
2571
|
-
background:
|
|
2572
|
-
border-color: var(--
|
|
2573
|
-
}
|
|
2574
|
-
|
|
2575
|
-
.theme-sections-grid {
|
|
2576
|
-
display: grid
|
|
2577
|
-
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))
|
|
2578
|
-
gap: 24px
|
|
2579
|
-
margin-top: 16px
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
.theme-section-card {
|
|
2583
|
-
background: var(--bg-
|
|
2584
|
-
border:
|
|
2585
|
-
border-radius: var(--q-radius-lg, 12px)
|
|
2586
|
-
padding: 24px
|
|
2587
|
-
box-shadow: var(--shadow-
|
|
2588
|
-
}
|
|
2589
|
-
|
|
2590
|
-
.theme-section-card h3 {
|
|
2591
|
-
font-size: 1.15rem
|
|
2592
|
-
font-weight: 600
|
|
2593
|
-
margin: 0 0 20px 0
|
|
2594
|
-
padding-bottom: 10px
|
|
2595
|
-
border-bottom:
|
|
2596
|
-
color: var(--
|
|
2597
|
-
}
|
|
2598
|
-
|
|
2599
|
-
.token-row {
|
|
2600
|
-
display: flex
|
|
2601
|
-
flex-direction: column
|
|
2602
|
-
gap: 8px
|
|
2603
|
-
margin-bottom: 20px
|
|
2604
|
-
}
|
|
2605
|
-
|
|
2606
|
-
.token-row:last-child {
|
|
2607
|
-
margin-bottom: 0
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
|
-
.token-info {
|
|
2611
|
-
display: flex
|
|
2612
|
-
flex-direction: column
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
|
-
.token-label {
|
|
2616
|
-
font-size: 0.9rem
|
|
2617
|
-
font-weight: 600
|
|
2618
|
-
color: var(--
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
.token-desc {
|
|
2622
|
-
font-size: 0.75rem
|
|
2623
|
-
color: var(--
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
.token-control-wrapper {
|
|
2627
|
-
display: flex
|
|
2628
|
-
align-items: center
|
|
2629
|
-
gap: 12px
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
/* Color control styling
|
|
2633
|
-
.color-input-container {
|
|
2634
|
-
display: flex
|
|
2635
|
-
align-items: center
|
|
2636
|
-
gap: 8px
|
|
2637
|
-
width: 100
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
.color-picker-wrapper {
|
|
2641
|
-
position: relative
|
|
2642
|
-
width: 38px
|
|
2643
|
-
height: 38px
|
|
2644
|
-
border-radius: var(--q-radius-md, 8px)
|
|
2645
|
-
overflow: hidden
|
|
2646
|
-
border:
|
|
2647
|
-
cursor: pointer
|
|
2648
|
-
flex-shrink: 0
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
|
-
.color-swatch-picker {
|
|
2652
|
-
position: absolute
|
|
2653
|
-
top: -8px
|
|
2654
|
-
left: -8px
|
|
2655
|
-
width: 56px
|
|
2656
|
-
height: 56px
|
|
2657
|
-
padding: 0
|
|
2658
|
-
border: 0
|
|
2659
|
-
cursor: pointer
|
|
2660
|
-
background: none
|
|
2661
|
-
}
|
|
2662
|
-
|
|
2663
|
-
.color-text-input {
|
|
2664
|
-
flex: 1
|
|
2665
|
-
background: var(--bg-
|
|
2666
|
-
border:
|
|
2667
|
-
color: var(--
|
|
2668
|
-
padding: 8px 12px
|
|
2669
|
-
border-radius: var(--q-radius-md, 8px)
|
|
2670
|
-
font-size: 0.85rem
|
|
2671
|
-
font-family: monospace
|
|
2672
|
-
}
|
|
2673
|
-
|
|
2674
|
-
.color-text-input:focus {
|
|
2675
|
-
outline: none
|
|
2676
|
-
border-color: var(--primary)
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
|
-
/* Range input/slider overrides
|
|
2680
|
-
.range-slider-container {
|
|
2681
|
-
display: flex
|
|
2682
|
-
align-items: center
|
|
2683
|
-
gap: 12px
|
|
2684
|
-
width: 100
|
|
2685
|
-
}
|
|
2686
|
-
|
|
2687
|
-
.range-slider-input {
|
|
2688
|
-
flex: 1
|
|
2689
|
-
-webkit-appearance: none
|
|
2690
|
-
appearance: none
|
|
2691
|
-
height: 6px
|
|
2692
|
-
border-radius: 3px
|
|
2693
|
-
background: var(--bg-
|
|
2694
|
-
outline: none
|
|
2695
|
-
}
|
|
2696
|
-
|
|
2697
|
-
.range-slider-input::-webkit-slider-thumb {
|
|
2698
|
-
-webkit-appearance: none
|
|
2699
|
-
appearance: none
|
|
2700
|
-
width: 16px
|
|
2701
|
-
height: 16px
|
|
2702
|
-
border-radius: 50
|
|
2703
|
-
background: var(--primary)
|
|
2704
|
-
cursor: pointer
|
|
2705
|
-
transition: transform 0.1s ease
|
|
2706
|
-
}
|
|
2707
|
-
|
|
2708
|
-
.range-slider-input::-webkit-slider-thumb:hover {
|
|
2709
|
-
transform: scale(1.2)
|
|
2710
|
-
}
|
|
2711
|
-
|
|
2712
|
-
.range-slider-value {
|
|
2713
|
-
font-size: 0.85rem
|
|
2714
|
-
font-family: monospace
|
|
2715
|
-
color: var(--
|
|
2716
|
-
min-width: 40px
|
|
2717
|
-
text-align: right
|
|
2718
|
-
}
|
|
2584
|
+
var theme_designer_default = `.theme-designer-container {
|
|
2585
|
+
padding: 32px 24px;
|
|
2586
|
+
max-width: 1000px;
|
|
2587
|
+
margin: 0 auto;
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
.theme-designer-header {
|
|
2591
|
+
display: flex;
|
|
2592
|
+
align-items: center;
|
|
2593
|
+
justify-content: space-between;
|
|
2594
|
+
margin-bottom: 8px;
|
|
2595
|
+
flex-wrap: wrap;
|
|
2596
|
+
gap: 16px;
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
.theme-designer-header h2 {
|
|
2600
|
+
font-size: 1.75rem;
|
|
2601
|
+
font-weight: 700;
|
|
2602
|
+
margin: 0;
|
|
2603
|
+
background: linear-gradient(135deg, var(--q-fg-base) 30%, var(--q-color-primary) 100%);
|
|
2604
|
+
-webkit-background-clip: text;
|
|
2605
|
+
-webkit-text-fill-color: transparent;
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
.theme-designer-desc {
|
|
2609
|
+
font-size: 0.95rem;
|
|
2610
|
+
color: var(--q-fg-muted);
|
|
2611
|
+
margin: 0 0 32px 0;
|
|
2612
|
+
line-height: 1.5;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
.reset-theme-btn {
|
|
2616
|
+
display: flex;
|
|
2617
|
+
align-items: center;
|
|
2618
|
+
gap: 8px;
|
|
2619
|
+
background: transparent;
|
|
2620
|
+
border: var(--q-border);
|
|
2621
|
+
color: var(--q-fg-base);
|
|
2622
|
+
padding: 8px 16px;
|
|
2623
|
+
border-radius: var(--q-radius-md, 8px);
|
|
2624
|
+
font-size: 0.85rem;
|
|
2625
|
+
font-weight: 600;
|
|
2626
|
+
cursor: pointer;
|
|
2627
|
+
transition: all 0.2s ease;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
.reset-theme-btn:hover {
|
|
2631
|
+
background: var(--q-btn-hover-overlay);
|
|
2632
|
+
border-color: var(--q-fg-base);
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
.theme-sections-grid {
|
|
2636
|
+
display: grid;
|
|
2637
|
+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
2638
|
+
gap: 24px;
|
|
2639
|
+
margin-top: 16px;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
.theme-section-card {
|
|
2643
|
+
background: var(--q-bg-surface-1);
|
|
2644
|
+
border: var(--q-border);
|
|
2645
|
+
border-radius: var(--q-radius-lg, 12px);
|
|
2646
|
+
padding: 24px;
|
|
2647
|
+
box-shadow: var(--q-shadow-low);
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
.theme-section-card h3 {
|
|
2651
|
+
font-size: 1.15rem;
|
|
2652
|
+
font-weight: 600;
|
|
2653
|
+
margin: 0 0 20px 0;
|
|
2654
|
+
padding-bottom: 10px;
|
|
2655
|
+
border-bottom: var(--q-border);
|
|
2656
|
+
color: var(--q-fg-base);
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
.token-row {
|
|
2660
|
+
display: flex;
|
|
2661
|
+
flex-direction: column;
|
|
2662
|
+
gap: 8px;
|
|
2663
|
+
margin-bottom: 20px;
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
.token-row:last-child {
|
|
2667
|
+
margin-bottom: 0;
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
.token-info {
|
|
2671
|
+
display: flex;
|
|
2672
|
+
flex-direction: column;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
.token-label {
|
|
2676
|
+
font-size: 0.9rem;
|
|
2677
|
+
font-weight: 600;
|
|
2678
|
+
color: var(--q-fg-base);
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
.token-desc {
|
|
2682
|
+
font-size: 0.75rem;
|
|
2683
|
+
color: var(--q-fg-muted);
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
.token-control-wrapper {
|
|
2687
|
+
display: flex;
|
|
2688
|
+
align-items: center;
|
|
2689
|
+
gap: 12px;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
/* Color control styling */
|
|
2693
|
+
.color-input-container {
|
|
2694
|
+
display: flex;
|
|
2695
|
+
align-items: center;
|
|
2696
|
+
gap: 8px;
|
|
2697
|
+
width: 100%;
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
.color-picker-wrapper {
|
|
2701
|
+
position: relative;
|
|
2702
|
+
width: 38px;
|
|
2703
|
+
height: 38px;
|
|
2704
|
+
border-radius: var(--q-radius-md, 8px);
|
|
2705
|
+
overflow: hidden;
|
|
2706
|
+
border: var(--q-border);
|
|
2707
|
+
cursor: pointer;
|
|
2708
|
+
flex-shrink: 0;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
.color-swatch-picker {
|
|
2712
|
+
position: absolute;
|
|
2713
|
+
top: -8px;
|
|
2714
|
+
left: -8px;
|
|
2715
|
+
width: 56px;
|
|
2716
|
+
height: 56px;
|
|
2717
|
+
padding: 0;
|
|
2718
|
+
border: 0;
|
|
2719
|
+
cursor: pointer;
|
|
2720
|
+
background: none;
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
.color-text-input {
|
|
2724
|
+
flex: 1;
|
|
2725
|
+
background: var(--q-bg-base);
|
|
2726
|
+
border: var(--q-border);
|
|
2727
|
+
color: var(--q-fg-base);
|
|
2728
|
+
padding: 8px 12px;
|
|
2729
|
+
border-radius: var(--q-radius-md, 8px);
|
|
2730
|
+
font-size: 0.85rem;
|
|
2731
|
+
font-family: monospace;
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
.color-text-input:focus {
|
|
2735
|
+
outline: none;
|
|
2736
|
+
border-color: var(--q-color-primary);
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
/* Range input/slider overrides */
|
|
2740
|
+
.range-slider-container {
|
|
2741
|
+
display: flex;
|
|
2742
|
+
align-items: center;
|
|
2743
|
+
gap: 12px;
|
|
2744
|
+
width: 100%;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
.range-slider-input {
|
|
2748
|
+
flex: 1;
|
|
2749
|
+
-webkit-appearance: none;
|
|
2750
|
+
appearance: none;
|
|
2751
|
+
height: 6px;
|
|
2752
|
+
border-radius: 3px;
|
|
2753
|
+
background: var(--q-bg-surface-2);
|
|
2754
|
+
outline: none;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
.range-slider-input::-webkit-slider-thumb {
|
|
2758
|
+
-webkit-appearance: none;
|
|
2759
|
+
appearance: none;
|
|
2760
|
+
width: 16px;
|
|
2761
|
+
height: 16px;
|
|
2762
|
+
border-radius: 50%;
|
|
2763
|
+
background: var(--q-color-primary);
|
|
2764
|
+
cursor: pointer;
|
|
2765
|
+
transition: transform 0.1s ease;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
.range-slider-input::-webkit-slider-thumb:hover {
|
|
2769
|
+
transform: scale(1.2);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
.range-slider-value {
|
|
2773
|
+
font-size: 0.85rem;
|
|
2774
|
+
font-family: monospace;
|
|
2775
|
+
color: var(--q-fg-base);
|
|
2776
|
+
min-width: 40px;
|
|
2777
|
+
text-align: right;
|
|
2778
|
+
}
|
|
2719
2779
|
`;
|
|
2720
2780
|
|
|
2721
2781
|
// src/playground/components/theme-designer/theme-designer.tsx
|
|
@@ -2735,9 +2795,11 @@ var THEME_TOKENS = [
|
|
|
2735
2795
|
category: "Surfaces & Backgrounds",
|
|
2736
2796
|
tokens: [
|
|
2737
2797
|
{ name: "--q-bg-base", label: "Base Background", type: "color", desc: "Lowest canvas background" },
|
|
2738
|
-
{ name: "--q-bg-surface-1", label: "Surface 1", type: "color", desc: "Sidebar/
|
|
2739
|
-
{ name: "--q-bg-surface-2", label: "Surface 2", type: "color", desc: "
|
|
2740
|
-
{ name: "--q-bg-surface-3", label: "Surface 3", type: "color", desc: "
|
|
2798
|
+
{ name: "--q-bg-surface-1", label: "Surface 1", type: "color", desc: "Sidebar / primary panels" },
|
|
2799
|
+
{ name: "--q-bg-surface-2", label: "Surface 2", type: "color", desc: "Cards / nested panels" },
|
|
2800
|
+
{ name: "--q-bg-surface-3", label: "Surface 3", type: "color", desc: "Popovers / raised controls" },
|
|
2801
|
+
{ name: "--q-bg-surface-4", label: "Surface 4", type: "color", desc: "Strong raised surfaces" },
|
|
2802
|
+
{ name: "--q-bg-surface-5", label: "Surface 5", type: "color", desc: "Highest contrast neutral surface" }
|
|
2741
2803
|
]
|
|
2742
2804
|
},
|
|
2743
2805
|
{
|
|
@@ -2767,7 +2829,7 @@ class ThemeDesigner extends HTMLElement {
|
|
|
2767
2829
|
}, /* @__PURE__ */ h("div", {
|
|
2768
2830
|
style: "flex: 1"
|
|
2769
2831
|
}, /* @__PURE__ */ h("h2", {
|
|
2770
|
-
style: "margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--
|
|
2832
|
+
style: "margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--q-fg-base)"
|
|
2771
2833
|
}, "Global Styling Designer"), /* @__PURE__ */ h("p", {
|
|
2772
2834
|
class: "theme-designer-desc"
|
|
2773
2835
|
}, "Customize global brand tokens and spacing variables. Overrides apply instantly to all sandbox components.")), /* @__PURE__ */ h("button", {
|