@dubai-design-system/components-js 4.1.0 → 5.0.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 (595) hide show
  1. package/CHANGELOG.md +216 -0
  2. package/dist/assets/fonts/dubai/DubaiBold.ttf +0 -0
  3. package/dist/assets/fonts/dubai/DubaiBold.woff +0 -0
  4. package/dist/assets/fonts/dubai/DubaiBold.woff2 +0 -0
  5. package/dist/assets/fonts/dubai/DubaiLight.ttf +0 -0
  6. package/dist/assets/fonts/dubai/DubaiLight.woff +0 -0
  7. package/dist/assets/fonts/dubai/DubaiLight.woff2 +0 -0
  8. package/dist/assets/fonts/dubai/DubaiMedium.ttf +0 -0
  9. package/dist/assets/fonts/dubai/DubaiMedium.woff +0 -0
  10. package/dist/assets/fonts/dubai/DubaiMedium.woff2 +0 -0
  11. package/dist/assets/fonts/dubai/DubaiRegular.ttf +0 -0
  12. package/dist/assets/fonts/dubai/DubaiRegular.woff +0 -0
  13. package/dist/assets/fonts/dubai/DubaiRegular.woff2 +0 -0
  14. package/dist/cjs/dda-accordion.cjs.entry.js +7 -12
  15. package/dist/cjs/dda-alert.cjs.entry.js +21 -13
  16. package/dist/cjs/dda-attach-file.cjs.entry.js +27 -18
  17. package/dist/cjs/dda-avatar.cjs.entry.js +15 -15
  18. package/dist/cjs/dda-banner.cjs.entry.js +23 -0
  19. package/dist/cjs/dda-breadcrumb.cjs.entry.js +5 -11
  20. package/dist/cjs/dda-button.cjs.entry.js +6 -11
  21. package/dist/cjs/dda-checkbox.cjs.entry.js +5 -11
  22. package/dist/cjs/dda-chip.cjs.entry.js +5 -11
  23. package/dist/cjs/dda-credit-card.cjs.entry.js +5 -11
  24. package/dist/cjs/dda-creditcard-field.cjs.entry.js +23 -11
  25. package/dist/cjs/dda-dropdown.cjs.entry.js +5 -11
  26. package/dist/cjs/dda-footer.cjs.entry.js +5 -8
  27. package/dist/cjs/dda-header.cjs.entry.js +123 -25
  28. package/dist/cjs/dda-home-banner.cjs.entry.js +204 -0
  29. package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +5 -11
  30. package/dist/cjs/dda-input.cjs.entry.js +23 -11
  31. package/dist/cjs/dda-link-button_2.cjs.entry.js +19 -22
  32. package/dist/cjs/dda-number-field.cjs.entry.js +20 -11
  33. package/dist/cjs/dda-pagination.cjs.entry.js +17 -19
  34. package/dist/cjs/dda-phonefield.cjs.entry.js +201 -189
  35. package/dist/cjs/dda-progressbar.cjs.entry.js +6 -11
  36. package/dist/cjs/dda-range-slider.cjs.entry.js +5 -10
  37. package/dist/cjs/dda-search-input.cjs.entry.js +24 -14
  38. package/dist/cjs/dda-segmented-tabs.cjs.entry.js +32 -13
  39. package/dist/cjs/dda-select.cjs.entry.js +115 -12
  40. package/dist/cjs/dda-sticky-footer.cjs.entry.js +21 -8
  41. package/dist/cjs/dda-tabs.cjs.entry.js +36 -19
  42. package/dist/cjs/dda-textarea.cjs.entry.js +6131 -6168
  43. package/dist/cjs/dda-toggle.cjs.entry.js +5 -11
  44. package/dist/cjs/dda-tooltip.cjs.entry.js +46 -0
  45. package/dist/cjs/dda-ui-card.cjs.entry.js +26 -0
  46. package/dist/cjs/dda-vertical-stepper.cjs.entry.js +4 -9
  47. package/dist/cjs/dda.cjs.js +7 -10
  48. package/dist/cjs/index-Ca7K0Ebk.js +1986 -0
  49. package/dist/cjs/index.cjs.js +12 -16
  50. package/dist/cjs/loader.cjs.js +3 -8
  51. package/dist/collection/assets/countries.js +179 -179
  52. package/dist/collection/assets/digital-logo.svg +82 -82
  53. package/dist/collection/assets/fonts/dubai/DubaiBold.svg +5922 -5922
  54. package/dist/collection/assets/fonts/dubai/DubaiLight.svg +5935 -5935
  55. package/dist/collection/assets/fonts/dubai/DubaiMedium.svg +5926 -5926
  56. package/dist/collection/assets/fonts/dubai/DubaiRegular.svg +5925 -5925
  57. package/dist/collection/assets/img/dda-icon-logo.svg +4 -4
  58. package/dist/collection/assets/img/digital-logo-white.svg +82 -82
  59. package/dist/collection/assets/img/digital-logo.svg +82 -82
  60. package/dist/collection/assets/img/icn/DubaiAI.svg +267 -267
  61. package/dist/collection/assets/img/icn/icn-Excel.svg +9 -9
  62. package/dist/collection/assets/img/icn/icn-Image.svg +6 -6
  63. package/dist/collection/assets/img/icn/icn-OneNote.svg +6 -6
  64. package/dist/collection/assets/img/icn/icn-PDF.svg +7 -7
  65. package/dist/collection/assets/img/icn/icn-PowerPoint.svg +10 -10
  66. package/dist/collection/assets/img/icn/icn-Video.svg +5 -5
  67. package/dist/collection/assets/img/icn/icn-Word.svg +10 -10
  68. package/dist/collection/assets/img/icn/icn-accessibility-dark.svg +3 -3
  69. package/dist/collection/assets/img/icn/icn-apple-dark.svg +3 -3
  70. package/dist/collection/assets/img/icn/icn-apple.svg +3 -3
  71. package/dist/collection/assets/img/icn/icn-chat_bubble_outline.svg +3 -3
  72. package/dist/collection/assets/img/icn/icn-complaints.svg +28 -28
  73. package/dist/collection/assets/img/icn/icn-facebook-dark.svg +4 -4
  74. package/dist/collection/assets/img/icn/icn-facebook.svg +11 -11
  75. package/dist/collection/assets/img/icn/icn-google-dark.svg +13 -13
  76. package/dist/collection/assets/img/icn/icn-google.svg +13 -13
  77. package/dist/collection/assets/img/icn/icn-grid-view.svg +3 -3
  78. package/dist/collection/assets/img/icn/icn-happy.svg +3 -3
  79. package/dist/collection/assets/img/icn/icn-instagram-dark.svg +12 -12
  80. package/dist/collection/assets/img/icn/icn-instagram.svg +30 -30
  81. package/dist/collection/assets/img/icn/icn-search-dark.svg +3 -3
  82. package/dist/collection/assets/img/icn/icn-user-dark.svg +3 -3
  83. package/dist/collection/collection-manifest.json +6 -2
  84. package/dist/collection/components/dda-accordion/dda-accordion.css +82 -72
  85. package/dist/collection/components/dda-accordion/dda-accordion.js +30 -10
  86. package/dist/collection/components/dda-accordion/dda-accordion.stories.js +19 -13
  87. package/dist/collection/components/dda-alert/dda-alert.css +148 -148
  88. package/dist/collection/components/dda-alert/dda-alert.js +118 -16
  89. package/dist/collection/components/dda-alert/dda-alert.stories.js +39 -33
  90. package/dist/collection/components/dda-attach-file/dda-attach-file.js +75 -23
  91. package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js +38 -21
  92. package/dist/collection/components/dda-avatar/dda-avatar.css +306 -280
  93. package/dist/collection/components/dda-avatar/dda-avatar.js +48 -23
  94. package/dist/collection/components/dda-avatar/dda-avatar.stories.js +51 -43
  95. package/dist/collection/components/dda-banner/dda-banner.css +3 -0
  96. package/dist/collection/components/dda-banner/dda-banner.js +90 -0
  97. package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.css +58 -58
  98. package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js +6 -7
  99. package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js +16 -17
  100. package/dist/collection/components/dda-button/dda-button.js +39 -19
  101. package/dist/collection/components/dda-button/dda-button.stories.js +26 -17
  102. package/dist/collection/components/dda-checkbox/dda-checkbox.css +119 -119
  103. package/dist/collection/components/dda-checkbox/dda-checkbox.js +22 -23
  104. package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js +18 -19
  105. package/dist/collection/components/dda-chip/dda-chip.css +113 -100
  106. package/dist/collection/components/dda-chip/dda-chip.js +12 -13
  107. package/dist/collection/components/dda-chip/dda-chip.stories.js +17 -18
  108. package/dist/collection/components/dda-credit-card/dda-credit-card.css +109 -103
  109. package/dist/collection/components/dda-credit-card/dda-credit-card.js +14 -15
  110. package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js +14 -15
  111. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +84 -28
  112. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +39 -22
  113. package/dist/collection/components/dda-dropdown/dda-dropdown.js +60 -23
  114. package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js +38 -21
  115. package/dist/collection/components/dda-footer/dda-footer.js +21 -23
  116. package/dist/collection/components/dda-footer/dda-footer.stories.js +29 -30
  117. package/dist/collection/components/dda-header/dda-header.css +36 -0
  118. package/dist/collection/components/dda-header/dda-header.js +418 -26
  119. package/dist/collection/components/dda-header/dda-header.stories.js +151 -60
  120. package/dist/collection/components/dda-home-banner/dda-home-banner.js +397 -0
  121. package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js +94 -0
  122. package/dist/collection/components/dda-home-banner/home-banner.css +195 -0
  123. package/dist/collection/components/dda-input/dda-input.js +63 -27
  124. package/dist/collection/components/dda-input/dda-input.stories.js +33 -21
  125. package/dist/collection/components/dda-link-button/dda-link-button.js +20 -21
  126. package/dist/collection/components/dda-link-button/dda-link-button.stories.js +16 -17
  127. package/dist/collection/components/dda-number-field/dda-number-field.js +99 -28
  128. package/dist/collection/components/dda-number-field/dda-number-field.stories.js +47 -24
  129. package/dist/collection/components/dda-pagination/dda-pagination.css +175 -167
  130. package/dist/collection/components/dda-pagination/dda-pagination.js +241 -14
  131. package/dist/collection/components/dda-pagination/dda-pagination.stories.js +156 -13
  132. package/dist/collection/components/dda-phonefield/dda-phonefield.js +120 -26
  133. package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +60 -20
  134. package/dist/collection/components/dda-progressbar/dda-progressbar.css +98 -94
  135. package/dist/collection/components/dda-progressbar/dda-progressbar.js +30 -10
  136. package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js +19 -14
  137. package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +3811 -3470
  138. package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +22 -23
  139. package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js +18 -19
  140. package/dist/collection/components/dda-range-slider/dda-range-slider.css +152 -136
  141. package/dist/collection/components/dda-range-slider/dda-range-slider.js +60 -23
  142. package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js +34 -19
  143. package/dist/collection/components/dda-search-input/dda-search-input.js +116 -24
  144. package/dist/collection/components/dda-search-input/dda-search-input.stories.js +57 -22
  145. package/dist/collection/components/dda-select/dda-select.js +173 -25
  146. package/dist/collection/components/dda-select/dda-select.stories.js +36 -19
  147. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +161 -83
  148. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +68 -56
  149. package/dist/collection/components/dda-tabs/dda-tabs.css +119 -119
  150. package/dist/collection/components/dda-tabs/dda-tabs.js +119 -21
  151. package/dist/collection/components/dda-tabs/dda-tabs.stories.js +42 -16
  152. package/dist/collection/components/dda-textarea/dda-textarea.js +116 -29
  153. package/dist/collection/components/dda-textarea/dda-textarea.stories.js +27 -19
  154. package/dist/collection/components/dda-toggle/dda-toggle.css +119 -119
  155. package/dist/collection/components/dda-toggle/dda-toggle.js +14 -15
  156. package/dist/collection/components/dda-toggle/dda-toggle.stories.js +17 -18
  157. package/dist/collection/components/dda-tooltip/dda-tooltip.css +146 -130
  158. package/dist/collection/components/dda-tooltip/dda-tooltip.js +39 -10
  159. package/dist/collection/components/dda-tooltip/dda-tooltip.stories.js +16 -17
  160. package/dist/collection/components/dda-ui-card/dda-ui-card.css +3 -0
  161. package/dist/collection/components/dda-ui-card/dda-ui-card.js +209 -0
  162. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.css +51 -51
  163. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +116 -12
  164. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js +39 -13
  165. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +120 -108
  166. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +8 -9
  167. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js +19 -20
  168. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.css +112 -112
  169. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +7 -8
  170. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js +19 -20
  171. package/dist/collection/global/dda-button.css +611 -580
  172. package/dist/collection/global/global.css +3687 -3346
  173. package/dist/collection/global/input.css +676 -615
  174. package/dist/collection/index.js +0 -1
  175. package/dist/collection/utils/applyTheme.js +12 -12
  176. package/dist/collection/utils/contrast.js +38 -0
  177. package/dist/collection/utils/utils.js +0 -1
  178. package/dist/components/dda-accordion.js +1 -54
  179. package/dist/components/dda-alert.js +1 -60
  180. package/dist/components/dda-attach-file.js +1 -107
  181. package/dist/components/dda-avatar.js +1 -91
  182. package/dist/components/dda-banner.d.ts +11 -0
  183. package/dist/components/dda-banner.js +1 -0
  184. package/dist/components/dda-breadcrumb.js +1 -55
  185. package/dist/components/dda-button.js +1 -8
  186. package/dist/components/dda-checkbox.js +1 -60
  187. package/dist/components/dda-chip.js +1 -51
  188. package/dist/components/dda-credit-card.js +1 -54
  189. package/dist/components/dda-creditcard-field.js +1 -97
  190. package/dist/components/dda-dropdown.js +1 -86
  191. package/dist/components/dda-footer.js +1 -64
  192. package/dist/components/dda-header.js +1 -155
  193. package/dist/components/dda-home-banner.d.ts +11 -0
  194. package/dist/components/dda-home-banner.js +1 -0
  195. package/dist/components/dda-horizontal-stepper.js +1 -50
  196. package/dist/components/dda-input.js +1 -67
  197. package/dist/components/dda-link-button.js +1 -8
  198. package/dist/components/dda-number-field.js +1 -98
  199. package/dist/components/dda-pagination.js +1 -103
  200. package/dist/components/dda-phonefield.js +1 -277
  201. package/dist/components/dda-progressbar.js +1 -53
  202. package/dist/components/dda-radiobutton.js +1 -8
  203. package/dist/components/dda-range-slider.js +1 -80
  204. package/dist/components/dda-search-input.js +1 -68
  205. package/dist/components/dda-segmented-tabs.js +1 -50
  206. package/dist/components/dda-select.js +1 -76
  207. package/dist/components/dda-sticky-footer.js +1 -89
  208. package/dist/components/dda-tabs.js +1 -61
  209. package/dist/components/dda-textarea.js +1 -16461
  210. package/dist/components/dda-toggle.js +1 -54
  211. package/dist/components/dda-tooltip.js +1 -8
  212. package/dist/components/dda-ui-card.d.ts +11 -0
  213. package/dist/components/dda-ui-card.js +1 -0
  214. package/dist/components/dda-vertical-stepper.js +1 -48
  215. package/dist/components/index.d.ts +2 -0
  216. package/dist/components/index.js +1 -23
  217. package/dist/components/p-BbQk3lNN.js +1 -0
  218. package/dist/components/p-BqPGP84L.js +1 -0
  219. package/dist/components/p-C90V7afZ.js +1 -0
  220. package/dist/components/p-Ceq73F9H.js +1 -0
  221. package/dist/components/p-CfeBxzCg.js +1 -0
  222. package/dist/dda/dda.css +56 -0
  223. package/dist/dda/dda.esm.js +1 -2
  224. package/dist/dda/index.esm.js +1 -2
  225. package/dist/dda/p-01766265.entry.js +1 -0
  226. package/dist/dda/p-0a3ea903.entry.js +1 -0
  227. package/dist/dda/p-120f0401.entry.js +1 -0
  228. package/dist/dda/p-1620415e.entry.js +1 -0
  229. package/dist/dda/p-18708284.entry.js +1 -0
  230. package/dist/dda/p-1d6d33cd.entry.js +1 -0
  231. package/dist/dda/p-350a04cf.entry.js +1 -0
  232. package/dist/dda/p-3f06f0e2.entry.js +1 -0
  233. package/dist/dda/p-4918df54.entry.js +1 -0
  234. package/dist/dda/p-4a4d087e.entry.js +1 -0
  235. package/dist/dda/p-4ac55d0c.entry.js +1 -0
  236. package/dist/dda/p-4b33da48.entry.js +1 -0
  237. package/dist/dda/p-4d2e2594.entry.js +1 -0
  238. package/dist/dda/p-5473440a.entry.js +1 -0
  239. package/dist/dda/p-554c72d7.entry.js +1 -0
  240. package/dist/dda/p-565c8d35.entry.js +1 -0
  241. package/dist/dda/p-56dc112a.entry.js +1 -0
  242. package/dist/dda/p-64d2b705.entry.js +1 -0
  243. package/dist/dda/p-64e59960.entry.js +1 -0
  244. package/dist/dda/p-6e926e1f.entry.js +1 -0
  245. package/dist/dda/p-73501746.entry.js +1 -0
  246. package/dist/dda/p-82af7b9c.entry.js +1 -0
  247. package/dist/dda/p-865ad76f.entry.js +1 -0
  248. package/dist/dda/p-89799487.entry.js +1 -0
  249. package/dist/dda/p-8e923011.entry.js +1 -0
  250. package/dist/dda/p-9292f9d9.entry.js +1 -0
  251. package/dist/dda/p-Dx9UtVJC.js +2 -0
  252. package/dist/dda/p-a543b2cf.entry.js +1 -0
  253. package/dist/dda/p-c5471384.entry.js +1 -0
  254. package/dist/dda/p-ca3c6a47.entry.js +1 -0
  255. package/dist/dda/p-d2556e9d.entry.js +1 -0
  256. package/dist/dda/p-eca22ee5.entry.js +1 -0
  257. package/dist/dda/p-ee977745.entry.js +1 -0
  258. package/dist/dda/p-f1cdcaa2.entry.js +1 -0
  259. package/dist/esm/dda-accordion.entry.js +7 -10
  260. package/dist/esm/dda-alert.entry.js +21 -11
  261. package/dist/esm/dda-attach-file.entry.js +27 -16
  262. package/dist/esm/dda-avatar.entry.js +15 -13
  263. package/dist/esm/dda-banner.entry.js +21 -0
  264. package/dist/esm/dda-breadcrumb.entry.js +5 -9
  265. package/dist/esm/dda-button.entry.js +6 -9
  266. package/dist/esm/dda-checkbox.entry.js +5 -9
  267. package/dist/esm/dda-chip.entry.js +5 -9
  268. package/dist/esm/dda-credit-card.entry.js +5 -9
  269. package/dist/esm/dda-creditcard-field.entry.js +23 -9
  270. package/dist/esm/dda-dropdown.entry.js +5 -9
  271. package/dist/esm/dda-footer.entry.js +6 -7
  272. package/dist/esm/dda-header.entry.js +123 -23
  273. package/dist/esm/dda-home-banner.entry.js +202 -0
  274. package/dist/esm/dda-horizontal-stepper.entry.js +5 -9
  275. package/dist/esm/dda-input.entry.js +23 -9
  276. package/dist/esm/dda-link-button_2.entry.js +19 -20
  277. package/dist/esm/dda-number-field.entry.js +20 -9
  278. package/dist/esm/dda-pagination.entry.js +17 -17
  279. package/dist/esm/dda-phonefield.entry.js +201 -187
  280. package/dist/esm/dda-progressbar.entry.js +6 -9
  281. package/dist/esm/dda-range-slider.entry.js +5 -8
  282. package/dist/esm/dda-search-input.entry.js +24 -12
  283. package/dist/esm/dda-segmented-tabs.entry.js +32 -11
  284. package/dist/esm/dda-select.entry.js +115 -10
  285. package/dist/esm/dda-sticky-footer.entry.js +22 -7
  286. package/dist/esm/dda-tabs.entry.js +36 -17
  287. package/dist/esm/dda-textarea.entry.js +6131 -6166
  288. package/dist/esm/dda-toggle.entry.js +5 -9
  289. package/dist/esm/dda-tooltip.entry.js +44 -0
  290. package/dist/esm/dda-ui-card.entry.js +24 -0
  291. package/dist/esm/dda-vertical-stepper.entry.js +4 -7
  292. package/dist/esm/dda.js +5 -7
  293. package/dist/esm/index-Dx9UtVJC.js +1976 -0
  294. package/dist/esm/index.js +12 -14
  295. package/dist/esm/loader.js +3 -6
  296. package/dist/types/components/dda-accordion/dda-accordion.d.ts +1 -0
  297. package/dist/types/components/dda-accordion/dda-accordion.stories.d.ts +4 -0
  298. package/dist/types/components/dda-alert/dda-alert.d.ts +9 -0
  299. package/dist/types/components/dda-alert/dda-alert.stories.d.ts +4 -0
  300. package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +5 -0
  301. package/dist/types/components/dda-attach-file/dda-attach-file.stories.d.ts +8 -0
  302. package/dist/types/components/dda-avatar/dda-avatar.d.ts +1 -0
  303. package/dist/types/components/dda-avatar/dda-avatar.stories.d.ts +6 -0
  304. package/dist/types/components/dda-banner/dda-banner.d.ts +13 -0
  305. package/dist/types/components/dda-button/dda-button.d.ts +1 -0
  306. package/dist/types/components/dda-button/dda-button.stories.d.ts +6 -0
  307. package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +5 -0
  308. package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +12 -0
  309. package/dist/types/components/dda-dropdown/dda-dropdown.d.ts +2 -0
  310. package/dist/types/components/dda-dropdown/dda-dropdown.stories.d.ts +12 -0
  311. package/dist/types/components/dda-header/dda-header.d.ts +25 -1
  312. package/dist/types/components/dda-header/dda-header.stories.d.ts +62 -0
  313. package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +56 -0
  314. package/dist/types/components/dda-home-banner/dda-home-banner.stories.d.ts +51 -0
  315. package/dist/types/components/dda-input/dda-input.d.ts +4 -0
  316. package/dist/types/components/dda-input/dda-input.stories.d.ts +6 -0
  317. package/dist/types/components/dda-number-field/dda-number-field.d.ts +6 -0
  318. package/dist/types/components/dda-number-field/dda-number-field.stories.d.ts +18 -0
  319. package/dist/types/components/dda-pagination/dda-pagination.d.ts +12 -0
  320. package/dist/types/components/dda-pagination/dda-pagination.stories.d.ts +72 -0
  321. package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +7 -0
  322. package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +24 -0
  323. package/dist/types/components/dda-progressbar/dda-progressbar.d.ts +1 -0
  324. package/dist/types/components/dda-progressbar/dda-progressbar.stories.d.ts +7 -0
  325. package/dist/types/components/dda-range-slider/dda-range-slider.d.ts +2 -0
  326. package/dist/types/components/dda-range-slider/dda-range-slider.stories.d.ts +12 -0
  327. package/dist/types/components/dda-search-input/dda-search-input.d.ts +7 -0
  328. package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +24 -0
  329. package/dist/types/components/dda-select/dda-select.d.ts +15 -0
  330. package/dist/types/components/dda-select/dda-select.stories.d.ts +12 -0
  331. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +9 -0
  332. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +8 -0
  333. package/dist/types/components/dda-tabs/dda-tabs.d.ts +8 -4
  334. package/dist/types/components/dda-tabs/dda-tabs.stories.d.ts +16 -0
  335. package/dist/types/components/dda-textarea/dda-textarea.d.ts +7 -0
  336. package/dist/types/components/dda-textarea/dda-textarea.stories.d.ts +6 -0
  337. package/dist/types/components/dda-tooltip/dda-tooltip.d.ts +6 -0
  338. package/dist/types/components/dda-ui-card/dda-ui-card.d.ts +13 -0
  339. package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.d.ts +13 -0
  340. package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.d.ts +18 -0
  341. package/dist/types/components.d.ts +1559 -70
  342. package/dist/types/stencil-public-runtime.d.ts +193 -12
  343. package/dist/types/utils/contrast.d.ts +19 -0
  344. package/package.json +34 -10
  345. package/readme.md +80 -78
  346. package/LICENSE +0 -21
  347. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  348. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  349. package/dist/cjs/dda-accordion.cjs.entry.js.map +0 -1
  350. package/dist/cjs/dda-alert.cjs.entry.js.map +0 -1
  351. package/dist/cjs/dda-attach-file.cjs.entry.js.map +0 -1
  352. package/dist/cjs/dda-avatar.cjs.entry.js.map +0 -1
  353. package/dist/cjs/dda-breadcrumb.cjs.entry.js.map +0 -1
  354. package/dist/cjs/dda-button.cjs.entry.js.map +0 -1
  355. package/dist/cjs/dda-checkbox.cjs.entry.js.map +0 -1
  356. package/dist/cjs/dda-chip.cjs.entry.js.map +0 -1
  357. package/dist/cjs/dda-credit-card.cjs.entry.js.map +0 -1
  358. package/dist/cjs/dda-creditcard-field.cjs.entry.js.map +0 -1
  359. package/dist/cjs/dda-dropdown.cjs.entry.js.map +0 -1
  360. package/dist/cjs/dda-footer.cjs.entry.js.map +0 -1
  361. package/dist/cjs/dda-header.cjs.entry.js.map +0 -1
  362. package/dist/cjs/dda-horizontal-stepper.cjs.entry.js.map +0 -1
  363. package/dist/cjs/dda-input.cjs.entry.js.map +0 -1
  364. package/dist/cjs/dda-link-button_2.cjs.entry.js.map +0 -1
  365. package/dist/cjs/dda-number-field.cjs.entry.js.map +0 -1
  366. package/dist/cjs/dda-pagination.cjs.entry.js.map +0 -1
  367. package/dist/cjs/dda-phonefield.cjs.entry.js.map +0 -1
  368. package/dist/cjs/dda-progressbar.cjs.entry.js.map +0 -1
  369. package/dist/cjs/dda-radiobutton.cjs.entry.js +0 -31
  370. package/dist/cjs/dda-radiobutton.cjs.entry.js.map +0 -1
  371. package/dist/cjs/dda-range-slider.cjs.entry.js.map +0 -1
  372. package/dist/cjs/dda-search-input.cjs.entry.js.map +0 -1
  373. package/dist/cjs/dda-segmented-tabs.cjs.entry.js.map +0 -1
  374. package/dist/cjs/dda-select.cjs.entry.js.map +0 -1
  375. package/dist/cjs/dda-sticky-footer.cjs.entry.js.map +0 -1
  376. package/dist/cjs/dda-tabs.cjs.entry.js.map +0 -1
  377. package/dist/cjs/dda-textarea.cjs.entry.js.map +0 -1
  378. package/dist/cjs/dda-toggle.cjs.entry.js.map +0 -1
  379. package/dist/cjs/dda-vertical-stepper.cjs.entry.js.map +0 -1
  380. package/dist/cjs/dda.cjs.js.map +0 -1
  381. package/dist/cjs/index-a2fa4928.js +0 -1619
  382. package/dist/cjs/index-a2fa4928.js.map +0 -1
  383. package/dist/cjs/index.cjs.js.map +0 -1
  384. package/dist/cjs/loader.cjs.js.map +0 -1
  385. package/dist/collection/components/dda-accordion/dda-accordion.js.map +0 -1
  386. package/dist/collection/components/dda-accordion/dda-accordion.stories.js.map +0 -1
  387. package/dist/collection/components/dda-alert/dda-alert.js.map +0 -1
  388. package/dist/collection/components/dda-alert/dda-alert.stories.js.map +0 -1
  389. package/dist/collection/components/dda-attach-file/dda-attach-file.js.map +0 -1
  390. package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js.map +0 -1
  391. package/dist/collection/components/dda-avatar/dda-avatar.js.map +0 -1
  392. package/dist/collection/components/dda-avatar/dda-avatar.stories.js.map +0 -1
  393. package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js.map +0 -1
  394. package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js.map +0 -1
  395. package/dist/collection/components/dda-button/dda-button.js.map +0 -1
  396. package/dist/collection/components/dda-button/dda-button.stories.js.map +0 -1
  397. package/dist/collection/components/dda-checkbox/dda-checkbox.js.map +0 -1
  398. package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js.map +0 -1
  399. package/dist/collection/components/dda-chip/dda-chip.js.map +0 -1
  400. package/dist/collection/components/dda-chip/dda-chip.stories.js.map +0 -1
  401. package/dist/collection/components/dda-credit-card/dda-credit-card.js.map +0 -1
  402. package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js.map +0 -1
  403. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js.map +0 -1
  404. package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js.map +0 -1
  405. package/dist/collection/components/dda-dropdown/dda-dropdown.js.map +0 -1
  406. package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js.map +0 -1
  407. package/dist/collection/components/dda-footer/dda-footer.js.map +0 -1
  408. package/dist/collection/components/dda-footer/dda-footer.stories.js.map +0 -1
  409. package/dist/collection/components/dda-header/dda-header.js.map +0 -1
  410. package/dist/collection/components/dda-header/dda-header.stories.js.map +0 -1
  411. package/dist/collection/components/dda-input/dda-input.js.map +0 -1
  412. package/dist/collection/components/dda-input/dda-input.stories.js.map +0 -1
  413. package/dist/collection/components/dda-link-button/dda-link-button.js.map +0 -1
  414. package/dist/collection/components/dda-link-button/dda-link-button.stories.js.map +0 -1
  415. package/dist/collection/components/dda-number-field/dda-number-field.js.map +0 -1
  416. package/dist/collection/components/dda-number-field/dda-number-field.stories.js.map +0 -1
  417. package/dist/collection/components/dda-pagination/dda-pagination.js.map +0 -1
  418. package/dist/collection/components/dda-pagination/dda-pagination.stories.js.map +0 -1
  419. package/dist/collection/components/dda-phonefield/dda-phonefield.js.map +0 -1
  420. package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js.map +0 -1
  421. package/dist/collection/components/dda-progressbar/dda-progressbar.js.map +0 -1
  422. package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js.map +0 -1
  423. package/dist/collection/components/dda-radiobutton/dda-radiobutton.js.map +0 -1
  424. package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js.map +0 -1
  425. package/dist/collection/components/dda-range-slider/dda-range-slider.js.map +0 -1
  426. package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js.map +0 -1
  427. package/dist/collection/components/dda-search-input/dda-search-input.js.map +0 -1
  428. package/dist/collection/components/dda-search-input/dda-search-input.stories.js.map +0 -1
  429. package/dist/collection/components/dda-select/dda-select.js.map +0 -1
  430. package/dist/collection/components/dda-select/dda-select.stories.js.map +0 -1
  431. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js.map +0 -1
  432. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js.map +0 -1
  433. package/dist/collection/components/dda-tabs/dda-tabs.js.map +0 -1
  434. package/dist/collection/components/dda-tabs/dda-tabs.stories.js.map +0 -1
  435. package/dist/collection/components/dda-textarea/dda-textarea.js.map +0 -1
  436. package/dist/collection/components/dda-textarea/dda-textarea.stories.js.map +0 -1
  437. package/dist/collection/components/dda-toggle/dda-toggle.js.map +0 -1
  438. package/dist/collection/components/dda-toggle/dda-toggle.stories.js.map +0 -1
  439. package/dist/collection/components/dda-tooltip/dda-tooltip.js.map +0 -1
  440. package/dist/collection/components/dda-tooltip/dda-tooltip.stories.js.map +0 -1
  441. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js.map +0 -1
  442. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js.map +0 -1
  443. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js.map +0 -1
  444. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js.map +0 -1
  445. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js.map +0 -1
  446. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js.map +0 -1
  447. package/dist/collection/index.js.map +0 -1
  448. package/dist/collection/utils/utils.js.map +0 -1
  449. package/dist/components/dda-accordion.js.map +0 -1
  450. package/dist/components/dda-alert.js.map +0 -1
  451. package/dist/components/dda-attach-file.js.map +0 -1
  452. package/dist/components/dda-avatar.js.map +0 -1
  453. package/dist/components/dda-breadcrumb.js.map +0 -1
  454. package/dist/components/dda-button.js.map +0 -1
  455. package/dist/components/dda-checkbox.js.map +0 -1
  456. package/dist/components/dda-chip.js.map +0 -1
  457. package/dist/components/dda-credit-card.js.map +0 -1
  458. package/dist/components/dda-creditcard-field.js.map +0 -1
  459. package/dist/components/dda-dropdown.js.map +0 -1
  460. package/dist/components/dda-footer.js.map +0 -1
  461. package/dist/components/dda-header.js.map +0 -1
  462. package/dist/components/dda-horizontal-stepper.js.map +0 -1
  463. package/dist/components/dda-input.js.map +0 -1
  464. package/dist/components/dda-link-button.js.map +0 -1
  465. package/dist/components/dda-number-field.js.map +0 -1
  466. package/dist/components/dda-pagination.js.map +0 -1
  467. package/dist/components/dda-phonefield.js.map +0 -1
  468. package/dist/components/dda-progressbar.js.map +0 -1
  469. package/dist/components/dda-radiobutton.js.map +0 -1
  470. package/dist/components/dda-range-slider.js.map +0 -1
  471. package/dist/components/dda-search-input.js.map +0 -1
  472. package/dist/components/dda-segmented-tabs.js.map +0 -1
  473. package/dist/components/dda-select.js.map +0 -1
  474. package/dist/components/dda-sticky-footer.js.map +0 -1
  475. package/dist/components/dda-tabs.js.map +0 -1
  476. package/dist/components/dda-textarea.js.map +0 -1
  477. package/dist/components/dda-toggle.js.map +0 -1
  478. package/dist/components/dda-tooltip.js.map +0 -1
  479. package/dist/components/dda-vertical-stepper.js.map +0 -1
  480. package/dist/components/index.js.map +0 -1
  481. package/dist/components/p-562afefe.js +0 -73
  482. package/dist/components/p-562afefe.js.map +0 -1
  483. package/dist/components/p-6f74eccd.js +0 -1422
  484. package/dist/components/p-6f74eccd.js.map +0 -1
  485. package/dist/components/p-96fcc6bd.js +0 -54
  486. package/dist/components/p-96fcc6bd.js.map +0 -1
  487. package/dist/components/p-ad0417cc.js +0 -44
  488. package/dist/components/p-ad0417cc.js.map +0 -1
  489. package/dist/components/p-f15e5894.js +0 -76
  490. package/dist/components/p-f15e5894.js.map +0 -1
  491. package/dist/dda/dda.esm.js.map +0 -1
  492. package/dist/dda/index.esm.js.map +0 -1
  493. package/dist/dda/p-01b4ec07.entry.js +0 -2
  494. package/dist/dda/p-01b4ec07.entry.js.map +0 -1
  495. package/dist/dda/p-231440d1.entry.js +0 -2
  496. package/dist/dda/p-231440d1.entry.js.map +0 -1
  497. package/dist/dda/p-2e604126.entry.js +0 -2
  498. package/dist/dda/p-2e604126.entry.js.map +0 -1
  499. package/dist/dda/p-31699358.entry.js +0 -2
  500. package/dist/dda/p-31699358.entry.js.map +0 -1
  501. package/dist/dda/p-33561c6d.entry.js +0 -2
  502. package/dist/dda/p-33561c6d.entry.js.map +0 -1
  503. package/dist/dda/p-36561409.entry.js +0 -2
  504. package/dist/dda/p-36561409.entry.js.map +0 -1
  505. package/dist/dda/p-3c099577.entry.js +0 -2
  506. package/dist/dda/p-3c099577.entry.js.map +0 -1
  507. package/dist/dda/p-3cdb54c4.entry.js +0 -2
  508. package/dist/dda/p-3cdb54c4.entry.js.map +0 -1
  509. package/dist/dda/p-3d5608f7.entry.js +0 -2
  510. package/dist/dda/p-3d5608f7.entry.js.map +0 -1
  511. package/dist/dda/p-3fffdb8b.entry.js +0 -2
  512. package/dist/dda/p-3fffdb8b.entry.js.map +0 -1
  513. package/dist/dda/p-466f931b.entry.js +0 -2
  514. package/dist/dda/p-466f931b.entry.js.map +0 -1
  515. package/dist/dda/p-4d0d3545.entry.js +0 -2
  516. package/dist/dda/p-4d0d3545.entry.js.map +0 -1
  517. package/dist/dda/p-511fae4e.entry.js +0 -2
  518. package/dist/dda/p-511fae4e.entry.js.map +0 -1
  519. package/dist/dda/p-540284f3.entry.js +0 -2
  520. package/dist/dda/p-540284f3.entry.js.map +0 -1
  521. package/dist/dda/p-578b6d01.entry.js +0 -2
  522. package/dist/dda/p-578b6d01.entry.js.map +0 -1
  523. package/dist/dda/p-6b401fde.js +0 -3
  524. package/dist/dda/p-6b401fde.js.map +0 -1
  525. package/dist/dda/p-8c970299.entry.js +0 -2
  526. package/dist/dda/p-8c970299.entry.js.map +0 -1
  527. package/dist/dda/p-8ffca988.entry.js +0 -2
  528. package/dist/dda/p-8ffca988.entry.js.map +0 -1
  529. package/dist/dda/p-9c619a7a.entry.js +0 -2
  530. package/dist/dda/p-9c619a7a.entry.js.map +0 -1
  531. package/dist/dda/p-9c693b51.entry.js +0 -2
  532. package/dist/dda/p-9c693b51.entry.js.map +0 -1
  533. package/dist/dda/p-a5b7698d.entry.js +0 -2
  534. package/dist/dda/p-a5b7698d.entry.js.map +0 -1
  535. package/dist/dda/p-a83fa6d1.entry.js +0 -2
  536. package/dist/dda/p-a83fa6d1.entry.js.map +0 -1
  537. package/dist/dda/p-ade2b279.entry.js +0 -2
  538. package/dist/dda/p-ade2b279.entry.js.map +0 -1
  539. package/dist/dda/p-aec2f087.entry.js +0 -2
  540. package/dist/dda/p-aec2f087.entry.js.map +0 -1
  541. package/dist/dda/p-bf69dfab.entry.js +0 -2
  542. package/dist/dda/p-bf69dfab.entry.js.map +0 -1
  543. package/dist/dda/p-ccf23fd7.entry.js +0 -2
  544. package/dist/dda/p-ccf23fd7.entry.js.map +0 -1
  545. package/dist/dda/p-d6a16216.entry.js +0 -2
  546. package/dist/dda/p-d6a16216.entry.js.map +0 -1
  547. package/dist/dda/p-dbba8d56.entry.js +0 -2
  548. package/dist/dda/p-dbba8d56.entry.js.map +0 -1
  549. package/dist/dda/p-e1255160.js +0 -2
  550. package/dist/dda/p-e1255160.js.map +0 -1
  551. package/dist/dda/p-e4d6f6cb.entry.js +0 -2
  552. package/dist/dda/p-e4d6f6cb.entry.js.map +0 -1
  553. package/dist/dda/p-e550c988.entry.js +0 -2
  554. package/dist/dda/p-e550c988.entry.js.map +0 -1
  555. package/dist/dda/p-ed0795e7.entry.js +0 -2
  556. package/dist/dda/p-ed0795e7.entry.js.map +0 -1
  557. package/dist/esm/app-globals-0f993ce5.js +0 -5
  558. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  559. package/dist/esm/dda-accordion.entry.js.map +0 -1
  560. package/dist/esm/dda-alert.entry.js.map +0 -1
  561. package/dist/esm/dda-attach-file.entry.js.map +0 -1
  562. package/dist/esm/dda-avatar.entry.js.map +0 -1
  563. package/dist/esm/dda-breadcrumb.entry.js.map +0 -1
  564. package/dist/esm/dda-button.entry.js.map +0 -1
  565. package/dist/esm/dda-checkbox.entry.js.map +0 -1
  566. package/dist/esm/dda-chip.entry.js.map +0 -1
  567. package/dist/esm/dda-credit-card.entry.js.map +0 -1
  568. package/dist/esm/dda-creditcard-field.entry.js.map +0 -1
  569. package/dist/esm/dda-dropdown.entry.js.map +0 -1
  570. package/dist/esm/dda-footer.entry.js.map +0 -1
  571. package/dist/esm/dda-header.entry.js.map +0 -1
  572. package/dist/esm/dda-horizontal-stepper.entry.js.map +0 -1
  573. package/dist/esm/dda-input.entry.js.map +0 -1
  574. package/dist/esm/dda-link-button_2.entry.js.map +0 -1
  575. package/dist/esm/dda-number-field.entry.js.map +0 -1
  576. package/dist/esm/dda-pagination.entry.js.map +0 -1
  577. package/dist/esm/dda-phonefield.entry.js.map +0 -1
  578. package/dist/esm/dda-progressbar.entry.js.map +0 -1
  579. package/dist/esm/dda-radiobutton.entry.js +0 -27
  580. package/dist/esm/dda-radiobutton.entry.js.map +0 -1
  581. package/dist/esm/dda-range-slider.entry.js.map +0 -1
  582. package/dist/esm/dda-search-input.entry.js.map +0 -1
  583. package/dist/esm/dda-segmented-tabs.entry.js.map +0 -1
  584. package/dist/esm/dda-select.entry.js.map +0 -1
  585. package/dist/esm/dda-sticky-footer.entry.js.map +0 -1
  586. package/dist/esm/dda-tabs.entry.js.map +0 -1
  587. package/dist/esm/dda-textarea.entry.js.map +0 -1
  588. package/dist/esm/dda-toggle.entry.js.map +0 -1
  589. package/dist/esm/dda-vertical-stepper.entry.js.map +0 -1
  590. package/dist/esm/dda.js.map +0 -1
  591. package/dist/esm/index-be8c716a.js +0 -1590
  592. package/dist/esm/index-be8c716a.js.map +0 -1
  593. package/dist/esm/index.js.map +0 -1
  594. package/dist/esm/loader.js.map +0 -1
  595. package/loader/package.json +0 -11
