@dubai-design-system/components-js 5.0.3 → 5.1.1

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 (316) hide show
  1. package/CHANGELOG.md +233 -1
  2. package/MIGRATION.md +423 -0
  3. package/dist/cjs/dda-accordion.cjs.entry.js +12 -7
  4. package/dist/cjs/dda-alert.cjs.entry.js +20 -3
  5. package/dist/cjs/dda-attach-file.cjs.entry.js +24 -8
  6. package/dist/cjs/dda-avatar.cjs.entry.js +23 -12
  7. package/dist/cjs/dda-banner.cjs.entry.js +14 -5
  8. package/dist/cjs/dda-breadcrumb.cjs.entry.js +22 -10
  9. package/dist/cjs/dda-button.cjs.entry.js +16 -9
  10. package/dist/cjs/dda-checkbox.cjs.entry.js +5 -4
  11. package/dist/cjs/dda-chip.cjs.entry.js +8 -3
  12. package/dist/cjs/dda-credit-card.cjs.entry.js +5 -3
  13. package/dist/cjs/dda-creditcard-field.cjs.entry.js +26 -8
  14. package/dist/cjs/dda-dropdown.cjs.entry.js +31 -5
  15. package/dist/cjs/dda-footer.cjs.entry.js +9 -3
  16. package/dist/cjs/dda-header.cjs.entry.js +88 -8
  17. package/dist/cjs/dda-home-banner.cjs.entry.js +11 -5
  18. package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +22 -5
  19. package/dist/cjs/dda-input.cjs.entry.js +17 -10
  20. package/dist/cjs/dda-link-button_2.cjs.entry.js +21 -13
  21. package/dist/cjs/dda-number-field.cjs.entry.js +20 -8
  22. package/dist/cjs/dda-pagination.cjs.entry.js +21 -11
  23. package/dist/cjs/dda-phonefield.cjs.entry.js +27 -9
  24. package/dist/cjs/dda-progressbar.cjs.entry.js +8 -3
  25. package/dist/cjs/dda-range-slider.cjs.entry.js +15 -3
  26. package/dist/cjs/dda-search-input.cjs.entry.js +27 -12
  27. package/dist/cjs/dda-segmented-tabs.cjs.entry.js +54 -6
  28. package/dist/cjs/dda-select.cjs.entry.js +40 -8
  29. package/dist/cjs/dda-sticky-footer.cjs.entry.js +20 -3
  30. package/dist/cjs/dda-tabs.cjs.entry.js +10 -4
  31. package/dist/cjs/dda-textarea.cjs.entry.js +22 -12
  32. package/dist/cjs/dda-toggle.cjs.entry.js +5 -4
  33. package/dist/cjs/dda-tooltip.cjs.entry.js +6 -4
  34. package/dist/cjs/dda-ui-card.cjs.entry.js +19 -2
  35. package/dist/cjs/dda-vertical-stepper.cjs.entry.js +23 -3
  36. package/dist/cjs/dda.cjs.js +2 -2
  37. package/dist/cjs/index-Bgd2iAET.js +2116 -0
  38. package/dist/cjs/loader.cjs.js +2 -2
  39. package/dist/cjs/unique-id-DahNGdQy.js +14 -0
  40. package/dist/collection/collection-manifest.json +1 -1
  41. package/dist/collection/components/dda-accordion/dda-accordion.js +16 -11
  42. package/dist/collection/components/dda-alert/dda-alert.js +74 -17
  43. package/dist/collection/components/dda-alert/dda-alert.stories.js +2 -8
  44. package/dist/collection/components/dda-attach-file/dda-attach-file.js +35 -19
  45. package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js +0 -9
  46. package/dist/collection/components/dda-avatar/dda-avatar.js +53 -25
  47. package/dist/collection/components/dda-avatar/dda-avatar.stories.js +1 -1
  48. package/dist/collection/components/dda-banner/dda-banner.css +35 -0
  49. package/dist/collection/components/dda-banner/dda-banner.js +34 -5
  50. package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js +49 -12
  51. package/dist/collection/components/dda-button/dda-button.js +29 -22
  52. package/dist/collection/components/dda-checkbox/dda-checkbox.css +13 -0
  53. package/dist/collection/components/dda-checkbox/dda-checkbox.js +13 -12
  54. package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js +0 -11
  55. package/dist/collection/components/dda-chip/dda-chip.js +34 -9
  56. package/dist/collection/components/dda-chip/dda-chip.stories.js +0 -11
  57. package/dist/collection/components/dda-credit-card/dda-credit-card.js +10 -8
  58. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +58 -23
  59. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +1 -10
  60. package/dist/collection/components/dda-dropdown/dda-dropdown.js +90 -18
  61. package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js +0 -4
  62. package/dist/collection/components/dda-footer/dda-footer.js +57 -10
  63. package/dist/collection/components/dda-footer/dda-footer.stories.js +5 -4
  64. package/dist/collection/components/dda-header/dda-header.css +11 -0
  65. package/dist/collection/components/dda-header/dda-header.js +232 -37
  66. package/dist/collection/components/dda-header/dda-header.stories.js +12 -21
  67. package/dist/collection/components/dda-home-banner/dda-home-banner.js +8 -2
  68. package/dist/collection/components/dda-home-banner/home-banner.css +23 -2
  69. package/dist/collection/components/dda-input/dda-input.js +47 -21
  70. package/dist/collection/components/dda-input/dda-input.stories.js +0 -13
  71. package/dist/collection/components/dda-link-button/dda-link-button.js +30 -23
  72. package/dist/collection/components/dda-number-field/dda-number-field.js +54 -22
  73. package/dist/collection/components/dda-number-field/dda-number-field.stories.js +0 -9
  74. package/dist/collection/components/dda-pagination/dda-pagination.js +95 -28
  75. package/dist/collection/components/dda-pagination/dda-pagination.stories.js +24 -24
  76. package/dist/collection/components/dda-phonefield/dda-phonefield.js +62 -24
  77. package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +0 -13
  78. package/dist/collection/components/dda-progressbar/dda-progressbar.js +13 -8
  79. package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +156 -25
  80. package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +13 -12
  81. package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js +5 -16
  82. package/dist/collection/components/dda-range-slider/dda-range-slider.js +29 -17
  83. package/dist/collection/components/dda-search-input/dda-search-input.js +61 -26
  84. package/dist/collection/components/dda-search-input/dda-search-input.stories.js +0 -9
  85. package/dist/collection/components/dda-select/dda-select.js +78 -20
  86. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +80 -43
  87. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +1 -1
  88. package/dist/collection/components/dda-tabs/dda-tabs.js +21 -15
  89. package/dist/collection/components/dda-tabs/dda-tabs.stories.js +3 -10
  90. package/dist/collection/components/dda-textarea/dda-textarea.js +33 -23
  91. package/dist/collection/components/dda-textarea/dda-textarea.stories.js +0 -9
  92. package/dist/collection/components/dda-toggle/dda-toggle.css +9 -0
  93. package/dist/collection/components/dda-toggle/dda-toggle.js +47 -8
  94. package/dist/collection/components/dda-toggle/dda-toggle.stories.js +10 -22
  95. package/dist/collection/components/dda-tooltip/dda-tooltip.js +9 -7
  96. package/dist/collection/components/dda-ui-card/dda-ui-card.js +55 -13
  97. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +79 -11
  98. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +4 -1
  99. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +24 -6
  100. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js +2 -2
  101. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +49 -6
  102. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js +2 -2
  103. package/dist/collection/global/global.css +152 -25
  104. package/dist/collection/global/input.css +56 -2
  105. package/dist/collection/storybook/component-api.js +15 -0
  106. package/dist/collection/utils/placeholder-color.js +89 -0
  107. package/dist/collection/utils/unique-id.js +10 -0
  108. package/dist/components/dda-accordion.js +1 -1
  109. package/dist/components/dda-alert.js +1 -1
  110. package/dist/components/dda-attach-file.js +1 -1
  111. package/dist/components/dda-avatar.js +1 -1
  112. package/dist/components/dda-banner.js +1 -1
  113. package/dist/components/dda-breadcrumb.js +1 -1
  114. package/dist/components/dda-button.js +1 -1
  115. package/dist/components/dda-checkbox.js +1 -1
  116. package/dist/components/dda-chip.js +1 -1
  117. package/dist/components/dda-credit-card.js +1 -1
  118. package/dist/components/dda-creditcard-field.js +1 -1
  119. package/dist/components/dda-dropdown.js +1 -1
  120. package/dist/components/dda-footer.js +1 -1
  121. package/dist/components/dda-header.js +1 -1
  122. package/dist/components/dda-home-banner.js +1 -1
  123. package/dist/components/dda-horizontal-stepper.js +1 -1
  124. package/dist/components/dda-input.js +1 -1
  125. package/dist/components/dda-link-button.js +1 -1
  126. package/dist/components/dda-number-field.js +1 -1
  127. package/dist/components/dda-pagination.js +1 -1
  128. package/dist/components/dda-phonefield.js +1 -1
  129. package/dist/components/dda-progressbar.js +1 -1
  130. package/dist/components/dda-radiobutton.js +1 -1
  131. package/dist/components/dda-range-slider.js +1 -1
  132. package/dist/components/dda-search-input.js +1 -1
  133. package/dist/components/dda-segmented-tabs.js +1 -1
  134. package/dist/components/dda-select.js +1 -1
  135. package/dist/components/dda-sticky-footer.js +1 -1
  136. package/dist/components/dda-tabs.js +1 -1
  137. package/dist/components/dda-textarea.js +1 -1
  138. package/dist/components/dda-toggle.js +1 -1
  139. package/dist/components/dda-tooltip.js +1 -1
  140. package/dist/components/dda-ui-card.js +1 -1
  141. package/dist/components/dda-vertical-stepper.js +1 -1
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/p-B-I003EB.js +1 -0
  144. package/dist/components/p-Bc2V1U4_.js +1 -0
  145. package/dist/components/p-Bzqf-PpF.js +1 -0
  146. package/dist/components/p-D-CHT-as.js +1 -0
  147. package/dist/components/p-DJw8qV7U.js +1 -0
  148. package/dist/components/p-DpwQ9sGp.js +1 -0
  149. package/dist/dda/dda.css +2 -2
  150. package/dist/dda/dda.esm.js +1 -1
  151. package/dist/dda/p-03400387.entry.js +1 -0
  152. package/dist/dda/p-04bcda8a.entry.js +1 -0
  153. package/dist/dda/p-18a3d7b1.entry.js +1 -0
  154. package/dist/dda/p-1f7b8486.entry.js +1 -0
  155. package/dist/dda/p-3024288f.entry.js +1 -0
  156. package/dist/dda/p-41b8ed7d.entry.js +1 -0
  157. package/dist/dda/p-56f60336.entry.js +1 -0
  158. package/dist/dda/p-65776d80.entry.js +1 -0
  159. package/dist/dda/p-73611084.entry.js +1 -0
  160. package/dist/dda/p-7ad8cde9.entry.js +1 -0
  161. package/dist/dda/p-8134e59d.entry.js +1 -0
  162. package/dist/dda/p-8494fd9e.entry.js +1 -0
  163. package/dist/dda/p-876d55b2.entry.js +1 -0
  164. package/dist/dda/p-88d884a8.entry.js +1 -0
  165. package/dist/dda/p-8b25ae94.entry.js +1 -0
  166. package/dist/dda/p-8f376986.entry.js +1 -0
  167. package/dist/dda/p-90019b80.entry.js +1 -0
  168. package/dist/dda/p-92fa4777.entry.js +1 -0
  169. package/dist/dda/p-97431faf.entry.js +1 -0
  170. package/dist/dda/p-B-I003EB.js +1 -0
  171. package/dist/dda/p-D6L6zgH9.js +2 -0
  172. package/dist/dda/p-a5456de2.entry.js +1 -0
  173. package/dist/dda/p-aa7b4c13.entry.js +1 -0
  174. package/dist/dda/p-ad40eb27.entry.js +1 -0
  175. package/dist/dda/p-c055f0d2.entry.js +1 -0
  176. package/dist/dda/p-c42c8733.entry.js +1 -0
  177. package/dist/dda/p-c77282be.entry.js +1 -0
  178. package/dist/dda/p-ca64abe6.entry.js +1 -0
  179. package/dist/dda/p-ceca8088.entry.js +1 -0
  180. package/dist/dda/p-d6786b43.entry.js +1 -0
  181. package/dist/dda/p-e2113e42.entry.js +1 -0
  182. package/dist/dda/p-ee862207.entry.js +1 -0
  183. package/dist/dda/p-ef38e28b.entry.js +1 -0
  184. package/dist/dda/p-f43fb910.entry.js +1 -0
  185. package/dist/dda/p-fb4db977.entry.js +1 -0
  186. package/dist/esm/dda-accordion.entry.js +12 -7
  187. package/dist/esm/dda-alert.entry.js +20 -3
  188. package/dist/esm/dda-attach-file.entry.js +24 -8
  189. package/dist/esm/dda-avatar.entry.js +23 -12
  190. package/dist/esm/dda-banner.entry.js +14 -5
  191. package/dist/esm/dda-breadcrumb.entry.js +22 -10
  192. package/dist/esm/dda-button.entry.js +16 -9
  193. package/dist/esm/dda-checkbox.entry.js +5 -4
  194. package/dist/esm/dda-chip.entry.js +8 -3
  195. package/dist/esm/dda-credit-card.entry.js +5 -3
  196. package/dist/esm/dda-creditcard-field.entry.js +26 -8
  197. package/dist/esm/dda-dropdown.entry.js +31 -5
  198. package/dist/esm/dda-footer.entry.js +9 -3
  199. package/dist/esm/dda-header.entry.js +88 -8
  200. package/dist/esm/dda-home-banner.entry.js +11 -5
  201. package/dist/esm/dda-horizontal-stepper.entry.js +22 -5
  202. package/dist/esm/dda-input.entry.js +17 -10
  203. package/dist/esm/dda-link-button_2.entry.js +21 -13
  204. package/dist/esm/dda-number-field.entry.js +20 -8
  205. package/dist/esm/dda-pagination.entry.js +21 -11
  206. package/dist/esm/dda-phonefield.entry.js +27 -9
  207. package/dist/esm/dda-progressbar.entry.js +8 -3
  208. package/dist/esm/dda-range-slider.entry.js +15 -3
  209. package/dist/esm/dda-search-input.entry.js +27 -12
  210. package/dist/esm/dda-segmented-tabs.entry.js +54 -6
  211. package/dist/esm/dda-select.entry.js +40 -8
  212. package/dist/esm/dda-sticky-footer.entry.js +20 -3
  213. package/dist/esm/dda-tabs.entry.js +10 -4
  214. package/dist/esm/dda-textarea.entry.js +22 -12
  215. package/dist/esm/dda-toggle.entry.js +5 -4
  216. package/dist/esm/dda-tooltip.entry.js +6 -4
  217. package/dist/esm/dda-ui-card.entry.js +19 -2
  218. package/dist/esm/dda-vertical-stepper.entry.js +23 -3
  219. package/dist/esm/dda.js +3 -3
  220. package/dist/esm/index-D6L6zgH9.js +2106 -0
  221. package/dist/esm/loader.js +3 -3
  222. package/dist/esm/unique-id-B-I003EB.js +12 -0
  223. package/dist/types/components/dda-accordion/dda-accordion.d.ts +6 -0
  224. package/dist/types/components/dda-alert/dda-alert.d.ts +21 -0
  225. package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +17 -0
  226. package/dist/types/components/dda-attach-file/dda-attach-file.stories.d.ts +0 -4
  227. package/dist/types/components/dda-avatar/dda-avatar.d.ts +20 -0
  228. package/dist/types/components/dda-banner/dda-banner.d.ts +5 -0
  229. package/dist/types/components/dda-breadcrumb/dda-breadcrumb.d.ts +12 -6
  230. package/dist/types/components/dda-button/dda-button.d.ts +15 -4
  231. package/dist/types/components/dda-checkbox/dda-checkbox.d.ts +11 -0
  232. package/dist/types/components/dda-checkbox/dda-checkbox.stories.d.ts +0 -10
  233. package/dist/types/components/dda-chip/dda-chip.d.ts +10 -0
  234. package/dist/types/components/dda-chip/dda-chip.stories.d.ts +0 -6
  235. package/dist/types/components/dda-credit-card/dda-credit-card.d.ts +7 -0
  236. package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +24 -0
  237. package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +0 -6
  238. package/dist/types/components/dda-dropdown/dda-dropdown.d.ts +25 -0
  239. package/dist/types/components/dda-dropdown/dda-dropdown.stories.d.ts +0 -4
  240. package/dist/types/components/dda-footer/dda-footer.d.ts +13 -0
  241. package/dist/types/components/dda-header/dda-header.d.ts +62 -0
  242. package/dist/types/components/dda-header/dda-header.stories.d.ts +6 -0
  243. package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +1 -0
  244. package/dist/types/components/dda-input/dda-input.d.ts +18 -0
  245. package/dist/types/components/dda-input/dda-input.stories.d.ts +0 -6
  246. package/dist/types/components/dda-link-button/dda-link-button.d.ts +14 -3
  247. package/dist/types/components/dda-number-field/dda-number-field.d.ts +21 -0
  248. package/dist/types/components/dda-number-field/dda-number-field.stories.d.ts +0 -6
  249. package/dist/types/components/dda-pagination/dda-pagination.d.ts +26 -0
  250. package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +21 -0
  251. package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +0 -6
  252. package/dist/types/components/dda-progressbar/dda-progressbar.d.ts +7 -0
  253. package/dist/types/components/dda-radiobutton/dda-radiobutton.d.ts +11 -0
  254. package/dist/types/components/dda-radiobutton/dda-radiobutton.stories.d.ts +5 -15
  255. package/dist/types/components/dda-range-slider/dda-range-slider.d.ts +16 -0
  256. package/dist/types/components/dda-search-input/dda-search-input.d.ts +21 -0
  257. package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +0 -6
  258. package/dist/types/components/dda-select/dda-select.d.ts +23 -0
  259. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +46 -3
  260. package/dist/types/components/dda-tabs/dda-tabs.d.ts +12 -1
  261. package/dist/types/components/dda-tabs/dda-tabs.stories.d.ts +0 -4
  262. package/dist/types/components/dda-textarea/dda-textarea.d.ts +16 -0
  263. package/dist/types/components/dda-textarea/dda-textarea.stories.d.ts +0 -6
  264. package/dist/types/components/dda-toggle/dda-toggle.d.ts +11 -0
  265. package/dist/types/components/dda-toggle/dda-toggle.stories.d.ts +2 -12
  266. package/dist/types/components/dda-tooltip/dda-tooltip.d.ts +5 -0
  267. package/dist/types/components/dda-ui-card/dda-ui-card.d.ts +13 -1
  268. package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.d.ts +19 -2
  269. package/dist/types/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.d.ts +6 -0
  270. package/dist/types/components/stepper/dda-vertical-stepper/dda-vertical-stepper.d.ts +8 -0
  271. package/dist/types/components.d.ts +2373 -38
  272. package/dist/types/utils/placeholder-color.d.ts +10 -0
  273. package/dist/types/utils/unique-id.d.ts +6 -0
  274. package/package.json +4 -3
  275. package/readme.md +6 -0
  276. package/dist/cjs/index-CDUC0Pdj.js +0 -1986
  277. package/dist/components/p-9UeqjDnY.js +0 -1
  278. package/dist/components/p-CrTEb7xH.js +0 -1
  279. package/dist/components/p-DldlmGnP.js +0 -1
  280. package/dist/components/p-NvTw9Mx1.js +0 -1
  281. package/dist/components/p-i15-_er0.js +0 -1
  282. package/dist/dda/p-016e4090.entry.js +0 -1
  283. package/dist/dda/p-0229b303.entry.js +0 -1
  284. package/dist/dda/p-05a6f90d.entry.js +0 -1
  285. package/dist/dda/p-1c9a6035.entry.js +0 -1
  286. package/dist/dda/p-2c313105.entry.js +0 -1
  287. package/dist/dda/p-2cec7be6.entry.js +0 -1
  288. package/dist/dda/p-2f4ace4c.entry.js +0 -1
  289. package/dist/dda/p-360a0577.entry.js +0 -1
  290. package/dist/dda/p-3e49128d.entry.js +0 -1
  291. package/dist/dda/p-3fa27728.entry.js +0 -1
  292. package/dist/dda/p-43e1c12f.entry.js +0 -1
  293. package/dist/dda/p-4428417d.entry.js +0 -1
  294. package/dist/dda/p-44ce832e.entry.js +0 -1
  295. package/dist/dda/p-560a3f0c.entry.js +0 -1
  296. package/dist/dda/p-5712bbd9.entry.js +0 -1
  297. package/dist/dda/p-626d7e7b.entry.js +0 -1
  298. package/dist/dda/p-68008c64.entry.js +0 -1
  299. package/dist/dda/p-6f3d9f78.entry.js +0 -1
  300. package/dist/dda/p-79db1218.entry.js +0 -1
  301. package/dist/dda/p-84911fab.entry.js +0 -1
  302. package/dist/dda/p-90d9648b.entry.js +0 -1
  303. package/dist/dda/p-91040abe.entry.js +0 -1
  304. package/dist/dda/p-Cq6A4mXg.js +0 -2
  305. package/dist/dda/p-a1421a54.entry.js +0 -1
  306. package/dist/dda/p-a22b1c56.entry.js +0 -1
  307. package/dist/dda/p-aa0e9035.entry.js +0 -1
  308. package/dist/dda/p-b2981646.entry.js +0 -1
  309. package/dist/dda/p-c1f45887.entry.js +0 -1
  310. package/dist/dda/p-c50e1141.entry.js +0 -1
  311. package/dist/dda/p-d8a9cab1.entry.js +0 -1
  312. package/dist/dda/p-dd966009.entry.js +0 -1
  313. package/dist/dda/p-ed099201.entry.js +0 -1
  314. package/dist/dda/p-f4bd2b2e.entry.js +0 -1
  315. package/dist/dda/p-fc30c60e.entry.js +0 -1
  316. package/dist/esm/index-Cq6A4mXg.js +0 -1976
