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

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 (587) hide show
  1. package/.turbo/cache/048c5061758f42d5-meta.json +1 -0
  2. package/.turbo/cache/048c5061758f42d5.tar.zst +0 -0
  3. package/.turbo/cache/09d2311fd6562076-meta.json +1 -0
  4. package/.turbo/cache/09d2311fd6562076.tar.zst +0 -0
  5. package/.turbo/cache/0ada3342350716d5-meta.json +1 -0
  6. package/.turbo/cache/0ada3342350716d5.tar.zst +0 -0
  7. package/.turbo/cache/226476fa9e61cc81-meta.json +1 -0
  8. package/.turbo/cache/226476fa9e61cc81.tar.zst +0 -0
  9. package/.turbo/cache/26b534ba7ee176e5-meta.json +1 -0
  10. package/.turbo/cache/26b534ba7ee176e5.tar.zst +0 -0
  11. package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
  12. package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
  13. package/.turbo/cache/2d21d0e971f28291-meta.json +1 -0
  14. package/.turbo/cache/2d21d0e971f28291.tar.zst +0 -0
  15. package/.turbo/cache/3a60640aa3aedd8a-meta.json +1 -0
  16. package/.turbo/cache/3a60640aa3aedd8a.tar.zst +0 -0
  17. package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
  18. package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
  19. package/.turbo/cache/45fbe2fe40c2302a-meta.json +1 -0
  20. package/.turbo/cache/45fbe2fe40c2302a.tar.zst +0 -0
  21. package/.turbo/cache/46147a707109af3e-meta.json +1 -0
  22. package/.turbo/cache/46147a707109af3e.tar.zst +0 -0
  23. package/.turbo/cache/4699bc5f16a9eb63-meta.json +1 -0
  24. package/.turbo/cache/4699bc5f16a9eb63.tar.zst +0 -0
  25. package/.turbo/cache/4d9d8b6a169d8272-meta.json +1 -0
  26. package/.turbo/cache/4d9d8b6a169d8272.tar.zst +0 -0
  27. package/.turbo/cache/4f1f59ef262afdb7-meta.json +1 -0
  28. package/.turbo/cache/4f1f59ef262afdb7.tar.zst +0 -0
  29. package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -0
  30. package/.turbo/cache/50cd7dcfc9f820c5.tar.zst +0 -0
  31. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
  32. package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
  33. package/.turbo/cache/5b3e6d7fcbed91d7-meta.json +1 -0
  34. package/.turbo/cache/5b3e6d7fcbed91d7.tar.zst +0 -0
  35. package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
  36. package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
  37. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
  38. package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
  39. package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -0
  40. package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
  41. package/.turbo/cache/6af0cfb35a4d9b50-meta.json +1 -0
  42. package/.turbo/cache/6af0cfb35a4d9b50.tar.zst +0 -0
  43. package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
  44. package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
  45. package/.turbo/cache/783a19e6c1e36dc4-meta.json +1 -0
  46. package/.turbo/cache/783a19e6c1e36dc4.tar.zst +0 -0
  47. package/.turbo/cache/78418f9089673a21-meta.json +1 -0
  48. package/.turbo/cache/78418f9089673a21.tar.zst +0 -0
  49. package/.turbo/cache/7964d1656e9e702a-meta.json +1 -0
  50. package/.turbo/cache/7964d1656e9e702a.tar.zst +0 -0
  51. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
  52. package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
  53. package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -0
  54. package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
  55. package/.turbo/cache/81b950588f7d83f6-meta.json +1 -0
  56. package/.turbo/cache/81b950588f7d83f6.tar.zst +0 -0
  57. package/.turbo/cache/81e86c62df3233f1-meta.json +1 -0
  58. package/.turbo/cache/81e86c62df3233f1.tar.zst +0 -0
  59. package/.turbo/cache/82400c31013ddb91-meta.json +1 -0
  60. package/.turbo/cache/82400c31013ddb91.tar.zst +0 -0
  61. package/.turbo/cache/949113644726bb55-meta.json +1 -0
  62. package/.turbo/cache/949113644726bb55.tar.zst +0 -0
  63. package/.turbo/cache/9b6f6cd2350f80bc-meta.json +1 -0
  64. package/.turbo/cache/9b6f6cd2350f80bc.tar.zst +0 -0
  65. package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -0
  66. package/.turbo/cache/9d99fa3ab31d272f.tar.zst +0 -0
  67. package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
  68. package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
  69. package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
  70. package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
  71. package/.turbo/cache/b0a6287f373e6400-meta.json +1 -0
  72. package/.turbo/cache/b0a6287f373e6400.tar.zst +0 -0
  73. package/.turbo/cache/b289ab794336616f-meta.json +1 -0
  74. package/.turbo/cache/b289ab794336616f.tar.zst +0 -0
  75. package/.turbo/cache/b2fd4dae3a507bc0-meta.json +1 -0
  76. package/.turbo/cache/b2fd4dae3a507bc0.tar.zst +0 -0
  77. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
  78. package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
  79. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
  80. package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
  81. package/.turbo/cache/b6fd9dd7003776ae-meta.json +1 -0
  82. package/.turbo/cache/b6fd9dd7003776ae.tar.zst +0 -0
  83. package/.turbo/cache/b89dab696f5a8270-meta.json +1 -0
  84. package/.turbo/cache/b89dab696f5a8270.tar.zst +0 -0
  85. package/.turbo/cache/b8a40e55bb47f55f-meta.json +1 -0
  86. package/.turbo/cache/b8a40e55bb47f55f.tar.zst +0 -0
  87. package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
  88. package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
  89. package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -0
  90. package/.turbo/cache/c03a12ff38ba1e02.tar.zst +0 -0
  91. package/.turbo/cache/c0ac4be01e1e8afd-meta.json +1 -0
  92. package/.turbo/cache/c0ac4be01e1e8afd.tar.zst +0 -0
  93. package/.turbo/cache/c5b9fac10bc33f4b-meta.json +1 -0
  94. package/.turbo/cache/c5b9fac10bc33f4b.tar.zst +0 -0
  95. package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
  96. package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
  97. package/.turbo/cache/c7a029745c0280b7-meta.json +1 -0
  98. package/.turbo/cache/c7a029745c0280b7.tar.zst +0 -0
  99. package/.turbo/cache/cacc097c013aa1ff-meta.json +1 -0
  100. package/.turbo/cache/cacc097c013aa1ff.tar.zst +0 -0
  101. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
  102. package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
  103. package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
  104. package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
  105. package/.turbo/cache/db6efe0245a870a5-meta.json +1 -0
  106. package/.turbo/cache/db6efe0245a870a5.tar.zst +0 -0
  107. package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
  108. package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
  109. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
  110. package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
  111. package/.turbo/cache/e84d01ebc415199c-meta.json +1 -0
  112. package/.turbo/cache/e84d01ebc415199c.tar.zst +0 -0
  113. package/.turbo/cache/f45bc65c58664d47-meta.json +1 -0
  114. package/.turbo/cache/f45bc65c58664d47.tar.zst +0 -0
  115. package/.turbo/cache/f6808644dc687b2c-meta.json +1 -0
  116. package/.turbo/cache/f6808644dc687b2c.tar.zst +0 -0
  117. package/.turbo/cache/ffdabdf92e6ad537-meta.json +1 -0
  118. package/.turbo/cache/ffdabdf92e6ad537.tar.zst +0 -0
  119. package/.vscode/settings.json +3 -0
  120. package/CHANGELOG.md +210 -0
  121. package/README.md +59 -59
  122. package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
  123. package/components/checkbox/.turbo/turbo-build.log +20 -21
  124. package/components/checkbox/.turbo/turbo-bundler.log +4 -4
  125. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
  126. package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
  127. package/components/checkbox/.turbo/turbo-types.log +1 -1
  128. package/components/checkbox/README.md +26 -34
  129. package/components/checkbox/demo/api.md +70 -68
  130. package/components/checkbox/demo/api.min.js +196 -84
  131. package/components/checkbox/demo/index.md +62 -62
  132. package/components/checkbox/demo/index.min.js +196 -84
  133. package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
  134. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  135. package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
  136. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  137. package/components/checkbox/dist/index.js +196 -84
  138. package/components/checkbox/package.json +2 -2
  139. package/components/checkbox/src/auro-checkbox-group.js +57 -20
  140. package/components/checkbox/src/auro-checkbox.js +30 -9
  141. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  142. package/components/combobox/.turbo/turbo-build.log +22 -23
  143. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  144. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  145. package/components/combobox/README.md +23 -28
  146. package/components/combobox/demo/api.md +30 -26
  147. package/components/combobox/demo/api.min.js +3224 -948
  148. package/components/combobox/demo/index.md +1 -1
  149. package/components/combobox/demo/index.min.js +3221 -945
  150. package/components/combobox/dist/auro-combobox.d.ts +75 -73
  151. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  152. package/components/combobox/dist/dropdownVersion.d.ts +3 -0
  153. package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
  154. package/components/combobox/dist/index.js +2590 -628
  155. package/components/combobox/dist/inputVersion.d.ts +3 -0
  156. package/components/combobox/dist/inputVersion.d.ts.map +1 -0
  157. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  158. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  159. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  160. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  161. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  162. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  163. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  164. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  165. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  166. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  167. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  207. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  208. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  209. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  210. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  211. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  212. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  213. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  214. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  215. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  216. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  217. package/components/combobox/node_modules/chalk/package.json +3 -3
  218. package/components/combobox/node_modules/chalk/readme.md +25 -53
  219. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  220. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  221. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  222. package/components/combobox/package.json +10 -11
  223. package/components/combobox/src/auro-combobox.js +222 -164
  224. package/components/combobox/src/dropdownVersion.js +1 -0
  225. package/components/combobox/src/inputVersion.js +1 -0
  226. package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
  227. package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
  228. package/components/counter/.turbo/turbo-build.log +325 -14
  229. package/components/counter/.turbo/turbo-bundler.log +10 -4
  230. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  231. package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
  232. package/components/counter/.turbo/turbo-types.log +1 -1
  233. package/components/counter/README.md +188 -0
  234. package/components/counter/demo/api.md +104 -1014
  235. package/components/counter/demo/api.min.js +4773 -36
  236. package/components/counter/demo/index.js +2 -1
  237. package/components/counter/demo/index.md +190 -0
  238. package/components/counter/demo/index.min.js +4801 -19
  239. package/components/counter/dist/auro-counter-button.d.ts +13 -0
  240. package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
  241. package/components/counter/dist/auro-counter-group.d.ts +112 -5
  242. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  243. package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
  244. package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
  245. package/components/counter/dist/auro-counter.d.ts +89 -0
  246. package/components/counter/dist/auro-counter.d.ts.map +1 -1
  247. package/components/counter/dist/dropdownVersion.d.ts +3 -0
  248. package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
  249. package/components/counter/dist/iconVersion.d.ts +3 -0
  250. package/components/counter/dist/iconVersion.d.ts.map +1 -0
  251. package/components/counter/dist/index.js +4773 -36
  252. package/components/counter/dist/styles/color-css.d.ts +3 -0
  253. package/components/counter/dist/styles/color-css.d.ts.map +1 -0
  254. package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
  255. package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
  256. package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
  257. package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
  258. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
  259. package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
  260. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
  261. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
  262. package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
  263. package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
  264. package/components/counter/dist/styles/tokens-css.d.ts +3 -0
  265. package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
  266. package/components/counter/package.json +9 -3
  267. package/components/counter/src/auro-counter-button.js +42 -0
  268. package/components/counter/src/auro-counter-group.js +229 -20
  269. package/components/counter/src/auro-counter-wrapper.js +54 -0
  270. package/components/counter/src/auro-counter.js +287 -12
  271. package/components/counter/src/dropdownVersion.js +1 -0
  272. package/components/counter/src/iconVersion.js +1 -0
  273. package/components/counter/src/index.js +1 -1
  274. package/components/counter/src/styles/color-css.js +2 -0
  275. package/components/counter/src/styles/color.css +25 -0
  276. package/components/counter/src/styles/color.scss +44 -0
  277. package/components/counter/src/styles/counter-button-color-css.js +2 -0
  278. package/components/counter/src/styles/counter-button-color.css +14 -0
  279. package/components/counter/src/styles/counter-button-color.scss +29 -0
  280. package/components/counter/src/styles/counter-button-css.js +2 -0
  281. package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
  282. package/components/counter/src/styles/counter-button-tokens.css +7 -0
  283. package/components/counter/src/styles/counter-button-tokens.scss +9 -0
  284. package/components/counter/src/styles/counter-button.css +187 -0
  285. package/components/counter/src/styles/counter-button.scss +83 -0
  286. package/components/counter/src/styles/counter-group-css.js +1 -1
  287. package/components/counter/src/styles/counter-group.css +9 -1
  288. package/components/counter/src/styles/counter-group.scss +10 -1
  289. package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
  290. package/components/counter/src/styles/counter-wrapper-color.css +4 -0
  291. package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
  292. package/components/counter/src/styles/counter-wrapper-css.js +2 -0
  293. package/components/counter/src/styles/counter-wrapper.css +15 -0
  294. package/components/counter/src/styles/counter-wrapper.scss +29 -0
  295. package/components/counter/src/styles/style-css.js +1 -1
  296. package/components/counter/src/styles/style.css +43 -1
  297. package/components/counter/src/styles/style.scss +48 -2
  298. package/components/counter/src/styles/tokens-css.js +2 -0
  299. package/components/counter/src/styles/tokens.css +11 -0
  300. package/components/counter/src/styles/tokens.scss +24 -0
  301. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  302. package/components/datepicker/.turbo/turbo-build.log +57 -57
  303. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  304. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  305. package/components/datepicker/README.md +21 -26
  306. package/components/datepicker/demo/api.md +182 -135
  307. package/components/datepicker/demo/api.min.js +1013 -569
  308. package/components/datepicker/demo/index.md +1 -1
  309. package/components/datepicker/demo/index.min.js +1013 -569
  310. package/components/datepicker/dist/auro-calendar.d.ts +1 -1
  311. package/components/datepicker/dist/auro-datepicker.d.ts +94 -78
  312. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  313. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  314. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
  315. package/components/datepicker/dist/index.js +1013 -569
  316. package/components/datepicker/dist/inputVersion.d.ts +3 -0
  317. package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
  318. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
  319. package/components/datepicker/package.json +3 -3
  320. package/components/datepicker/src/auro-calendar.js +1 -1
  321. package/components/datepicker/src/auro-datepicker.js +153 -107
  322. package/components/datepicker/src/dropdownVersion.js +1 -0
  323. package/components/datepicker/src/inputVersion.js +1 -0
  324. package/components/datepicker/src/styles/color-cell-css.js +1 -1
  325. package/components/datepicker/src/styles/color-cell.css +1 -1
  326. package/components/datepicker/src/styles/color-cell.scss +1 -1
  327. package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
  328. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  329. package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
  330. package/components/dropdown/.turbo/turbo-build.log +19 -20
  331. package/components/dropdown/.turbo/turbo-bundler.log +4 -4
  332. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  333. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  334. package/components/dropdown/.turbo/turbo-types.log +1 -1
  335. package/components/dropdown/README.md +18 -26
  336. package/components/dropdown/demo/api.md +4 -4
  337. package/components/dropdown/demo/api.min.js +205 -81
  338. package/components/dropdown/demo/index.min.js +205 -81
  339. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  340. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  341. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  342. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  343. package/components/dropdown/dist/index.js +205 -81
  344. package/components/dropdown/package.json +1 -1
  345. package/components/dropdown/src/auro-dropdown.js +154 -39
  346. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  347. package/components/dropdown/src/styles/style-css.js +1 -1
  348. package/components/dropdown/src/styles/style.css +4 -0
  349. package/components/dropdown/src/styles/style.scss +5 -0
  350. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  351. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  352. package/components/form/.turbo/turbo-build.log +17 -18
  353. package/components/form/.turbo/turbo-bundler.log +4 -4
  354. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  355. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  356. package/components/form/.turbo/turbo-types.log +1 -1
  357. package/components/form/README.md +28 -34
  358. package/components/form/demo/api.min.js +338 -25
  359. package/components/form/demo/index.min.js +338 -25
  360. package/components/form/demo/registerDemoDeps.js +6 -0
  361. package/components/form/demo/working.html +108 -0
  362. package/components/form/dist/auro-form.d.ts +137 -2
  363. package/components/form/dist/auro-form.d.ts.map +1 -1
  364. package/components/form/dist/index.js +338 -25
  365. package/components/form/package.json +4 -2
  366. package/components/form/src/auro-form.js +335 -25
  367. package/components/input/.turbo/turbo-build$colon$sass.log +66 -16
  368. package/components/input/.turbo/turbo-build$colon$version.log +1 -1
  369. package/components/input/.turbo/turbo-build.log +78 -31
  370. package/components/input/.turbo/turbo-bundler.log +3 -3
  371. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  372. package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
  373. package/components/input/.turbo/turbo-types.log +1 -1
  374. package/components/input/README.md +18 -28
  375. package/components/input/demo/api.md +151 -316
  376. package/components/input/demo/api.min.js +370 -150
  377. package/components/input/demo/index.md +11 -61
  378. package/components/input/demo/index.min.js +370 -150
  379. package/components/input/dist/auro-input.d.ts.map +1 -1
  380. package/components/input/dist/base-input.d.ts +158 -87
  381. package/components/input/dist/base-input.d.ts.map +1 -1
  382. package/components/input/dist/index.js +370 -150
  383. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  384. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  385. package/components/input/package.json +1 -1
  386. package/components/input/src/auro-input.js +0 -1
  387. package/components/input/src/base-input.js +257 -90
  388. package/components/input/src/styles/borders.scss +3 -19
  389. package/components/input/src/styles/color.css +1 -2
  390. package/components/input/src/styles/color.scss +3 -10
  391. package/components/input/src/styles/input-css.js +1 -1
  392. package/components/input/src/styles/input.css +1 -1
  393. package/components/input/src/styles/input.scss +4 -1
  394. package/components/input/src/styles/label-css.js +1 -1
  395. package/components/input/src/styles/label.css +1 -1
  396. package/components/input/src/styles/label.scss +4 -7
  397. package/components/input/src/styles/mixins-css.js +2 -0
  398. package/components/input/src/styles/mixins.css +1 -0
  399. package/components/input/src/styles/mixins.scss +45 -0
  400. package/components/input/src/styles/notificationIcons-css.js +1 -1
  401. package/components/input/src/styles/notificationIcons.css +13 -12
  402. package/components/input/src/styles/notificationIcons.scss +17 -25
  403. package/components/input/src/styles/style-css.js +1 -1
  404. package/components/input/src/styles/style.css +15 -17
  405. package/components/input/src/styles/style.scss +0 -4
  406. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  407. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  408. package/components/menu/.turbo/turbo-build.log +22 -21
  409. package/components/menu/.turbo/turbo-bundler.log +4 -4
  410. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  411. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  412. package/components/menu/.turbo/turbo-types.log +1 -1
  413. package/components/menu/README.md +18 -26
  414. package/components/menu/demo/api.md +57 -20
  415. package/components/menu/demo/api.min.js +626 -312
  416. package/components/menu/demo/index.min.js +624 -310
  417. package/components/menu/dist/auro-menu-utils.d.ts +43 -0
  418. package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
  419. package/components/menu/dist/auro-menu.d.ts +97 -81
  420. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  421. package/components/menu/dist/index.d.ts +1 -0
  422. package/components/menu/dist/index.js +625 -311
  423. package/components/menu/package.json +1 -1
  424. package/components/menu/src/auro-menu-utils.js +131 -0
  425. package/components/menu/src/auro-menu.js +492 -303
  426. package/components/menu/src/index.js +7 -0
  427. package/components/menu/src/styles/color-menuoption-css.js +1 -1
  428. package/components/menu/src/styles/color-menuoption.css +3 -0
  429. package/components/menu/src/styles/color-menuoption.scss +4 -0
  430. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  431. package/components/radio/.turbo/turbo-build.log +23 -24
  432. package/components/radio/.turbo/turbo-bundler.log +4 -4
  433. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  434. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  435. package/components/radio/.turbo/turbo-types.log +1 -1
  436. package/components/radio/README.md +18 -26
  437. package/components/radio/demo/api.md +7 -4
  438. package/components/radio/demo/api.min.js +120 -58
  439. package/components/radio/demo/index.min.js +120 -58
  440. package/components/radio/dist/auro-radio-group.d.ts +5 -0
  441. package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
  442. package/components/radio/dist/index.js +120 -58
  443. package/components/radio/package.json +1 -1
  444. package/components/radio/src/auro-radio-group.js +10 -2
  445. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  446. package/components/select/.turbo/turbo-build.log +32 -33
  447. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  448. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  449. package/components/select/README.md +21 -42
  450. package/components/select/demo/api.md +92 -121
  451. package/components/select/demo/api.min.js +2723 -711
  452. package/components/select/demo/index.md +101 -59
  453. package/components/select/demo/index.min.js +2722 -706
  454. package/components/select/dist/auro-select.d.ts +77 -48
  455. package/components/select/dist/auro-select.d.ts.map +1 -1
  456. package/components/select/dist/dropdownVersion.d.ts +3 -0
  457. package/components/select/dist/dropdownVersion.d.ts.map +1 -0
  458. package/components/select/dist/index.js +2082 -367
  459. package/components/select/package.json +3 -3
  460. package/components/select/src/auro-select.js +148 -129
  461. package/components/select/src/dropdownVersion.js +1 -0
  462. package/components/select/src/styles/style-css.js +1 -1
  463. package/components/select/src/styles/style.css +14 -0
  464. package/components/select/src/styles/style.scss +24 -1
  465. package/package.json +21 -21
  466. package/packages/build-tools/src/docProcessor.mjs +37 -8
  467. package/packages/form-validation/src/validation.js +104 -50
  468. package/packages/utils/package.json +12 -0
  469. package/packages/utils/src/iconUtil.js +25 -0
  470. package/packages/utils/src/index.js +1 -0
  471. package/turbo.json +13 -8
  472. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  473. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  474. package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
  475. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  476. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  477. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  478. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
  479. package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
  480. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  481. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  482. package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
  483. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  484. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  485. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  486. package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
  487. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  488. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  489. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  490. package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
  491. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  492. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  493. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  494. package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
  495. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  496. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
  497. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  498. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  499. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  500. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  501. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  502. package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
  503. package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
  504. package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
  505. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  506. package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
  507. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  508. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
  509. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  510. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  511. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  512. package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
  513. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  514. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  515. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  516. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  517. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  518. package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
  519. package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
  520. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  521. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  522. package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
  523. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  524. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  525. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  526. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  527. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  528. package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
  529. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  530. package/.turbo/cache/786a822763403879-meta.json +0 -1
  531. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  532. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  533. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  534. package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
  535. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  536. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  537. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  538. package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
  539. package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
  540. package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
  541. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  542. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  543. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  544. package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
  545. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  546. package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
  547. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  548. package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
  549. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  550. package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
  551. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  552. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  553. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  554. package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
  555. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  556. package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
  557. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  558. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
  559. package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
  560. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  561. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  562. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  563. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  564. package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
  565. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  566. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  567. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  568. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  569. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  570. package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
  571. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  572. package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
  573. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  574. package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
  575. package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
  576. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
  577. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  578. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  579. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  580. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  581. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  582. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
  583. package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
  584. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
  585. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  586. package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
  587. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
