@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.4

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 (257) hide show
  1. package/.turbo/cache/013a48308b893dac-meta.json +1 -1
  2. package/.turbo/cache/02244170c798a2bd-meta.json +1 -0
  3. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  4. package/.turbo/cache/051ff97a20add0e2-meta.json +1 -0
  5. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  6. package/.turbo/cache/07ca42419b9f050c-meta.json +1 -1
  7. package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -1
  8. package/.turbo/cache/0ea853339c064fa1-meta.json +1 -0
  9. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  10. package/.turbo/cache/16658beec9f4a809-meta.json +1 -0
  11. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  12. package/.turbo/cache/17259cf94d8f8925-meta.json +1 -1
  13. package/.turbo/cache/1b9818717e4bdf9f-meta.json +1 -0
  14. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  15. package/.turbo/cache/1c0f580d37370ba2-meta.json +1 -0
  16. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  17. package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -1
  18. package/.turbo/cache/1df4710eef8ed00d-meta.json +1 -0
  19. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  20. package/.turbo/cache/204b66d1b253e9cc-meta.json +1 -0
  21. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  22. package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -1
  23. package/.turbo/cache/2a5d0939d6fc1052-meta.json +1 -0
  24. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  25. package/.turbo/cache/2e3b829fcf75c836-meta.json +1 -0
  26. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  27. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -1
  28. package/.turbo/cache/3d380d0d40404cac-meta.json +1 -0
  29. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  30. package/.turbo/cache/3e12285c614db539-meta.json +1 -0
  31. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  32. package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -1
  33. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +1 -0
  34. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  35. package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -1
  36. package/.turbo/cache/64de7a53e02db647-meta.json +1 -1
  37. package/.turbo/cache/691a74627ec57993-meta.json +1 -1
  38. package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -1
  39. package/.turbo/cache/6dd67d179191bda8-meta.json +1 -0
  40. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  41. package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -1
  42. package/.turbo/cache/73e9073a5274616d-meta.json +1 -1
  43. package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -1
  44. package/.turbo/cache/786a822763403879-meta.json +1 -1
  45. package/.turbo/cache/7e1043cffa69f327-meta.json +1 -0
  46. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  47. package/.turbo/cache/7ffd501e81790676-meta.json +1 -0
  48. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  49. package/.turbo/cache/80a13352066a9801-meta.json +1 -0
  50. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  51. package/.turbo/cache/80b5d974184a01df-meta.json +1 -1
  52. package/.turbo/cache/8954c6073396fadd-meta.json +1 -1
  53. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +1 -0
  54. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +1 -0
  55. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  56. package/.turbo/cache/92daa6d7c389d548-meta.json +1 -1
  57. package/.turbo/cache/973d0eea26083f4b-meta.json +1 -0
  58. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  59. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +1 -0
  60. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  61. package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -1
  62. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  63. package/.turbo/cache/a9a9d012c83882d8-meta.json +1 -0
  64. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  65. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -1
  66. package/.turbo/cache/ba4418918621fbcd-meta.json +1 -1
  67. package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -1
  68. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  69. package/.turbo/cache/bffc7582905c2a5e-meta.json +1 -0
  70. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  71. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -1
  72. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  73. package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -1
  74. package/.turbo/cache/d572ebb3c833e8f4-meta.json +1 -0
  75. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  76. package/.turbo/cache/d61543843c932504-meta.json +1 -0
  77. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  78. package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -1
  79. package/.turbo/cache/db361cb6578dca84-meta.json +1 -0
  80. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  81. package/.turbo/cache/dea5945f55c6aba5-meta.json +1 -0
  82. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  83. package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -1
  84. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  85. package/.turbo/cache/f3ff9040a2196834-meta.json +1 -0
  86. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  87. package/.turbo/cache/f817d89688cefca8-meta.json +1 -0
  88. package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
  89. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -1
  90. package/.turbo/cache/fc57c17867dcac3d-meta.json +1 -0
  91. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
  92. package/CHANGELOG.md +44 -0
  93. package/components/checkbox/.turbo/turbo-build.log +3 -3
  94. package/components/checkbox/.turbo/turbo-bundler.log +3 -3
  95. package/components/checkbox/demo/api.md +4 -2
  96. package/components/checkbox/demo/api.min.js +31 -36
  97. package/components/checkbox/demo/index.min.js +31 -36
  98. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  99. package/components/checkbox/dist/index.js +31 -36
  100. package/components/checkbox/src/auro-checkbox-group.js +2 -2
  101. package/components/combobox/.turbo/turbo-build.log +3 -3
  102. package/components/combobox/demo/api.md +17 -15
  103. package/components/combobox/demo/api.min.js +500 -218
  104. package/components/combobox/demo/index.min.js +500 -218
  105. package/components/combobox/dist/auro-combobox.d.ts +11 -4
  106. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  107. package/components/combobox/dist/index.js +499 -217
  108. package/components/combobox/src/auro-combobox.js +22 -20
  109. package/components/counter/.turbo/turbo-build.log +3 -3
  110. package/components/counter/.turbo/turbo-bundler.log +3 -3
  111. package/components/datepicker/.turbo/turbo-build.log +9 -8
  112. package/components/datepicker/demo/api.md +107 -87
  113. package/components/datepicker/demo/api.min.js +492 -232
  114. package/components/datepicker/demo/index.min.js +492 -232
  115. package/components/datepicker/dist/auro-datepicker.d.ts +6 -13
  116. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  117. package/components/datepicker/dist/index.js +492 -232
  118. package/components/datepicker/src/auro-datepicker.js +15 -35
  119. package/components/dropdown/.turbo/turbo-build.log +3 -3
  120. package/components/dropdown/.turbo/turbo-bundler.log +2 -2
  121. package/components/dropdown/demo/api.md +4 -4
  122. package/components/dropdown/demo/api.min.js +166 -42
  123. package/components/dropdown/demo/index.min.js +166 -42
  124. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  125. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  126. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  127. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  128. package/components/dropdown/dist/index.js +166 -42
  129. package/components/dropdown/src/auro-dropdown.js +154 -39
  130. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  131. package/components/dropdown/src/styles/style-css.js +1 -1
  132. package/components/dropdown/src/styles/style.css +4 -0
  133. package/components/dropdown/src/styles/style.scss +5 -0
  134. package/components/form/.turbo/turbo-build.log +3 -3
  135. package/components/form/.turbo/turbo-bundler.log +3 -3
  136. package/components/input/.turbo/turbo-build$colon$sass.log +51 -1
  137. package/components/input/.turbo/turbo-build.log +56 -6
  138. package/components/input/.turbo/turbo-bundler.log +3 -3
  139. package/components/input/.turbo/turbo-sass$colon$render.log +6 -0
  140. package/components/input/demo/api.md +83 -81
  141. package/components/input/demo/api.min.js +282 -121
  142. package/components/input/demo/index.md +6 -6
  143. package/components/input/demo/index.min.js +282 -121
  144. package/components/input/dist/auro-input.d.ts.map +1 -1
  145. package/components/input/dist/base-input.d.ts +155 -84
  146. package/components/input/dist/base-input.d.ts.map +1 -1
  147. package/components/input/dist/index.js +282 -121
  148. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  149. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  150. package/components/input/src/auro-input.js +0 -1
  151. package/components/input/src/base-input.js +252 -85
  152. package/components/input/src/styles/borders.scss +3 -19
  153. package/components/input/src/styles/color.css +1 -2
  154. package/components/input/src/styles/color.scss +3 -10
  155. package/components/input/src/styles/input-css.js +1 -1
  156. package/components/input/src/styles/input.css +1 -1
  157. package/components/input/src/styles/input.scss +4 -1
  158. package/components/input/src/styles/label-css.js +1 -1
  159. package/components/input/src/styles/label.css +1 -1
  160. package/components/input/src/styles/label.scss +4 -7
  161. package/components/input/src/styles/mixins-css.js +2 -0
  162. package/components/input/src/styles/mixins.css +1 -0
  163. package/components/input/src/styles/mixins.scss +45 -0
  164. package/components/input/src/styles/notificationIcons-css.js +1 -1
  165. package/components/input/src/styles/notificationIcons.css +13 -12
  166. package/components/input/src/styles/notificationIcons.scss +17 -25
  167. package/components/input/src/styles/style-css.js +1 -1
  168. package/components/input/src/styles/style.css +15 -17
  169. package/components/input/src/styles/style.scss +0 -4
  170. package/components/menu/.turbo/turbo-build.log +3 -3
  171. package/components/menu/.turbo/turbo-bundler.log +3 -3
  172. package/components/menu/demo/api.min.js +1 -1
  173. package/components/menu/demo/index.min.js +1 -1
  174. package/components/menu/dist/auro-menu.d.ts +1 -1
  175. package/components/menu/dist/index.js +1 -1
  176. package/components/menu/src/auro-menu.js +1 -1
  177. package/components/radio/.turbo/turbo-build.log +3 -3
  178. package/components/radio/.turbo/turbo-bundler.log +3 -3
  179. package/components/radio/demo/api.md +3 -1
  180. package/components/radio/demo/api.min.js +30 -35
  181. package/components/radio/demo/index.min.js +30 -35
  182. package/components/radio/dist/index.js +30 -35
  183. package/components/radio/src/auro-radio-group.js +1 -1
  184. package/components/select/.turbo/turbo-build.log +7 -9
  185. package/components/select/demo/api.md +45 -110
  186. package/components/select/demo/api.min.js +320 -224
  187. package/components/select/demo/index.md +100 -43
  188. package/components/select/demo/index.min.js +320 -220
  189. package/components/select/dist/auro-select.d.ts +64 -51
  190. package/components/select/dist/auro-select.d.ts.map +1 -1
  191. package/components/select/dist/index.js +314 -201
  192. package/components/select/src/auro-select.js +100 -118
  193. package/components/select/src/styles/style-css.js +1 -1
  194. package/components/select/src/styles/style.css +7 -0
  195. package/components/select/src/styles/style.scss +11 -1
  196. package/package.json +1 -1
  197. package/packages/form-validation/src/validation.js +29 -34
  198. package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
  199. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  200. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
  201. package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
  202. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  203. package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
  204. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  205. package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
  206. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  207. package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
  208. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  209. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
  210. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  211. package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
  212. package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
  213. package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
  214. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  215. package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
  216. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  217. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
  218. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  219. package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
  220. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  221. package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
  222. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  223. package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
  224. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  225. package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
  226. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  227. package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
  228. package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
  229. package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
  230. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  231. package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
  232. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  233. package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
  234. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  235. package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
  236. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  237. package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
  238. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  239. package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
  240. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  241. package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
  242. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  243. package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
  244. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  245. package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
  246. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  247. package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
  248. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  249. package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
  250. package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
  251. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
  252. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  253. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
  254. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  255. package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
  256. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
  257. /package/.turbo/cache/{0a2b0a4df8a0443f.tar.zst → 8e79bd5c3a16a72e.tar.zst} +0 -0
