@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
|
@@ -33,7 +33,7 @@ export class DdaButton {
|
|
|
33
33
|
this.custom_class, // Include custom class
|
|
34
34
|
this.component_mode,
|
|
35
35
|
].filter(Boolean).join(' ');
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '6befdc816e79736a528c8a914028318cdb30e788' }, h("button", { key: '118d6195889a714cbd047ef881be38fbeb50e536', id: this.button_id, type: this.type, class: buttonClass, disabled: this.disabled, "aria-label": this.aria_label, onClick: this.clickHandler, name: this.button_name }, this.start_icon && h("i", { key: '304f1a350a6a12a3a0f1efa905a0971c95aa21cf', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.start_icon), h("slot", { key: 'af0df9d440f2becf635c83323dcd6328694cd974' }), this.end_icon && h("i", { key: '977d5f6170557d7b222b24b73e199a25edaaea96', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.end_icon))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "dda-button"; }
|
|
39
39
|
static get originalStyleUrls() {
|
|
@@ -13,7 +13,7 @@ export class DdaCheckbox {
|
|
|
13
13
|
this.checkbox_status ? `dda-checkbox-${this.checkbox_status}` : '',
|
|
14
14
|
this.component_mode,
|
|
15
15
|
].filter(Boolean).join(' ');
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '49b4eabefb902f8597ef2aa703ba3a02934f4dd4' }, h("div", { key: 'e300b65149fbac866e66517ba9bb3b4aa6bb7760', class: checkboxClass }, h("input", { key: '8a2509f3667dfb3c9d10211d58e652d013c6a44a', "aria-label": this.aria_label, type: "checkbox", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: 'c2c6ad79a7eb3163b595e3ae5915a6e9cb02b2aa', htmlFor: this.input_id }, h("i", { key: '5f62ad8f5e8a65cedeaf72dbf3ac437649c3d990', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "check"), h("p", { key: '29cb02114c3e93bb9e76e669e51fbce0d983531b' }, h("span", { key: '8e545054e92234dcc284272fa4ec140670873e77', class: "dda-checkbox-title" }, this.title_text), this.supporting && h("span", { key: '9fc0b7953cf645d8c15ddd39c6f5d6955dee7cbe', class: "dda-checkbox-supporting" }, this.supporting))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "dda-checkbox"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -11,7 +11,7 @@ export class DdaChip {
|
|
|
11
11
|
this.close_button_label = 'Remove';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '621b49bd9e56a4627731cf1d5c88190cc971c1f4' }, h("div", { key: 'a2ed107b4ba359455a0d3b72ea78c41a55441716', class: `dda-chip dda-chip-${this.bg_color} dda-chip-${this.size} dda-rounded-${this.rounded} ${this.custom_class} ${this.component_mode}` }, this.icon ? h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.icon) : null, h("span", { key: '35bc7dcba833012b4f9c3a2531158ae8e46ca268' }, h("slot", { key: '6ac416027f104c0fea3c8fd034c610eb95318804' })), this.show_close_icon && (h("button", { key: '6712b22ed98b5fa41bed2eab2c4ad7405d72dde7', type: "button", class: "chip-close", onClick: this.clickHandler, "aria-label": this.close_button_label }, h("i", { key: '99df96fae65bb289ec6da64600f22f7fb1fd6fac', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "dda-chip"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -12,7 +12,7 @@ export class DdaCreditCard {
|
|
|
12
12
|
this.custom_class ? `${this.custom_class}` : "",
|
|
13
13
|
this.component_mode,
|
|
14
14
|
].filter(Boolean).join(' ');
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '30b2d354c27ffb048767b68545150ef14e89907c' }, h("div", { key: '30ae16e980e8d77fdc22d9c5829ea8d2f93e786d', class: cardClass }, h("div", { key: '7ad10883eb0023fc8c46b92500b7f34e7b178a37', class: "dda-credit-card-header" }, h("div", { key: 'd62dbbb654c6138ff9b617e3cac8310c9c8f229a', class: "card-balance-info" }, h("span", { key: '17ed84a82ee953b6e48d189a5a8ecc186606f36d', class: "card-balance-label" }, "Current Balance"), h("span", { key: '3a77207bf875fb754490d0afd0b9d15d5c192ec8', class: "card-balance" }, this.balance)), h("i", { key: 'bbf30c7b2b858c12ba802e2b5bdb887b6f908b1a', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "wifi")), h("div", { key: 'a4ab69ed298805ed86f4832ef9ea43b4cc825fbd', class: "dda-credit-card-body" }, h("div", { key: '646906a60fc532119e2ebf0a44cbbb66885e42cf', class: "card-userinfo" }, h("span", { key: 'c9145b691e890905717aeb6421d4949854197ff4', class: "dda-card-name" }, this.name), h("span", { key: '1ee5f7eae884bfab5260c35257a69e26e74faad2', class: "dda-card-number" }, "**** ", String((_a = this.card_number) !== null && _a !== void 0 ? _a : '').slice(-4))), h("div", { key: 'fe66fd1a3c26560e3d83d28ea45abf47c11d6b17' }, this.card_type && h("img", { key: 'e6c3c1090f0777eed2895f0167a2158c4cc78c4e', src: this.card_type, alt: "Card Type", class: "card-type-icon" }))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "dda-credit-card"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -79,7 +79,7 @@ export class DdaCreditCardField {
|
|
|
79
79
|
this.component_mode,
|
|
80
80
|
].filter(Boolean).join(' ');
|
|
81
81
|
const id = this.inputId;
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'f73ba5a5df2944a3a69da88519e98ebcce9b52fa' }, h("div", { key: '8c8205bd69d233572d4738af675ba4d6ffd2ce5f', class: inputClass }, this.label && h("label", { key: '5d2ea6fab0ba61ee161545949c560287d5ec9daf', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: '05ae35f56cf9e0dedac4072084117c79a0728185', class: "dda-input-field-wrapper" }, this.card_icon && h("img", { key: 'c53e2fca7220701a0b7e409b6c73fb6cbe343539', src: this.card_icon, alt: "Card Icon", class: "dda-creditcard-icon" }), h("input", { key: '27ca8a4e796bd017f604f793b708194b7f0d9cf5', "aria-label": this.aria_label, id: id, name: this.input_name, type: "text", inputmode: "numeric", autocomplete: this.autocomplete, placeholder: this.placeholder, value: this.formattedValue, onInput: (event) => this.handleInput(event), class: "dda-input-field", disabled: this.disabled, maxlength: this.restrict_input ? 100 : 25, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined })), this.helper_text && h("span", { key: '339dc71c04a70fecbee928ae1fa771e661626849', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '0cab267e7a14397ff3204744bd24b182e43d2e13', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "dda-creditcard-field"; }
|
|
85
85
|
static get originalStyleUrls() {
|
|
@@ -60,7 +60,7 @@ export class DdaDropdown {
|
|
|
60
60
|
this.custom_class ? `${this.custom_class}` : '',
|
|
61
61
|
this.component_mode,
|
|
62
62
|
].filter(Boolean).join(' ');
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '317428a0b2457e3a3fe7b78f66c0142a0f452d38' }, h("div", { key: '50f753d1e8a020125b494cc868273f4addf3c263', class: containerClass }, this.label && h("label", { key: 'da94535864e3f1e676c282e5b0ec03a7add8efa9', id: labelId, class: "dda-input-label" }, this.label), h("div", { key: 'f0e74d618c1927a253693698cda582f112dbdfce', class: `dda-dropdown-container ${this.type}` }, h("button", { key: '52dcc37143d91d172459de9a09fc52adbf303f99', ref: el => (this.buttonEl = el), id: id, name: this.arrow_button_name, "aria-label": this.aria_label || (this.icon_mode && !this.label ? this.toggle_button_label : undefined), "aria-labelledby": this.label && !this.aria_label ? `${labelId} ${id}` : undefined, "aria-expanded": this.isopen ? 'true' : 'false', type: "button", class: "dda-input-field dda-dropdown-header", onClick: () => this.toggleDropdown() }, h("i", { key: '7fc59df027ab9d897ed38eb6406603f7b3990739', class: `three-dots material-icons`, "aria-hidden": "true" }, this.isopen ? 'more_vert' : 'more_vert'), !this.icon_mode && h("span", { key: 'b2a8a728c7f5d5c0d3bf4887312e1ce1b10d9408', class: "dda-dropdown-text" }, h("span", { key: '835556ebb78fa343e088bf16191d786c71d44b44' }, this.selected || 'Select an option'), " ", h("i", { key: 'bb0b6a42ddd3077d12cb3fe545169cd4155aaa5f', class: `material-icons`, "aria-hidden": "true" }, this.isopen ? 'keyboard_arrow_up' : 'keyboard_arrow_down'))), this.isopen && (h("div", { key: 'b0c010548a4488ae24c4a24485bc5b0849c5c775', class: "dda-input-dropdown-list" }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h("button", { type: "button", name: this.dropdown_button_name, class: `dda-input-dropdown-item ${this.selected === option ? 'selected' : ''}`, onClick: () => { this.selectOption(option); } }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available"))))), this.helper_text && h("span", { key: 'b94eb22395f2d4d31d1b16fccd5879dfe55df4b5', class: "dda-helper-text" }, this.helper_text), this.error && h("span", { key: '84406e6f63618784a31a6c9e4d9c1b78eba710d0', class: "dda-error-message" }, this.error))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "dda-dropdown"; }
|
|
66
66
|
static get originalStyleUrls() {
|
|
@@ -20,7 +20,7 @@ export class DdaFooter {
|
|
|
20
20
|
const requestedLevel = Math.round(Number(this.heading_level));
|
|
21
21
|
const level = Number.isNaN(requestedLevel) ? 4 : Math.min(6, Math.max(1, requestedLevel));
|
|
22
22
|
const TitleTag = `h${level}`;
|
|
23
|
-
return (h("footer", { key: '
|
|
23
|
+
return (h("footer", { key: 'f005938d6cd00f889182331ef14c6d9ba4f0d0a5', class: "WB-footer" }, h("div", { key: 'da98f6e6442a9a1d8aae849a1a55eb836c63f71c', class: "dda-container line-seperater" }, h("div", { key: 'd3447ec6c8ed1beba16e078a5a9a1b74b490e32b', class: "dda-flex dda-align-center flex-column dda-gap-5" }, h(TitleTag, { key: 'caf3a306f5ae2117b37ae222276baadbf247a2c2', class: "dda-fs-display-sm dda-fw-700 dda-color-black" }, this.footerTitle), h("p", { key: 'de06d678244cf28af63313ef290a7a704d8f053b', class: "dda-fs-title-sm dda-fw-400 mb-3" }, this.description), h("div", { key: 'b264b2da8978aba5d2b36b4dee515d78a2754f60', class: "dda-flex dda-gap-5" }, h("dda-button", { key: '72cebd0ec2437bdf10c10730e90006a781d400e3', button_color: "default-primary", size: "lg" }, this.signUpButtonText), h("dda-button", { key: '8dad3345aa9873e38c0204447f3efb52633f702f', button_color: "default-tertiary", size: "lg" }, this.loginButtonText)))), h("div", { key: '36166b48c129ea1279e0631ebda38f616ee67d8b', class: "dda-container line-seperater" }, h("div", { key: 'c8e710c6a0a452e73f373c112ff80c1e3785bccd', class: "dda-row" }, h("div", { key: 'e9afa1b5bc17609888a19378b2bf855668c6a9e2', class: "dda-col-lg-4 mb-3" }, h("div", { key: '62068dcf2903f49e07ed23134f9ffc9525563689', class: "text-center" }, h("img", { key: '59a61465e0a2be3b7e61c5e47367b1264763157d', class: "entt-logo", src: this.logoSrc, alt: this.logoAlt }), this.logoDescription && h("p", { key: '38d8579830e00cc435bfc3629ae57b46ce80daf6', class: "dda-fs-title-sm" }, this.logoDescription))), h("div", { key: 'bfa182e001f7d49b50c34a7883bb6736a3fdd990', class: "dda-col-lg-8" }, h("div", { key: '3cf9158a674d75d69830c9e146f11ee40c9d38df', class: "dda-row" }, sections.map((section) => (h("div", { class: "dda-col-6 dda-col-sm-6 dda-col-md-3 mb-3" }, h("p", { class: "dda-fs-title-sm dda-fw-700 dda-color-black mb-3" }, section.title), h("ul", { class: "footer-menu" }, section.links.map((link) => (h("li", null, h("a", { class: "dda-fs-title-sm dda-fw-400", href: link.href }, link.label)))))))))))), h("div", { key: '808f2b1974985f2be33fc0cd6f47bddb64d545fd', class: "dda-container pt-4" }, h("div", { key: 'ee24d5898bc373cb94bfc950bfac7c565b27c590', class: "dda-flex dda-align-center dda-justify-space" }, h("p", { key: '49c490acbe449b27e361bf89855b06d5a4b69b3f', class: "dda-fs-title-sm" }, this.copyrightText), h("ul", { key: 'f4515714b6cd67e7b56c32644ff066aaa586fd07', class: "dda-flex dda-align-center dda-gap-4" }, icons.map((icon) => (h("li", null, h("a", { href: icon.href }, h("img", { class: "footer-social-icn", src: icon.src, alt: icon.alt }))))))))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "dda-footer"; }
|
|
26
26
|
static get originalStyleUrls() {
|