@webquark/core 1.1.0-dev.4 → 1.1.0-dev.5
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 +24 -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 +9 -6
- 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.js +32 -7
- 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 +9 -6
- 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-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/playground/build/{p-5c08aa94.entry.js → p-fdd85ce4.entry.js} +1 -1
- 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 +3 -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 +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 +887 -66
- package/dist/types/index.d.ts +7 -2
- 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-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/webquark/{p-5c08aa94.entry.js → p-fdd85ce4.entry.js} +1 -1
- 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 +113 -0
- package/scripts/wq-switch/dist/index.js +530 -0
- package/scripts/wq-switch/dist/setup.js +333 -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-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-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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Mixin, h } from "@stencil/core";
|
|
2
|
-
import { withActionLabel, withActionProps } from "
|
|
2
|
+
import { withActionLabel, withActionProps } from "../../actions/action.props";
|
|
3
3
|
/**
|
|
4
4
|
* Compact label, link, filter, or removable token.
|
|
5
5
|
* @slot - Chip label text. If using this for visible text on a removable chip, also set `label` for the remove button accessible name.
|
|
@@ -161,7 +161,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
|
|
|
161
161
|
"QChipVariant": {
|
|
162
162
|
"location": "import",
|
|
163
163
|
"path": "./chip.types",
|
|
164
|
-
"id": "src/components/
|
|
164
|
+
"id": "src/components/data-display/chip/chip.types.ts::QChipVariant",
|
|
165
165
|
"referenceLocation": "QChipVariant"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -188,7 +188,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
|
|
|
188
188
|
"QChipSize": {
|
|
189
189
|
"location": "import",
|
|
190
190
|
"path": "./chip.types",
|
|
191
|
-
"id": "src/components/
|
|
191
|
+
"id": "src/components/data-display/chip/chip.types.ts::QChipSize",
|
|
192
192
|
"referenceLocation": "QChipSize"
|
|
193
193
|
}
|
|
194
194
|
}
|
|
@@ -275,7 +275,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
|
|
|
275
275
|
"QChipTarget": {
|
|
276
276
|
"location": "import",
|
|
277
277
|
"path": "./chip.types",
|
|
278
|
-
"id": "src/components/
|
|
278
|
+
"id": "src/components/data-display/chip/chip.types.ts::QChipTarget",
|
|
279
279
|
"referenceLocation": "QChipTarget"
|
|
280
280
|
}
|
|
281
281
|
}
|
|
@@ -331,7 +331,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
|
|
|
331
331
|
"QChipRemoveDetail": {
|
|
332
332
|
"location": "import",
|
|
333
333
|
"path": "./chip.types",
|
|
334
|
-
"id": "src/components/
|
|
334
|
+
"id": "src/components/data-display/chip/chip.types.ts::QChipRemoveDetail",
|
|
335
335
|
"referenceLocation": "QChipRemoveDetail"
|
|
336
336
|
}
|
|
337
337
|
}
|
|
@@ -181,14 +181,14 @@ export class QDataTable {
|
|
|
181
181
|
sortColumn: this.sortColumn,
|
|
182
182
|
sortDirection: this.sortDirection,
|
|
183
183
|
});
|
|
184
|
-
return (h("div", { key: '
|
|
184
|
+
return (h("div", { key: '8f529185fc57de6f77c0109be7589ab4a6fa7066', class: "table-container", role: "grid", "aria-label": this.ariaLabel?.trim() || this.toolbarTitle?.trim() || 'Data table' }, renderDataTableToolbar({
|
|
185
185
|
showToolbar: this.showToolbar,
|
|
186
186
|
toolbarTitle: this.toolbarTitle,
|
|
187
187
|
showSearch: this.showSearch,
|
|
188
188
|
searchPlaceholder: this.searchPlaceholder,
|
|
189
189
|
searchValue: this.searchValue,
|
|
190
190
|
onSearchInput: this.handleSearchInput,
|
|
191
|
-
}), h("div", { key: '
|
|
191
|
+
}), h("div", { key: 'cccd8e17734d8c0f5737dd771e0c99d4842b1bae', class: "table-scroll-area" }, h("table", { key: '135bd88984195dac4c6a15808c2c0177e0a4b5d1', class: "table-el" }, renderDataTableHead({
|
|
192
192
|
model,
|
|
193
193
|
onSelectAllChange: event => this.handleSelectAllChange(event),
|
|
194
194
|
onSortToggle: column => this.handleSortToggle(column),
|
|
@@ -200,7 +200,7 @@ export class QDataTable {
|
|
|
200
200
|
onRowCheckboxChange: (item, index, event) => this.handleRowCheckboxChange(item, index, event),
|
|
201
201
|
onRowAction: (item, index, action, event) => this.handleRowAction(item, index, action, event),
|
|
202
202
|
renderCell: (item, column) => this.renderCell(item, column),
|
|
203
|
-
}))), h("slot", { key: '
|
|
203
|
+
}))), h("slot", { key: '3293510b9ca6b5b2c850da1523e5d11beadfcb81', name: "footer" })));
|
|
204
204
|
}
|
|
205
205
|
static get is() { return "q-data-table"; }
|
|
206
206
|
static get encapsulation() { return "shadow"; }
|
|
@@ -698,7 +698,7 @@ export class QMap {
|
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
700
|
render() {
|
|
701
|
-
return (h("div", { key: '
|
|
701
|
+
return (h("div", { key: '753eeb63e0f1e0be9c018d72997d9553495b9ad8', class: "map-surface", part: "surface" }, h("div", { key: '2da65495446a24640d1f81c8b1583664664293bf', class: "map-canvas", part: "canvas", role: "region", "aria-label": this.ariaLabel, "aria-busy": this.providerStatus === 'initializing' ? 'true' : undefined, ref: this.setCanvas }), h("q-icon", { key: 'e61c59f96ed6624a2bedf1a32b8828b0ab133cbd', class: "map-icon-registration", "aria-hidden": "true" }), this.providerStatus === 'empty' && (h("div", { key: 'c7b24a9d6a6f796dd92b5e4d088711113de3a448', class: "map-empty", part: "empty", role: "status" }, h("slot", { key: '97f0b1fe4dd669512b1a55b58fb428f37a23fdfc', name: "empty" }, "Map provider is not configured."))), this.providerStatus === 'error' && (h("div", { key: 'f72f0211b9df1e9eb833828215575b08479cea59', class: "map-empty map-error", part: "error", role: "alert" }, h("slot", { key: '44026803ec28e2acb3d8b91dec1ab85ae3c74663', name: "error" }, this.errorMessage ?? 'Map imagery is unavailable.'))), this.renderAttribution()));
|
|
702
702
|
}
|
|
703
703
|
static get is() { return "q-map"; }
|
|
704
704
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,7 +55,7 @@ export class QPagination {
|
|
|
55
55
|
const itemLabel = this.itemLabel.trim() || 'items';
|
|
56
56
|
const previousDisabled = this.disabled || totalItems === 0 || page <= 1;
|
|
57
57
|
const nextDisabled = this.disabled || totalItems === 0 || page >= pageCount;
|
|
58
|
-
return (h("nav", { key: '
|
|
58
|
+
return (h("nav", { key: '44517344440b2f1f8fb05d09678ceb63d769ab63', class: "pagination", part: "container", "aria-label": this.ariaLabel?.trim() || 'Pagination' }, this.showSummary && (h("span", { key: 'fbdbe6a34b4f3b0310a48c9cd2fc78648ebc4138', class: "summary", part: "summary", "aria-live": "polite" }, "Showing ", pageStart, "-", pageEnd, " of ", totalItems, " ", itemLabel)), h("div", { key: '908843e7312d7a7f9c604f5c389bf1425e2df515', class: "controls", part: "controls" }, h("button", { key: '80b38e8bcfe16368e9a339e675cf07dd9225e783', class: "page-button", part: "previous-button", type: "button", disabled: previousDisabled, "aria-label": "Previous page", onClick: () => this.requestPage(page - 1) }, "Previous"), h("span", { key: 'e07fc9bbcf35c86504361768694f2bb3601eae10', class: "page-count", part: "page-count", "aria-label": `Page ${page} of ${pageCount}` }, page, " / ", pageCount), h("button", { key: 'cd50e90003cb0912d18f171284040a271d371444', class: "page-button", part: "next-button", type: "button", disabled: nextDisabled, "aria-label": "Next page", onClick: () => this.requestPage(page + 1) }, "Next"))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "q-pagination"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,30 +6,37 @@ import { syncPropertyToSlottedChildren } from "../../../utils/dom";
|
|
|
6
6
|
*/
|
|
7
7
|
export class QStepDiagram {
|
|
8
8
|
// ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
|
|
9
|
+
/** Direction of the sequence and its items. Overrides layout; defaults to vertical when both are omitted. */
|
|
10
|
+
orientation;
|
|
11
|
+
/** @deprecated Use orientation. Used only when orientation is unset. */
|
|
9
12
|
layout = 'vertical';
|
|
10
13
|
/** Accessible label for the step sequence. */
|
|
11
14
|
ariaLabel = 'Steps';
|
|
12
15
|
el;
|
|
13
16
|
// ========================= [3] LIFECYCLE & WATCHERS ==========================
|
|
14
|
-
|
|
15
|
-
this.
|
|
17
|
+
handleOrientationChange() {
|
|
18
|
+
this.propagateOrientation();
|
|
16
19
|
}
|
|
17
20
|
componentDidLoad() {
|
|
18
|
-
this.
|
|
21
|
+
this.handleOrientationChange();
|
|
19
22
|
}
|
|
20
23
|
// =================== [5] EVENT HANDLERS & INTERNAL METHODS ===================
|
|
21
24
|
handleSlotChange = () => {
|
|
22
|
-
this.
|
|
25
|
+
this.propagateOrientation();
|
|
23
26
|
};
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
propagateOrientation() {
|
|
28
|
+
const orientation = this.orientation ?? this.layout;
|
|
29
|
+
syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'orientation', orientation);
|
|
30
|
+
syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'layout', orientation);
|
|
26
31
|
}
|
|
27
32
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
28
33
|
render() {
|
|
29
|
-
|
|
34
|
+
const orientation = this.orientation ?? this.layout;
|
|
35
|
+
return (h("div", { key: '1fddc04b537873198cdc8b026646e6a18902c25f', class: {
|
|
30
36
|
'step-diagram': true,
|
|
31
|
-
[`
|
|
32
|
-
|
|
37
|
+
[`orientation-${orientation}`]: true,
|
|
38
|
+
[`layout-${orientation}`]: true,
|
|
39
|
+
}, role: "list", "aria-label": this.ariaLabel }, h("slot", { key: '10a2934ec992d00446a28cb0ad73fed9eb3cabb6', onSlotchange: this.handleSlotChange })));
|
|
33
40
|
}
|
|
34
41
|
static get is() { return "q-step-diagram"; }
|
|
35
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,6 +52,32 @@ export class QStepDiagram {
|
|
|
45
52
|
}
|
|
46
53
|
static get properties() {
|
|
47
54
|
return {
|
|
55
|
+
"orientation": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "QStepDiagramOrientation",
|
|
60
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
61
|
+
"references": {
|
|
62
|
+
"QStepDiagramOrientation": {
|
|
63
|
+
"location": "import",
|
|
64
|
+
"path": "./step-diagram.types",
|
|
65
|
+
"id": "src/components/indicators/step-diagram/step-diagram.types.ts::QStepDiagramOrientation",
|
|
66
|
+
"referenceLocation": "QStepDiagramOrientation"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": true,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": "Direction of the sequence and its items. Overrides layout; defaults to vertical when both are omitted."
|
|
75
|
+
},
|
|
76
|
+
"getter": false,
|
|
77
|
+
"setter": false,
|
|
78
|
+
"reflect": true,
|
|
79
|
+
"attribute": "orientation"
|
|
80
|
+
},
|
|
48
81
|
"layout": {
|
|
49
82
|
"type": "string",
|
|
50
83
|
"mutable": false,
|
|
@@ -63,7 +96,10 @@ export class QStepDiagram {
|
|
|
63
96
|
"required": false,
|
|
64
97
|
"optional": false,
|
|
65
98
|
"docs": {
|
|
66
|
-
"tags": [
|
|
99
|
+
"tags": [{
|
|
100
|
+
"name": "deprecated",
|
|
101
|
+
"text": "Use orientation. Used only when orientation is unset."
|
|
102
|
+
}],
|
|
67
103
|
"text": ""
|
|
68
104
|
},
|
|
69
105
|
"getter": false,
|
|
@@ -97,8 +133,11 @@ export class QStepDiagram {
|
|
|
97
133
|
static get elementRef() { return "el"; }
|
|
98
134
|
static get watchers() {
|
|
99
135
|
return [{
|
|
136
|
+
"propName": "orientation",
|
|
137
|
+
"methodName": "handleOrientationChange"
|
|
138
|
+
}, {
|
|
100
139
|
"propName": "layout",
|
|
101
|
-
"methodName": "
|
|
140
|
+
"methodName": "handleOrientationChange"
|
|
102
141
|
}];
|
|
103
142
|
}
|
|
104
143
|
}
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* Vertical Positioning */
|
|
14
|
-
|
|
14
|
+
.step-item.orientation-vertical {
|
|
15
15
|
flex-direction: row;
|
|
16
16
|
padding-bottom: var(--q-step-diag-item-gap, 24px);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* Horizontal Positioning */
|
|
20
|
-
|
|
20
|
+
.step-item.orientation-horizontal {
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
align-items: center;
|
|
23
23
|
padding-right: var(--q-step-diag-item-gap, 24px);
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
align-items: center;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
.orientation-vertical .step-line-container {
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
width: var(--q-step-diag-icon-size, 32px);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
.orientation-horizontal .step-line-container {
|
|
64
64
|
flex-direction: row;
|
|
65
65
|
width: 100%;
|
|
66
66
|
}
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/* Vertical Line path */
|
|
76
|
-
|
|
76
|
+
.orientation-vertical .step-connector {
|
|
77
77
|
top: var(--q-step-diag-icon-size, 32px);
|
|
78
78
|
left: calc(50% - 1px);
|
|
79
79
|
height: 100%;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/* Horizontal Line path */
|
|
84
|
-
|
|
84
|
+
.orientation-horizontal .step-connector {
|
|
85
85
|
left: var(--q-step-diag-icon-size, 32px);
|
|
86
86
|
top: calc(50% - 1px);
|
|
87
87
|
width: 100%;
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
transition: all var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1));
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
.orientation-horizontal .step-content {
|
|
187
187
|
margin-left: 0;
|
|
188
188
|
margin-top: var(--q-padding-md, 9px);
|
|
189
189
|
width: 100%;
|
|
@@ -14,7 +14,9 @@ import { isStepDiagramItemActivationKey } from "./step-diagram-item.utils";
|
|
|
14
14
|
export class QStepDiagramItem {
|
|
15
15
|
// ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
|
|
16
16
|
lineStyle = 'solid';
|
|
17
|
-
/**
|
|
17
|
+
/** Direction of the step. A q-step-diagram parent supplies its orientation; standalone default is vertical. */
|
|
18
|
+
orientation;
|
|
19
|
+
/** @deprecated Use orientation. Used only when orientation is unset. */
|
|
18
20
|
layout = 'vertical';
|
|
19
21
|
status = 'completed';
|
|
20
22
|
/** Emitted when the focusable step content is clicked or activated with Enter/Space. */
|
|
@@ -33,7 +35,8 @@ export class QStepDiagramItem {
|
|
|
33
35
|
};
|
|
34
36
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
35
37
|
render() {
|
|
36
|
-
|
|
38
|
+
const orientation = this.orientation ?? this.layout;
|
|
39
|
+
return (h("div", { key: 'e33bd52746ebac7b6c4d094698600ebb808a489f', class: { 'step-item': true, [`orientation-${orientation}`]: true } }, h("div", { key: 'c14061fd0b9113bc3d87494118d2ae6e2a18ced3', class: "step-line-container" }, h("div", { key: '8be3af0c07eb52b631028419806a3874bcc2c6c7', class: "step-badge", "aria-hidden": "true", part: "badge" }, h("slot", { key: '99743f4c62b724b2344eb4a102c855cf7d13a487', name: "badge" }, h("div", { key: '20dfe66dea3c203022061ad24836aedc108c61a7', class: "badge-dot" }))), h("div", { key: 'c7ac704b0da0c418418015fc2a06347ff7013b9f', class: "step-connector", part: "connector" })), h("div", { key: 'b5cc679f950214f6e3ca212de9ab72256c44c529', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content", "aria-current": this.status === 'active' ? 'step' : undefined, "aria-disabled": this.status === 'pending' ? 'true' : undefined }, h("div", { key: '8912226f8e7f5a14645380756e3e8d60edc2c5ad', class: "step-title", part: "title" }, h("slot", { key: '711795873e70de3270605256cae8abb295ef1428', name: "title" })), h("div", { key: '6cb5f4cd4c6343d0503c88d555a9f9f404e428fa', class: "step-body", part: "body" }, h("slot", { key: '9ec59e6c87bb2bd4bef39a3953b57bb92400dceb' })))));
|
|
37
40
|
}
|
|
38
41
|
static get is() { return "q-step-diagram-item"; }
|
|
39
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,6 +79,32 @@ export class QStepDiagramItem {
|
|
|
76
79
|
"attribute": "line-style",
|
|
77
80
|
"defaultValue": "'solid'"
|
|
78
81
|
},
|
|
82
|
+
"orientation": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"mutable": true,
|
|
85
|
+
"complexType": {
|
|
86
|
+
"original": "QStepDiagramItemOrientation",
|
|
87
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
88
|
+
"references": {
|
|
89
|
+
"QStepDiagramItemOrientation": {
|
|
90
|
+
"location": "import",
|
|
91
|
+
"path": "./step-diagram-item.types",
|
|
92
|
+
"id": "src/components/indicators/step-diagram-item/step-diagram-item.types.ts::QStepDiagramItemOrientation",
|
|
93
|
+
"referenceLocation": "QStepDiagramItemOrientation"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": true,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "Direction of the step. A q-step-diagram parent supplies its orientation; standalone default is vertical."
|
|
102
|
+
},
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false,
|
|
105
|
+
"reflect": true,
|
|
106
|
+
"attribute": "orientation"
|
|
107
|
+
},
|
|
79
108
|
"layout": {
|
|
80
109
|
"type": "string",
|
|
81
110
|
"mutable": true,
|
|
@@ -94,8 +123,11 @@ export class QStepDiagramItem {
|
|
|
94
123
|
"required": false,
|
|
95
124
|
"optional": false,
|
|
96
125
|
"docs": {
|
|
97
|
-
"tags": [
|
|
98
|
-
|
|
126
|
+
"tags": [{
|
|
127
|
+
"name": "deprecated",
|
|
128
|
+
"text": "Use orientation. Used only when orientation is unset."
|
|
129
|
+
}],
|
|
130
|
+
"text": ""
|
|
99
131
|
},
|
|
100
132
|
"getter": false,
|
|
101
133
|
"setter": false,
|
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
/* Generated by scripts/generate-theme.ts. */
|
|
2
|
+
:host {
|
|
3
|
+
min-width: 0;
|
|
4
|
+
--_q-control-height: var(--q-context-control-height, var(--q-control-height-md, 2.25rem));
|
|
5
|
+
--_q-control-font: var(--q-context-control-font, var(--q-control-font-md, 0.875rem));
|
|
6
|
+
--_q-control-line: var(--q-context-control-line, var(--q-control-line-md, 1.25rem));
|
|
7
|
+
--_q-control-padding: var(--q-context-control-padding, var(--q-control-padding-md, 0.75rem));
|
|
8
|
+
--_q-control-icon: var(--q-context-control-icon, var(--q-control-icon-md, 1rem));
|
|
9
|
+
--_q-control-radius: var(--q-context-control-radius, var(--q-control-radius-md, 0.4375rem));
|
|
10
|
+
}
|
|
11
|
+
.size-sm {
|
|
12
|
+
--_q-control-height: var(--q-control-height-sm, 1.75rem);
|
|
13
|
+
--_q-control-font: var(--q-control-font-sm, 0.75rem);
|
|
14
|
+
--_q-control-line: var(--q-control-line-sm, 1rem);
|
|
15
|
+
--_q-control-padding: var(--q-control-padding-sm, 0.5rem);
|
|
16
|
+
--_q-control-icon: var(--q-control-icon-sm, 0.875rem);
|
|
17
|
+
--_q-control-radius: var(--q-control-radius-sm, 0.34375rem);
|
|
18
|
+
}
|
|
19
|
+
.size-md {
|
|
20
|
+
--_q-control-height: var(--q-control-height-md, 2.25rem);
|
|
21
|
+
--_q-control-font: var(--q-control-font-md, 0.875rem);
|
|
22
|
+
--_q-control-line: var(--q-control-line-md, 1.25rem);
|
|
23
|
+
--_q-control-padding: var(--q-control-padding-md, 0.75rem);
|
|
24
|
+
--_q-control-icon: var(--q-control-icon-md, 1rem);
|
|
25
|
+
--_q-control-radius: var(--q-control-radius-md, 0.4375rem);
|
|
26
|
+
}
|
|
27
|
+
.size-lg {
|
|
28
|
+
--_q-control-height: var(--q-control-height-lg, 2.75rem);
|
|
29
|
+
--_q-control-font: var(--q-control-font-lg, 1rem);
|
|
30
|
+
--_q-control-line: var(--q-control-line-lg, 1.5rem);
|
|
31
|
+
--_q-control-padding: var(--q-control-padding-lg, 1rem);
|
|
32
|
+
--_q-control-icon: var(--q-control-icon-lg, 1.25rem);
|
|
33
|
+
--_q-control-radius: var(--q-control-radius-lg, 0.53125rem);
|
|
34
|
+
}
|
|
35
|
+
|
|
1
36
|
:host {
|
|
2
37
|
display: block;
|
|
3
38
|
width: 100%;
|
|
@@ -32,7 +67,7 @@
|
|
|
32
67
|
width: 100%;
|
|
33
68
|
background: var(--q-dropdown-bg, var(--q-bg-surface-2, #374151));
|
|
34
69
|
border: var(--q-dropdown-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));
|
|
35
|
-
border-radius: var(--q-dropdown-radius, var(--q-radius
|
|
70
|
+
border-radius: var(--q-dropdown-radius, var(--q-field-radius, var(--_q-control-radius)));
|
|
36
71
|
padding: var(--q-dropdown-padding, var(--q-field-padding, 10px 14px));
|
|
37
72
|
line-height: 1.2;
|
|
38
73
|
box-sizing: border-box;
|
|
@@ -163,17 +198,6 @@
|
|
|
163
198
|
}
|
|
164
199
|
|
|
165
200
|
/* Sizing Layouts */
|
|
166
|
-
.dropdown-wrapper.size-sm .dropdown-label {
|
|
167
|
-
font-size: var(--q-font-size-sm, 0.7rem);
|
|
168
|
-
}
|
|
169
|
-
.dropdown-wrapper.size-sm .dropdown-trigger {
|
|
170
|
-
padding: var(--q-dropdown-padding, 6px 10px);
|
|
171
|
-
font-size: var(--q-dropdown-font-size, var(--q-font-size-sm, 0.7rem));
|
|
172
|
-
}
|
|
173
|
-
.dropdown-wrapper.size-sm .chevron-icon {
|
|
174
|
-
width: 14px;
|
|
175
|
-
height: 14px;
|
|
176
|
-
}
|
|
177
201
|
.dropdown-wrapper.size-sm .menu-item {
|
|
178
202
|
padding: var(--q-dropdown-padding, 6px 10px);
|
|
179
203
|
font-size: var(--q-dropdown-font-size, var(--q-font-size-sm, 0.7rem));
|
|
@@ -182,17 +206,6 @@
|
|
|
182
206
|
padding-left: 7px;
|
|
183
207
|
}
|
|
184
208
|
|
|
185
|
-
.dropdown-wrapper.size-md .dropdown-label {
|
|
186
|
-
font-size: var(--q-font-size-sm, 0.7rem);
|
|
187
|
-
}
|
|
188
|
-
.dropdown-wrapper.size-md .dropdown-trigger {
|
|
189
|
-
padding: var(--q-dropdown-padding, 10px 14px);
|
|
190
|
-
font-size: var(--q-dropdown-font-size, var(--q-font-size-base, 0.9rem));
|
|
191
|
-
}
|
|
192
|
-
.dropdown-wrapper.size-md .chevron-icon {
|
|
193
|
-
width: 16px;
|
|
194
|
-
height: 16px;
|
|
195
|
-
}
|
|
196
209
|
.dropdown-wrapper.size-md .menu-item {
|
|
197
210
|
padding: var(--q-dropdown-padding, 10px 14px);
|
|
198
211
|
font-size: var(--q-dropdown-font-size, var(--q-font-size-base, 0.9rem));
|
|
@@ -201,17 +214,6 @@
|
|
|
201
214
|
padding-left: 11px;
|
|
202
215
|
}
|
|
203
216
|
|
|
204
|
-
.dropdown-wrapper.size-lg .dropdown-label {
|
|
205
|
-
font-size: var(--q-font-size-base, 0.9rem);
|
|
206
|
-
}
|
|
207
|
-
.dropdown-wrapper.size-lg .dropdown-trigger {
|
|
208
|
-
padding: var(--q-dropdown-padding, 14px 18px);
|
|
209
|
-
font-size: var(--q-dropdown-font-size, var(--q-font-size-lg, 1rem));
|
|
210
|
-
}
|
|
211
|
-
.dropdown-wrapper.size-lg .chevron-icon {
|
|
212
|
-
width: 20px;
|
|
213
|
-
height: 20px;
|
|
214
|
-
}
|
|
215
217
|
.dropdown-wrapper.size-lg .menu-item {
|
|
216
218
|
padding: var(--q-dropdown-padding, 14px 18px);
|
|
217
219
|
font-size: var(--q-dropdown-font-size, var(--q-font-size-lg, 1rem));
|
|
@@ -342,3 +344,44 @@
|
|
|
342
344
|
}
|
|
343
345
|
|
|
344
346
|
|
|
347
|
+
|
|
348
|
+
/* Shared foundation geometry. */
|
|
349
|
+
.dropdown-wrapper:is(.size-sm, .size-md, .size-lg, .size-inherit) .dropdown-trigger { min-height: var(--q-dropdown-height, var(--_q-control-height)); padding: var(--q-dropdown-padding, 0 var(--_q-control-padding)); font-size: var(--q-dropdown-font-size, var(--_q-control-font)); line-height: var(--_q-control-line); background: var(--q-dropdown-bg, var(--q-field-bg, var(--q-bg-field, var(--q-bg-surface-3, #22304d)))); }
|
|
350
|
+
.dropdown-wrapper .chevron-icon { width: var(--_q-control-icon); height: var(--_q-control-icon); }
|
|
351
|
+
.dropdown-menu { background: var(--q-dropdown-menu-bg, var(--q-bg-floating, var(--q-bg-surface-4, #2c3a58))); }
|
|
352
|
+
.dropdown-trigger[aria-invalid='true'] { border-color: var(--q-color-danger, #f87171); }
|
|
353
|
+
|
|
354
|
+
:host { min-width: 0; }
|
|
355
|
+
.q-label-hidden {
|
|
356
|
+
position: absolute !important;
|
|
357
|
+
width: 1px !important;
|
|
358
|
+
height: 1px !important;
|
|
359
|
+
padding: 0 !important;
|
|
360
|
+
margin: -1px !important;
|
|
361
|
+
overflow: hidden !important;
|
|
362
|
+
clip-path: inset(50%);
|
|
363
|
+
white-space: nowrap;
|
|
364
|
+
border: 0 !important;
|
|
365
|
+
}
|
|
366
|
+
.q-field-feedback {
|
|
367
|
+
display: block;
|
|
368
|
+
min-block-size: var(--_q-feedback-min, var(--q-context-feedback-min, 0px));
|
|
369
|
+
font-family: var(--q-font-family, inherit);
|
|
370
|
+
font-size: var(--q-field-feedback-font, .75rem);
|
|
371
|
+
font-weight: 400;
|
|
372
|
+
line-height: 1rem;
|
|
373
|
+
color: var(--q-fg-muted, #9ca3af);
|
|
374
|
+
overflow-wrap: anywhere;
|
|
375
|
+
margin: min(var(--q-space-xs, .25rem), var(--_q-feedback-min, var(--q-context-feedback-min, 0px))) 0 0;
|
|
376
|
+
}
|
|
377
|
+
.q-field-feedback:not(:empty) { margin-top: var(--q-space-xs, .25rem); }
|
|
378
|
+
.q-field-feedback.error-msg { color: var(--_q-field-error-color, var(--q-color-danger, #f87171)); }
|
|
379
|
+
[part='label']:not(.q-label-hidden) {
|
|
380
|
+
font-family: var(--q-font-family, inherit);
|
|
381
|
+
font-size: var(--q-field-label-font, .75rem);
|
|
382
|
+
font-weight: 600;
|
|
383
|
+
line-height: 1rem;
|
|
384
|
+
margin-bottom: var(--q-space-xs, .25rem);
|
|
385
|
+
overflow-wrap: anywhere;
|
|
386
|
+
}
|
|
387
|
+
|