@@ -1 +1 @@
1
- {"hash":"013a48308b893dac","duration":1793}
1
+ {"hash":"013a48308b893dac","duration":1733}
@@ -0,0 +1 @@
1
+ {"hash":"02244170c798a2bd","duration":18146}
@@ -0,0 +1 @@
1
+ {"hash":"051ff97a20add0e2","duration":1909}
@@ -1 +1 @@
1
- {"hash":"07ca42419b9f050c","duration":5115}
1
+ {"hash":"07ca42419b9f050c","duration":4612}
@@ -1 +1 @@
1
- {"hash":"0cea4c1f34f3683b","duration":1835}
1
+ {"hash":"0cea4c1f34f3683b","duration":1600}
@@ -0,0 +1 @@
1
+ {"hash":"0ea853339c064fa1","duration":1200}
@@ -0,0 +1 @@
1
+ {"hash":"16658beec9f4a809","duration":2320}
@@ -1 +1 @@
1
- {"hash":"17259cf94d8f8925","duration":1770}
1
+ {"hash":"17259cf94d8f8925","duration":2972}
@@ -0,0 +1 @@
1
+ {"hash":"1b9818717e4bdf9f","duration":6364}
@@ -0,0 +1 @@
1
+ {"hash":"1c0f580d37370ba2","duration":3098}
@@ -1 +1 @@
1
- {"hash":"1c99a949ec63ab35","duration":1908}
1
+ {"hash":"1c99a949ec63ab35","duration":1582}
@@ -0,0 +1 @@
1
+ {"hash":"1df4710eef8ed00d","duration":9437}
@@ -0,0 +1 @@
1
+ {"hash":"204b66d1b253e9cc","duration":3583}
@@ -1 +1 @@
1
- {"hash":"257a7a26ea72dbc5","duration":1985}
1
+ {"hash":"257a7a26ea72dbc5","duration":1965}
@@ -0,0 +1 @@
1
+ {"hash":"2a5d0939d6fc1052","duration":6186}
@@ -0,0 +1 @@
1
+ {"hash":"2e3b829fcf75c836","duration":18849}
@@ -1 +1 @@
1
- {"hash":"3bf45120d0cc9bd8","duration":2769}
1
+ {"hash":"3bf45120d0cc9bd8","duration":2982}
@@ -0,0 +1 @@
1
+ {"hash":"3d380d0d40404cac","duration":4058}
@@ -0,0 +1 @@
1
+ {"hash":"3e12285c614db539","duration":6105}
@@ -1 +1 @@
1
- {"hash":"45035bf5c4147ccd","duration":1683}
1
+ {"hash":"45035bf5c4147ccd","duration":1201}
@@ -0,0 +1 @@
1
+ {"hash":"5bf2d3f7ba5891e0","duration":1417}
@@ -1 +1 @@
1
- {"hash":"5f304c0f37ef25f3","duration":2556}
1
+ {"hash":"5f304c0f37ef25f3","duration":3034}
@@ -1 +1 @@
1
- {"hash":"64de7a53e02db647","duration":1317}
1
+ {"hash":"64de7a53e02db647","duration":1339}
@@ -1 +1 @@
1
- {"hash":"691a74627ec57993","duration":3393}
1
+ {"hash":"691a74627ec57993","duration":3953}
@@ -1 +1 @@
1
- {"hash":"69aae513b7ec6c7d","duration":1968}
1
+ {"hash":"69aae513b7ec6c7d","duration":1421}
@@ -0,0 +1 @@
1
+ {"hash":"6dd67d179191bda8","duration":1024}
@@ -1 +1 @@
1
- {"hash":"6dd7058e6703cb35","duration":2245}
1
+ {"hash":"6dd7058e6703cb35","duration":1915}
@@ -1 +1 @@
1
- {"hash":"73e9073a5274616d","duration":5421}
1
+ {"hash":"73e9073a5274616d","duration":4788}
@@ -1 +1 @@
1
- {"hash":"773edc0f83c8c5a5","duration":2469}
1
+ {"hash":"773edc0f83c8c5a5","duration":2794}
@@ -1 +1 @@
1
- {"hash":"786a822763403879","duration":3536}
1
+ {"hash":"786a822763403879","duration":3010}
@@ -0,0 +1 @@
1
+ {"hash":"7e1043cffa69f327","duration":19167}
@@ -0,0 +1 @@
1
+ {"hash":"7ffd501e81790676","duration":897}
@@ -0,0 +1 @@
1
+ {"hash":"80a13352066a9801","duration":2664}
@@ -1 +1 @@
1
- {"hash":"80b5d974184a01df","duration":3207}
1
+ {"hash":"80b5d974184a01df","duration":3147}
@@ -1 +1 @@
1
- {"hash":"8954c6073396fadd","duration":2475}
1
+ {"hash":"8954c6073396fadd","duration":2172}
@@ -0,0 +1 @@
1
+ {"hash":"8e79bd5c3a16a72e","duration":5933}
@@ -0,0 +1 @@
1
+ {"hash":"8e9ebc3df0e18de0","duration":9941}
@@ -1 +1 @@
1
- {"hash":"92daa6d7c389d548","duration":1240}
1
+ {"hash":"92daa6d7c389d548","duration":1139}
@@ -0,0 +1 @@
1
+ {"hash":"973d0eea26083f4b","duration":671}
@@ -0,0 +1 @@
1
+ {"hash":"9c6ad42729c7b2d8","duration":4078}
@@ -1 +1 @@
1
- {"hash":"a77bc920ea508bb8","duration":7883}
1
+ {"hash":"a77bc920ea508bb8","duration":7707}
@@ -0,0 +1 @@
1
+ {"hash":"a9a9d012c83882d8","duration":2654}
@@ -1 +1 @@
1
- {"hash":"b54fc4f664a7a5a0","duration":2679}
1
+ {"hash":"b54fc4f664a7a5a0","duration":3154}
@@ -1 +1 @@
1
- {"hash":"ba4418918621fbcd","duration":1805}
1
+ {"hash":"ba4418918621fbcd","duration":1643}
@@ -1 +1 @@
1
- {"hash":"be7c23c37b8ec74b","duration":2101}
1
+ {"hash":"be7c23c37b8ec74b","duration":2136}
@@ -0,0 +1 @@
1
+ {"hash":"bffc7582905c2a5e","duration":3467}
@@ -1 +1 @@
1
- {"hash":"caa0b4ac8d2a04dd","duration":2496}
1
+ {"hash":"caa0b4ac8d2a04dd","duration":2328}
@@ -1 +1 @@
1
- {"hash":"cc81de9c0b452a7c","duration":2269}
1
+ {"hash":"cc81de9c0b452a7c","duration":1936}
@@ -0,0 +1 @@
1
+ {"hash":"d572ebb3c833e8f4","duration":2865}
@@ -0,0 +1 @@
1
+ {"hash":"d61543843c932504","duration":20445}
@@ -1 +1 @@
1
- {"hash":"dad1301ac69bcb85","duration":2792}
1
+ {"hash":"dad1301ac69bcb85","duration":2705}
@@ -0,0 +1 @@
1
+ {"hash":"db361cb6578dca84","duration":5147}
@@ -0,0 +1 @@
1
+ {"hash":"dea5945f55c6aba5","duration":2928}
@@ -1 +1 @@
1
- {"hash":"e992dab20aeefbaf","duration":18132}
1
+ {"hash":"e992dab20aeefbaf","duration":17995}
@@ -0,0 +1 @@
1
+ {"hash":"f3ff9040a2196834","duration":19971}
@@ -0,0 +1 @@
1
+ {"hash":"f817d89688cefca8","duration":21265}
@@ -1 +1 @@
1
- {"hash":"fa132b5b5f0e75f8","duration":4349}
1
+ {"hash":"fa132b5b5f0e75f8","duration":3691}
@@ -0,0 +1 @@
1
+ {"hash":"fc57c17867dcac3d","duration":1599}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [2.0.0-beta.4](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.0.0-beta.3...v2.0.0-beta.4) (2025-01-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove menuoption's padding in select ([8bb0efc](https://github.com/AlaskaAirlines/auro-formkit/commit/8bb0efc0d9562c5ddd36d813668767a5398efebe))
9
+ * simplify logic on calculating `hasTriggerContent` in dropdown ([f1129cc](https://github.com/AlaskaAirlines/auro-formkit/commit/f1129ccd669332d4b1cc6e88d2f5c988663bf652))
10
+
11
+
12
+ ### Code Refactoring
13
+
14
+ * make `dropdown.placeholder` slot [#36](https://github.com/AlaskaAirlines/auro-formkit/issues/36) ([bff21e8](https://github.com/AlaskaAirlines/auro-formkit/commit/bff21e85e07cd1b1c6bdd5fc2c4147bc17b80087))
15
+
16
+
17
+ ### BREAKING CHANGES
18
+
19
+ * `placeholder` is now slot not attribute and there is no default node for it
20
+
21
+ # [2.0.0-beta.3](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.0.0-beta.2...v2.0.0-beta.3) (2025-01-09)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * make x icon take no space when invisible [#164](https://github.com/AlaskaAirlines/auro-formkit/issues/164) ([7ad63e2](https://github.com/AlaskaAirlines/auro-formkit/commit/7ad63e2d8898bd44e67724b8bb174f2a2f549174))
27
+
28
+
29
+ ### Features
30
+
31
+ * update custom validity message logic and docs [#155](https://github.com/AlaskaAirlines/auro-formkit/issues/155) [#156](https://github.com/AlaskaAirlines/auro-formkit/issues/156) ([beec66a](https://github.com/AlaskaAirlines/auro-formkit/commit/beec66a85d8004ad30207e3b039eac8cf3ffb2fb))
32
+
33
+
34
+ ### Performance Improvements
35
+
36
+ * add animation to clear icon and add shared mixin file ([4c6a1e1](https://github.com/AlaskaAirlines/auro-formkit/commit/4c6a1e1f286c727f63acb53aaa59828e6387c2e0))
37
+ * add optional chaining to validation logic ([c4de243](https://github.com/AlaskaAirlines/auro-formkit/commit/c4de243b2f98633605872ef41d2a033d7341b5f3))
38
+ * update handling of invalid values in select ([d1eb0bf](https://github.com/AlaskaAirlines/auro-formkit/commit/d1eb0bf6477b89a751a8f9ce4c5d43d4fa92721c))
39
+ * update validity to use patternMismatch state [#163](https://github.com/AlaskaAirlines/auro-formkit/issues/163) ([4c9f9a4](https://github.com/AlaskaAirlines/auro-formkit/commit/4c9f9a4c803b2fede189208ad0e005156d6b0bbf))
40
+
41
+
42
+ ### BREAKING CHANGES
43
+
44
+ * input's errorMessage is now a private property.
45
+ * patternMismatch replaces badInput state when user inputs do not match the expected pattern.
46
+
3
47
  # [2.0.0-beta.2](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2025-01-07)
4
48
 
5
49
 
@@ -106,13 +106,13 @@ More info and automated migrator: https://sass-lang.com/d/import
106
106
 
107
107
  
108
108
  ./src/index.js → dist...
109
- created dist in 662ms
109
+ created dist in 660ms
110
110
  
111
111
  ./demo/index.js → ./demo/...
112
- created ./demo/ in 556ms
112
+ created ./demo/ in 475ms
113
113
  
114
114
  ./demo/api.js → ./demo/...
115
- created ./demo/ in 531ms
115
+ created ./demo/ in 507ms
116
116
 
117
117
  > @auro-formkit/auro-checkbox@4.1.0 build:docs
118
118
  > wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component checkbox
@@ -4,10 +4,10 @@
4
4
 
5
5
  
6
6
  ./src/index.js → dist...
7
- created dist in 689ms
7
+ created dist in 780ms
8
8
  
9
9
  ./demo/index.js → ./demo/...
10
- created ./demo/ in 513ms
10
+ created ./demo/ in 405ms
11
11
  
12
12
  ./demo/api.js → ./demo/...
13
- created ./demo/ in 460ms
13
+ created ./demo/ in 574ms
@@ -10,7 +10,7 @@ The auro-checkbox-group element is a wrapper for auro-checkbox element.
10
10
  | Property | Attribute | Type | Default | Description |
11
11
  |---------------------------------|---------------------------------|-----------|-------------|--------------------------------------------------|
12
12
  | [disabled](#disabled) | `disabled` | `boolean` | "undefined" | |
13
- | [error](#error) | `error` | `String` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
13
+ | [error](#error) | `error` | `String` | | When defined, sets persistent validity to `customError` and sets the validity message to the attribute value. |
14
14
  | [horizontal](#horizontal) | `horizontal` | `Boolean` | false | If set, checkboxes will be aligned horizontally. |
15
15
  | [noValidate](#noValidate) | `noValidate` | `Boolean` | | If set, disables auto-validation on blur. |
16
16
  | [required](#required) | `required` | `Boolean` | false | Populates the `required` attribute on the element. Used for client-side validation. |
@@ -225,7 +225,9 @@ When present, the `required` attribute specifies that at least one or more `<aur
225
225
 
226
226
  #### Error
227
227
 
228
- The `error` attribute used to set error state on the entire `<auro-checkbox-group>`. If using the `error` attribute on an `<auro-checkbox-group>`, a string with the error message needs to be passed along with the attribute.
228
+ Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
229
+
230
+ A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
229
231
 
230
232
  <div class="exampleWrapper">
231
233
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/errorGroup.html) -->
@@ -354,20 +354,20 @@ class AuroFormValidation {
354
354
  const pattern = new RegExp(`^${elem.pattern}$`, 'u');
355
355
 
356
356
  if (!pattern.test(elem.value)) {
357
- elem.validity = 'badInput';
358
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
357
+ elem.validity = 'patternMismatch';
358
+ elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || '';
359
359
  }
360
360
  }
361
361
 
362
362
  // Length > 0 is required to prevent the error message from showing when the input is empty
363
363
  if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
364
364
  elem.validity = 'tooShort';
365
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
365
+ elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
366
366
  }
367
367
 
368
368
  if (elem.value?.length > elem.maxLength) {
369
369
  elem.validity = 'tooLong';
370
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
370
+ elem.errorMessage = elem.setCustomValidityTooLong || elem.setCustomValidity || '';
371
371
  }
372
372
  }
373
373
 
@@ -383,33 +383,32 @@ class AuroFormValidation {
383
383
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
384
384
 
385
385
  if (!elem.value.match(emailRegex)) {
386
- elem.validity = 'badInput';
387
- elem.setCustomValidity = elem.setCustomValidityForType || '';
386
+ elem.validity = 'patternMismatch';
387
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
388
388
  }
389
389
  } else if (elem.type === 'credit-card') {
390
390
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
391
391
  elem.validity = 'tooShort';
392
- elem.setCustomValidity = elem.setCustomValidityForType || '';
392
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
393
393
  }
394
394
  } else if (elem.type === 'number') {
395
395
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
396
396
  elem.validity = 'rangeOverflow';
397
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
397
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
398
398
  }
399
399
 
400
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
400
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
401
401
  elem.validity = 'rangeUnderflow';
402
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
402
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
403
403
  }
404
-
405
404
  } else if (elem.type === 'month-day-year' ||
406
405
  elem.type === 'month-year' ||
407
406
  elem.type === 'month-fullYear' ||
408
407
  elem.type === 'year-month-day'
409
408
  ) {
410
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
409
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
411
410
  elem.validity = 'tooShort';
412
- elem.setCustomValidity = elem.setCustomValidityForType || '';
411
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
413
412
  } else {
414
413
  const valueDate = new Date(elem.value);
415
414
 
@@ -419,7 +418,7 @@ class AuroFormValidation {
419
418
 
420
419
  if (valueDate > maxDate) {
421
420
  elem.validity = 'rangeOverflow';
422
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
421
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
423
422
  }
424
423
  }
425
424
 
@@ -429,7 +428,7 @@ class AuroFormValidation {
429
428
 
430
429
  if (valueDate < minDate) {
431
430
  elem.validity = 'rangeUnderflow';
432
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
431
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
433
432
  }
434
433
  }
435
434
  }
@@ -452,10 +451,10 @@ class AuroFormValidation {
452
451
 
453
452
  if (elem.hasAttribute('error')) {
454
453
  elem.validity = 'customError';
455
- elem.setCustomValidity = elem.error;
454
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
456
455
  } else if (validationShouldRun) {
457
456
  elem.validity = 'valid';
458
- elem.setCustomValidity = '';
457
+ elem.errorMessage = '';
459
458
 
460
459
  /**
461
460
  * Only validate once we interact with the datepicker
@@ -467,7 +466,7 @@ class AuroFormValidation {
467
466
  let hasValue = elem.value && elem.value.length > 0;
468
467
 
469
468
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
470
- if (this.auroInputElements && this.auroInputElements.length === 2) {
469
+ if (this.auroInputElements?.length === 2) {
471
470
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
472
471
  hasValue = false;
473
472
  }
@@ -475,31 +474,27 @@ class AuroFormValidation {
475
474
 
476
475
  if (!hasValue && elem.required) {
477
476
  elem.validity = 'valueMissing';
478
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
477
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
479
478
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
480
479
  this.validateType(elem);
481
480
  this.validateAttributes(elem);
482
481
  }
483
482
  }
484
483
 
485
- if (this.auroInputElements && this.auroInputElements.length > 0) {
484
+ if (this.auroInputElements?.length > 0) {
486
485
  elem.validity = this.auroInputElements[0].validity;
487
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
486
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
488
487
 
489
- if (elem.validity === 'valid') {
490
- if (this.auroInputElements.length > 1) {
491
- elem.validity = this.auroInputElements[1].validity;
492
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
493
- }
488
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
489
+ elem.validity = this.auroInputElements[1].validity;
490
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
494
491
  }
495
492
  }
496
493
 
497
494
  if (validationShouldRun || elem.hasAttribute('error')) {
498
- if (elem.validity && elem.validity !== 'valid') {
499
- // Use the validity message override if it is declared
500
- if (elem.ValidityMessageOverride) {
501
- elem.setCustomValidity = elem.ValidityMessageOverride;
502
- }
495
+ // Use the validity message override if it is declared
496
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
497
+ elem.errorMessage = elem.ValidityMessageOverride;
503
498
  }
504
499
 
505
500
  this.getErrorMessage(elem);
@@ -545,18 +540,18 @@ class AuroFormValidation {
545
540
  if (elem.validity !== 'valid') {
546
541
  if (elem.setCustomValidity) {
547
542
  elem.errorMessage = elem.setCustomValidity;
548
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
543
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
549
544
  const input = elem.renderRoot.querySelector('input');
550
545
 
551
546
  if (input.validationMessage.length > 0) {
552
547
  elem.errorMessage = input.validationMessage;
553
548
  }
554
- } else if (this.inputElements && this.inputElements.length > 0) {
549
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
555
550
  const firstInput = this.inputElements[0];
556
551
 
557
552
  if (firstInput.validationMessage.length > 0) {
558
553
  elem.errorMessage = firstInput.validationMessage;
559
- } else if (this.inputElements.length === 2) {
554
+ } else if (this.inputElements?.length === 2) {
560
555
  const secondInput = this.inputElements[1];
561
556
 
562
557
  if (secondInput.validationMessage.length > 0) {
@@ -585,7 +580,7 @@ var colorCss = i$4`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([d
585
580
  * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
586
581
  * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
587
582
  * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
588
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
583
+ * @attr {String} error - When defined, sets persistent validity to `customError` and sets the validity message to the attribute value.
589
584
  * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
590
585
  * @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
591
586
  * @attr {Boolean} horizontal - If set, checkboxes will be aligned horizontally.
@@ -885,7 +880,7 @@ class AuroCheckboxGroup extends r {
885
880
  </p>`
886
881
  : x`
887
882
  <p class="checkboxGroupElement-helpText" role="alert" aria-live="assertive" part="helpText">
888
- ${this.setCustomValidity}
883
+ ${this.errorMessage}
889
884
  </p>`
890
885
  }
891
886
  `;