@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.51

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 (857) hide show
  1. package/CHANGELOG.md +522 -0
  2. package/NOTICE +2 -0
  3. package/README.md +83 -15
  4. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
  5. package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
  6. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/index.d.ts +2 -0
  8. package/components/bibtemplate/dist/index.js +790 -0
  9. package/components/bibtemplate/dist/registered.js +790 -0
  10. package/components/{input/dist/styles/helpText-css.d.ts → bibtemplate/dist/styles/color-css.d.ts} +0 -1
  11. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  12. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  13. package/components/checkbox/README.md +27 -35
  14. package/components/checkbox/demo/api.md +67 -68
  15. package/components/checkbox/demo/api.min.js +498 -102
  16. package/components/checkbox/demo/index.html +49 -0
  17. package/components/checkbox/demo/index.md +62 -62
  18. package/components/checkbox/demo/index.min.js +498 -102
  19. package/components/checkbox/dist/auro-checkbox-group.d.ts +45 -18
  20. package/components/checkbox/dist/auro-checkbox.d.ts +19 -7
  21. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  22. package/components/checkbox/dist/index.d.ts +0 -1
  23. package/components/checkbox/dist/index.js +498 -105
  24. package/components/checkbox/dist/registered.js +1279 -0
  25. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
  26. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
  27. package/components/checkbox/dist/styles/color-css.d.ts +0 -1
  28. package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
  29. package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
  30. package/components/combobox/README.md +25 -28
  31. package/components/combobox/demo/api.js +1 -1
  32. package/components/combobox/demo/api.md +116 -32
  33. package/components/combobox/demo/api.min.js +8211 -3863
  34. package/components/combobox/demo/index.html +57 -0
  35. package/components/combobox/demo/index.js +1 -1
  36. package/components/combobox/demo/index.md +19 -3
  37. package/components/combobox/demo/index.min.js +8208 -3860
  38. package/components/combobox/dist/auro-combobox.d.ts +123 -76
  39. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  40. package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → combobox/dist/dropdownVersion.d.ts} +0 -1
  41. package/components/combobox/dist/index.d.ts +0 -1
  42. package/components/combobox/dist/index.js +7848 -3816
  43. package/components/combobox/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  44. package/components/combobox/dist/registered.js +12269 -0
  45. package/components/combobox/dist/styles/style-css.d.ts +0 -1
  46. package/components/counter/README.md +188 -0
  47. package/components/counter/demo/api.js +3 -2
  48. package/components/counter/demo/api.md +185 -1018
  49. package/components/counter/demo/api.min.js +6190 -40
  50. package/components/counter/demo/index.html +53 -0
  51. package/components/counter/demo/index.js +2 -1
  52. package/components/counter/demo/index.md +298 -0
  53. package/components/counter/demo/index.min.js +6187 -19
  54. package/components/counter/dist/auro-counter-button.d.ts +12 -0
  55. package/components/counter/dist/auro-counter-group.d.ts +168 -5
  56. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  57. package/components/counter/dist/auro-counter.d.ts +91 -1
  58. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  59. package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → counter/dist/dropdownVersion.d.ts} +0 -1
  60. package/components/counter/dist/iconVersion.d.ts +2 -0
  61. package/components/counter/dist/index.d.ts +0 -1
  62. package/components/counter/dist/index.js +6158 -38
  63. package/components/counter/dist/registered.js +6231 -0
  64. package/components/counter/dist/styles/color-css.d.ts +2 -0
  65. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  66. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  67. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +2 -0
  68. package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
  69. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  70. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  71. package/components/counter/dist/styles/style-css.d.ts +0 -1
  72. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  73. package/components/datepicker/README.md +25 -28
  74. package/components/datepicker/demo/api.js +3 -3
  75. package/components/datepicker/demo/api.md +219 -105
  76. package/components/datepicker/demo/api.min.js +6367 -2448
  77. package/components/datepicker/demo/index.html +57 -0
  78. package/components/datepicker/demo/index.md +7 -1
  79. package/components/datepicker/demo/index.min.js +6355 -2435
  80. package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
  81. package/components/datepicker/dist/auro-calendar-month.d.ts +15 -1
  82. package/components/datepicker/dist/auro-calendar.d.ts +25 -2
  83. package/components/datepicker/dist/auro-datepicker.d.ts +41 -12
  84. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  85. package/components/datepicker/dist/dropdownVersion.d.ts +2 -1
  86. package/components/datepicker/dist/index.d.ts +0 -1
  87. package/components/datepicker/dist/index.js +6353 -2435
  88. package/components/datepicker/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  89. package/components/datepicker/dist/popoverVersion.d.ts +0 -1
  90. package/components/datepicker/dist/registered.js +22466 -0
  91. package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
  92. package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
  93. package/components/datepicker/dist/styles/color-css.d.ts +0 -1
  94. package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
  95. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
  96. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
  97. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
  98. package/components/datepicker/dist/styles/style-css.d.ts +0 -1
  99. package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
  100. package/components/datepicker/dist/utilities.d.ts +25 -1
  101. package/components/datepicker/dist/utilitiesCalendar.d.ts +2 -2
  102. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -3
  103. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
  104. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
  105. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
  106. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
  107. package/components/dropdown/README.md +19 -27
  108. package/components/dropdown/demo/api.js +1 -1
  109. package/components/dropdown/demo/api.md +43 -29
  110. package/components/dropdown/demo/api.min.js +525 -124
  111. package/components/dropdown/demo/index.html +53 -0
  112. package/components/dropdown/demo/index.js +0 -3
  113. package/components/dropdown/demo/index.min.js +525 -127
  114. package/components/dropdown/dist/auro-dropdown.d.ts +38 -7
  115. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -2
  116. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  117. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  118. package/components/dropdown/dist/iconVersion.d.ts +0 -1
  119. package/components/dropdown/dist/index.d.ts +0 -1
  120. package/components/dropdown/dist/index.js +525 -126
  121. package/components/dropdown/dist/registered.js +3365 -0
  122. package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
  123. package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
  124. package/components/dropdown/dist/styles/color-css.d.ts +0 -1
  125. package/components/dropdown/dist/styles/style-css.d.ts +0 -1
  126. package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
  127. package/components/form/README.md +29 -35
  128. package/components/form/demo/api.js +1 -1
  129. package/components/form/demo/api.min.js +497 -25
  130. package/components/form/demo/index.html +48 -0
  131. package/components/form/demo/index.min.js +497 -25
  132. package/components/form/demo/registerDemoDeps.js +22 -0
  133. package/components/form/demo/working.html +117 -0
  134. package/components/form/dist/auro-form.d.ts +194 -3
  135. package/components/form/dist/index.d.ts +0 -1
  136. package/components/form/dist/index.js +497 -27
  137. package/components/form/dist/registered.d.ts +1 -0
  138. package/components/form/dist/registered.js +632 -0
  139. package/components/form/dist/styles/style-css.d.ts +0 -1
  140. package/components/helptext/dist/auro-helptext.d.ts +53 -0
  141. package/components/helptext/dist/index.d.ts +2 -0
  142. package/components/helptext/dist/index.js +224 -0
  143. package/components/helptext/dist/registered.js +224 -0
  144. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  145. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  146. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  147. package/components/input/README.md +19 -29
  148. package/components/input/demo/api.md +152 -318
  149. package/components/input/demo/api.min.js +4214 -1780
  150. package/components/input/demo/index.html +41 -0
  151. package/components/input/demo/index.md +11 -61
  152. package/components/input/demo/index.min.js +4214 -1780
  153. package/components/input/dist/auro-input.d.ts +4 -2
  154. package/components/input/dist/base-input.d.ts +49 -16
  155. package/components/input/dist/buttonVersion.d.ts +0 -1
  156. package/components/input/dist/helptextVersion.d.ts +2 -0
  157. package/components/input/dist/i18n.d.ts +0 -1
  158. package/components/input/dist/iconVersion.d.ts +0 -1
  159. package/components/input/dist/index.d.ts +0 -1
  160. package/components/input/dist/index.js +4214 -1782
  161. package/components/input/dist/registered.js +6591 -0
  162. package/components/input/dist/styles/borders-css.d.ts +0 -1
  163. package/components/input/dist/styles/color-css.d.ts +0 -1
  164. package/components/input/dist/styles/input-css.d.ts +0 -1
  165. package/components/input/dist/styles/label-css.d.ts +0 -1
  166. package/components/input/dist/styles/mixins-css.d.ts +0 -1
  167. package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
  168. package/components/input/dist/styles/style-css.d.ts +0 -1
  169. package/components/input/dist/styles/tokens-css.d.ts +0 -1
  170. package/components/input/dist/utilities.d.ts +25 -0
  171. package/components/menu/README.md +19 -27
  172. package/components/menu/demo/api.js +1 -1
  173. package/components/menu/demo/api.md +57 -20
  174. package/components/menu/demo/api.min.js +628 -314
  175. package/components/menu/demo/index.html +50 -0
  176. package/components/menu/demo/index.min.js +626 -312
  177. package/components/menu/dist/auro-menu-utils.d.ts +42 -0
  178. package/components/menu/dist/auro-menu.d.ts +97 -82
  179. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  180. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  181. package/components/menu/dist/iconVersion.d.ts +0 -1
  182. package/components/menu/dist/index.d.ts +1 -1
  183. package/components/menu/dist/index.js +627 -316
  184. package/components/menu/dist/registered.js +1510 -0
  185. package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
  186. package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
  187. package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
  188. package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
  189. package/components/menu/dist/styles/tokens-css.d.ts +0 -1
  190. package/components/radio/README.md +19 -27
  191. package/components/radio/demo/api.md +9 -8
  192. package/components/radio/demo/api.min.js +429 -75
  193. package/components/radio/demo/index.html +48 -0
  194. package/components/radio/demo/index.min.js +429 -75
  195. package/components/radio/dist/auro-radio-group.d.ts +12 -3
  196. package/components/radio/dist/auro-radio.d.ts +0 -1
  197. package/components/radio/dist/helptextVersion.d.ts +2 -0
  198. package/components/radio/dist/index.d.ts +0 -1
  199. package/components/radio/dist/index.js +429 -78
  200. package/components/radio/dist/registered.js +1396 -0
  201. package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
  202. package/components/radio/dist/styles/color-css.d.ts +0 -1
  203. package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
  204. package/components/radio/dist/styles/style-css.d.ts +0 -1
  205. package/components/radio/dist/styles/tokens-css.d.ts +0 -1
  206. package/components/select/README.md +24 -43
  207. package/components/select/demo/api.js +1 -1
  208. package/components/select/demo/api.md +149 -32
  209. package/components/select/demo/api.min.js +2563 -749
  210. package/components/select/demo/index.html +49 -0
  211. package/components/select/demo/index.js +1 -1
  212. package/components/select/demo/index.md +21 -16
  213. package/components/select/demo/index.min.js +2570 -756
  214. package/components/select/dist/auro-select.d.ts +60 -8
  215. package/components/select/dist/bibtemplateVersion.d.ts +2 -0
  216. package/components/select/dist/dropdownVersion.d.ts +2 -0
  217. package/components/select/dist/index.d.ts +0 -1
  218. package/components/select/dist/index.js +1932 -434
  219. package/components/select/dist/registered.js +5425 -0
  220. package/components/select/dist/styles/color-css.d.ts +0 -1
  221. package/components/select/dist/styles/style-css.d.ts +0 -1
  222. package/components/select/dist/styles/tokens-css.d.ts +0 -1
  223. package/package.json +138 -66
  224. package/packages/build-tools/src/postinstall.mjs +8 -0
  225. package/.husky/commit-msg +0 -4
  226. package/.husky/pre-commit +0 -3
  227. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  228. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  229. package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
  230. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  231. package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
  232. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  233. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  234. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  235. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  236. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  237. package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
  238. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  239. package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
  240. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  241. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  242. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  243. package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
  244. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  245. package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
  246. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  247. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  248. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  249. package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
  250. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  251. package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
  252. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  253. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  254. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  255. package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
  256. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  257. package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
  258. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  259. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  260. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  261. package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
  262. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  263. package/.turbo/cache/3e12285c614db539-meta.json +0 -1
  264. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  265. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  266. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  267. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
  268. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  269. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  270. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  271. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  272. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  273. package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
  274. package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
  275. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  276. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  277. package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
  278. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  279. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  280. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  281. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  282. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  283. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  284. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  285. package/.turbo/cache/786a822763403879-meta.json +0 -1
  286. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  287. package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
  288. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  289. package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
  290. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  291. package/.turbo/cache/80a13352066a9801-meta.json +0 -1
  292. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  293. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  294. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  295. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  296. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  297. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
  298. package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
  299. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
  300. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  301. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  302. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  303. package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
  304. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  305. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
  306. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  307. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  308. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  309. package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
  310. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  311. package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
  312. package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
  313. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  314. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  315. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  316. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  317. package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
  318. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  319. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  320. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  321. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  322. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  323. package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
  324. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  325. package/.turbo/cache/d61543843c932504-meta.json +0 -1
  326. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  327. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  328. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  329. package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
  330. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  331. package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
  332. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  333. package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
  334. package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
  335. package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
  336. package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
  337. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  338. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  339. package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
  340. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  341. package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
  342. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
  343. package/components/checkbox/.stylelintrc.json +0 -3
  344. package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
  345. package/components/checkbox/.turbo/turbo-build.log +0 -185
  346. package/components/checkbox/.turbo/turbo-bundler.log +0 -13
  347. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -5
  348. package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
  349. package/components/checkbox/.turbo/turbo-types.log +0 -4
  350. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
  351. package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
  352. package/components/checkbox/dist/index.d.ts.map +0 -1
  353. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
  354. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
  355. package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
  356. package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
  357. package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
  358. package/components/checkbox/node_modules/chalk/package.json +0 -83
  359. package/components/checkbox/node_modules/chalk/readme.md +0 -325
  360. package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
  361. package/components/checkbox/node_modules/chalk/source/index.js +0 -225
  362. package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
  363. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  364. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  365. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  366. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  367. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  368. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  369. package/components/checkbox/package.json +0 -68
  370. package/components/checkbox/src/auro-checkbox-group.js +0 -331
  371. package/components/checkbox/src/auro-checkbox.js +0 -193
  372. package/components/checkbox/src/index.js +0 -8
  373. package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
  374. package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
  375. package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
  376. package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
  377. package/components/checkbox/src/styles/auro-checkbox.css +0 -123
  378. package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
  379. package/components/checkbox/src/styles/color-css.js +0 -2
  380. package/components/checkbox/src/styles/color.css +0 -84
  381. package/components/checkbox/src/styles/color.scss +0 -118
  382. package/components/checkbox/src/styles/colorGroup-css.js +0 -2
  383. package/components/checkbox/src/styles/colorGroup.css +0 -16
  384. package/components/checkbox/src/styles/colorGroup.scss +0 -24
  385. package/components/checkbox/src/styles/tokens-css.js +0 -2
  386. package/components/checkbox/src/styles/tokens.css +0 -9
  387. package/components/checkbox/src/styles/tokens.scss +0 -11
  388. package/components/combobox/.stylelintrc.json +0 -3
  389. package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
  390. package/components/combobox/.turbo/turbo-build.log +0 -163
  391. package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -5
  392. package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
  393. package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
  394. package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  395. package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  396. package/components/combobox/dist/index.d.ts.map +0 -1
  397. package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
  398. package/components/combobox/node_modules/chalk/package.json +0 -83
  399. package/components/combobox/node_modules/chalk/readme.md +0 -325
  400. package/components/combobox/node_modules/chalk/source/index.d.ts +0 -320
  401. package/components/combobox/node_modules/chalk/source/index.js +0 -225
  402. package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
  403. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  404. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  405. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  406. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  407. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  408. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  409. package/components/combobox/package.json +0 -67
  410. package/components/combobox/src/auro-combobox.js +0 -724
  411. package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
  412. package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
  413. package/components/combobox/src/index.js +0 -6
  414. package/components/combobox/src/styles/style-css.js +0 -2
  415. package/components/combobox/src/styles/style.css +0 -60
  416. package/components/combobox/src/styles/style.scss +0 -46
  417. package/components/counter/.stylelintrc.json +0 -3
  418. package/components/counter/.turbo/turbo-build$colon$sass.log +0 -66
  419. package/components/counter/.turbo/turbo-build.log +0 -87
  420. package/components/counter/.turbo/turbo-bundler.log +0 -13
  421. package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -5
  422. package/components/counter/.turbo/turbo-sass$colon$render.log +0 -16
  423. package/components/counter/.turbo/turbo-types.log +0 -4
  424. package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
  425. package/components/counter/dist/auro-counter.d.ts.map +0 -1
  426. package/components/counter/dist/index.d.ts.map +0 -1
  427. package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
  428. package/components/counter/dist/styles/style-css.d.ts.map +0 -1
  429. package/components/counter/node_modules/chalk/package.json +0 -83
  430. package/components/counter/node_modules/chalk/readme.md +0 -325
  431. package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
  432. package/components/counter/node_modules/chalk/source/index.js +0 -225
  433. package/components/counter/node_modules/chalk/source/utilities.js +0 -33
  434. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  435. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  436. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  437. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  438. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  439. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  440. package/components/counter/package.json +0 -50
  441. package/components/counter/src/auro-counter-group.js +0 -48
  442. package/components/counter/src/auro-counter.js +0 -29
  443. package/components/counter/src/index.js +0 -8
  444. package/components/counter/src/styles/counter-group-css.js +0 -2
  445. package/components/counter/src/styles/counter-group.css +0 -4
  446. package/components/counter/src/styles/counter-group.scss +0 -17
  447. package/components/counter/src/styles/style-css.js +0 -2
  448. package/components/counter/src/styles/style.css +0 -4
  449. package/components/counter/src/styles/style.scss +0 -17
  450. package/components/datepicker/.stylelintrc.json +0 -3
  451. package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
  452. package/components/datepicker/.turbo/turbo-build.log +0 -493
  453. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -5
  454. package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
  455. package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
  456. package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
  457. package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
  458. package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
  459. package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
  460. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  461. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  462. package/components/datepicker/dist/index.d.ts.map +0 -1
  463. package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
  464. package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
  465. package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
  466. package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
  467. package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
  468. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
  469. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
  470. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
  471. package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
  472. package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
  473. package/components/datepicker/dist/utilities.d.ts.map +0 -1
  474. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
  475. package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
  476. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
  477. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
  478. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
  479. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
  480. package/components/datepicker/node_modules/chalk/package.json +0 -83
  481. package/components/datepicker/node_modules/chalk/readme.md +0 -325
  482. package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
  483. package/components/datepicker/node_modules/chalk/source/index.js +0 -225
  484. package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
  485. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  486. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  487. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  488. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  489. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  490. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  491. package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  492. package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
  493. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  494. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  495. package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
  496. package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
  497. package/components/datepicker/package.json +0 -79
  498. package/components/datepicker/src/auro-calendar-cell.js +0 -381
  499. package/components/datepicker/src/auro-calendar-month.js +0 -128
  500. package/components/datepicker/src/auro-calendar.js +0 -329
  501. package/components/datepicker/src/auro-datepicker.js +0 -1002
  502. package/components/datepicker/src/dropdownVersion.js +0 -0
  503. package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
  504. package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
  505. package/components/datepicker/src/index.js +0 -6
  506. package/components/datepicker/src/popoverVersion.js +0 -1
  507. package/components/datepicker/src/styles/color-calendar-css.js +0 -2
  508. package/components/datepicker/src/styles/color-calendar.css +0 -35
  509. package/components/datepicker/src/styles/color-calendar.scss +0 -51
  510. package/components/datepicker/src/styles/color-cell-css.js +0 -2
  511. package/components/datepicker/src/styles/color-cell.css +0 -45
  512. package/components/datepicker/src/styles/color-cell.scss +0 -73
  513. package/components/datepicker/src/styles/color-css.js +0 -2
  514. package/components/datepicker/src/styles/color-month-css.js +0 -2
  515. package/components/datepicker/src/styles/color-month.css +0 -34
  516. package/components/datepicker/src/styles/color-month.scss +0 -27
  517. package/components/datepicker/src/styles/color.css +0 -43
  518. package/components/datepicker/src/styles/color.scss +0 -30
  519. package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
  520. package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
  521. package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
  522. package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
  523. package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
  524. package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
  525. package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
  526. package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
  527. package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
  528. package/components/datepicker/src/styles/style-css.js +0 -2
  529. package/components/datepicker/src/styles/style.css +0 -111
  530. package/components/datepicker/src/styles/style.scss +0 -107
  531. package/components/datepicker/src/styles/tokens-css.js +0 -2
  532. package/components/datepicker/src/styles/tokens.css +0 -22
  533. package/components/datepicker/src/styles/tokens.scss +0 -25
  534. package/components/datepicker/src/utilities.js +0 -87
  535. package/components/datepicker/src/utilitiesCalendar.js +0 -138
  536. package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
  537. package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
  538. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
  539. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
  540. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
  541. package/components/dropdown/.stylelintrc.json +0 -3
  542. package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
  543. package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
  544. package/components/dropdown/.turbo/turbo-build.log +0 -206
  545. package/components/dropdown/.turbo/turbo-bundler.log +0 -13
  546. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -5
  547. package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
  548. package/components/dropdown/.turbo/turbo-types.log +0 -4
  549. package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
  550. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
  551. package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
  552. package/components/dropdown/dist/index.d.ts.map +0 -1
  553. package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
  554. package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
  555. package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
  556. package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
  557. package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
  558. package/components/dropdown/node_modules/chalk/package.json +0 -83
  559. package/components/dropdown/node_modules/chalk/readme.md +0 -325
  560. package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
  561. package/components/dropdown/node_modules/chalk/source/index.js +0 -225
  562. package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
  563. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  564. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  565. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  566. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  567. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  568. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  569. package/components/dropdown/package.json +0 -57
  570. package/components/dropdown/src/auro-dropdown.js +0 -474
  571. package/components/dropdown/src/auro-dropdownBib.js +0 -106
  572. package/components/dropdown/src/iconVersion.js +0 -1
  573. package/components/dropdown/src/index.js +0 -6
  574. package/components/dropdown/src/styles/bibColors-css.js +0 -2
  575. package/components/dropdown/src/styles/bibColors.css +0 -6
  576. package/components/dropdown/src/styles/bibColors.scss +0 -18
  577. package/components/dropdown/src/styles/bibStyles-css.js +0 -2
  578. package/components/dropdown/src/styles/bibStyles.css +0 -43
  579. package/components/dropdown/src/styles/bibStyles.scss +0 -60
  580. package/components/dropdown/src/styles/color-css.js +0 -2
  581. package/components/dropdown/src/styles/color.css +0 -59
  582. package/components/dropdown/src/styles/color.scss +0 -79
  583. package/components/dropdown/src/styles/style-css.js +0 -2
  584. package/components/dropdown/src/styles/style.css +0 -92
  585. package/components/dropdown/src/styles/style.scss +0 -122
  586. package/components/dropdown/src/styles/tokens-css.js +0 -2
  587. package/components/dropdown/src/styles/tokens.css +0 -13
  588. package/components/dropdown/src/styles/tokens.scss +0 -15
  589. package/components/form/.stylelintrc.json +0 -3
  590. package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
  591. package/components/form/.turbo/turbo-build$colon$version.log +0 -4
  592. package/components/form/.turbo/turbo-build.log +0 -113
  593. package/components/form/.turbo/turbo-bundler.log +0 -13
  594. package/components/form/.turbo/turbo-postCss$colon$component.log +0 -5
  595. package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
  596. package/components/form/.turbo/turbo-types.log +0 -4
  597. package/components/form/dist/auro-form.d.ts.map +0 -1
  598. package/components/form/dist/index.d.ts.map +0 -1
  599. package/components/form/dist/styles/style-css.d.ts.map +0 -1
  600. package/components/form/node_modules/chalk/package.json +0 -83
  601. package/components/form/node_modules/chalk/readme.md +0 -325
  602. package/components/form/node_modules/chalk/source/index.d.ts +0 -320
  603. package/components/form/node_modules/chalk/source/index.js +0 -225
  604. package/components/form/node_modules/chalk/source/utilities.js +0 -33
  605. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  606. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  607. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  608. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  609. package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  610. package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  611. package/components/form/package.json +0 -72
  612. package/components/form/src/auro-form.js +0 -74
  613. package/components/form/src/index.js +0 -6
  614. package/components/form/src/styles/style-css.js +0 -2
  615. package/components/form/src/styles/style.css +0 -36
  616. package/components/form/src/styles/style.scss +0 -37
  617. package/components/input/.stylelintrc.json +0 -3
  618. package/components/input/.turbo/turbo-build$colon$sass.log +0 -198
  619. package/components/input/.turbo/turbo-build$colon$version.log +0 -10
  620. package/components/input/.turbo/turbo-build.log +0 -353
  621. package/components/input/.turbo/turbo-bundler.log +0 -13
  622. package/components/input/.turbo/turbo-postCss$colon$component.log +0 -5
  623. package/components/input/.turbo/turbo-sass$colon$render.log +0 -58
  624. package/components/input/.turbo/turbo-types.log +0 -4
  625. package/components/input/dist/auro-input.d.ts.map +0 -1
  626. package/components/input/dist/base-input.d.ts.map +0 -1
  627. package/components/input/dist/buttonVersion.d.ts.map +0 -1
  628. package/components/input/dist/i18n.d.ts.map +0 -1
  629. package/components/input/dist/iconVersion.d.ts.map +0 -1
  630. package/components/input/dist/index.d.ts.map +0 -1
  631. package/components/input/dist/styles/borders-css.d.ts.map +0 -1
  632. package/components/input/dist/styles/color-css.d.ts.map +0 -1
  633. package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
  634. package/components/input/dist/styles/input-css.d.ts.map +0 -1
  635. package/components/input/dist/styles/label-css.d.ts.map +0 -1
  636. package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
  637. package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
  638. package/components/input/dist/styles/style-css.d.ts.map +0 -1
  639. package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
  640. package/components/input/node_modules/chalk/package.json +0 -83
  641. package/components/input/node_modules/chalk/readme.md +0 -325
  642. package/components/input/node_modules/chalk/source/index.d.ts +0 -320
  643. package/components/input/node_modules/chalk/source/index.js +0 -225
  644. package/components/input/node_modules/chalk/source/utilities.js +0 -33
  645. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  646. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  647. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  648. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  649. package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  650. package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  651. package/components/input/package.json +0 -75
  652. package/components/input/src/auro-input.js +0 -241
  653. package/components/input/src/base-input.js +0 -1103
  654. package/components/input/src/buttonVersion.js +0 -1
  655. package/components/input/src/i18n.js +0 -102
  656. package/components/input/src/iconVersion.js +0 -1
  657. package/components/input/src/index.js +0 -6
  658. package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
  659. package/components/input/src/styles/borders-css.js +0 -2
  660. package/components/input/src/styles/borders.css +0 -35
  661. package/components/input/src/styles/borders.scss +0 -49
  662. package/components/input/src/styles/color-css.js +0 -2
  663. package/components/input/src/styles/color.css +0 -62
  664. package/components/input/src/styles/color.scss +0 -89
  665. package/components/input/src/styles/helpText-css.js +0 -2
  666. package/components/input/src/styles/helpText.css +0 -6
  667. package/components/input/src/styles/helpText.scss +0 -9
  668. package/components/input/src/styles/input-css.js +0 -2
  669. package/components/input/src/styles/input.css +0 -35
  670. package/components/input/src/styles/input.scss +0 -53
  671. package/components/input/src/styles/label-css.js +0 -2
  672. package/components/input/src/styles/label.css +0 -45
  673. package/components/input/src/styles/label.scss +0 -71
  674. package/components/input/src/styles/mixins-css.js +0 -2
  675. package/components/input/src/styles/mixins.css +0 -1
  676. package/components/input/src/styles/mixins.scss +0 -45
  677. package/components/input/src/styles/notificationIcons-css.js +0 -2
  678. package/components/input/src/styles/notificationIcons.css +0 -84
  679. package/components/input/src/styles/notificationIcons.scss +0 -109
  680. package/components/input/src/styles/style-css.js +0 -2
  681. package/components/input/src/styles/style.css +0 -290
  682. package/components/input/src/styles/style.scss +0 -53
  683. package/components/input/src/styles/tokens-css.js +0 -2
  684. package/components/input/src/styles/tokens.css +0 -9
  685. package/components/input/src/styles/tokens.scss +0 -11
  686. package/components/menu/.stylelintrc.json +0 -3
  687. package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
  688. package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
  689. package/components/menu/.turbo/turbo-build.log +0 -184
  690. package/components/menu/.turbo/turbo-bundler.log +0 -13
  691. package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -5
  692. package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
  693. package/components/menu/.turbo/turbo-types.log +0 -4
  694. package/components/menu/dist/auro-menu.d.ts.map +0 -1
  695. package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
  696. package/components/menu/dist/iconVersion.d.ts.map +0 -1
  697. package/components/menu/dist/index.d.ts.map +0 -1
  698. package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
  699. package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
  700. package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
  701. package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
  702. package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
  703. package/components/menu/node_modules/chalk/package.json +0 -83
  704. package/components/menu/node_modules/chalk/readme.md +0 -325
  705. package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
  706. package/components/menu/node_modules/chalk/source/index.js +0 -225
  707. package/components/menu/node_modules/chalk/source/utilities.js +0 -33
  708. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  709. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  710. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  711. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  712. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  713. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  714. package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
  715. package/components/menu/node_modules/mime/Mime.js +0 -97
  716. package/components/menu/node_modules/mime/README.md +0 -187
  717. package/components/menu/node_modules/mime/cli.js +0 -46
  718. package/components/menu/node_modules/mime/index.js +0 -4
  719. package/components/menu/node_modules/mime/lite.js +0 -4
  720. package/components/menu/node_modules/mime/package.json +0 -52
  721. package/components/menu/node_modules/mime/types/other.js +0 -1
  722. package/components/menu/node_modules/mime/types/standard.js +0 -1
  723. package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  724. package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
  725. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  726. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  727. package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  728. package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  729. package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
  730. package/components/menu/package.json +0 -70
  731. package/components/menu/src/auro-menu.js +0 -539
  732. package/components/menu/src/auro-menuoption.js +0 -147
  733. package/components/menu/src/iconVersion.js +0 -1
  734. package/components/menu/src/index.js +0 -8
  735. package/components/menu/src/styles/color-menu-css.js +0 -2
  736. package/components/menu/src/styles/color-menu.css +0 -4
  737. package/components/menu/src/styles/color-menu.scss +0 -12
  738. package/components/menu/src/styles/color-menuoption-css.js +0 -2
  739. package/components/menu/src/styles/color-menuoption.css +0 -23
  740. package/components/menu/src/styles/color-menuoption.scss +0 -33
  741. package/components/menu/src/styles/style-menu-css.js +0 -2
  742. package/components/menu/src/styles/style-menu.css +0 -2061
  743. package/components/menu/src/styles/style-menu.scss +0 -80
  744. package/components/menu/src/styles/style-menuoption-css.js +0 -2
  745. package/components/menu/src/styles/style-menuoption.css +0 -45
  746. package/components/menu/src/styles/style-menuoption.scss +0 -66
  747. package/components/menu/src/styles/tokens-css.js +0 -2
  748. package/components/menu/src/styles/tokens.css +0 -6
  749. package/components/menu/src/styles/tokens.scss +0 -6
  750. package/components/radio/.stylelintrc.json +0 -3
  751. package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
  752. package/components/radio/.turbo/turbo-build.log +0 -216
  753. package/components/radio/.turbo/turbo-bundler.log +0 -13
  754. package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -5
  755. package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
  756. package/components/radio/.turbo/turbo-types.log +0 -4
  757. package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
  758. package/components/radio/dist/auro-radio.d.ts.map +0 -1
  759. package/components/radio/dist/index.d.ts.map +0 -1
  760. package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
  761. package/components/radio/dist/styles/color-css.d.ts.map +0 -1
  762. package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
  763. package/components/radio/dist/styles/style-css.d.ts.map +0 -1
  764. package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
  765. package/components/radio/node_modules/chalk/package.json +0 -83
  766. package/components/radio/node_modules/chalk/readme.md +0 -325
  767. package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
  768. package/components/radio/node_modules/chalk/source/index.js +0 -225
  769. package/components/radio/node_modules/chalk/source/utilities.js +0 -33
  770. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  771. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  772. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  773. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  774. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  775. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  776. package/components/radio/package.json +0 -69
  777. package/components/radio/src/auro-radio-group.js +0 -433
  778. package/components/radio/src/auro-radio.js +0 -256
  779. package/components/radio/src/index.js +0 -8
  780. package/components/radio/src/styles/auro-radio-group-css.js +0 -2
  781. package/components/radio/src/styles/auro-radio-group.css +0 -23
  782. package/components/radio/src/styles/auro-radio-group.scss +0 -36
  783. package/components/radio/src/styles/color-css.js +0 -2
  784. package/components/radio/src/styles/color.css +0 -45
  785. package/components/radio/src/styles/color.scss +0 -56
  786. package/components/radio/src/styles/groupColor-css.js +0 -2
  787. package/components/radio/src/styles/groupColor.css +0 -21
  788. package/components/radio/src/styles/groupColor.scss +0 -33
  789. package/components/radio/src/styles/style-css.js +0 -2
  790. package/components/radio/src/styles/style.css +0 -113
  791. package/components/radio/src/styles/style.scss +0 -99
  792. package/components/radio/src/styles/tokens-css.js +0 -2
  793. package/components/radio/src/styles/tokens.css +0 -9
  794. package/components/radio/src/styles/tokens.scss +0 -12
  795. package/components/select/.stylelintrc.json +0 -3
  796. package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
  797. package/components/select/.turbo/turbo-build.log +0 -241
  798. package/components/select/.turbo/turbo-postCss$colon$component.log +0 -5
  799. package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
  800. package/components/select/dist/auro-select.d.ts.map +0 -1
  801. package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  802. package/components/select/dist/index.d.ts.map +0 -1
  803. package/components/select/dist/styles/color-css.d.ts.map +0 -1
  804. package/components/select/dist/styles/style-css.d.ts.map +0 -1
  805. package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
  806. package/components/select/node_modules/chalk/package.json +0 -83
  807. package/components/select/node_modules/chalk/readme.md +0 -325
  808. package/components/select/node_modules/chalk/source/index.d.ts +0 -320
  809. package/components/select/node_modules/chalk/source/index.js +0 -225
  810. package/components/select/node_modules/chalk/source/utilities.js +0 -33
  811. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  812. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  813. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  814. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  815. package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  816. package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  817. package/components/select/node_modules/mime/CHANGELOG.md +0 -296
  818. package/components/select/node_modules/mime/Mime.js +0 -97
  819. package/components/select/node_modules/mime/README.md +0 -187
  820. package/components/select/node_modules/mime/cli.js +0 -46
  821. package/components/select/node_modules/mime/index.js +0 -4
  822. package/components/select/node_modules/mime/lite.js +0 -4
  823. package/components/select/node_modules/mime/package.json +0 -52
  824. package/components/select/node_modules/mime/types/other.js +0 -1
  825. package/components/select/node_modules/mime/types/standard.js +0 -1
  826. package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  827. package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
  828. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  829. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  830. package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  831. package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  832. package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
  833. package/components/select/package.json +0 -70
  834. package/components/select/packageScripts/postinstall.mjs +0 -28
  835. package/components/select/src/auro-select.js +0 -559
  836. package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
  837. package/components/select/src/index.js +0 -6
  838. package/components/select/src/styles/color-css.js +0 -2
  839. package/components/select/src/styles/color.css +0 -63
  840. package/components/select/src/styles/color.scss +0 -33
  841. package/components/select/src/styles/style-css.js +0 -2
  842. package/components/select/src/styles/style.css +0 -104
  843. package/components/select/src/styles/style.scss +0 -76
  844. package/components/select/src/styles/tokens-css.js +0 -2
  845. package/components/select/src/styles/tokens.css +0 -3
  846. package/components/select/src/styles/tokens.scss +0 -5
  847. package/packages/build-tools/package.json +0 -15
  848. package/packages/build-tools/src/docProcessor.mjs +0 -104
  849. package/packages/build-tools/src/formVersionWriter.mjs +0 -75
  850. package/packages/build-tools/src/index.js +0 -1
  851. package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
  852. package/packages/form-validation/package.json +0 -12
  853. package/packages/form-validation/src/index.js +0 -1
  854. package/packages/form-validation/src/validation.js +0 -259
  855. package/packages/typescript/base.json +0 -19
  856. package/packages/typescript/package.json +0 -20
  857. package/turbo.json +0 -100