@@ -3,26 +3,26 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$3=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$3.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",void 0,s$1),i$4=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
6
+ const t$2=globalThis,e$4=t$2.ShadowRoot&&(undefined===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$3=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$3.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$3.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",undefined,s$1),i$4=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
7
7
 
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
- */const{is:i$3,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$2,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$3(t,s),y$1={attribute:!0,type:String,converter:u$1,reflect:!1,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
12
+ */const{is:i$3,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$2,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$3(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else undefined!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
13
13
 
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2017 Google LLC
17
17
  * SPDX-License-Identifier: BSD-3-Clause
18
18
  */
19
- const t$1=globalThis,i$2=t$1.trustedTypes,s=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$1="?"+h,n=`<${o$1}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$2?i$2.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
19
+ const t$1=globalThis,i$2=t$1.trustedTypes,s=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$1="?"+h,n=`<${o$1}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$2?i$2.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,undefined,s??{});}return h._$AI(t),h};
20
20
 
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */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$1=globalThis.litElementPolyfillSupport;i$1?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
25
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$1=globalThis.litElementPolyfillSupport;i$1?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
26
26
 
27
27
  /**
28
28
  * @license
@@ -35,7 +35,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
35
35
  * @license
36
36
  * Copyright 2018 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
38
+ */const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
39
39
 
40
40
  /**
41
41
  * @license
@@ -128,12 +128,6 @@ class AuroLibraryRuntimeUtils {
128
128
  /**
129
129
  * Custom element for the purpose of allowing users to select one or more options of a limited number of choices.
130
130
  *
131
- * @attr {Boolean} checked - If set to true, the checkbox will be filled with a checkmark.
132
- * @attr {Boolean} disabled - If set to true, the checkbox will not be clickable.
133
- * @attr {Boolean} error - If set to true, sets an error state on the checkbox.
134
- * @attr {String} id - Sets the individual `id` per element.
135
- * @attr {String} name - Accepts any string, `DOMString` representing the value of the input.
136
- * @attr {String} value - Sets the element's input value. Must be unique within an auro-checkbox-group element.
137
131
  * @csspart checkbox - apply css to a specific checkbox.
138
132
  * @csspart checkbox-input - apply css to a specific checkbox's input.
139
133
  * @csspart checkbox-label - apply css to a specific checkbox's label.
@@ -164,21 +158,48 @@ class AuroCheckbox extends r {
164
158
  // function to define props used within the scope of this component
165
159
  static get properties() {
166
160
  return {
161
+
162
+ /**
163
+ * If set to true, the checkbox will be filled with a checkmark.
164
+ */
167
165
  checked: {
168
166
  type: Boolean,
169
167
  reflect: true
170
168
  },
169
+
170
+ /**
171
+ * If set to true, the checkbox will not be clickable.
172
+ */
171
173
  disabled: {
172
174
  type: Boolean,
173
175
  reflect: true
174
176
  },
177
+
178
+ /**
179
+ * If set to true, the checkbox will be displayed with an error state.
180
+ */
175
181
  error: {
176
182
  type: Boolean,
177
183
  reflect: true
178
184
  },
179
- id: { type: String },
180
- name: { type: String },
181
- value: { type: String }
185
+
186
+ /**
187
+ * Sets the individual `id` per element.
188
+ */
189
+ id: { type: String },
190
+
191
+ /**
192
+ * Accepts any string and is used to identify related checkboxes when submitting form data.
193
+ */
194
+ name: { type: String },
195
+
196
+ /**
197
+ * Sets the element's input value. Must be unique within an auro-checkbox-group element.
198
+ */
199
+ value: {
200
+ type: String,
201
+ reflect: true
202
+ }
182
203
  };
183
204
  }
