@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
|
@@ -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: inline-block;
|
|
3
38
|
box-sizing: border-box;
|
|
@@ -14,7 +49,7 @@
|
|
|
14
49
|
justify-content: center;
|
|
15
50
|
position: relative;
|
|
16
51
|
text-decoration: none;
|
|
17
|
-
border-radius: var(--q-btn-radius, var(--
|
|
52
|
+
border-radius: var(--q-btn-radius, var(--_q-control-radius));
|
|
18
53
|
font-family: var(--q-font-family, inherit);
|
|
19
54
|
font-weight: var(--q-btn-font-weight, var(--q-font-weight-bold, 600));
|
|
20
55
|
border: 1px solid transparent;
|
|
@@ -34,17 +69,17 @@
|
|
|
34
69
|
|
|
35
70
|
/* Sizing Layouts */
|
|
36
71
|
.size-sm {
|
|
37
|
-
border-radius: var(--q-btn-radius-sm, var(--q-radius
|
|
72
|
+
border-radius: var(--q-btn-radius-sm, var(--q-btn-radius, var(--_q-control-radius)));
|
|
38
73
|
padding: var(--q-btn-padding-sm, 6px 10px);
|
|
39
74
|
font-size: var(--q-font-size-sm, 0.7rem);
|
|
40
75
|
}
|
|
41
76
|
.size-md {
|
|
42
|
-
border-radius: var(--q-btn-radius-md, var(--q-radius
|
|
77
|
+
border-radius: var(--q-btn-radius-md, var(--q-btn-radius, var(--_q-control-radius)));
|
|
43
78
|
padding: var(--q-btn-padding-md, 5px 8px);
|
|
44
79
|
font-size: var(--q-btn-font-size, var(--q-font-size-base, 0.9rem));
|
|
45
80
|
}
|
|
46
81
|
.size-lg {
|
|
47
|
-
border-radius: var(--q-btn-radius-lg, var(--q-radius
|
|
82
|
+
border-radius: var(--q-btn-radius-lg, var(--q-btn-radius, var(--_q-control-radius)));
|
|
48
83
|
padding: var(--q-btn-padding-lg, 9px 16px);
|
|
49
84
|
font-size: var(--q-font-size-lg, 1rem);
|
|
50
85
|
}
|
|
@@ -52,12 +87,15 @@
|
|
|
52
87
|
/* Icon-Only Sizing Overrides */
|
|
53
88
|
.btn.is-icon-only.size-sm {
|
|
54
89
|
padding: var(--q-btn-icon-padding-sm, 4px);
|
|
90
|
+
--_q-btn-icon-padding: var(--q-btn-icon-padding-sm, 0px);
|
|
55
91
|
}
|
|
56
92
|
.btn.is-icon-only.size-md {
|
|
57
93
|
padding: var(--q-btn-icon-padding-md, 6px);
|
|
94
|
+
--_q-btn-icon-padding: var(--q-btn-icon-padding-md, 0px);
|
|
58
95
|
}
|
|
59
96
|
.btn.is-icon-only.size-lg {
|
|
60
97
|
padding: var(--q-btn-icon-padding-lg, 9px);
|
|
98
|
+
--_q-btn-icon-padding: var(--q-btn-icon-padding-lg, 0px);
|
|
61
99
|
}
|
|
62
100
|
|
|
63
101
|
/* Shape and content layout */
|
|
@@ -189,3 +227,16 @@
|
|
|
189
227
|
transform: rotate(360deg);
|
|
190
228
|
}
|
|
191
229
|
}
|
|
230
|
+
|
|
231
|
+
/* Shared foundation geometry. */
|
|
232
|
+
.btn:not(.shape-circle) { min-height: var(--q-btn-height, var(--_q-control-height)); padding: var(--q-btn-padding, var(--_q-btn-padding, 0 var(--_q-control-padding))); font-size: var(--q-btn-font-size, var(--_q-control-font)); line-height: var(--_q-control-line); }
|
|
233
|
+
.btn.is-icon-only:not(.shape-circle) { min-width: var(--q-btn-height, var(--_q-control-height)); padding: var(--_q-btn-icon-padding, 0px); }
|
|
234
|
+
.btn-content-wrap { gap: var(--q-btn-content-gap, var(--q-space-sm, .5rem)); }
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
.size-sm { --_q-btn-padding: var(--q-btn-padding-sm, 0 var(--_q-control-padding)); }
|
|
238
|
+
.size-md { --_q-btn-padding: var(--q-btn-padding-md, 0 var(--_q-control-padding)); }
|
|
239
|
+
.size-lg { --_q-btn-padding: var(--q-btn-padding-lg, 0 var(--_q-control-padding)); }
|
|
240
|
+
|
|
241
|
+
.btn { max-width: 100%; }
|
|
242
|
+
.btn-content-wrap, .btn-label { min-width: 0; overflow-wrap: anywhere; }
|
|
@@ -23,7 +23,7 @@ export class QButton extends Mixin(withActionProps) {
|
|
|
23
23
|
/** Required when an icon-only button has no accessible text. */
|
|
24
24
|
ariaLabel = null;
|
|
25
25
|
variant = 'primary';
|
|
26
|
-
size = '
|
|
26
|
+
size = 'inherit';
|
|
27
27
|
/** The `circle` shape uses a fixed-size circular presentation. */
|
|
28
28
|
shape = 'default';
|
|
29
29
|
layout = 'inline';
|
|
@@ -145,7 +145,7 @@ export class QButton extends Mixin(withActionProps) {
|
|
|
145
145
|
};
|
|
146
146
|
const innerContent = [
|
|
147
147
|
this.loading && h("div", { class: "btn-spinner", part: "spinner" }),
|
|
148
|
-
h("span", { class: "btn-content-wrap", style: { visibility: this.loading ? 'hidden' : 'visible' } }, h("slot", { name: "icon-left", onSlotchange: this.handleSlotChange }, shortcutIcon && h("q-icon", { name: shortcutIcon, size:
|
|
148
|
+
h("span", { class: "btn-content-wrap", style: { visibility: this.loading ? 'hidden' : 'visible' } }, h("slot", { name: "icon-left", onSlotchange: this.handleSlotChange }, shortcutIcon && h("q-icon", { name: shortcutIcon, size: "var(--_q-control-icon)", part: "icon" })), h("span", { class: { 'btn-label': true, 'has-default-slot-icon': hasDefaultSlotIcon } }, h("slot", { onSlotchange: this.handleSlotChange })), h("slot", { name: "icon-right", onSlotchange: this.handleSlotChange }))
|
|
149
149
|
];
|
|
150
150
|
if (isLink) {
|
|
151
151
|
return (h("a", { class: classes, part: "button", href: this.href, target: this.target, rel: this.getResolvedRel(), download: this.download, tabindex: isBtnDisabled ? -1 : undefined, "aria-disabled": isBtnDisabled ? 'true' : 'false', "aria-busy": this.loading ? 'true' : 'false', "aria-label": ariaLabel, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, innerContent));
|
|
@@ -264,7 +264,7 @@ export class QButton extends Mixin(withActionProps) {
|
|
|
264
264
|
"mutable": false,
|
|
265
265
|
"complexType": {
|
|
266
266
|
"original": "QButtonSize",
|
|
267
|
-
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
267
|
+
"resolved": "\"inherit\" | \"lg\" | \"md\" | \"sm\"",
|
|
268
268
|
"references": {
|
|
269
269
|
"QButtonSize": {
|
|
270
270
|
"location": "import",
|
|
@@ -284,7 +284,7 @@ export class QButton extends Mixin(withActionProps) {
|
|
|
284
284
|
"setter": false,
|
|
285
285
|
"reflect": false,
|
|
286
286
|
"attribute": "size",
|
|
287
|
-
"defaultValue": "'
|
|
287
|
+
"defaultValue": "'inherit'"
|
|
288
288
|
},
|
|
289
289
|
"shape": {
|
|
290
290
|
"type": "string",
|
|
@@ -16,7 +16,7 @@ export class QLink extends Mixin(withActionProps, withActionLabel) {
|
|
|
16
16
|
// ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
|
|
17
17
|
variant = 'default';
|
|
18
18
|
underline = 'hover';
|
|
19
|
-
/**
|
|
19
|
+
/** @deprecated Use href. Used when href is empty or unset. */
|
|
20
20
|
url;
|
|
21
21
|
/** Generates a `mailto:` URL when `href` and `url` are unset. */
|
|
22
22
|
mailto;
|
|
@@ -67,12 +67,12 @@ export class QLink extends Mixin(withActionProps, withActionLabel) {
|
|
|
67
67
|
const href = this.disabled ? undefined : this.resolvedHref || undefined;
|
|
68
68
|
const showExternal = this.external || this.target === '_blank';
|
|
69
69
|
const externalText = this.target === '_blank' ? 'opens in new tab' : 'external link';
|
|
70
|
-
return (h("a", { key: '
|
|
70
|
+
return (h("a", { key: '190cf38d3818d5387b546f39e79fbc670a7cc739', class: {
|
|
71
71
|
'link': true,
|
|
72
72
|
[`variant-${this.variant}`]: true,
|
|
73
73
|
[`underline-${this.underline}`]: true,
|
|
74
74
|
'is-disabled': this.disabled,
|
|
75
|
-
}, href: href, target: this.disabled ? undefined : this.target, rel: this.disabled ? undefined : this.resolvedRel, download: this.disabled ? undefined : this.download, "aria-disabled": this.disabled ? 'true' : 'false', tabindex: this.disabled ? -1 : undefined, part: "link", onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("slot", { key: '
|
|
75
|
+
}, href: href, target: this.disabled ? undefined : this.target, rel: this.disabled ? undefined : this.resolvedRel, download: this.disabled ? undefined : this.download, "aria-disabled": this.disabled ? 'true' : 'false', tabindex: this.disabled ? -1 : undefined, part: "link", onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("slot", { key: 'da416f871c0fe1747da4c9117ff7c99240bd8bdd', name: "icon-left" }), h("span", { key: 'fd010829d1a8fe36bb1627f7e0077e40a3affc81', class: "link-label", part: "label" }, h("slot", { key: '9a9b11ac5f1032525c8c828196bf3a4c0c8d284e' }, this.label)), h("slot", { key: '0e8938e994d6c7076d281692e1f5ce3b8fa4d267', name: "icon-right" }), showExternal && (h("span", { key: '0fea3416f3364a8d1d312b4d9690ad7c12395860', class: "external-affordance" }, h("svg", { key: 'fe3c7e149c248d7406f5107bcd8b418ad98031b7', class: "external-icon", part: "external-icon", viewBox: "0 0 24 24", "aria-hidden": "true" }, h("path", { key: '10e71ed796eaddc223ef6c83472d1e0745e8ae24', d: "M14 3h7v7" }), h("path", { key: 'e522c15547771a60fc5f93b23dace13ee4ea58b6', d: "M10 14L21 3" }), h("path", { key: '6316757bd05ea7f05d8c9d0ab4af3a1d0287903a', d: "M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" })), h("span", { key: '4698f7d717f468fbe8b19ea1f6c77083d440418b', class: "visually-hidden" }, "(", externalText, ")")))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "q-link"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
|
@@ -153,8 +153,11 @@ export class QLink extends Mixin(withActionProps, withActionLabel) {
|
|
|
153
153
|
"required": false,
|
|
154
154
|
"optional": true,
|
|
155
155
|
"docs": {
|
|
156
|
-
"tags": [
|
|
157
|
-
|
|
156
|
+
"tags": [{
|
|
157
|
+
"name": "deprecated",
|
|
158
|
+
"text": "Use href. Used when href is empty or unset."
|
|
159
|
+
}],
|
|
160
|
+
"text": ""
|
|
158
161
|
},
|
|
159
162
|
"getter": false,
|
|
160
163
|
"setter": false,
|
|
@@ -94,7 +94,7 @@ export class QAlert {
|
|
|
94
94
|
"QAlertVariant": {
|
|
95
95
|
"location": "import",
|
|
96
96
|
"path": "./alert.types",
|
|
97
|
-
"id": "src/components/
|
|
97
|
+
"id": "src/components/communication/alert/alert.types.ts::QAlertVariant",
|
|
98
98
|
"referenceLocation": "QAlertVariant"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -161,7 +161,7 @@ export class QAlert {
|
|
|
161
161
|
"QAlertAnnouncement": {
|
|
162
162
|
"location": "import",
|
|
163
163
|
"path": "./alert.types",
|
|
164
|
-
"id": "src/components/
|
|
164
|
+
"id": "src/components/communication/alert/alert.types.ts::QAlertAnnouncement",
|
|
165
165
|
"referenceLocation": "QAlertAnnouncement"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -20,15 +20,15 @@ import { h } from "@stencil/core";
|
|
|
20
20
|
export class QConversationBubble {
|
|
21
21
|
// ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
|
|
22
22
|
el;
|
|
23
|
-
variant = 'incoming';
|
|
24
23
|
/** Visible sender name. */
|
|
25
24
|
sender;
|
|
26
25
|
/** Visible timestamp or short temporal description. */
|
|
27
26
|
timestamp;
|
|
28
|
-
|
|
29
|
-
ariaLabel = null;
|
|
27
|
+
variant = 'incoming';
|
|
30
28
|
/** Reduces spacing for dense conversations. */
|
|
31
29
|
compact = false;
|
|
30
|
+
/** Overrides the generated accessible message label. */
|
|
31
|
+
ariaLabel = null;
|
|
32
32
|
hasAvatar = false;
|
|
33
33
|
hasMeta = false;
|
|
34
34
|
hasActions = false;
|
|
@@ -68,12 +68,12 @@ export class QConversationBubble {
|
|
|
68
68
|
const sender = this.sender?.trim();
|
|
69
69
|
const timestamp = this.timestamp?.trim();
|
|
70
70
|
const hasFooter = Boolean(timestamp || this.hasMeta || this.hasActions);
|
|
71
|
-
return (h("article", { key: '
|
|
71
|
+
return (h("article", { key: '91f7293d04d241d8e1b7f9bd877b1e3f9f6ca037', class: {
|
|
72
72
|
conversation: true,
|
|
73
73
|
[`variant-${this.variant}`]: true,
|
|
74
74
|
'is-compact': this.compact,
|
|
75
75
|
'has-avatar': this.hasAvatar,
|
|
76
|
-
}, part: "container", role: "group", "aria-label": this.accessibleName }, h("div", { key: '
|
|
76
|
+
}, part: "container", role: "group", "aria-label": this.accessibleName }, h("div", { key: '2edb3228a77721ce1872be2444b95e4a4a1cc9b9', class: "avatar", part: "avatar", "aria-hidden": !this.hasAvatar || this.variant === 'system' ? 'true' : undefined }, h("slot", { key: 'fc563a1914fb884f0493e6dc2929067af80df0a6', name: "avatar", onSlotchange: this.handleSlotChange })), h("div", { key: '64ffd2813def7ab357b02bf1bff94e7b4e98baa4', class: "content", part: "content" }, sender && (h("header", { key: '22f10c1407ff4c1baf8c406758106587ffb3be56', class: "header", part: "header" }, h("span", { key: 'b5dbcff142b5f36be89161228b667fc40f512238', class: "sender", part: "sender" }, sender))), h("div", { key: 'f0a7862691d3f65611a984f78ae5aee53dab4e90', class: "bubble", part: "bubble" }, h("div", { key: '21daee0cb87cabb9108e4a5b834e08e3203398a4', class: "body", part: "body" }, h("slot", { key: 'c4cb6d3e1810e46d5e0cb5576fd713837842eca5' })), h("footer", { key: '9b6006103ff49af218244c89f2b9b2f68979ef07', class: { footer: true, 'has-content': hasFooter }, part: "footer" }, h("div", { key: '34c0863ea6c929ac4aefeb9201907e14d62aea58', class: "message-meta" }, timestamp && h("time", { key: '17012405cbb55892468abc4ab17284626b74f2c9', class: "timestamp", part: "timestamp" }, timestamp), h("span", { key: 'b8a20c59cad68971afec1de94e6afd7d039a5e8f', class: { meta: true, 'has-content': this.hasMeta }, part: "meta" }, h("slot", { key: '3eb2621bcf4c4751be09d911df090d6ace98e0df', name: "meta", onSlotchange: this.handleSlotChange }))), h("span", { key: '8a8c8f30afec4b30ac3c3cd82e41ab1c2e319d0c', class: { actions: true, 'has-content': this.hasActions }, part: "actions" }, h("slot", { key: '58a071e2c192bebf9645a297f8d8e922a3a7bb80', name: "actions", onSlotchange: this.handleSlotChange })))))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "q-conversation-bubble"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,33 +89,6 @@ export class QConversationBubble {
|
|
|
89
89
|
}
|
|
90
90
|
static get properties() {
|
|
91
91
|
return {
|
|
92
|
-
"variant": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"mutable": false,
|
|
95
|
-
"complexType": {
|
|
96
|
-
"original": "QConversationBubbleVariant",
|
|
97
|
-
"resolved": "\"incoming\" | \"outgoing\" | \"system\"",
|
|
98
|
-
"references": {
|
|
99
|
-
"QConversationBubbleVariant": {
|
|
100
|
-
"location": "import",
|
|
101
|
-
"path": "./conversation-bubble.types",
|
|
102
|
-
"id": "src/components/data-display/conversation-bubble/conversation-bubble.types.ts::QConversationBubbleVariant",
|
|
103
|
-
"referenceLocation": "QConversationBubbleVariant"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"required": false,
|
|
108
|
-
"optional": false,
|
|
109
|
-
"docs": {
|
|
110
|
-
"tags": [],
|
|
111
|
-
"text": ""
|
|
112
|
-
},
|
|
113
|
-
"getter": false,
|
|
114
|
-
"setter": false,
|
|
115
|
-
"reflect": true,
|
|
116
|
-
"attribute": "variant",
|
|
117
|
-
"defaultValue": "'incoming'"
|
|
118
|
-
},
|
|
119
92
|
"sender": {
|
|
120
93
|
"type": "string",
|
|
121
94
|
"mutable": false,
|
|
@@ -154,25 +127,32 @@ export class QConversationBubble {
|
|
|
154
127
|
"reflect": false,
|
|
155
128
|
"attribute": "timestamp"
|
|
156
129
|
},
|
|
157
|
-
"
|
|
130
|
+
"variant": {
|
|
158
131
|
"type": "string",
|
|
159
132
|
"mutable": false,
|
|
160
133
|
"complexType": {
|
|
161
|
-
"original": "
|
|
162
|
-
"resolved": "
|
|
163
|
-
"references": {
|
|
134
|
+
"original": "QConversationBubbleVariant",
|
|
135
|
+
"resolved": "\"incoming\" | \"outgoing\" | \"system\"",
|
|
136
|
+
"references": {
|
|
137
|
+
"QConversationBubbleVariant": {
|
|
138
|
+
"location": "import",
|
|
139
|
+
"path": "./conversation-bubble.types",
|
|
140
|
+
"id": "src/components/communication/conversation-bubble/conversation-bubble.types.ts::QConversationBubbleVariant",
|
|
141
|
+
"referenceLocation": "QConversationBubbleVariant"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
164
144
|
},
|
|
165
145
|
"required": false,
|
|
166
146
|
"optional": false,
|
|
167
147
|
"docs": {
|
|
168
148
|
"tags": [],
|
|
169
|
-
"text": "
|
|
149
|
+
"text": ""
|
|
170
150
|
},
|
|
171
151
|
"getter": false,
|
|
172
152
|
"setter": false,
|
|
173
|
-
"reflect":
|
|
174
|
-
"attribute": "
|
|
175
|
-
"defaultValue": "
|
|
153
|
+
"reflect": true,
|
|
154
|
+
"attribute": "variant",
|
|
155
|
+
"defaultValue": "'incoming'"
|
|
176
156
|
},
|
|
177
157
|
"compact": {
|
|
178
158
|
"type": "boolean",
|
|
@@ -193,6 +173,26 @@ export class QConversationBubble {
|
|
|
193
173
|
"reflect": true,
|
|
194
174
|
"attribute": "compact",
|
|
195
175
|
"defaultValue": "false"
|
|
176
|
+
},
|
|
177
|
+
"ariaLabel": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"mutable": false,
|
|
180
|
+
"complexType": {
|
|
181
|
+
"original": "string | null",
|
|
182
|
+
"resolved": "string",
|
|
183
|
+
"references": {}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": false,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": "Overrides the generated accessible message label."
|
|
190
|
+
},
|
|
191
|
+
"getter": false,
|
|
192
|
+
"setter": false,
|
|
193
|
+
"reflect": false,
|
|
194
|
+
"attribute": "aria-label",
|
|
195
|
+
"defaultValue": "null"
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
}
|
|
@@ -214,7 +214,7 @@ export class QToast {
|
|
|
214
214
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
215
215
|
render() {
|
|
216
216
|
const maxVisible = normalizeMaxVisible(this.maxVisible);
|
|
217
|
-
return (h("div", { key: '
|
|
217
|
+
return (h("div", { key: 'db16fb1ef176cbb67f12968cb3b700b65ae86c06', class: "viewport" }, h("div", { key: 'f5e6155816fa71cf3ab982b02a8744149615d29f', class: "stack", part: "stack", role: "region", "aria-label": "Notifications", style: { '--q-toast-max-visible': `${maxVisible}` } }, this.visibleToasts.map((item) => (h("div", { class: {
|
|
218
218
|
'toast-item': true,
|
|
219
219
|
[`variant-${item.variant}`]: true,
|
|
220
220
|
'is-exiting': item.exiting,
|
|
@@ -223,7 +223,7 @@ export class QToast {
|
|
|
223
223
|
if (!current.contains(event.relatedTarget)) {
|
|
224
224
|
this.timers.resume(item.id, 'focus');
|
|
225
225
|
}
|
|
226
|
-
} }, h("q-alert", { heading: item.title, variant: item.variant, dismissible: item.dismissible, dismissLabel: `Dismiss ${item.title}`, announcement: "off", onQDismiss: () => this.dismissItem(item.id) }, renderToastIcon(item.variant), item.description))))), h("div", { key: '
|
|
226
|
+
} }, h("q-alert", { heading: item.title, variant: item.variant, dismissible: item.dismissible, dismissLabel: `Dismiss ${item.title}`, announcement: "off", onQDismiss: () => this.dismissItem(item.id) }, renderToastIcon(item.variant), item.description))))), h("div", { key: '46993c8758bd81e96dbaffbfcad22e65e9e508c4', class: "announcement", part: "announcement", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcementText)));
|
|
227
227
|
}
|
|
228
228
|
static get is() { return "q-toast"; }
|
|
229
229
|
static get encapsulation() { return "shadow"; }
|
|
@@ -249,7 +249,7 @@ export class QToast {
|
|
|
249
249
|
"QToastPosition": {
|
|
250
250
|
"location": "import",
|
|
251
251
|
"path": "./toast.types",
|
|
252
|
-
"id": "src/components/
|
|
252
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastPosition",
|
|
253
253
|
"referenceLocation": "QToastPosition"
|
|
254
254
|
}
|
|
255
255
|
}
|
|
@@ -320,13 +320,13 @@ export class QToast {
|
|
|
320
320
|
"QToastOptions": {
|
|
321
321
|
"location": "import",
|
|
322
322
|
"path": "./toast.types",
|
|
323
|
-
"id": "src/components/
|
|
323
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastOptions",
|
|
324
324
|
"referenceLocation": "QToastOptions"
|
|
325
325
|
},
|
|
326
326
|
"QToastId": {
|
|
327
327
|
"location": "import",
|
|
328
328
|
"path": "./toast.types",
|
|
329
|
-
"id": "src/components/
|
|
329
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastId",
|
|
330
330
|
"referenceLocation": "QToastId"
|
|
331
331
|
}
|
|
332
332
|
},
|
|
@@ -361,13 +361,13 @@ export class QToast {
|
|
|
361
361
|
"QToastOptions": {
|
|
362
362
|
"location": "import",
|
|
363
363
|
"path": "./toast.types",
|
|
364
|
-
"id": "src/components/
|
|
364
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastOptions",
|
|
365
365
|
"referenceLocation": "QToastOptions"
|
|
366
366
|
},
|
|
367
367
|
"QToastId": {
|
|
368
368
|
"location": "import",
|
|
369
369
|
"path": "./toast.types",
|
|
370
|
-
"id": "src/components/
|
|
370
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastId",
|
|
371
371
|
"referenceLocation": "QToastId"
|
|
372
372
|
}
|
|
373
373
|
},
|
|
@@ -402,13 +402,13 @@ export class QToast {
|
|
|
402
402
|
"QToastOptions": {
|
|
403
403
|
"location": "import",
|
|
404
404
|
"path": "./toast.types",
|
|
405
|
-
"id": "src/components/
|
|
405
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastOptions",
|
|
406
406
|
"referenceLocation": "QToastOptions"
|
|
407
407
|
},
|
|
408
408
|
"QToastId": {
|
|
409
409
|
"location": "import",
|
|
410
410
|
"path": "./toast.types",
|
|
411
|
-
"id": "src/components/
|
|
411
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastId",
|
|
412
412
|
"referenceLocation": "QToastId"
|
|
413
413
|
}
|
|
414
414
|
},
|
|
@@ -443,13 +443,13 @@ export class QToast {
|
|
|
443
443
|
"QToastOptions": {
|
|
444
444
|
"location": "import",
|
|
445
445
|
"path": "./toast.types",
|
|
446
|
-
"id": "src/components/
|
|
446
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastOptions",
|
|
447
447
|
"referenceLocation": "QToastOptions"
|
|
448
448
|
},
|
|
449
449
|
"QToastId": {
|
|
450
450
|
"location": "import",
|
|
451
451
|
"path": "./toast.types",
|
|
452
|
-
"id": "src/components/
|
|
452
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastId",
|
|
453
453
|
"referenceLocation": "QToastId"
|
|
454
454
|
}
|
|
455
455
|
},
|
|
@@ -484,13 +484,13 @@ export class QToast {
|
|
|
484
484
|
"QToastOptions": {
|
|
485
485
|
"location": "import",
|
|
486
486
|
"path": "./toast.types",
|
|
487
|
-
"id": "src/components/
|
|
487
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastOptions",
|
|
488
488
|
"referenceLocation": "QToastOptions"
|
|
489
489
|
},
|
|
490
490
|
"QToastId": {
|
|
491
491
|
"location": "import",
|
|
492
492
|
"path": "./toast.types",
|
|
493
|
-
"id": "src/components/
|
|
493
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastId",
|
|
494
494
|
"referenceLocation": "QToastId"
|
|
495
495
|
}
|
|
496
496
|
},
|
|
@@ -517,7 +517,7 @@ export class QToast {
|
|
|
517
517
|
"QToastId": {
|
|
518
518
|
"location": "import",
|
|
519
519
|
"path": "./toast.types",
|
|
520
|
-
"id": "src/components/
|
|
520
|
+
"id": "src/components/communication/toast/toast.types.ts::QToastId",
|
|
521
521
|
"referenceLocation": "QToastId"
|
|
522
522
|
}
|
|
523
523
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:host { display: block; min-width: 0; }
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Generic banner shell. The media, copy and actions are supplied through slots; final layout is deferred.
|
|
4
|
+
* @slot - Consumer-owned content.
|
|
5
|
+
* @slot media - Media content.
|
|
6
|
+
* @slot actions - Action content.
|
|
7
|
+
*/
|
|
8
|
+
export class QBanner {
|
|
9
|
+
height = 'auto';
|
|
10
|
+
alignment = 'center';
|
|
11
|
+
render() {
|
|
12
|
+
return h(Host, { key: 'ddf1c72b39c7d8fde31aeb2cc39ce924265f4a70' }, h("slot", { key: '8820f5322d4bc3b61de2659da12c5764f944b0f0', name: "media" }), h("slot", { key: '8ece402bb77e6a1f5fb8ac355b1a923c8350ffd3' }), h("slot", { key: '6e0453322826212059fedf8b6e812118e24d9133', name: "actions" }));
|
|
13
|
+
}
|
|
14
|
+
static get is() { return "q-banner"; }
|
|
15
|
+
static get encapsulation() { return "shadow"; }
|
|
16
|
+
static get originalStyleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["banner.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static get styleUrls() {
|
|
22
|
+
return {
|
|
23
|
+
"$": ["banner.css"]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
static get properties() {
|
|
27
|
+
return {
|
|
28
|
+
"height": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"mutable": false,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "QBannerHeight",
|
|
33
|
+
"resolved": "\"auto\" | \"full\" | \"half\" | \"narrow\"",
|
|
34
|
+
"references": {
|
|
35
|
+
"QBannerHeight": {
|
|
36
|
+
"location": "import",
|
|
37
|
+
"path": "./banner.types",
|
|
38
|
+
"id": "src/components/content/banner/banner.types.ts::QBannerHeight",
|
|
39
|
+
"referenceLocation": "QBannerHeight"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": ""
|
|
48
|
+
},
|
|
49
|
+
"getter": false,
|
|
50
|
+
"setter": false,
|
|
51
|
+
"reflect": true,
|
|
52
|
+
"attribute": "height",
|
|
53
|
+
"defaultValue": "'auto'"
|
|
54
|
+
},
|
|
55
|
+
"alignment": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "QBannerAlignment",
|
|
60
|
+
"resolved": "\"center\" | \"end\" | \"start\"",
|
|
61
|
+
"references": {
|
|
62
|
+
"QBannerAlignment": {
|
|
63
|
+
"location": "import",
|
|
64
|
+
"path": "./banner.types",
|
|
65
|
+
"id": "src/components/content/banner/banner.types.ts::QBannerAlignment",
|
|
66
|
+
"referenceLocation": "QBannerAlignment"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": false,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": ""
|
|
75
|
+
},
|
|
76
|
+
"getter": false,
|
|
77
|
+
"setter": false,
|
|
78
|
+
"reflect": true,
|
|
79
|
+
"attribute": "alignment",
|
|
80
|
+
"defaultValue": "'center'"
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -91,3 +91,15 @@
|
|
|
91
91
|
font-weight: var(--q-font-weight-normal, 400);
|
|
92
92
|
line-height: 1.5;
|
|
93
93
|
}
|
|
94
|
+
|
|
95
|
+
/* Region padding is local and cannot alter descendants' spacing tokens. */
|
|
96
|
+
:host { min-width: var(--q-card-min-width, 0px); }
|
|
97
|
+
.card-container { padding: 0; background: var(--q-card-bg, var(--_q-surface)); }
|
|
98
|
+
.card-container.is-glass { background: var(--q-card-bg, var(--q-bg-glass, rgba(25,36,59,.85))); }
|
|
99
|
+
.elevation-none { box-shadow: none; }
|
|
100
|
+
.card-header { padding: var(--q-card-header-padding, var(--_q-header-padding)); margin: 0; }
|
|
101
|
+
.card-body { padding: var(--q-card-padding, var(--_q-body-padding)); }
|
|
102
|
+
.card-footer { padding: var(--q-card-footer-padding, var(--_q-footer-padding)); }
|
|
103
|
+
.card-footer.is-hidden { display: none; }
|
|
104
|
+
.has-dividers .card-header { border-bottom: var(--q-card-divider, var(--q-border, 1px solid #374151)); }
|
|
105
|
+
.has-dividers .card-footer { border-top: var(--q-card-divider, var(--q-border, 1px solid #374151)); }
|