@dubai-design-system/components-js 5.2.0 → 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.
Files changed (274) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/MIGRATION.md +138 -18
  3. package/dist/cjs/dda-accordion.cjs.entry.js +3 -3
  4. package/dist/cjs/dda-alert.cjs.entry.js +5 -5
  5. package/dist/cjs/dda-attach-file.cjs.entry.js +3 -3
  6. package/dist/cjs/dda-avatar.cjs.entry.js +8 -8
  7. package/dist/{dda/dda-tooltip.entry.js → cjs/dda-banner-card.cjs.entry.js} +16 -36
  8. package/dist/cjs/dda-banner.cjs.entry.js +3 -3
  9. package/dist/cjs/dda-breadcrumb.cjs.entry.js +2 -2
  10. package/dist/cjs/dda-button.cjs.entry.js +3 -3
  11. package/dist/cjs/dda-checkbox.cjs.entry.js +3 -3
  12. package/dist/cjs/dda-chip.cjs.entry.js +3 -3
  13. package/dist/cjs/dda-credit-card.cjs.entry.js +3 -3
  14. package/dist/cjs/dda-creditcard-field.cjs.entry.js +4 -4
  15. package/dist/cjs/dda-dropdown.cjs.entry.js +4 -4
  16. package/dist/cjs/dda-footer.cjs.entry.js +3 -3
  17. package/dist/cjs/dda-header.cjs.entry.js +208 -23
  18. package/dist/cjs/dda-home-banner.cjs.entry.js +4 -4
  19. package/dist/{dda/dda-tabs.entry.js → cjs/dda-home-carousel.cjs.entry.js} +18 -49
  20. package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +3 -3
  21. package/dist/cjs/dda-input.cjs.entry.js +3 -3
  22. package/dist/cjs/dda-link-button_2.cjs.entry.js +6 -6
  23. package/dist/cjs/dda-number-field.cjs.entry.js +3 -3
  24. package/dist/cjs/dda-pagination.cjs.entry.js +4 -4
  25. package/dist/cjs/dda-phonefield.cjs.entry.js +3 -3
  26. package/dist/cjs/dda-progressbar.cjs.entry.js +3 -3
  27. package/dist/cjs/dda-range-slider.cjs.entry.js +3 -3
  28. package/dist/cjs/dda-search-input.cjs.entry.js +3 -3
  29. package/dist/cjs/dda-segmented-tabs.cjs.entry.js +5 -5
  30. package/dist/cjs/dda-select.cjs.entry.js +4 -6
  31. package/dist/cjs/dda-sticky-footer.cjs.entry.js +41 -4
  32. package/dist/cjs/dda-tabs.cjs.entry.js +4 -4
  33. package/dist/cjs/dda-textarea.cjs.entry.js +1351 -16189
  34. package/dist/cjs/dda-toggle.cjs.entry.js +3 -3
  35. package/dist/cjs/dda-tooltip.cjs.entry.js +3 -3
  36. package/dist/cjs/dda-ui-card.cjs.entry.js +3 -3
  37. package/dist/cjs/dda-vertical-stepper.cjs.entry.js +2 -2
  38. package/dist/cjs/dda.cjs.js +3 -30
  39. package/dist/cjs/{index-Na_7EWDR.js → index-DD8fdSxb.js} +1 -1
  40. package/dist/cjs/index.cjs.js +0 -10
  41. package/dist/cjs/loader.cjs.js +2 -2
  42. package/dist/cjs/parse-json-prop-B0KWD8qe.js +38 -0
  43. package/dist/collection/collection-manifest.json +5 -3
  44. package/dist/collection/components/dda-accordion/dda-accordion.js +1 -1
  45. package/dist/collection/components/dda-alert/dda-alert.js +1 -1
  46. package/dist/collection/components/dda-attach-file/dda-attach-file.js +1 -1
  47. package/dist/collection/components/dda-avatar/dda-avatar.js +5 -5
  48. package/dist/collection/components/dda-banner/dda-banner.js +1 -1
  49. package/dist/collection/components/dda-banner-card/dda-banner-card.js +243 -0
  50. package/dist/collection/components/dda-button/dda-button.js +1 -1
  51. package/dist/collection/components/dda-checkbox/dda-checkbox.js +1 -1
  52. package/dist/collection/components/dda-chip/dda-chip.js +1 -1
  53. package/dist/collection/components/dda-credit-card/dda-credit-card.js +1 -1
  54. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +1 -1
  55. package/dist/collection/components/dda-dropdown/dda-dropdown.js +1 -1
  56. package/dist/collection/components/dda-footer/dda-footer.js +1 -1
  57. package/dist/collection/components/dda-header/dda-header.js +838 -88
  58. package/dist/collection/components/dda-header/dda-header.stories.js +200 -35
  59. package/dist/collection/components/dda-header/nav-model.js +69 -0
  60. package/dist/collection/components/dda-home-banner/dda-home-banner.js +2 -2
  61. package/dist/collection/components/dda-home-carousel/dda-home-carousel.js +164 -0
  62. package/dist/collection/components/dda-home-carousel/dda-home-carousel.stories.js +24 -0
  63. package/dist/collection/components/dda-input/dda-input.js +1 -1
  64. package/dist/collection/components/dda-link-button/dda-link-button.js +2 -2
  65. package/dist/collection/components/dda-number-field/dda-number-field.js +1 -1
  66. package/dist/collection/components/dda-pagination/dda-pagination.js +1 -1
  67. package/dist/collection/components/dda-phonefield/dda-phonefield.js +1 -1
  68. package/dist/collection/components/dda-progressbar/dda-progressbar.js +1 -1
  69. package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +228 -6
  70. package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +1 -1
  71. package/dist/collection/components/dda-range-slider/dda-range-slider.js +2 -2
  72. package/dist/collection/components/dda-search-input/dda-search-input.js +1 -1
  73. package/dist/collection/components/dda-select/dda-select.js +1 -1
  74. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +496 -5
  75. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +12 -1
  76. package/dist/collection/components/dda-tabs/dda-tabs.js +1 -1
  77. package/dist/collection/components/dda-textarea/dda-textarea.js +2 -2
  78. package/dist/collection/components/dda-toggle/dda-toggle.js +1 -1
  79. package/dist/collection/components/dda-tooltip/dda-tooltip.js +1 -1
  80. package/dist/collection/components/dda-ui-card/dda-ui-card.js +1 -1
  81. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.css +29 -9
  82. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +1 -1
  83. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +1 -1
  84. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +1 -1
  85. package/dist/collection/global/global.css +228 -6
  86. package/dist/collection/utils/parse-json-prop.js +34 -0
  87. package/dist/components/dda-accordion.js +1 -59
  88. package/dist/components/dda-alert.js +1 -94
  89. package/dist/components/dda-attach-file.js +1 -138
  90. package/dist/components/dda-avatar.js +1 -107
  91. package/dist/components/dda-banner-card.d.ts +11 -0
  92. package/dist/components/dda-banner-card.js +1 -0
  93. package/dist/components/dda-banner.js +1 -57
  94. package/dist/components/dda-breadcrumb.js +1 -66
  95. package/dist/components/dda-button.js +1 -6
  96. package/dist/components/dda-checkbox.js +1 -59
  97. package/dist/components/dda-chip.js +1 -55
  98. package/dist/components/dda-credit-card.js +1 -54
  99. package/dist/components/dda-creditcard-field.js +1 -133
  100. package/dist/components/dda-dropdown.js +1 -113
  101. package/dist/components/dda-footer.js +1 -72
  102. package/dist/components/dda-header.js +1 -367
  103. package/dist/components/dda-home-banner.js +1 -249
  104. package/dist/components/dda-home-carousel.d.ts +11 -0
  105. package/dist/components/dda-home-carousel.js +1 -0
  106. package/dist/components/dda-horizontal-stepper.js +1 -69
  107. package/dist/components/dda-input.js +1 -92
  108. package/dist/components/dda-link-button.js +1 -6
  109. package/dist/components/dda-number-field.js +1 -127
  110. package/dist/components/dda-pagination.js +1 -133
  111. package/dist/components/dda-phonefield.js +1 -316
  112. package/dist/components/dda-progressbar.js +1 -58
  113. package/dist/components/dda-radiobutton.js +1 -6
  114. package/dist/components/dda-range-slider.js +1 -93
  115. package/dist/components/dda-search-input.js +1 -102
  116. package/dist/components/dda-segmented-tabs.js +1 -133
  117. package/dist/components/dda-select.js +1 -219
  118. package/dist/components/dda-sticky-footer.js +1 -132
  119. package/dist/components/dda-tabs.js +1 -91
  120. package/dist/components/dda-textarea.js +1 -31277
  121. package/dist/components/dda-toggle.js +1 -55
  122. package/dist/components/dda-tooltip.js +1 -6
  123. package/dist/components/dda-ui-card.js +1 -71
  124. package/dist/components/dda-vertical-stepper.js +1 -72
  125. package/dist/components/index.js +1 -34
  126. package/dist/components/{p-D7sJgBDk.js → p-BCtBptNq.js} +1 -1
  127. package/dist/components/p-BP6BxgDV.js +1 -0
  128. package/dist/components/p-BZzFtOHg.js +1 -0
  129. package/dist/components/p-CvcFE821.js +1 -0
  130. package/dist/components/{p-_-I_65FG.js → p-D3e_hki9.js} +1 -1
  131. package/dist/components/{p-C2Cs3ruo.js → p-DCwxgkNU.js} +1 -1
  132. package/dist/components/{p-C520q-ka.js → p-R9p4F9Pi.js} +1 -1
  133. package/dist/dda/dda.css +2 -6393
  134. package/dist/dda/dda.esm.js +1 -47
  135. package/dist/dda/index.esm.js +1 -29
  136. package/dist/dda/{p-ee6d56fc.entry.js → p-0480f0a9.entry.js} +1 -1
  137. package/dist/dda/{p-0a86a74c.entry.js → p-06188c4c.entry.js} +1 -1
  138. package/dist/dda/p-08e1892a.entry.js +1 -0
  139. package/dist/dda/{p-0574c9df.entry.js → p-10c5a752.entry.js} +1 -1
  140. package/dist/dda/{p-2630152f.entry.js → p-169ba650.entry.js} +1 -1
  141. package/dist/dda/{p-9c86dc30.entry.js → p-25058697.entry.js} +1 -1
  142. package/dist/dda/{p-e8ca224f.entry.js → p-32a7c588.entry.js} +1 -1
  143. package/dist/dda/{p-95e1a389.entry.js → p-333205aa.entry.js} +1 -1
  144. package/dist/dda/{p-3835f3b7.entry.js → p-46df4933.entry.js} +1 -1
  145. package/dist/dda/{p-eecfe091.entry.js → p-47322b02.entry.js} +1 -1
  146. package/dist/dda/{p-489a3711.entry.js → p-4e717a2e.entry.js} +1 -1
  147. package/dist/dda/{p-271c5f91.entry.js → p-5840fad9.entry.js} +1 -1
  148. package/dist/dda/p-5bb62ef7.entry.js +1 -0
  149. package/dist/dda/p-5e757702.entry.js +1 -0
  150. package/dist/dda/{p-32746429.entry.js → p-6430c363.entry.js} +1 -1
  151. package/dist/dda/{p-8de4f35e.entry.js → p-6d4f5672.entry.js} +1 -1
  152. package/dist/dda/{p-9416d8ec.entry.js → p-6db5588a.entry.js} +1 -1
  153. package/dist/dda/{p-16f94322.entry.js → p-76859bf8.entry.js} +1 -1
  154. package/dist/dda/p-7c1abbd2.entry.js +1 -0
  155. package/dist/dda/{p-eed4a104.entry.js → p-7ffce954.entry.js} +1 -1
  156. package/dist/dda/{p-58de747b.entry.js → p-8108c4ed.entry.js} +1 -1
  157. package/dist/dda/{p-95b87c55.entry.js → p-8852dafb.entry.js} +1 -1
  158. package/dist/dda/{p-98c59aa8.entry.js → p-8dbbc0ca.entry.js} +1 -1
  159. package/dist/dda/{p-3d57e957.entry.js → p-95100f73.entry.js} +1 -1
  160. package/dist/dda/{p-b6190656.entry.js → p-9a4e34d1.entry.js} +1 -1
  161. package/dist/dda/p-9b234635.entry.js +1 -0
  162. package/dist/dda/{p-d06c5daf.entry.js → p-9d9834ff.entry.js} +1 -1
  163. package/dist/dda/{p-1acc0fda.entry.js → p-9f01cb56.entry.js} +1 -1
  164. package/dist/dda/{p-c39d196d.entry.js → p-9ff8dc84.entry.js} +1 -1
  165. package/dist/dda/p-BnrqwGTj.js +2 -0
  166. package/dist/dda/p-CvcFE821.js +1 -0
  167. package/dist/dda/{p-e660a594.entry.js → p-a8a1ee5d.entry.js} +1 -1
  168. package/dist/dda/{p-d8fd3f73.entry.js → p-b37f40a9.entry.js} +1 -1
  169. package/dist/dda/p-eaffd32d.entry.js +1 -0
  170. package/dist/dda/{p-63754a93.entry.js → p-f2efc121.entry.js} +1 -1
  171. package/dist/dda/{p-96741f45.entry.js → p-faed59dd.entry.js} +1 -1
  172. package/dist/dda/p-fb00dec4.entry.js +1 -0
  173. package/dist/esm/dda-accordion.entry.js +3 -3
  174. package/dist/esm/dda-alert.entry.js +5 -5
  175. package/dist/esm/dda-attach-file.entry.js +3 -3
  176. package/dist/esm/dda-avatar.entry.js +8 -8
  177. package/dist/{dda/dda-credit-card.entry.js → esm/dda-banner-card.entry.js} +14 -16
  178. package/dist/esm/dda-banner.entry.js +3 -3
  179. package/dist/esm/dda-breadcrumb.entry.js +2 -2
  180. package/dist/esm/dda-button.entry.js +3 -3
  181. package/dist/esm/dda-checkbox.entry.js +3 -3
  182. package/dist/esm/dda-chip.entry.js +3 -3
  183. package/dist/esm/dda-credit-card.entry.js +3 -3
  184. package/dist/esm/dda-creditcard-field.entry.js +4 -4
  185. package/dist/esm/dda-dropdown.entry.js +4 -4
  186. package/dist/esm/dda-footer.entry.js +3 -3
  187. package/dist/esm/dda-header.entry.js +208 -23
  188. package/dist/esm/dda-home-banner.entry.js +4 -4
  189. package/dist/{dda/dda-breadcrumb.entry.js → esm/dda-home-carousel.entry.js} +16 -30
  190. package/dist/esm/dda-horizontal-stepper.entry.js +3 -3
  191. package/dist/esm/dda-input.entry.js +3 -3
  192. package/dist/esm/dda-link-button_2.entry.js +6 -6
  193. package/dist/esm/dda-number-field.entry.js +3 -3
  194. package/dist/esm/dda-pagination.entry.js +4 -4
  195. package/dist/esm/dda-phonefield.entry.js +3 -3
  196. package/dist/esm/dda-progressbar.entry.js +3 -3
  197. package/dist/esm/dda-range-slider.entry.js +3 -3
  198. package/dist/esm/dda-search-input.entry.js +3 -3
  199. package/dist/esm/dda-segmented-tabs.entry.js +5 -5
  200. package/dist/esm/dda-select.entry.js +4 -6
  201. package/dist/esm/dda-sticky-footer.entry.js +41 -4
  202. package/dist/esm/dda-tabs.entry.js +4 -4
  203. package/dist/esm/dda-textarea.entry.js +1351 -16189
  204. package/dist/esm/dda-toggle.entry.js +3 -3
  205. package/dist/esm/dda-tooltip.entry.js +3 -3
  206. package/dist/esm/dda-ui-card.entry.js +3 -3
  207. package/dist/esm/dda-vertical-stepper.entry.js +2 -2
  208. package/dist/esm/dda.js +4 -31
  209. package/dist/esm/{index-CI_UcUy5.js → index-BnrqwGTj.js} +1 -1
  210. package/dist/esm/index.js +0 -10
  211. package/dist/esm/loader.js +3 -3
  212. package/dist/esm/parse-json-prop-CvcFE821.js +36 -0
  213. package/dist/types/components/dda-banner-card/dda-banner-card.d.ts +25 -0
  214. package/dist/types/components/dda-header/dda-header.d.ts +114 -4
  215. package/dist/types/components/dda-header/dda-header.stories.d.ts +187 -0
  216. package/dist/types/components/dda-header/nav-model.d.ts +19 -0
  217. package/dist/types/components/dda-home-carousel/dda-home-carousel.d.ts +29 -0
  218. package/dist/types/components/dda-home-carousel/dda-home-carousel.stories.d.ts +20 -0
  219. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +70 -1
  220. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +4 -0
  221. package/dist/types/components.d.ts +726 -11
  222. package/dist/types/utils/parse-json-prop.d.ts +1 -0
  223. package/package.json +4 -2
  224. package/dist/cjs/dda-link-button.cjs.entry.js +0 -51
  225. package/dist/cjs/dda-radiobutton.cjs.entry.js +0 -27
  226. package/dist/cjs/index-DXyiIgGK.js +0 -4637
  227. package/dist/components/dda-button2.js +0 -80
  228. package/dist/components/dda-link-button2.js +0 -81
  229. package/dist/components/dda-radiobutton2.js +0 -54
  230. package/dist/components/dda-tooltip2.js +0 -70
  231. package/dist/components/index2.js +0 -4622
  232. package/dist/components/p-CZO9Eawo.js +0 -1
  233. package/dist/components/unique-id.js +0 -12
  234. package/dist/dda/dda-accordion.entry.js +0 -31
  235. package/dist/dda/dda-alert.entry.js +0 -57
  236. package/dist/dda/dda-attach-file.entry.js +0 -102
  237. package/dist/dda/dda-avatar.entry.js +0 -70
  238. package/dist/dda/dda-banner.entry.js +0 -30
  239. package/dist/dda/dda-button.entry.js +0 -47
  240. package/dist/dda/dda-checkbox.entry.js +0 -27
  241. package/dist/dda/dda-chip.entry.js +0 -25
  242. package/dist/dda/dda-creditcard-field.entry.js +0 -94
  243. package/dist/dda/dda-dropdown.entry.js +0 -75
  244. package/dist/dda/dda-footer.entry.js +0 -34
  245. package/dist/dda/dda-header.entry.js +0 -282
  246. package/dist/dda/dda-home-banner.entry.js +0 -208
  247. package/dist/dda/dda-horizontal-stepper.entry.js +0 -39
  248. package/dist/dda/dda-input.entry.js +0 -56
  249. package/dist/dda/dda-link-button.entry.js +0 -49
  250. package/dist/dda/dda-number-field.entry.js +0 -86
  251. package/dist/dda/dda-pagination.entry.js +0 -86
  252. package/dist/dda/dda-phonefield.entry.js +0 -271
  253. package/dist/dda/dda-progressbar.entry.js +0 -30
  254. package/dist/dda/dda-radiobutton.entry.js +0 -25
  255. package/dist/dda/dda-range-slider.entry.js +0 -55
  256. package/dist/dda/dda-search-input.entry.js +0 -63
  257. package/dist/dda/dda-segmented-tabs.entry.js +0 -96
  258. package/dist/dda/dda-select.entry.js +0 -183
  259. package/dist/dda/dda-sticky-footer.entry.js +0 -61
  260. package/dist/dda/dda-textarea.entry.js +0 -31241
  261. package/dist/dda/dda-toggle.entry.js +0 -25
  262. package/dist/dda/dda-ui-card.entry.js +0 -41
  263. package/dist/dda/dda-vertical-stepper.entry.js +0 -41
  264. package/dist/dda/index-CFIwfRqf.js +0 -4622
  265. package/dist/dda/p-87d647e7.entry.js +0 -1
  266. package/dist/dda/p-9541e108.entry.js +0 -1
  267. package/dist/dda/p-CI_UcUy5.js +0 -2
  268. package/dist/dda/p-c0da1e14.entry.js +0 -1
  269. package/dist/dda/p-c5ebf7df.entry.js +0 -1
  270. package/dist/dda/p-ea1720d2.entry.js +0 -1
  271. package/dist/dda/unique-id-B-I003EB.js +0 -12
  272. package/dist/esm/dda-link-button.entry.js +0 -49
  273. package/dist/esm/dda-radiobutton.entry.js +0 -25
  274. package/dist/esm/index-CFIwfRqf.js +0 -4622