184
205
 
@@ -336,30 +357,87 @@ class AuroFormValidation {
336
357
  }
337
358
 
338
359
  /**
339
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
340
- * @private
341
- * @param {object} elem - HTML element to validate.
360
+ * Validates the attributes of a given element based on predefined validation rules.
361
+ *
362
+ * @param {HTMLElement} elem - The element to be validated.
342
363
  * @returns {void}
364
+ *
365
+ * @example
366
+ * // Assuming `inputElement` is a reference to an input element in the DOM
367
+ * validateElementAttributes(inputElement);
368
+ *
369
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
370
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
371
+ *
372
+ * Validation rules:
373
+ * - input:
374
+ * - length:
375
+ * - tooShort: Checks if the value length is less than the minimum length.
376
+ * - tooLong: Checks if the value length exceeds the maximum length.
377
+ * - pattern:
378
+ * - patternMismatch: Checks if the value does not match the specified pattern.
379
+ * - counter:
380
+ * - range:
381
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
382
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
343
383
  */
344
- validateAttributes(elem) {
345
- if (elem.pattern) {
346
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
347
-
348
- if (!pattern.test(elem.value)) {
349
- elem.validity = 'badInput';
350
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
384
+ validateElementAttributes(elem) {
385
+ const validationRules = {
386
+ input: {
387
+ length: [
388
+ {
389
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
390
+ validity: 'tooShort',
391
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
392
+ },
393
+ {
394
+ check: (e) => e.value?.length > e.maxLength,
395
+ validity: 'tooLong',
396
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
397
+ }
398
+ ],
399
+ pattern: [
400
+ {
401
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
402
+ validity: 'patternMismatch',
403
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
404
+ }
405
+ ]
406
+ },
407
+ counter: {
408
+ range: [
409
+ {
410
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
411
+ validity: 'rangeOverflow',
412
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
413
+ },
414
+ {
415
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
416
+ validity: 'rangeUnderflow',
417
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
418
+ }
419
+ ]
351
420
  }
421
+ };
422
+
423
+ let elementType;
424
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
425
+ elementType = 'input';
426
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
427
+ elementType = 'counter';
352
428
  }
353
-
354
- // Length > 0 is required to prevent the error message from showing when the input is empty
355
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
356
- elem.validity = 'tooShort';
357
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
358
- }
359
429
 
360
- if (elem.value?.length > elem.maxLength) {
361
- elem.validity = 'tooLong';
362
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
430
+ if (elementType) {
431
+ const rules = validationRules[elementType];
432
+
433
+ if (rules) {
434
+ Object.values(rules).flat().forEach(rule => {
435
+ if (rule.check(elem)) {
436
+ elem.validity = rule.validity;
437
+ elem.errorMessage = rule.message(elem);
438
+ }
439
+ });
440
+ }
363
441
  }
364
442
  }
365
443
 
@@ -375,33 +453,32 @@ class AuroFormValidation {
375
453
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
376
454
 
377
455
  if (!elem.value.match(emailRegex)) {
378
- elem.validity = 'badInput';
379
- elem.setCustomValidity = elem.setCustomValidityForType || '';
456
+ elem.validity = 'patternMismatch';
457
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
380
458
  }
381
459
  } else if (elem.type === 'credit-card') {
382
460
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
383
461
  elem.validity = 'tooShort';
384
- elem.setCustomValidity = elem.setCustomValidityForType || '';
462
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
385
463
  }
386
464
  } else if (elem.type === 'number') {
387
465
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
388
466
  elem.validity = 'rangeOverflow';
389
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
467
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
390
468
  }
391
469
 
392
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
470
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
393
471
  elem.validity = 'rangeUnderflow';
394
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
472
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
395
473
  }
