@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.0-beta.2

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 (334) hide show
  1. package/.turbo/cache/013a48308b893dac-meta.json +1 -0
  2. package/.turbo/cache/0663fcbb1d711029-meta.json +1 -0
  3. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  4. package/.turbo/cache/07ca42419b9f050c-meta.json +1 -0
  5. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +1 -0
  6. package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
  7. package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -0
  8. package/.turbo/cache/120c8e207aa1ba35-meta.json +1 -0
  9. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  10. package/.turbo/cache/17259cf94d8f8925-meta.json +1 -0
  11. package/.turbo/cache/17dd4bdef6550a07-meta.json +1 -0
  12. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  13. package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -0
  14. package/.turbo/cache/1de15d89eed2d760-meta.json +1 -0
  15. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  16. package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -0
  17. package/.turbo/cache/2990aaa7ebc5b967-meta.json +1 -0
  18. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  19. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +1 -0
  20. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  21. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -0
  22. package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -0
  23. package/.turbo/cache/47ba2b5ebdb579e9-meta.json +1 -0
  24. package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
  25. package/.turbo/cache/4f92cea2d8c63de2-meta.json +1 -0
  26. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  27. package/.turbo/cache/56cb35d4c7473a23-meta.json +1 -0
  28. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  29. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +1 -0
  30. package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -0
  31. package/.turbo/cache/626afdc67e0cb540-meta.json +1 -0
  32. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  33. package/.turbo/cache/64de7a53e02db647-meta.json +1 -0
  34. package/.turbo/cache/691a74627ec57993-meta.json +1 -0
  35. package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -0
  36. package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -0
  37. package/.turbo/cache/6ef81cf9a66f982a-meta.json +1 -0
  38. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  39. package/.turbo/cache/73e9073a5274616d-meta.json +1 -0
  40. package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -0
  41. package/.turbo/cache/784c03fe9fd5ac05-meta.json +1 -0
  42. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  43. package/.turbo/cache/786a822763403879-meta.json +1 -0
  44. package/.turbo/cache/80b5d974184a01df-meta.json +1 -0
  45. package/.turbo/cache/87219c41a4ace9cd-meta.json +1 -0
  46. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  47. package/.turbo/cache/8954c6073396fadd-meta.json +1 -0
  48. package/.turbo/cache/8b735250fa5a62bf-meta.json +1 -0
  49. package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
  50. package/.turbo/cache/9154e8fe6ab767ea-meta.json +1 -0
  51. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  52. package/.turbo/cache/92daa6d7c389d548-meta.json +1 -0
  53. package/.turbo/cache/993dff2edb7b6766-meta.json +1 -0
  54. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  55. package/.turbo/cache/9a097d6576dadd64-meta.json +1 -0
  56. package/.turbo/cache/a49cc58242467fdc-meta.json +1 -0
  57. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  58. package/.turbo/cache/a6a56bb802e1c20f-meta.json +1 -0
  59. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  60. package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -0
  61. package/.turbo/cache/{06f476671015e973.tar.zst → a77bc920ea508bb8.tar.zst} +0 -0
  62. package/.turbo/cache/af061e7a077a9ba5-meta.json +1 -0
  63. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  64. package/.turbo/cache/b50f1b283b4b81cd-meta.json +1 -0
  65. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  66. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -0
  67. package/.turbo/cache/ba4418918621fbcd-meta.json +1 -0
  68. package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
  69. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  70. package/.turbo/cache/bf85bc040b7e64db-meta.json +1 -0
  71. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  72. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -0
  73. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  74. package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -0
  75. package/.turbo/cache/cd5f6987783fb56d-meta.json +1 -0
  76. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  77. package/.turbo/cache/ce67b6522dd09e64-meta.json +1 -0
  78. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  79. package/.turbo/cache/d716cb7a08152beb-meta.json +1 -0
  80. package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
  81. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +1 -0
  82. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  83. package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -0
  84. package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -0
  85. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  86. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -0
  87. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +1 -0
  88. package/.turbo/cache/ff58f630c9d69af4-meta.json +1 -0
  89. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
  90. package/CHANGELOG.md +74 -0
  91. package/components/checkbox/.turbo/turbo-build.log +6 -3
  92. package/components/checkbox/.turbo/turbo-bundler.log +3 -3
  93. package/components/checkbox/README.md +8 -8
  94. package/components/checkbox/demo/api.html +6 -1
  95. package/components/checkbox/demo/api.js +16 -0
  96. package/components/checkbox/demo/api.md +104 -45
  97. package/components/checkbox/demo/api.min.js +85 -14
  98. package/components/checkbox/demo/index.md +62 -62
  99. package/components/checkbox/demo/index.min.js +60 -14
  100. package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -1
  101. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  102. package/components/checkbox/dist/auro-checkbox.d.ts +6 -1
  103. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  104. package/components/checkbox/dist/index.js +60 -14
  105. package/components/checkbox/src/auro-checkbox-group.js +18 -6
  106. package/components/checkbox/src/auro-checkbox.js +10 -1
  107. package/components/combobox/.turbo/turbo-build.log +6 -3
  108. package/components/combobox/demo/api.js +4 -2
  109. package/components/combobox/demo/api.md +60 -1
  110. package/components/combobox/demo/api.min.js +159 -113
  111. package/components/combobox/demo/index.min.js +150 -113
  112. package/components/combobox/dist/auro-combobox.d.ts +5 -1
  113. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  114. package/components/combobox/dist/index.js +145 -76
  115. package/components/combobox/src/auro-combobox.js +14 -3
  116. package/components/counter/.turbo/turbo-build.log +3 -3
  117. package/components/counter/.turbo/turbo-bundler.log +3 -3
  118. package/components/datepicker/.turbo/turbo-build.log +6 -3
  119. package/components/datepicker/demo/api.js +2 -0
  120. package/components/datepicker/demo/api.md +46 -1
  121. package/components/datepicker/demo/api.min.js +155 -78
  122. package/components/datepicker/demo/index.min.js +146 -78
  123. package/components/datepicker/dist/auro-datepicker.d.ts +5 -2
  124. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  125. package/components/datepicker/dist/index.js +146 -78
  126. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  127. package/components/datepicker/package.json +1 -1
  128. package/components/datepicker/src/auro-datepicker.js +14 -4
  129. package/components/datepicker/src/popoverVersion.js +1 -1
  130. package/components/dropdown/.turbo/turbo-build.log +3 -3
  131. package/components/dropdown/.turbo/turbo-bundler.log +3 -3
  132. package/components/dropdown/demo/api.min.js +37 -25
  133. package/components/dropdown/demo/index.min.js +37 -25
  134. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  135. package/components/dropdown/dist/index.js +37 -25
  136. package/components/dropdown/package.json +1 -1
  137. package/components/dropdown/src/auro-dropdown.js +2 -2
  138. package/components/dropdown/src/iconVersion.js +1 -1
  139. package/components/dropdown/src/styles/bibStyles-css.js +1 -1
  140. package/components/dropdown/src/styles/bibStyles.css +0 -5
  141. package/components/dropdown/src/styles/bibStyles.scss +0 -7
  142. package/components/dropdown/src/styles/color-css.js +1 -1
  143. package/components/dropdown/src/styles/color.css +6 -7
  144. package/components/dropdown/src/styles/color.scss +7 -7
  145. package/components/dropdown/src/styles/style-css.js +1 -1
  146. package/components/dropdown/src/styles/style.css +1 -0
  147. package/components/dropdown/src/styles/style.scss +1 -0
  148. package/components/form/.turbo/turbo-build.log +3 -3
  149. package/components/form/.turbo/turbo-bundler.log +3 -3
  150. package/components/input/.turbo/turbo-build$colon$sass.log +2 -2
  151. package/components/input/.turbo/turbo-build.log +16 -13
  152. package/components/input/.turbo/turbo-bundler.log +3 -3
  153. package/components/input/demo/api.js +2 -0
  154. package/components/input/demo/api.md +183 -135
  155. package/components/input/demo/api.min.js +74 -44
  156. package/components/input/demo/index.min.js +62 -41
  157. package/components/input/dist/base-input.d.ts +8 -18
  158. package/components/input/dist/base-input.d.ts.map +1 -1
  159. package/components/input/dist/buttonVersion.d.ts +1 -1
  160. package/components/input/dist/iconVersion.d.ts +1 -1
  161. package/components/input/dist/index.js +62 -41
  162. package/components/input/package.json +2 -2
  163. package/components/input/src/base-input.js +23 -29
  164. package/components/input/src/buttonVersion.js +1 -1
  165. package/components/input/src/iconVersion.js +1 -1
  166. package/components/input/src/styles/input-css.js +1 -1
  167. package/components/input/src/styles/input.css +13 -0
  168. package/components/input/src/styles/input.scss +21 -0
  169. package/components/input/src/styles/label-css.js +1 -1
  170. package/components/input/src/styles/label.css +3 -3
  171. package/components/input/src/styles/label.scss +1 -2
  172. package/components/input/src/styles/notificationIcons-css.js +1 -1
  173. package/components/input/src/styles/notificationIcons.css +7 -0
  174. package/components/input/src/styles/notificationIcons.scss +14 -0
  175. package/components/input/src/styles/style-css.js +1 -1
  176. package/components/input/src/styles/style.css +23 -3
  177. package/components/menu/.turbo/turbo-build.log +3 -3
  178. package/components/menu/.turbo/turbo-bundler.log +3 -3
  179. package/components/menu/demo/api.md +1 -5
  180. package/components/menu/demo/api.min.js +5 -37
  181. package/components/menu/demo/index.min.js +5 -37
  182. package/components/menu/dist/auro-menu.d.ts +0 -4
  183. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  184. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  185. package/components/menu/dist/auro-menuoption.d.ts.map +1 -1
  186. package/components/menu/dist/iconVersion.d.ts +1 -1
  187. package/components/menu/dist/index.js +5 -37
  188. package/components/menu/package.json +1 -1
  189. package/components/menu/src/auro-menu.js +0 -32
  190. package/components/menu/src/auro-menuoption.js +1 -2
  191. package/components/menu/src/iconVersion.js +1 -1
  192. package/components/radio/.turbo/turbo-build.log +6 -3
  193. package/components/radio/.turbo/turbo-bundler.log +3 -3
  194. package/components/radio/demo/api.html +1 -0
  195. package/components/radio/demo/api.js +2 -0
  196. package/components/radio/demo/api.md +57 -3
  197. package/components/radio/demo/api.min.js +55 -12
  198. package/components/radio/demo/index.min.js +46 -12
  199. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  200. package/components/radio/dist/auro-radio.d.ts +5 -0
  201. package/components/radio/dist/auro-radio.d.ts.map +1 -1
  202. package/components/radio/dist/index.js +46 -12
  203. package/components/radio/src/auro-radio-group.js +5 -5
  204. package/components/radio/src/auro-radio.js +9 -0
  205. package/components/select/.turbo/turbo-build.log +10 -7
  206. package/components/select/demo/api.js +6 -2
  207. package/components/select/demo/api.md +137 -70
  208. package/components/select/demo/api.min.js +105 -73
  209. package/components/select/demo/index.min.js +85 -73
  210. package/components/select/dist/auro-select.d.ts +5 -1
  211. package/components/select/dist/auro-select.d.ts.map +1 -1
  212. package/components/select/dist/index.js +80 -36
  213. package/components/select/src/auro-select.js +11 -4
  214. package/package.json +2 -2
  215. package/packages/form-validation/src/validation.js +32 -7
  216. package/.turbo/cache/0008b92c8752bf75-meta.json +0 -1
  217. package/.turbo/cache/0008b92c8752bf75.tar.zst +0 -0
  218. package/.turbo/cache/00cb38bef1105dac-meta.json +0 -1
  219. package/.turbo/cache/0157ec8abdaf2a9c-meta.json +0 -1
  220. package/.turbo/cache/0636e9cedc83238b-meta.json +0 -1
  221. package/.turbo/cache/0636e9cedc83238b.tar.zst +0 -0
  222. package/.turbo/cache/06f476671015e973-meta.json +0 -1
  223. package/.turbo/cache/09df74d672102662-meta.json +0 -1
  224. package/.turbo/cache/09df74d672102662.tar.zst +0 -0
  225. package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
  226. package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
  227. package/.turbo/cache/1c47128a0e12fcfa-meta.json +0 -1
  228. package/.turbo/cache/1c47128a0e12fcfa.tar.zst +0 -0
  229. package/.turbo/cache/1db02f756ce85784-meta.json +0 -1
  230. package/.turbo/cache/21705fa179d5f820-meta.json +0 -1
  231. package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
  232. package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
  233. package/.turbo/cache/2666b96bfcf4e9cd-meta.json +0 -1
  234. package/.turbo/cache/2666b96bfcf4e9cd.tar.zst +0 -0
  235. package/.turbo/cache/2778d5e895240cd1-meta.json +0 -1
  236. package/.turbo/cache/300b59df2de12b46-meta.json +0 -1
  237. package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
  238. package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
  239. package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
  240. package/.turbo/cache/3482a3cba9a51c2d-meta.json +0 -1
  241. package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
  242. package/.turbo/cache/3a9d73752f23a40a-meta.json +0 -1
  243. package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
  244. package/.turbo/cache/3afe2e6f714a4fcb-meta.json +0 -1
  245. package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
  246. package/.turbo/cache/408ea1754276298c-meta.json +0 -1
  247. package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
  248. package/.turbo/cache/42066c793c3816f3-meta.json +0 -1
  249. package/.turbo/cache/42066c793c3816f3.tar.zst +0 -0
  250. package/.turbo/cache/4bec46ffff6fd2e8-meta.json +0 -1
  251. package/.turbo/cache/50b275350abe14dd-meta.json +0 -1
  252. package/.turbo/cache/50b275350abe14dd.tar.zst +0 -0
  253. package/.turbo/cache/51078a087b52c65e-meta.json +0 -1
  254. package/.turbo/cache/51078a087b52c65e.tar.zst +0 -0
  255. package/.turbo/cache/593ddf689673e305-meta.json +0 -1
  256. package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
  257. package/.turbo/cache/64e4f18395bd4461-meta.json +0 -1
  258. package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
  259. package/.turbo/cache/68843ecab6e09320-meta.json +0 -1
  260. package/.turbo/cache/68843ecab6e09320.tar.zst +0 -0
  261. package/.turbo/cache/7419ef01dc18b433-meta.json +0 -1
  262. package/.turbo/cache/748faca09d14fea7-meta.json +0 -1
  263. package/.turbo/cache/75495b0bbd6c06a7-meta.json +0 -1
  264. package/.turbo/cache/75495b0bbd6c06a7.tar.zst +0 -0
  265. package/.turbo/cache/7a6a8af4392c4b05-meta.json +0 -1
  266. package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
  267. package/.turbo/cache/7e81141e0140dd3a-meta.json +0 -1
  268. package/.turbo/cache/7e81141e0140dd3a.tar.zst +0 -0
  269. package/.turbo/cache/7eb50d96639e6dd4-meta.json +0 -1
  270. package/.turbo/cache/7eb50d96639e6dd4.tar.zst +0 -0
  271. package/.turbo/cache/83bb78fec13808d0-meta.json +0 -1
  272. package/.turbo/cache/8605f60efb7d3957-meta.json +0 -1
  273. package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
  274. package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
  275. package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
  276. package/.turbo/cache/9a908bf8f82c84a6-meta.json +0 -1
  277. package/.turbo/cache/9a908bf8f82c84a6.tar.zst +0 -0
  278. package/.turbo/cache/9ed3089ffd7d0c00-meta.json +0 -1
  279. package/.turbo/cache/a3a879aea25debf8-meta.json +0 -1
  280. package/.turbo/cache/a8dbafaf6177f677-meta.json +0 -1
  281. package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
  282. package/.turbo/cache/a8f6418b830ef0ba-meta.json +0 -1
  283. package/.turbo/cache/b37b0eb5597e160f-meta.json +0 -1
  284. package/.turbo/cache/b7e7a8c425673f7c-meta.json +0 -1
  285. package/.turbo/cache/b7e7a8c425673f7c.tar.zst +0 -0
  286. package/.turbo/cache/bc8eed3d7216f5b7-meta.json +0 -1
  287. package/.turbo/cache/bde11c3029373459-meta.json +0 -1
  288. package/.turbo/cache/c8e5fe6aec4479f5-meta.json +0 -1
  289. package/.turbo/cache/c8e5fe6aec4479f5.tar.zst +0 -0
  290. package/.turbo/cache/d0e874a9a71c9468-meta.json +0 -1
  291. package/.turbo/cache/d61b4e1bde4c0a12-meta.json +0 -1
  292. package/.turbo/cache/db6dedc0e7a12575-meta.json +0 -1
  293. package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
  294. package/.turbo/cache/de9737607345ec54-meta.json +0 -1
  295. package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
  296. package/.turbo/cache/e234aa902b2c5b30-meta.json +0 -1
  297. package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
  298. package/.turbo/cache/e541225f46f7cf86-meta.json +0 -1
  299. package/.turbo/cache/e67ac30b07d9e800-meta.json +0 -1
  300. package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
  301. package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
  302. package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
  303. package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
  304. package/components/dropdown/dist/floatingUI.d.mts +0 -68
  305. package/components/dropdown/dist/floatingUI.d.mts.map +0 -1
  306. package/components/dropdown/src/floatingUI.mjs +0 -381
  307. package/components/select/demo/alertValue.js +0 -6
  308. /package/.turbo/cache/{b37b0eb5597e160f.tar.zst → 013a48308b893dac.tar.zst} +0 -0
  309. /package/.turbo/cache/{8cac06ca809bd2b1.tar.zst → 07ca42419b9f050c.tar.zst} +0 -0
  310. /package/.turbo/cache/{e7244fdd3397eba7.tar.zst → 0cea4c1f34f3683b.tar.zst} +0 -0
  311. /package/.turbo/cache/{e89a401ebdda3fc2.tar.zst → 17259cf94d8f8925.tar.zst} +0 -0
  312. /package/.turbo/cache/{a3a879aea25debf8.tar.zst → 1c99a949ec63ab35.tar.zst} +0 -0
  313. /package/.turbo/cache/{17c429ade621ffcb.tar.zst → 257a7a26ea72dbc5.tar.zst} +0 -0
  314. /package/.turbo/cache/{d0e874a9a71c9468.tar.zst → 3bf45120d0cc9bd8.tar.zst} +0 -0
  315. /package/.turbo/cache/{0cd109fb3183c2e6.tar.zst → 45035bf5c4147ccd.tar.zst} +0 -0
  316. /package/.turbo/cache/{bde11c3029373459.tar.zst → 5c16ce3cff5c9dff.tar.zst} +0 -0
  317. /package/.turbo/cache/{1db02f756ce85784.tar.zst → 5f304c0f37ef25f3.tar.zst} +0 -0
  318. /package/.turbo/cache/{9ed3089ffd7d0c00.tar.zst → 64de7a53e02db647.tar.zst} +0 -0
  319. /package/.turbo/cache/{32702694d62a08ac.tar.zst → 691a74627ec57993.tar.zst} +0 -0
  320. /package/.turbo/cache/{00cb38bef1105dac.tar.zst → 69aae513b7ec6c7d.tar.zst} +0 -0
  321. /package/.turbo/cache/{e7cf2cc625bd92b3.tar.zst → 6dd7058e6703cb35.tar.zst} +0 -0
  322. /package/.turbo/cache/{748faca09d14fea7.tar.zst → 73e9073a5274616d.tar.zst} +0 -0
  323. /package/.turbo/cache/{83bb78fec13808d0.tar.zst → 773edc0f83c8c5a5.tar.zst} +0 -0
  324. /package/.turbo/cache/{892a90b62716ded5.tar.zst → 786a822763403879.tar.zst} +0 -0
  325. /package/.turbo/cache/{7419ef01dc18b433.tar.zst → 80b5d974184a01df.tar.zst} +0 -0
  326. /package/.turbo/cache/{0157ec8abdaf2a9c.tar.zst → 8954c6073396fadd.tar.zst} +0 -0
  327. /package/.turbo/cache/{bc8eed3d7216f5b7.tar.zst → 92daa6d7c389d548.tar.zst} +0 -0
  328. /package/.turbo/cache/{e541225f46f7cf86.tar.zst → 9a097d6576dadd64.tar.zst} +0 -0
  329. /package/.turbo/cache/{2778d5e895240cd1.tar.zst → b54fc4f664a7a5a0.tar.zst} +0 -0
  330. /package/.turbo/cache/{a8f6418b830ef0ba.tar.zst → ba4418918621fbcd.tar.zst} +0 -0
  331. /package/.turbo/cache/{4bec46ffff6fd2e8.tar.zst → cc81de9c0b452a7c.tar.zst} +0 -0
  332. /package/.turbo/cache/{31729e74fccaafb0.tar.zst → dad1301ac69bcb85.tar.zst} +0 -0
  333. /package/.turbo/cache/{d61b4e1bde4c0a12.tar.zst → fa132b5b5f0e75f8.tar.zst} +0 -0
  334. /package/.turbo/cache/{249d9ba3ee6aa1cb.tar.zst → fbbe2704bf9cb90b.tar.zst} +0 -0
