@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
|
@@ -11,17 +11,17 @@ export class QAvatar {
|
|
|
11
11
|
el;
|
|
12
12
|
/** Image source. An empty value renders the fallback immediately. */
|
|
13
13
|
src;
|
|
14
|
-
/** Name used to derive fallback initials and, unless `alt` is supplied, the accessible name. */
|
|
15
|
-
name;
|
|
16
14
|
/** Explicit fallback text. Values are normalized to at most two visible characters. */
|
|
17
15
|
initials;
|
|
18
|
-
/** Accessible image text. Set an explicit empty string when the avatar is decorative. */
|
|
19
|
-
alt;
|
|
20
16
|
/** Preset, pixel number, or CSS size. */
|
|
21
17
|
size = 'md';
|
|
22
18
|
shape = 'circle';
|
|
23
19
|
/** Native image loading policy. */
|
|
24
20
|
loading = 'lazy';
|
|
21
|
+
/** Name used to derive fallback initials and, unless `alt` is supplied, the accessible name. */
|
|
22
|
+
name;
|
|
23
|
+
/** Accessible image text. Set an explicit empty string when the avatar is decorative. */
|
|
24
|
+
alt;
|
|
25
25
|
qLoad;
|
|
26
26
|
qError;
|
|
27
27
|
imageFailed = false;
|
|
@@ -81,7 +81,7 @@ export class QAvatar {
|
|
|
81
81
|
const preset = typeof this.size === 'string' && ['sm', 'md', 'lg'].includes(this.size)
|
|
82
82
|
? this.size
|
|
83
83
|
: 'custom';
|
|
84
|
-
return (h("div", { key: '
|
|
84
|
+
return (h("div", { key: 'd1bba65fbe6d3124cc9c3cd4f0454590fd4e3fde', class: {
|
|
85
85
|
avatar: true,
|
|
86
86
|
[`size-${preset}`]: true,
|
|
87
87
|
[`shape-${this.shape}`]: true,
|
|
@@ -121,25 +121,6 @@ export class QAvatar {
|
|
|
121
121
|
"reflect": false,
|
|
122
122
|
"attribute": "src"
|
|
123
123
|
},
|
|
124
|
-
"name": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"mutable": false,
|
|
127
|
-
"complexType": {
|
|
128
|
-
"original": "string",
|
|
129
|
-
"resolved": "string",
|
|
130
|
-
"references": {}
|
|
131
|
-
},
|
|
132
|
-
"required": false,
|
|
133
|
-
"optional": true,
|
|
134
|
-
"docs": {
|
|
135
|
-
"tags": [],
|
|
136
|
-
"text": "Name used to derive fallback initials and, unless `alt` is supplied, the accessible name."
|
|
137
|
-
},
|
|
138
|
-
"getter": false,
|
|
139
|
-
"setter": false,
|
|
140
|
-
"reflect": false,
|
|
141
|
-
"attribute": "name"
|
|
142
|
-
},
|
|
143
124
|
"initials": {
|
|
144
125
|
"type": "string",
|
|
145
126
|
"mutable": false,
|
|
@@ -159,25 +140,6 @@ export class QAvatar {
|
|
|
159
140
|
"reflect": false,
|
|
160
141
|
"attribute": "initials"
|
|
161
142
|
},
|
|
162
|
-
"alt": {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"mutable": false,
|
|
165
|
-
"complexType": {
|
|
166
|
-
"original": "string",
|
|
167
|
-
"resolved": "string",
|
|
168
|
-
"references": {}
|
|
169
|
-
},
|
|
170
|
-
"required": false,
|
|
171
|
-
"optional": true,
|
|
172
|
-
"docs": {
|
|
173
|
-
"tags": [],
|
|
174
|
-
"text": "Accessible image text. Set an explicit empty string when the avatar is decorative."
|
|
175
|
-
},
|
|
176
|
-
"getter": false,
|
|
177
|
-
"setter": false,
|
|
178
|
-
"reflect": false,
|
|
179
|
-
"attribute": "alt"
|
|
180
|
-
},
|
|
181
143
|
"size": {
|
|
182
144
|
"type": "any",
|
|
183
145
|
"mutable": false,
|
|
@@ -251,6 +213,44 @@ export class QAvatar {
|
|
|
251
213
|
"reflect": false,
|
|
252
214
|
"attribute": "loading",
|
|
253
215
|
"defaultValue": "'lazy'"
|
|
216
|
+
},
|
|
217
|
+
"name": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"mutable": false,
|
|
220
|
+
"complexType": {
|
|
221
|
+
"original": "string",
|
|
222
|
+
"resolved": "string",
|
|
223
|
+
"references": {}
|
|
224
|
+
},
|
|
225
|
+
"required": false,
|
|
226
|
+
"optional": true,
|
|
227
|
+
"docs": {
|
|
228
|
+
"tags": [],
|
|
229
|
+
"text": "Name used to derive fallback initials and, unless `alt` is supplied, the accessible name."
|
|
230
|
+
},
|
|
231
|
+
"getter": false,
|
|
232
|
+
"setter": false,
|
|
233
|
+
"reflect": false,
|
|
234
|
+
"attribute": "name"
|
|
235
|
+
},
|
|
236
|
+
"alt": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"mutable": false,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "string",
|
|
241
|
+
"resolved": "string",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": true,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": "Accessible image text. Set an explicit empty string when the avatar is decorative."
|
|
249
|
+
},
|
|
250
|
+
"getter": false,
|
|
251
|
+
"setter": false,
|
|
252
|
+
"reflect": false,
|
|
253
|
+
"attribute": "alt"
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
}
|
|
@@ -17,16 +17,20 @@ export class QIcon {
|
|
|
17
17
|
el;
|
|
18
18
|
/** Icon name or local asset filename. */
|
|
19
19
|
name;
|
|
20
|
-
/** Trusted compile-time icon data. Takes precedence over `name` and never performs I/O. */
|
|
21
|
-
definition;
|
|
22
20
|
/** Supports built-in libraries, local assets, and custom URL templates. */
|
|
21
|
+
library;
|
|
22
|
+
/** @deprecated Use library. Used only when library is unset. */
|
|
23
23
|
lib = 'lucide';
|
|
24
|
-
/** Base path used when `
|
|
24
|
+
/** Base path used when `library="local"`. */
|
|
25
25
|
localPath = '/assets/icons/';
|
|
26
26
|
/** Overrides the version of built-in remote libraries. */
|
|
27
|
+
libraryVersion;
|
|
28
|
+
/** @deprecated Use libraryVersion. Used only when libraryVersion is unset. */
|
|
27
29
|
libVersion;
|
|
28
30
|
/** SVG fetch timeout in milliseconds. */
|
|
29
31
|
fetchTimeout = DEFAULT_FETCH_TIMEOUT_MS;
|
|
32
|
+
/** Trusted compile-time icon data. Takes precedence over `name` and never performs I/O. */
|
|
33
|
+
definition;
|
|
30
34
|
/** Accepts a preset, pixel number, or CSS size. */
|
|
31
35
|
size = 'md';
|
|
32
36
|
color = 'currentColor';
|
|
@@ -129,9 +133,9 @@ export class QIcon {
|
|
|
129
133
|
}
|
|
130
134
|
const url = resolveIconUrl({
|
|
131
135
|
name: this.name,
|
|
132
|
-
library: this.lib,
|
|
136
|
+
library: this.library ?? this.lib,
|
|
133
137
|
localPath: this.localPath,
|
|
134
|
-
libraryVersion: this.libVersion,
|
|
138
|
+
libraryVersion: this.libraryVersion ?? this.libVersion,
|
|
135
139
|
});
|
|
136
140
|
if (isBinaryIconUrl(url)) {
|
|
137
141
|
if (this.fetchId === currentFetchId) {
|
|
@@ -226,18 +230,18 @@ export class QIcon {
|
|
|
226
230
|
"reflect": false,
|
|
227
231
|
"attribute": "name"
|
|
228
232
|
},
|
|
229
|
-
"
|
|
230
|
-
"type": "
|
|
233
|
+
"library": {
|
|
234
|
+
"type": "string",
|
|
231
235
|
"mutable": false,
|
|
232
236
|
"complexType": {
|
|
233
|
-
"original": "
|
|
234
|
-
"resolved": "
|
|
237
|
+
"original": "QIconLibrary",
|
|
238
|
+
"resolved": "\"font-awesome\" | \"fontawesome\" | \"local\" | \"lucide\" | string & {}",
|
|
235
239
|
"references": {
|
|
236
|
-
"
|
|
240
|
+
"QIconLibrary": {
|
|
237
241
|
"location": "import",
|
|
238
242
|
"path": "./icon.types",
|
|
239
|
-
"id": "src/components/media/icon/icon.types.ts::
|
|
240
|
-
"referenceLocation": "
|
|
243
|
+
"id": "src/components/media/icon/icon.types.ts::QIconLibrary",
|
|
244
|
+
"referenceLocation": "QIconLibrary"
|
|
241
245
|
}
|
|
242
246
|
}
|
|
243
247
|
},
|
|
@@ -245,10 +249,12 @@ export class QIcon {
|
|
|
245
249
|
"optional": true,
|
|
246
250
|
"docs": {
|
|
247
251
|
"tags": [],
|
|
248
|
-
"text": "
|
|
252
|
+
"text": "Supports built-in libraries, local assets, and custom URL templates."
|
|
249
253
|
},
|
|
250
254
|
"getter": false,
|
|
251
|
-
"setter": false
|
|
255
|
+
"setter": false,
|
|
256
|
+
"reflect": false,
|
|
257
|
+
"attribute": "library"
|
|
252
258
|
},
|
|
253
259
|
"lib": {
|
|
254
260
|
"type": "string",
|
|
@@ -268,8 +274,11 @@ export class QIcon {
|
|
|
268
274
|
"required": false,
|
|
269
275
|
"optional": false,
|
|
270
276
|
"docs": {
|
|
271
|
-
"tags": [
|
|
272
|
-
|
|
277
|
+
"tags": [{
|
|
278
|
+
"name": "deprecated",
|
|
279
|
+
"text": "Use library. Used only when library is unset."
|
|
280
|
+
}],
|
|
281
|
+
"text": ""
|
|
273
282
|
},
|
|
274
283
|
"getter": false,
|
|
275
284
|
"setter": false,
|
|
@@ -296,7 +305,7 @@ export class QIcon {
|
|
|
296
305
|
"optional": false,
|
|
297
306
|
"docs": {
|
|
298
307
|
"tags": [],
|
|
299
|
-
"text": "Base path used when `
|
|
308
|
+
"text": "Base path used when `library=\"local\"`."
|
|
300
309
|
},
|
|
301
310
|
"getter": false,
|
|
302
311
|
"setter": false,
|
|
@@ -304,7 +313,7 @@ export class QIcon {
|
|
|
304
313
|
"attribute": "local-path",
|
|
305
314
|
"defaultValue": "'/assets/icons/'"
|
|
306
315
|
},
|
|
307
|
-
"
|
|
316
|
+
"libraryVersion": {
|
|
308
317
|
"type": "string",
|
|
309
318
|
"mutable": false,
|
|
310
319
|
"complexType": {
|
|
@@ -321,6 +330,28 @@ export class QIcon {
|
|
|
321
330
|
"getter": false,
|
|
322
331
|
"setter": false,
|
|
323
332
|
"reflect": false,
|
|
333
|
+
"attribute": "library-version"
|
|
334
|
+
},
|
|
335
|
+
"libVersion": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"mutable": false,
|
|
338
|
+
"complexType": {
|
|
339
|
+
"original": "string",
|
|
340
|
+
"resolved": "string",
|
|
341
|
+
"references": {}
|
|
342
|
+
},
|
|
343
|
+
"required": false,
|
|
344
|
+
"optional": true,
|
|
345
|
+
"docs": {
|
|
346
|
+
"tags": [{
|
|
347
|
+
"name": "deprecated",
|
|
348
|
+
"text": "Use libraryVersion. Used only when libraryVersion is unset."
|
|
349
|
+
}],
|
|
350
|
+
"text": ""
|
|
351
|
+
},
|
|
352
|
+
"getter": false,
|
|
353
|
+
"setter": false,
|
|
354
|
+
"reflect": false,
|
|
324
355
|
"attribute": "lib-version"
|
|
325
356
|
},
|
|
326
357
|
"fetchTimeout": {
|
|
@@ -343,6 +374,30 @@ export class QIcon {
|
|
|
343
374
|
"attribute": "fetch-timeout",
|
|
344
375
|
"defaultValue": "8000"
|
|
345
376
|
},
|
|
377
|
+
"definition": {
|
|
378
|
+
"type": "unknown",
|
|
379
|
+
"mutable": false,
|
|
380
|
+
"complexType": {
|
|
381
|
+
"original": "QIconDefinition",
|
|
382
|
+
"resolved": "QIconDefinition",
|
|
383
|
+
"references": {
|
|
384
|
+
"QIconDefinition": {
|
|
385
|
+
"location": "import",
|
|
386
|
+
"path": "./icon.types",
|
|
387
|
+
"id": "src/components/media/icon/icon.types.ts::QIconDefinition",
|
|
388
|
+
"referenceLocation": "QIconDefinition"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"required": false,
|
|
393
|
+
"optional": true,
|
|
394
|
+
"docs": {
|
|
395
|
+
"tags": [],
|
|
396
|
+
"text": "Trusted compile-time icon data. Takes precedence over `name` and never performs I/O."
|
|
397
|
+
},
|
|
398
|
+
"getter": false,
|
|
399
|
+
"setter": false
|
|
400
|
+
},
|
|
346
401
|
"size": {
|
|
347
402
|
"type": "any",
|
|
348
403
|
"mutable": false,
|
|
@@ -438,12 +493,18 @@ export class QIcon {
|
|
|
438
493
|
}, {
|
|
439
494
|
"propName": "lib",
|
|
440
495
|
"methodName": "watchHandler"
|
|
496
|
+
}, {
|
|
497
|
+
"propName": "library",
|
|
498
|
+
"methodName": "watchHandler"
|
|
441
499
|
}, {
|
|
442
500
|
"propName": "localPath",
|
|
443
501
|
"methodName": "watchHandler"
|
|
444
502
|
}, {
|
|
445
503
|
"propName": "libVersion",
|
|
446
504
|
"methodName": "watchHandler"
|
|
505
|
+
}, {
|
|
506
|
+
"propName": "libraryVersion",
|
|
507
|
+
"methodName": "watchHandler"
|
|
447
508
|
}];
|
|
448
509
|
}
|
|
449
510
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:host { display: block; min-width: 0; }
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Generic media API scaffold. Native media rendering is deferred; consumers should continue using their existing media renderer.
|
|
4
|
+
* @slot - Consumer-owned content.
|
|
5
|
+
* @slot fallback - Placeholder content.
|
|
6
|
+
*/
|
|
7
|
+
export class QMedia {
|
|
8
|
+
src = '';
|
|
9
|
+
alt = '';
|
|
10
|
+
kind = 'image';
|
|
11
|
+
loading = 'lazy';
|
|
12
|
+
render() {
|
|
13
|
+
return h(Host, { key: '5d45def3470847c498e95f76357253b99acee327' }, h("slot", { key: '909ac85b7dc76d11c2b89aee8b61fa7608be8070' }), h("slot", { key: 'e84ac7af04d1c0322da86c18a97e6b51676e17fc', name: "fallback" }));
|
|
14
|
+
}
|
|
15
|
+
static get is() { return "q-media"; }
|
|
16
|
+
static get encapsulation() { return "shadow"; }
|
|
17
|
+
static get originalStyleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["media.css"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get styleUrls() {
|
|
23
|
+
return {
|
|
24
|
+
"$": ["media.css"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
static get properties() {
|
|
28
|
+
return {
|
|
29
|
+
"src": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"mutable": false,
|
|
32
|
+
"complexType": {
|
|
33
|
+
"original": "string",
|
|
34
|
+
"resolved": "string",
|
|
35
|
+
"references": {}
|
|
36
|
+
},
|
|
37
|
+
"required": false,
|
|
38
|
+
"optional": false,
|
|
39
|
+
"docs": {
|
|
40
|
+
"tags": [],
|
|
41
|
+
"text": ""
|
|
42
|
+
},
|
|
43
|
+
"getter": false,
|
|
44
|
+
"setter": false,
|
|
45
|
+
"reflect": false,
|
|
46
|
+
"attribute": "src",
|
|
47
|
+
"defaultValue": "''"
|
|
48
|
+
},
|
|
49
|
+
"alt": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "string",
|
|
54
|
+
"resolved": "string",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": ""
|
|
62
|
+
},
|
|
63
|
+
"getter": false,
|
|
64
|
+
"setter": false,
|
|
65
|
+
"reflect": false,
|
|
66
|
+
"attribute": "alt",
|
|
67
|
+
"defaultValue": "''"
|
|
68
|
+
},
|
|
69
|
+
"kind": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "QMediaKind",
|
|
74
|
+
"resolved": "\"file\" | \"image\" | \"video\"",
|
|
75
|
+
"references": {
|
|
76
|
+
"QMediaKind": {
|
|
77
|
+
"location": "import",
|
|
78
|
+
"path": "./media.types",
|
|
79
|
+
"id": "src/components/media/media/media.types.ts::QMediaKind",
|
|
80
|
+
"referenceLocation": "QMediaKind"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": false,
|
|
85
|
+
"optional": false,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": ""
|
|
89
|
+
},
|
|
90
|
+
"getter": false,
|
|
91
|
+
"setter": false,
|
|
92
|
+
"reflect": true,
|
|
93
|
+
"attribute": "kind",
|
|
94
|
+
"defaultValue": "'image'"
|
|
95
|
+
},
|
|
96
|
+
"loading": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"mutable": false,
|
|
99
|
+
"complexType": {
|
|
100
|
+
"original": "QMediaLoading",
|
|
101
|
+
"resolved": "\"eager\" | \"lazy\"",
|
|
102
|
+
"references": {
|
|
103
|
+
"QMediaLoading": {
|
|
104
|
+
"location": "import",
|
|
105
|
+
"path": "./media.types",
|
|
106
|
+
"id": "src/components/media/media/media.types.ts::QMediaLoading",
|
|
107
|
+
"referenceLocation": "QMediaLoading"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"optional": false,
|
|
113
|
+
"docs": {
|
|
114
|
+
"tags": [],
|
|
115
|
+
"text": ""
|
|
116
|
+
},
|
|
117
|
+
"getter": false,
|
|
118
|
+
"setter": false,
|
|
119
|
+
"reflect": false,
|
|
120
|
+
"attribute": "loading",
|
|
121
|
+
"defaultValue": "'lazy'"
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -148,10 +148,10 @@ export class QReel {
|
|
|
148
148
|
const currentIdx = this.getActiveIndex(thumbnails);
|
|
149
149
|
const hasPrev = currentIdx > 0;
|
|
150
150
|
const hasNext = currentIdx !== -1 && currentIdx < thumbnails.length - 1;
|
|
151
|
-
return (h("div", { key: '
|
|
151
|
+
return (h("div", { key: '989bb3c483db06df3ff5a3c236586da7919ce046', class: {
|
|
152
152
|
'reel-container': true,
|
|
153
153
|
[`layout-${this.layout}`]: true,
|
|
154
|
-
} }, h("slot", { key: '
|
|
154
|
+
} }, h("slot", { key: 'ce75324d2cf83ac7d38e2594787576875a3a63ef' }), this.activeMedia && (h("div", { key: 'a17f7cf1a552aac23e78385e07b7004f4b5bea3e', class: "lightbox-overlay", onClick: this.closeLightbox, onKeyDown: this.handleKeyDown, role: "dialog", "aria-modal": "true", "aria-label": this.activeMedia.label || 'Media Viewer', tabindex: "-1" }, h("button", { key: '0a95f4bf04f3badf8bb85ef8d941ef0ce62fc4e4', class: "lightbox-close", onClick: this.handleCloseButtonClick, "aria-label": "Close viewer", ref: (el) => (this.closeButtonRef = el) }, h("svg", { key: 'fce76fcb9342b9c41f676db5daa36e7853969b6a', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '03a9503a7f1679008b62355be3d4c097d4e27c48', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '62e6cba02314654a7daedfe1a0a95f2b5ffb68ba', x1: "6", y1: "6", x2: "18", y2: "18" }))), hasPrev && (h("button", { key: 'c4e835cc10c8aeb39ee7042a5d1a55fc3fb38062', class: "lightbox-prev", onClick: this.handlePreviousClick, "aria-label": "Previous media" }, h("svg", { key: 'bfb0e611cbfd0a38405348b3c4a54d717a3b7518', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'a61352dd25b974be8eb92f2987100d450dd87fa9', points: "15 18 9 12 15 6" })))), hasNext && (h("button", { key: '5940cdf990f4af7b239033ec681eac11bd7af923', class: "lightbox-next", onClick: this.handleNextClick, "aria-label": "Next media" }, h("svg", { key: '0109b0f902aa7925d5706745e95337e80a23830f', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'a3939fc3521d5ca61a3d58fc59b89ddf961ed4cd', points: "9 18 15 12 9 6" })))), h("div", { key: 'd3c6f0da2f408c98174898317a747925fd4cd9bc', class: "lightbox-content", onClick: (e) => e.stopPropagation() }, this.activeMedia.video ? (h("video", { class: "lightbox-media", src: this.activeMedia.src, controls: true, autoplay: true, loop: true })) : (h("img", { class: "lightbox-media", src: this.activeMedia.src, alt: this.activeMedia.alt })), this.activeMedia.label && (h("div", { key: 'f4404ff34a7b925ac5c60b5f864bfccb32d4858c', class: "lightbox-caption" }, this.activeMedia.label)))))));
|
|
155
155
|
}
|
|
156
156
|
static get is() { return "q-reel"; }
|
|
157
157
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,11 +34,11 @@ export class QThumbnail {
|
|
|
34
34
|
};
|
|
35
35
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '48d86628bc779cf1191e39c652d95bbae8c2a547', class: {
|
|
38
38
|
'thumb-wrapper': true,
|
|
39
39
|
'is-highlighted': this.highlighted,
|
|
40
40
|
'is-video': this.video,
|
|
41
|
-
}, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
41
|
+
}, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: this.handleKeyDown }, h("div", { key: 'c113b418d73954bf9ba2901b09020383a891c577', class: "thumb-media-container" }, h("img", { key: '6e7836db7bb9a0cd88e40cb068fac615ddff7e54', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (h("div", { key: '117d2d4bcd5550ac81694638dfd93b68e4c24454', class: "video-play-indicator", "aria-hidden": "true" }, h("svg", { key: '635d3c0f800c0694b94f387c432dc162de2bf1a4', viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, h("polygon", { key: '9458e20ee888f443e8b71df67aa910036574bdec', points: "5 3 19 12 5 21 5 3" }))))), this.label && (h("div", { key: 'e2af4d4c581ab289d7041487e82d6c4ef8c729ca', class: "thumb-caption" }, h("span", { key: 'ad665af92f8341f3e72ec3b7aebfee8368547303', class: "caption-text" }, this.label))), h("slot", { key: '76065889919408e0566bca08e0257d264d4b47d9' })));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "q-thumbnail"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -246,3 +246,19 @@
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
+
|
|
250
|
+
.dialog-wrapper { height: 100dvh; box-sizing: border-box; padding: var(--q-dialog-gutter, var(--q-space-lg, 1rem)); }
|
|
251
|
+
.dialog-modal { width: 100%; max-width: var(--q-dialog-width, 36rem); max-height: 100%; background: var(--q-dialog-bg, var(--q-bg-floating, var(--q-bg-surface-4, #2c3a58))); }
|
|
252
|
+
:host([size='sm']) .dialog-modal { max-width: var(--q-dialog-width, 24rem); }
|
|
253
|
+
:host([size='lg']) .dialog-modal { max-width: var(--q-dialog-width, 48rem); }
|
|
254
|
+
:host([size='full']) .dialog-modal { max-width: none; }
|
|
255
|
+
.dialog-header { padding: var(--q-dialog-header-padding, var(--q-space-lg, 1rem)); background: var(--q-dialog-header-bg, transparent); }
|
|
256
|
+
.dialog-body { padding: var(--q-dialog-body-padding, var(--q-space-lg, 1rem)); background: var(--q-dialog-body-bg, transparent); }
|
|
257
|
+
.dialog-footer { padding: var(--q-dialog-footer-padding, var(--q-space-lg, 1rem)); background: var(--q-dialog-footer-bg, transparent); flex-wrap: wrap; }
|
|
258
|
+
|
|
259
|
+
.dialog-actions { flex-wrap: wrap; min-width: 0; }
|
|
260
|
+
.dialog-actions > * { min-width: 0; max-width: 100%; }
|
|
261
|
+
.dialog-header, .dialog-footer { flex-shrink: 0; }
|
|
262
|
+
.dialog-body { min-height: 0; }
|
|
263
|
+
.dialog-footer.is-hidden { display: none; }
|
|
264
|
+
.btn-cancel, .btn-confirm { min-height: var(--q-control-height-md, 2.25rem); height: auto; padding: 0 var(--q-control-padding-md, .75rem); font-size: var(--q-control-font-md, .875rem); line-height: var(--q-control-line-md, 1.25rem); overflow-wrap: anywhere; }
|