@dubai-design-system/components-js 5.1.1 → 5.3.0
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/CHANGELOG.md +116 -0
- package/MIGRATION.md +196 -15
- package/dist/cjs/dda-accordion.cjs.entry.js +3 -3
- package/dist/cjs/dda-alert.cjs.entry.js +3 -3
- package/dist/cjs/dda-attach-file.cjs.entry.js +3 -3
- package/dist/cjs/dda-avatar.cjs.entry.js +7 -7
- package/dist/cjs/dda-banner-card.cjs.entry.js +26 -0
- package/dist/cjs/dda-banner.cjs.entry.js +3 -3
- package/dist/cjs/dda-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/dda-button.cjs.entry.js +3 -3
- package/dist/cjs/dda-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/dda-chip.cjs.entry.js +3 -3
- package/dist/cjs/dda-credit-card.cjs.entry.js +3 -3
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +3 -3
- package/dist/cjs/dda-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/dda-footer.cjs.entry.js +3 -3
- package/dist/cjs/dda-header.cjs.entry.js +201 -14
- package/dist/cjs/dda-home-banner.cjs.entry.js +5 -5
- package/dist/cjs/dda-home-carousel.cjs.entry.js +28 -0
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +3 -3
- package/dist/cjs/dda-input.cjs.entry.js +3 -3
- package/dist/cjs/dda-link-button_2.cjs.entry.js +6 -6
- package/dist/cjs/dda-number-field.cjs.entry.js +3 -3
- package/dist/cjs/dda-pagination.cjs.entry.js +3 -3
- package/dist/cjs/dda-phonefield.cjs.entry.js +3 -3
- package/dist/cjs/dda-progressbar.cjs.entry.js +3 -3
- package/dist/cjs/dda-range-slider.cjs.entry.js +3 -3
- package/dist/cjs/dda-search-input.cjs.entry.js +3 -3
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +4 -4
- package/dist/cjs/dda-select.cjs.entry.js +3 -3
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +52 -4
- package/dist/cjs/dda-tabs.cjs.entry.js +3 -3
- package/dist/cjs/dda-textarea.cjs.entry.js +4 -4
- package/dist/cjs/dda-toggle.cjs.entry.js +3 -3
- package/dist/cjs/dda-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/dda-ui-card.cjs.entry.js +2 -2
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js +2 -2
- package/dist/cjs/dda.cjs.js +2 -2
- package/dist/cjs/{index-Bgd2iAET.js → index-DD8fdSxb.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/parse-json-prop-B0KWD8qe.js +38 -0
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/dda-accordion/dda-accordion.js +1 -1
- package/dist/collection/components/dda-alert/dda-alert.js +1 -1
- package/dist/collection/components/dda-alert/dda-alert.stories.js +27 -20
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +1 -1
- package/dist/collection/components/dda-avatar/dda-avatar.js +5 -5
- package/dist/collection/components/dda-banner/dda-banner.js +1 -1
- package/dist/collection/components/dda-banner-card/dda-banner-card.js +243 -0
- package/dist/collection/components/dda-button/dda-button.js +1 -1
- package/dist/collection/components/dda-checkbox/dda-checkbox.js +1 -1
- package/dist/collection/components/dda-chip/dda-chip.js +1 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.js +1 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +1 -1
- package/dist/collection/components/dda-dropdown/dda-dropdown.js +1 -1
- package/dist/collection/components/dda-footer/dda-footer.js +1 -1
- package/dist/collection/components/dda-header/dda-header.js +853 -81
- package/dist/collection/components/dda-header/dda-header.stories.js +219 -33
- package/dist/collection/components/dda-header/nav-model.js +69 -0
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +2 -2
- package/dist/collection/components/dda-home-banner/home-banner.css +12 -2
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.js +164 -0
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.stories.js +24 -0
- package/dist/collection/components/dda-input/dda-input.js +1 -1
- package/dist/collection/components/dda-link-button/dda-link-button.js +2 -2
- package/dist/collection/components/dda-number-field/dda-number-field.js +1 -1
- package/dist/collection/components/dda-pagination/dda-pagination.js +1 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +1 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +1 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +355 -9
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +1 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +2 -2
- package/dist/collection/components/dda-search-input/dda-search-input.js +1 -1
- package/dist/collection/components/dda-select/dda-select.js +1 -1
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +511 -9
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +24 -2
- package/dist/collection/components/dda-tabs/dda-tabs.js +1 -1
- package/dist/collection/components/dda-textarea/dda-textarea.js +2 -2
- package/dist/collection/components/dda-toggle/dda-toggle.js +1 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +1 -1
- package/dist/collection/components/dda-ui-card/dda-ui-card.js +1 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.css +29 -9
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +1 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +1 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +1 -1
- package/dist/collection/global/global.css +355 -9
- package/dist/collection/utils/parse-json-prop.js +34 -0
- package/dist/components/dda-accordion.js +1 -1
- package/dist/components/dda-alert.js +1 -1
- package/dist/components/dda-attach-file.js +1 -1
- package/dist/components/dda-avatar.js +1 -1
- package/dist/components/dda-banner-card.d.ts +11 -0
- package/dist/components/dda-banner-card.js +1 -0
- package/dist/components/dda-banner.js +1 -1
- package/dist/components/dda-breadcrumb.js +1 -1
- package/dist/components/dda-button.js +1 -1
- package/dist/components/dda-checkbox.js +1 -1
- package/dist/components/dda-chip.js +1 -1
- package/dist/components/dda-credit-card.js +1 -1
- package/dist/components/dda-creditcard-field.js +1 -1
- package/dist/components/dda-dropdown.js +1 -1
- package/dist/components/dda-footer.js +1 -1
- package/dist/components/dda-header.js +1 -1
- package/dist/components/dda-home-banner.js +1 -1
- package/dist/components/dda-home-carousel.d.ts +11 -0
- package/dist/components/dda-home-carousel.js +1 -0
- package/dist/components/dda-horizontal-stepper.js +1 -1
- package/dist/components/dda-input.js +1 -1
- package/dist/components/dda-link-button.js +1 -1
- package/dist/components/dda-number-field.js +1 -1
- package/dist/components/dda-pagination.js +1 -1
- package/dist/components/dda-phonefield.js +1 -1
- package/dist/components/dda-progressbar.js +1 -1
- package/dist/components/dda-radiobutton.js +1 -1
- package/dist/components/dda-range-slider.js +1 -1
- package/dist/components/dda-search-input.js +1 -1
- package/dist/components/dda-segmented-tabs.js +1 -1
- package/dist/components/dda-select.js +1 -1
- package/dist/components/dda-sticky-footer.js +1 -1
- package/dist/components/dda-tabs.js +1 -1
- package/dist/components/dda-textarea.js +1 -1
- package/dist/components/dda-toggle.js +1 -1
- package/dist/components/dda-tooltip.js +1 -1
- package/dist/components/dda-ui-card.js +1 -1
- package/dist/components/dda-vertical-stepper.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-BCtBptNq.js +1 -0
- package/dist/components/p-BP6BxgDV.js +1 -0
- package/dist/components/p-BZzFtOHg.js +1 -0
- package/dist/components/p-CvcFE821.js +1 -0
- package/dist/components/p-D3e_hki9.js +1 -0
- package/dist/components/p-DCwxgkNU.js +1 -0
- package/dist/components/p-R9p4F9Pi.js +1 -0
- package/dist/dda/dda.css +1 -53
- package/dist/dda/dda.esm.js +1 -1
- package/dist/dda/p-0480f0a9.entry.js +1 -0
- package/dist/dda/p-06188c4c.entry.js +1 -0
- package/dist/dda/p-08e1892a.entry.js +1 -0
- package/dist/dda/p-10c5a752.entry.js +1 -0
- package/dist/dda/p-169ba650.entry.js +1 -0
- package/dist/dda/p-25058697.entry.js +1 -0
- package/dist/dda/p-32a7c588.entry.js +1 -0
- package/dist/dda/{p-fb4db977.entry.js → p-333205aa.entry.js} +1 -1
- package/dist/dda/p-46df4933.entry.js +1 -0
- package/dist/dda/p-47322b02.entry.js +1 -0
- package/dist/dda/{p-04bcda8a.entry.js → p-4e717a2e.entry.js} +1 -1
- package/dist/dda/p-5840fad9.entry.js +1 -0
- package/dist/dda/p-5bb62ef7.entry.js +1 -0
- package/dist/dda/p-5e757702.entry.js +1 -0
- package/dist/dda/p-6430c363.entry.js +1 -0
- package/dist/dda/p-6d4f5672.entry.js +1 -0
- package/dist/dda/p-6db5588a.entry.js +1 -0
- package/dist/dda/p-76859bf8.entry.js +1 -0
- package/dist/dda/p-7c1abbd2.entry.js +1 -0
- package/dist/dda/p-7ffce954.entry.js +1 -0
- package/dist/dda/p-8108c4ed.entry.js +1 -0
- package/dist/dda/p-8852dafb.entry.js +1 -0
- package/dist/dda/p-8dbbc0ca.entry.js +1 -0
- package/dist/dda/p-95100f73.entry.js +1 -0
- package/dist/dda/p-9a4e34d1.entry.js +1 -0
- package/dist/dda/p-9b234635.entry.js +1 -0
- package/dist/dda/p-9d9834ff.entry.js +1 -0
- package/dist/dda/p-9f01cb56.entry.js +1 -0
- package/dist/dda/p-9ff8dc84.entry.js +1 -0
- package/dist/dda/p-BnrqwGTj.js +2 -0
- package/dist/dda/p-CvcFE821.js +1 -0
- package/dist/dda/p-a8a1ee5d.entry.js +1 -0
- package/dist/dda/p-b37f40a9.entry.js +1 -0
- package/dist/dda/{p-c77282be.entry.js → p-eaffd32d.entry.js} +1 -1
- package/dist/dda/p-f2efc121.entry.js +1 -0
- package/dist/dda/p-faed59dd.entry.js +1 -0
- package/dist/dda/p-fb00dec4.entry.js +1 -0
- package/dist/esm/dda-accordion.entry.js +3 -3
- package/dist/esm/dda-alert.entry.js +3 -3
- package/dist/esm/dda-attach-file.entry.js +3 -3
- package/dist/esm/dda-avatar.entry.js +7 -7
- package/dist/esm/dda-banner-card.entry.js +24 -0
- package/dist/esm/dda-banner.entry.js +3 -3
- package/dist/esm/dda-breadcrumb.entry.js +2 -2
- package/dist/esm/dda-button.entry.js +3 -3
- package/dist/esm/dda-checkbox.entry.js +3 -3
- package/dist/esm/dda-chip.entry.js +3 -3
- package/dist/esm/dda-credit-card.entry.js +3 -3
- package/dist/esm/dda-creditcard-field.entry.js +3 -3
- package/dist/esm/dda-dropdown.entry.js +3 -3
- package/dist/esm/dda-footer.entry.js +3 -3
- package/dist/esm/dda-header.entry.js +201 -14
- package/dist/esm/dda-home-banner.entry.js +5 -5
- package/dist/esm/dda-home-carousel.entry.js +26 -0
- package/dist/esm/dda-horizontal-stepper.entry.js +3 -3
- package/dist/esm/dda-input.entry.js +3 -3
- package/dist/esm/dda-link-button_2.entry.js +6 -6
- package/dist/esm/dda-number-field.entry.js +3 -3
- package/dist/esm/dda-pagination.entry.js +3 -3
- package/dist/esm/dda-phonefield.entry.js +3 -3
- package/dist/esm/dda-progressbar.entry.js +3 -3
- package/dist/esm/dda-range-slider.entry.js +3 -3
- package/dist/esm/dda-search-input.entry.js +3 -3
- package/dist/esm/dda-segmented-tabs.entry.js +4 -4
- package/dist/esm/dda-select.entry.js +3 -3
- package/dist/esm/dda-sticky-footer.entry.js +52 -4
- package/dist/esm/dda-tabs.entry.js +3 -3
- package/dist/esm/dda-textarea.entry.js +4 -4
- package/dist/esm/dda-toggle.entry.js +3 -3
- package/dist/esm/dda-tooltip.entry.js +3 -3
- package/dist/esm/dda-ui-card.entry.js +2 -2
- package/dist/esm/dda-vertical-stepper.entry.js +2 -2
- package/dist/esm/dda.js +3 -3
- package/dist/esm/{index-D6L6zgH9.js → index-BnrqwGTj.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/parse-json-prop-CvcFE821.js +36 -0
- package/dist/types/components/dda-alert/dda-alert.stories.d.ts +5 -1
- package/dist/types/components/dda-banner-card/dda-banner-card.d.ts +25 -0
- package/dist/types/components/dda-header/dda-header.d.ts +117 -5
- package/dist/types/components/dda-header/dda-header.stories.d.ts +206 -0
- package/dist/types/components/dda-header/nav-model.d.ts +19 -0
- package/dist/types/components/dda-home-carousel/dda-home-carousel.d.ts +29 -0
- package/dist/types/components/dda-home-carousel/dda-home-carousel.stories.d.ts +20 -0
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +75 -5
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +17 -0
- package/dist/types/components.d.ts +747 -21
- package/dist/types/utils/parse-json-prop.d.ts +1 -0
- package/package.json +3 -1
- package/dist/components/p-Bc2V1U4_.js +0 -1
- package/dist/components/p-Bzqf-PpF.js +0 -1
- package/dist/components/p-D-CHT-as.js +0 -1
- package/dist/components/p-DJw8qV7U.js +0 -1
- package/dist/components/p-DpwQ9sGp.js +0 -1
- package/dist/dda/p-03400387.entry.js +0 -1
- package/dist/dda/p-18a3d7b1.entry.js +0 -1
- package/dist/dda/p-1f7b8486.entry.js +0 -1
- package/dist/dda/p-3024288f.entry.js +0 -1
- package/dist/dda/p-41b8ed7d.entry.js +0 -1
- package/dist/dda/p-56f60336.entry.js +0 -1
- package/dist/dda/p-65776d80.entry.js +0 -1
- package/dist/dda/p-73611084.entry.js +0 -1
- package/dist/dda/p-7ad8cde9.entry.js +0 -1
- package/dist/dda/p-8134e59d.entry.js +0 -1
- package/dist/dda/p-8494fd9e.entry.js +0 -1
- package/dist/dda/p-876d55b2.entry.js +0 -1
- package/dist/dda/p-88d884a8.entry.js +0 -1
- package/dist/dda/p-8b25ae94.entry.js +0 -1
- package/dist/dda/p-8f376986.entry.js +0 -1
- package/dist/dda/p-90019b80.entry.js +0 -1
- package/dist/dda/p-92fa4777.entry.js +0 -1
- package/dist/dda/p-97431faf.entry.js +0 -1
- package/dist/dda/p-D6L6zgH9.js +0 -2
- package/dist/dda/p-a5456de2.entry.js +0 -1
- package/dist/dda/p-aa7b4c13.entry.js +0 -1
- package/dist/dda/p-ad40eb27.entry.js +0 -1
- package/dist/dda/p-c055f0d2.entry.js +0 -1
- package/dist/dda/p-c42c8733.entry.js +0 -1
- package/dist/dda/p-ca64abe6.entry.js +0 -1
- package/dist/dda/p-ceca8088.entry.js +0 -1
- package/dist/dda/p-d6786b43.entry.js +0 -1
- package/dist/dda/p-e2113e42.entry.js +0 -1
- package/dist/dda/p-ee862207.entry.js +0 -1
- package/dist/dda/p-ef38e28b.entry.js +0 -1
- package/dist/dda/p-f43fb910.entry.js +0 -1
|
@@ -72,7 +72,7 @@ export class DdaNumberField {
|
|
|
72
72
|
this.component_mode,
|
|
73
73
|
].filter(Boolean).join(' ');
|
|
74
74
|
const id = this.inputId;
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'f624d00bd4b5e0c29cdf713f837a83be852e8c30' }, h("div", { key: 'bdcbc45802ac76a5b59eecc57514ddfaa29235a7', class: containerClass }, this.label && h("label", { key: '02ef6553822c0a1b9fafc7ccff2038e200e00715', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: 'f0c13e421c9de5d60b815efc709f5021ee9b2509', class: "dda-input-field-group dda-number-field" }, h("input", { key: '09a73be6481a4285520150c3f4541a43bc2db872', id: id, name: this.input_name, "aria-label": this.aria_label, type: "text", placeholder: this.placeholder, value: this.value, pattern: "[0-9]*", onInput: event => this.handleInput(event), onFocus: this.handleFocus.bind(this), onBlur: this.handleBlur.bind(this), class: "dda-field-group-input", "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined }), h("div", { key: '26db621e11ca058e3758144a20508483dcf33394', class: "dda-input-dropdown-btn" }, h("button", { key: '9ec16119661ba40362ab85c65f2f108ea5dcafff', name: this.toggle_button_name, type: "button", class: "dda-dropdown-select", "aria-label": this.toggle_button_label ? `${this.toggle_button_label}: ${this.selected_currency}` : undefined, "aria-expanded": this.isCurrencyDropdownOpen ? 'true' : 'false', onClick: () => this.toggleCurrencyDropdown() }, this.selected_currency, " ", h("i", { key: '5ed1789d07a7e70bb8e903e2d9c4ee969ea19a75', class: `material-icons`, "aria-hidden": "true" }, this.isCurrencyDropdownOpen ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), this.isCurrencyDropdownOpen && (h("div", { key: '1f212a2cc5a4d71e8d8c463fc10b1ea828b66630', class: "dda-input-dropdown-list" }, this.parsedCurrencies.length > 0 ? (this.parsedCurrencies.map(option => (h("button", { name: this.currency_button_name, type: "button", class: `dda-input-dropdown-item ${this.selected_currency === option ? 'selected' : ''}`, onClick: () => this.selectCurrency(option) }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available")))))), this.helper_text && h("span", { key: '038ad7c3098d0353d63a85e5fa224c084ec9989f', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '743f363599d29ff486146638e406053197328204', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "dda-number-field"; }
|
|
78
78
|
static get originalStyleUrls() {
|
|
@@ -63,7 +63,7 @@ export class DdaPagination {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '3b11664484e9c91e045896687bce2b2f645c7947' }, h("div", { key: 'e9a932aaa1c53285520a54d2a66d115a86479817', class: `dda-pagination-container` }, this.renderPagination())));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "dda-pagination"; }
|
|
69
69
|
static get originalStyleUrls() {
|
|
@@ -78,7 +78,7 @@ export class DdaPhoneField {
|
|
|
78
78
|
render() {
|
|
79
79
|
const inputClass = `${this.component_mode} ${this.size ? `dda-input-size-${this.size}` : ''} ${this.error_message ? `dda-error-message` : ''} ${this.validation_type ? `dda-validation-${this.validation_type}` : ''} ${this.is_focused ? 'dda-input-focus' : ''} ${this.phone_number ? 'dda-input-focus-filled' : ''}`;
|
|
80
80
|
const id = this.inputId;
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '1971e802b7da8e880d20b7e8f11d0b31f1beefc3' }, h("div", { key: 'b7bfc5d49a4d3eb00ded844be34efccaf5864da7', class: `dda-input-container ${inputClass} ${this.custom_class} ${this.disabled ? 'dda-input-disabled' : ''}` }, this.label && h("label", { key: 'f53f699392cf4f471f69277f29f6060ae794c826', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: '7f805e90bccd3a560eb9a93b6c954a2f1b9b9d60', class: `dda-input-field-group dda-phone-field` }, h("div", { key: 'feb946112770887a9c249b87c47f62651613eb85', class: "dda-input-dropdown-btn" }, h("button", { key: 'e9800cd1a4ae37a887e499f29f34c7dad3afd6c3', type: "button", name: this.toggle_button_name, class: "dda-dropdown-select", "aria-label": this.toggle_button_label ? `${this.toggle_button_label}: ${this.country_code}` : undefined, "aria-expanded": this.dropdown_open ? 'true' : 'false', onClick: () => this.toggleDropdown() }, h("img", { key: '94638c0703e46eb7c56557e2480bfa14ca0d1e26', src: this.country_flag, alt: "", width: "20" }), " ", this.country_code, " ", h("i", { key: '2c7fe54aa11ecc2d3cfffc8960b21cf3b884aa4d', class: `material-icons`, "aria-hidden": "true" }, this.dropdown_open ? 'keyboard_arrow_down' : 'keyboard_arrow_down')), this.dropdown_open && (h("div", { key: 'ed81296b81e4fe2fb6def30f03b1ef47c542921d', class: "dda-input-dropdown-list" }, this.countries.map((country, index) => (h("button", { id: `${this.button_id || `${id}-country`}-${index}`, name: this.country_select_button_name, "aria-label": this.button_aria_label, type: "button", class: "dda-input-dropdown-item", onClick: () => this.selectCountry(country) }, h("img", { src: country.flag, alt: "", width: "20" }), " ", country.code)))))), h("input", { key: '33aacdf8a564316fe1eebc7b8f5897d051e95263', id: id, name: this.phone_input_name, "aria-label": this.aria_label, type: "tel", class: `dda-field-group-input`, placeholder: this.placeholder, inputmode: 'tel', pattern: "[0-9]*", autocomplete: this.autocomplete, value: this.phone_number, onInput: this.handlephonenumberChange.bind(this), onFocus: this.handleFocus.bind(this), onBlur: this.handleBlur.bind(this), disabled: this.disabled, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined })), this.helper_text && !this.validation_type && h("span", { key: '4022e0e244728725e57d7c8b3bc9f63dcc8f019d', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '93e0cce65d8fde351b2e031b3ad0be723a7804ec', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "dda-phonefield"; }
|
|
84
84
|
static get originalStyleUrls() {
|
|
@@ -16,7 +16,7 @@ export class DdaProgressBar {
|
|
|
16
16
|
const progressStyle = {
|
|
17
17
|
width: `${this.progress}%`,
|
|
18
18
|
};
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '097789c9ac738134268e473677410f6966fb2a2e' }, h("div", { key: '7822aa7f33639e49e37248201458931b0418c6a3', class: `dda-progress-bar-container ${this.custom_class} ${this.component_mode}` }, h("div", { key: 'a26c90a915992100c6c1b7763bf40fc86b7786fd', class: "dda-progress-bar", role: "progressbar", "aria-label": this.aria_label, "aria-valuenow": `${this.progress}`, "aria-valuemin": "0", "aria-valuemax": "100" }, h("div", { key: '4c4945e57ffe790edc31d2787fd2ad89f9292cbb', class: "dda-progress-value", style: progressStyle }, this.tooltip && (h("div", { key: '978a8fcfd4101ebe52bf1d2fbc4d0276171bb751', class: `dda-tooltip tooltip-${this.tooltip_position}` }, this.progress, "%")))), this.show_percentage_text && (h("span", { key: 'ee75db5f57bb41d78cc3cd3e0eecc63520637bec', class: "dda-percentage-text" }, this.progress, "%")))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "dda-progressbar"; }
|
|
22
22
|
static get originalStyleUrls() {
|
|
@@ -711,24 +711,97 @@
|
|
|
711
711
|
padding: 50px 20px 70px 20px;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
.
|
|
714
|
+
/* Small screens: the cards sit on the banner this far above the sticky footer bar, at this height.
|
|
715
|
+
dda-home-banner's .slider-nav reads the same two values to stay 16px above the cards. */
|
|
716
|
+
:root {
|
|
717
|
+
--dda-quick-links-gap-sm: 12px;
|
|
718
|
+
--dda-quick-links-card-height-sm: 112px;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
:is(.quick-links-wrap, .dda-home-quick-links-wrap) {
|
|
715
722
|
width: 100%;
|
|
716
723
|
position: absolute;
|
|
717
|
-
/* dda-sticky-footer sets --dda-sticky-footer-height; the cards sit above the fixed bar.
|
|
718
|
-
|
|
724
|
+
/* dda-sticky-footer sets --dda-sticky-footer-height; the cards sit above the fixed bar.
|
|
725
|
+
The row's bottom padding (below) is part of the 69px. The banner's .slider-nav sits 205px
|
|
726
|
+
above this offset (274px in home-banner.css); change both together. */
|
|
727
|
+
bottom: calc(69px - var(--dda-quick-links-pad-bottom) + var(--dda-sticky-footer-height, 0px));
|
|
719
728
|
z-index: 1;
|
|
720
729
|
}
|
|
721
730
|
|
|
731
|
+
/* The width of the fade on each edge that has more cards to scroll to. */
|
|
732
|
+
@property --dda-quick-links-fade-start {
|
|
733
|
+
syntax: '<length>';
|
|
734
|
+
inherits: false;
|
|
735
|
+
initial-value: 0px;
|
|
736
|
+
}
|
|
737
|
+
@property --dda-quick-links-fade-end {
|
|
738
|
+
syntax: '<length>';
|
|
739
|
+
inherits: false;
|
|
740
|
+
initial-value: 0px;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/* One row of cards. When the cards do not fit, the row scrolls sideways. A card cut at the edge,
|
|
744
|
+
a fade on each edge with more cards, and a thin scrollbar show that the row scrolls. */
|
|
745
|
+
:is(.quick-links-wrap, .dda-home-quick-links-wrap),
|
|
746
|
+
.quick-links {
|
|
747
|
+
/* Room inside the row for the hover lift (12px above) and the pointer (9px below);
|
|
748
|
+
a scrolling box clips anything outside it. */
|
|
749
|
+
--dda-quick-links-pad-top: 12px;
|
|
750
|
+
--dda-quick-links-pad-bottom: 12px;
|
|
751
|
+
--dda-quick-links-fade: 32px;
|
|
752
|
+
}
|
|
722
753
|
.quick-links {
|
|
723
754
|
width: 90vw;
|
|
724
755
|
margin: 0 auto;
|
|
725
756
|
display: flex;
|
|
726
757
|
gap: 8px;
|
|
727
|
-
padding:
|
|
758
|
+
padding: var(--dda-quick-links-pad-top) 20px var(--dda-quick-links-pad-bottom);
|
|
759
|
+
overflow-x: auto;
|
|
760
|
+
overflow-y: hidden;
|
|
761
|
+
overscroll-behavior-x: contain;
|
|
762
|
+
scroll-snap-type: x mandatory;
|
|
763
|
+
/* A card that snaps or takes focus stops clear of the fade. */
|
|
764
|
+
scroll-padding-inline: calc(var(--dda-quick-links-fade) + 4px);
|
|
765
|
+
scrollbar-width: thin;
|
|
766
|
+
scrollbar-color: rgba(255, 255, 255, 0.7) transparent;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/* Fades show only where the row can scroll, and follow the scroll position. Browsers without
|
|
770
|
+
scroll-driven animations show no fade; the cut card and the scrollbar still show. */
|
|
771
|
+
@supports (animation-timeline: scroll()) {
|
|
772
|
+
.quick-links {
|
|
773
|
+
-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--dda-quick-links-fade-start), #000 calc(100% - var(--dda-quick-links-fade-end)), transparent);
|
|
774
|
+
mask-image: linear-gradient(to right, transparent, #000 var(--dda-quick-links-fade-start), #000 calc(100% - var(--dda-quick-links-fade-end)), transparent);
|
|
775
|
+
animation: dda-quick-links-fade linear both;
|
|
776
|
+
animation-timeline: scroll(self inline);
|
|
777
|
+
}
|
|
778
|
+
/* In RTL the row starts on the right. */
|
|
779
|
+
[dir='rtl'] .quick-links {
|
|
780
|
+
-webkit-mask-image: linear-gradient(to left, transparent, #000 var(--dda-quick-links-fade-start), #000 calc(100% - var(--dda-quick-links-fade-end)), transparent);
|
|
781
|
+
mask-image: linear-gradient(to left, transparent, #000 var(--dda-quick-links-fade-start), #000 calc(100% - var(--dda-quick-links-fade-end)), transparent);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
@keyframes dda-quick-links-fade {
|
|
785
|
+
0% {
|
|
786
|
+
--dda-quick-links-fade-start: 0px;
|
|
787
|
+
--dda-quick-links-fade-end: var(--dda-quick-links-fade);
|
|
788
|
+
}
|
|
789
|
+
10%,
|
|
790
|
+
90% {
|
|
791
|
+
--dda-quick-links-fade-start: var(--dda-quick-links-fade);
|
|
792
|
+
--dda-quick-links-fade-end: var(--dda-quick-links-fade);
|
|
793
|
+
}
|
|
794
|
+
100% {
|
|
795
|
+
--dda-quick-links-fade-start: var(--dda-quick-links-fade);
|
|
796
|
+
--dda-quick-links-fade-end: 0px;
|
|
797
|
+
}
|
|
728
798
|
}
|
|
729
799
|
|
|
730
800
|
.quick-links .link-item {
|
|
731
|
-
|
|
801
|
+
/* Cards share the row when they fit and are never narrower than 220px. */
|
|
802
|
+
flex: 1 0 220px;
|
|
803
|
+
min-width: 0;
|
|
804
|
+
scroll-snap-align: start;
|
|
732
805
|
height: 170px;
|
|
733
806
|
display: block;
|
|
734
807
|
background: var(--dda-surface-100);
|
|
@@ -792,16 +865,21 @@
|
|
|
792
865
|
.slide-content p {
|
|
793
866
|
width: 100%;
|
|
794
867
|
}
|
|
795
|
-
.quick-links-wrap {
|
|
868
|
+
:is(.quick-links-wrap, .dda-home-quick-links-wrap) {
|
|
796
869
|
position: relative;
|
|
797
870
|
/* In normal flow the cards do not sit over the fixed bar, so keep the original offset. */
|
|
798
871
|
bottom: 45px;
|
|
799
872
|
}
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
873
|
+
/* Below the banner, on the page background: the row spans the screen, and each card is
|
|
874
|
+
narrower than the row so the next card shows at the edge. */
|
|
875
|
+
:is(.quick-links-wrap, .dda-home-quick-links-wrap) .quick-links {
|
|
876
|
+
width: 100%;
|
|
877
|
+
box-sizing: border-box;
|
|
878
|
+
padding: 20px 20px var(--dda-quick-links-pad-bottom);
|
|
879
|
+
scrollbar-color: var(--dda-on-surface-variant-40) transparent;
|
|
803
880
|
}
|
|
804
881
|
.quick-links .link-item {
|
|
882
|
+
flex: 0 0 min(75%, 300px);
|
|
805
883
|
height: auto;
|
|
806
884
|
margin: 0px;
|
|
807
885
|
border: solid 1px #ddd;
|
|
@@ -874,6 +952,97 @@
|
|
|
874
952
|
max-width: 90vw !important;
|
|
875
953
|
}
|
|
876
954
|
|
|
955
|
+
/* 992px and below, on screens taller than 600px: the cards sit on the banner, above the sticky
|
|
956
|
+
footer bar, as on desktop. They are compact so they cover less of the slide, and the slide
|
|
957
|
+
controls move above them (home-banner.css). On short landscape screens the banner cannot hold
|
|
958
|
+
the text, the controls and the cards, so the cards stay under it (the rules above). */
|
|
959
|
+
@media screen and (max-width: 992px) and (min-height: 601px) {
|
|
960
|
+
:is(.quick-links-wrap, .dda-home-quick-links-wrap) {
|
|
961
|
+
position: absolute;
|
|
962
|
+
/* The row's bottom padding is part of the gap above the bar. */
|
|
963
|
+
bottom: calc(var(--dda-quick-links-gap-sm) - var(--dda-quick-links-pad-bottom) + var(--dda-sticky-footer-height, 0px));
|
|
964
|
+
}
|
|
965
|
+
:is(.quick-links-wrap, .dda-home-quick-links-wrap) .quick-links {
|
|
966
|
+
padding-top: var(--dda-quick-links-pad-top);
|
|
967
|
+
scrollbar-color: rgba(255, 255, 255, 0.7) transparent;
|
|
968
|
+
}
|
|
969
|
+
.quick-links .link-item {
|
|
970
|
+
height: var(--dda-quick-links-card-height-sm);
|
|
971
|
+
padding: 16px;
|
|
972
|
+
border: 0;
|
|
973
|
+
}
|
|
974
|
+
.quick-links .link-item i {
|
|
975
|
+
font-size: 24px;
|
|
976
|
+
margin-bottom: 8px;
|
|
977
|
+
}
|
|
978
|
+
.quick-links .link-item svg {
|
|
979
|
+
height: 24px;
|
|
980
|
+
margin-bottom: 8px;
|
|
981
|
+
}
|
|
982
|
+
.quick-links .link-item .title {
|
|
983
|
+
font-size: var(--dda-fs-body-lg);
|
|
984
|
+
}
|
|
985
|
+
.quick-links .link-item .subtitle {
|
|
986
|
+
font-size: var(--dda-fs-body-sm);
|
|
987
|
+
white-space: nowrap;
|
|
988
|
+
overflow: hidden;
|
|
989
|
+
text-overflow: ellipsis;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
/* dda-home-carousel: its list is a .quick-links row; each <li> holds one dda-banner-card. */
|
|
994
|
+
ul.quick-links {
|
|
995
|
+
margin-block: 0;
|
|
996
|
+
list-style: none;
|
|
997
|
+
}
|
|
998
|
+
.quick-links > .dda-home-carousel-item {
|
|
999
|
+
flex: 0 0 max(220px, calc((100% - (var(--dda-home-carousel-per-view, 5) - 1) * 8px) / var(--dda-home-carousel-per-view, 5)));
|
|
1000
|
+
display: flex;
|
|
1001
|
+
scroll-snap-align: start;
|
|
1002
|
+
list-style: none;
|
|
1003
|
+
}
|
|
1004
|
+
.dda-home-carousel-item dda-banner-card {
|
|
1005
|
+
display: flex;
|
|
1006
|
+
width: 100%;
|
|
1007
|
+
}
|
|
1008
|
+
.dda-home-carousel-item .link-item {
|
|
1009
|
+
width: 100%;
|
|
1010
|
+
flex: 1 1 auto;
|
|
1011
|
+
}
|
|
1012
|
+
/* A card without a URL is a <button>: remove the browser button look. */
|
|
1013
|
+
button.link-item {
|
|
1014
|
+
border: 0;
|
|
1015
|
+
font: inherit;
|
|
1016
|
+
text-align: start;
|
|
1017
|
+
cursor: pointer;
|
|
1018
|
+
}
|
|
1019
|
+
.quick-links .link-item img {
|
|
1020
|
+
display: block;
|
|
1021
|
+
height: 35px;
|
|
1022
|
+
width: auto;
|
|
1023
|
+
margin-bottom: 15px;
|
|
1024
|
+
}
|
|
1025
|
+
.quick-links .link-item:focus-visible {
|
|
1026
|
+
outline: 2px solid var(--dda-color-primary-40);
|
|
1027
|
+
outline-offset: 2px;
|
|
1028
|
+
margin-top: -12px;
|
|
1029
|
+
}
|
|
1030
|
+
@media screen and (max-width: 992px) and (min-height: 601px) {
|
|
1031
|
+
.quick-links > .dda-home-carousel-item {
|
|
1032
|
+
flex: 0 0 min(75%, 300px);
|
|
1033
|
+
}
|
|
1034
|
+
.quick-links .link-item img {
|
|
1035
|
+
height: 24px;
|
|
1036
|
+
margin-bottom: 8px;
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
@media only screen and (orientation: landscape) and (max-width: 1600px) {
|
|
1040
|
+
.quick-links .link-item img {
|
|
1041
|
+
height: 20px;
|
|
1042
|
+
margin-bottom: 5px;
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
877
1046
|
.dda-card {
|
|
878
1047
|
position: relative;
|
|
879
1048
|
display: -ms-flexbox;
|
|
@@ -2136,6 +2305,10 @@ body {
|
|
|
2136
2305
|
.foot-icon-btn a img {
|
|
2137
2306
|
height: 32px;
|
|
2138
2307
|
}
|
|
2308
|
+
|
|
2309
|
+
.foot-icon-btn a i {
|
|
2310
|
+
font-size: 32px;
|
|
2311
|
+
}
|
|
2139
2312
|
.dda-footer-item ul li.foot-menu{
|
|
2140
2313
|
padding: 0 5px;
|
|
2141
2314
|
}
|
|
@@ -2212,6 +2385,10 @@ body {
|
|
|
2212
2385
|
.foot-icon-btn a img {
|
|
2213
2386
|
height: 24px;
|
|
2214
2387
|
}
|
|
2388
|
+
|
|
2389
|
+
.foot-icon-btn a i {
|
|
2390
|
+
font-size: 24px;
|
|
2391
|
+
}
|
|
2215
2392
|
}
|
|
2216
2393
|
|
|
2217
2394
|
@media (max-width: 1200px) {}
|
|
@@ -2222,6 +2399,77 @@ body {
|
|
|
2222
2399
|
}
|
|
2223
2400
|
}
|
|
2224
2401
|
|
|
2402
|
+
/* dubai.ae: a wordmark on desktop, a small icon at 992px and below. */
|
|
2403
|
+
.dda-footer .dubaiae-text-icon {
|
|
2404
|
+
height: 18px;
|
|
2405
|
+
}
|
|
2406
|
+
.dda-footer .dubaiae-small-icon {
|
|
2407
|
+
height: 24px;
|
|
2408
|
+
display: none;
|
|
2409
|
+
}
|
|
2410
|
+
/* The "more" button exists only with more-icon; it is shown at 992px and below. */
|
|
2411
|
+
.dda-footer-right {
|
|
2412
|
+
position: relative;
|
|
2413
|
+
}
|
|
2414
|
+
.dda-footer-right button.show-right-icon {
|
|
2415
|
+
display: none;
|
|
2416
|
+
}
|
|
2417
|
+
@media (max-width: 992px) {
|
|
2418
|
+
.dda-footer .dubaiae-text-icon {
|
|
2419
|
+
display: none;
|
|
2420
|
+
}
|
|
2421
|
+
.dda-footer .dubaiae-small-icon {
|
|
2422
|
+
display: block;
|
|
2423
|
+
}
|
|
2424
|
+
.dda-footer-right button.show-right-icon {
|
|
2425
|
+
display: flex;
|
|
2426
|
+
align-items: center;
|
|
2427
|
+
justify-content: center;
|
|
2428
|
+
width: 48px;
|
|
2429
|
+
height: 48px;
|
|
2430
|
+
background: #ffffff;
|
|
2431
|
+
border: 0;
|
|
2432
|
+
border-radius: 50px;
|
|
2433
|
+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
|
|
2434
|
+
color: var(--dda-on-surface-variant-30);
|
|
2435
|
+
cursor: pointer;
|
|
2436
|
+
}
|
|
2437
|
+
.dda-footer-right button.show-right-icon i {
|
|
2438
|
+
font-size: 34px;
|
|
2439
|
+
}
|
|
2440
|
+
.dda-footer-right button.show-right-icon:focus-visible {
|
|
2441
|
+
outline: none;
|
|
2442
|
+
box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(0, 0, 0, 0.65);
|
|
2443
|
+
}
|
|
2444
|
+
.dda-footer.has-more-button .dda-footer-right .foot-right_links {
|
|
2445
|
+
position: absolute;
|
|
2446
|
+
bottom: 59px;
|
|
2447
|
+
inset-inline-end: 0;
|
|
2448
|
+
display: flex;
|
|
2449
|
+
flex-direction: column;
|
|
2450
|
+
gap: 10px;
|
|
2451
|
+
height: 0;
|
|
2452
|
+
overflow: hidden;
|
|
2453
|
+
}
|
|
2454
|
+
.dda-footer.has-more-button .dda-footer-right .foot-right_links.show-dda-icon {
|
|
2455
|
+
height: auto;
|
|
2456
|
+
overflow: visible;
|
|
2457
|
+
}
|
|
2458
|
+
.dda-footer.has-more-button .foot-right_links li {
|
|
2459
|
+
opacity: 0;
|
|
2460
|
+
transform: translateY(20px);
|
|
2461
|
+
}
|
|
2462
|
+
.dda-footer.has-more-button .foot-right_links.show-dda-icon li {
|
|
2463
|
+
opacity: 1;
|
|
2464
|
+
transform: translateY(0);
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
@media (max-width: 992px) and (prefers-reduced-motion: no-preference) {
|
|
2468
|
+
.dda-footer.has-more-button .foot-right_links li {
|
|
2469
|
+
transition: opacity 0.4s ease, transform 0.4s ease;
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2225
2473
|
.dda-dashboard-sidebar {
|
|
2226
2474
|
position: fixed;
|
|
2227
2475
|
top: 0;
|
|
@@ -3562,6 +3810,104 @@ ul.main_side_menu .main_sub_menu .main_sub_menu .main_sub_menu {
|
|
|
3562
3810
|
}
|
|
3563
3811
|
}
|
|
3564
3812
|
|
|
3813
|
+
/* 3.x dropdown submenus (quick-links items with "type": "dda_default_submenu"). */
|
|
3814
|
+
.dda-mega-menu > li {
|
|
3815
|
+
position: relative;
|
|
3816
|
+
}
|
|
3817
|
+
/* The <ul> scrolls; the third-level panel is its sibling, so the scroll does not clip it.
|
|
3818
|
+
The fixed width puts the panel (inset-inline-start: 100%) against the edge of the <ul>. */
|
|
3819
|
+
.dda-default-submenu {
|
|
3820
|
+
display: none;
|
|
3821
|
+
width: 350px;
|
|
3822
|
+
position: absolute;
|
|
3823
|
+
top: 100%;
|
|
3824
|
+
inset-inline-start: 0;
|
|
3825
|
+
padding-top: 5px;
|
|
3826
|
+
z-index: 5;
|
|
3827
|
+
}
|
|
3828
|
+
.dda-default-submenu.is-visible {
|
|
3829
|
+
display: block;
|
|
3830
|
+
}
|
|
3831
|
+
.dda-default-submenu > ul {
|
|
3832
|
+
width: 100%;
|
|
3833
|
+
max-width: 350px;
|
|
3834
|
+
max-height: 325px;
|
|
3835
|
+
overflow-y: auto;
|
|
3836
|
+
margin: 0;
|
|
3837
|
+
padding: 10px;
|
|
3838
|
+
list-style: none;
|
|
3839
|
+
background-color: var(--dda-surface-100);
|
|
3840
|
+
border-radius: 5px;
|
|
3841
|
+
box-shadow: 0 6px 7px 0 rgba(0, 0, 0, 0.13);
|
|
3842
|
+
}
|
|
3843
|
+
.dda-default-submenu li {
|
|
3844
|
+
list-style: none;
|
|
3845
|
+
position: relative;
|
|
3846
|
+
margin-bottom: 1px;
|
|
3847
|
+
}
|
|
3848
|
+
.dda-default-submenu a {
|
|
3849
|
+
position: relative;
|
|
3850
|
+
display: block;
|
|
3851
|
+
padding: 10px 7px;
|
|
3852
|
+
padding-inline-end: 24px;
|
|
3853
|
+
border-radius: 8px;
|
|
3854
|
+
font-size: var(--dda-fs-body-lg);
|
|
3855
|
+
font-weight: var(--dda-fw-400);
|
|
3856
|
+
color: var(--dda-on-surface-0);
|
|
3857
|
+
}
|
|
3858
|
+
.dda-default-submenu li:hover > a,
|
|
3859
|
+
.dda-default-submenu a.active {
|
|
3860
|
+
background-color: var(--dda-on-primary-98);
|
|
3861
|
+
color: var(--dda-on-primary-variant-40);
|
|
3862
|
+
}
|
|
3863
|
+
.dda-default-submenu a:focus-visible {
|
|
3864
|
+
outline: 2px solid var(--dda-color-primary-40);
|
|
3865
|
+
outline-offset: 0;
|
|
3866
|
+
}
|
|
3867
|
+
.dda-default-submenu a.has-submenu::after {
|
|
3868
|
+
content: '';
|
|
3869
|
+
width: 6px;
|
|
3870
|
+
height: 6px;
|
|
3871
|
+
border-right: solid 1px var(--dda-color-primary-40);
|
|
3872
|
+
border-bottom: solid 1px var(--dda-color-primary-40);
|
|
3873
|
+
position: absolute;
|
|
3874
|
+
top: 50%;
|
|
3875
|
+
inset-inline-end: 9px;
|
|
3876
|
+
margin-top: -4.5px;
|
|
3877
|
+
transform: rotate(-45deg);
|
|
3878
|
+
}
|
|
3879
|
+
[dir='rtl'] .dda-default-submenu a.has-submenu::after {
|
|
3880
|
+
transform: rotate(135deg);
|
|
3881
|
+
}
|
|
3882
|
+
.dda-default-subsubmenu {
|
|
3883
|
+
display: none;
|
|
3884
|
+
width: 300px;
|
|
3885
|
+
position: absolute;
|
|
3886
|
+
top: 0;
|
|
3887
|
+
inset-inline-start: 100%;
|
|
3888
|
+
padding-inline-start: 15px;
|
|
3889
|
+
}
|
|
3890
|
+
.dda-default-subsubmenu.is-visible {
|
|
3891
|
+
display: block;
|
|
3892
|
+
}
|
|
3893
|
+
.dda-default-subsubmenu-content {
|
|
3894
|
+
padding: 10px;
|
|
3895
|
+
background-color: var(--dda-surface-100);
|
|
3896
|
+
border-radius: 5px;
|
|
3897
|
+
box-shadow: 0 6px 7px 0 rgba(0, 0, 0, 0.13);
|
|
3898
|
+
}
|
|
3899
|
+
.dda-default-subsubmenu-content ul {
|
|
3900
|
+
margin: 0;
|
|
3901
|
+
padding: 0;
|
|
3902
|
+
}
|
|
3903
|
+
.dda-submenu-title {
|
|
3904
|
+
display: block;
|
|
3905
|
+
padding: 5px 8px 10px;
|
|
3906
|
+
margin-bottom: 5px;
|
|
3907
|
+
border-bottom: solid 1px var(--dda-surface-variant-80);
|
|
3908
|
+
font-weight: var(--dda-fw-700);
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3565
3911
|
|
|
3566
3912
|
:root{
|
|
3567
3913
|
--font-family-main: 'Dubai', sans-serif;
|
|
@@ -13,7 +13,7 @@ export class DdaRadiobutton {
|
|
|
13
13
|
this.radio_status ? `dda-radio-${this.radio_status}` : '',
|
|
14
14
|
this.component_mode,
|
|
15
15
|
].filter(Boolean).join(' ');
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'c324fbb5277d318a4f6550f18950ed02cbd0b781' }, h("div", { key: 'dd31d4f163976c7341aceeea2b6fa2a3b2f09ad4', class: radiobuttonClass }, h("input", { key: '920ff8e75067733041c6868bb90556a801a1040c', "aria-label": this.aria_label, type: "radio", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: '7fe73646f3a9f87aa17fba687dd90b06be9277fc', htmlFor: this.input_id }, h("span", { key: 'f8113a4da08152bd0a61ca72e20dfc520d4c561d', class: "radio-circle" }), h("p", { key: 'e08ad9c71518a60081c8ea1ab688e497cb6c7b1f' }, h("span", { key: 'e38e4b2fc129edf82b4a603acf753c9c3afbbb1b', class: "radio-title" }, this.title_text), this.supporting && h("span", { key: '0c5f35d22f5db9af755f8056e0f14e6a0e694ceb', class: "radio-supporting" }, this.supporting))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "dda-radiobutton"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -40,10 +40,10 @@ export class DdaRangeSlider {
|
|
|
40
40
|
render() {
|
|
41
41
|
const leftId = this.left_input_id || `${this.fallbackId}-min`;
|
|
42
42
|
const rightId = this.right_input_id || `${this.fallbackId}-max`;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '1af601923e27b7c62ef97b8a5199f71003f46a46' }, h("div", { key: '69d46d14321399d2d5e39969a211953c6a87a9a1', class: `dda-range-slider-container dda-tooltip-${this.tooltip_position} ${this.custom_class} ${this.component_mode}` }, h("div", { key: 'fbfecb4cc371d29c862f9408f8af579f05149561', class: "dda-range-slider" }, h("div", { key: '7bc922c71312956eb782250e3e9425d0494996b4', class: "dda-range-slider-track", style: {
|
|
44
44
|
left: `${this.getPercentage(this.min_value)}%`,
|
|
45
45
|
right: `${100 - this.getPercentage(this.max_value)}%`,
|
|
46
|
-
} }, h("span", { key: '
|
|
46
|
+
} }, h("span", { key: 'ec67480ab23cca5d2e905ee6b04c7cea3c2fcb17', class: "min-label" }, this.min_value, "%"), h("span", { key: '77d4387ab709f62f4b97fc1d6c49f0821a10145e', class: "max-label" }, this.max_value, "%")), h("span", { key: '2c455e418dfc1d4716364424fad33565ae65a503' }, h("input", { key: 'c87f18613d6b4e92c100587a340e96a7ea66474e', id: leftId, name: this.left_input_name, "aria-label": this.left_aria_label || 'Minimum', type: "range", min: this.min, max: this.max, step: this.step, value: this.min_value, onInput: (event) => this.handleMinChange(event), class: "dda-range-slider-input", style: { zIndex: `${this.min_value > this.max - this.min_value ? 5 : 3}` } })), h("span", { key: '1b59740d95af2396e7183d250edff76ab8641156' }, h("input", { key: 'c88c8f1358767b3a00b5144c4e689f6e553ebbd7', id: rightId, name: this.right_input_name, "aria-label": this.right_aria_label || 'Maximum', type: "range", min: this.min, max: this.max, step: this.step, value: this.max_value, onInput: (event) => this.handleMaxChange(event), class: "dda-range-slider-input", style: { zIndex: `${this.max_value < this.max - this.min_value ? 5 : 3}` } }))))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "dda-range-slider"; }
|
|
49
49
|
static get originalStyleUrls() {
|
|
@@ -46,7 +46,7 @@ export class DdaSearchInput {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
const id = this.inputId;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'a04933a4ee9971b6ec7c072f53a6f1b4f065f2fe' }, h("div", { key: '5fe0c2752a3264b9d5c746a6f896b5e035db8a11', class: `dda-input-container dda-input-size-${this.size} ${this.component_mode} ${this.custom_class} ${this.input_status ? `dda-input-${this.input_status}` : ''} ${this.has_error ? 'dda-validation-error' : ''}` }, this.label && h("label", { key: 'a9e72000f00dcaaaaf868294a056b8b27d677994', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: '304af511df79764b150ab91f50cfb161d47e9400', class: "dda-search-area dda-search-action" }, h("i", { key: 'bc6f44b62a7689f5885c6b6a7ccabfb93674b892', class: "material-icons icon-left", "aria-hidden": "true" }, "search"), h("input", { key: '972a383d29613793a37dfaa8aa47b34901db90ab', name: this.search_input_name, "aria-label": this.aria_label, id: id, type: "text", class: "dda-input-field dda-search-field", placeholder: this.placeholder, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined }), h("div", { key: '398e33adf066c9b80f8500628677ef3bd360c380', class: "dda-search-btngroup" }, h("button", { key: 'f46d5b85fc84154af0c30dfadb8e963bf08f01ee', name: this.close_button_name, "aria-label": this.button_aria_label || this.clear_button_label, id: this.button_id, type: "button", class: "icon-close", onClick: () => this.clearInput() }, h("i", { key: '333cc8bc389f34bd707a89a077e04ba43806128e', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")), this.show_button && (h("button", { key: '75e608f7b78350d120442fa35cf6fa17e041806c', name: this.search_button_name, type: "button", class: "dda-btn btn-color-default-primary dda-btn-sm" }, "Search")))), this.helper_text && h("span", { key: '58be16a63bd590a3cced76e83b3656d465c5eb1f', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '39f6f55a3cda6eba1e919744094670d10dff78b6', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "dda-search-input"; }
|
|
52
52
|
static get originalStyleUrls() {
|
|
@@ -167,7 +167,7 @@ export class Ddaselect {
|
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
169
|
const id = this.triggerId;
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '1c91c9a3fe3d57849fbf1f2e54494412fbe39e15' }, h("div", { key: '87f88aa9629cfd9ee7cbe2b6b12ff21f1ad463b8', class: `dda-input-container ${this.custom_class} ${this.component_mode} ${this.disabled ? 'dda-input-disabled' : ''} ${this.is_open ? 'show' : 'hide'} dda-input-size-${this.size} dda-validation-${this.error} ` }, this.label && h("label", { key: '31d3c458112c6a44f7e9d5c488e6c6959521faa9', id: this.labelId, class: "dda-input-label" }, this.label), h("div", { key: 'cdf70b1a3ebfef09df49f3b399d2cdc960ea9fd3', class: "dda-dropdown-container" }, h("button", { key: '3223419582be3819dff4b0613999eb37a9e10cb9', name: this.toggle_button_name, "aria-label": this.aria_label, "aria-labelledby": this.label && !this.aria_label ? `${this.labelId} ${id}` : undefined, id: id, type: "button", class: "dda-input-field dda-select-header", "aria-haspopup": "listbox", "aria-expanded": this.is_open ? 'true' : 'false', "aria-controls": this.is_open ? this.listboxId : undefined, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined, onClick: () => { this.toggleSelect(); }, onKeyDown: this.onTriggerKeyDown }, this.selected || 'Select an option', h("i", { key: '9a14de25046bf78a44b5afa3575ace2b0031f8c6', class: `material-icons`, "aria-hidden": "true" }, this.is_open ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), this.is_open && (h("div", { key: '48b9417d23766f0c8654df0f8653c7c28f6f5464', id: this.listboxId, role: "listbox", "aria-label": this.aria_label || this.label, class: "dda-input-dropdown-list dda-select-list" }, this.parsedOptions.length > 0 ? (this.parsedOptions.map((option, index) => (h("button", { name: this.option_select_button_name, type: "button", role: "option", "aria-selected": this.selected === option ? 'true' : 'false', tabIndex: index === this.initialOptionIndex() ? 0 : -1, class: `dda-input-dropdown-item ${this.selected === option ? 'selected' : ''}`, onClick: () => this.selectOption(option), onKeyDown: (event) => this.onOptionKeyDown(event, option) }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available"))))), this.helper_text && h("span", { key: '391eefc548be3ee063cea84368917191a61b70f2', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: 'b9e5a701944138256c439a99375b3739a12a8b7d', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
171
171
|
}
|
|
172
172
|
static get is() { return "dda-select"; }
|
|
173
173
|
static get originalStyleUrls() {
|