@webquark/core 1.1.0-dev.4 → 1.1.0-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -9
- package/dist/cjs/{action.props-CkEZpMY6.js → action.props-CtwTiyf6.js} +1 -1
- package/dist/cjs/field-CiEtk37y.js +14 -0
- package/dist/cjs/{index-B7ex88C2.js → index-BLlc_shC.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q-accordion.cjs.entry.js +18 -0
- package/dist/cjs/q-alert.cjs.entry.js +1 -1
- package/dist/cjs/q-avatar.cjs.entry.js +6 -6
- package/dist/cjs/q-banner.cjs.entry.js +19 -0
- package/dist/cjs/q-button_2.cjs.entry.js +7 -7
- package/dist/cjs/q-card.cjs.entry.js +17 -6
- package/dist/cjs/q-carousel.cjs.entry.js +3 -3
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +6 -6
- package/dist/cjs/q-data-table.cjs.entry.js +4 -4
- package/dist/cjs/q-dialog.cjs.entry.js +22 -8
- package/dist/cjs/q-dropdown.cjs.entry.js +50 -6
- package/dist/cjs/q-form.cjs.entry.js +11 -5
- package/dist/cjs/q-grid.cjs.entry.js +24 -0
- package/dist/cjs/q-icon.cjs.entry.js +16 -6
- package/dist/cjs/q-inline.cjs.entry.js +22 -0
- package/dist/cjs/q-input_2.cjs.entry.js +14 -7
- package/dist/cjs/q-link.cjs.entry.js +5 -5
- package/dist/cjs/q-map.cjs.entry.js +2 -2
- package/dist/cjs/q-media.cjs.entry.js +21 -0
- package/dist/cjs/q-navbar.cjs.entry.js +229 -8
- package/dist/cjs/q-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q-panel.cjs.entry.js +17 -8
- package/dist/cjs/q-quantity-selector.cjs.entry.js +15 -8
- package/dist/cjs/q-radio-group.cjs.entry.js +14 -7
- package/dist/cjs/q-reel.cjs.entry.js +3 -3
- package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
- package/dist/cjs/q-section.cjs.entry.js +20 -0
- package/dist/cjs/q-sidepanel.cjs.entry.js +14 -7
- package/dist/cjs/q-stack.cjs.entry.js +20 -0
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +7 -4
- package/dist/cjs/q-step-diagram.cjs.entry.js +21 -11
- package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
- package/dist/cjs/q-tabs.cjs.entry.js +3 -3
- package/dist/cjs/q-textarea.cjs.entry.js +61 -7
- package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
- package/dist/cjs/q-toast.cjs.entry.js +3 -3
- package/dist/cjs/q-toggle.cjs.entry.js +14 -6
- package/dist/cjs/q-toolbar.cjs.entry.js +8 -4
- package/dist/cjs/tokens-DGECOqpA.js +42 -0
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +16 -9
- package/dist/collection/components/actions/button/button.css +55 -4
- package/dist/collection/components/actions/button/button.js +4 -4
- package/dist/collection/components/actions/link/link.js +8 -5
- package/dist/collection/components/{data-display → communication}/alert/alert.js +2 -2
- package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.js +40 -40
- package/dist/collection/components/{overlays → communication}/toast/test/toast.cmp.test.js +1 -1
- package/dist/collection/components/{overlays → communication}/toast/toast.js +14 -14
- package/dist/collection/components/content/banner/banner.css +1 -0
- package/dist/collection/components/content/banner/banner.js +84 -0
- package/dist/collection/components/{layout → content}/card/card.css +12 -0
- package/dist/collection/components/content/card/card.js +308 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.js +4 -4
- package/dist/collection/components/data-display/accordion/accordion.css +1 -0
- package/dist/collection/components/data-display/accordion/accordion.js +54 -0
- package/dist/collection/components/{actions → data-display}/chip/chip.js +5 -5
- package/dist/collection/components/data-display/data-table/data-table.js +3 -3
- package/dist/collection/components/data-display/map/map.js +1 -1
- package/dist/collection/components/data-display/pagination/pagination.js +1 -1
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +50 -11
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.css +7 -7
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +36 -4
- package/dist/collection/components/inputs/dropdown/dropdown.css +77 -34
- package/dist/collection/components/inputs/dropdown/dropdown.js +202 -6
- package/dist/collection/components/inputs/form/form.css +85 -0
- package/dist/collection/components/{layout → inputs}/form/form.js +105 -13
- package/dist/collection/components/inputs/form/form.types.js +1 -0
- package/dist/collection/components/inputs/input/input.css +78 -62
- package/dist/collection/components/inputs/input/input.js +77 -9
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +43 -3
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +70 -7
- package/dist/collection/components/inputs/radio-group/radio-group.css +77 -30
- package/dist/collection/components/inputs/radio-group/radio-group.js +77 -9
- package/dist/collection/components/inputs/textarea/textarea.css +85 -1
- package/dist/collection/components/inputs/textarea/textarea.js +149 -7
- package/dist/collection/components/inputs/toggle/toggle.css +80 -48
- package/dist/collection/components/inputs/toggle/toggle.js +72 -6
- package/dist/collection/components/layout/grid/grid.css +11 -0
- package/dist/collection/components/layout/grid/grid.js +152 -0
- package/dist/collection/components/layout/inline/inline.css +4 -0
- package/dist/collection/components/layout/inline/inline.js +118 -0
- package/dist/collection/components/layout/navbar/navbar.css +119 -0
- package/dist/collection/components/layout/navbar/navbar.js +310 -9
- package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +317 -1
- package/dist/collection/components/layout/panel/panel.css +13 -12
- package/dist/collection/components/layout/panel/panel.js +139 -10
- package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
- package/dist/collection/components/layout/section/section.css +1 -0
- package/dist/collection/components/layout/section/section.js +98 -0
- package/dist/collection/components/layout/section/section.types.js +1 -0
- package/dist/collection/components/layout/sidepanel/internals/nav-items.js +1 -1
- package/dist/collection/components/layout/sidepanel/sidepanel.js +90 -10
- package/dist/collection/components/layout/stack/stack.css +4 -0
- package/dist/collection/components/layout/stack/stack.js +76 -0
- package/dist/collection/components/layout/tabs/tabs.js +2 -2
- package/dist/collection/components/layout/toolbar/toolbar.css +24 -1
- package/dist/collection/components/layout/toolbar/toolbar.js +81 -3
- package/dist/collection/components/media/avatar/avatar.js +43 -43
- package/dist/collection/components/media/icon/icon.js +79 -18
- package/dist/collection/components/media/media/media.css +1 -0
- package/dist/collection/components/media/media/media.js +125 -0
- package/dist/collection/components/media/media/media.types.js +1 -0
- package/dist/collection/components/media/reel/reel.js +2 -2
- package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/overlays/dialog/dialog.css +16 -0
- package/dist/collection/components/overlays/dialog/dialog.js +144 -14
- package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
- package/dist/collection/components/shared/field.js +8 -0
- package/dist/collection/components/shared/test/orientation.cmp.test.js +36 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/playground/components/playground-event-log/playground-event-log.js +1 -1
- package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +5 -3
- package/dist/collection/playground/components/theme-designer/theme-designer.js +13 -35
- package/dist/collection/playground/components/theme-designer/token-row.js +26 -7
- package/dist/collection/playground/playground.bundled.js +846 -34
- package/dist/collection/theme/test/foundation.cmp.test.js +347 -0
- package/dist/collection/theme/tokens.js +828 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-0PieXMX9.js +1 -0
- package/dist/components/p-BOYjkCNa.js +1 -0
- package/dist/components/p-Bw4TVbfm.js +1 -0
- package/dist/components/{p-7oXL29Gu.js → p-BxFGkrUe.js} +1 -1
- package/dist/components/{p-CQofbR9q.js → p-CK7avZdv.js} +1 -1
- package/dist/components/p-Cx1vCuMp.js +1 -0
- package/dist/components/{p-Czf3kP0S.js → p-D0Q2vrt5.js} +1 -1
- package/dist/components/p-GU98U1DJ.js +1 -0
- package/dist/components/{p-C8fq-feq.js → p-NEolaUak.js} +1 -1
- package/dist/components/p-f95uguY1.js +1 -0
- package/dist/components/q-accordion.d.ts +11 -0
- package/dist/components/q-accordion.js +1 -0
- package/dist/components/q-alert.js +1 -1
- package/dist/components/q-avatar.js +1 -1
- package/dist/components/q-banner.d.ts +11 -0
- package/dist/components/q-banner.js +1 -0
- package/dist/components/q-button.js +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-chip.js +1 -1
- package/dist/components/q-conversation-bubble.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.d.ts +11 -0
- package/dist/components/q-grid.js +1 -0
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-inline.d.ts +11 -0
- package/dist/components/q-inline.js +1 -0
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-link.js +1 -1
- package/dist/components/q-map.js +1 -1
- package/dist/components/q-media.d.ts +11 -0
- package/dist/components/q-media.js +1 -0
- package/dist/components/q-navbar.js +1 -1
- package/dist/components/q-pagination.js +1 -1
- package/dist/components/q-panel.js +1 -1
- package/dist/components/q-progress.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-radio-group.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-section.d.ts +11 -0
- package/dist/components/q-section.js +1 -0
- package/dist/components/q-sidepanel.js +3 -3
- package/dist/components/q-stack.d.ts +11 -0
- package/dist/components/q-stack.js +1 -0
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +2 -2
- package/dist/components/q-tabs.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toast.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/components/q-toolbar.js +1 -1
- package/dist/components/q-tooltip.js +1 -1
- package/dist/esm/{action.props-CJoxGHR7.js → action.props-GP1ameE3.js} +1 -1
- package/dist/esm/field-DkpyvZiX.js +11 -0
- package/dist/esm/{index-VFWyFa-_.js → index-DbGG9Q40.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/q-accordion.entry.js +16 -0
- package/dist/esm/q-alert.entry.js +1 -1
- package/dist/esm/q-avatar.entry.js +6 -6
- package/dist/esm/q-banner.entry.js +17 -0
- package/dist/esm/q-button_2.entry.js +7 -7
- package/dist/esm/q-card.entry.js +17 -6
- package/dist/esm/q-carousel.entry.js +3 -3
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-conversation-bubble.entry.js +6 -6
- package/dist/esm/q-data-table.entry.js +4 -4
- package/dist/esm/q-dialog.entry.js +22 -8
- package/dist/esm/q-dropdown.entry.js +50 -6
- package/dist/esm/q-form.entry.js +11 -5
- package/dist/esm/q-grid.entry.js +22 -0
- package/dist/esm/q-icon.entry.js +16 -6
- package/dist/esm/q-inline.entry.js +20 -0
- package/dist/esm/q-input_2.entry.js +14 -7
- package/dist/esm/q-link.entry.js +5 -5
- package/dist/esm/q-map.entry.js +2 -2
- package/dist/esm/q-media.entry.js +19 -0
- package/dist/esm/q-navbar.entry.js +229 -8
- package/dist/esm/q-pagination.entry.js +2 -2
- package/dist/esm/q-panel.entry.js +17 -8
- package/dist/esm/q-quantity-selector.entry.js +15 -8
- package/dist/esm/q-radio-group.entry.js +14 -7
- package/dist/esm/q-reel.entry.js +3 -3
- package/dist/esm/q-scrollable.entry.js +4 -4
- package/dist/esm/q-section.entry.js +18 -0
- package/dist/esm/q-sidepanel.entry.js +14 -7
- package/dist/esm/q-stack.entry.js +18 -0
- package/dist/esm/q-step-diagram-item.entry.js +7 -4
- package/dist/esm/q-step-diagram.entry.js +21 -11
- package/dist/esm/q-syntax-box.entry.js +1 -1
- package/dist/esm/q-tabs.entry.js +3 -3
- package/dist/esm/q-textarea.entry.js +61 -7
- package/dist/esm/q-thumbnail.entry.js +3 -3
- package/dist/esm/q-toast.entry.js +3 -3
- package/dist/esm/q-toggle.entry.js +14 -6
- package/dist/esm/q-toolbar.entry.js +8 -4
- package/dist/esm/tokens-f95uguY1.js +38 -0
- package/dist/esm/webquark.js +3 -3
- package/dist/playground/build/p-0aea8464.entry.js +1 -0
- package/dist/playground/build/p-0aecd9b1.entry.js +1 -0
- package/dist/playground/build/p-0d98e500.entry.js +1 -0
- package/dist/playground/build/p-139fec38.entry.js +1 -0
- package/dist/{webquark/p-0053ec76.entry.js → playground/build/p-15502232.entry.js} +1 -1
- package/dist/playground/build/p-17340abf.entry.js +1 -0
- package/dist/playground/build/p-303dcac8.entry.js +1 -0
- package/dist/playground/build/p-408bf48a.entry.js +1 -0
- package/dist/playground/build/p-47253466.entry.js +1 -0
- package/dist/playground/build/p-5f6860f2.entry.js +13 -0
- package/dist/playground/build/p-6b619655.entry.js +1 -0
- package/dist/playground/build/p-6b63922b.entry.js +1 -0
- package/dist/playground/build/p-71e3d582.entry.js +1 -0
- package/dist/playground/build/p-737ca99e.entry.js +1 -0
- package/dist/playground/build/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
- package/dist/playground/build/p-8115ec23.entry.js +1 -0
- package/dist/playground/build/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
- package/dist/playground/build/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
- package/dist/playground/build/p-9418caa0.entry.js +1 -0
- package/dist/playground/build/p-96ef2b54.entry.js +1 -0
- package/dist/playground/build/p-97dae970.entry.js +1 -0
- package/dist/{webquark/p-b5066051.entry.js → playground/build/p-989bdc1a.entry.js} +1 -1
- package/dist/playground/build/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
- package/dist/playground/build/p-DbGG9Q40.js +3 -0
- package/dist/playground/build/p-JgeOdXyP.js +1 -0
- package/dist/playground/build/p-a4b36120.entry.js +1 -0
- package/dist/playground/build/p-abf54361.entry.js +1 -0
- package/dist/playground/build/p-aed4b219.entry.js +1 -0
- package/dist/playground/build/p-b3a07d94.entry.js +1 -0
- package/dist/{webquark/p-8077aa3f.entry.js → playground/build/p-b465aebd.entry.js} +1 -1
- package/dist/playground/build/p-c1f3dca6.entry.js +1 -0
- package/dist/playground/build/p-c4899c2b.entry.js +1 -0
- package/dist/{webquark/p-1c9a82b8.entry.js → playground/build/p-c4fd89b8.entry.js} +1 -1
- package/dist/playground/build/p-cf8f7f2a.entry.js +1 -0
- package/dist/playground/build/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
- package/dist/{webquark/p-6c0bc4b9.entry.js → playground/build/p-d7d436c5.entry.js} +1 -1
- package/dist/playground/build/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
- package/dist/{webquark/p-8ec7d250.entry.js → playground/build/p-eb71e335.entry.js} +1 -1
- package/dist/playground/build/p-ecbc0fee.entry.js +1 -0
- package/dist/{webquark/p-d837603c.entry.js → playground/build/p-ed327679.entry.js} +1 -1
- package/dist/{webquark/p-e0e6b68f.entry.js → playground/build/p-f911c90f.entry.js} +1 -1
- package/dist/playground/build/p-f95uguY1.js +1 -0
- package/dist/{webquark/p-13329777.entry.js → playground/build/p-ff1e2363.entry.js} +1 -1
- package/dist/playground/build/webquark.css +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/playground/components.manifest.json +40 -35
- package/dist/playground/playground/specs/q-button.sandbox.json +3 -2
- package/dist/playground/playground/specs/q-card.sandbox.json +37 -3
- package/dist/playground/playground/specs/q-dialog.sandbox.json +16 -6
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +12 -2
- package/dist/playground/playground/specs/q-form.sandbox.json +88 -10
- package/dist/playground/playground/specs/q-grid.sandbox.json +56 -0
- package/dist/playground/playground/specs/q-icon.sandbox.json +11 -11
- package/dist/playground/playground/specs/q-inline.sandbox.json +60 -0
- package/dist/playground/playground/specs/q-input.sandbox.json +12 -2
- package/dist/playground/playground/specs/q-navbar.sandbox.json +11 -3
- package/dist/playground/playground/specs/q-panel.sandbox.json +138 -17
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +13 -2
- package/dist/playground/playground/specs/q-radio-group.sandbox.json +46 -10
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +7 -7
- package/dist/playground/playground/specs/q-stack.sandbox.json +56 -0
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +5 -5
- package/dist/playground/playground/specs/q-textarea.sandbox.json +20 -0
- package/dist/playground/playground/specs/q-toggle.sandbox.json +12 -2
- package/dist/playground/playground/specs/q-toolbar.sandbox.json +99 -14
- package/dist/playground/playground.js +846 -34
- package/dist/types/components/actions/button/button.types.d.ts +2 -1
- package/dist/types/components/actions/link/link.d.ts +1 -1
- package/dist/types/components/communication/toast/test/toast.cmp.test.d.ts +2 -0
- package/dist/types/components/communication/toast/test/toast.unit.test.d.ts +1 -0
- package/dist/types/components/content/banner/banner.d.ts +12 -0
- package/dist/types/components/content/banner/banner.types.d.ts +2 -0
- package/dist/types/components/{layout → content}/card/card.d.ts +11 -0
- package/dist/types/components/content/card/card.types.d.ts +1 -0
- package/dist/types/components/{layout → content}/card/card.utils.d.ts +1 -1
- package/dist/types/components/data-display/accordion/accordion.d.ts +9 -0
- package/dist/types/components/data-display/accordion/accordion.types.d.ts +1 -0
- package/dist/types/components/indicators/step-diagram/step-diagram.d.ts +6 -3
- package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +3 -1
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +4 -2
- package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +3 -1
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +13 -0
- package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +2 -1
- package/dist/types/components/{layout → inputs}/form/form.d.ts +6 -0
- package/dist/types/components/inputs/input/input.d.ts +7 -1
- package/dist/types/components/inputs/input/input.types.d.ts +2 -1
- package/dist/types/components/inputs/quantity-selector/quantity-selector.d.ts +6 -1
- package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +3 -1
- package/dist/types/components/inputs/radio-group/radio-group.d.ts +7 -1
- package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +2 -1
- package/dist/types/components/inputs/textarea/textarea.d.ts +16 -1
- package/dist/types/components/inputs/toggle/toggle.d.ts +6 -0
- package/dist/types/components/inputs/toggle/toggle.types.d.ts +2 -1
- package/dist/types/components/layout/grid/grid.d.ts +13 -0
- package/dist/types/components/layout/inline/inline.d.ts +12 -0
- package/dist/types/components/layout/navbar/navbar.d.ts +29 -1
- package/dist/types/components/layout/navbar/navbar.types.d.ts +2 -0
- package/dist/types/components/layout/panel/panel.d.ts +8 -0
- package/dist/types/components/layout/panel/panel.types.d.ts +2 -1
- package/dist/types/components/layout/section/section.d.ts +13 -0
- package/dist/types/components/layout/section/section.types.d.ts +1 -0
- package/dist/types/components/layout/sidepanel/sidepanel.d.ts +7 -0
- package/dist/types/components/layout/stack/stack.d.ts +10 -0
- package/dist/types/components/layout/toolbar/toolbar.d.ts +4 -0
- package/dist/types/components/media/avatar/avatar.d.ts +4 -4
- package/dist/types/components/media/icon/icon.d.ts +7 -3
- package/dist/types/components/media/media/media.d.ts +13 -0
- package/dist/types/components/media/media/media.types.d.ts +2 -0
- package/dist/types/components/overlays/dialog/dialog.d.ts +14 -2
- package/dist/types/components/shared/field.d.ts +3 -0
- package/dist/types/components/shared/test/orientation.cmp.test.d.ts +1 -0
- package/dist/types/components.d.ts +911 -68
- package/dist/types/index.d.ts +8 -3
- package/dist/types/playground/components/theme-designer/token-row.d.ts +2 -1
- package/dist/types/theme/test/assets.d.ts +4 -0
- package/dist/types/theme/test/foundation.cmp.test.d.ts +16 -0
- package/dist/types/theme/tokens.d.ts +63 -0
- package/dist/webquark/p-0aea8464.entry.js +1 -0
- package/dist/webquark/p-0aecd9b1.entry.js +1 -0
- package/dist/webquark/p-0d98e500.entry.js +1 -0
- package/dist/webquark/p-139fec38.entry.js +1 -0
- package/dist/{playground/build/p-0053ec76.entry.js → webquark/p-15502232.entry.js} +1 -1
- package/dist/webquark/p-17340abf.entry.js +1 -0
- package/dist/webquark/p-303dcac8.entry.js +1 -0
- package/dist/webquark/p-408bf48a.entry.js +1 -0
- package/dist/webquark/p-47253466.entry.js +1 -0
- package/dist/webquark/p-5f6860f2.entry.js +13 -0
- package/dist/webquark/p-6b619655.entry.js +1 -0
- package/dist/webquark/p-6b63922b.entry.js +1 -0
- package/dist/webquark/p-71e3d582.entry.js +1 -0
- package/dist/webquark/p-737ca99e.entry.js +1 -0
- package/dist/webquark/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
- package/dist/webquark/p-8115ec23.entry.js +1 -0
- package/dist/webquark/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
- package/dist/webquark/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
- package/dist/webquark/p-9418caa0.entry.js +1 -0
- package/dist/webquark/p-96ef2b54.entry.js +1 -0
- package/dist/webquark/p-97dae970.entry.js +1 -0
- package/dist/{playground/build/p-b5066051.entry.js → webquark/p-989bdc1a.entry.js} +1 -1
- package/dist/webquark/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
- package/dist/webquark/p-DbGG9Q40.js +3 -0
- package/dist/webquark/p-JgeOdXyP.js +1 -0
- package/dist/webquark/p-a4b36120.entry.js +1 -0
- package/dist/webquark/p-abf54361.entry.js +1 -0
- package/dist/webquark/p-aed4b219.entry.js +1 -0
- package/dist/webquark/p-b3a07d94.entry.js +1 -0
- package/dist/{playground/build/p-8077aa3f.entry.js → webquark/p-b465aebd.entry.js} +1 -1
- package/dist/webquark/p-c1f3dca6.entry.js +1 -0
- package/dist/webquark/p-c4899c2b.entry.js +1 -0
- package/dist/{playground/build/p-1c9a82b8.entry.js → webquark/p-c4fd89b8.entry.js} +1 -1
- package/dist/webquark/p-cf8f7f2a.entry.js +1 -0
- package/dist/webquark/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
- package/dist/{playground/build/p-6c0bc4b9.entry.js → webquark/p-d7d436c5.entry.js} +1 -1
- package/dist/webquark/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
- package/dist/{playground/build/p-8ec7d250.entry.js → webquark/p-eb71e335.entry.js} +1 -1
- package/dist/webquark/p-ecbc0fee.entry.js +1 -0
- package/dist/{playground/build/p-d837603c.entry.js → webquark/p-ed327679.entry.js} +1 -1
- package/dist/{playground/build/p-e0e6b68f.entry.js → webquark/p-f911c90f.entry.js} +1 -1
- package/dist/webquark/p-f95uguY1.js +1 -0
- package/dist/{playground/build/p-13329777.entry.js → webquark/p-ff1e2363.entry.js} +1 -1
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +68 -5
- package/scripts/wq-switch/README.md +141 -0
- package/scripts/wq-switch/dist/index.js +543 -0
- package/scripts/wq-switch/dist/setup.js +349 -0
- package/dist/collection/components/layout/card/card.js +0 -168
- package/dist/collection/components/layout/form/form.css +0 -49
- package/dist/components/p-BygmcFxM.js +0 -1
- package/dist/components/p-CVtof65h.js +0 -1
- package/dist/components/p-I81wUKud.js +0 -1
- package/dist/components/p-vv3X99Ji.js +0 -1
- package/dist/playground/build/p-0363c0e6.entry.js +0 -1
- package/dist/playground/build/p-0e3dbe01.entry.js +0 -1
- package/dist/playground/build/p-226c2f79.entry.js +0 -13
- package/dist/playground/build/p-38b92be6.entry.js +0 -1
- package/dist/playground/build/p-42831108.entry.js +0 -1
- package/dist/playground/build/p-50ca27f7.entry.js +0 -1
- package/dist/playground/build/p-5c08aa94.entry.js +0 -1
- package/dist/playground/build/p-611ef3e0.entry.js +0 -1
- package/dist/playground/build/p-684292dd.entry.js +0 -1
- package/dist/playground/build/p-7081c96b.entry.js +0 -1
- package/dist/playground/build/p-789eb3c9.entry.js +0 -1
- package/dist/playground/build/p-8d0aa5a7.entry.js +0 -1
- package/dist/playground/build/p-9978ae38.entry.js +0 -1
- package/dist/playground/build/p-VFWyFa-_.js +0 -3
- package/dist/playground/build/p-b99541cd.entry.js +0 -1
- package/dist/playground/build/p-ca1a1d25.entry.js +0 -1
- package/dist/playground/build/p-e15e6d76.entry.js +0 -1
- package/dist/playground/build/p-e272dd45.entry.js +0 -1
- package/dist/playground/build/p-e8003179.entry.js +0 -1
- package/dist/types/components/layout/card/card.types.d.ts +0 -1
- package/dist/types/components/overlays/toast/test/toast.cmp.test.d.ts +0 -2
- package/dist/webquark/p-0363c0e6.entry.js +0 -1
- package/dist/webquark/p-0e3dbe01.entry.js +0 -1
- package/dist/webquark/p-226c2f79.entry.js +0 -13
- package/dist/webquark/p-38b92be6.entry.js +0 -1
- package/dist/webquark/p-42831108.entry.js +0 -1
- package/dist/webquark/p-50ca27f7.entry.js +0 -1
- package/dist/webquark/p-5c08aa94.entry.js +0 -1
- package/dist/webquark/p-611ef3e0.entry.js +0 -1
- package/dist/webquark/p-684292dd.entry.js +0 -1
- package/dist/webquark/p-7081c96b.entry.js +0 -1
- package/dist/webquark/p-789eb3c9.entry.js +0 -1
- package/dist/webquark/p-8d0aa5a7.entry.js +0 -1
- package/dist/webquark/p-9978ae38.entry.js +0 -1
- package/dist/webquark/p-VFWyFa-_.js +0 -3
- package/dist/webquark/p-b99541cd.entry.js +0 -1
- package/dist/webquark/p-ca1a1d25.entry.js +0 -1
- package/dist/webquark/p-e15e6d76.entry.js +0 -1
- package/dist/webquark/p-e272dd45.entry.js +0 -1
- package/dist/webquark/p-e8003179.entry.js +0 -1
- package/dist/collection/components/{data-display → communication}/alert/alert.css +0 -0
- package/dist/collection/components/{data-display → communication}/alert/alert.types.js +0 -0
- package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.css +0 -0
- package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/internals/icons.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/internals/queue.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/internals/timers.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/test/toast.unit.test.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/toast-controller.js +0 -0
- package/dist/collection/components/{overlays → communication}/toast/toast.css +0 -0
- package/dist/collection/components/{overlays → communication}/toast/toast.types.js +0 -0
- package/dist/collection/components/{actions/chip/chip.types.js → content/banner/banner.types.js} +0 -0
- package/dist/collection/components/{layout → content}/card/card.types.js +0 -0
- package/dist/collection/components/{layout → content}/card/card.utils.js +0 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.css +0 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.types.js +0 -0
- package/dist/collection/components/{layout → content}/carousel/carousel.utils.js +0 -0
- package/dist/collection/components/{layout → content}/carousel/internals/metrics.js +0 -0
- package/dist/collection/components/{layout/form/form.types.js → data-display/accordion/accordion.types.js} +0 -0
- package/dist/collection/components/{actions → data-display}/chip/chip.css +0 -0
- package/dist/{types/components/overlays/toast/test/toast.unit.test.d.ts → collection/components/data-display/chip/chip.types.js} +0 -0
- package/dist/collection/components/{layout → inputs}/form/internals/controls.js +0 -0
- package/dist/collection/components/{layout → inputs}/form/internals/enter-behavior.js +0 -0
- package/dist/collection/components/{layout → inputs}/form/internals/values.js +0 -0
- package/dist/collection/components/{layout → inputs}/form/test/form.cmp.test.js +0 -0
- package/dist/types/components/{data-display → communication}/alert/alert.d.ts +0 -0
- package/dist/types/components/{data-display → communication}/alert/alert.types.d.ts +0 -0
- package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.d.ts +3 -3
- /package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/internals/icons.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/internals/queue.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/internals/timers.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/toast-controller.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/toast.d.ts +0 -0
- /package/dist/types/components/{overlays → communication}/toast/toast.types.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/carousel.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/carousel.types.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/carousel.utils.d.ts +0 -0
- /package/dist/types/components/{layout → content}/carousel/internals/metrics.d.ts +0 -0
- /package/dist/types/components/{actions → data-display}/chip/chip.d.ts +0 -0
- /package/dist/types/components/{actions → data-display}/chip/chip.types.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/form.types.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/internals/controls.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/internals/enter-behavior.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/internals/values.d.ts +0 -0
- /package/dist/types/components/{layout → inputs}/form/test/form.cmp.test.d.ts +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Generic section shell. Layout properties are reserved for the presentation pass.
|
|
4
|
+
* @slot - Consumer-owned content.
|
|
5
|
+
* @slot media - Media content.
|
|
6
|
+
* @slot actions - Action content.
|
|
7
|
+
*/
|
|
8
|
+
export class QSection {
|
|
9
|
+
layout = 'full';
|
|
10
|
+
reverse = false;
|
|
11
|
+
columns = 1;
|
|
12
|
+
render() {
|
|
13
|
+
return h(Host, { key: '742848f9d58c70a6e21eb32d548acf01bc465d96' }, h("slot", { key: '774a388cefc0f30baab3d8c91bffd7a29ef8d596', name: "media" }), h("slot", { key: '4edfda8dc5ed7bc97f2446d1865884ca965a101d' }), h("slot", { key: 'f15da707788ef683ac04b5309da91c68333a85dd', name: "actions" }));
|
|
14
|
+
}
|
|
15
|
+
static get is() { return "q-section"; }
|
|
16
|
+
static get encapsulation() { return "shadow"; }
|
|
17
|
+
static get originalStyleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["section.css"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get styleUrls() {
|
|
23
|
+
return {
|
|
24
|
+
"$": ["section.css"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
static get properties() {
|
|
28
|
+
return {
|
|
29
|
+
"layout": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"mutable": false,
|
|
32
|
+
"complexType": {
|
|
33
|
+
"original": "QSectionLayout",
|
|
34
|
+
"resolved": "\"columns\" | \"full\" | \"sidebar\" | \"split\"",
|
|
35
|
+
"references": {
|
|
36
|
+
"QSectionLayout": {
|
|
37
|
+
"location": "import",
|
|
38
|
+
"path": "./section.types",
|
|
39
|
+
"id": "src/components/layout/section/section.types.ts::QSectionLayout",
|
|
40
|
+
"referenceLocation": "QSectionLayout"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": false,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": ""
|
|
49
|
+
},
|
|
50
|
+
"getter": false,
|
|
51
|
+
"setter": false,
|
|
52
|
+
"reflect": true,
|
|
53
|
+
"attribute": "layout",
|
|
54
|
+
"defaultValue": "'full'"
|
|
55
|
+
},
|
|
56
|
+
"reverse": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "boolean",
|
|
61
|
+
"resolved": "boolean",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": ""
|
|
69
|
+
},
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false,
|
|
72
|
+
"reflect": true,
|
|
73
|
+
"attribute": "reverse",
|
|
74
|
+
"defaultValue": "false"
|
|
75
|
+
},
|
|
76
|
+
"columns": {
|
|
77
|
+
"type": "number",
|
|
78
|
+
"mutable": false,
|
|
79
|
+
"complexType": {
|
|
80
|
+
"original": "number",
|
|
81
|
+
"resolved": "number",
|
|
82
|
+
"references": {}
|
|
83
|
+
},
|
|
84
|
+
"required": false,
|
|
85
|
+
"optional": false,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": ""
|
|
89
|
+
},
|
|
90
|
+
"getter": false,
|
|
91
|
+
"setter": false,
|
|
92
|
+
"reflect": true,
|
|
93
|
+
"attribute": "columns",
|
|
94
|
+
"defaultValue": "1"
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -25,6 +25,6 @@ export function renderNavItems(options) {
|
|
|
25
25
|
e.preventDefault();
|
|
26
26
|
onItemClick(item);
|
|
27
27
|
}
|
|
28
|
-
} }, item.icon && (h("q-icon", { class: "nav-item__icon", name: item.icon,
|
|
28
|
+
} }, item.icon && (h("q-icon", { class: "nav-item__icon", name: item.icon, library: "lucide", size: "sm" })), h("span", { class: "nav-item__label" }, item.label), hasBadge && (h("span", { class: "nav-item__badge", part: "item-badge", "aria-hidden": "true" }, count > 99 ? '99+' : count)), hasChildren && !isAlwaysExpanded && (h("q-icon", { class: { 'nav-item__chevron': true, 'nav-item__chevron--open': isExpanded }, definition: ChevronRight, name: "chevron-right", size: "sm" }))), hasChildren && isExpanded && (h("div", { class: "nav-children", role: "group", "aria-label": item.label }, renderNavItems({ items: item.children, expandedGroups, activeValue, onItemClick, depth: depth + 1 })))));
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -48,6 +48,8 @@ export class QSidepanel {
|
|
|
48
48
|
open = false;
|
|
49
49
|
side = 'right';
|
|
50
50
|
/** Drawer width or height, depending on `side`. */
|
|
51
|
+
drawerSize;
|
|
52
|
+
/** @deprecated Use drawerSize. Used only when drawerSize is unset. */
|
|
51
53
|
panelSize = '320px';
|
|
52
54
|
// ── Nav-mode props ────────────────────────────────────────────────────────
|
|
53
55
|
/** Navigation items rendered in nav mode. */
|
|
@@ -56,6 +58,9 @@ export class QSidepanel {
|
|
|
56
58
|
value = '';
|
|
57
59
|
/** Displays items as a flat list, one-level groups, or a deep tree. */
|
|
58
60
|
mode = 'flat';
|
|
61
|
+
/** Seeds navigation group expansion before user interaction. Defaults to true. */
|
|
62
|
+
defaultGroupsExpanded;
|
|
63
|
+
/** @deprecated Use defaultGroupsExpanded. Used only when defaultGroupsExpanded is unset. */
|
|
59
64
|
expanded = true;
|
|
60
65
|
/** Opening one group collapses its siblings. */
|
|
61
66
|
accordion = false;
|
|
@@ -66,6 +71,8 @@ export class QSidepanel {
|
|
|
66
71
|
/** `none` delegates the collapse control and `collapsed` state to the consumer. */
|
|
67
72
|
collapseControl = 'none';
|
|
68
73
|
/** `edge-tab` is intended for `collapse-control="edge"`. */
|
|
74
|
+
collapseControlStyle;
|
|
75
|
+
/** @deprecated Use collapseControlStyle. Used only when collapseControlStyle is unset. */
|
|
69
76
|
collapseControlAppearance = 'icon-button';
|
|
70
77
|
/** Measured from the top on vertical sides and left on horizontal sides. */
|
|
71
78
|
collapseControlPosition = '';
|
|
@@ -105,7 +112,7 @@ export class QSidepanel {
|
|
|
105
112
|
this.hasFooterContent = this.hasSlotContent('footer');
|
|
106
113
|
// Nav mode
|
|
107
114
|
this.normalizedItems = getSidepanelItems(this.items);
|
|
108
|
-
if (this.expanded) {
|
|
115
|
+
if (this.defaultGroupsExpanded ?? this.expanded) {
|
|
109
116
|
seedExpandedGroups(this.normalizedItems, this.expandedGroups);
|
|
110
117
|
}
|
|
111
118
|
}
|
|
@@ -132,7 +139,7 @@ export class QSidepanel {
|
|
|
132
139
|
}
|
|
133
140
|
handleItemsChange() {
|
|
134
141
|
this.normalizedItems = getSidepanelItems(this.items);
|
|
135
|
-
if (this.expanded && !this.hasUserToggledGroups) {
|
|
142
|
+
if ((this.defaultGroupsExpanded ?? this.expanded) && !this.hasUserToggledGroups) {
|
|
136
143
|
const newSet = new Set();
|
|
137
144
|
seedExpandedGroups(this.normalizedItems, newSet);
|
|
138
145
|
this.expandedGroups = newSet;
|
|
@@ -241,7 +248,7 @@ export class QSidepanel {
|
|
|
241
248
|
}
|
|
242
249
|
}
|
|
243
250
|
getCollapseIconName() {
|
|
244
|
-
return this.collapseControlAppearance === 'edge-tab'
|
|
251
|
+
return (this.collapseControlStyle ?? this.collapseControlAppearance) === 'edge-tab'
|
|
245
252
|
? this.getEdgeTabCollapseIconName()
|
|
246
253
|
: this.getIconButtonCollapseIconName();
|
|
247
254
|
}
|
|
@@ -259,7 +266,7 @@ export class QSidepanel {
|
|
|
259
266
|
renderCollapseControl(placement) {
|
|
260
267
|
const collapseControlLabel = this.getCollapseControlLabel();
|
|
261
268
|
const iconSlotName = this.collapsed ? 'expand-icon' : 'collapse-icon';
|
|
262
|
-
const isEdgeTab = placement === 'edge' && this.collapseControlAppearance === 'edge-tab';
|
|
269
|
+
const isEdgeTab = placement === 'edge' && (this.collapseControlStyle ?? this.collapseControlAppearance) === 'edge-tab';
|
|
263
270
|
const controlStyle = this.collapseControlPosition.trim()
|
|
264
271
|
? { '--q-sidepanel-collapse-control-position': this.collapseControlPosition.trim() }
|
|
265
272
|
: undefined;
|
|
@@ -272,7 +279,7 @@ export class QSidepanel {
|
|
|
272
279
|
}
|
|
273
280
|
render() {
|
|
274
281
|
const customSizeStyle = {
|
|
275
|
-
'--q-panel-width': this.panelSize,
|
|
282
|
+
'--q-panel-width': this.drawerSize ?? this.panelSize,
|
|
276
283
|
};
|
|
277
284
|
const ariaLabel = this.ariaLabel?.trim() || undefined;
|
|
278
285
|
if (this.variant === 'nav') {
|
|
@@ -423,7 +430,7 @@ export class QSidepanel {
|
|
|
423
430
|
"attribute": "side",
|
|
424
431
|
"defaultValue": "'right'"
|
|
425
432
|
},
|
|
426
|
-
"
|
|
433
|
+
"drawerSize": {
|
|
427
434
|
"type": "string",
|
|
428
435
|
"mutable": false,
|
|
429
436
|
"complexType": {
|
|
@@ -432,7 +439,7 @@ export class QSidepanel {
|
|
|
432
439
|
"references": {}
|
|
433
440
|
},
|
|
434
441
|
"required": false,
|
|
435
|
-
"optional":
|
|
442
|
+
"optional": true,
|
|
436
443
|
"docs": {
|
|
437
444
|
"tags": [],
|
|
438
445
|
"text": "Drawer width or height, depending on `side`."
|
|
@@ -440,6 +447,28 @@ export class QSidepanel {
|
|
|
440
447
|
"getter": false,
|
|
441
448
|
"setter": false,
|
|
442
449
|
"reflect": false,
|
|
450
|
+
"attribute": "drawer-size"
|
|
451
|
+
},
|
|
452
|
+
"panelSize": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"mutable": false,
|
|
455
|
+
"complexType": {
|
|
456
|
+
"original": "string",
|
|
457
|
+
"resolved": "string",
|
|
458
|
+
"references": {}
|
|
459
|
+
},
|
|
460
|
+
"required": false,
|
|
461
|
+
"optional": false,
|
|
462
|
+
"docs": {
|
|
463
|
+
"tags": [{
|
|
464
|
+
"name": "deprecated",
|
|
465
|
+
"text": "Use drawerSize. Used only when drawerSize is unset."
|
|
466
|
+
}],
|
|
467
|
+
"text": ""
|
|
468
|
+
},
|
|
469
|
+
"getter": false,
|
|
470
|
+
"setter": false,
|
|
471
|
+
"reflect": false,
|
|
443
472
|
"attribute": "panel-size",
|
|
444
473
|
"defaultValue": "'320px'"
|
|
445
474
|
},
|
|
@@ -515,6 +544,25 @@ export class QSidepanel {
|
|
|
515
544
|
"attribute": "mode",
|
|
516
545
|
"defaultValue": "'flat'"
|
|
517
546
|
},
|
|
547
|
+
"defaultGroupsExpanded": {
|
|
548
|
+
"type": "boolean",
|
|
549
|
+
"mutable": false,
|
|
550
|
+
"complexType": {
|
|
551
|
+
"original": "boolean",
|
|
552
|
+
"resolved": "boolean",
|
|
553
|
+
"references": {}
|
|
554
|
+
},
|
|
555
|
+
"required": false,
|
|
556
|
+
"optional": true,
|
|
557
|
+
"docs": {
|
|
558
|
+
"tags": [],
|
|
559
|
+
"text": "Seeds navigation group expansion before user interaction. Defaults to true."
|
|
560
|
+
},
|
|
561
|
+
"getter": false,
|
|
562
|
+
"setter": false,
|
|
563
|
+
"reflect": false,
|
|
564
|
+
"attribute": "default-groups-expanded"
|
|
565
|
+
},
|
|
518
566
|
"expanded": {
|
|
519
567
|
"type": "boolean",
|
|
520
568
|
"mutable": false,
|
|
@@ -526,7 +574,10 @@ export class QSidepanel {
|
|
|
526
574
|
"required": false,
|
|
527
575
|
"optional": false,
|
|
528
576
|
"docs": {
|
|
529
|
-
"tags": [
|
|
577
|
+
"tags": [{
|
|
578
|
+
"name": "deprecated",
|
|
579
|
+
"text": "Use defaultGroupsExpanded. Used only when defaultGroupsExpanded is unset."
|
|
580
|
+
}],
|
|
530
581
|
"text": ""
|
|
531
582
|
},
|
|
532
583
|
"getter": false,
|
|
@@ -622,7 +673,7 @@ export class QSidepanel {
|
|
|
622
673
|
"attribute": "collapse-control",
|
|
623
674
|
"defaultValue": "'none'"
|
|
624
675
|
},
|
|
625
|
-
"
|
|
676
|
+
"collapseControlStyle": {
|
|
626
677
|
"type": "string",
|
|
627
678
|
"mutable": false,
|
|
628
679
|
"complexType": {
|
|
@@ -638,7 +689,7 @@ export class QSidepanel {
|
|
|
638
689
|
}
|
|
639
690
|
},
|
|
640
691
|
"required": false,
|
|
641
|
-
"optional":
|
|
692
|
+
"optional": true,
|
|
642
693
|
"docs": {
|
|
643
694
|
"tags": [],
|
|
644
695
|
"text": "`edge-tab` is intended for `collapse-control=\"edge\"`."
|
|
@@ -646,6 +697,35 @@ export class QSidepanel {
|
|
|
646
697
|
"getter": false,
|
|
647
698
|
"setter": false,
|
|
648
699
|
"reflect": true,
|
|
700
|
+
"attribute": "collapse-control-style"
|
|
701
|
+
},
|
|
702
|
+
"collapseControlAppearance": {
|
|
703
|
+
"type": "string",
|
|
704
|
+
"mutable": false,
|
|
705
|
+
"complexType": {
|
|
706
|
+
"original": "QSidepanelCollapseControlAppearance",
|
|
707
|
+
"resolved": "\"edge-tab\" | \"icon-button\"",
|
|
708
|
+
"references": {
|
|
709
|
+
"QSidepanelCollapseControlAppearance": {
|
|
710
|
+
"location": "import",
|
|
711
|
+
"path": "./sidepanel.types",
|
|
712
|
+
"id": "src/components/layout/sidepanel/sidepanel.types.ts::QSidepanelCollapseControlAppearance",
|
|
713
|
+
"referenceLocation": "QSidepanelCollapseControlAppearance"
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"required": false,
|
|
718
|
+
"optional": false,
|
|
719
|
+
"docs": {
|
|
720
|
+
"tags": [{
|
|
721
|
+
"name": "deprecated",
|
|
722
|
+
"text": "Use collapseControlStyle. Used only when collapseControlStyle is unset."
|
|
723
|
+
}],
|
|
724
|
+
"text": ""
|
|
725
|
+
},
|
|
726
|
+
"getter": false,
|
|
727
|
+
"setter": false,
|
|
728
|
+
"reflect": true,
|
|
649
729
|
"attribute": "collapse-control-appearance",
|
|
650
730
|
"defaultValue": "'icon-button'"
|
|
651
731
|
},
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { spaceValue } from "../../../theme/tokens";
|
|
3
|
+
/** Vertical layout without surface or landmark semantics.
|
|
4
|
+
* @slot - Stack items.
|
|
5
|
+
* @part layout - Layout container.
|
|
6
|
+
*/
|
|
7
|
+
export class QStack {
|
|
8
|
+
gap = 'lg';
|
|
9
|
+
align = 'stretch';
|
|
10
|
+
render() {
|
|
11
|
+
return h("div", { key: '71cf654e1609c0c884683e8feab0e6825c5633ca', part: "layout", style: { gap: spaceValue(this.gap), alignItems: this.align } }, h("slot", { key: 'f1e8958aadabfdf876754bf5addd6b9aab0cf046' }));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "q-stack"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get originalStyleUrls() {
|
|
16
|
+
return {
|
|
17
|
+
"$": ["stack.css"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
static get styleUrls() {
|
|
21
|
+
return {
|
|
22
|
+
"$": ["stack.css"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
static get properties() {
|
|
26
|
+
return {
|
|
27
|
+
"gap": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "QSpace",
|
|
32
|
+
"resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
|
|
33
|
+
"references": {
|
|
34
|
+
"QSpace": {
|
|
35
|
+
"location": "import",
|
|
36
|
+
"path": "../../../theme/tokens",
|
|
37
|
+
"id": "src/theme/tokens.ts::QSpace",
|
|
38
|
+
"referenceLocation": "QSpace"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": false,
|
|
43
|
+
"optional": false,
|
|
44
|
+
"docs": {
|
|
45
|
+
"tags": [],
|
|
46
|
+
"text": ""
|
|
47
|
+
},
|
|
48
|
+
"getter": false,
|
|
49
|
+
"setter": false,
|
|
50
|
+
"reflect": false,
|
|
51
|
+
"attribute": "gap",
|
|
52
|
+
"defaultValue": "'lg'"
|
|
53
|
+
},
|
|
54
|
+
"align": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "'stretch' | 'start' | 'center' | 'end'",
|
|
59
|
+
"resolved": "\"center\" | \"end\" | \"start\" | \"stretch\"",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": ""
|
|
67
|
+
},
|
|
68
|
+
"getter": false,
|
|
69
|
+
"setter": false,
|
|
70
|
+
"reflect": false,
|
|
71
|
+
"attribute": "align",
|
|
72
|
+
"defaultValue": "'stretch'"
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -70,7 +70,7 @@ export class QTabs {
|
|
|
70
70
|
warningContext: 'q-tabs items',
|
|
71
71
|
});
|
|
72
72
|
const activeIndex = this.getActiveIndex(items);
|
|
73
|
-
return (h("div", { key: '
|
|
73
|
+
return (h("div", { key: '31312b7a411bea958f415b19638aabd8721b5f63', class: {
|
|
74
74
|
'tab-list': true,
|
|
75
75
|
[`size-${this.size}`]: true,
|
|
76
76
|
[`variant-${this.variant}`]: true,
|
|
@@ -82,7 +82,7 @@ export class QTabs {
|
|
|
82
82
|
'has-icon': Boolean(item.icon),
|
|
83
83
|
'is-icon-only': iconOnly,
|
|
84
84
|
'is-selected': selected,
|
|
85
|
-
}, type: "button", role: "tab", part: `tab${selected ? ' selected-tab' : ''}`, disabled: item.disabled, "aria-label": iconOnly ? item.label : undefined, "aria-selected": selected ? 'true' : 'false', "aria-controls": item.panelId, tabindex: selected ? 0 : -1, title: item.label, onClick: () => this.selectItem(item), onKeyDown: event => this.handleKeyDown(event, index) }, item.icon && (h("q-icon", { class: "tab__icon", name: item.icon,
|
|
85
|
+
}, type: "button", role: "tab", part: `tab${selected ? ' selected-tab' : ''}`, disabled: item.disabled, "aria-label": iconOnly ? item.label : undefined, "aria-selected": selected ? 'true' : 'false', "aria-controls": item.panelId, tabindex: selected ? 0 : -1, title: item.label, onClick: () => this.selectItem(item), onKeyDown: event => this.handleKeyDown(event, index) }, item.icon && (h("q-icon", { class: "tab__icon", name: item.icon, library: "lucide", size: this.size, "aria-hidden": "true" })), !iconOnly && h("span", { class: "tab__label" }, item.label)));
|
|
86
86
|
})));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "q-tabs"; }
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
display: grid;
|
|
89
89
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
90
90
|
align-items: center;
|
|
91
|
-
gap: var(--q-toolbar-gap,
|
|
91
|
+
gap: var(--q-toolbar-gap, var(--_q-toolbar-gap, var(--q-space-sm, .5rem)));
|
|
92
92
|
min-height: var(--q-toolbar-height, 64px);
|
|
93
93
|
padding: var(--q-toolbar-padding, var(--q-toolbar-edge-padding, 0 24px));
|
|
94
94
|
box-sizing: border-box;
|
|
@@ -143,3 +143,26 @@
|
|
|
143
143
|
:host([edge='right']) .toolbar-content {
|
|
144
144
|
min-height: 0;
|
|
145
145
|
}
|
|
146
|
+
|
|
147
|
+
/* Wrap regions only on horizontal toolbars; vertical toolbars keep their grid. */
|
|
148
|
+
:host([edge='top']) .toolbar-row, :host([edge='bottom']) .toolbar-row {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-wrap: nowrap;
|
|
151
|
+
gap: var(--q-toolbar-gap, var(--_q-toolbar-gap));
|
|
152
|
+
min-height: var(--q-toolbar-height, 0px);
|
|
153
|
+
padding: var(--q-toolbar-padding, var(--q-space-sm, .5rem) var(--q-space-lg, 1rem));
|
|
154
|
+
}
|
|
155
|
+
:host([edge='top']) .toolbar.is-compact .toolbar-row, :host([edge='bottom']) .toolbar.is-compact .toolbar-row {
|
|
156
|
+
min-height: var(--q-toolbar-compact-height, 0px);
|
|
157
|
+
padding: var(--q-toolbar-compact-padding, var(--q-space-xs, .25rem) var(--q-space-md, .75rem));
|
|
158
|
+
}
|
|
159
|
+
:host([wrap][edge='top']) .toolbar-row, :host([wrap][edge='bottom']) .toolbar-row { flex-wrap: wrap; }
|
|
160
|
+
:host([edge='top']) .toolbar-content, :host([edge='bottom']) .toolbar-content { flex: 1 1 12rem; }
|
|
161
|
+
.toolbar-start, .toolbar-end { gap: var(--q-toolbar-gap, var(--_q-toolbar-gap)); }
|
|
162
|
+
|
|
163
|
+
:host([edge='top']) { --q-toolbar-edge-padding: max(env(safe-area-inset-top, 0px), var(--q-space-sm, .5rem)) var(--q-space-lg, 1rem) var(--q-space-sm, .5rem); --q-toolbar-edge-compact-padding: max(env(safe-area-inset-top, 0px), var(--q-space-xs, .25rem)) var(--q-space-md, .75rem) var(--q-space-xs, .25rem); }
|
|
164
|
+
:host([edge='bottom']) { --q-toolbar-edge-padding: var(--q-space-sm, .5rem) var(--q-space-lg, 1rem) max(env(safe-area-inset-bottom, 0px), var(--q-space-sm, .5rem)); --q-toolbar-edge-compact-padding: var(--q-space-xs, .25rem) var(--q-space-md, .75rem) max(env(safe-area-inset-bottom, 0px), var(--q-space-xs, .25rem)); }
|
|
165
|
+
:host([edge='top']) .toolbar-row, :host([edge='bottom']) .toolbar-row { padding: var(--q-toolbar-padding, var(--q-toolbar-edge-padding)); }
|
|
166
|
+
:host([edge='top']) .toolbar.is-compact .toolbar-row, :host([edge='bottom']) .toolbar.is-compact .toolbar-row { padding: var(--q-toolbar-compact-padding, var(--q-toolbar-padding, var(--q-toolbar-edge-compact-padding))); }
|
|
167
|
+
:host([wrap][edge='top']) .toolbar-start, :host([wrap][edge='top']) .toolbar-end, :host([wrap][edge='bottom']) .toolbar-start, :host([wrap][edge='bottom']) .toolbar-end { flex-wrap: wrap; }
|
|
168
|
+
::slotted(*) { min-width: 0; max-width: 100%; }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { controlScope, spaceValue } from "../../../theme/tokens";
|
|
2
|
+
import { Host, h } from "@stencil/core";
|
|
2
3
|
/**
|
|
3
4
|
* Customizable edge toolbar with consumer-owned start, content, and end regions.
|
|
4
5
|
*
|
|
@@ -17,15 +18,18 @@ export class QToolbar {
|
|
|
17
18
|
compact = false;
|
|
18
19
|
transparent = false;
|
|
19
20
|
bordered = false;
|
|
21
|
+
size = 'inherit';
|
|
22
|
+
gap = 'sm';
|
|
23
|
+
wrap = true;
|
|
20
24
|
/** Accessible label for the toolbar content group. */
|
|
21
25
|
ariaLabel = null;
|
|
22
26
|
render() {
|
|
23
|
-
return (h("div", { key: '
|
|
27
|
+
return (h(Host, { key: '53355549e50dca86ac09fcc87e67ad65fdc8fe53', style: { ...controlScope(this.size), '--_q-toolbar-gap': spaceValue(this.gap) } }, h("div", { key: '6f76f301f24f1dac2e32cd726bf9a936be9abd6f', class: {
|
|
24
28
|
toolbar: true,
|
|
25
29
|
'is-compact': this.compact,
|
|
26
30
|
'is-transparent': this.transparent,
|
|
27
31
|
'is-bordered': this.bordered,
|
|
28
|
-
}, role: this.ariaLabel ? 'group' : undefined, "aria-label": this.ariaLabel, part: "toolbar" }, h("div", { key: '
|
|
32
|
+
}, role: this.ariaLabel ? 'group' : undefined, "aria-label": this.ariaLabel, part: "toolbar" }, h("div", { key: '7374147934fb6507b7640cd9eb6ee87dd0a9b145', class: "toolbar-row", part: "row" }, h("div", { key: '7f868b3c8219b16d96c90eb071dcd9fbc1b1d5d3', class: "toolbar-start", part: "start" }, h("slot", { key: '36d179dd76a24f01f62d69aba9511f2c030c94e2', name: "start" })), h("div", { key: '5b90087bdf998ecc3cd9a73fc27146ee41dd04a2', class: "toolbar-content", part: "content" }, h("slot", { key: '0f53ff74e7361244e2330dbc40cd218c20f2f62d' })), h("div", { key: 'a3185277e472283ee702f178b82b7f01aba60a32', class: "toolbar-end", part: "end" }, h("slot", { key: '5029cf230c31f11cdc8a327727492b6974d6e9fb', name: "end" }))))));
|
|
29
33
|
}
|
|
30
34
|
static get is() { return "q-toolbar"; }
|
|
31
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,6 +152,80 @@ export class QToolbar {
|
|
|
148
152
|
"attribute": "bordered",
|
|
149
153
|
"defaultValue": "false"
|
|
150
154
|
},
|
|
155
|
+
"size": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"mutable": false,
|
|
158
|
+
"complexType": {
|
|
159
|
+
"original": "QControlSize",
|
|
160
|
+
"resolved": "\"inherit\" | \"lg\" | \"md\" | \"sm\"",
|
|
161
|
+
"references": {
|
|
162
|
+
"QControlSize": {
|
|
163
|
+
"location": "import",
|
|
164
|
+
"path": "../../../theme/tokens",
|
|
165
|
+
"id": "src/theme/tokens.ts::QControlSize",
|
|
166
|
+
"referenceLocation": "QControlSize"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": ""
|
|
175
|
+
},
|
|
176
|
+
"getter": false,
|
|
177
|
+
"setter": false,
|
|
178
|
+
"reflect": false,
|
|
179
|
+
"attribute": "size",
|
|
180
|
+
"defaultValue": "'inherit'"
|
|
181
|
+
},
|
|
182
|
+
"gap": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"mutable": false,
|
|
185
|
+
"complexType": {
|
|
186
|
+
"original": "QSpace",
|
|
187
|
+
"resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
|
|
188
|
+
"references": {
|
|
189
|
+
"QSpace": {
|
|
190
|
+
"location": "import",
|
|
191
|
+
"path": "../../../theme/tokens",
|
|
192
|
+
"id": "src/theme/tokens.ts::QSpace",
|
|
193
|
+
"referenceLocation": "QSpace"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": false,
|
|
198
|
+
"optional": false,
|
|
199
|
+
"docs": {
|
|
200
|
+
"tags": [],
|
|
201
|
+
"text": ""
|
|
202
|
+
},
|
|
203
|
+
"getter": false,
|
|
204
|
+
"setter": false,
|
|
205
|
+
"reflect": false,
|
|
206
|
+
"attribute": "gap",
|
|
207
|
+
"defaultValue": "'sm'"
|
|
208
|
+
},
|
|
209
|
+
"wrap": {
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "boolean",
|
|
214
|
+
"resolved": "boolean",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": false,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": ""
|
|
222
|
+
},
|
|
223
|
+
"getter": false,
|
|
224
|
+
"setter": false,
|
|
225
|
+
"reflect": true,
|
|
226
|
+
"attribute": "wrap",
|
|
227
|
+
"defaultValue": "true"
|
|
228
|
+
},
|
|
151
229
|
"ariaLabel": {
|
|
152
230
|
"type": "string",
|
|
153
231
|
"mutable": false,
|