@@ -1,12 +1,22 @@
1
1
  import { h, Host } from "@stencil/core";
2
+ import { uniqueId } from "../../utils/unique-id";
2
3
  export class DdaRangeSlider {
3
4
  constructor() {
5
+ /** Lowest value of the range. */
4
6
  this.min = 0;
7
+ /** Highest value of the range. */
5
8
  this.max = 100;
9
+ /** Step between selectable values. */
6
10
  this.step = 1;
11
+ /** Start value of the lower (left) handle. Read only when the component loads. */
7
12
  this.initial_min = 0;
13
+ /** Start value of the upper (right) handle. Read only when the component loads. */
8
14
  this.initial_max = 100;
15
+ /** Extra CSS classes added to the slider container. */
9
16
  this.custom_class = '';
17
+ // Fallback id base so each wrapping label points at a real input when no
18
+ // left_input_id/right_input_id is passed (WAVE "Orphaned form label").
19
+ this.fallbackId = uniqueId('dda-range-slider');
10
20
  }
11
21
  componentWillLoad() {
12
22
  this.min_value = this.initial_min;
@@ -28,10 +38,12 @@ export class DdaRangeSlider {
28
38
  return ((value - this.min) / (this.max - this.min)) * 100;
29
39
  }
30
40
  render() {
31
- return (h(Host, { key: '80a768ff1c3149aa7e863bbe8fe4936f6c39ff43' }, h("div", { key: 'ec21fa68c81ef52b6d41a2dd73232f2da367b59a', class: `dda-range-slider-container dda-tooltip-${this.tooltip_position} ${this.custom_class} ${this.component_mode}` }, h("div", { key: '01837c6961c25dae8dd22722ccffb88dc6740c48', class: "dda-range-slider" }, h("div", { key: '21e0c50619dff33b4552a1b2cfaacd6d5ee4259a', class: "dda-range-slider-track", style: {
41
+ const leftId = this.left_input_id || `${this.fallbackId}-min`;
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: {
32
44
  left: `${this.getPercentage(this.min_value)}%`,
33
45
  right: `${100 - this.getPercentage(this.max_value)}%`,
34
- } }, h("span", { key: '697d15494be5b1b2223c6994f5757449b8137d0a', class: "min-label" }, this.min_value, "%"), h("span", { key: 'cf9fb2c9a32acadf8aa39ba3bfe81eb669c3d5b6', class: "max-label" }, this.max_value, "%")), h("label", { key: '11d8300e01852e9ea304489a60611ad311318a8a', htmlFor: this.left_input_id }, h("input", { key: '11d5bf0e71ad6c1e6486baf367cc77b82b487a15', id: this.left_input_id, name: this.left_input_name, "aria-label": this.left_aria_label, 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("label", { key: 'c0985baf70eba826197503254da107693d7a21bc', htmlFor: this.right_input_id }, h("input", { key: '2b3c8aed413ef9615dca183c089c4840fdf83ab6', id: this.right_input_id, name: this.right_input_name, "aria-label": this.right_aria_label, 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: '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}` } }))))));
35
47
  }
36
48
  static get is() { return "dda-range-slider"; }
37
49
  static get originalStyleUrls() {
@@ -58,7 +70,7 @@ export class DdaRangeSlider {
58
70
  "optional": false,
59
71
  "docs": {
60
72
  "tags": [],
61
- "text": ""
73
+ "text": "Lowest value of the range."
62
74
  },
63
75
  "getter": false,
64
76
  "setter": false,
@@ -78,7 +90,7 @@ export class DdaRangeSlider {
78
90
  "optional": false,
79
91
  "docs": {
80
92
  "tags": [],
81
- "text": ""
93
+ "text": "Highest value of the range."
82
94
  },
83
95
  "getter": false,
84
96
  "setter": false,
@@ -98,7 +110,7 @@ export class DdaRangeSlider {
98
110
  "optional": false,
99
111
  "docs": {
100
112
  "tags": [],
101
- "text": ""
113
+ "text": "Step between selectable values."
102
114
  },
103
115
  "getter": false,
104
116
  "setter": false,
@@ -118,7 +130,7 @@ export class DdaRangeSlider {
118
130
  "optional": false,
119
131
  "docs": {
120
132
  "tags": [],
121
- "text": ""
133
+ "text": "Start value of the lower (left) handle. Read only when the component loads."
122
134
  },
123
135
  "getter": false,
124
136
  "setter": false,
@@ -138,7 +150,7 @@ export class DdaRangeSlider {
138
150
  "optional": false,
139
151
  "docs": {
140
152
  "tags": [],
141
- "text": ""
153
+ "text": "Start value of the upper (right) handle. Read only when the component loads."
142
154
  },
143
155
  "getter": false,
144
156
  "setter": false,
@@ -158,7 +170,7 @@ export class DdaRangeSlider {
158
170
  "optional": true,
159
171
  "docs": {
160
172
  "tags": [],
161
- "text": ""
173
+ "text": "Not used by the current version; it has no effect."
162
174
  },
163
175
  "getter": false,
164
176
  "setter": false,
@@ -177,7 +189,7 @@ export class DdaRangeSlider {
177
189
  "optional": true,
178
190
  "docs": {
179
191
  "tags": [],
180
- "text": ""
192
+ "text": "Value labels shown as tooltips: `top` or `bottom`. Without it, plain labels show below the track."
181
193
  },
182
194
  "getter": false,
183
195
  "setter": false,
@@ -196,7 +208,7 @@ export class DdaRangeSlider {
196
208
  "optional": true,
197
209
  "docs": {
198
210
  "tags": [],
199
- "text": ""
211
+ "text": "Extra CSS classes added to the slider container."
200
212
  },
201
213
  "getter": false,
202
214
  "setter": false,
@@ -216,7 +228,7 @@ export class DdaRangeSlider {
216
228
  "optional": true,
217
229
  "docs": {
218
230
  "tags": [],
219
- "text": ""
231
+ "text": "Theme override class for the slider, e.g. `light-mode`."
220
232
  },
221
233
  "getter": false,
222
234
  "setter": false,
@@ -235,7 +247,7 @@ export class DdaRangeSlider {
235
247
  "optional": false,
236
248
  "docs": {
237
249
  "tags": [],
238
- "text": ""
250
+ "text": "`id` of the lower (left) range input. When it is not set, the component generates a unique id."
239
251
  },
240
252
  "getter": false,
241
253
  "setter": false,
@@ -254,7 +266,7 @@ export class DdaRangeSlider {
254
266
  "optional": false,
255
267
  "docs": {
256
268
  "tags": [],
257
- "text": ""
269
+ "text": "`id` of the upper (right) range input. When it is not set, the component generates a unique id."
258
270
  },
259
271
  "getter": false,
260
272
  "setter": false,
@@ -273,7 +285,7 @@ export class DdaRangeSlider {
273
285
  "optional": true,
274
286
  "docs": {
275
287
  "tags": [],
276
- "text": ""
288
+ "text": "Accessible name of the lower (left) range input, e.g. `Minimum amount`. When it is empty, the name is `Minimum`."
277
289
  },
278
290
  "getter": false,
279
291
  "setter": false,
@@ -292,7 +304,7 @@ export class DdaRangeSlider {
292
304
  "optional": true,
293
305
  "docs": {
294
306
  "tags": [],
295
- "text": ""
307
+ "text": "Accessible name of the upper (right) range input, e.g. `Maximum amount`. When it is empty, the name is `Maximum`."
296
308
  },
297
309
  "getter": false,
298
310
  "setter": false,
@@ -311,7 +323,7 @@ export class DdaRangeSlider {
311
323
  "optional": false,
312
324
  "docs": {
313
325
  "tags": [],
314
- "text": ""
326
+ "text": "`name` of the lower (left) range input, submitted with its form."
315
327
  },
316
328
  "getter": false,
317
329
  "setter": false,
@@ -330,7 +342,7 @@ export class DdaRangeSlider {
330
342
  "optional": false,
331
343
  "docs": {
332
344
  "tags": [],
333
- "text": ""
345
+ "text": "`name` of the upper (right) range input, submitted with its form."
334
346
  },
335
347
  "getter": false,
336
348
  "setter": false,
@@ -1,19 +1,33 @@
1
1
  import { h, Host } from "@stencil/core";
2
+ import { uniqueId } from "../../utils/unique-id";
2
3
  export class DdaSearchInput {
3
4
  constructor() {
5
+ /** Placeholder text of the search input. */
4
6
  this.placeholder = 'Search';
5
- this.size = 'sm'; // default to small size
6
- this.show_button = false; // control to show/hide search button
7
- this.has_error = false; // control error state
7
+ /** Size. `small` shows a smaller field; other values show the default size. */
8
+ this.size = 'sm';
9
+ /** Shows a "Search" button after the clear button. */
10
+ this.show_button = false;
11
+ /** Shows the error colors. */
12
+ this.has_error = false;
13
+ /** Extra CSS classes added to the field container. */
8
14
  this.custom_class = '';
15
+ /** Accessible name of the clear button. `button_aria_label` wins when set. */
16
+ this.clear_button_label = 'Clear search';
17
+ // Per-instance fallback, so the label, helper and error text stay linked
18
+ // to the search input when the consumer omits input_id.
19
+ this.fallbackId = uniqueId('dda-search-input');
20
+ }
21
+ // F-016: ids derived from the search input id (the consumer-supplied
22
+ // input_id, or the generated fallback), same pattern as dda-input.
23
+ get inputId() {
24
+ return this.input_id || this.fallbackId;
9
25
  }
10
- // F-016: ids derived from the consumer-supplied input_id, same pattern as
11
- // dda-input/dda-select.
12
26
  get helperId() {
13
- return this.input_id ? `${this.input_id}-helper` : undefined;
27
+ return `${this.inputId}-helper`;
14
28
  }
15
29
  get errorId() {
16
- return this.input_id ? `${this.input_id}-error` : undefined;
30
+ return `${this.inputId}-error`;
17
31
  }
18
32
  get describedBy() {
19
33
  const ids = [
@@ -24,14 +38,15 @@ export class DdaSearchInput {
24
38
  }
25
39
  clearInput() {
26
40
  // Was `#search` — the search input's id is now the consumer-supplied
27
- // input_id (possibly undefined), so target the stable class instead.
41
+ // input_id or a generated one, so target the stable class instead.
28
42
  const input = this.el.querySelector('.dda-search-field');
29
43
  if (input) {
30
44
  input.value = '';
31
45
  }
32
46
  }
33
47
  render() {
34
- return (h(Host, { key: 'defadb63674c2c2a74ff001a33c46e1b70884362' }, h("div", { key: '6b485070024fe6138c6964aafd30ac31f76add42', 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: '71564d0889be28002cedf12d11159be2c0fc6ad8', htmlFor: this.input_id, class: "dda-input-label" }, this.label), h("div", { key: 'edd31c93a5098642a98952e9e786a1f52cef5f57', class: "dda-search-area dda-search-action" }, h("i", { key: '708fbf189d534e27c1a26c9491389c6caae0826d', class: "material-icons icon-left" }, "search"), h("input", { key: '8e1a5df3baf8c894a474047ff041db15191bc874', name: this.search_input_name, "aria-label": this.aria_label, id: this.input_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: '622e7a0ee2b0659ced993f533369e27bab553d6b', class: "dda-search-btngroup" }, h("button", { key: 'f508784161c13624b4cc30baaa05c031c6dbbbe4', name: this.close_button_name, "aria-label": this.button_aria_label, id: this.button_id, type: "button", class: "icon-close", onClick: () => this.clearInput() }, h("i", { key: '6680303fc0fe51810eaf1e2f2f509ac894fc0a8a', class: "material-icons material-symbols-outlined" }, "close")), this.show_button && (h("button", { key: '37c5dce6caff03bca2b018f2a789b5de2614aded', name: this.search_button_name, type: "button", class: "dda-btn btn-color-default-primary dda-btn-sm" }, "Search")))), this.helper_text && h("span", { key: 'ca5d52ea2953f2de298b6dbbca209697b006220f', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '2c7e0710441d65ed6a4652fc3962629c4a644b05', id: this.errorId, class: "dda-error-message" }, this.error_message))));
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))));
35
50
  }
36
51
  static get is() { return "dda-search-input"; }
37
52
  static get originalStyleUrls() {
@@ -58,7 +73,7 @@ export class DdaSearchInput {
58
73
  "optional": false,
59
74
  "docs": {
60
75
  "tags": [],
61
- "text": ""
76
+ "text": "Placeholder text of the search input."
62
77
  },
63
78
  "getter": false,
64
79
  "setter": false,
@@ -78,7 +93,7 @@ export class DdaSearchInput {
78
93
  "optional": false,
79
94
  "docs": {
80
95
  "tags": [],
81
- "text": ""
96
+ "text": "Visible label text, linked to the search input through `input_id` (or a generated id)."
82
97
  },
83
98
  "getter": false,
84
99
  "setter": false,
@@ -97,7 +112,7 @@ export class DdaSearchInput {
97
112
  "optional": false,
98
113
  "docs": {
99
114
  "tags": [],
100
- "text": ""
115
+ "text": "Size. `small` shows a smaller field; other values show the default size."
101
116
  },
102
117
  "getter": false,
103
118
  "setter": false,
@@ -117,7 +132,7 @@ export class DdaSearchInput {
117
132
  "optional": false,
118
133
  "docs": {
119
134
  "tags": [],
120
- "text": ""
135
+ "text": "Error text shown below the field. When set, the input gets `aria-invalid=\"true\"`."
121
136
  },
122
137
  "getter": false,
123
138
  "setter": false,
@@ -136,7 +151,7 @@ export class DdaSearchInput {
136
151
  "optional": false,
137
152
  "docs": {
138
153
  "tags": [],
139
- "text": ""
154
+ "text": "Shows a \"Search\" button after the clear button."
140
155
  },
141
156
  "getter": false,
142
157
  "setter": false,
@@ -156,7 +171,7 @@ export class DdaSearchInput {
156
171
  "optional": false,
157
172
  "docs": {
158
173
  "tags": [],
159
- "text": ""
174
+ "text": "Helper text shown below the field and linked with `aria-describedby`."
160
175
  },
161
176
  "getter": false,
162
177
  "setter": false,
@@ -175,7 +190,7 @@ export class DdaSearchInput {
175
190
  "optional": true,
176
191
  "docs": {
177
192
  "tags": [],
178
- "text": ""
193
+ "text": "Status style. `disabled` shows the disabled styling only; it does not set the native `disabled` attribute."
179
194
  },
180
195
  "getter": false,
181
196
  "setter": false,
@@ -194,7 +209,7 @@ export class DdaSearchInput {
194
209
  "optional": false,
195
210
  "docs": {
196
211
  "tags": [],
197
- "text": ""
212
+ "text": "Shows the error colors."
198
213
  },
199
214
  "getter": false,
200
215
  "setter": false,
@@ -214,7 +229,7 @@ export class DdaSearchInput {
214
229
  "optional": true,
215
230
  "docs": {
216
231
  "tags": [],
217
- "text": ""
232
+ "text": "Extra CSS classes added to the field container."
218
233
  },
219
234
  "getter": false,
220
235
  "setter": false,
@@ -234,7 +249,7 @@ export class DdaSearchInput {
234
249
  "optional": true,
235
250
  "docs": {
236
251
  "tags": [],
237
- "text": ""
252
+ "text": "Theme override class for the field, e.g. `light-mode`."
238
253
  },
239
254
  "getter": false,
240
255
  "setter": false,
@@ -253,7 +268,7 @@ export class DdaSearchInput {
253
268
  "optional": true,
254
269
  "docs": {
255
270
  "tags": [],
256
- "text": ""
271
+ "text": "`id` of the clear button."
257
272
  },
258
273
  "getter": false,
259
274
  "setter": false,
@@ -272,7 +287,7 @@ export class DdaSearchInput {
272
287
  "optional": true,
273
288
  "docs": {
274
289
  "tags": [],
275
- "text": ""
290
+ "text": "`id` of the search input. Also used for the label `for` and the helper and error text ids. Optional: an id is generated when it is not set."
276
291
  },
277
292
  "getter": false,
278
293
  "setter": false,
@@ -291,7 +306,7 @@ export class DdaSearchInput {
291
306
  "optional": true,
292
307
  "docs": {
293
308
  "tags": [],
294
- "text": ""
309
+ "text": "Accessible name of the search input. Use it when there is no visible label."
295
310
  },
296
311
  "getter": false,
297
312
  "setter": false,
@@ -310,7 +325,7 @@ export class DdaSearchInput {
310
325
  "optional": true,
311
326
  "docs": {
312
327
  "tags": [],
313
- "text": ""
328
+ "text": "Accessible name of the clear button, e.g. `Clear search`."
314
329
  },
315
330
  "getter": false,
316
331
  "setter": false,
@@ -329,7 +344,7 @@ export class DdaSearchInput {
329
344
  "optional": false,
330
345
  "docs": {
331
346
  "tags": [],
332
- "text": ""
347
+ "text": "`name` of the search input, submitted with its form."
333
348
  },
334
349
  "getter": false,
335
350
  "setter": false,
@@ -348,13 +363,33 @@ export class DdaSearchInput {
348
363
  "optional": false,
349
364
  "docs": {
350
365
  "tags": [],
351
- "text": ""
366
+ "text": "`name` of the clear button."
352
367
  },
353
368
  "getter": false,
354
369
  "setter": false,
355
370
  "reflect": false,
356
371
  "attribute": "close_button_name"
357
372
  },
373
+ "clear_button_label": {
374
+ "type": "string",
375
+ "mutable": false,
376
+ "complexType": {
377
+ "original": "string",
378
+ "resolved": "string",
379
+ "references": {}
380
+ },
381
+ "required": false,
382
+ "optional": false,
383
+ "docs": {
384
+ "tags": [],
385
+ "text": "Accessible name of the clear button. `button_aria_label` wins when set."
386
+ },
387
+ "getter": false,
388
+ "setter": false,
389
+ "reflect": false,
390
+ "attribute": "clear_button_label",
391
+ "defaultValue": "'Clear search'"
392
+ },
358
393
  "search_button_name": {
359
394
  "type": "string",
360
395
  "mutable": false,
@@ -367,7 +402,7 @@ export class DdaSearchInput {
367
402
  "optional": false,
368
403
  "docs": {
369
404
  "tags": [],
370
- "text": ""
405
+ "text": "`name` of the \"Search\" button."
371
406
  },
372
407
  "getter": false,
373
408
  "setter": false,
@@ -61,10 +61,6 @@ export default {
61
61
  control: { type: 'text' },
62
62
  describe: 'Aria label for the clear button',
63
63
  },
64
- onchange: {
65
- control: { type: 'text' },
66
- description: 'onchange event for the search field',
67
- },
68
64
  search_input_name: {
69
65
  control: { type: 'text' },
70
66
  description: 'Name for the search input field',
@@ -99,7 +95,6 @@ export default {
99
95
  input_id="search"
100
96
  aria_label="search-input"
101
97
  button_aria_label="clear-search"
102
- onchange="console.log('changed')"
103
98
  search_input_name="search-input"
104
99
  close_button_name="close-button"
105
100
  search_button_name="search-button"
@@ -132,7 +127,6 @@ Default.args = {
132
127
  input_id: 'search',
133
128
  aria_label: 'search-input',
134
129
  button_aria_label: 'clear-search',
135
- onchange: '',
136
130
  search_input_name: "search-input",
137
131
  close_button_name: "close-button",
138
132
  search_button_name: "search-button",
@@ -152,7 +146,6 @@ WithButton.args = {
152
146
  input_id: 'search',
153
147
  aria_label: 'search-input',
154
148
  button_aria_label: 'clear-search',
155
- onchange: '',
156
149
  search_input_name: "search-input",
157
150
  close_button_name: "close-button",
158
151
  search_button_name: "search-button",
@@ -171,7 +164,6 @@ WithError.args = {
171
164
  input_id: 'search',
172
165
  aria_label: 'search-input',
173
166
  button_aria_label: 'clear-search',
174
- onchange: '',
175
167
  search_input_name: "search-input",
176
168
  close_button_name: "close-button",
177
169
  search_button_name: "search-button",
@@ -191,7 +183,6 @@ Disabled.args = {
191
183
  input_id: 'search',
192
184
  aria_label: 'search-input',
193
185
  button_aria_label: 'clear-search',
194
- onchange: '',
195
186
  search_input_name: "search-input",
196
187
  close_button_name: "close-button",
197
188
  search_button_name: "search-button",