396
-
397
474
  } else if (elem.type === 'month-day-year' ||
398
475
  elem.type === 'month-year' ||
399
476
  elem.type === 'month-fullYear' ||
400
477
  elem.type === 'year-month-day'
401
478
  ) {
402
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
479
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
403
480
  elem.validity = 'tooShort';
404
- elem.setCustomValidity = elem.setCustomValidityForType || '';
481
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
405
482
  } else {
406
483
  const valueDate = new Date(elem.value);
407
484
 
@@ -411,7 +488,7 @@ class AuroFormValidation {
411
488
 
412
489
  if (valueDate > maxDate) {
413
490
  elem.validity = 'rangeOverflow';
414
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
491
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
415
492
  }
416
493
  }
417
494
 
@@ -421,7 +498,7 @@ class AuroFormValidation {
421
498
 
422
499
  if (valueDate < minDate) {
423
500
  elem.validity = 'rangeUnderflow';
424
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
501
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
425
502
  }
426
503
  }
427
504
  }
@@ -444,10 +521,10 @@ class AuroFormValidation {
444
521
 
445
522
  if (elem.hasAttribute('error')) {
446
523
  elem.validity = 'customError';
447
- elem.setCustomValidity = elem.error;
524
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
448
525
  } else if (validationShouldRun) {
449
526
  elem.validity = 'valid';
450
- elem.setCustomValidity = '';
527
+ elem.errorMessage = '';
451
528
 
452
529
  /**
453
530
  * Only validate once we interact with the datepicker
@@ -459,7 +536,7 @@ class AuroFormValidation {
459
536
  let hasValue = elem.value && elem.value.length > 0;
460
537
 
461
538
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
462
- if (this.auroInputElements && this.auroInputElements.length === 2) {
539
+ if (this.auroInputElements?.length === 2) {
463
540
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
464
541
  hasValue = false;
465
542
  }
@@ -467,31 +544,29 @@ class AuroFormValidation {
467
544
 
468
545
  if (!hasValue && elem.required) {
469
546
  elem.validity = 'valueMissing';
470
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
547
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
471
548
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
472
549
  this.validateType(elem);
473
- this.validateAttributes(elem);
550
+ this.validateElementAttributes(elem);
551
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
552
+ this.validateElementAttributes(elem);
474
553
  }
475
554
  }
476
555
 
477
- if (this.auroInputElements && this.auroInputElements.length > 0) {
556
+ if (this.auroInputElements?.length > 0) {
478
557
  elem.validity = this.auroInputElements[0].validity;
479
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
558
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
480
559
 
481
- if (elem.validity === 'valid') {
482
- if (this.auroInputElements.length > 1) {
483
- elem.validity = this.auroInputElements[1].validity;
484
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
485
- }
560
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
561
+ elem.validity = this.auroInputElements[1].validity;
562
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
486
563
  }
487
564
  }
488
565
 
489
566
  if (validationShouldRun || elem.hasAttribute('error')) {
490
- if (elem.validity && elem.validity !== 'valid') {
491
- // Use the validity message override if it is declared
492
- if (elem.ValidityMessageOverride) {
493
- elem.setCustomValidity = elem.ValidityMessageOverride;
494
- }
567
+ // Use the validity message override if it is declared
568
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
569
+ elem.errorMessage = elem.ValidityMessageOverride;
495
570
  }
496
571
 
497
572
  this.getErrorMessage(elem);
@@ -537,18 +612,18 @@ class AuroFormValidation {
537
612
  if (elem.validity !== 'valid') {
538
613
  if (elem.setCustomValidity) {
539
614
  elem.errorMessage = elem.setCustomValidity;
540
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
615
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
541
616
  const input = elem.renderRoot.querySelector('input');
542
617
 
543
618
  if (input.validationMessage.length > 0) {
544
619
  elem.errorMessage = input.validationMessage;
545
620
  }
546
- } else if (this.inputElements && this.inputElements.length > 0) {
621
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
547
622
  const firstInput = this.inputElements[0];
548
623
 
549
624
  if (firstInput.validationMessage.length > 0) {
550
625
  elem.errorMessage = firstInput.validationMessage;
551
- } else if (this.inputElements.length === 2) {
626
+ } else if (this.inputElements?.length === 2) {
552
627
  const secondInput = this.inputElements[1];
553
628
 
554
629
  if (secondInput.validationMessage.length > 0) {
@@ -573,14 +648,6 @@ var colorCss = i$4`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([d
573
648
  /**
574
649
  * The auro-checkbox-group element is a wrapper for auro-checkbox element.
575
650
  *
576
- * @attr {String} validity - Specifies the `validityState` this element is in.
577
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
578
- * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
579
- * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
580
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
581
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
582
- * @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
583
- * @attr {Boolean} horizontal - If set, checkboxes will be aligned horizontally.
584
651
  * @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
585
652
  * @slot {HTMLSlotElement} optionalLabel - Allows for the optional label to be overridden.
586
653
  * @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
@@ -592,11 +659,15 @@ class AuroCheckboxGroup extends r {
592
659
  super();
593
660
 
594
661
  this.validity = undefined;
595
- this.value = undefined;
596
662
  this.disabled = undefined;
597
663
  this.required = false;
598
664
  this.horizontal = false;
599
665
 
666
+ /**
667
+ * @private
668
+ */
669
+ this.value = undefined;
670
+
600
671
  /**
601
672
  * @private
602
673
  */
@@ -628,38 +699,71 @@ class AuroCheckboxGroup extends r {
628
699
 
629
700
  static get properties() {
630
701
  return {
702
+
703
+ /**
704
+ * If set, disables the checkbox group.
705
+ */
631
706
  disabled: {
632
707
  type: Boolean,
633
708
  reflect: true
634
709
  },
710
+
711
+ /**
712
+ * When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
713
+ */
714
+ error: {
715
+ type: String,
716
+ reflect: true
717
+ },
718
+
719
+ /**
720
+ * If set, checkboxes will be aligned horizontally.
721
+ */
635
722
  horizontal: {
636
723
  type: Boolean,
637
724
  reflect: true
638
725
  },
639
- value: {
640
- type: Array
641
- },
726
+
727
+ /**
728
+ * If set, disables auto-validation on blur.
729
+ */
642
730
  noValidate: {
643
731
  type: Boolean,
644
732
  reflect: true
645
733
  },
734
+
735
+ /**
736
+ * Populates the `required` attribute on the element. Used for client-side validation.
737
+ */
646
738
  required: {
647
739
  type: Boolean,
648
740
  reflect: true
649
741
  },
650
- error: {
651
- type: String,
652
- reflect: true
653
- },
742
+
743
+ /**
744
+ * Sets a custom help text message to display for all validityStates.
745
+ */
654
746
  setCustomValidity: {
655
747
  type: String
656
748
  },
749
+
750
+ /**
751
+ * Custom help text message to display when validity = `customError`.
752
+ */
657
753
  setCustomValidityCustomError: {
658
754
  type: String
659
755
  },
756
+
757
+ /**
758
+ * Custom help text message to display when validity = `valueMissing`.
759
+ */
660
760
  setCustomValidityValueMissing: {
661
761
  type: String
662
762
  },
763
+
764
+ /**
765
+ * Specifies the `validityState` this element is in.
766
+ */
663
767
  validity: {
664
768
  type: String,
665
769
  reflect: true
@@ -710,7 +814,7 @@ class AuroCheckboxGroup extends r {
710
814
  composed: true,
711
815
  }));
712
816
 
713
- this.validation.validate(this, true);
817
+ this.validate(true);
714
818
  }
715
819
 
716
820
  firstUpdated() {
@@ -796,7 +900,7 @@ class AuroCheckboxGroup extends r {
796
900
 
797
901
  this.handlePreselectedItems();
798
902
 
799
- this.validation.validate(this);
903
+ this.validate();
800
904
  }
801
905
 
802
906
  /**
@@ -852,10 +956,18 @@ class AuroCheckboxGroup extends r {
852
956
  this.removeAttribute('aria-invalid');
853
957
  }
854
958
 
855
- this.validation.validate(this, true);
959
+ this.validate(true);
856
960
  }
857
961
  }
858
962
 
963
+ /**
964
+ * Validates value.
965
+ * @param {boolean} [force=false] - Whether to force validation.
966
+ */
967
+ validate(force = false) {
968
+ this.validation.validate(this, force);
969
+ }
970
+
859
971
  render() {
860
972
  const groupClasses = {
861
973
  'displayFlex': this.horizontal && this.checkboxes.length <= this.maxNumber
@@ -877,7 +989,7 @@ class AuroCheckboxGroup extends r {
877
989
  </p>`
878
990
  : x`
879
991
  <p class="checkboxGroupElement-helpText" role="alert" aria-live="assertive" part="helpText">
880
- ${this.setCustomValidity}
992
+ ${this.errorMessage}
881
993
  </p>`
882
994
  }
883
995
  `;
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@auro-formkit/auro-checkbox",
2
+ "name": "@aurodesignsystem/auro-checkbox",
3
3
  "version": "4.1.0",
4
4
  "description": "auro-checkbox HTML custom element",
5
5
  "type": "module",
@@ -59,7 +59,7 @@
59
59
  "sass:render": "sass-render --load-path=../../node_modules 'src/**/*.css' -t ../../node_modules/@aurodesignsystem/auro-library/scripts/build/staticStyles-template.js",
60
60
  "serve": "web-dev-server",
61
61
  "test": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --coverage",
62
- "test:watch": "wtr --watch",
62
+ "test:watch": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --watch",
63
63
  "types": "tsc --project tsconfig.json",
64
64
  "lint": "npm-run-all scssLint esLint",
65
65
  "scssLint": "stylelint \"./src/**/*.scss\"",