@webquark/browser 1.1.0-dev.10 → 1.1.0-dev.12
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/dist/cjs/{action.props-N0urQtdP.js → action.props-DmLaQuU2.js} +1 -1
- package/dist/cjs/{dom-Dk77oFF6.js → dom-BYrqRYna.js} +1 -1
- package/dist/cjs/{field-CsrQGhG-.js → field-CEZ9NsWK.js} +1 -1
- package/dist/cjs/{index-DWXhKHCB.js → index-CMAcJ6t1.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q-accordion.cjs.entry.js +1 -1
- package/dist/cjs/q-alert.cjs.entry.js +1 -1
- package/dist/cjs/q-avatar.cjs.entry.js +2 -2
- package/dist/cjs/q-banner.cjs.entry.js +1 -1
- package/dist/cjs/q-button_2.cjs.entry.js +4 -4
- package/dist/cjs/q-card.cjs.entry.js +3 -3
- package/dist/cjs/q-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
- package/dist/cjs/q-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q-dialog.cjs.entry.js +4 -4
- package/dist/cjs/q-divider.cjs.entry.js +26 -0
- package/dist/cjs/q-dropdown.cjs.entry.js +111 -92
- package/dist/cjs/q-form.cjs.entry.js +5 -5
- package/dist/cjs/q-grid.cjs.entry.js +3 -3
- package/dist/cjs/q-icon.cjs.entry.js +1 -1
- package/dist/cjs/q-image-comparison.cjs.entry.js +2 -2
- package/dist/cjs/q-inline.cjs.entry.js +3 -3
- package/dist/cjs/q-input_2.cjs.entry.js +9 -7
- package/dist/cjs/q-link.cjs.entry.js +2 -2
- package/dist/cjs/q-map.cjs.entry.js +1 -1
- package/dist/cjs/q-media.cjs.entry.js +2 -2
- package/dist/cjs/q-navbar.cjs.entry.js +3 -3
- package/dist/cjs/q-pagination.cjs.entry.js +1 -1
- package/dist/cjs/q-panel.cjs.entry.js +7 -7
- package/dist/cjs/q-quantity-selector.cjs.entry.js +5 -5
- package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/q-reel.cjs.entry.js +4 -4
- package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
- package/dist/cjs/q-section.cjs.entry.js +2 -2
- package/dist/cjs/q-sidepanel.cjs.entry.js +2 -2
- package/dist/cjs/q-slider.cjs.entry.js +122 -0
- package/dist/cjs/q-stack.cjs.entry.js +3 -3
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +1 -1
- package/dist/cjs/q-step-diagram.cjs.entry.js +2 -2
- package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
- package/dist/cjs/q-tabs.cjs.entry.js +2 -2
- package/dist/cjs/q-textarea.cjs.entry.js +7 -5
- package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
- package/dist/cjs/q-toast.cjs.entry.js +1 -1
- package/dist/cjs/q-toggle.cjs.entry.js +6 -6
- package/dist/cjs/q-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/{tokens-RMRaIOqv.js → tokens-Cd7g-VMz.js} +3 -0
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/inputs/dropdown/dropdown.css +33 -0
- package/dist/collection/components/inputs/dropdown/dropdown.js +158 -91
- package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +28 -0
- package/dist/collection/components/inputs/dropdown/test/search-mode.cmp.test.js +186 -0
- package/dist/collection/components/inputs/form/form.js +2 -2
- package/dist/collection/components/inputs/form/internals/controls.js +1 -1
- package/dist/collection/components/inputs/form/test/form-submit.cmp.test.js +14 -8
- package/dist/collection/components/inputs/input/input.css +20 -0
- package/dist/collection/components/inputs/input/input.js +31 -3
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
- package/dist/collection/components/inputs/radio-group/radio-group.js +2 -2
- package/dist/collection/components/inputs/slider/slider.css +44 -0
- package/dist/collection/components/inputs/slider/slider.js +383 -0
- package/dist/collection/components/inputs/slider/test/slider.cmp.test.js +45 -0
- package/dist/collection/components/inputs/textarea/textarea.css +20 -0
- package/dist/collection/components/inputs/textarea/textarea.js +30 -2
- package/dist/collection/components/inputs/toggle/test/toggle-layout.cmp.test.js +69 -0
- package/dist/collection/components/inputs/toggle/toggle.css +5 -0
- package/dist/collection/components/inputs/toggle/toggle.js +3 -3
- package/dist/collection/components/layout/divider/divider.css +40 -0
- package/dist/collection/components/layout/divider/divider.js +121 -0
- package/dist/collection/components/layout/divider/test/divider.cmp.test.js +105 -0
- package/dist/collection/components/layout/grid/grid.js +1 -1
- package/dist/collection/components/layout/inline/inline.js +1 -1
- package/dist/collection/components/layout/navbar/navbar.js +2 -2
- package/dist/collection/components/layout/panel/panel.js +4 -4
- package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
- package/dist/collection/components/layout/section/section.js +1 -1
- package/dist/collection/components/layout/stack/stack.js +1 -1
- package/dist/collection/components/layout/tabs/tabs.js +1 -1
- package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
- package/dist/collection/components/media/avatar/avatar.js +1 -1
- package/dist/collection/components/media/image-comparison/image-comparison.js +1 -1
- package/dist/collection/components/media/media/media.js +1 -1
- 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.js +2 -2
- package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
- package/dist/collection/theme/test/input-width.cmp.test.js +117 -0
- package/dist/collection/theme/test/presets.unit.test.js +20 -2
- package/dist/collection/theme/tokens.js +3 -0
- package/dist/collection/utils/dom.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Cg0Mv7Vb.js → p-0feRVg70.js} +1 -1
- package/dist/components/{p-6PPZ2sIO.js → p-4mHh96ug.js} +1 -1
- package/dist/components/p-BDsIecIx.js +1 -0
- package/dist/components/{p-CKuPOxKN.js → p-BKly3Y6e.js} +1 -1
- package/dist/components/{p-Dfp_If-_.js → p-BbY1XC6_.js} +1 -1
- package/dist/components/p-CArIPzJU.js +1 -0
- package/dist/components/p-CLErjC1f.js +1 -0
- package/dist/{webquark/p-Dhsn99q4.js → components/p-CSucjZb7.js} +1 -1
- package/dist/components/{p-BH4gQWub.js → p-CYG3Oakz.js} +1 -1
- package/dist/components/{p-DlIn_ZWk.js → p-DbI_F3z0.js} +1 -1
- package/dist/components/p-cSh-5xis.js +1 -0
- package/dist/components/q-accordion.js +1 -1
- package/dist/components/q-alert.js +1 -1
- package/dist/components/q-avatar.js +1 -1
- package/dist/components/q-banner.js +1 -1
- 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-divider.d.ts +11 -0
- package/dist/components/q-divider.js +1 -0
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-form.js +1 -1
- package/dist/components/q-grid.js +1 -1
- package/dist/components/q-icon.js +1 -1
- package/dist/components/q-image-comparison.js +1 -1
- package/dist/components/q-inline.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/q-sidepanel.js +1 -1
- package/dist/components/q-slider.d.ts +11 -0
- package/dist/components/q-slider.js +1 -0
- package/dist/components/q-stack.js +1 -1
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +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-CpnGza8z.js → action.props-DhnvhbLl.js} +1 -1
- package/dist/esm/{dom-ByfrUWx1.js → dom-CArIPzJU.js} +1 -1
- package/dist/esm/{field-zfD6OQ02.js → field-u-k7C7Rf.js} +1 -1
- package/dist/esm/{index-B5ElFlHv.js → index-DaJmsCb7.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/q-accordion.entry.js +1 -1
- package/dist/esm/q-alert.entry.js +1 -1
- package/dist/esm/q-avatar.entry.js +2 -2
- package/dist/esm/q-banner.entry.js +1 -1
- package/dist/esm/q-button_2.entry.js +4 -4
- package/dist/esm/q-card.entry.js +3 -3
- package/dist/esm/q-carousel.entry.js +2 -2
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-conversation-bubble.entry.js +1 -1
- package/dist/esm/q-data-table.entry.js +1 -1
- package/dist/esm/q-dialog.entry.js +4 -4
- package/dist/esm/q-divider.entry.js +24 -0
- package/dist/esm/q-dropdown.entry.js +111 -92
- package/dist/esm/q-form.entry.js +5 -5
- package/dist/esm/q-grid.entry.js +3 -3
- package/dist/esm/q-icon.entry.js +1 -1
- package/dist/esm/q-image-comparison.entry.js +2 -2
- package/dist/esm/q-inline.entry.js +3 -3
- package/dist/esm/q-input_2.entry.js +9 -7
- package/dist/esm/q-link.entry.js +2 -2
- package/dist/esm/q-map.entry.js +1 -1
- package/dist/esm/q-media.entry.js +2 -2
- package/dist/esm/q-navbar.entry.js +3 -3
- package/dist/esm/q-pagination.entry.js +1 -1
- package/dist/esm/q-panel.entry.js +7 -7
- package/dist/esm/q-quantity-selector.entry.js +5 -5
- package/dist/esm/q-radio-group.entry.js +4 -4
- package/dist/esm/q-reel.entry.js +4 -4
- package/dist/esm/q-scrollable.entry.js +4 -4
- package/dist/esm/q-section.entry.js +2 -2
- package/dist/esm/q-sidepanel.entry.js +2 -2
- package/dist/esm/q-slider.entry.js +120 -0
- package/dist/esm/q-stack.entry.js +3 -3
- package/dist/esm/q-step-diagram-item.entry.js +1 -1
- package/dist/esm/q-step-diagram.entry.js +2 -2
- package/dist/esm/q-syntax-box.entry.js +1 -1
- package/dist/esm/q-tabs.entry.js +2 -2
- package/dist/esm/q-textarea.entry.js +7 -5
- package/dist/esm/q-thumbnail.entry.js +3 -3
- package/dist/esm/q-toast.entry.js +1 -1
- package/dist/esm/q-toggle.entry.js +6 -6
- package/dist/esm/q-toolbar.entry.js +4 -4
- package/dist/esm/{tokens-B4Mg1xEw.js → tokens-BDsIecIx.js} +3 -0
- package/dist/esm/webquark.js +3 -3
- package/dist/playground/components/theme-designer/dimension-tokens.js +9 -0
- package/dist/playground/components/theme-designer/token-row.js +89 -0
- package/dist/playground/dom-factory.js +76 -0
- package/dist/playground/utils/color.js +26 -0
- package/dist/playground/utils/dom.js +38 -0
- package/dist/playground/utils/index.js +2 -0
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +18 -1
- package/dist/types/components/inputs/dropdown/test/search-mode.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/input/input.d.ts +3 -0
- package/dist/types/components/inputs/slider/slider.d.ts +45 -0
- package/dist/types/components/inputs/slider/test/slider.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/textarea/textarea.d.ts +3 -1
- package/dist/types/components/inputs/toggle/test/toggle-layout.cmp.test.d.ts +1 -0
- package/dist/types/components/layout/divider/divider.d.ts +15 -0
- package/dist/types/components/layout/divider/test/divider.cmp.test.d.ts +1 -0
- package/dist/types/components.d.ts +247 -2
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/dimension-tokens.d.ts +3 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/token-row.d.ts +14 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/dom-factory.d.ts +12 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/color.d.ts +8 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/dom.d.ts +15 -0
- package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/index.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/theme/test/input-width.cmp.test.d.ts +3 -0
- package/dist/types/theme/tokens.d.ts +9 -0
- package/dist/webquark/p-01a59ac3.entry.js +1 -0
- package/dist/webquark/{p-4d61b70d.entry.js → p-156d2fcf.entry.js} +1 -1
- package/dist/webquark/p-253add6d.entry.js +1 -0
- package/dist/webquark/{p-fec6fe0a.entry.js → p-253fb28b.entry.js} +1 -1
- package/dist/webquark/{p-8ece2c62.entry.js → p-29897ae6.entry.js} +1 -1
- package/dist/webquark/{p-f98f9439.entry.js → p-2c195546.entry.js} +1 -1
- package/dist/webquark/p-2e26f158.entry.js +1 -0
- package/dist/webquark/{p-f4f97e74.entry.js → p-33234157.entry.js} +1 -1
- package/dist/webquark/{p-fe8c634a.entry.js → p-3430b43c.entry.js} +1 -1
- package/dist/webquark/{p-f63b7214.entry.js → p-3726655f.entry.js} +1 -1
- package/dist/webquark/{p-5f232b44.entry.js → p-3af50215.entry.js} +2 -2
- package/dist/webquark/{p-9ff7e5a4.entry.js → p-44eda084.entry.js} +1 -1
- package/dist/webquark/{p-09cca7b9.entry.js → p-45e0d213.entry.js} +1 -1
- package/dist/webquark/{p-d0253d64.entry.js → p-473a1810.entry.js} +1 -1
- package/dist/webquark/{p-f1bac94c.entry.js → p-58aaa98b.entry.js} +1 -1
- package/dist/webquark/{p-0aa74ad6.entry.js → p-596737cc.entry.js} +1 -1
- package/dist/webquark/{p-36118d90.entry.js → p-5cccb6bc.entry.js} +1 -1
- package/dist/webquark/{p-9e78b796.entry.js → p-5d6fb0d1.entry.js} +1 -1
- package/dist/webquark/{p-64096386.entry.js → p-78c56cd3.entry.js} +1 -1
- package/dist/webquark/p-7a47e0c3.entry.js +1 -0
- package/dist/webquark/p-848e040a.entry.js +1 -0
- package/dist/webquark/{p-97a89cae.entry.js → p-881ecd5b.entry.js} +1 -1
- package/dist/webquark/{p-d0fbd2b1.entry.js → p-8a0733a1.entry.js} +1 -1
- package/dist/webquark/p-99ed0b0d.entry.js +1 -0
- package/dist/webquark/p-BDsIecIx.js +1 -0
- package/dist/webquark/{p-DWO-pleQ.js → p-Bk4FnOfb.js} +1 -1
- package/dist/{components/p-BofcK-7Z.js → webquark/p-BuctNczf.js} +1 -1
- package/dist/webquark/p-CArIPzJU.js +1 -0
- package/dist/webquark/p-DaJmsCb7.js +3 -0
- package/dist/webquark/{p-dd115868.entry.js → p-a199de7d.entry.js} +1 -1
- package/dist/webquark/{p-023f8437.entry.js → p-aca37b06.entry.js} +1 -1
- package/dist/webquark/p-b577b258.entry.js +1 -0
- package/dist/webquark/{p-6e28cfe2.entry.js → p-b702f60a.entry.js} +1 -1
- package/dist/webquark/{p-f9ad63ff.entry.js → p-b75ec829.entry.js} +1 -1
- package/dist/webquark/{p-48fb5228.entry.js → p-b82aaf4c.entry.js} +1 -1
- package/dist/webquark/p-b8f4994a.entry.js +1 -0
- package/dist/webquark/p-c2edfa2c.entry.js +1 -0
- package/dist/webquark/{p-030ecde3.entry.js → p-d2c4696f.entry.js} +1 -1
- package/dist/webquark/{p-6bfffa79.entry.js → p-dcea3702.entry.js} +1 -1
- package/dist/webquark/{p-3bc4629c.entry.js → p-ddeb2d4c.entry.js} +1 -1
- package/dist/webquark/{p-888e46a8.entry.js → p-dee50f0a.entry.js} +1 -1
- package/dist/webquark/{p-90b0858c.entry.js → p-e7384b6e.entry.js} +1 -1
- package/dist/webquark/p-e930a769.entry.js +1 -0
- package/dist/webquark/{p-296fbdb1.entry.js → p-f20ed85a.entry.js} +1 -1
- package/dist/webquark/p-f95aeb8d.entry.js +1 -0
- package/dist/webquark/{p-059daa8a.entry.js → p-fa15a69b.entry.js} +1 -1
- package/dist/webquark/{p-99d785ca.entry.js → p-fbd1cbbe.entry.js} +1 -1
- package/dist/webquark/webquark.css +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-B4Mg1xEw.js +0 -1
- package/dist/components/p-ByfrUWx1.js +0 -1
- package/dist/components/p-CN1ut2Lb.js +0 -1
- package/dist/components/p-ye27qtRo.js +0 -1
- package/dist/webquark/p-04c8cb9e.entry.js +0 -1
- package/dist/webquark/p-0ae43d6c.entry.js +0 -1
- package/dist/webquark/p-0c3aac3f.entry.js +0 -1
- package/dist/webquark/p-144ef339.entry.js +0 -1
- package/dist/webquark/p-70d9ffde.entry.js +0 -1
- package/dist/webquark/p-91fff6b6.entry.js +0 -1
- package/dist/webquark/p-923dac41.entry.js +0 -1
- package/dist/webquark/p-B4Mg1xEw.js +0 -1
- package/dist/webquark/p-B5ElFlHv.js +0 -3
- package/dist/webquark/p-ByfrUWx1.js +0 -1
- package/dist/webquark/p-c523ec6f.entry.js +0 -1
- package/dist/webquark/p-fe200f68.entry.js +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for color parsing and conversion in the WebQuark Playground.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Converts an rgb() or rgba() color string to a standard hex string (#RRGGBB).
|
|
6
|
+
* If the value is already a hex string, it is returned directly.
|
|
7
|
+
*/
|
|
8
|
+
export function convertToHex(rgbVal) {
|
|
9
|
+
if (!rgbVal)
|
|
10
|
+
return '#000000';
|
|
11
|
+
rgbVal = rgbVal.trim();
|
|
12
|
+
if (rgbVal.startsWith('#')) {
|
|
13
|
+
return rgbVal;
|
|
14
|
+
}
|
|
15
|
+
const match = rgbVal.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i);
|
|
16
|
+
if (match) {
|
|
17
|
+
const r = parseInt(match[1], 10);
|
|
18
|
+
const g = parseInt(match[2], 10);
|
|
19
|
+
const b = parseInt(match[3], 10);
|
|
20
|
+
return '#' + [r, g, b].map(x => {
|
|
21
|
+
const hex = x.toString(16);
|
|
22
|
+
return hex.length === 1 ? '0' + hex : hex;
|
|
23
|
+
}).join('');
|
|
24
|
+
}
|
|
25
|
+
return rgbVal;
|
|
26
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for DOM property manipulation in the WebQuark Playground.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Updates properties and attributes on a DOM element based on a properties configuration map.
|
|
6
|
+
* Correctly handles booleans, empty string values, and custom Stencil component properties
|
|
7
|
+
* (like setChecked on q-toggle).
|
|
8
|
+
*/
|
|
9
|
+
export function setElementProperties(el, props) {
|
|
10
|
+
if (!el || !props)
|
|
11
|
+
return;
|
|
12
|
+
const tag = el.tagName?.toLowerCase();
|
|
13
|
+
Object.keys(props).forEach(pName => {
|
|
14
|
+
const val = props[pName];
|
|
15
|
+
const isBoolean = typeof val === 'boolean' || val === 'true' || val === 'false';
|
|
16
|
+
if (isBoolean) {
|
|
17
|
+
const boolVal = val === true || val === 'true';
|
|
18
|
+
if (tag === 'q-toggle' && pName === 'checked' && typeof el.setChecked === 'function') {
|
|
19
|
+
el.setChecked(boolVal);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
el[pName] = boolVal;
|
|
23
|
+
if (boolVal)
|
|
24
|
+
el.setAttribute(pName, '');
|
|
25
|
+
else
|
|
26
|
+
el.removeAttribute(pName);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
el[pName] = val;
|
|
30
|
+
if (val !== undefined && val !== null && val !== '') {
|
|
31
|
+
el.setAttribute(pName, val);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
el.removeAttribute(pName);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { QInputWidth } from '../../../theme/tokens';
|
|
1
2
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
3
|
import type { DropdownOptionInput, Option, QDropdownPlacement, QDropdownSize } from './dropdown.types';
|
|
3
4
|
/**
|
|
@@ -5,7 +6,7 @@ import type { DropdownOptionInput, Option, QDropdownPlacement, QDropdownSize } f
|
|
|
5
6
|
* and externally loaded option pages.
|
|
6
7
|
* @slot icon-left - Optional leading content rendered inside the trigger.
|
|
7
8
|
* @part label - Optional field label.
|
|
8
|
-
* @part trigger -
|
|
9
|
+
* @part trigger - Active input or button that opens the option menu.
|
|
9
10
|
* @part menu - Floating option menu.
|
|
10
11
|
*/
|
|
11
12
|
export declare class QDropdown {
|
|
@@ -23,7 +24,11 @@ export declare class QDropdown {
|
|
|
23
24
|
/** Omitted inherits the enclosing form; false cancels reservation. */
|
|
24
25
|
reserveFeedback?: boolean;
|
|
25
26
|
size: QDropdownSize;
|
|
27
|
+
/** Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout. */
|
|
28
|
+
width?: QInputWidth;
|
|
26
29
|
searchable: boolean;
|
|
30
|
+
/** Search in the main editable control (default) or a separate menu field. Applies only when searchable. */
|
|
31
|
+
searchMode: 'default' | 'menu';
|
|
27
32
|
/** Delegates filtering and pagination to the consumer. */
|
|
28
33
|
externalSearch: boolean;
|
|
29
34
|
/** Indicates another externally loaded option page is available. */
|
|
@@ -68,6 +73,14 @@ export declare class QDropdown {
|
|
|
68
73
|
private positionFrame;
|
|
69
74
|
private floatingCleanup?;
|
|
70
75
|
private floatingResizeObserver?;
|
|
76
|
+
private draftEdited;
|
|
77
|
+
private selectedLabelCache?;
|
|
78
|
+
private composing;
|
|
79
|
+
private lastSearchValue?;
|
|
80
|
+
private get editableSearch();
|
|
81
|
+
private reconcileSelectedLabel;
|
|
82
|
+
private closeMenu;
|
|
83
|
+
watchSearchMode(): void;
|
|
71
84
|
disconnectedCallback(): void;
|
|
72
85
|
formDisabledCallback(): void;
|
|
73
86
|
componentDidLoad(): void;
|
|
@@ -92,6 +105,10 @@ export declare class QDropdown {
|
|
|
92
105
|
private handleSelect;
|
|
93
106
|
private handleFocus;
|
|
94
107
|
private handleBlur;
|
|
108
|
+
private handleFocusOut;
|
|
109
|
+
private handleEditableClick;
|
|
110
|
+
private handleCompositionStart;
|
|
111
|
+
private handleCompositionEnd;
|
|
95
112
|
private handleTriggerClick;
|
|
96
113
|
private handleSearchInput;
|
|
97
114
|
private handleScroll;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../dropdown';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { QInputWidth } from '../../../theme/tokens';
|
|
1
2
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
3
|
import type { QInputSize, QInputType } from './input.types';
|
|
3
4
|
/**
|
|
@@ -25,6 +26,8 @@ export declare class QInput {
|
|
|
25
26
|
/** Omitted inherits the enclosing form; false cancels reservation. */
|
|
26
27
|
reserveFeedback?: boolean;
|
|
27
28
|
size: QInputSize;
|
|
29
|
+
/** Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout. */
|
|
30
|
+
width?: QInputWidth;
|
|
28
31
|
/** Shows a clear button when the field has a value. */
|
|
29
32
|
clearable: boolean;
|
|
30
33
|
disabled: boolean;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* Single-value range input with a themed track, glowing thumb and optional value badge.
|
|
4
|
+
* @part label - Label and value row.
|
|
5
|
+
* @part value - Current-value badge.
|
|
6
|
+
* @part input - Native range control.
|
|
7
|
+
*/
|
|
8
|
+
export declare class QSlider {
|
|
9
|
+
el: HTMLElement;
|
|
10
|
+
/** Current value. Defaults to the minimum when omitted. */
|
|
11
|
+
value?: number;
|
|
12
|
+
label?: string;
|
|
13
|
+
/** Suffix for the displayed value, such as px or %. */
|
|
14
|
+
suffix: string;
|
|
15
|
+
showValue: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
|
+
step: number;
|
|
20
|
+
name?: string;
|
|
21
|
+
ariaLabel: string | null;
|
|
22
|
+
internals: ElementInternals;
|
|
23
|
+
/** Numeric value emitted continuously while dragging or using the keyboard. */
|
|
24
|
+
qInput: EventEmitter<number>;
|
|
25
|
+
/** Numeric value emitted when the interaction is committed. */
|
|
26
|
+
qChange: EventEmitter<number>;
|
|
27
|
+
private fieldDisabled;
|
|
28
|
+
private inputEl?;
|
|
29
|
+
private initialValue?;
|
|
30
|
+
componentWillLoad(): void;
|
|
31
|
+
constraintsChanged(): void;
|
|
32
|
+
disabledChanged(): void;
|
|
33
|
+
private get lower();
|
|
34
|
+
private get upper();
|
|
35
|
+
private get increment();
|
|
36
|
+
private normalize;
|
|
37
|
+
private syncForm;
|
|
38
|
+
componentDidLoad(): void;
|
|
39
|
+
formDisabledCallback(): void;
|
|
40
|
+
formResetCallback(): void;
|
|
41
|
+
formStateRestoreCallback(state: string | File | FormData | null): void;
|
|
42
|
+
focusElement(): Promise<void>;
|
|
43
|
+
private onValue;
|
|
44
|
+
render(): any;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { QControlSize } from '../../../theme/tokens';
|
|
1
|
+
import type { QControlSize, QInputWidth } from '../../../theme/tokens';
|
|
2
2
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
3
3
|
import type { QTextareaResizeMode } from './textarea.types';
|
|
4
4
|
/**
|
|
@@ -17,6 +17,8 @@ export declare class QTextarea {
|
|
|
17
17
|
/** Supporting text, replaced by an active error. */
|
|
18
18
|
description?: string;
|
|
19
19
|
size: QControlSize;
|
|
20
|
+
/** Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout. */
|
|
21
|
+
width?: QInputWidth;
|
|
20
22
|
/** Keep the label accessible without displaying it. */
|
|
21
23
|
labelHidden: boolean;
|
|
22
24
|
/** Omitted inherits the enclosing form; false cancels reservation. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../../../../../packages/browser/components/dist/components/q-toggle.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type QSpace } from '../../../theme/tokens';
|
|
2
|
+
/** Static, container-relative separator.
|
|
3
|
+
* @part line - The visible separator line.
|
|
4
|
+
*/
|
|
5
|
+
export declare class QDivider {
|
|
6
|
+
/** Physical direction of the separator. */
|
|
7
|
+
orientation: 'horizontal' | 'vertical';
|
|
8
|
+
/** CSS length or percentage, capped to the allocated extent minus endpoint insets. */
|
|
9
|
+
length: string;
|
|
10
|
+
/** Symmetric external spacing perpendicular to the line. */
|
|
11
|
+
spacing: QSpace;
|
|
12
|
+
/** Hide a purely visual separator from assistive technology. */
|
|
13
|
+
decorative: boolean;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../divider';
|
|
@@ -12,7 +12,7 @@ import { QBannerAlignment, QBannerHeight } from "./components/content/banner/ban
|
|
|
12
12
|
import { QIconColor, QIconDefinition, QIconLibrary, QIconLocalPath, QIconName, QIconSize } from "./components/media/icon/icon.types";
|
|
13
13
|
import { QButtonLayout, QButtonShape, QButtonSize, QButtonType, QButtonVariant } from "./components/actions/button/button.types";
|
|
14
14
|
import { QFormAutocomplete, QFormEnctype, QFormEnterBehavior, QFormMethod, QFormResetDetail, QFormSubmitDetail, QFormTarget, QFormValues } from "./components/inputs/form/form.types";
|
|
15
|
-
import { QControlSize, QSpace, QSurface } from "./theme/tokens";
|
|
15
|
+
import { QControlSize, QInputWidth, QSpace, QSurface } from "./theme/tokens";
|
|
16
16
|
import { QCardElevation } from "./components/content/card/card.types";
|
|
17
17
|
import { QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition } from "./components/content/carousel/carousel.types";
|
|
18
18
|
import { QChipRemoveDetail, QChipSize, QChipTarget, QChipVariant } from "./components/data-display/chip/chip.types";
|
|
@@ -51,7 +51,7 @@ export { QBannerAlignment, QBannerHeight } from "./components/content/banner/ban
|
|
|
51
51
|
export { QIconColor, QIconDefinition, QIconLibrary, QIconLocalPath, QIconName, QIconSize } from "./components/media/icon/icon.types";
|
|
52
52
|
export { QButtonLayout, QButtonShape, QButtonSize, QButtonType, QButtonVariant } from "./components/actions/button/button.types";
|
|
53
53
|
export { QFormAutocomplete, QFormEnctype, QFormEnterBehavior, QFormMethod, QFormResetDetail, QFormSubmitDetail, QFormTarget, QFormValues } from "./components/inputs/form/form.types";
|
|
54
|
-
export { QControlSize, QSpace, QSurface } from "./theme/tokens";
|
|
54
|
+
export { QControlSize, QInputWidth, QSpace, QSurface } from "./theme/tokens";
|
|
55
55
|
export { QCardElevation } from "./components/content/card/card.types";
|
|
56
56
|
export { QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition } from "./components/content/carousel/carousel.types";
|
|
57
57
|
export { QChipRemoveDetail, QChipSize, QChipTarget, QChipVariant } from "./components/data-display/chip/chip.types";
|
|
@@ -674,6 +674,31 @@ export namespace Components {
|
|
|
674
674
|
*/
|
|
675
675
|
"size": 'sm' | 'md' | 'lg' | 'full';
|
|
676
676
|
}
|
|
677
|
+
/**
|
|
678
|
+
* Static, container-relative separator.
|
|
679
|
+
*/
|
|
680
|
+
interface QDivider {
|
|
681
|
+
/**
|
|
682
|
+
* Hide a purely visual separator from assistive technology.
|
|
683
|
+
* @default false
|
|
684
|
+
*/
|
|
685
|
+
"decorative": boolean;
|
|
686
|
+
/**
|
|
687
|
+
* CSS length or percentage, capped to the allocated extent minus endpoint insets.
|
|
688
|
+
* @default 'auto'
|
|
689
|
+
*/
|
|
690
|
+
"length": string;
|
|
691
|
+
/**
|
|
692
|
+
* Physical direction of the separator.
|
|
693
|
+
* @default 'horizontal'
|
|
694
|
+
*/
|
|
695
|
+
"orientation": 'horizontal' | 'vertical';
|
|
696
|
+
/**
|
|
697
|
+
* Symmetric external spacing perpendicular to the line.
|
|
698
|
+
* @default 'lg'
|
|
699
|
+
*/
|
|
700
|
+
"spacing": QSpace;
|
|
701
|
+
}
|
|
677
702
|
/**
|
|
678
703
|
* Form-associated dropdown/select control with optional search, incremental option rendering,
|
|
679
704
|
* and externally loaded option pages.
|
|
@@ -747,6 +772,11 @@ export namespace Components {
|
|
|
747
772
|
* Omitted inherits the enclosing form; false cancels reservation.
|
|
748
773
|
*/
|
|
749
774
|
"reserveFeedback"?: boolean;
|
|
775
|
+
/**
|
|
776
|
+
* Search in the main editable control (default) or a separate menu field. Applies only when searchable.
|
|
777
|
+
* @default 'default'
|
|
778
|
+
*/
|
|
779
|
+
"searchMode": 'default' | 'menu';
|
|
750
780
|
/**
|
|
751
781
|
* @default false
|
|
752
782
|
*/
|
|
@@ -759,6 +789,10 @@ export namespace Components {
|
|
|
759
789
|
* @default ''
|
|
760
790
|
*/
|
|
761
791
|
"value": string;
|
|
792
|
+
/**
|
|
793
|
+
* Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
|
|
794
|
+
*/
|
|
795
|
+
"width"?: QInputWidth;
|
|
762
796
|
}
|
|
763
797
|
/**
|
|
764
798
|
* Form wrapper that bridges slotted WebQuark controls to a native form element.
|
|
@@ -1072,6 +1106,10 @@ export namespace Components {
|
|
|
1072
1106
|
* @default ""
|
|
1073
1107
|
*/
|
|
1074
1108
|
"value": string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
|
|
1111
|
+
*/
|
|
1112
|
+
"width"?: QInputWidth;
|
|
1075
1113
|
}
|
|
1076
1114
|
/**
|
|
1077
1115
|
* Inline link with disabled handling, external-link affordances, and optional icon slots.
|
|
@@ -1786,6 +1824,47 @@ export namespace Components {
|
|
|
1786
1824
|
*/
|
|
1787
1825
|
"variant": QSidepanelVariant;
|
|
1788
1826
|
}
|
|
1827
|
+
/**
|
|
1828
|
+
* Single-value range input with a themed track, glowing thumb and optional value badge.
|
|
1829
|
+
*/
|
|
1830
|
+
interface QSlider {
|
|
1831
|
+
/**
|
|
1832
|
+
* @default null
|
|
1833
|
+
*/
|
|
1834
|
+
"ariaLabel": string | null;
|
|
1835
|
+
/**
|
|
1836
|
+
* @default false
|
|
1837
|
+
*/
|
|
1838
|
+
"disabled": boolean;
|
|
1839
|
+
"focusElement": () => Promise<void>;
|
|
1840
|
+
"label"?: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* @default 100
|
|
1843
|
+
*/
|
|
1844
|
+
"max": number;
|
|
1845
|
+
/**
|
|
1846
|
+
* @default 0
|
|
1847
|
+
*/
|
|
1848
|
+
"min": number;
|
|
1849
|
+
"name"?: string;
|
|
1850
|
+
/**
|
|
1851
|
+
* @default true
|
|
1852
|
+
*/
|
|
1853
|
+
"showValue": boolean;
|
|
1854
|
+
/**
|
|
1855
|
+
* @default 1
|
|
1856
|
+
*/
|
|
1857
|
+
"step": number;
|
|
1858
|
+
/**
|
|
1859
|
+
* Suffix for the displayed value, such as px or %.
|
|
1860
|
+
* @default ''
|
|
1861
|
+
*/
|
|
1862
|
+
"suffix": string;
|
|
1863
|
+
/**
|
|
1864
|
+
* Current value. Defaults to the minimum when omitted.
|
|
1865
|
+
*/
|
|
1866
|
+
"value"?: number;
|
|
1867
|
+
}
|
|
1789
1868
|
/**
|
|
1790
1869
|
* Vertical layout without surface or landmark semantics.
|
|
1791
1870
|
*/
|
|
@@ -2027,6 +2106,10 @@ export namespace Components {
|
|
|
2027
2106
|
* @default ""
|
|
2028
2107
|
*/
|
|
2029
2108
|
"value": string;
|
|
2109
|
+
/**
|
|
2110
|
+
* Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
|
|
2111
|
+
*/
|
|
2112
|
+
"width"?: QInputWidth;
|
|
2030
2113
|
}
|
|
2031
2114
|
/**
|
|
2032
2115
|
* Media thumbnail that emits qMaximize for gallery and reel lightbox workflows.
|
|
@@ -2276,6 +2359,10 @@ export interface QSidepanelCustomEvent<T> extends CustomEvent<T> {
|
|
|
2276
2359
|
detail: T;
|
|
2277
2360
|
target: HTMLQSidepanelElement;
|
|
2278
2361
|
}
|
|
2362
|
+
export interface QSliderCustomEvent<T> extends CustomEvent<T> {
|
|
2363
|
+
detail: T;
|
|
2364
|
+
target: HTMLQSliderElement;
|
|
2365
|
+
}
|
|
2279
2366
|
export interface QStepDiagramItemCustomEvent<T> extends CustomEvent<T> {
|
|
2280
2367
|
detail: T;
|
|
2281
2368
|
target: HTMLQStepDiagramItemElement;
|
|
@@ -2507,6 +2594,15 @@ declare global {
|
|
|
2507
2594
|
prototype: HTMLQDialogElement;
|
|
2508
2595
|
new (): HTMLQDialogElement;
|
|
2509
2596
|
};
|
|
2597
|
+
/**
|
|
2598
|
+
* Static, container-relative separator.
|
|
2599
|
+
*/
|
|
2600
|
+
interface HTMLQDividerElement extends Components.QDivider, HTMLStencilElement {
|
|
2601
|
+
}
|
|
2602
|
+
var HTMLQDividerElement: {
|
|
2603
|
+
prototype: HTMLQDividerElement;
|
|
2604
|
+
new (): HTMLQDividerElement;
|
|
2605
|
+
};
|
|
2510
2606
|
interface HTMLQDropdownElementEventMap {
|
|
2511
2607
|
"qChange": string;
|
|
2512
2608
|
"qSelect": Option;
|
|
@@ -2887,6 +2983,27 @@ declare global {
|
|
|
2887
2983
|
prototype: HTMLQSidepanelElement;
|
|
2888
2984
|
new (): HTMLQSidepanelElement;
|
|
2889
2985
|
};
|
|
2986
|
+
interface HTMLQSliderElementEventMap {
|
|
2987
|
+
"qInput": number;
|
|
2988
|
+
"qChange": number;
|
|
2989
|
+
}
|
|
2990
|
+
/**
|
|
2991
|
+
* Single-value range input with a themed track, glowing thumb and optional value badge.
|
|
2992
|
+
*/
|
|
2993
|
+
interface HTMLQSliderElement extends Components.QSlider, HTMLStencilElement {
|
|
2994
|
+
addEventListener<K extends keyof HTMLQSliderElementEventMap>(type: K, listener: (this: HTMLQSliderElement, ev: QSliderCustomEvent<HTMLQSliderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2995
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2996
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2997
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2998
|
+
removeEventListener<K extends keyof HTMLQSliderElementEventMap>(type: K, listener: (this: HTMLQSliderElement, ev: QSliderCustomEvent<HTMLQSliderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2999
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3000
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3001
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3002
|
+
}
|
|
3003
|
+
var HTMLQSliderElement: {
|
|
3004
|
+
prototype: HTMLQSliderElement;
|
|
3005
|
+
new (): HTMLQSliderElement;
|
|
3006
|
+
};
|
|
2890
3007
|
/**
|
|
2891
3008
|
* Vertical layout without surface or landmark semantics.
|
|
2892
3009
|
*/
|
|
@@ -3078,6 +3195,7 @@ declare global {
|
|
|
3078
3195
|
"q-conversation-bubble": HTMLQConversationBubbleElement;
|
|
3079
3196
|
"q-data-table": HTMLQDataTableElement;
|
|
3080
3197
|
"q-dialog": HTMLQDialogElement;
|
|
3198
|
+
"q-divider": HTMLQDividerElement;
|
|
3081
3199
|
"q-dropdown": HTMLQDropdownElement;
|
|
3082
3200
|
"q-form": HTMLQFormElement;
|
|
3083
3201
|
"q-grid": HTMLQGridElement;
|
|
@@ -3098,6 +3216,7 @@ declare global {
|
|
|
3098
3216
|
"q-scrollable": HTMLQScrollableElement;
|
|
3099
3217
|
"q-section": HTMLQSectionElement;
|
|
3100
3218
|
"q-sidepanel": HTMLQSidepanelElement;
|
|
3219
|
+
"q-slider": HTMLQSliderElement;
|
|
3101
3220
|
"q-stack": HTMLQStackElement;
|
|
3102
3221
|
"q-step-diagram": HTMLQStepDiagramElement;
|
|
3103
3222
|
"q-step-diagram-item": HTMLQStepDiagramItemElement;
|
|
@@ -3714,6 +3833,31 @@ declare namespace LocalJSX {
|
|
|
3714
3833
|
*/
|
|
3715
3834
|
"size"?: 'sm' | 'md' | 'lg' | 'full';
|
|
3716
3835
|
}
|
|
3836
|
+
/**
|
|
3837
|
+
* Static, container-relative separator.
|
|
3838
|
+
*/
|
|
3839
|
+
interface QDivider {
|
|
3840
|
+
/**
|
|
3841
|
+
* Hide a purely visual separator from assistive technology.
|
|
3842
|
+
* @default false
|
|
3843
|
+
*/
|
|
3844
|
+
"decorative"?: boolean;
|
|
3845
|
+
/**
|
|
3846
|
+
* CSS length or percentage, capped to the allocated extent minus endpoint insets.
|
|
3847
|
+
* @default 'auto'
|
|
3848
|
+
*/
|
|
3849
|
+
"length"?: string;
|
|
3850
|
+
/**
|
|
3851
|
+
* Physical direction of the separator.
|
|
3852
|
+
* @default 'horizontal'
|
|
3853
|
+
*/
|
|
3854
|
+
"orientation"?: 'horizontal' | 'vertical';
|
|
3855
|
+
/**
|
|
3856
|
+
* Symmetric external spacing perpendicular to the line.
|
|
3857
|
+
* @default 'lg'
|
|
3858
|
+
*/
|
|
3859
|
+
"spacing"?: QSpace;
|
|
3860
|
+
}
|
|
3717
3861
|
/**
|
|
3718
3862
|
* Form-associated dropdown/select control with optional search, incremental option rendering,
|
|
3719
3863
|
* and externally loaded option pages.
|
|
@@ -3810,6 +3954,11 @@ declare namespace LocalJSX {
|
|
|
3810
3954
|
* Omitted inherits the enclosing form; false cancels reservation.
|
|
3811
3955
|
*/
|
|
3812
3956
|
"reserveFeedback"?: boolean;
|
|
3957
|
+
/**
|
|
3958
|
+
* Search in the main editable control (default) or a separate menu field. Applies only when searchable.
|
|
3959
|
+
* @default 'default'
|
|
3960
|
+
*/
|
|
3961
|
+
"searchMode"?: 'default' | 'menu';
|
|
3813
3962
|
/**
|
|
3814
3963
|
* @default false
|
|
3815
3964
|
*/
|
|
@@ -3822,6 +3971,10 @@ declare namespace LocalJSX {
|
|
|
3822
3971
|
* @default ''
|
|
3823
3972
|
*/
|
|
3824
3973
|
"value"?: string;
|
|
3974
|
+
/**
|
|
3975
|
+
* Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
|
|
3976
|
+
*/
|
|
3977
|
+
"width"?: QInputWidth;
|
|
3825
3978
|
}
|
|
3826
3979
|
/**
|
|
3827
3980
|
* Form wrapper that bridges slotted WebQuark controls to a native form element.
|
|
@@ -4119,6 +4272,10 @@ declare namespace LocalJSX {
|
|
|
4119
4272
|
* @default ""
|
|
4120
4273
|
*/
|
|
4121
4274
|
"value"?: string;
|
|
4275
|
+
/**
|
|
4276
|
+
* Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
|
|
4277
|
+
*/
|
|
4278
|
+
"width"?: QInputWidth;
|
|
4122
4279
|
}
|
|
4123
4280
|
/**
|
|
4124
4281
|
* Inline link with disabled handling, external-link affordances, and optional icon slots.
|
|
@@ -4879,6 +5036,58 @@ declare namespace LocalJSX {
|
|
|
4879
5036
|
*/
|
|
4880
5037
|
"variant"?: QSidepanelVariant;
|
|
4881
5038
|
}
|
|
5039
|
+
/**
|
|
5040
|
+
* Single-value range input with a themed track, glowing thumb and optional value badge.
|
|
5041
|
+
*/
|
|
5042
|
+
interface QSlider {
|
|
5043
|
+
/**
|
|
5044
|
+
* @default null
|
|
5045
|
+
*/
|
|
5046
|
+
"ariaLabel"?: string | null;
|
|
5047
|
+
/**
|
|
5048
|
+
* @default false
|
|
5049
|
+
*/
|
|
5050
|
+
"disabled"?: boolean;
|
|
5051
|
+
/**
|
|
5052
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
5053
|
+
*/
|
|
5054
|
+
"form"?: string;
|
|
5055
|
+
"label"?: string;
|
|
5056
|
+
/**
|
|
5057
|
+
* @default 100
|
|
5058
|
+
*/
|
|
5059
|
+
"max"?: number;
|
|
5060
|
+
/**
|
|
5061
|
+
* @default 0
|
|
5062
|
+
*/
|
|
5063
|
+
"min"?: number;
|
|
5064
|
+
"name"?: string;
|
|
5065
|
+
/**
|
|
5066
|
+
* Numeric value emitted when the interaction is committed.
|
|
5067
|
+
*/
|
|
5068
|
+
"onQChange"?: (event: QSliderCustomEvent<number>) => void;
|
|
5069
|
+
/**
|
|
5070
|
+
* Numeric value emitted continuously while dragging or using the keyboard.
|
|
5071
|
+
*/
|
|
5072
|
+
"onQInput"?: (event: QSliderCustomEvent<number>) => void;
|
|
5073
|
+
/**
|
|
5074
|
+
* @default true
|
|
5075
|
+
*/
|
|
5076
|
+
"showValue"?: boolean;
|
|
5077
|
+
/**
|
|
5078
|
+
* @default 1
|
|
5079
|
+
*/
|
|
5080
|
+
"step"?: number;
|
|
5081
|
+
/**
|
|
5082
|
+
* Suffix for the displayed value, such as px or %.
|
|
5083
|
+
* @default ''
|
|
5084
|
+
*/
|
|
5085
|
+
"suffix"?: string;
|
|
5086
|
+
/**
|
|
5087
|
+
* Current value. Defaults to the minimum when omitted.
|
|
5088
|
+
*/
|
|
5089
|
+
"value"?: number;
|
|
5090
|
+
}
|
|
4882
5091
|
/**
|
|
4883
5092
|
* Vertical layout without surface or landmark semantics.
|
|
4884
5093
|
*/
|
|
@@ -5121,6 +5330,10 @@ declare namespace LocalJSX {
|
|
|
5121
5330
|
* @default ""
|
|
5122
5331
|
*/
|
|
5123
5332
|
"value"?: string;
|
|
5333
|
+
/**
|
|
5334
|
+
* Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
|
|
5335
|
+
*/
|
|
5336
|
+
"width"?: QInputWidth;
|
|
5124
5337
|
}
|
|
5125
5338
|
/**
|
|
5126
5339
|
* Media thumbnail that emits qMaximize for gallery and reel lightbox workflows.
|
|
@@ -5419,6 +5632,12 @@ declare namespace LocalJSX {
|
|
|
5419
5632
|
"open": boolean;
|
|
5420
5633
|
"closeLabel": string;
|
|
5421
5634
|
}
|
|
5635
|
+
interface QDividerAttributes {
|
|
5636
|
+
"orientation": 'horizontal' | 'vertical';
|
|
5637
|
+
"length": string;
|
|
5638
|
+
"spacing": QSpace;
|
|
5639
|
+
"decorative": boolean;
|
|
5640
|
+
}
|
|
5422
5641
|
interface QDropdownAttributes {
|
|
5423
5642
|
"label": string;
|
|
5424
5643
|
"ariaLabel": string | null;
|
|
@@ -5429,7 +5648,9 @@ declare namespace LocalJSX {
|
|
|
5429
5648
|
"labelHidden": boolean;
|
|
5430
5649
|
"reserveFeedback": boolean;
|
|
5431
5650
|
"size": QDropdownSize;
|
|
5651
|
+
"width": QInputWidth;
|
|
5432
5652
|
"searchable": boolean;
|
|
5653
|
+
"searchMode": 'default' | 'menu';
|
|
5433
5654
|
"externalSearch": boolean;
|
|
5434
5655
|
"hasMore": boolean;
|
|
5435
5656
|
"loading": boolean;
|
|
@@ -5500,6 +5721,7 @@ declare namespace LocalJSX {
|
|
|
5500
5721
|
"labelHidden": boolean;
|
|
5501
5722
|
"reserveFeedback": boolean;
|
|
5502
5723
|
"size": QInputSize;
|
|
5724
|
+
"width": QInputWidth;
|
|
5503
5725
|
"clearable": boolean;
|
|
5504
5726
|
"disabled": boolean;
|
|
5505
5727
|
"required": boolean;
|
|
@@ -5675,6 +5897,18 @@ declare namespace LocalJSX {
|
|
|
5675
5897
|
"collapseLabel": string;
|
|
5676
5898
|
"ariaLabel": string | null;
|
|
5677
5899
|
}
|
|
5900
|
+
interface QSliderAttributes {
|
|
5901
|
+
"value": number;
|
|
5902
|
+
"label": string;
|
|
5903
|
+
"suffix": string;
|
|
5904
|
+
"showValue": boolean;
|
|
5905
|
+
"disabled": boolean;
|
|
5906
|
+
"min": number;
|
|
5907
|
+
"max": number;
|
|
5908
|
+
"step": number;
|
|
5909
|
+
"name": string;
|
|
5910
|
+
"ariaLabel": string | null;
|
|
5911
|
+
}
|
|
5678
5912
|
interface QStackAttributes {
|
|
5679
5913
|
"gap": QSpace;
|
|
5680
5914
|
"align": 'stretch' | 'start' | 'center' | 'end';
|
|
@@ -5720,6 +5954,7 @@ declare namespace LocalJSX {
|
|
|
5720
5954
|
"ariaLabel": string | null;
|
|
5721
5955
|
"description": string;
|
|
5722
5956
|
"size": QControlSize;
|
|
5957
|
+
"width": QInputWidth;
|
|
5723
5958
|
"labelHidden": boolean;
|
|
5724
5959
|
"reserveFeedback": boolean;
|
|
5725
5960
|
"rows": number;
|
|
@@ -5784,6 +6019,7 @@ declare namespace LocalJSX {
|
|
|
5784
6019
|
"q-conversation-bubble": Omit<QConversationBubble, keyof QConversationBubbleAttributes> & { [K in keyof QConversationBubble & keyof QConversationBubbleAttributes]?: QConversationBubble[K] } & { [K in keyof QConversationBubble & keyof QConversationBubbleAttributes as `attr:${K}`]?: QConversationBubbleAttributes[K] } & { [K in keyof QConversationBubble & keyof QConversationBubbleAttributes as `prop:${K}`]?: QConversationBubble[K] };
|
|
5785
6020
|
"q-data-table": Omit<QDataTable, keyof QDataTableAttributes> & { [K in keyof QDataTable & keyof QDataTableAttributes]?: QDataTable[K] } & { [K in keyof QDataTable & keyof QDataTableAttributes as `attr:${K}`]?: QDataTableAttributes[K] } & { [K in keyof QDataTable & keyof QDataTableAttributes as `prop:${K}`]?: QDataTable[K] };
|
|
5786
6021
|
"q-dialog": Omit<QDialog, keyof QDialogAttributes> & { [K in keyof QDialog & keyof QDialogAttributes]?: QDialog[K] } & { [K in keyof QDialog & keyof QDialogAttributes as `attr:${K}`]?: QDialogAttributes[K] } & { [K in keyof QDialog & keyof QDialogAttributes as `prop:${K}`]?: QDialog[K] };
|
|
6022
|
+
"q-divider": Omit<QDivider, keyof QDividerAttributes> & { [K in keyof QDivider & keyof QDividerAttributes]?: QDivider[K] } & { [K in keyof QDivider & keyof QDividerAttributes as `attr:${K}`]?: QDividerAttributes[K] } & { [K in keyof QDivider & keyof QDividerAttributes as `prop:${K}`]?: QDivider[K] };
|
|
5787
6023
|
"q-dropdown": Omit<QDropdown, keyof QDropdownAttributes> & { [K in keyof QDropdown & keyof QDropdownAttributes]?: QDropdown[K] } & { [K in keyof QDropdown & keyof QDropdownAttributes as `attr:${K}`]?: QDropdownAttributes[K] } & { [K in keyof QDropdown & keyof QDropdownAttributes as `prop:${K}`]?: QDropdown[K] };
|
|
5788
6024
|
"q-form": Omit<QForm, keyof QFormAttributes> & { [K in keyof QForm & keyof QFormAttributes]?: QForm[K] } & { [K in keyof QForm & keyof QFormAttributes as `attr:${K}`]?: QFormAttributes[K] } & { [K in keyof QForm & keyof QFormAttributes as `prop:${K}`]?: QForm[K] };
|
|
5789
6025
|
"q-grid": Omit<QGrid, keyof QGridAttributes> & { [K in keyof QGrid & keyof QGridAttributes]?: QGrid[K] } & { [K in keyof QGrid & keyof QGridAttributes as `attr:${K}`]?: QGridAttributes[K] } & { [K in keyof QGrid & keyof QGridAttributes as `prop:${K}`]?: QGrid[K] };
|
|
@@ -5804,6 +6040,7 @@ declare namespace LocalJSX {
|
|
|
5804
6040
|
"q-scrollable": Omit<QScrollable, keyof QScrollableAttributes> & { [K in keyof QScrollable & keyof QScrollableAttributes]?: QScrollable[K] } & { [K in keyof QScrollable & keyof QScrollableAttributes as `attr:${K}`]?: QScrollableAttributes[K] } & { [K in keyof QScrollable & keyof QScrollableAttributes as `prop:${K}`]?: QScrollable[K] };
|
|
5805
6041
|
"q-section": Omit<QSection, keyof QSectionAttributes> & { [K in keyof QSection & keyof QSectionAttributes]?: QSection[K] } & { [K in keyof QSection & keyof QSectionAttributes as `attr:${K}`]?: QSectionAttributes[K] } & { [K in keyof QSection & keyof QSectionAttributes as `prop:${K}`]?: QSection[K] };
|
|
5806
6042
|
"q-sidepanel": Omit<QSidepanel, keyof QSidepanelAttributes> & { [K in keyof QSidepanel & keyof QSidepanelAttributes]?: QSidepanel[K] } & { [K in keyof QSidepanel & keyof QSidepanelAttributes as `attr:${K}`]?: QSidepanelAttributes[K] } & { [K in keyof QSidepanel & keyof QSidepanelAttributes as `prop:${K}`]?: QSidepanel[K] };
|
|
6043
|
+
"q-slider": Omit<QSlider, keyof QSliderAttributes> & { [K in keyof QSlider & keyof QSliderAttributes]?: QSlider[K] } & { [K in keyof QSlider & keyof QSliderAttributes as `attr:${K}`]?: QSliderAttributes[K] } & { [K in keyof QSlider & keyof QSliderAttributes as `prop:${K}`]?: QSlider[K] };
|
|
5807
6044
|
"q-stack": Omit<QStack, keyof QStackAttributes> & { [K in keyof QStack & keyof QStackAttributes]?: QStack[K] } & { [K in keyof QStack & keyof QStackAttributes as `attr:${K}`]?: QStackAttributes[K] } & { [K in keyof QStack & keyof QStackAttributes as `prop:${K}`]?: QStack[K] };
|
|
5808
6045
|
"q-step-diagram": Omit<QStepDiagram, keyof QStepDiagramAttributes> & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes]?: QStepDiagram[K] } & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes as `attr:${K}`]?: QStepDiagramAttributes[K] } & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes as `prop:${K}`]?: QStepDiagram[K] };
|
|
5809
6046
|
"q-step-diagram-item": Omit<QStepDiagramItem, keyof QStepDiagramItemAttributes> & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes]?: QStepDiagramItem[K] } & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes as `attr:${K}`]?: QStepDiagramItemAttributes[K] } & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes as `prop:${K}`]?: QStepDiagramItem[K] };
|
|
@@ -5882,6 +6119,10 @@ declare module "@stencil/core" {
|
|
|
5882
6119
|
* Modal confirmation or message dialog with focus trapping and safe solid backdrops.
|
|
5883
6120
|
*/
|
|
5884
6121
|
"q-dialog": LocalJSX.IntrinsicElements["q-dialog"] & JSXBase.HTMLAttributes<HTMLQDialogElement>;
|
|
6122
|
+
/**
|
|
6123
|
+
* Static, container-relative separator.
|
|
6124
|
+
*/
|
|
6125
|
+
"q-divider": LocalJSX.IntrinsicElements["q-divider"] & JSXBase.HTMLAttributes<HTMLQDividerElement>;
|
|
5885
6126
|
/**
|
|
5886
6127
|
* Form-associated dropdown/select control with optional search, incremental option rendering,
|
|
5887
6128
|
* and externally loaded option pages.
|
|
@@ -5992,6 +6233,10 @@ declare module "@stencil/core" {
|
|
|
5992
6233
|
* Drawer, persistent panel, or hierarchical navigation side panel.
|
|
5993
6234
|
*/
|
|
5994
6235
|
"q-sidepanel": LocalJSX.IntrinsicElements["q-sidepanel"] & JSXBase.HTMLAttributes<HTMLQSidepanelElement>;
|
|
6236
|
+
/**
|
|
6237
|
+
* Single-value range input with a themed track, glowing thumb and optional value badge.
|
|
6238
|
+
*/
|
|
6239
|
+
"q-slider": LocalJSX.IntrinsicElements["q-slider"] & JSXBase.HTMLAttributes<HTMLQSliderElement>;
|
|
5995
6240
|
/**
|
|
5996
6241
|
* Vertical layout without surface or landmark semantics.
|
|
5997
6242
|
*/
|