@webquark/browser 1.1.0-dev.12 → 1.1.0-dev.13
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-DmLaQuU2.js → action.props-B6vl_1p5.js} +1 -1
- package/dist/cjs/{field-CEZ9NsWK.js → field-B5nxD8Kc.js} +1 -1
- package/dist/cjs/{index-CMAcJ6t1.js → index-BD6Jjssb.js} +4 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/q-accordion.cjs.entry.js +2 -2
- package/dist/cjs/q-alert.cjs.entry.js +1 -1
- package/dist/cjs/q-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q-banner.cjs.entry.js +1 -1
- package/dist/cjs/q-button_2.cjs.entry.js +3 -3
- package/dist/cjs/q-card.cjs.entry.js +1 -1
- package/dist/cjs/q-carousel.cjs.entry.js +119 -17
- package/dist/cjs/q-chip.cjs.entry.js +2 -2
- package/dist/cjs/q-control-group.cjs.entry.js +64 -0
- package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
- package/dist/cjs/q-data-table.cjs.entry.js +4 -4
- package/dist/cjs/q-dialog.cjs.entry.js +1 -1
- package/dist/cjs/q-divider.cjs.entry.js +1 -1
- package/dist/cjs/q-dropdown.cjs.entry.js +218 -21
- package/dist/cjs/q-form.cjs.entry.js +14 -4
- package/dist/cjs/q-grid.cjs.entry.js +1 -1
- package/dist/cjs/q-icon.cjs.entry.js +1 -1
- package/dist/cjs/q-image-comparison.cjs.entry.js +1 -1
- package/dist/cjs/q-inline.cjs.entry.js +1 -1
- package/dist/cjs/q-input_2.cjs.entry.js +6 -6
- package/dist/cjs/q-link.cjs.entry.js +2 -2
- package/dist/cjs/q-map.cjs.entry.js +2 -2
- package/dist/cjs/q-media.cjs.entry.js +1 -1
- package/dist/cjs/q-navbar.cjs.entry.js +1 -1
- package/dist/cjs/q-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q-panel.cjs.entry.js +1 -1
- package/dist/cjs/q-quantity-selector.cjs.entry.js +6 -6
- package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/q-reel.cjs.entry.js +1 -1
- package/dist/cjs/q-scrollable.cjs.entry.js +1 -1
- package/dist/cjs/q-section.cjs.entry.js +1 -1
- package/dist/cjs/q-sidepanel.cjs.entry.js +1 -1
- package/dist/cjs/q-slider.cjs.entry.js +2 -2
- package/dist/cjs/q-stack.cjs.entry.js +1 -1
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram.cjs.entry.js +3 -3
- package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
- package/dist/cjs/q-tabs.cjs.entry.js +1 -1
- package/dist/cjs/q-textarea.cjs.entry.js +4 -4
- package/dist/cjs/q-thumbnail.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/webquark.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/actions/button/button.css +22 -0
- package/dist/collection/components/content/carousel/carousel.css +7 -0
- package/dist/collection/components/content/carousel/carousel.js +256 -10
- package/dist/collection/components/content/carousel/internals/autoplay.js +31 -6
- package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +122 -0
- package/dist/collection/components/data-display/accordion/accordion.js +1 -1
- 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/map/test/map.cmp.test.js +1 -1
- package/dist/collection/components/data-display/pagination/pagination.js +1 -1
- package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
- package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
- package/dist/collection/components/inputs/dropdown/dropdown.css +115 -0
- package/dist/collection/components/inputs/dropdown/dropdown.js +274 -23
- package/dist/collection/components/inputs/dropdown/test/fit-options.cmp.test.js +120 -0
- package/dist/collection/components/inputs/dropdown/test/multiple.cmp.test.js +124 -0
- package/dist/collection/components/inputs/form/form.js +2 -2
- package/dist/collection/components/inputs/form/internals/field-state.js +6 -1
- package/dist/collection/components/inputs/form/internals/values.js +5 -0
- package/dist/collection/components/inputs/input/input.css +22 -0
- package/dist/collection/components/inputs/input/input.js +3 -3
- package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +22 -0
- 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.js +1 -1
- package/dist/collection/components/inputs/textarea/textarea.js +2 -2
- package/dist/collection/components/inputs/toggle/toggle.css +22 -0
- package/dist/collection/components/inputs/toggle/toggle.js +3 -3
- package/dist/collection/components/layout/control-group/control-group.css +108 -0
- package/dist/collection/components/layout/control-group/control-group.js +142 -0
- package/dist/collection/components/layout/control-group/test/control-group.cmp.test.js +163 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-4mHh96ug.js → p-BGHNFaaC.js} +1 -1
- package/dist/components/{p-BbY1XC6_.js → p-BZXIeEKC.js} +1 -1
- package/dist/components/{p-DbI_F3z0.js → p-Bc2_QcLn.js} +1 -1
- package/dist/components/{p-BKly3Y6e.js → p-Bp6Xr92S.js} +1 -1
- package/dist/components/{p-CSucjZb7.js → p-BwPMm43W.js} +1 -1
- package/dist/components/p-CpkX9YAW.js +1 -0
- package/dist/components/{p-CLErjC1f.js → p-D2nxHd1b.js} +1 -1
- package/dist/components/{p-DQhiqYeq.js → p-DkanItP3.js} +1 -1
- package/dist/components/p-IwIJb0Mc.js +1 -0
- package/dist/components/{p-0feRVg70.js → p-kfrqZyfJ.js} +1 -1
- package/dist/components/{p-CYG3Oakz.js → p-x3C-wjU9.js} +1 -1
- 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-control-group.d.ts +11 -0
- package/dist/components/q-control-group.js +1 -0
- 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.js +1 -1
- 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.js +1 -1
- 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-DhnvhbLl.js → action.props-Di_LpF5H.js} +1 -1
- package/dist/esm/{field-u-k7C7Rf.js → field-C4Iilew6.js} +1 -1
- package/dist/esm/{index-DaJmsCb7.js → index-DoGM9gsC.js} +4 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/q-accordion.entry.js +2 -2
- package/dist/esm/q-alert.entry.js +1 -1
- package/dist/esm/q-avatar.entry.js +1 -1
- package/dist/esm/q-banner.entry.js +1 -1
- package/dist/esm/q-button_2.entry.js +3 -3
- package/dist/esm/q-card.entry.js +1 -1
- package/dist/esm/q-carousel.entry.js +119 -17
- package/dist/esm/q-chip.entry.js +2 -2
- package/dist/esm/q-control-group.entry.js +62 -0
- package/dist/esm/q-conversation-bubble.entry.js +1 -1
- package/dist/esm/q-data-table.entry.js +4 -4
- package/dist/esm/q-dialog.entry.js +1 -1
- package/dist/esm/q-divider.entry.js +1 -1
- package/dist/esm/q-dropdown.entry.js +218 -21
- package/dist/esm/q-form.entry.js +14 -4
- package/dist/esm/q-grid.entry.js +1 -1
- package/dist/esm/q-icon.entry.js +1 -1
- package/dist/esm/q-image-comparison.entry.js +1 -1
- package/dist/esm/q-inline.entry.js +1 -1
- package/dist/esm/q-input_2.entry.js +6 -6
- package/dist/esm/q-link.entry.js +2 -2
- package/dist/esm/q-map.entry.js +2 -2
- package/dist/esm/q-media.entry.js +1 -1
- package/dist/esm/q-navbar.entry.js +1 -1
- package/dist/esm/q-pagination.entry.js +2 -2
- package/dist/esm/q-panel.entry.js +1 -1
- package/dist/esm/q-quantity-selector.entry.js +6 -6
- package/dist/esm/q-radio-group.entry.js +4 -4
- package/dist/esm/q-reel.entry.js +1 -1
- package/dist/esm/q-scrollable.entry.js +1 -1
- package/dist/esm/q-section.entry.js +1 -1
- package/dist/esm/q-sidepanel.entry.js +1 -1
- package/dist/esm/q-slider.entry.js +2 -2
- package/dist/esm/q-stack.entry.js +1 -1
- package/dist/esm/q-step-diagram-item.entry.js +2 -2
- package/dist/esm/q-step-diagram.entry.js +3 -3
- package/dist/esm/q-syntax-box.entry.js +1 -1
- package/dist/esm/q-tabs.entry.js +1 -1
- package/dist/esm/q-textarea.entry.js +4 -4
- package/dist/esm/q-thumbnail.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/webquark.js +3 -3
- package/dist/types/components/content/carousel/carousel.d.ts +23 -2
- package/dist/types/components/content/carousel/carousel.types.d.ts +6 -0
- package/dist/types/components/content/carousel/internals/autoplay.d.ts +5 -0
- package/dist/types/components/inputs/dropdown/dropdown.d.ts +29 -2
- package/dist/types/components/inputs/dropdown/test/fit-options.cmp.test.d.ts +3 -0
- package/dist/types/components/inputs/dropdown/test/multiple.cmp.test.d.ts +1 -0
- package/dist/types/components/inputs/form/internals/field-state.d.ts +1 -1
- package/dist/types/components/layout/control-group/control-group.d.ts +20 -0
- package/dist/types/components/layout/control-group/test/control-group.cmp.test.d.ts +7 -0
- package/dist/types/components.d.ts +148 -9
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/form-field-adapter.d.ts +3 -3
- package/dist/webquark/{p-b8f4994a.entry.js → p-0182e114.entry.js} +1 -1
- package/dist/webquark/{p-2c195546.entry.js → p-048103e0.entry.js} +1 -1
- package/dist/webquark/{p-3430b43c.entry.js → p-0a2c52de.entry.js} +1 -1
- package/dist/webquark/{p-b577b258.entry.js → p-0baf478a.entry.js} +1 -1
- package/dist/webquark/{p-5d6fb0d1.entry.js → p-15bad9ef.entry.js} +1 -1
- package/dist/webquark/{p-253add6d.entry.js → p-17b9713f.entry.js} +1 -1
- package/dist/webquark/{p-253fb28b.entry.js → p-222405b8.entry.js} +1 -1
- package/dist/webquark/{p-7a47e0c3.entry.js → p-2eaa3a9f.entry.js} +1 -1
- package/dist/webquark/{p-e7384b6e.entry.js → p-3daafc56.entry.js} +1 -1
- package/dist/webquark/{p-45e0d213.entry.js → p-44bbe12f.entry.js} +1 -1
- package/dist/webquark/{p-dee50f0a.entry.js → p-4609c362.entry.js} +1 -1
- package/dist/webquark/{p-aca37b06.entry.js → p-5b584d3c.entry.js} +1 -1
- package/dist/webquark/p-65fe9cac.entry.js +1 -0
- package/dist/webquark/{p-e930a769.entry.js → p-846dc838.entry.js} +1 -1
- package/dist/webquark/{p-d2c4696f.entry.js → p-84b350a3.entry.js} +1 -1
- package/dist/webquark/p-85131314.entry.js +1 -0
- package/dist/webquark/{p-58aaa98b.entry.js → p-852e88ae.entry.js} +1 -1
- package/dist/webquark/{p-596737cc.entry.js → p-86c05afd.entry.js} +1 -1
- package/dist/webquark/p-8c5b2706.entry.js +1 -0
- package/dist/webquark/p-923527f0.entry.js +1 -0
- package/dist/webquark/{p-33234157.entry.js → p-9a76cd71.entry.js} +1 -1
- package/dist/webquark/{p-BuctNczf.js → p-DDUED8LT.js} +1 -1
- package/dist/webquark/{p-Bk4FnOfb.js → p-Dnz3WmdX.js} +1 -1
- package/dist/webquark/{p-DaJmsCb7.js → p-DoGM9gsC.js} +1 -1
- package/dist/webquark/p-a0d97367.entry.js +1 -0
- package/dist/webquark/{p-3af50215.entry.js → p-a16bd8d5.entry.js} +2 -2
- package/dist/webquark/{p-fa15a69b.entry.js → p-a2334abe.entry.js} +1 -1
- package/dist/webquark/{p-5cccb6bc.entry.js → p-a2ff1b64.entry.js} +1 -1
- package/dist/webquark/{p-a199de7d.entry.js → p-a314bc21.entry.js} +1 -1
- package/dist/webquark/{p-848e040a.entry.js → p-a3e1096d.entry.js} +1 -1
- package/dist/webquark/{p-3726655f.entry.js → p-a66550da.entry.js} +1 -1
- package/dist/webquark/{p-b75ec829.entry.js → p-aa342e81.entry.js} +1 -1
- package/dist/webquark/{p-b702f60a.entry.js → p-b1c771fb.entry.js} +1 -1
- package/dist/webquark/p-b21ad707.entry.js +1 -0
- package/dist/webquark/{p-99ed0b0d.entry.js → p-b45ca926.entry.js} +1 -1
- package/dist/webquark/{p-29897ae6.entry.js → p-b8fdef4f.entry.js} +1 -1
- package/dist/webquark/{p-78c56cd3.entry.js → p-d4788321.entry.js} +1 -1
- package/dist/webquark/{p-01a59ac3.entry.js → p-d86bd51d.entry.js} +1 -1
- package/dist/webquark/{p-b82aaf4c.entry.js → p-dbcf7592.entry.js} +1 -1
- package/dist/webquark/p-e0943d41.entry.js +1 -0
- package/dist/webquark/{p-dcea3702.entry.js → p-e2721e77.entry.js} +1 -1
- package/dist/webquark/{p-ddeb2d4c.entry.js → p-e723a7ae.entry.js} +1 -1
- package/dist/webquark/{p-c2edfa2c.entry.js → p-eb800d1e.entry.js} +1 -1
- package/dist/webquark/{p-fbd1cbbe.entry.js → p-f4d23ffe.entry.js} +1 -1
- package/dist/webquark/{p-156d2fcf.entry.js → p-f51e1098.entry.js} +1 -1
- package/dist/webquark/{p-44eda084.entry.js → p-fe14f038.entry.js} +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/p-cSh-5xis.js +0 -1
- package/dist/webquark/p-2e26f158.entry.js +0 -1
- package/dist/webquark/p-473a1810.entry.js +0 -1
- package/dist/webquark/p-881ecd5b.entry.js +0 -1
- package/dist/webquark/p-8a0733a1.entry.js +0 -1
- package/dist/webquark/p-f20ed85a.entry.js +0 -1
- package/dist/webquark/p-f95aeb8d.entry.js +0 -1
|
@@ -226,14 +226,14 @@ export class QDataTable {
|
|
|
226
226
|
sortColumn: this.sortColumn,
|
|
227
227
|
sortDirection: this.sortDirection,
|
|
228
228
|
});
|
|
229
|
-
return (h("div", { key: '
|
|
229
|
+
return (h("div", { key: '9c73c6d30d081e5519af9ae93a465eac2181fcde', class: "table-container", role: "grid", "aria-label": this.ariaLabel?.trim() || this.toolbarTitle?.trim() || 'Data table' }, renderDataTableToolbar({
|
|
230
230
|
showToolbar: this.showToolbar,
|
|
231
231
|
toolbarTitle: this.toolbarTitle,
|
|
232
232
|
showSearch: this.showSearch,
|
|
233
233
|
searchPlaceholder: this.searchPlaceholder,
|
|
234
234
|
searchValue: this.searchValue,
|
|
235
235
|
onSearchInput: this.handleSearchInput,
|
|
236
|
-
}), h("div", { key: '
|
|
236
|
+
}), h("div", { key: '4b1b1059c2bfd59aefb048188563f3effc8dbf72', class: "table-scroll-area" }, h("table", { key: '790c6909a3ecfd66cd452e5314d1f5a2cd2b70ae', class: "table-el", style: this.twoLineRows ? { '--q-table-action-count': String(model.rowActions.length) } : undefined }, renderDataTableHead({
|
|
237
237
|
model,
|
|
238
238
|
onSelectAllChange: event => this.handleSelectAllChange(event),
|
|
239
239
|
onSortToggle: column => this.handleSortToggle(column),
|
|
@@ -246,7 +246,7 @@ export class QDataTable {
|
|
|
246
246
|
onRowCheckboxChange: (item, index, event) => this.handleRowCheckboxChange(item, index, event),
|
|
247
247
|
onRowAction: (item, index, action, event) => this.handleRowAction(item, index, action, event),
|
|
248
248
|
renderCell: (item, column) => this.renderCell(item, column),
|
|
249
|
-
}))), h("slot", { key: '
|
|
249
|
+
}))), h("slot", { key: '570258218b4c63d2d48b29d58135e89ffee70add', name: "footer" })));
|
|
250
250
|
}
|
|
251
251
|
static get is() { return "q-data-table"; }
|
|
252
252
|
static get encapsulation() { return "shadow"; }
|
|
@@ -729,7 +729,7 @@ export class QMap {
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
render() {
|
|
732
|
-
return (h("div", { key: '
|
|
732
|
+
return (h("div", { key: 'cc1311b01c382e8fb9fa56dfe106df28d0f53284', class: "map-surface", part: "surface" }, h("div", { key: '7a045981dcf9ef74d1b56044c9cccedb136b5fe3', class: "map-canvas", part: "canvas", role: "region", "aria-label": this.ariaLabel, "aria-busy": this.providerStatus === 'initializing' ? 'true' : undefined, ref: this.setCanvas }), h("q-icon", { key: 'afc8b162325d4773a204337439787a3c8b4d4618', class: "map-icon-registration", "aria-hidden": "true" }), this.providerStatus === 'empty' && (h("div", { key: '5cd6e3499fa313b8674d270c3b603bf4f99b3f82', class: "map-empty", part: "empty", role: "status" }, h("slot", { key: '208a04301474df21413c9ecd088964071199c8b2', name: "empty" }, "Map provider is not configured."))), this.providerStatus === 'error' && (h("div", { key: 'fa3e8abf20064b642bbe81ed4cae631cb005e95e', class: "map-empty map-error", part: "error", role: "alert" }, h("slot", { key: 'f2920a6e59a7dadd0585a3c3e0f8a017749477fd', name: "error" }, this.errorMessage ?? 'Map imagery is unavailable.'))), this.renderAttribution()));
|
|
733
733
|
}
|
|
734
734
|
static get is() { return "q-map"; }
|
|
735
735
|
static get encapsulation() { return "shadow"; }
|
|
@@ -187,7 +187,7 @@ describe('q-map in Chromium', () => {
|
|
|
187
187
|
style.textContent = mapStyles;
|
|
188
188
|
element.shadowRoot.prepend(style);
|
|
189
189
|
element.markers = [
|
|
190
|
-
{ id: '
|
|
190
|
+
{ id: 'north', latitude: -33.5, longitude: 18.5, label: 'North marker' },
|
|
191
191
|
{ id: 'cape', latitude: -33.9249, longitude: 18.4241, label: 'Cape Town' },
|
|
192
192
|
{ id: 'invalid', latitude: 200, longitude: 0, label: 'Invalid' },
|
|
193
193
|
];
|
|
@@ -55,7 +55,7 @@ export class QPagination {
|
|
|
55
55
|
const itemLabel = this.itemLabel.trim() || 'items';
|
|
56
56
|
const previousDisabled = this.disabled || totalItems === 0 || page <= 1;
|
|
57
57
|
const nextDisabled = this.disabled || totalItems === 0 || page >= pageCount;
|
|
58
|
-
return (h("nav", { key: '
|
|
58
|
+
return (h("nav", { key: '29cfb956b6c7c1e4b962496f2711dc2fb05a27ed', class: "pagination", part: "container", "aria-label": this.ariaLabel?.trim() || 'Pagination' }, this.showSummary && (h("span", { key: '4ad6cbdeb1bc6019bc794a3150b167a0664a111d', class: "summary", part: "summary", "aria-live": "polite" }, "Showing ", pageStart, "-", pageEnd, " of ", totalItems, " ", itemLabel)), h("div", { key: 'f0935b57c18c9f91600f0b9b953d24a895dc6359', class: "controls", part: "controls" }, h("button", { key: '209ac953359ca06ce51d7a92288993c476696c3c', class: "page-button", part: "previous-button", type: "button", disabled: previousDisabled, "aria-label": "Previous page", onClick: () => this.requestPage(page - 1) }, "Previous"), h("span", { key: 'd092e6c1998326189e2fba31a18a8f17ccce40b8', class: "page-count", part: "page-count", "aria-label": `Page ${page} of ${pageCount}` }, page, " / ", pageCount), h("button", { key: '3e3ffa0e201b07248cad027cb4c50345dd9f035d', class: "page-button", part: "next-button", type: "button", disabled: nextDisabled, "aria-label": "Next page", onClick: () => this.requestPage(page + 1) }, "Next"))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "q-pagination"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,11 +32,11 @@ export class QStepDiagram {
|
|
|
32
32
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
33
33
|
render() {
|
|
34
34
|
const orientation = this.orientation ?? this.layout;
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: 'ed8ff2e12833252ca10e86f3951288ede2d4ab48', class: {
|
|
36
36
|
'step-diagram': true,
|
|
37
37
|
[`orientation-${orientation}`]: true,
|
|
38
38
|
[`layout-${orientation}`]: true,
|
|
39
|
-
}, role: "list", "aria-label": this.ariaLabel }, h("slot", { key: '
|
|
39
|
+
}, role: "list", "aria-label": this.ariaLabel }, h("slot", { key: '55d8b87076e22eac2dc51bb45c916c8ba905f365', onSlotchange: this.handleSlotChange })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "q-step-diagram"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class QStepDiagramItem {
|
|
|
36
36
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
37
37
|
render() {
|
|
38
38
|
const orientation = this.orientation ?? this.layout;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '2b47e76bd480e99492030741db96c8acb5f94912', class: { 'step-item': true, [`orientation-${orientation}`]: true } }, h("div", { key: '0cbb8c7289116b0acf467e7970bd21c1f17eae0c', class: "step-line-container" }, h("div", { key: 'af081c1b488179b59e191d0ca043ab3a1590cfb1', class: "step-badge", "aria-hidden": "true", part: "badge" }, h("slot", { key: '93cf7e4c34ffafe1c5ffbfdbab674a5876fa6900', name: "badge" }, h("div", { key: 'd3d8527c02f46b382e83978dc6cec17217922de4', class: "badge-dot" }))), h("div", { key: '141528bb721c9d8fd691c4b1e30e7a6519fc9635', class: "step-connector", part: "connector" })), h("div", { key: 'c0884a83703be384bdb734292df203aba0607ffe', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content", "aria-current": this.status === 'active' ? 'step' : undefined, "aria-disabled": this.status === 'pending' ? 'true' : undefined }, h("div", { key: '5c1a04b17525d98f6ced906227bb09a8e480e4a7', class: "step-title", part: "title" }, h("slot", { key: '1bf134c5341ecd854e9b70cc8ee4ce20c7c04e9d', name: "title" })), h("div", { key: 'a83d70db2662e4dd9552da512c962125ac9acb27', class: "step-body", part: "body" }, h("slot", { key: 'a74c8a4b0a6668ee5ab97ca28c478a3783228342' })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "q-step-diagram-item"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,6 +60,50 @@
|
|
|
60
60
|
box-sizing: border-box;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
:host([width='fit-options']) {
|
|
64
|
+
width: var(--_q-dropdown-options-width, max-content);
|
|
65
|
+
max-width: 100%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([width='fit-options']) .dropdown-trigger {
|
|
69
|
+
column-gap: var(--q-dropdown-icon-gap, 10px);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.fit-options-clip {
|
|
73
|
+
position: absolute;
|
|
74
|
+
width: 0;
|
|
75
|
+
height: 0;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
contain: strict;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dropdown-wrapper .fit-options-measure {
|
|
81
|
+
position: absolute;
|
|
82
|
+
display: grid;
|
|
83
|
+
grid-template-columns: max-content max-content;
|
|
84
|
+
width: max-content;
|
|
85
|
+
max-width: none;
|
|
86
|
+
visibility: hidden;
|
|
87
|
+
pointer-events: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.fit-options-labels {
|
|
91
|
+
display: grid;
|
|
92
|
+
white-space: pre;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fit-options-labels > span {
|
|
96
|
+
grid-area: 1 / 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host([width='fit-options']) .chevron-icon {
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:host([width='fit-options']) .dropdown-main-input {
|
|
104
|
+
padding-inline-end: calc(14px + var(--_q-control-icon) + var(--q-dropdown-icon-gap, 10px)) !important;
|
|
105
|
+
}
|
|
106
|
+
|
|
63
107
|
.dropdown-wrapper {
|
|
64
108
|
display: flex;
|
|
65
109
|
flex-direction: column;
|
|
@@ -418,3 +462,74 @@
|
|
|
418
462
|
overflow-wrap: anywhere;
|
|
419
463
|
}
|
|
420
464
|
|
|
465
|
+
|
|
466
|
+
/* Shared opt-in presentation; standalone surfaces retain their existing rules. */
|
|
467
|
+
:host([data-q-control-group]) :is(.input-control, .dropdown-trigger, .quantity-selector, .btn, .toggle-wrapper) {
|
|
468
|
+
border-start-start-radius: var(--_q-group-start-start, 0px);
|
|
469
|
+
border-start-end-radius: var(--_q-group-start-end, 0px);
|
|
470
|
+
border-end-start-radius: var(--_q-group-end-start, 0px);
|
|
471
|
+
border-end-end-radius: var(--_q-group-end-end, 0px);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
:host([data-q-control-group]) .toggle-wrapper {
|
|
475
|
+
box-sizing: border-box;
|
|
476
|
+
min-height: var(--_q-control-height);
|
|
477
|
+
padding-inline: var(--_q-control-padding);
|
|
478
|
+
border: var(--q-border, 1px solid var(--q-border-color, #4b5563));
|
|
479
|
+
background: var(--q-bg-field, var(--q-bg-surface-3, #22304d));
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
:host([data-q-control-group]) :is(.btn, .toggle-wrapper, .quantity-selector) {
|
|
483
|
+
width: 100%;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
/* Multi-selection shares the field geometry; selection count never grows its height. */
|
|
489
|
+
.dropdown-wrapper .multiple-trigger {
|
|
490
|
+
height: var(--q-dropdown-height, var(--_q-control-height));
|
|
491
|
+
flex-wrap: nowrap;
|
|
492
|
+
justify-content: flex-start;
|
|
493
|
+
gap: 4px;
|
|
494
|
+
position: relative;
|
|
495
|
+
}
|
|
496
|
+
.multiple-trigger:focus-within {
|
|
497
|
+
border-color: var(--q-color-primary, #60a5fa);
|
|
498
|
+
box-shadow: 0 0 0 1px var(--q-color-primary, #60a5fa);
|
|
499
|
+
}
|
|
500
|
+
.multiple-trigger > q-chip, .multiple-trigger > .multiple-more, .multiple-trigger > .chevron-icon { flex: 0 0 auto; }
|
|
501
|
+
.multiple-trigger > q-chip { max-width: 45%; }
|
|
502
|
+
.multiple-input {
|
|
503
|
+
flex: 1 1 64px;
|
|
504
|
+
min-width: 64px;
|
|
505
|
+
width: 0;
|
|
506
|
+
padding: 0;
|
|
507
|
+
border: 0;
|
|
508
|
+
background: transparent;
|
|
509
|
+
outline: none;
|
|
510
|
+
color: inherit;
|
|
511
|
+
font: inherit;
|
|
512
|
+
}
|
|
513
|
+
.multiple-input::placeholder { color: var(--q-fg-muted, #9ca3af); }
|
|
514
|
+
.multiple-more {
|
|
515
|
+
padding: 2px 4px;
|
|
516
|
+
border: 0;
|
|
517
|
+
border-radius: var(--q-radius-sm, 4px);
|
|
518
|
+
background: transparent;
|
|
519
|
+
color: var(--q-color-primary, #60a5fa);
|
|
520
|
+
font: inherit;
|
|
521
|
+
white-space: nowrap;
|
|
522
|
+
cursor: pointer;
|
|
523
|
+
}
|
|
524
|
+
.multiple-more:focus-visible { outline: 2px solid var(--q-color-primary, #60a5fa); }
|
|
525
|
+
.multiple-measure {
|
|
526
|
+
position: absolute;
|
|
527
|
+
display: flex;
|
|
528
|
+
width: max-content;
|
|
529
|
+
visibility: hidden;
|
|
530
|
+
pointer-events: none;
|
|
531
|
+
inset: 0 auto auto 0;
|
|
532
|
+
gap: 4px;
|
|
533
|
+
}
|
|
534
|
+
.selected-options { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; overflow: auto; }
|
|
535
|
+
.selected-options q-chip { max-width: 100%; }
|