@@ -60,12 +60,20 @@ function programmaticallySetValue() {
60
60
 
61
61
  // set value of auro-input element
62
62
  document.querySelector('#setValidValueBtn').addEventListener('click', () => {
63
- elem.value = "Alaska Airlines is the best";
63
+ elem.value = "Alaska Airlines is the best";
64
64
  });
65
65
 
66
66
  // reset the value of auro-input element
67
- document.querySelector('#resetValueBtn').addEventListener('click', () => {
68
- elem.value = '';
67
+ document.querySelector('#setUndefinedValueBtn').addEventListener('click', () => {
68
+ elem.value = undefined;
69
+ });
70
+ }
71
+
72
+ function resetStateExample() {
73
+ const elem = document.querySelector('#resetStateExample');
74
+
75
+ document.querySelector('#resetStateBtn').addEventListener('click', () => {
76
+ elem.reset();
69
77
  });
70
78
  }
71
79
 
@@ -237,7 +245,7 @@ const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShad
237
245
  * SPDX-License-Identifier: BSD-3-Clause
238
246
  */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(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
239
247
 
240
- var styleCss$3 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input:disabled{background:none;pointer-events:none}`;
248
+ var styleCss$3 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:0;pointer-events:none}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{opacity:1;pointer-events:auto}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
241
249
 
242
250
  var colorCss$3 = i$2`.wrapper{border-color:transparent}.inputElement-helpText{color:var(--ds-auro-input-help-text-color)}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-input-help-text-color: var(--ds-color-text-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
243
251
 
@@ -1879,6 +1887,30 @@ class AuroFormValidation {
1879
1887
  this.runtimeUtils = new AuroLibraryRuntimeUtils();
1880
1888
  }
1881
1889
 
1890
+ /**
1891
+ * Resets the element to its initial state.
1892
+ * @private
1893
+ * @param {object} elem - HTML element to reset.
1894
+ * @returns {void}
1895
+ */
1896
+ reset(elem) {
1897
+ elem.validity = undefined;
1898
+ elem.value = undefined;
1899
+
1900
+ // Resets the second value of the datepicker in range state
1901
+ if (elem.valueEnd) {
1902
+ elem.valueEnd = undefined;
1903
+ }
1904
+
1905
+ // Resets selected option of element
1906
+ if (elem.optionSelected) {
1907
+ elem.optionSelected = undefined;
1908
+ }
1909
+
1910
+ // Runs validation to handle error attribute
1911
+ this.validate(elem);
1912
+ }
1913
+
1882
1914
  /**
1883
1915
  * Determines the validity state of the element based on the common attribute restrictions (pattern).
1884
1916
  * @private
@@ -1893,10 +1925,15 @@ class AuroFormValidation {
1893
1925
  elem.validity = 'badInput';
1894
1926
  elem.setCustomValidity = elem.setCustomValidityBadInput || '';
1895
1927
  }
1896
- } else if (elem.value && elem.value.length > 0 && elem.value.length < elem.minLength) {
1928
+ }
1929
+
1930
+ // Length > 0 is required to prevent the error message from showing when the input is empty
1931
+ if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
1897
1932
  elem.validity = 'tooShort';
1898
1933
  elem.setCustomValidity = elem.setCustomValidityTooShort || '';
1899
- } else if (elem.value && elem.value.length > elem.maxLength) {
1934
+ }
1935
+
1936
+ if (elem.value?.length > elem.maxLength) {
1900
1937
  elem.validity = 'tooLong';
1901
1938
  elem.setCustomValidity = elem.setCustomValidityTooLong || '';
1902
1939
  }
@@ -1922,7 +1959,7 @@ class AuroFormValidation {
1922
1959
  elem.validity = 'tooShort';
1923
1960
  elem.setCustomValidity = elem.setCustomValidityForType || '';
1924
1961
  }
1925
- } else if (elem.type === 'number' || elem.type === 'numeric') { // 'numeric` is a deprecated alias for number'
1962
+ } else if (elem.type === 'number') {
1926
1963
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
1927
1964
  elem.validity = 'rangeOverflow';
1928
1965
  elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
@@ -2027,14 +2064,10 @@ class AuroFormValidation {
2027
2064
 
2028
2065
  if (validationShouldRun || elem.hasAttribute('error')) {
2029
2066
  if (elem.validity && elem.validity !== 'valid') {
2030
- elem.isValid = false;
2031
-
2032
2067
  // Use the validity message override if it is declared
2033
2068
  if (elem.ValidityMessageOverride) {
2034
2069
  elem.setCustomValidity = elem.ValidityMessageOverride;
2035
2070
  }
2036
- } else {
2037
- elem.isValid = true;
2038
2071
  }
2039
2072
 
2040
2073
  this.getErrorMessage(elem);
@@ -2121,15 +2154,12 @@ class AuroFormValidation {
2121
2154
  * @attr {Boolean} disabled - If set, disables the input.
2122
2155
  * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
2123
2156
  * @prop {String} errorMessage - Contains the help text message for the current validity error.
2124
- * @attr {String} helpText - Deprecated, see `slot`.
2125
2157
  * @attr {Boolean} icon - If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
2126
2158
  * @attr {String} id - Sets the unique ID of the element.
2127
- * @attr {String} isValid - (DEPRECATED - Please use validity) Can be accessed to determine if the input validity. Returns true when validity has not yet been checked or validity = 'valid', all other cases return false. Not intended to be set by the consumer.
2128
- * @attr {String} label - Deprecated, see `slot`.
2129
2159
  * @attr {String} lang - defines the language of an element.
2130
- * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `numeric` and all date formats.
2160
+ * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
2131
2161
  * @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
2132
- * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `numeric` and all date formats.
2162
+ * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
2133
2163
  * @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
2134
2164
  * @attr {String} name - Populates the `name` attribute on the input.
2135
2165
  * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
@@ -2169,8 +2199,6 @@ class BaseInput extends r {
2169
2199
  constructor() {
2170
2200
  super();
2171
2201
 
2172
- this.isValid = false;
2173
-
2174
2202
  this.icon = false;
2175
2203
  this.disabled = false;
2176
2204
  this.required = false;
@@ -2179,9 +2207,7 @@ class BaseInput extends r {
2179
2207
  this.min = undefined;
2180
2208
  this.maxLength = undefined;
2181
2209
  this.minLength = undefined;
2182
- this.label = 'Input label is undefined';
2183
2210
  this.activeLabel = false;
2184
-
2185
2211
  this.setCustomValidityForType = undefined;
2186
2212
  }
2187
2213
 
@@ -2196,9 +2222,11 @@ class BaseInput extends r {
2196
2222
  this.showPassword = false;
2197
2223
  this.validationCCLength = undefined;
2198
2224
  this.hasValue = false;
2225
+ this.label = 'Input label is undefined';
2199
2226
 
2200
2227
  this.allowedInputTypes = [
2201
2228
  "text",
2229
+ "number",
2202
2230
  "email",
2203
2231
  "password",
2204
2232
  "credit-card",
@@ -2248,7 +2276,6 @@ class BaseInput extends r {
2248
2276
  static get properties() {
2249
2277
  return {
2250
2278
  id: { type: String },
2251
- label: { type: String },
2252
2279
  name: { type: String },
2253
2280
  type: { type: String,
2254
2281
  reflect: true },
@@ -2262,7 +2289,6 @@ class BaseInput extends r {
2262
2289
  disabled: { type: Boolean },
2263
2290
  required: { type: Boolean },
2264
2291
  noValidate: { type: Boolean },
2265
- helpText: { type: String },
2266
2292
  spellcheck: { type: String },
2267
2293
  autocorrect: { type: String },
2268
2294
  autocapitalize: { type: String },
@@ -2291,10 +2317,6 @@ class BaseInput extends r {
2291
2317
  reflect: true
2292
2318
  },
2293
2319
  errorMessage: { type: String },
2294
- isValid: {
2295
- type: String,
2296
- reflect: true
2297
- },
2298
2320
  validity: {
2299
2321
  type: String,
2300
2322
  reflect: true
@@ -2697,7 +2719,7 @@ class BaseInput extends r {
2697
2719
  * @return {void}
2698
2720
  */
2699
2721
  handleInput() {
2700
- // Prevent non-numeric characters from being entered on credit card fields.
2722
+ // Prevent non-number characters from being entered on credit card fields.
2701
2723
  if (this.type === 'credit-card') {
2702
2724
  this.inputElement.value = this.inputElement.value.replace(/[\D]/gu, '');
2703
2725
  }
@@ -2783,6 +2805,13 @@ class BaseInput extends r {
2783
2805
  this.validation.validate(this);
2784
2806
  }
2785
2807
 
2808
+ /**
2809
+ * Resets component to initial state.
2810
+ * @returns {void}
2811
+ */
2812
+ reset() {
2813
+ this.validation.reset(this);
2814
+ }
2786
2815
 
2787
2816
  /**
2788
2817
  * Sets configuration data used elsewhere based on the `type` attribute.
@@ -2825,30 +2854,28 @@ class BaseInput extends r {
2825
2854
  */
2826
2855
  getHelpText(type) {
2827
2856
  if (type === 'password') {
2828
- this.helpText = i18n(this.lang, 'password');
2857
+ return i18n(this.lang, 'password');
2829
2858
  } else if (type === 'email') {
2830
- this.helpText = i18n(this.lang, 'email');
2859
+ return i18n(this.lang, 'email');
2831
2860
  } else if (type === 'credit-card') {
2832
- this.helpText = i18n(this.lang, 'creditcard');
2861
+ return i18n(this.lang, 'creditcard');
2833
2862
  } else if (type === 'month-day-year') {
2834
- this.helpText = i18n(this.lang, 'dateMMDDYYYY');
2863
+ return i18n(this.lang, 'dateMMDDYYYY');
2835
2864
  } else if (type === 'month-year') {
2836
- this.helpText = i18n(this.lang, 'dateMMYY');
2865
+ return i18n(this.lang, 'dateMMYY');
2837
2866
  } else if (type === 'month-fullyear') {
2838
- this.helpText = i18n(this.lang, 'dateMMYYYY');
2867
+ return i18n(this.lang, 'dateMMYYYY');
2839
2868
  } else if (type === 'year-month-day') {
2840
- this.helpText = i18n(this.lang, 'dateYYYYMMDD');
2869
+ return i18n(this.lang, 'dateYYYYMMDD');
2841
2870
  } else if (type === 'month') {
2842
- this.helpText = i18n(this.lang, 'dateMM');
2871
+ return i18n(this.lang, 'dateMM');
2843
2872
  } else if (type === 'year') {
2844
- this.helpText = i18n(this.lang, 'dateYY');
2873
+ return i18n(this.lang, 'dateYY');
2845
2874
  } else if (type === 'fullYear') {
2846
- this.helpText = i18n(this.lang, 'dateYYYY');
2847
- } else {
2848
- this.helpText = '';
2875
+ return i18n(this.lang, 'dateYYYY');
2849
2876
  }
2850
2877
 
2851
- return this.helpText;
2878
+ return '';
2852
2879
  }
2853
2880
 
2854
2881
  /**
@@ -3136,7 +3163,7 @@ const cacheFetch = (uri, options = {}) => {
3136
3163
  return _fetchMap.get(uri);
3137
3164
  };
3138
3165
 
3139
- var styleCss$2 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.labelContainer{line-height:1.8}`;
3166
+ var styleCss$2 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
3140
3167
 
3141
3168
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3142
3169
  // See LICENSE in the project root for license information.
@@ -3403,7 +3430,8 @@ class AuroIcon extends BaseIcon {
3403
3430
  };
3404
3431
 
3405
3432
  const classes = {
3406
- 'label': this.label
3433
+ 'label': this.label,
3434
+ 'wrapper': true,
3407
3435
  };
3408
3436
 
3409
3437
  return x`
@@ -3427,7 +3455,7 @@ class AuroIcon extends BaseIcon {
3427
3455
  }
3428
3456
  }
3429
3457
 
3430
- var iconVersion = '6.1.1';
3458
+ var iconVersion = '6.1.2';
3431
3459
 
3432
3460
  var styleCss$1 = i$2`*,*: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_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size: calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
3433
3461
 
@@ -3779,6 +3807,7 @@ class AuroButton extends r {
3779
3807
  const classes = {
3780
3808
  'util_insetLg--squish': true,
3781
3809
  'auro-button': true,
3810
+ 'auroButton': true,
3782
3811
  'auro-button--rounded': this.rounded,
3783
3812
  'auro-button--slim': this.slim,
3784
3813
  'auro-button--iconOnly': this.iconOnly,
@@ -3818,7 +3847,7 @@ class AuroButton extends r {
3818
3847
  }
3819
3848
  }
3820
3849
 
3821
- var buttonVersion = '8.2.0';
3850
+ var buttonVersion = '8.2.2';
3822
3851
 
3823
3852
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3824
3853
  // See LICENSE in the project root for license information.
@@ -4055,6 +4084,7 @@ function initExamples(initCount) {
4055
4084
  setReadonlyValue();
4056
4085
  swapInputValues();
4057
4086
  programmaticallySetValue();
4087
+ resetStateExample();
4058
4088
  } catch (error) {
4059
4089
  if (initCount <= 20) {
4060
4090
  // setTimeout handles issue where content is sometimes loaded after the functions get called
@@ -183,7 +183,7 @@ const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShad
183
183
  * SPDX-License-Identifier: BSD-3-Clause
184
184
  */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(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
185
185
 
186
- var styleCss$3 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input:disabled{background:none;pointer-events:none}`;
186
+ var styleCss$3 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:0;pointer-events:none}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{opacity:1;pointer-events:auto}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
187
187
 
188
188
  var colorCss$3 = i$2`.wrapper{border-color:transparent}.inputElement-helpText{color:var(--ds-auro-input-help-text-color)}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-input-help-text-color: var(--ds-color-text-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
189
189
 
@@ -1825,6 +1825,30 @@ class AuroFormValidation {
1825
1825
  this.runtimeUtils = new AuroLibraryRuntimeUtils();
1826
1826
  }
1827
1827
 
1828
+ /**
1829
+ * Resets the element to its initial state.
1830
+ * @private
1831
+ * @param {object} elem - HTML element to reset.
1832
+ * @returns {void}
1833
+ */
1834
+ reset(elem) {
1835
+ elem.validity = undefined;
1836
+ elem.value = undefined;
1837
+
1838
+ // Resets the second value of the datepicker in range state
1839
+ if (elem.valueEnd) {
1840
+ elem.valueEnd = undefined;
1841
+ }
1842
+
1843
+ // Resets selected option of element
1844
+ if (elem.optionSelected) {
1845
+ elem.optionSelected = undefined;
1846
+ }
1847
+
1848
+ // Runs validation to handle error attribute
1849
+ this.validate(elem);
1850
+ }
1851
+
1828
1852
  /**
1829
1853
  * Determines the validity state of the element based on the common attribute restrictions (pattern).
1830
1854
  * @private
@@ -1839,10 +1863,15 @@ class AuroFormValidation {
1839
1863
  elem.validity = 'badInput';
1840
1864
  elem.setCustomValidity = elem.setCustomValidityBadInput || '';
1841
1865
  }
1842
- } else if (elem.value && elem.value.length > 0 && elem.value.length < elem.minLength) {
1866
+ }
1867
+
1868
+ // Length > 0 is required to prevent the error message from showing when the input is empty
1869
+ if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
1843
1870
  elem.validity = 'tooShort';
1844
1871
  elem.setCustomValidity = elem.setCustomValidityTooShort || '';
1845
- } else if (elem.value && elem.value.length > elem.maxLength) {
1872
+ }
1873
+
1874
+ if (elem.value?.length > elem.maxLength) {
1846
1875
  elem.validity = 'tooLong';
1847
1876
  elem.setCustomValidity = elem.setCustomValidityTooLong || '';
1848
1877
  }
@@ -1868,7 +1897,7 @@ class AuroFormValidation {
1868
1897
  elem.validity = 'tooShort';
1869
1898
  elem.setCustomValidity = elem.setCustomValidityForType || '';
1870
1899
  }
1871
- } else if (elem.type === 'number' || elem.type === 'numeric') { // 'numeric` is a deprecated alias for number'
1900
+ } else if (elem.type === 'number') {
1872
1901
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
1873
1902
  elem.validity = 'rangeOverflow';
1874
1903
  elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
@@ -1973,14 +2002,10 @@ class AuroFormValidation {
1973
2002
 
1974
2003
  if (validationShouldRun || elem.hasAttribute('error')) {
1975
2004
  if (elem.validity && elem.validity !== 'valid') {
1976
- elem.isValid = false;
1977
-
1978
2005
  // Use the validity message override if it is declared
1979
2006
  if (elem.ValidityMessageOverride) {
1980
2007
  elem.setCustomValidity = elem.ValidityMessageOverride;
1981
2008
  }
1982
- } else {
1983
- elem.isValid = true;
1984
2009
  }
1985
2010
 
1986
2011
  this.getErrorMessage(elem);
@@ -2067,15 +2092,12 @@ class AuroFormValidation {
2067
2092
  * @attr {Boolean} disabled - If set, disables the input.
2068
2093
  * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
2069
2094
  * @prop {String} errorMessage - Contains the help text message for the current validity error.
2070
- * @attr {String} helpText - Deprecated, see `slot`.
2071
2095
  * @attr {Boolean} icon - If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
2072
2096
  * @attr {String} id - Sets the unique ID of the element.
2073
- * @attr {String} isValid - (DEPRECATED - Please use validity) Can be accessed to determine if the input validity. Returns true when validity has not yet been checked or validity = 'valid', all other cases return false. Not intended to be set by the consumer.
2074
- * @attr {String} label - Deprecated, see `slot`.
2075
2097
  * @attr {String} lang - defines the language of an element.
2076
- * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `numeric` and all date formats.
2098
+ * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
2077
2099
  * @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
2078
- * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `numeric` and all date formats.
2100
+ * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
2079
2101
  * @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
2080
2102
  * @attr {String} name - Populates the `name` attribute on the input.
2081
2103
  * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
@@ -2115,8 +2137,6 @@ class BaseInput extends r {
2115
2137
  constructor() {
2116
2138
  super();
2117
2139
 
2118
- this.isValid = false;
2119
-
2120
2140
  this.icon = false;
2121
2141
  this.disabled = false;
2122
2142
  this.required = false;
@@ -2125,9 +2145,7 @@ class BaseInput extends r {
2125
2145
  this.min = undefined;
2126
2146
  this.maxLength = undefined;
2127
2147
  this.minLength = undefined;
2128
- this.label = 'Input label is undefined';
2129
2148
  this.activeLabel = false;
2130
-
2131
2149
  this.setCustomValidityForType = undefined;
2132
2150
  }
2133
2151
 
@@ -2142,9 +2160,11 @@ class BaseInput extends r {
2142
2160
  this.showPassword = false;
2143
2161
  this.validationCCLength = undefined;
2144
2162
  this.hasValue = false;
2163
+ this.label = 'Input label is undefined';
2145
2164
 
2146
2165
  this.allowedInputTypes = [
2147
2166
  "text",
2167
+ "number",
2148
2168
  "email",
2149
2169
  "password",
2150
2170
  "credit-card",
@@ -2194,7 +2214,6 @@ class BaseInput extends r {
2194
2214
  static get properties() {
2195
2215
  return {
2196
2216
  id: { type: String },
2197
- label: { type: String },
2198
2217
  name: { type: String },
2199
2218
  type: { type: String,
2200
2219
  reflect: true },
@@ -2208,7 +2227,6 @@ class BaseInput extends r {
2208
2227
  disabled: { type: Boolean },
2209
2228
  required: { type: Boolean },
2210
2229
  noValidate: { type: Boolean },
2211
- helpText: { type: String },
2212
2230
  spellcheck: { type: String },
2213
2231
  autocorrect: { type: String },
2214
2232
  autocapitalize: { type: String },
@@ -2237,10 +2255,6 @@ class BaseInput extends r {
2237
2255
  reflect: true
2238
2256
  },
2239
2257
  errorMessage: { type: String },
2240
- isValid: {
2241
- type: String,
2242
- reflect: true
2243
- },
2244
2258
  validity: {
2245
2259
  type: String,
2246
2260
  reflect: true
@@ -2643,7 +2657,7 @@ class BaseInput extends r {
2643
2657
  * @return {void}
2644
2658
  */
2645
2659
  handleInput() {
2646
- // Prevent non-numeric characters from being entered on credit card fields.
2660
+ // Prevent non-number characters from being entered on credit card fields.
2647
2661
  if (this.type === 'credit-card') {
2648
2662
  this.inputElement.value = this.inputElement.value.replace(/[\D]/gu, '');
2649
2663
  }
@@ -2729,6 +2743,13 @@ class BaseInput extends r {
2729
2743
  this.validation.validate(this);
2730
2744
  }
2731
2745
 
2746
+ /**
2747
+ * Resets component to initial state.
2748
+ * @returns {void}
2749
+ */
2750
+ reset() {
2751
+ this.validation.reset(this);
2752
+ }
2732
2753
 
2733
2754
  /**
2734
2755
  * Sets configuration data used elsewhere based on the `type` attribute.
@@ -2771,30 +2792,28 @@ class BaseInput extends r {
2771
2792
  */
2772
2793
  getHelpText(type) {
2773
2794
  if (type === 'password') {
2774
- this.helpText = i18n(this.lang, 'password');
2795
+ return i18n(this.lang, 'password');
2775
2796
  } else if (type === 'email') {
2776
- this.helpText = i18n(this.lang, 'email');
2797
+ return i18n(this.lang, 'email');
2777
2798
  } else if (type === 'credit-card') {
2778
- this.helpText = i18n(this.lang, 'creditcard');
2799
+ return i18n(this.lang, 'creditcard');
2779
2800
  } else if (type === 'month-day-year') {
2780
- this.helpText = i18n(this.lang, 'dateMMDDYYYY');
2801
+ return i18n(this.lang, 'dateMMDDYYYY');
2781
2802
  } else if (type === 'month-year') {
2782
- this.helpText = i18n(this.lang, 'dateMMYY');
2803
+ return i18n(this.lang, 'dateMMYY');
2783
2804
  } else if (type === 'month-fullyear') {
2784
- this.helpText = i18n(this.lang, 'dateMMYYYY');
2805
+ return i18n(this.lang, 'dateMMYYYY');
2785
2806
  } else if (type === 'year-month-day') {
2786
- this.helpText = i18n(this.lang, 'dateYYYYMMDD');
2807
+ return i18n(this.lang, 'dateYYYYMMDD');
2787
2808
  } else if (type === 'month') {
2788
- this.helpText = i18n(this.lang, 'dateMM');
2809
+ return i18n(this.lang, 'dateMM');
2789
2810
  } else if (type === 'year') {
2790
- this.helpText = i18n(this.lang, 'dateYY');
2811
+ return i18n(this.lang, 'dateYY');
2791
2812
  } else if (type === 'fullYear') {
2792
- this.helpText = i18n(this.lang, 'dateYYYY');
2793
- } else {
2794
- this.helpText = '';
2813
+ return i18n(this.lang, 'dateYYYY');
2795
2814
  }
2796
2815
 
2797
- return this.helpText;
2816
+ return '';
2798
2817
  }
2799
2818
 
2800
2819
  /**
@@ -3082,7 +3101,7 @@ const cacheFetch = (uri, options = {}) => {
3082
3101
  return _fetchMap.get(uri);
3083
3102
  };
3084
3103
 
3085
- var styleCss$2 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.labelContainer{line-height:1.8}`;
3104
+ var styleCss$2 = i$2`*,*: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,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
3086
3105
 
3087
3106
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3088
3107
  // See LICENSE in the project root for license information.
@@ -3349,7 +3368,8 @@ class AuroIcon extends BaseIcon {
3349
3368
  };
3350
3369
 
3351
3370
  const classes = {
3352
- 'label': this.label
3371
+ 'label': this.label,
3372
+ 'wrapper': true,
3353
3373
  };
3354
3374
 
3355
3375
  return x`
@@ -3373,7 +3393,7 @@ class AuroIcon extends BaseIcon {
3373
3393
  }
3374
3394
  }
3375
3395
 
3376
- var iconVersion = '6.1.1';
3396
+ var iconVersion = '6.1.2';
3377
3397
 
3378
3398
  var styleCss$1 = i$2`*,*: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_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size: calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
3379
3399
 
@@ -3725,6 +3745,7 @@ class AuroButton extends r {
3725
3745
  const classes = {
3726
3746
  'util_insetLg--squish': true,
3727
3747
  'auro-button': true,
3748
+ 'auroButton': true,
3728
3749
  'auro-button--rounded': this.rounded,
3729
3750
  'auro-button--slim': this.slim,
3730
3751
  'auro-button--iconOnly': this.iconOnly,
@@ -3764,7 +3785,7 @@ class AuroButton extends r {
3764
3785
  }
3765
3786
  }
3766
3787
 
3767
- var buttonVersion = '8.2.0';
3788
+ var buttonVersion = '8.2.2';
3768
3789
 
3769
3790
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3770
3791
  // See LICENSE in the project root for license information.