@@ -13,6 +13,7 @@ export class DdaButton {
13
13
  this.button_shape = '';
14
14
  this.icon_button_shape = '';
15
15
  this.custom_class = ''; // Custom class prop
16
+ this.button_name = '';
16
17
  }
17
18
  render() {
18
19
  const buttonClass = [
@@ -25,7 +26,7 @@ export class DdaButton {
25
26
  this.custom_class, // Include custom class
26
27
  this.component_mode,
27
28
  ].filter(Boolean).join(' ');
28
- return (h(Host, { key: '1905f8852f1104c752a1782a542d95a77ff1f0f5' }, h("button", { key: '4d69e965e5f0f99e474222c9108e2c77cf6adee0', id: this.button_id, type: this.type, class: buttonClass, disabled: this.disabled, "aria-label": this.aria_label, onClick: this.clickHandler }, this.start_icon && h("i", { key: 'f5a8e54d8235053b827b152f17431cc9cf2dec63', class: "material-icons" }, this.start_icon), h("slot", { key: '2ab3cc8742c54a70b3d85193e3c80462efd5d08b' }), this.end_icon && h("i", { key: 'cefbd205620e5fefb191050b0f277f8614ebee57', class: "material-icons" }, this.end_icon))));
29
+ return (h(Host, { key: '7ca601d66dd70e18be4348ed1c6fefe1d564ddc3' }, h("button", { key: '76f6ffc16cdbc36d375b232247e1fe568695e81f', id: this.button_id, type: this.type, class: buttonClass, disabled: this.disabled, "aria-label": this.aria_label, onClick: this.clickHandler, name: this.button_name }, this.start_icon && h("i", { key: 'd0d51f02bb5bca06a17bca151c356d3ffd6aa8ea', class: "material-icons material-symbols-outlined" }, this.start_icon), h("slot", { key: 'f9f5b57e2063cb1b6faae31cb39705d451dc14aa' }), this.end_icon && h("i", { key: '133fa4595380dfca13e29628fcbfe7b59501ab8f', class: "material-icons material-symbols-outlined" }, this.end_icon))));
29
30
  }
30
31
  static get is() { return "dda-button"; }
31
32
  static get originalStyleUrls() {
@@ -56,8 +57,8 @@ export class DdaButton {
56
57
  },
57
58
  "getter": false,
58
59
  "setter": false,
59
- "attribute": "type",
60
60
  "reflect": false,
61
+ "attribute": "type",
61
62
  "defaultValue": "'button'"
62
63
  },
63
64
  "disabled": {
@@ -76,8 +77,8 @@ export class DdaButton {
76
77
  },
77
78
  "getter": false,
78
79
  "setter": false,
79
- "attribute": "disabled",
80
80
  "reflect": false,
81
+ "attribute": "disabled",
81
82
  "defaultValue": "false"
82
83
  },
83
84
  "start_icon": {
@@ -96,8 +97,8 @@ export class DdaButton {
96
97
  },
97
98
  "getter": false,
98
99
  "setter": false,
99
- "attribute": "start_icon",
100
100
  "reflect": false,
101
+ "attribute": "start_icon",
101
102
  "defaultValue": "''"
102
103
  },
103
104
  "end_icon": {
@@ -116,8 +117,8 @@ export class DdaButton {
116
117
  },
117
118
  "getter": false,
118
119
  "setter": false,
119
- "attribute": "end_icon",
120
120
  "reflect": false,
121
+ "attribute": "end_icon",
121
122
  "defaultValue": "''"
122
123
  },
123
124
  "aria_label": {
@@ -136,8 +137,8 @@ export class DdaButton {
136
137
  },
137
138
  "getter": false,
138
139
  "setter": false,
139
- "attribute": "aria_label",
140
140
  "reflect": false,
141
+ "attribute": "aria_label",
141
142
  "defaultValue": "''"
142
143
  },
143
144
  "button_color": {
@@ -156,8 +157,8 @@ export class DdaButton {
156
157
  },
157
158
  "getter": false,
158
159
  "setter": false,
159
- "attribute": "button_color",
160
160
  "reflect": false,
161
+ "attribute": "button_color",
161
162
  "defaultValue": "'primary'"
162
163
  },
163
164
  "size": {
@@ -176,8 +177,8 @@ export class DdaButton {
176
177
  },
177
178
  "getter": false,
178
179
  "setter": false,
179
- "attribute": "size",
180
- "reflect": false
180
+ "reflect": false,
181
+ "attribute": "size"
181
182
  },
182
183
  "button_shape": {
183
184
  "type": "string",
@@ -195,8 +196,8 @@ export class DdaButton {
195
196
  },
196
197
  "getter": false,
197
198
  "setter": false,
198
- "attribute": "button_shape",
199
199
  "reflect": false,
200
+ "attribute": "button_shape",
200
201
  "defaultValue": "''"
201
202
  },
202
203
  "icon_button_shape": {
@@ -215,8 +216,8 @@ export class DdaButton {
215
216
  },
216
217
  "getter": false,
217
218
  "setter": false,
218
- "attribute": "icon_button_shape",
219
219
  "reflect": false,
220
+ "attribute": "icon_button_shape",
220
221
  "defaultValue": "''"
221
222
  },
222
223
  "gap": {
@@ -235,8 +236,8 @@ export class DdaButton {
235
236
  },
236
237
  "getter": false,
237
238
  "setter": false,
238
- "attribute": "gap",
239
- "reflect": false
239
+ "reflect": false,
240
+ "attribute": "gap"
240
241
  },
241
242
  "custom_class": {
242
243
  "type": "string",
@@ -254,8 +255,8 @@ export class DdaButton {
254
255
  },
255
256
  "getter": false,
256
257
  "setter": false,
257
- "attribute": "custom_class",
258
258
  "reflect": false,
259
+ "attribute": "custom_class",
259
260
  "defaultValue": "''"
260
261
  },
261
262
  "component_mode": {
@@ -274,8 +275,8 @@ export class DdaButton {
274
275
  },
275
276
  "getter": false,
276
277
  "setter": false,
277
- "attribute": "component_mode",
278
- "reflect": false
278
+ "reflect": false,
279
+ "attribute": "component_mode"
279
280
  },
280
281
  "button_id": {
281
282
  "type": "string",
@@ -293,8 +294,28 @@ export class DdaButton {
293
294
  },
294
295
  "getter": false,
295
296
  "setter": false,
296
- "attribute": "button_id",
297
- "reflect": false
297
+ "reflect": false,
298
+ "attribute": "button_id"
299
+ },
300
+ "button_name": {
301
+ "type": "string",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "string",
305
+ "resolved": "string",
306
+ "references": {}
307
+ },
308
+ "required": false,
309
+ "optional": true,
310
+ "docs": {
311
+ "tags": [],
312
+ "text": ""
313
+ },
314
+ "getter": false,
315
+ "setter": false,
316
+ "reflect": false,
317
+ "attribute": "button_name",
318
+ "defaultValue": "''"
298
319
  },