@@ -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: 'ed4636c58fceb5ee94ab0e643bef7c0d80a29e24' }, h("div", { key: '2fac5e6cf7529e1892453eaf0eae6eb49765802d', class: `dda-input-container ${inputClass} ${this.custom_class} ${this.disabled ? 'dda-input-disabled' : ''}` }, this.label && h("label", { key: '3d5a0b67761684d04ac28984337598cc69239a89', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: 'c7934f67a0b4210164e9ba2b01f1f4b7f0456a0c', class: `dda-input-field-group dda-phone-field` }, h("div", { key: '57f327b669bd80efe824934f5580df54f6939381', class: "dda-input-dropdown-btn" }, h("button", { key: '645477fa36b62fb9b0495d58074b98db2d62beb4', 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: 'a7e82fcf47ae104a3c39aa97cc9c64cea1588070', src: this.country_flag, alt: "", width: "20" }), " ", this.country_code, " ", h("i", { key: 'b8e9482e942a69b252071d9286c9fa30ead4f2f9', class: `material-icons`, "aria-hidden": "true" }, this.dropdown_open ? 'keyboard_arrow_down' : 'keyboard_arrow_down')), this.dropdown_open && (h("div", { key: 'a71f7b95b1eb9682826645655191c27ec41740d7', 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: 'd8d4ad4c885b26f38ece5fe3ec91bc583d03af58', 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: 'facc14856c52b22330242c5f3a9ab17293232900', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '6b2d21965e9797235d757e1183799bcfa24b0461', id: this.errorId, class: "dda-error-message" }, this.error_message))));
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: '9aba64a14f203bb1c33e1e062c5d4e7e7184c629' }, h("div", { key: '24696a000c26d6b8247b45503187440fa53a6c63', class: `dda-progress-bar-container ${this.custom_class} ${this.component_mode}` }, h("div", { key: 'f04d35bf3f048585df20c365c716307e683bb77f', class: "dda-progress-bar", role: "progressbar", "aria-label": this.aria_label, "aria-valuenow": `${this.progress}`, "aria-valuemin": "0", "aria-valuemax": "100" }, h("div", { key: '9bc2a539196b12d7579aa01f09a9d11f52bc91fd', class: "dda-progress-value", style: progressStyle }, this.tooltip && (h("div", { key: 'd7267cd54ed3b09ab19dcbb8837e9620a1411e84', class: `dda-tooltip tooltip-${this.tooltip_position}` }, this.progress, "%")))), this.show_percentage_text && (h("span", { key: 'c0cd34956a817d6daa3fe526d961897194452cbe', class: "dda-percentage-text" }, this.progress, "%")))));
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() {
@@ -718,7 +718,7 @@
718
718
  --dda-quick-links-card-height-sm: 112px;
719
719
  }