@@ -0,0 +1,1396 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const t$4=globalThis,e$7=t$4.ShadowRoot&&(void 0===t$4.ShadyCSS||t$4.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$4=Symbol(),o$7=new WeakMap;let n$6 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$4)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$7&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$7.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$7.set(s,t));}return t}toString(){return this.cssText}};const r$7=t=>new n$6("string"==typeof t?t:t+"",void 0,s$4),i$9=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$6(o,t,s$4)},S$3=(s,o)=>{if(e$7)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$4.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$5=e$7?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$7(e)})(t):t;
7
+
8
+ /**
9
+ * @license
10
+ * Copyright 2017 Google LLC
11
+ * SPDX-License-Identifier: BSD-3-Clause
12
+ */const{is:i$8,defineProperty:e$6,getOwnPropertyDescriptor:r$6,getOwnPropertyNames:h$3,getOwnPropertySymbols:o$6,getPrototypeOf:n$5}=Object,a$4=globalThis,c$4=a$4.trustedTypes,l$4=c$4?c$4.emptyScript:"",p$3=a$4.reactiveElementPolyfillSupport,d$3=(t,s)=>t,u$4={toAttribute(t,s){switch(s){case Boolean:t=t?l$4:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$3=(t,s)=>!i$8(t,s),y$3={attribute:true,type:String,converter:u$4,reflect:false,hasChanged:f$3};Symbol.metadata??=Symbol("metadata"),a$4.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$3){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$6(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$6(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$3}static _$Ei(){if(this.hasOwnProperty(d$3("elementProperties")))return;const t=n$5(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$3("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$3("properties"))){const t=this.properties,s=[...h$3(t),...o$6(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$5(s));}else void 0!==s&&i.push(c$5(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$3(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$4).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$4;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$3)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$3("elementProperties")]=new Map,b$1[d$3("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$4.reactiveElementVersions??=[]).push("2.0.4");
13
+
14
+ /**
15
+ * @license
16
+ * Copyright 2017 Google LLC
17
+ * SPDX-License-Identifier: BSD-3-Clause
18
+ */
19
+ const t$3=globalThis,i$7=t$3.trustedTypes,s$3=i$7?i$7.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$5="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$5="?"+h$2,n$4=`<${o$5}>`,r$5=document,l$3=()=>r$5.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$3=Array.isArray,u$3=t=>a$3(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$2(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$5.createTreeWalker(r$5,129);function P$1(t,i){if(!a$3(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$3?s$3.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$2;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$2?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$2,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$4:d>=0?(o.push(a),s.slice(0,d)+e$5+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$5)){const i=v[a++],s=r.getAttribute(t).split(h$2),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$7?i$7.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$3()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$3());}}}else if(8===r.nodeType)if(r.data===o$5)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$5.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$3(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$2(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$5).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$5,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$2(this,t,i),c$3(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$3(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$5.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$3(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$3()),this.O(l$3()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$2(this,t,i,0),o=!c$3(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$2(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}};const j$1=t$3.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$3.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$3(),t),t,void 0,s??{});}return h._$AI(t),h};
20
+
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$6=globalThis.litElementPolyfillSupport;i$6?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
26
+
27
+ /**
28
+ * @license
29
+ * Copyright 2017 Google LLC
30
+ * SPDX-License-Identifier: BSD-3-Clause
31
+ */
32
+ const t$2={ATTRIBUTE:1},e$4=t=>(...e)=>({_$litDirective$:t,values:e});let i$5 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
33
+
34
+ /**
35
+ * @license
36
+ * Copyright 2018 Google LLC
37
+ * SPDX-License-Identifier: BSD-3-Clause
38
+ */const e$3=e$4(class extends i$5{constructor(t){if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
39
+
40
+ /**
41
+ * @license
42
+ * Copyright 2018 Google LLC
43
+ * SPDX-License-Identifier: BSD-3-Clause
44
+ */const o$4=o=>o??E$1;
45
+
46
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t();}(0,function(){function e(e){var t=true,n=false,o=null,d={text:true,search:true,url:true,tel:true,email:true,password:true,number:true,date:true,month:true,week:true,time:true,datetime:true,"datetime-local":true};function i(e){return !!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""));}function u(e){t=false;}function a(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c);}function c(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=false,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c));}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(i(e.activeElement)&&s(e.activeElement),t=true);},true),document.addEventListener("mousedown",u,true),document.addEventListener("pointerdown",u,true),document.addEventListener("touchstart",u,true),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=true),a());},true),a(),e.addEventListener("focus",function(e){var n,o,u;i(e.target)&&(t||(n=e.target,o=n.type,"INPUT"===(u=n.tagName)&&d[o]&&!n.readOnly||"TEXTAREA"===u&&!n.readOnly||n.isContentEditable))&&s(e.target);},true),e.addEventListener("blur",function(e){var t;i(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=true,window.clearTimeout(o),o=window.setTimeout(function(){n=false;},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")));},true),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""));}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready");}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",false,false,{});}window.dispatchEvent(t);}"undefined"!=typeof document&&e(document);});
47
+
48
+ var styleCss$2 = i$9`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;outline:unset}:host(.focus-visible) .displayFlex .inputGroup:focus-within{width:auto}:host(.focus-visible) .rdoGroup{display:block;padding-right:var(--ds-size-100, 0.5rem);outline:3px solid transparent}:host(.focus-visible) .rdoGroup .label:after{outline-width:1px;outline-style:solid}.rdoGroup{position:relative;padding-right:var(--ds-size-100, 0.5rem);padding-left:var(--ds-size-100, 0.5rem);line-height:var(--ds-size-400, 2rem)}.label{display:block;margin-left:var(--ds-size-300, 1.5rem)}.label:hover{cursor:pointer}.label:after{position:absolute;z-index:1;top:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem);width:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:"";border-radius:50%;border:1px solid}.slotContent{display:block;margin-left:var(--ds-size-400, 2rem);padding-left:var(--ds-size-100, 0.5rem)}`;
49
+
50
+ var colorCss$2 = i$9`.label{color:var(--ds-auro-radio-label-color)}.label:after{background-color:var(--ds-auro-radio-btn-fill-color);border-color:var(--ds-auro-radio-btn-border-color);box-shadow:inset 0 0 0 3px var(--ds-auro-radio-btn-inset-color);outline-color:var(--ds-auro-radio-btn-border-color);-webkit-tap-highlight-color:var(--ds-auro-radio-tap-color)}:host([checked]){--ds-auro-radio-btn-inset-color: var(--ds-color-background-primary-100-default, #ffffff);--ds-auro-radio-btn-fill-color: var(--ds-color-border-ui-default-default);--ds-auro-radio-btn-border-color: var(--ds-color-border-ui-default-default)}:host([error]){--ds-auro-radio-btn-border-color: var(--ds-color-border-error-default, #cc1816)}:host([checked][error]){--ds-auro-radio-btn-fill-color: var(--ds-color-border-error-default, #cc1816)}:host([disabled]){--ds-auro-radio-btn-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}:host(.focus-visible){--ds-auro-radio-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}`;
51
+
52
+ var tokenCss = i$9`:host{--ds-auro-radio-group-label-color: inherit;--ds-auro-radio-btn-border-color: var(--ds-color-border-primary-default, $ds-color-border-primary-default);--ds-auro-radio-btn-fill-color: transparent;--ds-auro-radio-btn-inset-color: transparent;--ds-auro-radio-label-color: inherit;--ds-auro-radio-tap-color: transparent}`;
53
+
54
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
55
+ // See LICENSE in the project root for license information.
56
+
57
+ // ---------------------------------------------------------------------
58
+
59
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
60
+
61
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
62
+
63
+ /* eslint-disable jsdoc/require-param */
64
+
65
+ /**
66
+ * This will register a new custom element with the browser.
67
+ * @param {String} name - The name of the custom element.
68
+ * @param {Object} componentClass - The class to register as a custom element.
69
+ * @returns {void}
70
+ */
71
+ registerComponent(name, componentClass) {
72
+ if (!customElements.get(name)) {
73
+ customElements.define(name, class extends componentClass {});
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Finds and returns the closest HTML Element based on a selector.
79
+ * @returns {void}
80
+ */
81
+ closestElement(
82
+ selector, // selector like in .closest()
83
+ base = this, // extra functionality to skip a parent
84
+ __Closest = (el, found = el && el.closest(selector)) =>
85
+ !el || el === document || el === window
86
+ ? null // standard .closest() returns null for non-found selectors also
87
+ : found
88
+ ? found // found a selector INside this element
89
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
90
+ ) {
91
+ return __Closest(base);
92
+ }
93
+ /* eslint-enable jsdoc/require-param */
94
+
95
+ /**
96
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
97
+ * @param {Object} elem - The element to check.
98
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
99
+ * @returns {void}
100
+ */
101
+ handleComponentTagRename(elem, tagName) {
102
+ const tag = tagName.toLowerCase();
103
+ const elemTag = elem.tagName.toLowerCase();
104
+
105
+ if (elemTag !== tag) {
106
+ elem.setAttribute(tag, true);
107
+ }
108
+ }
109
+
110
+ /**
111
+ * Validates if an element is a specific Auro component.
112
+ * @param {Object} elem - The element to validate.
113
+ * @param {String} tagName - The name of the Auro component to check against.
114
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
115
+ */
116
+ elementMatch(elem, tagName) {
117
+ const tag = tagName.toLowerCase();
118
+ const elemTag = elem.tagName.toLowerCase();
119
+
120
+ return elemTag === tag || elem.hasAttribute(tag);
121
+ }
122
+ };
123
+
124
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
125
+ // See LICENSE in the project root for license information.
126
+
127
+
128
+ /**
129
+ * @attr {Boolean} checked - If set to true, the radio button will be filled.
130
+ * @attr {Boolean} disabled - If set to true, the radio button will be non-clickable.
131
+ * @attr {Boolean} required - Defines element as required.
132
+ * @attr {Boolean} error - If set to true, sets an error state on the radio button.
133
+ * @event toggleSelected - Notifies that the component has toggled the checked/selected state.
134
+ * @event focusSelected - Notifies that the component has gained focus.
135
+ * @event auroRadio-blur - Notifies that the component has lost focus.
136
+ * @event resetRadio - Notifies that the component has reset the checked/selected state.
137
+ * @event auroRadio-selected - Notifies that the component has been marked as checked/selected.
138
+ */
139
+
140
+ // build the component class
141
+ class AuroRadio extends r$4 {
142
+ constructor() {
143
+ super();
144
+ this.checked = false;
145
+ this.disabled = false;
146
+ this.required = false;
147
+ this.error = false;
148
+ this.tabIndex = -1;
149
+
150
+ /**
151
+ * @private
152
+ */
153
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
154
+ }
155
+
156
+ static get styles() {
157
+ return [
158
+ styleCss$2,
159
+ colorCss$2,
160
+ tokenCss
161
+ ];
162
+ }
163
+
164
+ // function to define props used within the scope of this component
165
+ static get properties() {
166
+ return {
167
+ checked: {
168
+ type: Boolean,
169
+ reflect: true
170
+ },
171
+ disabled: {
172
+ type: Boolean,
173
+ reflect: true
174
+ },
175
+ required: {
176
+ type: Boolean,
177
+ reflect: true
178
+ },
179
+ error: {
180
+ type: Boolean,
181
+ reflect: true
182
+ },
183
+ id: { type: String },
184
+ label: { type: String },
185
+ name: { type: String },
186
+ value: { type: String },
187
+ tabIndex: {
188
+ type: Number,
189
+ reflect: true
190
+ }
191
+ };
192
+ }
193
+
194
+ /**
195
+ * This will register this element with the browser.
196
+ * @param {string} [name="auro-radio"] - The name of element that you want to register to.
197
+ *
198
+ * @example
199
+ * AuroRadio.register("custom-radio") // This will resgiter this element to <custom-radio/>
200
+ *
201
+ */
202
+ static register(name = "auro-radio") {
203
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroRadio);
204
+ }
205
+
206
+ /**
207
+ * Method for handling content when change event is fired.
208
+ * @private
209
+ * @param {Event} event - The trigger event tied to this function.
210
+ * @returns {void}
211
+ */
212
+ handleChange(event) {
213
+ this.checked = event.target.checked;
214
+ const customEvent = new CustomEvent(event.type, event);
215
+
216
+ this.dispatchEvent(customEvent);
217
+ }
218
+
219
+ /**
220
+ * Method for handling content when input event is fired.
221
+ * @private
222
+ * @param {Event} event - The trigger event tied to this function.
223
+ * @returns {void}
224
+ */
225
+ handleInput(event) {
226
+ this.checked = event.target.checked;
227
+ this.dispatchEvent(new CustomEvent('toggleSelected', {
228
+ bubbles: true,
229
+ composed: true,
230
+ target: this
231
+ }));
232
+ }
233
+
234
+ /**
235
+ * Method for handling focus event.
236
+ * @private
237
+ * @param {Event} event - The trigger event tied to this function.
238
+ * @returns {void}
239
+ */
240
+ handleFocus(event) {
241
+ this.dispatchEvent(new CustomEvent('focusSelected', {
242
+ bubbles: true,
243
+ composed: true,
244
+ target: event.target
245
+ }));
246
+ }
247
+
248
+ /**
249
+ * Method for handling blur event.
250
+ * @private
251
+ * @param {Event} event - The trigger event tied to this function.
252
+ * @returns {void}
253
+ */
254
+ handleBlur(event) {
255
+ this.dispatchEvent(new CustomEvent('auroRadio-blur', {
256
+ bubbles: true,
257
+ composed: true,
258
+ target: event.target
259
+ }));
260
+ }
261
+
262
+ /**
263
+ * Resets component to initial state.
264
+ * @returns {void}
265
+ */
266
+ reset() {
267
+ this.checked = false;
268
+ this.error = false;
269
+ }
270
+
271
+ updated(changedProperties) {
272
+ if (changedProperties.has('checked')) {
273
+ this.dispatchEvent(new CustomEvent('resetRadio', {
274
+ bubbles: true,
275
+ composed: true
276
+ }));
277
+
278
+ if (this.checked) {
279
+ this.dispatchEvent(new CustomEvent('auroRadio-selected', {
280
+ bubbles: true,
281
+ composed: true
282
+ }));
283
+ }
284
+ }
285
+ }
286
+
287
+ /**
288
+ * Method for handling content when it is invalid accessibility wise.
289
+ * @private
290
+ * @param {Boolean} error - The element's error attribute.
291
+ * @returns {void}
292
+ */
293
+ invalid(error) {
294
+ if (error) {
295
+ return 'true';
296
+ }
297
+
298
+ return 'false';
299
+ }
300
+
301
+ /**
302
+ * Method for handling passing the required status to aria.
303
+ * @private
304
+ * @param {Boolean} required - The element's required attribute.
305
+ * @returns {void}
306
+ */
307
+ isRequired(required) {
308
+ if (required) {
309
+ return 'true';
310
+ }
311
+
312
+ return 'false';
313
+ }
314
+
315
+ firstUpdated() {
316
+ // Add the tag name as an attribute if it is different than the component name
317
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-radio');
318
+
319
+ this.addEventListener('blur', this.handleBlur);
320
+
321
+ this.input = this.shadowRoot.querySelector('input');
322
+
323
+ this.addEventListener('click', () => {
324
+ this.input.click();
325
+ });
326
+ }
327
+
328
+ // function that renders the HTML and CSS into the scope of the component
329
+ render() {
330
+ const labelClasses = {
331
+ 'ods-inputLabel': true,
332
+ 'ods-inputLabel--radio': true,
333
+ 'label': true,
334
+ 'label--rdo': true,
335
+ 'errorBorder': this.error
336
+ };
337
+
338
+ return x$1`
339
+ <div class="ods-inputGroup rdoGroup">
340
+ <input
341
+ class="util_displayHiddenVisually ods-inputOption rdo--input"
342
+ @focus="${this.handleFocus}"
343
+ @input="${this.handleInput}"
344
+ @change="${this.handleChange}"
345
+ ?disabled="${this.disabled}"
346
+ aria-invalid="${this.invalid(this.error)}"
347
+ aria-required="${this.isRequired(this.required)}"
348
+ .checked="${this.checked}"
349
+ id="${o$4(this.id)}"
350
+ name="${o$4(this.name)}"
351
+ type="radio"
352
+ .value="${this.value}"
353
+ tabIndex="-1"
354
+ />
355
+
356
+ <label for="${o$4(this.id)}" class="${e$3(labelClasses)}">
357
+ <slot>${this.label}</slot>
358
+ </label>
359
+
360
+ </div>
361
+ <slot name="content" class="slotContent"></slot>
362
+ `;
363
+ }
364
+ }
365
+
366
+ /**
367
+ * @license
368
+ * Copyright 2020 Google LLC
369
+ * SPDX-License-Identifier: BSD-3-Clause
370
+ */
371
+ const a$2=Symbol.for(""),o$3=t=>{if(t?.r===a$2)return t?._$litStatic$},s$2=t=>({_$litStatic$:t,r:a$2}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$2}),l$2=new Map,n$3=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$3(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$2.get(t))&&(n.raw=n,l$2.set(t,r=n)),e=u;}return t(r,...e)},u$2=n$3(x$1);
372
+
373
+ var styleCss$1 = i$9`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}fieldset{all:unset}.displayFlex legend+slot{display:flex;white-space:nowrap}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
374
+
375
+ var colorCss$1 = i$9`:host legend{color:var(--ds-auro-radio-group-label-color)}:host([disabled]){--ds-auro-radio-group-label-color: var(--ds-color-text-disabled-default, $ds-color-text-disabled-default)}`;
376
+
377
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
378
+ // See LICENSE in the project root for license information.
379
+
380
+
381
+ class AuroFormValidation {
382
+ constructor() {
383
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
384
+ }
385
+
386
+ /**
387
+ * Resets the element to its initial state.
388
+ * @private
389
+ * @param {object} elem - HTML element to reset.
390
+ * @returns {void}
391
+ */
392
+ reset(elem) {
393
+ elem.validity = undefined;
394
+ elem.value = undefined;
395
+
396
+ // Resets the second value of the datepicker in range state
397
+ if (elem.valueEnd) {
398
+ elem.valueEnd = undefined;
399
+ }
400
+
401
+ // Resets selected option of element
402
+ if (elem.optionSelected) {
403
+ elem.optionSelected = undefined;
404
+ }
405
+
406
+ // Runs validation to handle error attribute
407
+ this.validate(elem);
408
+ }
409
+
410
+ /**
411
+ * Validates the attributes of a given element based on predefined validation rules.
412
+ *
413
+ * @param {HTMLElement} elem - The element to be validated.
414
+ * @returns {void}
415
+ *
416
+ * @example
417
+ * // Assuming `inputElement` is a reference to an input element in the DOM
418
+ * validateElementAttributes(inputElement);
419
+ *
420
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
421
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
422
+ *
423
+ * Validation rules:
424
+ * - input:
425
+ * - length:
426
+ * - tooShort: Checks if the value length is less than the minimum length.
427
+ * - tooLong: Checks if the value length exceeds the maximum length.
428
+ * - pattern:
429
+ * - patternMismatch: Checks if the value does not match the specified pattern.
430
+ * - counter:
431
+ * - range:
432
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
433
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
434
+ */
435
+ validateElementAttributes(elem) {
436
+ const validationRules = {
437
+ input: {
438
+ length: [
439
+ {
440
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
441
+ validity: 'tooShort',
442
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
443
+ },
444
+ {
445
+ check: (e) => e.value?.length > e.maxLength,
446
+ validity: 'tooLong',
447
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
448
+ }
449
+ ],
450
+ pattern: [
451
+ {
452
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
453
+ validity: 'patternMismatch',
454
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
455
+ }
456
+ ]
457
+ },
458
+ counter: {
459
+ range: [
460
+ {
461
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
462
+ validity: 'rangeOverflow',
463
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
464
+ },
465
+ {
466
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
467
+ validity: 'rangeUnderflow',
468
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
469
+ }
470
+ ]
471
+ }
472
+ };
473
+
474
+ let elementType;
475
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
476
+ elementType = 'input';
477
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
478
+ elementType = 'counter';
479
+ }
480
+
481
+ if (elementType) {
482
+ const rules = validationRules[elementType];
483
+
484
+ if (rules) {
485
+ Object.values(rules).flat().forEach(rule => {
486
+ if (rule.check(elem)) {
487
+ elem.validity = rule.validity;
488
+ elem.errorMessage = rule.message(elem);
489
+ }
490
+ });
491
+ }
492
+ }
493
+ }
494
+
495
+ /**
496
+ * Determines the validity state of the element based on the type attribute.
497
+ * @private
498
+ * @param {object} elem - HTML element to validate.
499
+ * @returns {void}
500
+ */
501
+ validateType(elem) {
502
+ if (elem.hasAttribute('type')) {
503
+ if (elem.type === 'email') {
504
+ const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
505
+
506
+ if (!elem.value.match(emailRegex)) {
507
+ elem.validity = 'patternMismatch';
508
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
509
+ }
510
+ } else if (elem.type === 'credit-card') {
511
+ if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
512
+ elem.validity = 'tooShort';
513
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
514
+ }
515
+ } else if (elem.type === 'number') {
516
+ if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
517
+ elem.validity = 'rangeOverflow';
518
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
519
+ }
520
+
521
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
522
+ elem.validity = 'rangeUnderflow';
523
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
524
+ }
525
+ } else if (elem.type === 'date') {
526
+ if (elem.value?.length > 0 && elem.value?.length < elem.lengthForType) {
527
+ elem.validity = 'tooShort';
528
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
529
+ } else if (elem.value?.length === elem.lengthForType && elem.util.toNorthAmericanFormat(elem.value, elem.format)) {
530
+ const formattedValue = elem.util.toNorthAmericanFormat(elem.value, elem.format);
531
+ const valueDate = new Date(formattedValue.dateForComparison);
532
+
533
+ // validate max
534
+ if (elem.max?.length === elem.lengthForType) {
535
+ const maxDate = new Date(elem.util.toNorthAmericanFormat(elem.max, elem.format).dateForComparison);
536
+
537
+ if (valueDate > maxDate) {
538
+ elem.validity = 'rangeOverflow';
539
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
540
+ }
541
+ }
542
+
543
+ // validate min
544
+ if (elem.min?.length === elem.lengthForType) {
545
+ const minDate = new Date(elem.util.toNorthAmericanFormat(elem.min, elem.format).dateForComparison);
546
+
547
+ if (valueDate < minDate) {
548
+ elem.validity = 'rangeUnderflow';
549
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
550
+ }
551
+ }
552
+ }
553
+ }
554
+ }
555
+ }
556
+
557
+ /**
558
+ * Determines the validity state of the element.
559
+ * @param {object} elem - HTML element to validate.
560
+ * @param {boolean} force - Boolean that forces validation to run.
561
+ * @returns {void}
562
+ */
563
+ validate(elem, force) {
564
+ this.getInputElements(elem);
565
+ this.getAuroInputs(elem);
566
+
567
+ // Validate only if noValidate is not true and the input does not have focus
568
+ const validationShouldRun = force || (!elem.contains(document.activeElement) && elem.value !== undefined) || elem.validateOnInput;
569
+
570
+ if (elem.hasAttribute('error')) {
571
+ elem.validity = 'customError';
572
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
573
+ } else if (validationShouldRun) {
574
+ elem.validity = 'valid';
575
+ elem.errorMessage = '';
576
+
577
+ /**
578
+ * Only validate once we interact with the datepicker
579
+ * elem.value === undefined is the initial state pre-interaction.
580
+ *
581
+ * The validityState definitions are located at https://developer.mozilla.org/en-US/docs/Web/API/ValidityState.
582
+ */
583
+
584
+ let hasValue = elem.value && elem.value.length > 0;
585
+
586
+ // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
587
+ if (this.auroInputElements?.length === 2) {
588
+ if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
589
+ hasValue = false;
590
+ }
591
+ }
592
+
593
+ if (!hasValue && elem.required) {
594
+ elem.validity = 'valueMissing';
595
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
596
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
597
+ this.validateType(elem);
598
+ this.validateElementAttributes(elem);
599
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
600
+ this.validateElementAttributes(elem);
601
+ }
602
+ }
603
+
604
+ if (this.auroInputElements?.length > 0) {
605
+ elem.validity = this.auroInputElements[0].validity;
606
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
607
+
608
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
609
+ elem.validity = this.auroInputElements[1].validity;
610
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
611
+ }
612
+ }
613
+
614
+ if (validationShouldRun || elem.hasAttribute('error')) {
615
+ // Use the validity message override if it is declared
616
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
617
+ elem.errorMessage = elem.ValidityMessageOverride;
618
+ }
619
+
620
+ this.getErrorMessage(elem);
621
+
622
+ elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
623
+ bubbles: true,
624
+ composed: true,
625
+ detail: {
626
+ validity: elem.validity,
627
+ message: elem.errorMessage
628
+ }
629
+ }));
630
+ }
631
+ }
632
+
633
+ /**
634
+ * Gets all the HTML5 `inputs` in the element shadow DOM.
635
+ * @private
636
+ * @param {object} elem - HTML element to validate.
637
+ * @returns {void}
638
+ */
639
+ getInputElements(elem) {
640
+ this.inputElements = elem.renderRoot.querySelectorAll('input');
641
+ }
642
+
643
+ /**
644
+ * Gets all the `auro-inputs` in the element shadow DOM.
645
+ * @private
646
+ * @param {object} elem - HTML element to validate.
647
+ * @returns {void}
648
+ */
649
+ getAuroInputs(elem) {
650
+ this.auroInputElements = elem.shadowRoot.querySelectorAll('auro-input, [auro-input]');
651
+ }
652
+
653
+ /**
654
+ * Return appropriate error message.
655
+ * @private
656
+ * @param {object} elem - HTML element to validate.
657
+ * @returns {void}
658
+ */
659
+ getErrorMessage(elem) {
660
+ if (elem.validity !== 'valid') {
661
+ if (elem.setCustomValidity) {
662
+ elem.errorMessage = elem.setCustomValidity;
663
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
664
+ const input = elem.renderRoot.querySelector('input');
665
+
666
+ if (input.validationMessage.length > 0) {
667
+ elem.errorMessage = input.validationMessage;
668
+ }
669
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
670
+ const firstInput = this.inputElements[0];
671
+
672
+ if (firstInput.validationMessage.length > 0) {
673
+ elem.errorMessage = firstInput.validationMessage;
674
+ } else if (this.inputElements?.length === 2) {
675
+ const secondInput = this.inputElements[1];
676
+
677
+ if (secondInput.validationMessage.length > 0) {
678
+ elem.errorMessage = secondInput.validationMessage;
679
+ }
680
+ }
681
+ }
682
+ } else {
683
+ elem.errorMessage = undefined;
684
+ }
685
+ }
686
+ }
687
+
688
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
689
+ // See LICENSE in the project root for license information.
690
+
691
+
692
+ class AuroDependencyVersioning {
693
+
694
+ /**
695
+ * Generates a unique string to be used for child auro element naming.
696
+ * @private
697
+ * @param {string} baseName - Defines the first part of the unique element name.
698
+ * @param {string} version - Version of the component that will be appended to the baseName.
699
+ * @returns {string} - Unique string to be used for naming.
700
+ */
701
+ generateElementName(baseName, version) {
702
+ let result = baseName;
703
+
704
+ result += '-';
705
+ result += version.replace(/[.]/g, '_');
706
+
707
+ return result;
708
+ }
709
+
710
+ /**
711
+ * Generates a unique string to be used for child auro element naming.
712
+ * @param {string} baseName - Defines the first part of the unique element name.
713
+ * @param {string} version - Version of the component that will be appended to the baseName.
714
+ * @returns {string} - Unique string to be used for naming.
715
+ */
716
+ generateTag(baseName, version, tagClass) {
717
+ const elementName = this.generateElementName(baseName, version);
718
+ const tag = i$4`${s$2(elementName)}`;
719
+
720
+ if (!customElements.get(elementName)) {
721
+ customElements.define(elementName, class extends tagClass {});
722
+ }
723
+
724
+ return tag;
725
+ }
726
+ }
727
+
728
+ /**
729
+ * @license
730
+ * Copyright 2019 Google LLC
731
+ * SPDX-License-Identifier: BSD-3-Clause
732
+ */
733
+ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",void 0,s$1),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
734
+
735
+ /**
736
+ * @license
737
+ * Copyright 2017 Google LLC
738
+ * SPDX-License-Identifier: BSD-3-Clause
739
+ */const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
740
+
741
+ /**
742
+ * @license
743
+ * Copyright 2017 Google LLC
744
+ * SPDX-License-Identifier: BSD-3-Clause
745
+ */
746
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
747
+
748
+ /**
749
+ * @license
750
+ * Copyright 2017 Google LLC
751
+ * SPDX-License-Identifier: BSD-3-Clause
752
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
753
+
754
+ var colorCss = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
755
+
756
+ var styleCss = i$3`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
757
+
758
+ var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
759
+
760
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
761
+ // See LICENSE in the project root for license information.
762
+
763
+ // ---------------------------------------------------------------------
764
+
765
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
766
+
767
+ class AuroLibraryRuntimeUtils {
768
+
769
+ /* eslint-disable jsdoc/require-param */
770
+
771
+ /**
772
+ * This will register a new custom element with the browser.
773
+ * @param {String} name - The name of the custom element.
774
+ * @param {Object} componentClass - The class to register as a custom element.
775
+ * @returns {void}
776
+ */
777
+ registerComponent(name, componentClass) {
778
+ if (!customElements.get(name)) {
779
+ customElements.define(name, class extends componentClass {});
780
+ }
781
+ }
782
+
783
+ /**
784
+ * Finds and returns the closest HTML Element based on a selector.
785
+ * @returns {void}
786
+ */
787
+ closestElement(
788
+ selector, // selector like in .closest()
789
+ base = this, // extra functionality to skip a parent
790
+ __Closest = (el, found = el && el.closest(selector)) =>
791
+ !el || el === document || el === window
792
+ ? null // standard .closest() returns null for non-found selectors also
793
+ : found
794
+ ? found // found a selector INside this element
795
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
796
+ ) {
797
+ return __Closest(base);
798
+ }
799
+ /* eslint-enable jsdoc/require-param */
800
+
801
+ /**
802
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
803
+ * @param {Object} elem - The element to check.
804
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
805
+ * @returns {void}
806
+ */
807
+ handleComponentTagRename(elem, tagName) {
808
+ const tag = tagName.toLowerCase();
809
+ const elemTag = elem.tagName.toLowerCase();
810
+
811
+ if (elemTag !== tag) {
812
+ elem.setAttribute(tag, true);
813
+ }
814
+ }
815
+
816
+ /**
817
+ * Validates if an element is a specific Auro component.
818
+ * @param {Object} elem - The element to validate.
819
+ * @param {String} tagName - The name of the Auro component to check against.
820
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
821
+ */
822
+ elementMatch(elem, tagName) {
823
+ const tag = tagName.toLowerCase();
824
+ const elemTag = elem.tagName.toLowerCase();
825
+
826
+ return elemTag === tag || elem.hasAttribute(tag);
827
+ }
828
+ }
829
+
830
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
831
+ // See LICENSE in the project root for license information.
832
+
833
+
834
+ /**
835
+ * Displays help text or error messages within form elements - Internal Use Only.
836
+ *
837
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
838
+ */
839
+ class AuroHelpText extends r {
840
+
841
+ constructor() {
842
+ super();
843
+
844
+ this.error = false;
845
+ this.hasTextContent = false;
846
+
847
+ AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-helptext');
848
+ }
849
+
850
+ static get styles() {
851
+ return [
852
+ colorCss,
853
+ styleCss,
854
+ tokensCss
855
+ ];
856
+ }
857
+
858
+ // function to define props used within the scope of this component
859
+ static get properties() {
860
+ return {
861
+
862
+ /**
863
+ * @private
864
+ */
865
+ slotNodes: {
866
+ type: Boolean,
867
+ },
868
+
869
+ /**
870
+ * @private
871
+ */
872
+ hasTextContent: {
873
+ type: Boolean,
874
+ },
875
+
876
+ /**
877
+ * If declared, make font color red.
878
+ */
879
+ error: {
880
+ type: Boolean,
881
+ reflect: true,
882
+ },
883
+ };
884
+ }
885
+
886
+ /**
887
+ * This will register this element with the browser.
888
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
889
+ *
890
+ * @example
891
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
892
+ *
893
+ */
894
+ static register(name = "auro-helptext") {
895
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
896
+ }
897
+
898
+ updated() {
899
+ this.handleSlotChange();
900
+ }
901
+
902
+ handleSlotChange(event) {
903
+ if (event) {
904
+ this.slotNodes = event.target.assignedNodes();
905
+ }
906
+
907
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
908
+ }
909
+
910
+ /**
911
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
912
+ *
913
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
914
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
915
+ * @private
916
+ */
917
+ checkSlotsForContent(nodes) {
918
+ if (!nodes) {
919
+ return false;
920
+ }
921
+
922
+ return nodes.some((node) => {
923
+ if (node.textContent.trim()) {
924
+ return true;
925
+ }
926
+
927
+ if (!node.querySelector) {
928
+ return false;
929
+ }
930
+
931
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
932
+ if (!nestedSlot) {
933
+ return false;
934
+ }
935
+
936
+ const nestedSlotNodes = nestedSlot.assignedNodes();
937
+ return this.checkSlotsForContent(nestedSlotNodes);
938
+ });
939
+ }
940
+
941
+ // function that renders the HTML and CSS into the scope of the component
942
+ render() {
943
+ return x`
944
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
945
+ <slot @slotchange=${this.handleSlotChange}></slot>
946
+ </div>
947
+ `;
948
+ }
949
+ }
950
+
951
+ var helpTextVersion = '1.0.0';
952
+
953
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
954
+ // See LICENSE in the project root for license information.
955
+ // ---------------------------------------------------------------------
956
+
957
+
958
+ /* eslint no-magic-numbers: ["error", { "ignore": [0, 1, -1] }] */
959
+ /* eslint-disable max-lines, lit/binding-positions, lit/no-invalid-html */
960
+
961
+ /**
962
+ * @attr {String} validity - Specifies the `validityState` this element is in.
963
+ * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
964
+ * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
965
+ * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
966
+ * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
967
+ * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
968
+ * @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
969
+ * @attr {Object} optionSelected - Specifies the current selected radio button.
970
+ * @csspart radio-group - Apply css to the fieldset element in the shadow DOM
971
+ * @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
972
+ * @slot {HTMLSlotElement} optionalLabel - Allows for the optional label to be overridden.
973
+ * @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
974
+ * @event auroFormElement-validated - Notifies that the element has been validated.
975
+ * @event input - Notifies every time the value prop of the element is changed.
976
+ */
977
+
978
+ class AuroRadioGroup extends r$4 {
979
+ constructor() {
980
+ super();
981
+ this.disabled = false;
982
+ this.horizontal = false;
983
+ this.required = false;
984
+ this.validity = undefined;
985
+ this.value = undefined;
986
+ this.optionSelected = undefined;
987
+
988
+ /**
989
+ * @private
990
+ */
991
+ this.validation = new AuroFormValidation();
992
+
993
+ /**
994
+ * @private
995
+ */
996
+ this.index = 0;
997
+
998
+ /**
999
+ * @private
1000
+ */
1001
+ this.max = 3;
1002
+
1003
+ /**
1004
+ * @private
1005
+ */
1006
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
1007
+
1008
+ /**
1009
+ * Generate unique names for dependency components.
1010
+ */
1011
+ const versioning = new AuroDependencyVersioning();
1012
+
1013
+ /**
1014
+ * @private
1015
+ */
1016
+ this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
1017
+ }
1018
+
1019
+ static get styles() {
1020
+ return [
1021
+ styleCss$1,
1022
+ colorCss$1,
1023
+ tokenCss
1024
+ ];
1025
+ }
1026
+
1027
+ static get properties() {
1028
+ return {
1029
+ disabled: {
1030
+ type: Boolean,
1031
+ reflect: true
1032
+ },
1033
+ horizontal: { type: Boolean },
1034
+ error: {
1035
+ type: String,
1036
+ reflect: true
1037
+ },
1038
+ value: {
1039
+ type: String
1040
+ },
1041
+ noValidate: {
1042
+ type: Boolean,
1043
+ reflect: true
1044
+ },
1045
+ required: {
1046
+ type: Boolean,
1047
+ reflect: true
1048
+ },
1049
+ setCustomValidity: {
1050
+ type: String
1051
+ },
1052
+ setCustomValidityCustomError: {
1053
+ type: String
1054
+ },
1055
+ setCustomValidityValueMissing: {
1056
+ type: String
1057
+ },
1058
+ validity: {
1059
+ type: String,
1060
+ reflect: true
1061
+ },
1062
+ optionSelected: {
1063
+ type: Object
1064
+ }
1065
+ };
1066
+ }
1067
+
1068
+ /**
1069
+ * This will register this element with the browser.
1070
+ * @param {string} [name="auro-radio-group"] - The name of element that you want to register to.
1071
+ *
1072
+ * @example
1073
+ * AuroRadioGroup.register("custom-radio-group") // This will register this element to <custom-radio-group/>
1074
+ *
1075
+ */
1076
+ static register(name = "auro-radio-group") {
1077
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroRadioGroup);
1078
+ }
1079
+
1080
+ connectedCallback() {
1081
+ super.connectedCallback();
1082
+ this.handleItems();
1083
+ this.addEventListener('toggleSelected', this.handleToggleSelected);
1084
+ this.addEventListener('keydown', this.handleKeyDown);
1085
+ this.addEventListener('resetRadio', this.resetRadio);
1086
+ this.addEventListener('auroRadio-blur', this.handleRadioBlur);
1087
+ this.addEventListener('auroRadio-selected', this.handleSelection);
1088
+ }
1089
+
1090
+ firstUpdated() {
1091
+ // Add the tag name as an attribute if it is different than the component name
1092
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-radio-group');
1093
+ }
1094
+
1095
+ /**
1096
+ * Method for handling of selection of a radio element.
1097
+ * @private
1098
+ * @param {Event} event - The trigger event tied to this function.
1099
+ * @returns {void}
1100
+ */
1101
+ handleSelection(event) {
1102
+ if (event.target.value) {
1103
+ this.value = event.target.value;
1104
+ } else {
1105
+ this.value = '';
1106
+ }
1107
+
1108
+ this.optionSelected = event.target;
1109
+
1110
+ this.validation.validate(this);
1111
+ }
1112
+
1113
+ /**
1114
+ * Method handles radio element blur.
1115
+ * @private
1116
+ * @returns {void}
1117
+ */
1118
+ handleRadioBlur() {
1119
+ if (this.value === undefined) {
1120
+ this.value = '';
1121
+ }
1122
+
1123
+ this.validation.validate(this);
1124
+ }
1125
+
1126
+ /**
1127
+ * LitElement lifecycle method. Called after the DOM has been updated.
1128
+ * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
1129
+ * @returns {void}
1130
+ */
1131
+ updated(changedProperties) {
1132
+ if (changedProperties.has('disabled')) {
1133
+ // only change the children if we are making everything disabled, or if we are making everything enabled and there are no individually-disabled radio buttons
1134
+ if (this.disabled || this.items.every((el) => el.disabled)) {
1135
+ this.items.forEach((el) => {
1136
+ el.disabled = this.disabled;
1137
+ });
1138
+ }
1139
+ }
1140
+
1141
+ if (changedProperties.has('value')) {
1142
+ this.dispatchEvent(new CustomEvent('input', {
1143
+ bubbles: true,
1144
+ cancelable: true,
1145
+ composed: true,
1146
+ }));
1147
+ }
1148
+
1149
+ if (changedProperties.has('required')) {
1150
+ this.items.forEach((el) => {
1151
+ el.required = this.required;
1152
+ });
1153
+ }
1154
+
1155
+ if (changedProperties.has('error')) {
1156
+ this.validate(true);
1157
+ }
1158
+
1159
+ if (changedProperties.has('validity')) {
1160
+ if (this.validity && this.validity !== 'valid') {
1161
+ this.items.forEach((el) => {
1162
+ el.setAttribute('error', true);
1163
+ });
1164
+ } else {
1165
+ this.items.forEach((el) => {
1166
+ el.removeAttribute('error');
1167
+ });
1168
+ }
1169
+ }
1170
+ }
1171
+
1172
+ /**
1173
+ * Resets component to initial state.
1174
+ * @returns {void}
1175
+ */
1176
+ reset() {
1177
+ // Sets first radio button to receive focus during keyboard navigation
1178
+ this.index = 0;
1179
+
1180
+ const buttons = this.querySelectorAll('auro-radio, [auro-radio]');
1181
+
1182
+ buttons.forEach((button) => {
1183
+ button.reset();
1184
+ });
1185
+
1186
+ this.validation.reset(this);
1187
+ }
1188
+
1189
+ /**
1190
+ * Validates value.
1191
+ * @param {boolean} [force=false] - Whether to force validation.
1192
+ */
1193
+ validate(force = false) {
1194
+ this.validation.validate(this, force);
1195
+ }
1196
+
1197
+ /**
1198
+ * Method handles the reset event from a radio element.
1199
+ * @private
1200
+ * @returns {void}
1201
+ */
1202
+ resetRadio() {
1203
+ if (this.items.length === 0) {
1204
+ this.handleItems();
1205
+ }
1206
+
1207
+ // handle tab index
1208
+ this.items.forEach((item) => {
1209
+ item.tabIndex = -1;
1210
+ });
1211
+
1212
+ if (!this.disabled) {
1213
+ this.items[this.index].tabIndex = 0;
1214
+ }
1215
+ }
1216
+
1217
+ /**
1218
+ * Method for handling the attributes of each radio input.
1219
+ * @private
1220
+ * @returns {void}
1221
+ */
1222
+ handleItems() {
1223
+ this.items = [...this.querySelectorAll(':scope > *:not([slot])')];
1224
+ this.initializeIndex();
1225
+
1226
+ if (this.disabled) {
1227
+ this.items.forEach((el) => {
1228
+ el.disabled = this.disabled;
1229
+ });
1230
+ }
1231
+
1232
+ this.items.forEach((el) => {
1233
+ el.required = this.required;
1234
+ el.error = Boolean(this.error);
1235
+ });
1236
+ }
1237
+
1238
+ /**
1239
+ * Method for handling slot content changes.
1240
+ * @private
1241
+ * @returns {void}
1242
+ */
1243
+ handleSlotChange() {
1244
+ this.handleItems();
1245
+ }
1246
+
1247
+ /**
1248
+ * Method for initializing the tab index of the checked radio input.
1249
+ * @private
1250
+ * @returns {void}
1251
+ */
1252
+ initializeIndex() {
1253
+ if (!this.disabled) {
1254
+ const index = this.items.findIndex((item) => item.hasAttribute('checked') && !item.hasAttribute('disabled'));
1255
+ const nextEnabledIndex = this.items.findIndex((item) => !item.hasAttribute('disabled'));
1256
+
1257
+ this.index = index >= 0 ? index : nextEnabledIndex;
1258
+
1259
+ if (this.index >= 0) {
1260
+ this.items[this.index].tabIndex = 0;
1261
+ }
1262
+ }
1263
+ }
1264
+
1265
+ /**
1266
+ * Method for handling a newly selected radio input.
1267
+ * @private
1268
+ * @param {Event} event - The trigger event tied to this function.
1269
+ * @returns {void}
1270
+ */
1271
+ handleToggleSelected(event) {
1272
+ this.index = this.items.indexOf(event.target);
1273
+
1274
+ this.items.forEach((item) => {
1275
+ if (item === event.target) {
1276
+ item.tabIndex = 0;
1277
+ if (event.target.value) {
1278
+ this.value = event.target.value;
1279
+ }
1280
+ } else {
1281
+ const sdInput = item.shadowRoot.querySelector('input');
1282
+
1283
+ sdInput.checked = false;
1284
+ item.checked = false;
1285
+ item.tabIndex = -1;
1286
+ }
1287
+ });
1288
+
1289
+ this.optionSelected = event.target;
1290
+
1291
+ this.validation.validate(this);
1292
+ }
1293
+
1294
+ /**
1295
+ * Method for selecting a radio input.
1296
+ * @private
1297
+ * @param {Number} index - The value of the element's index attribute.
1298
+ * @returns {void}
1299
+ */
1300
+ selectItem(index) {
1301
+ const sdItem = this.items[index].shadowRoot.querySelector('input');
1302
+
1303
+ sdItem.click();
1304
+ sdItem.focus();
1305
+ this.index = index;
1306
+ }
1307
+
1308
+ /**
1309
+ * Method for selecting the next radio input.
1310
+ * @private
1311
+ * @param {Number} index - The value of the element's index attribute.
1312
+ * @param {String} moveDirection - Arrow key pressed by user.
1313
+ * @returns {void}
1314
+ */
1315
+ selectNextItem(index, moveDirection) {
1316
+ let currIndex = index;
1317
+
1318
+ for (currIndex; currIndex < this.items.length; moveDirection === "Down" ? currIndex += 1 : currIndex -= 1) {
1319
+ currIndex = currIndex === -1 ? this.items.length - 1 : currIndex;
1320
+ const sdItem = this.items[currIndex].shadowRoot.querySelector('input');
1321
+
1322
+ if (this.disabled || this.items.every((item) => item.disabled === true)) {
1323
+ sdItem.focus();
1324
+ break;
1325
+ }
1326
+ if (!sdItem.disabled) {
1327
+ sdItem.click();
1328
+ sdItem.focus();
1329
+ this.index = currIndex;
1330
+ break;
1331
+ }
1332
+ }
1333
+ }
1334
+
1335
+ /**
1336
+ * Method for handling a keydown event.
1337
+ * @private
1338
+ * @param {Event} event - The trigger event tied to this function.
1339
+ * @returns {void}
1340
+ */
1341
+ handleKeyDown(event) {
1342
+ switch (event.key) {
1343
+ case " ":
1344
+ event.preventDefault();
1345
+ this.selectItem(this.index);
1346
+ break;
1347
+
1348
+ case "Down":
1349
+ case "ArrowDown":
1350
+ case "Right":
1351
+ case "ArrowRight":
1352
+ event.preventDefault();
1353
+ this.selectNextItem(this.index === this.items.length - 1 ? 0 : this.index + 1, "Down");
1354
+ break;
1355
+
1356
+ case "Up":
1357
+ case "ArrowUp":
1358
+ case "Left":
1359
+ case "ArrowLeft":
1360
+ event.preventDefault();
1361
+ this.selectNextItem(this.index === 0 ? this.items.length - 1 : this.index - 1, "Up");
1362
+ break;
1363
+ }
1364
+ }
1365
+
1366
+ // function that renders the HTML and CSS into the scope of the component
1367
+ render() {
1368
+ const groupClasses = {
1369
+ 'displayFlex': this.horizontal && this.items.length <= this.max
1370
+ };
1371
+
1372
+ return u$2`
1373
+ <fieldset class="${e$3(groupClasses)}" part="radio-group">
1374
+ ${this.required
1375
+ ? u$2`<legend><slot name="legend"></slot></legend>`
1376
+ : u$2`<legend><slot name="legend"></slot> <slot name="optionalLabel">(optional)</slot></legend>`
1377
+ }
1378
+ <slot @slotchange=${this.handleSlotChange}></slot>
1379
+ </fieldset>
1380
+
1381
+ ${!this.validity || this.validity === undefined || this.validity === 'valid'
1382
+ ? u$2`
1383
+ <${this.helpTextTag} large part="helpText">
1384
+ <slot name="helpText"></slot>
1385
+ </${this.helpTextTag}>`
1386
+ : u$2`
1387
+ <${this.helpTextTag} large role="alert" error aria-live="assertive" part="helpText">
1388
+ ${this.errorMessage}
1389
+ </${this.helpTextTag}>`
1390
+ }
1391
+ `;
1392
+ }
1393
+ }
1394
+
1395
+ AuroRadio.register();
1396
+ AuroRadioGroup.register();