299
320
  "clickHandler": {
300
321
  "type": "unknown",
@@ -321,4 +342,3 @@ export class DdaButton {
321
342
  };
322
343
  }
323
344
  }
324
- //# sourceMappingURL=dda-button.js.map
@@ -4,22 +4,23 @@ export default {
4
4
  parameters: {
5
5
  docs: {
6
6
  description: {
7
- component: `
8
- To use the \`dda-button\` component, pass the following props:
9
-
10
- \`\`\`html
11
- <dda-button
12
- button_color="default-primary"
13
- start_icon="sentiment_satisfied"
14
- end_icon="arrow_forward"
15
- custom_class=""
16
- component_mode=""
17
- button_id="button"
18
- aria_label="button"
19
- onclick="console.log('clicked')"
20
- >Button
21
- </dda-button>
22
- \`\`\`
7
+ component: `
8
+ To use the \`dda-button\` component, pass the following props:
9
+
10
+ \`\`\`html
11
+ <dda-button
12
+ button_color="default-primary"
13
+ start_icon="sentiment_satisfied"
14
+ end_icon="arrow_forward"
15
+ custom_class=""
16
+ component_mode=""
17
+ button_id="button"
18
+ aria_label="button"
19
+ onclick="console.log('clicked')"
20
+ button_name="button"
21
+ >Button
22
+ </dda-button>
23
+ \`\`\`
23
24
  `,
24
25
  },
25
26
  },
@@ -69,6 +70,10 @@ To use the \`dda-button\` component, pass the following props:
69
70
  onclick: {
70
71
  control: { type: 'text' },
71
72
  description: 'event handler for button',
73
+ },
74
+ button_name: {
75
+ control: { type: 'text' },
76
+ description: 'Name of the button',
72
77
  }
73
78
  },
74
79
  };
@@ -90,6 +95,7 @@ DefaultPrimary.args = {
90
95
  button_id: 'button',
91
96
  aria_label: 'button',
92
97
  onclick: "console.log('clicked')",
98
+ button_name: 'button',
93
99
  };
94
100
  export const ErrorPrimary = Template.bind({});
95
101
  ErrorPrimary.args = {
@@ -102,6 +108,7 @@ ErrorPrimary.args = {
102
108
  button_id: 'button',
103
109
  aria_label: 'button',
104
110
  onclick: "alert('Hello! I am an alert box!!')",
111
+ button_name: 'button',
105
112
  };
106
113
  export const SurfacePrimary = Template.bind({});
107
114
  SurfacePrimary.args = {
@@ -114,6 +121,7 @@ SurfacePrimary.args = {
114
121
  button_id: 'button',
115
122
  aria_label: 'button',
116
123
  onclick: "console.log('clicked')",
124
+ button_name: 'button',
117
125
  };
118
126
  export const Disabled = Template.bind({});
119
127
  Disabled.args = {
@@ -126,6 +134,7 @@ Disabled.args = {
126
134
  button_id: 'button',
127
135
  aria_label: 'button',
128
136
  onclick: "console.log('clicked')",
137
+ button_name: 'button',
129
138
  };
130
139
  export const IconButton = Template.bind({});
131
140
  IconButton.args = {
@@ -138,5 +147,5 @@ IconButton.args = {
138
147
  button_id: 'button',
139
148
  aria_label: 'button',
140
149
  onclick: "console.log('clicked')",
150
+ button_name: 'button',
141
151
  };
142
- //# sourceMappingURL=dda-button.stories.js.map
@@ -1,120 +1,120 @@
1
- .dda-checkbox-container {
2
- display: inline-flex;
3
- align-items: center;
4
- }
5
-
6
- .dda-checkbox-container input[type="checkbox"] {
7
- width: 0;
8
- height: 0;
9
- position: absolute;
10
- opacity: 0;
11
- }
12
-
13
- .dda-checkbox-container label {
14
- cursor: pointer;
15
- display: inline-flex;
16
- align-items: flex-start;
17
- gap: 10px;
18
- }
19
-
20
- .dda-checkbox-container i,
21
- .dda-checkbox-container svg {
22
- display: flex;
23
- color: var(--dda-color-primary-40);
24
- border: solid 2px var(--dda-color-primary-40);
25
- justify-content: center;
26
- align-items: center;
27
- }
28
-
29
- .light-mode.dda-checkbox-container i,
30
- .light-mode.dda-checkbox-container svg{
31
- color: var(--dda-primary-40);
32
- border: solid 2px var(--dda-primary-40);
33
- }
34
-
35
- .dda-checkbox-square i,
36
- .dda-checkbox-square svg {
37
- border-radius: 6px;
38
- }
39
-
40
- .dda-checkbox-rounded i,
41
- .dda-checkbox-rounded svg {
42
- border-radius: 22px;
43
- }
44
-
45
-
46
- .dda-checkbox-sm label i,
47
- .dda-checkbox-sm label svg {
48
- width: 16px;
49
- height: 16px;
50
- font-size: 12px;
51
- }
52
-
53
- .dda-checkbox-md label i,
54
- .dda-checkbox-md label svg {
55
- width: 20px;
56
- height: 20px;
57
- font-size: 16px;
58
- }
59
-
60
- .dda-checkbox-lg label i,
61
- .dda-checkbox-lg label svg {
62
- width: 22px;
63
- height: 22px;
64
- font-size: 19px;
65
- }
66
-
67
- .dda-checkbox-container input[type="checkbox"]:checked~label i,
68
- .dda-checkbox-container input[type="checkbox"]:checked~label svg {
69
- background: var(--dda-color-primary-40);
70
- color: var(--dda-neutral-100);
71
- }
72
-
73
- .dda-checkbox-container input[type="checkbox"]:checked:focus-within~label i,
74
- .dda-checkbox-container input[type="checkbox"]:checked:focus-within~label svg {
75
- -webkit-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
76
- -moz-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
77
- box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
78
- }
79
-
80
- .dda-checkbox-container label p {
81
- margin: 0px;
82
- }
83
-
84
- .dda-checkbox-title {
85
- font-size: var(--dda-fs-body-lg);
86
- color: var(--dda-on-surface-0);
87
- font-weight: var(--dda-fw-500);
88
- display: block;
89
- }
90
-
91
- .light-mode .dda-checkbox-title{
92
- color: var(--dda-neutral-0);
93
- }
94
-
95
- .dda-checkbox-lg label .dda-checkbox-title {
96
- font-size: var(--dda-fs-title-sm);
97
- }
98
-
99
- .dda-checkbox-supporting {
100
- display: block;
101
- font-size: var(--dda-fs-label-lg);
102
- color: var(--dda-on-surface-variant-30);
103
- }
104
-
105
- .light-mode .dda-checkbox-supporting {
106
- color: var(--dda-neutral-variant-30);
107
- }
108
-
109
- .dda-checkbox-lg label .dda-checkbox-supporting {
110
- font-size: var(--dda-fs-body-lg);
111
- }
112
-
113
- .dda-checkbox-disabled i,
114
- .dda-checkbox-disabled svg{
115
- color: var(--dda-neutral-70);
116
- border: solid 2px var(--dda-surface-90);
117
- }
118
- .dda-checkbox-container.dda-checkbox-disabled{
119
- pointer-events: none;
1
+ .dda-checkbox-container {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ }
5
+
6
+ .dda-checkbox-container input[type="checkbox"] {
7
+ width: 0;
8
+ height: 0;
9
+ position: absolute;
10
+ opacity: 0;
11
+ }
12
+
13
+ .dda-checkbox-container label {
14
+ cursor: pointer;
15
+ display: inline-flex;
16
+ align-items: flex-start;
17
+ gap: 10px;
18
+ }
19
+
20
+ .dda-checkbox-container i,
21
+ .dda-checkbox-container svg {
22
+ display: flex;
23
+ color: var(--dda-color-primary-40);
24
+ border: solid 2px var(--dda-color-primary-40);
25
+ justify-content: center;
26
+ align-items: center;
27
+ }
28
+
29
+ .light-mode.dda-checkbox-container i,
30
+ .light-mode.dda-checkbox-container svg{
31
+ color: var(--dda-primary-40);
32
+ border: solid 2px var(--dda-primary-40);
33
+ }
34
+
35
+ .dda-checkbox-square i,
36
+ .dda-checkbox-square svg {
37
+ border-radius: 6px;
38
+ }
39
+
40
+ .dda-checkbox-rounded i,
41
+ .dda-checkbox-rounded svg {
42
+ border-radius: 22px;
43
+ }
44
+
45
+
46
+ .dda-checkbox-sm label i,
47
+ .dda-checkbox-sm label svg {
48
+ width: 16px;
49
+ height: 16px;
50
+ font-size: 12px;
51
+ }
52
+
53
+ .dda-checkbox-md label i,
54
+ .dda-checkbox-md label svg {
55
+ width: 20px;
56
+ height: 20px;
57
+ font-size: 16px;
58
+ }
59
+
60
+ .dda-checkbox-lg label i,
61
+ .dda-checkbox-lg label svg {
62
+ width: 22px;
63
+ height: 22px;
64
+ font-size: 19px;
65
+ }
66
+
67
+ .dda-checkbox-container input[type="checkbox"]:checked~label i,
68
+ .dda-checkbox-container input[type="checkbox"]:checked~label svg {
69
+ background: var(--dda-color-primary-40);
70
+ color: var(--dda-neutral-100);
71
+ }
72
+
73
+ .dda-checkbox-container input[type="checkbox"]:checked:focus-within~label i,
74
+ .dda-checkbox-container input[type="checkbox"]:checked:focus-within~label svg {
75
+ -webkit-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
76
+ -moz-box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
77
+ box-shadow: 0px 0px 0px 3px var(--dda-color-primary-95);
78
+ }
79
+
80
+ .dda-checkbox-container label p {
81
+ margin: 0px;
82
+ }
83
+
84
+ .dda-checkbox-title {
85
+ font-size: var(--dda-fs-body-lg);
86
+ color: var(--dda-on-surface-0);
87
+ font-weight: var(--dda-fw-500);
88
+ display: block;
89
+ }
90
+
91
+ .light-mode .dda-checkbox-title{
92
+ color: var(--dda-neutral-0);
93
+ }
94
+
95
+ .dda-checkbox-lg label .dda-checkbox-title {
96
+ font-size: var(--dda-fs-title-sm);
97
+ }
98
+
99
+ .dda-checkbox-supporting {
100
+ display: block;
101
+ font-size: var(--dda-fs-label-lg);
102
+ color: var(--dda-on-surface-variant-30);
103
+ }
104
+
105
+ .light-mode .dda-checkbox-supporting {
106
+ color: var(--dda-neutral-variant-30);
107
+ }
108
+
109
+ .dda-checkbox-lg label .dda-checkbox-supporting {
110
+ font-size: var(--dda-fs-body-lg);
111
+ }
112
+
113
+ .dda-checkbox-disabled i,
114
+ .dda-checkbox-disabled svg{
115
+ color: var(--dda-neutral-70);
116
+ border: solid 2px var(--dda-surface-90);
117
+ }
118
+ .dda-checkbox-container.dda-checkbox-disabled{
119
+ pointer-events: none;
120
120
  }
@@ -12,7 +12,7 @@ export class DdaCheckbox {
12
12
  this.checkbox_status ? `dda-checkbox-${this.checkbox_status}` : '',
13
13
  this.component_mode,
14
14
  ].filter(Boolean).join(' ');
15
- return (h(Host, { key: 'fcce97219ce52e2135f3b947482f657b99dfed60' }, h("div", { key: '32f5f851dc8419268e2e2a80246a65617cd6baf2', class: checkboxClass }, h("input", { key: '09c290f05b27130e412a72a58f5da7c8d7400847', "aria-label": this.aria_label, type: "checkbox", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: '9b5971e4ec07f8e0b338fa9a3c2329901f50b2ac', htmlFor: this.input_id }, h("i", { key: '8fc8e2b50e709a6ee9f77c9f595a84f504da9daf', class: "material-icons" }, "check"), h("p", { key: '04e7cccd0db34d158091b1f3600b248a0c69b7bf' }, h("span", { key: 'ac556f4c281d128ad199df9f9dc5e35356b44fb6', class: "dda-checkbox-title" }, this.title_text), this.supporting && h("span", { key: '31f86b6f91ac0507b6ee997a8261faaf327e21fa', class: "dda-checkbox-supporting" }, this.supporting))))));
15
+ return (h(Host, { key: '4b8e8376bf784fd0ed1e918f0b5fdc4ebe7fd7ed' }, h("div", { key: 'f66aca291d7c0098979177e971aa758b82a5ffc9', class: checkboxClass }, h("input", { key: 'f243f679de75b492775c6e3a0b1ca1f0f3bfe423', "aria-label": this.aria_label, type: "checkbox", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: 'f0c6cc39d19009132332d9c01a901b23c8f0a18c', htmlFor: this.input_id }, h("i", { key: 'b378cfa8cc108dcd6394472563afef4c3c87de13', class: "material-icons material-symbols-outlined" }, "check"), h("p", { key: '416beeef5a24297c00221c6bfebef2778f0f26ac' }, h("span", { key: 'c62bf2fb6a703cace37b092d5f493ee1944f3e73', class: "dda-checkbox-title" }, this.title_text), this.supporting && h("span", { key: '846a087c01f8277af1f512c1de76e11a2fb95748', class: "dda-checkbox-supporting" }, this.supporting))))));
16
16
  }
17
17
  static get is() { return "dda-checkbox"; }
18
18
  static get originalStyleUrls() {
@@ -43,8 +43,8 @@ export class DdaCheckbox {
43
43
  },
44
44
  "getter": false,
45
45
  "setter": false,
46
- "attribute": "title_text",
47
- "reflect": false
46
+ "reflect": false,
47
+ "attribute": "title_text"
48
48
  },
49
49
  "supporting": {
50
50
  "type": "string",
@@ -62,8 +62,8 @@ export class DdaCheckbox {
62
62
  },
63
63
  "getter": false,
64
64
  "setter": false,
65
- "attribute": "supporting",
66
- "reflect": false
65
+ "reflect": false,
66
+ "attribute": "supporting"
67
67
  },
68
68
  "group_name": {
69
69
  "type": "string",
@@ -81,8 +81,8 @@ export class DdaCheckbox {
81
81
  },
82
82
  "getter": false,
83
83
  "setter": false,
84
- "attribute": "group_name",
85
- "reflect": false
84
+ "reflect": false,
85
+ "attribute": "group_name"
86
86
  },
87
87
  "input_id": {
88
88
  "type": "string",
@@ -100,8 +100,8 @@ export class DdaCheckbox {
100
100
  },
101
101
  "getter": false,
102
102
  "setter": false,
103
- "attribute": "input_id",
104
- "reflect": false
103
+ "reflect": false,
104
+ "attribute": "input_id"
105
105
  },
106
106
  "checked": {
107
107
  "type": "boolean",
@@ -119,8 +119,8 @@ export class DdaCheckbox {
119
119
  },
120
120
  "getter": false,
121
121
  "setter": false,
122
- "attribute": "checked",
123
- "reflect": false
122
+ "reflect": false,
123
+ "attribute": "checked"
124
124
  },
125
125
  "checkbox_status": {
126
126
  "type": "string",
@@ -138,8 +138,8 @@ export class DdaCheckbox {
138
138
  },
139
139
  "getter": false,
140
140
  "setter": false,
141
- "attribute": "checkbox_status",
142
- "reflect": false
141
+ "reflect": false,
142
+ "attribute": "checkbox_status"
143
143
  },
144
144
  "size": {
145
145
  "type": "string",
@@ -157,8 +157,8 @@ export class DdaCheckbox {
157
157
  },
158
158
  "getter": false,
159
159
  "setter": false,
160
- "attribute": "size",
161
- "reflect": false
160
+ "reflect": false,
161
+ "attribute": "size"
162
162
  },
163
163
  "style_type": {
164
164
  "type": "string",
@@ -176,8 +176,8 @@ export class DdaCheckbox {
176
176
  },
177
177
  "getter": false,
178
178
  "setter": false,
179
- "attribute": "style_type",
180
- "reflect": false
179
+ "reflect": false,
180
+ "attribute": "style_type"
181
181
  },
182
182
  "custom_class": {
183
183
  "type": "string",
@@ -195,8 +195,8 @@ export class DdaCheckbox {
195
195
  },
196
196
  "getter": false,
197
197
  "setter": false,
198
- "attribute": "custom_class",
199
198
  "reflect": false,
199
+ "attribute": "custom_class",
200
200
  "defaultValue": "''"
201
201
  },
202
202
  "component_mode": {
@@ -215,8 +215,8 @@ export class DdaCheckbox {
215
215
  },
216
216
  "getter": false,
217
217
  "setter": false,
218
- "attribute": "component_mode",
219
- "reflect": false
218
+ "reflect": false,
219
+ "attribute": "component_mode"
220
220
  },
221
221
  "aria_label": {
222
222
  "type": "string",
@@ -234,10 +234,9 @@ export class DdaCheckbox {
234
234
  },
235
235
  "getter": false,
236
236
  "setter": false,
237
- "attribute": "aria_label",
238
- "reflect": false
237
+ "reflect": false,
238
+ "attribute": "aria_label"
239
239
  }
240
240
  };
241
241
  }
242
242
  }
243
- //# sourceMappingURL=dda-checkbox.js.map
@@ -58,24 +58,24 @@ export default {
58
58
  parameters: {
59
59
  docs: {
60
60
  description: {
61
- component: `
62
- To use the \`dda-checkbox\` component, pass the following props:
63
-
64
- \`\`\`html
65
- <dda-checkbox
66
- title_text="Checkbox Title"
67
- checked="false"
68
- size="md"
69
- style_type="square"
70
- supporting="Supporting Text"
71
- group_name="checkboxgroup"
72
- input_id="testId"
73
- custom_class=""
74
- component_mode=""
75
- aria_label="checkbox"
76
- onclick="console.log('Checkbox clicked')"
77
- ></dda-checkbox>
78
- \`\`\`
61
+ component: `
62
+ To use the \`dda-checkbox\` component, pass the following props:
63
+
64
+ \`\`\`html
65
+ <dda-checkbox
66
+ title_text="Checkbox Title"
67
+ checked="false"
68
+ size="md"
69
+ style_type="square"
70
+ supporting="Supporting Text"
71
+ group_name="checkboxgroup"
72
+ input_id="testId"
73
+ custom_class=""
74
+ component_mode=""
75
+ aria_label="checkbox"
76
+ onclick="console.log('Checkbox clicked')"
77
+ ></dda-checkbox>
78
+ \`\`\`
79
79
  `,
80
80
  },
81
81
  },
@@ -115,4 +115,3 @@ checkboxRounded.args = {
115
115
  aria_label: 'checkbox',
116
116
  onclick: "",
117
117
  };
118
- //# sourceMappingURL=dda-checkbox.stories.js.map