720
720
 
721
- .quick-links-wrap {
721
+ :is(.quick-links-wrap, .dda-home-quick-links-wrap) {
722
722
  width: 100%;
723
723
  position: absolute;
724
724
  /* dda-sticky-footer sets --dda-sticky-footer-height; the cards sit above the fixed bar.
@@ -742,7 +742,7 @@
742
742
 
743
743
  /* One row of cards. When the cards do not fit, the row scrolls sideways. A card cut at the edge,
744
744
  a fade on each edge with more cards, and a thin scrollbar show that the row scrolls. */
745
- .quick-links-wrap,
745
+ :is(.quick-links-wrap, .dda-home-quick-links-wrap),
746
746
  .quick-links {
747
747
  /* Room inside the row for the hover lift (12px above) and the pointer (9px below);
748
748
  a scrolling box clips anything outside it. */
@@ -865,14 +865,14 @@
865
865
  .slide-content p {
866
866
  width: 100%;
867
867
  }
868
- .quick-links-wrap {
868
+ :is(.quick-links-wrap, .dda-home-quick-links-wrap) {
869
869
  position: relative;
870
870
  /* In normal flow the cards do not sit over the fixed bar, so keep the original offset. */
871
871
  bottom: 45px;
872
872
  }
873
873
  /* Below the banner, on the page background: the row spans the screen, and each card is
874
874
  narrower than the row so the next card shows at the edge. */
875
- .quick-links-wrap .quick-links {
875
+ :is(.quick-links-wrap, .dda-home-quick-links-wrap) .quick-links {
876
876
  width: 100%;
877
877
  box-sizing: border-box;
878
878
  padding: 20px 20px var(--dda-quick-links-pad-bottom);
@@ -957,12 +957,12 @@
957
957
  controls move above them (home-banner.css). On short landscape screens the banner cannot hold
958
958
  the text, the controls and the cards, so the cards stay under it (the rules above). */
959
959
  @media screen and (max-width: 992px) and (min-height: 601px) {
960
- .quick-links-wrap {
960
+ :is(.quick-links-wrap, .dda-home-quick-links-wrap) {
961
961
  position: absolute;
962
962
  /* The row's bottom padding is part of the gap above the bar. */
963
963
  bottom: calc(var(--dda-quick-links-gap-sm) - var(--dda-quick-links-pad-bottom) + var(--dda-sticky-footer-height, 0px));
964
964
  }
965
- .quick-links-wrap .quick-links {
965
+ :is(.quick-links-wrap, .dda-home-quick-links-wrap) .quick-links {
966
966
  padding-top: var(--dda-quick-links-pad-top);
967
967
  scrollbar-color: rgba(255, 255, 255, 0.7) transparent;
968
968
  }
@@ -990,6 +990,59 @@
990
990
  }
991
991
  }
992
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
+
993
1046
  .dda-card {
994
1047
  position: relative;
995
1048
  display: -ms-flexbox;
@@ -2346,6 +2399,77 @@ body {
2346
2399
  }
2347
2400
  }
2348
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
+
2349
2473
  .dda-dashboard-sidebar {
2350
2474
  position: fixed;
2351
2475
  top: 0;
@@ -3686,6 +3810,104 @@ ul.main_side_menu .main_sub_menu .main_sub_menu .main_sub_menu {
3686
3810
  }
3687
3811
  }
3688
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
+
3689
3911
 
3690
3912
  :root{
3691
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: '3ded227310410ca3089d2fb5e7bbf703c7265a77' }, h("div", { key: 'e3811560e5a82a24cba3b238c787350887a36236', class: radiobuttonClass }, h("input", { key: 'a36c5facb630f742dd56d71837995a17629731b7', "aria-label": this.aria_label, type: "radio", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: '60c40663b7259d7582043639a3b9a25b484898a1', htmlFor: this.input_id }, h("span", { key: '652a643169f96d317df1901cff19368466f8ad43', class: "radio-circle" }), h("p", { key: 'e6bdad31f55802fc2da9b78c603063382a18826c' }, h("span", { key: '0cca8461aa8c5a00dbde62fd42b1fc17715798d5', class: "radio-title" }, this.title_text), this.supporting && h("span", { key: '56bc7d2c636a1a106bed8120238138963933f6a0', class: "radio-supporting" }, this.supporting))))));
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: '3a72a25212a511d65f982a0606cd8cd0e6cd1d66' }, h("div", { key: '8eb7a5199e81bc5bf437d5dfe61e4eec7b732753', class: `dda-range-slider-container dda-tooltip-${this.tooltip_position} ${this.custom_class} ${this.component_mode}` }, h("div", { key: '6b303ab598aff66a693b645d350fea4eaa470bac', class: "dda-range-slider" }, h("div", { key: '3904d63ade7e2251d9ea424c015bf4aab74eae77', class: "dda-range-slider-track", style: {
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: '0d1038171b37eebb70862e3dec81773a069f8d39', class: "min-label" }, this.min_value, "%"), h("span", { key: 'ee925f1eb9de817c30fb1b24669e05088d2735c8', class: "max-label" }, this.max_value, "%")), h("span", { key: '29d65987c630c9d67453ad3f3566a3ecdf55357b' }, h("input", { key: '4a6db59b2ef1ca6cfde2acc1ab52046afb2d786f', 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: '02fb3162cb1566304e1d25794d61bd760b02bd3c' }, h("input", { key: '46022edc3c2b069ba5f240ea0e7945326cf7459c', 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}` } }))))));
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: '63dd0ce5b1ba526bc4f2b79cd4646f433bf7f5b1' }, h("div", { key: '4b19e3abcdd6e920b8146484f1e859c449eb6f56', 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: '54f45f95ae269e974064a01d9453934ef25f1f82', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: '51b6460a3a04c80947ce2a9f68cbd472d2dac945', class: "dda-search-area dda-search-action" }, h("i", { key: '2d19436afd728672b1dee78a5888a66a9418e929', class: "material-icons icon-left", "aria-hidden": "true" }, "search"), h("input", { key: 'a28e11d99e628aeb122c857bad226bea62881a1f', 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: 'd0064ab0d27ad86ef26d048a604de6d93f290c60', class: "dda-search-btngroup" }, h("button", { key: 'a6e9f7288c8ff9123553e80f74e36467bc6f5b43', 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: '2676bd651dd8fffd3f6ebf76dc812bfb0272e003', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")), this.show_button && (h("button", { key: '455e7da64da6df0b345ad44559a8a403b44d07f8', name: this.search_button_name, type: "button", class: "dda-btn btn-color-default-primary dda-btn-sm" }, "Search")))), this.helper_text && h("span", { key: 'fe5fbeb25377cf89d4d1fa3520d4c11fd44eb55c', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '8538814d841caf3e75b0f4edb33c5d53d442b792', id: this.errorId, class: "dda-error-message" }, this.error_message))));
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: '35fead649fe2206feb1749d1accbdddb2691d09d' }, h("div", { key: 'd41d81d1944c32c379f9289efd276bccf5f25a1a', 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: '8bd67c36aab4be42289b73f0f95466c0cc3da1f3', id: this.labelId, class: "dda-input-label" }, this.label), h("div", { key: 'a99b28ef07e8fa4577e12e964eaa4a55c73ced8b', class: "dda-dropdown-container" }, h("button", { key: 'a03cc3709395e13290d78fcbc497d56953fa16ae', 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: '6764cc54e1b60305b9a0f3bf528ec6d74dd8433d', class: `material-icons`, "aria-hidden": "true" }, this.is_open ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), this.is_open && (h("div", { key: '418cae53a5351d92e5b55186d58b97bd62dc8bcb', 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: '064eb06fc8dea8656c753aa4372be0a797241a22', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: 'fbe4f80920eac2f18c99177f2425b443f497e569', id: this.errorId, class: "dda-error-message" }, this.error_message))));
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() {