@aurodesignsystem/auro-formkit 2.0.0-beta.3 → 2.0.0-beta.31

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 (639) hide show
  1. package/.turbo/cache/0b59b3b61897d950-meta.json +1 -0
  2. package/.turbo/cache/0b59b3b61897d950.tar.zst +0 -0
  3. package/.turbo/cache/1215c5e3dd25e0c3-meta.json +1 -0
  4. package/.turbo/cache/1215c5e3dd25e0c3.tar.zst +0 -0
  5. package/.turbo/cache/13ff0d757be18ae9-meta.json +1 -0
  6. package/.turbo/cache/13ff0d757be18ae9.tar.zst +0 -0
  7. package/.turbo/cache/1b653bcfa2eef748-meta.json +1 -0
  8. package/.turbo/cache/1b653bcfa2eef748.tar.zst +0 -0
  9. package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
  10. package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
  11. package/.turbo/cache/1e094164b4932553-meta.json +1 -0
  12. package/.turbo/cache/1e094164b4932553.tar.zst +0 -0
  13. package/.turbo/cache/24cb18ffa2f611b1-meta.json +1 -0
  14. package/.turbo/cache/24cb18ffa2f611b1.tar.zst +0 -0
  15. package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
  16. package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
  17. package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
  18. package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
  19. package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
  20. package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
  21. package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
  22. package/.turbo/cache/30fda91ef83677e4.tar.zst +0 -0
  23. package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
  24. package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
  25. package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
  26. package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
  27. package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
  28. package/.turbo/cache/3f1b3db13386acdc.tar.zst +0 -0
  29. package/.turbo/cache/430c124614841675-meta.json +1 -0
  30. package/.turbo/cache/430c124614841675.tar.zst +0 -0
  31. package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
  32. package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
  33. package/.turbo/cache/4e8248fc9e1e3e8f-meta.json +1 -0
  34. package/.turbo/cache/4e8248fc9e1e3e8f.tar.zst +0 -0
  35. package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
  36. package/.turbo/cache/4e9c9a5dd62c50a4.tar.zst +0 -0
  37. package/.turbo/cache/4f81392ada08f240-meta.json +1 -0
  38. package/.turbo/cache/4f81392ada08f240.tar.zst +0 -0
  39. package/.turbo/cache/5326b73ddda05291-meta.json +1 -0
  40. package/.turbo/cache/5326b73ddda05291.tar.zst +0 -0
  41. package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
  42. package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
  43. package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
  44. package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
  45. package/.turbo/cache/62214e9883afcc4d-meta.json +1 -0
  46. package/.turbo/cache/62214e9883afcc4d.tar.zst +0 -0
  47. package/.turbo/cache/6e0b3da6e3ff3718-meta.json +1 -0
  48. package/.turbo/cache/6e0b3da6e3ff3718.tar.zst +0 -0
  49. package/.turbo/cache/753b119a389426be-meta.json +1 -0
  50. package/.turbo/cache/753b119a389426be.tar.zst +0 -0
  51. package/.turbo/cache/79c16437b6eb7e44-meta.json +1 -0
  52. package/.turbo/cache/79c16437b6eb7e44.tar.zst +0 -0
  53. package/.turbo/cache/8388331cc15d7fd2-meta.json +1 -0
  54. package/.turbo/cache/8388331cc15d7fd2.tar.zst +0 -0
  55. package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
  56. package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
  57. package/.turbo/cache/8f94ccea023ee254-meta.json +1 -0
  58. package/.turbo/cache/8f94ccea023ee254.tar.zst +0 -0
  59. package/.turbo/cache/92b4b6ba93458685-meta.json +1 -0
  60. package/.turbo/cache/92b4b6ba93458685.tar.zst +0 -0
  61. package/.turbo/cache/9337429c745d33f9-meta.json +1 -0
  62. package/.turbo/cache/9337429c745d33f9.tar.zst +0 -0
  63. package/.turbo/cache/a5717ca784f036bc-meta.json +1 -0
  64. package/.turbo/cache/a5717ca784f036bc.tar.zst +0 -0
  65. package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
  66. package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
  67. package/.turbo/cache/abfc52db26c84ceb-meta.json +1 -0
  68. package/.turbo/cache/abfc52db26c84ceb.tar.zst +0 -0
  69. package/.turbo/cache/b169402fda42f218-meta.json +1 -0
  70. package/.turbo/cache/b169402fda42f218.tar.zst +0 -0
  71. package/.turbo/cache/b7aefb222b98306d-meta.json +1 -0
  72. package/.turbo/cache/b7aefb222b98306d.tar.zst +0 -0
  73. package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
  74. package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
  75. package/.turbo/cache/c13e85d809af02f6-meta.json +1 -0
  76. package/.turbo/cache/c13e85d809af02f6.tar.zst +0 -0
  77. package/.turbo/cache/c860cecd25be20af-meta.json +1 -0
  78. package/.turbo/cache/c860cecd25be20af.tar.zst +0 -0
  79. package/.turbo/cache/c89150633a136dc8-meta.json +1 -0
  80. package/.turbo/cache/c89150633a136dc8.tar.zst +0 -0
  81. package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
  82. package/.turbo/cache/cbcd9db8ac9a2d52.tar.zst +0 -0
  83. package/.turbo/cache/cdb0e45299352fce-meta.json +1 -0
  84. package/.turbo/cache/cdb0e45299352fce.tar.zst +0 -0
  85. package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
  86. package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
  87. package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
  88. package/.turbo/cache/d8ecdff9c663c38e.tar.zst +0 -0
  89. package/.turbo/cache/de494df6a3006101-meta.json +1 -0
  90. package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
  91. package/.turbo/cache/df379f765f10ec9c-meta.json +1 -0
  92. package/.turbo/cache/df379f765f10ec9c.tar.zst +0 -0
  93. package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
  94. package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
  95. package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
  96. package/.turbo/cache/e7ed9e7056d80938.tar.zst +0 -0
  97. package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
  98. package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
  99. package/.turbo/cache/e95b9e3b7f35e801-meta.json +1 -0
  100. package/.turbo/cache/e95b9e3b7f35e801.tar.zst +0 -0
  101. package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
  102. package/.turbo/cache/e9ff93179777aa26.tar.zst +0 -0
  103. package/.turbo/cache/f2e689c8cdd1aafe-meta.json +1 -0
  104. package/.turbo/cache/f2e689c8cdd1aafe.tar.zst +0 -0
  105. package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
  106. package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
  107. package/.turbo/cache/fb3845d2ca66fee8-meta.json +1 -0
  108. package/.turbo/cache/fb3845d2ca66fee8.tar.zst +0 -0
  109. package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
  110. package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
  111. package/.vscode/settings.json +3 -0
  112. package/CHANGELOG.md +283 -0
  113. package/README.md +59 -59
  114. package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
  115. package/components/checkbox/.turbo/turbo-build.log +20 -21
  116. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
  117. package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
  118. package/components/checkbox/README.md +26 -34
  119. package/components/checkbox/demo/api.md +67 -68
  120. package/components/checkbox/demo/api.min.js +429 -89
  121. package/components/checkbox/demo/index.md +62 -62
  122. package/components/checkbox/demo/index.min.js +429 -89
  123. package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
  124. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  125. package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
  126. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  127. package/components/checkbox/dist/index.js +429 -89
  128. package/components/checkbox/package.json +4 -3
  129. package/components/checkbox/src/auro-checkbox-group.js +62 -23
  130. package/components/checkbox/src/auro-checkbox.js +30 -9
  131. package/components/checkbox/src/styles/colorGroup-css.js +1 -1
  132. package/components/checkbox/src/styles/colorGroup.css +0 -8
  133. package/components/checkbox/src/styles/colorGroup.scss +0 -8
  134. package/components/checkbox/src/styles/tokens-css.js +1 -1
  135. package/components/checkbox/src/styles/tokens.css +0 -1
  136. package/components/checkbox/src/styles/tokens.scss +0 -1
  137. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  138. package/components/combobox/.turbo/turbo-build.log +22 -23
  139. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  140. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  141. package/components/combobox/README.md +23 -28
  142. package/components/combobox/demo/api.md +27 -25
  143. package/components/combobox/demo/api.min.js +3681 -943
  144. package/components/combobox/demo/index.md +1 -1
  145. package/components/combobox/demo/index.min.js +3678 -940
  146. package/components/combobox/dist/auro-combobox.d.ts +74 -79
  147. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  148. package/components/combobox/dist/dropdownVersion.d.ts +3 -0
  149. package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
  150. package/components/combobox/dist/index.js +3047 -623
  151. package/components/combobox/dist/inputVersion.d.ts +3 -0
  152. package/components/combobox/dist/inputVersion.d.ts.map +1 -0
  153. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  154. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  155. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  156. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  157. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  158. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  159. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  160. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  161. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  162. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  163. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  164. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  165. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  166. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  167. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  207. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  208. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  209. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  210. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  211. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  212. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  213. package/components/combobox/node_modules/chalk/package.json +3 -3
  214. package/components/combobox/node_modules/chalk/readme.md +25 -53
  215. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  216. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  217. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  218. package/components/combobox/package.json +11 -12
  219. package/components/combobox/src/auro-combobox.js +215 -159
  220. package/components/combobox/src/dropdownVersion.js +1 -0
  221. package/components/combobox/src/inputVersion.js +1 -0
  222. package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
  223. package/components/{input → counter}/.turbo/turbo-build$colon$version.log +5 -5
  224. package/components/counter/.turbo/turbo-build.log +329 -14
  225. package/components/counter/.turbo/turbo-bundler.log +13 -4
  226. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  227. package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
  228. package/components/counter/.turbo/turbo-types.log +1 -1
  229. package/components/counter/README.md +188 -0
  230. package/components/counter/demo/api.md +107 -1014
  231. package/components/counter/demo/api.min.js +4999 -36
  232. package/components/counter/demo/index.js +2 -1
  233. package/components/counter/demo/index.md +292 -0
  234. package/components/counter/demo/index.min.js +5027 -19
  235. package/components/counter/dist/auro-counter-button.d.ts +13 -0
  236. package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
  237. package/components/counter/dist/auro-counter-group.d.ts +115 -5
  238. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  239. package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
  240. package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
  241. package/components/counter/dist/auro-counter.d.ts +82 -0
  242. package/components/counter/dist/auro-counter.d.ts.map +1 -1
  243. package/components/counter/dist/dropdownVersion.d.ts +3 -0
  244. package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
  245. package/components/counter/dist/iconVersion.d.ts +3 -0
  246. package/components/counter/dist/iconVersion.d.ts.map +1 -0
  247. package/components/counter/dist/index.js +4999 -36
  248. package/components/{input/dist/styles/helpText-css.d.ts → counter/dist/styles/color-css.d.ts} +1 -1
  249. package/components/counter/dist/styles/color-css.d.ts.map +1 -0
  250. package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
  251. package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
  252. package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
  253. package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
  254. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
  255. package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
  256. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
  257. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
  258. package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
  259. package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
  260. package/components/counter/dist/styles/tokens-css.d.ts +3 -0
  261. package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
  262. package/components/counter/package.json +12 -3
  263. package/components/counter/src/auro-counter-button.js +42 -0
  264. package/components/counter/src/auro-counter-group.js +236 -20
  265. package/components/counter/src/auro-counter-wrapper.js +54 -0
  266. package/components/counter/src/auro-counter.js +285 -12
  267. package/components/counter/src/dropdownVersion.js +1 -0
  268. package/components/counter/src/iconVersion.js +1 -0
  269. package/components/counter/src/index.js +1 -1
  270. package/components/counter/src/styles/color-css.js +2 -0
  271. package/components/counter/src/styles/color.css +25 -0
  272. package/components/counter/src/styles/color.scss +44 -0
  273. package/components/counter/src/styles/counter-button-color-css.js +2 -0
  274. package/components/counter/src/styles/counter-button-color.css +14 -0
  275. package/components/counter/src/styles/counter-button-color.scss +29 -0
  276. package/components/counter/src/styles/counter-button-css.js +2 -0
  277. package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
  278. package/components/counter/src/styles/counter-button-tokens.css +7 -0
  279. package/components/counter/src/styles/counter-button-tokens.scss +9 -0
  280. package/components/counter/src/styles/counter-button.css +187 -0
  281. package/components/counter/src/styles/counter-button.scss +83 -0
  282. package/components/counter/src/styles/counter-group-css.js +1 -1
  283. package/components/counter/src/styles/counter-group.css +12 -1
  284. package/components/counter/src/styles/counter-group.scss +12 -1
  285. package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
  286. package/components/counter/src/styles/counter-wrapper-color.css +4 -0
  287. package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
  288. package/components/counter/src/styles/counter-wrapper-css.js +2 -0
  289. package/components/counter/src/styles/counter-wrapper.css +15 -0
  290. package/components/counter/src/styles/counter-wrapper.scss +29 -0
  291. package/components/counter/src/styles/style-css.js +1 -1
  292. package/components/counter/src/styles/style.css +43 -1
  293. package/components/counter/src/styles/style.scss +48 -2
  294. package/components/counter/src/styles/tokens-css.js +2 -0
  295. package/components/counter/src/styles/tokens.css +11 -0
  296. package/components/counter/src/styles/tokens.scss +24 -0
  297. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  298. package/components/datepicker/.turbo/turbo-build.log +51 -52
  299. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  300. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  301. package/components/datepicker/README.md +21 -26
  302. package/components/datepicker/demo/api.md +85 -57
  303. package/components/datepicker/demo/api.min.js +1643 -693
  304. package/components/datepicker/demo/index.md +1 -1
  305. package/components/datepicker/demo/index.min.js +1643 -693
  306. package/components/datepicker/dist/auro-calendar.d.ts +1 -1
  307. package/components/datepicker/dist/auro-datepicker.d.ts +101 -73
  308. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  309. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  310. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
  311. package/components/datepicker/dist/index.js +1643 -693
  312. package/components/datepicker/dist/inputVersion.d.ts +3 -0
  313. package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
  314. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
  315. package/components/datepicker/package.json +5 -5
  316. package/components/datepicker/src/auro-calendar.js +1 -1
  317. package/components/datepicker/src/auro-datepicker.js +170 -82
  318. package/components/datepicker/src/dropdownVersion.js +1 -0
  319. package/components/datepicker/src/inputVersion.js +1 -0
  320. package/components/datepicker/src/styles/color-cell-css.js +1 -1
  321. package/components/datepicker/src/styles/color-cell.css +1 -1
  322. package/components/datepicker/src/styles/color-cell.scss +1 -1
  323. package/components/datepicker/src/styles/style-css.js +1 -1
  324. package/components/datepicker/src/styles/style.css +0 -6
  325. package/components/datepicker/src/styles/style.scss +0 -6
  326. package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
  327. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  328. package/components/dropdown/.turbo/turbo-build.log +19 -20
  329. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  330. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  331. package/components/dropdown/README.md +18 -26
  332. package/components/dropdown/demo/api.md +4 -5
  333. package/components/dropdown/demo/api.min.js +467 -122
  334. package/components/dropdown/demo/index.min.js +467 -122
  335. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  336. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  337. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  338. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  339. package/components/dropdown/dist/index.js +467 -122
  340. package/components/dropdown/package.json +4 -3
  341. package/components/dropdown/src/auro-dropdown.js +157 -43
  342. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  343. package/components/dropdown/src/styles/color-css.js +1 -1
  344. package/components/dropdown/src/styles/color.css +0 -5
  345. package/components/dropdown/src/styles/color.scss +0 -5
  346. package/components/dropdown/src/styles/style-css.js +1 -1
  347. package/components/dropdown/src/styles/style.css +4 -6
  348. package/components/dropdown/src/styles/style.scss +5 -6
  349. package/components/dropdown/src/styles/tokens-css.js +1 -1
  350. package/components/dropdown/src/styles/tokens.css +0 -1
  351. package/components/dropdown/src/styles/tokens.scss +0 -1
  352. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  353. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  354. package/components/form/.turbo/turbo-build.log +17 -18
  355. package/components/form/.turbo/turbo-bundler.log +4 -4
  356. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  357. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  358. package/components/form/.turbo/turbo-types.log +1 -1
  359. package/components/form/README.md +28 -34
  360. package/components/form/demo/api.min.js +405 -25
  361. package/components/form/demo/index.min.js +405 -25
  362. package/components/form/demo/registerDemoDeps.js +6 -0
  363. package/components/form/demo/working.html +117 -0
  364. package/components/form/dist/auro-form.d.ts +160 -2
  365. package/components/form/dist/auro-form.d.ts.map +1 -1
  366. package/components/form/dist/index.js +405 -25
  367. package/components/form/package.json +6 -4
  368. package/components/form/src/auro-form.js +402 -25
  369. package/components/form/src/styles/style.css +1 -1
  370. package/components/helptext/.stylelintrc.json +3 -0
  371. package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
  372. package/components/helptext/.turbo/turbo-build.log +49 -0
  373. package/components/helptext/.turbo/turbo-bundler.log +7 -0
  374. package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
  375. package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
  376. package/components/helptext/.turbo/turbo-types.log +4 -0
  377. package/components/helptext/dist/auro-helptext.d.ts +54 -0
  378. package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
  379. package/components/helptext/dist/index.d.ts +3 -0
  380. package/components/helptext/dist/index.d.ts.map +1 -0
  381. package/components/helptext/dist/index.js +224 -0
  382. package/components/helptext/dist/styles/color-css.d.ts +3 -0
  383. package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
  384. package/components/helptext/dist/styles/style-css.d.ts +3 -0
  385. package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
  386. package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
  387. package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
  388. package/components/helptext/node_modules/chalk/package.json +83 -0
  389. package/components/helptext/node_modules/chalk/readme.md +297 -0
  390. package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
  391. package/components/helptext/node_modules/chalk/source/index.js +225 -0
  392. package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
  393. package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  394. package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  395. package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  396. package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  397. package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  398. package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  399. package/components/helptext/package.json +57 -0
  400. package/components/helptext/src/auro-helptext.js +127 -0
  401. package/components/helptext/src/index.js +6 -0
  402. package/components/helptext/src/styles/color-css.js +2 -0
  403. package/components/helptext/src/styles/color.css +8 -0
  404. package/components/helptext/src/styles/color.scss +11 -0
  405. package/components/helptext/src/styles/style-css.js +2 -0
  406. package/components/helptext/src/styles/style.css +23 -0
  407. package/components/helptext/src/styles/style.scss +33 -0
  408. package/components/helptext/src/styles/tokens-css.js +2 -0
  409. package/components/helptext/src/styles/tokens.css +3 -0
  410. package/components/helptext/src/styles/tokens.scss +5 -0
  411. package/components/input/.turbo/turbo-build$colon$sass.log +22 -32
  412. package/components/input/.turbo/turbo-build.log +33 -46
  413. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  414. package/components/input/.turbo/turbo-sass$colon$render.log +9 -15
  415. package/components/input/README.md +18 -28
  416. package/components/input/demo/api.md +122 -288
  417. package/components/input/demo/api.min.js +653 -195
  418. package/components/input/demo/index.md +9 -59
  419. package/components/input/demo/index.min.js +653 -195
  420. package/components/input/dist/auro-input.d.ts.map +1 -1
  421. package/components/input/dist/base-input.d.ts +160 -82
  422. package/components/input/dist/base-input.d.ts.map +1 -1
  423. package/components/input/dist/index.js +653 -195
  424. package/components/input/package.json +4 -3
  425. package/components/input/src/auro-input.js +18 -10
  426. package/components/input/src/base-input.js +246 -76
  427. package/components/input/src/styles/color-css.js +1 -1
  428. package/components/input/src/styles/color.css +0 -5
  429. package/components/input/src/styles/color.scss +0 -5
  430. package/components/input/src/styles/input-css.js +1 -1
  431. package/components/input/src/styles/input.css +2 -2
  432. package/components/input/src/styles/input.scss +2 -2
  433. package/components/input/src/styles/style-css.js +1 -1
  434. package/components/input/src/styles/style.css +2 -9
  435. package/components/input/src/styles/style.scss +0 -1
  436. package/components/input/src/styles/tokens-css.js +1 -1
  437. package/components/input/src/styles/tokens.css +0 -1
  438. package/components/input/src/styles/tokens.scss +0 -1
  439. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  440. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  441. package/components/menu/.turbo/turbo-build.log +22 -21
  442. package/components/menu/.turbo/turbo-bundler.log +4 -4
  443. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  444. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  445. package/components/menu/.turbo/turbo-types.log +1 -1
  446. package/components/menu/README.md +18 -26
  447. package/components/menu/demo/api.md +57 -20
  448. package/components/menu/demo/api.min.js +626 -312
  449. package/components/menu/demo/index.min.js +624 -310
  450. package/components/menu/dist/auro-menu-utils.d.ts +43 -0
  451. package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
  452. package/components/menu/dist/auro-menu.d.ts +97 -81
  453. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  454. package/components/menu/dist/index.d.ts +1 -0
  455. package/components/menu/dist/index.js +625 -311
  456. package/components/menu/package.json +3 -3
  457. package/components/menu/src/auro-menu-utils.js +131 -0
  458. package/components/menu/src/auro-menu.js +492 -303
  459. package/components/menu/src/index.js +7 -0
  460. package/components/menu/src/styles/color-menuoption-css.js +1 -1
  461. package/components/menu/src/styles/color-menuoption.css +3 -0
  462. package/components/menu/src/styles/color-menuoption.scss +4 -0
  463. package/components/menu/src/styles/style-menu.css +1 -1
  464. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  465. package/components/radio/.turbo/turbo-build.log +23 -24
  466. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  467. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  468. package/components/radio/README.md +18 -26
  469. package/components/radio/demo/api.md +4 -4
  470. package/components/radio/demo/api.min.js +350 -61
  471. package/components/radio/demo/index.min.js +350 -61
  472. package/components/radio/dist/auro-radio-group.d.ts +5 -0
  473. package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
  474. package/components/radio/dist/index.js +350 -61
  475. package/components/radio/package.json +4 -3
  476. package/components/radio/src/auro-radio-group.js +14 -5
  477. package/components/radio/src/styles/groupColor-css.js +1 -1
  478. package/components/radio/src/styles/groupColor.css +0 -8
  479. package/components/radio/src/styles/groupColor.scss +0 -8
  480. package/components/radio/src/styles/tokens-css.js +1 -1
  481. package/components/radio/src/styles/tokens.css +0 -1
  482. package/components/radio/src/styles/tokens.scss +0 -1
  483. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  484. package/components/select/.turbo/turbo-build.log +32 -33
  485. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  486. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  487. package/components/select/README.md +21 -42
  488. package/components/select/demo/api.md +86 -111
  489. package/components/select/demo/api.min.js +2961 -701
  490. package/components/select/demo/index.md +101 -59
  491. package/components/select/demo/index.min.js +2960 -700
  492. package/components/select/dist/auro-select.d.ts +77 -48
  493. package/components/select/dist/auro-select.d.ts.map +1 -1
  494. package/components/select/dist/dropdownVersion.d.ts +3 -0
  495. package/components/select/dist/dropdownVersion.d.ts.map +1 -0
  496. package/components/select/dist/index.js +2421 -462
  497. package/components/select/package.json +5 -5
  498. package/components/select/src/auro-select.js +157 -120
  499. package/components/select/src/dropdownVersion.js +1 -0
  500. package/components/select/src/styles/style-css.js +1 -1
  501. package/components/select/src/styles/style.css +12 -4
  502. package/components/select/src/styles/style.scss +22 -5
  503. package/package.json +27 -23
  504. package/packages/build-tools/src/docProcessor.mjs +37 -8
  505. package/packages/build-tools/src/postinstall.mjs +8 -0
  506. package/packages/form-validation/src/validation.js +79 -20
  507. package/packages/utils/package.json +12 -0
  508. package/packages/utils/src/iconUtil.js +25 -0
  509. package/packages/utils/src/index.js +1 -0
  510. package/turbo.json +42 -9
  511. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  512. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  513. package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
  514. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  515. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  516. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  517. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  518. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  519. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  520. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  521. package/.turbo/cache/1ab37ce15d9be440-meta.json +0 -1
  522. package/.turbo/cache/1ab37ce15d9be440.tar.zst +0 -0
  523. package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
  524. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  525. package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
  526. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  527. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  528. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  529. package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
  530. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  531. package/.turbo/cache/2110a4d14e0d11b2-meta.json +0 -1
  532. package/.turbo/cache/2110a4d14e0d11b2.tar.zst +0 -0
  533. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  534. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  535. package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
  536. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  537. package/.turbo/cache/2fd056afdf4eb39d-meta.json +0 -1
  538. package/.turbo/cache/2fd056afdf4eb39d.tar.zst +0 -0
  539. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  540. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  541. package/.turbo/cache/3e12285c614db539-meta.json +0 -1
  542. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  543. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  544. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  545. package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
  546. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  547. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
  548. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  549. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
  550. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  551. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  552. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  553. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  554. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  555. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  556. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  557. package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
  558. package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
  559. package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
  560. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  561. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  562. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  563. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  564. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  565. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  566. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  567. package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
  568. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  569. package/.turbo/cache/786a822763403879-meta.json +0 -1
  570. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  571. package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
  572. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  573. package/.turbo/cache/80a13352066a9801-meta.json +0 -1
  574. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  575. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  576. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  577. package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
  578. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  579. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  580. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  581. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
  582. package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
  583. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  584. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  585. package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
  586. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  587. package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
  588. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  589. package/.turbo/cache/a63cbfecf0f78586-meta.json +0 -1
  590. package/.turbo/cache/a63cbfecf0f78586.tar.zst +0 -0
  591. package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
  592. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  593. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  594. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  595. package/.turbo/cache/b2c66328fdd78093-meta.json +0 -1
  596. package/.turbo/cache/b2c66328fdd78093.tar.zst +0 -0
  597. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
  598. package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
  599. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  600. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  601. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  602. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  603. package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
  604. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  605. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  606. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  607. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  608. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  609. package/.turbo/cache/d39e6ef95ebc4cc0-meta.json +0 -1
  610. package/.turbo/cache/d39e6ef95ebc4cc0.tar.zst +0 -0
  611. package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
  612. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  613. package/.turbo/cache/d61543843c932504-meta.json +0 -1
  614. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  615. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  616. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  617. package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
  618. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  619. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  620. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  621. package/.turbo/cache/f411e2deb0676959-meta.json +0 -1
  622. package/.turbo/cache/f411e2deb0676959.tar.zst +0 -0
  623. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
  624. package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
  625. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
  626. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  627. package/components/checkbox/.turbo/turbo-bundler.log +0 -13
  628. package/components/checkbox/.turbo/turbo-types.log +0 -4
  629. package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
  630. package/components/dropdown/.turbo/turbo-bundler.log +0 -13
  631. package/components/dropdown/.turbo/turbo-types.log +0 -4
  632. package/components/input/.turbo/turbo-bundler.log +0 -13
  633. package/components/input/.turbo/turbo-types.log +0 -4
  634. package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
  635. package/components/input/src/styles/helpText-css.js +0 -2
  636. package/components/input/src/styles/helpText.css +0 -6
  637. package/components/input/src/styles/helpText.scss +0 -9
  638. package/components/radio/.turbo/turbo-bundler.log +0 -13
  639. package/components/radio/.turbo/turbo-types.log +0 -4
@@ -11,51 +11,51 @@ function resetStateExample() {
11
11
  * Copyright 2019 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
13
  */
14
- 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;
14
+ const t$4=globalThis,e$7=t$4.ShadowRoot&&(undefined===t$4.ShadyCSS||t$4.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$3=Symbol(),o$6=new WeakMap;let n$5 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$7&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$6.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$6.set(s,t));}return t}toString(){return this.cssText}};const r$7=t=>new n$5("string"==typeof t?t:t+"",undefined,s$3),i$8=(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$5(o,t,s$3)},S$3=(s,o)=>{if(e$7)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$4.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$5=e$7?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$7(e)})(t):t;
15
15
 
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2017 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */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");
20
+ */const{is:i$7,defineProperty:e$6,getOwnPropertyDescriptor:r$6,getOwnPropertyNames:h$3,getOwnPropertySymbols:o$5,getPrototypeOf:n$4}=Object,a$3=globalThis,c$4=a$3.trustedTypes,l$3=c$4?c$4.emptyScript:"",p$3=a$3.reactiveElementPolyfillSupport,d$3=(t,s)=>t,u$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$3:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$3=(t,s)=>!i$7(t,s),y$3={attribute:true,type:String,converter:u$3,reflect:false,hasChanged:f$3};Symbol.metadata??=Symbol("metadata"),a$3.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$3){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$6(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$6(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$3}static _$Ei(){if(this.hasOwnProperty(d$3("elementProperties")))return;const t=n$4(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$3("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$3("properties"))){const t=this.properties,s=[...h$3(t),...o$5(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$5(s));}else undefined!==s&&i.push(c$5(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$3(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$3).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$3;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$3)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=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$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$3("elementProperties")]=new Map,b$1[d$3("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
21
21
 
22
22
  /**
23
23
  * @license
24
24
  * Copyright 2017 Google LLC
25
25
  * SPDX-License-Identifier: BSD-3-Clause
26
26
  */
27
- 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};
27
+ const t$3=globalThis,i$6=t$3.trustedTypes,s$2=i$6?i$6.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$5="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$2,n$3=`<${o$4}>`,r$5=document,l$2=()=>r$5.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$2=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$2(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$5.createTreeWalker(r$5,129);function P$1(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$2?s$2.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$2;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$2?"!--"===u[1]?c=v$1:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):undefined!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$2,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1:'"'===u[3]?g$1:p$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=undefined);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$3:d>=0?(o.push(a),s.slice(0,d)+e$5+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$5)){const i=v[a++],s=r.getAttribute(t).split(h$2),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$6?i$6.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$5.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$3(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$2(t,h._$AS(t,i.values),h,e)),i}let M$1 = 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$5).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$5,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=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$2(this,t,i),c$3(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$2(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$5.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return undefined===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$2(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$2()),this.O(l$2()),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));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=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$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$2(this,t,i,0),o=!c$3(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?undefined:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$2(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}};const j$1=t$3.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$3.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$2(),t),t,undefined,s??{});}return h._$AI(t),h};
28
28
 
29
29
  /**
30
30
  * @license
31
31
  * Copyright 2017 Google LLC
32
32
  * SPDX-License-Identifier: BSD-3-Clause
33
- */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");
33
+ */let r$4 = class r extends b$1{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$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$5=globalThis.litElementPolyfillSupport;i$5?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
34
34
 
35
35
  /**
36
36
  * @license
37
37
  * Copyright 2017 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
39
  */
40
- const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
40
+ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$4=t=>(...e)=>({_$litDirective$:t,values:e});let i$4 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
41
41
 
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2018 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */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}});
46
+ */const e$3=e$4(class extends i$4{constructor(t){if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(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$1}});
47
47
 
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2018 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */const o=o=>o??E;
52
+ */const o$3=o=>o??E$1;
53
53
 
54
- var styleCss$1 = i$4`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;--cbxLocation: var(--ds-size-50, $ds-size-50)}fieldset{all:unset}@media screen and (min-width: 576px){.displayFlex slot{display:flex}}.cbxContainer{position:relative;padding-left:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-100, 0.5rem);line-height:var(--ds-size-400, 2rem)}.cbx--input:disabled+label:hover{cursor:auto}.label{margin-left:var(--ds-size-300, 1.5rem);display:block}.label:hover{cursor:pointer}.label--cbx:after{-webkit-tap-highlight-color:transparent;position:absolute;content:"";top:var(--ds-size-50, 0.25rem);left:var(--cbxLocation);width:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);outline-style:solid;outline-width:1px;z-index:0}.svg--cbx{position:absolute;top:var(--ds-size-25, 0.125rem);left:var(--ds-size-25, 0.125rem);padding-top:3px;padding-bottom:3px;z-index:1}`;
54
+ var styleCss$2 = i$8`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;--cbxLocation: var(--ds-size-50, $ds-size-50)}fieldset{all:unset}@media screen and (min-width: 576px){.displayFlex slot{display:flex}}.cbxContainer{position:relative;padding-left:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-100, 0.5rem);line-height:var(--ds-size-400, 2rem)}.cbx--input:disabled+label:hover{cursor:auto}.label{margin-left:var(--ds-size-300, 1.5rem);display:block}.label:hover{cursor:pointer}.label--cbx:after{-webkit-tap-highlight-color:transparent;position:absolute;content:"";top:var(--ds-size-50, 0.25rem);left:var(--cbxLocation);width:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);outline-style:solid;outline-width:1px;z-index:0}.svg--cbx{position:absolute;top:var(--ds-size-25, 0.125rem);left:var(--ds-size-25, 0.125rem);padding-top:3px;padding-bottom:3px;z-index:1}`;
55
55
 
56
- var colorCss$1 = i$4`:host .label{color:var(--ds-auro-checkbox-label-color)}:host .label--cbx:after{background-color:var(--ds-auro-checkbox-container-color);border-color:var(--ds-auro-checkbox-border-color);outline-color:var(--ds-auro-checkbox-outline-color)}:host .label--cbx:hover{--ds-auro-checkbox-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host .svg--cbx{color:var(--ds-auro-checkbox-checkmark-color)}:host(:focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-checkbox-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([checked]){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-checkbox-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5)}:host([checked]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-checkbox-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}:host([checked]:focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd)}:host([checked]:focus-within) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd);--ds-auro-checkbox-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}:host([disabled]){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-checkbox-label-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([disabled]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([disabled][checked]){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-checkmark-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([disabled][checked]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([error]){--ds-auro-checkbox-border-color: var(--ds-color-utility-error-default, #cc1816);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([error]:not([checked]):focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-checkbox-outline-color: var(--ds-color-border-ui-active-default, #225296)}:host([error][checked]){--ds-auro-checkbox-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-checkbox-container-color: var(--ds-color-utility-error-default, #cc1816)}:host([error][checked]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-container-error-inverse, #74110e);--ds-auro-checkbox-container-color: var(--ds-color-container-error-inverse, #df0b37)}:host([error][checked]:focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd)}:host([error][checked]:focus-within) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd);--ds-auro-checkbox-container-color: var(--ds-color-utility-error-default, #cc1816)}`;
56
+ var colorCss$2 = i$8`:host .label{color:var(--ds-auro-checkbox-label-color)}:host .label--cbx:after{background-color:var(--ds-auro-checkbox-container-color);border-color:var(--ds-auro-checkbox-border-color);outline-color:var(--ds-auro-checkbox-outline-color)}:host .label--cbx:hover{--ds-auro-checkbox-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host .svg--cbx{color:var(--ds-auro-checkbox-checkmark-color)}:host(:focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-checkbox-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([checked]){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-checkbox-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5)}:host([checked]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-checkbox-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}:host([checked]:focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd)}:host([checked]:focus-within) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd);--ds-auro-checkbox-container-color: var(--ds-color-container-ui-primary-hover-default, #193d73)}:host([disabled]){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-checkbox-label-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([disabled]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([disabled][checked]){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-checkmark-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([disabled][checked]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([error]){--ds-auro-checkbox-border-color: var(--ds-color-utility-error-default, #cc1816);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff)}:host([error]:not([checked]):focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-checkbox-outline-color: var(--ds-color-border-ui-active-default, #225296)}:host([error][checked]){--ds-auro-checkbox-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-checkbox-container-color: var(--ds-color-utility-error-default, #cc1816)}:host([error][checked]) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-container-error-inverse, #74110e);--ds-auro-checkbox-container-color: var(--ds-color-container-error-inverse, #df0b37)}:host([error][checked]:focus-within){--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd)}:host([error][checked]:focus-within) .label--cbx:hover{--ds-auro-checkbox-border-color: var(--ds-color-border-subtle-default, #f0f7fd);--ds-auro-checkbox-container-color: var(--ds-color-utility-error-default, #cc1816)}`;
57
57
 
58
- var tokensCss = i$4`:host{--ds-auro-checkbox-border-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-checkbox-checkmark-color: var(--ds-color-icon-emphasis-inverse, #ffffff);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-checkbox-label-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-checkbox-outline-color: transparent;--ds-auro-checkbox-group-helptext-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-checkbox-group-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
58
+ var tokensCss$1 = i$8`:host{--ds-auro-checkbox-border-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-checkbox-checkmark-color: var(--ds-color-icon-emphasis-inverse, #ffffff);--ds-auro-checkbox-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-checkbox-label-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-checkbox-outline-color: transparent;--ds-auro-checkbox-group-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
59
59
 
60
60
  var checkLg = {"role":"img","color":"currentColor","title":"","desc":"","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"check-lg","category":"interface","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><path d=\"M5.321 12.514a.75.75 0 0 0-1.142.972l4.25 5a.75.75 0 0 0 1.141.001l10.25-12a.75.75 0 1 0-1.14-.975L9 16.844z\"/></svg>"};
61
61
 
@@ -66,7 +66,7 @@ var checkLg = {"role":"img","color":"currentColor","title":"","desc":"","width":
66
66
 
67
67
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
68
68
 
69
- class AuroLibraryRuntimeUtils {
69
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
70
70
 
71
71
  /* eslint-disable jsdoc/require-param */
72
72
 
@@ -127,7 +127,7 @@ class AuroLibraryRuntimeUtils {
127
127
 
128
128
  return elemTag === tag || elem.hasAttribute(tag);
129
129
  }
130
- }
130
+ };
131
131
 
132
132
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
133
133
  // See LICENSE in the project root for license information.
@@ -136,19 +136,13 @@ class AuroLibraryRuntimeUtils {
136
136
  /**
137
137
  * Custom element for the purpose of allowing users to select one or more options of a limited number of choices.
138
138
  *
139
- * @attr {Boolean} checked - If set to true, the checkbox will be filled with a checkmark.
140
- * @attr {Boolean} disabled - If set to true, the checkbox will not be clickable.
141
- * @attr {Boolean} error - If set to true, sets an error state on the checkbox.
142
- * @attr {String} id - Sets the individual `id` per element.
143
- * @attr {String} name - Accepts any string, `DOMString` representing the value of the input.
144
- * @attr {String} value - Sets the element's input value. Must be unique within an auro-checkbox-group element.
145
139
  * @csspart checkbox - apply css to a specific checkbox.
146
140
  * @csspart checkbox-input - apply css to a specific checkbox's input.
147
141
  * @csspart checkbox-label - apply css to a specific checkbox's label.
148
142
  */
149
143
 
150
144
  // build the component class
151
- class AuroCheckbox extends r {
145
+ class AuroCheckbox extends r$4 {
152
146
  constructor() {
153
147
  super();
154
148
  this.checked = false;
@@ -158,35 +152,62 @@ class AuroCheckbox extends r {
158
152
  /**
159
153
  * @private
160
154
  */
161
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
155
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
162
156
  }
163
157
 
164
158
  static get styles() {
165
159
  return [
166
- styleCss$1,
167
- colorCss$1,
168
- tokensCss
160
+ styleCss$2,
161
+ colorCss$2,
162
+ tokensCss$1
169
163
  ];
170
164
  }
171
165
 
172
166
  // function to define props used within the scope of this component
173
167
  static get properties() {
174
168
  return {
169
+
170
+ /**
171
+ * If set to true, the checkbox will be filled with a checkmark.
172
+ */
175
173
  checked: {
176
174
  type: Boolean,
177
175
  reflect: true
178
176
  },
177
+
178
+ /**
179
+ * If set to true, the checkbox will not be clickable.
180
+ */
179
181
  disabled: {
180
182
  type: Boolean,
181
183
  reflect: true
182
184
  },
185
+
186
+ /**
187
+ * If set to true, the checkbox will be displayed with an error state.
188
+ */
183
189
  error: {
184
190
  type: Boolean,
185
191
  reflect: true
186
192
  },
187
- id: { type: String },
188
- name: { type: String },
189
- value: { type: String }
193
+
194
+ /**
195
+ * Sets the individual `id` per element.
196
+ */
197
+ id: { type: String },
198
+
199
+ /**
200
+ * Accepts any string and is used to identify related checkboxes when submitting form data.
201
+ */
202
+ name: { type: String },
203
+
204
+ /**
205
+ * Sets the element's input value. Must be unique within an auro-checkbox-group element.
206
+ */
207
+ value: {
208
+ type: String,
209
+ reflect: true
210
+ }
190
211
  };
191
212
  }
192
213
 
@@ -199,7 +220,7 @@ class AuroCheckbox extends r {
199
220
  *
200
221
  */
201
222
  static register(name = "auro-checkbox") {
202
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCheckbox);
223
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroCheckbox);
203
224
  }
204
225
 
205
226
  // This custom event is only for the purpose of supporting IE
@@ -286,7 +307,7 @@ class AuroCheckbox extends r {
286
307
  'errorBorder': this.error
287
308
  };
288
309
 
289
- return x`
310
+ return x$1`
290
311
  <div class="cbxContainer" part="checkbox">
291
312
  <input
292
313
  class="util_displayHiddenVisually cbx--input"
@@ -295,13 +316,13 @@ class AuroCheckbox extends r {
295
316
  @input="${this.handleInput}"
296
317
  ?disabled="${this.disabled}"
297
318
  .checked="${this.checked}"
298
- id="${o(this.id)}"
299
- name="${o(this.name)}"
319
+ id="${o$3(this.id)}"
320
+ name="${o$3(this.name)}"
300
321
  type="checkbox"
301
322
  .value="${this.value}"
302
323
  />
303
324
 
304
- <label for="${o(this.id)}" class="${e(labelClasses)}" part="checkbox-label">
325
+ <label for="${o$3(this.id)}" class="${e$3(labelClasses)}" part="checkbox-label">
305
326
  ${this.checked ? this.generateIconHtml() : undefined}
306
327
  <slot></slot>
307
328
  </label>
@@ -316,7 +337,7 @@ class AuroCheckbox extends r {
316
337
 
317
338
  class AuroFormValidation {
318
339
  constructor() {
319
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
340
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
320
341
  }
321
342
 
322
343
  /**
@@ -344,30 +365,87 @@ class AuroFormValidation {
344
365
  }
345
366
 
346
367
  /**
347
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
348
- * @private
349
- * @param {object} elem - HTML element to validate.
368
+ * Validates the attributes of a given element based on predefined validation rules.
369
+ *
370
+ * @param {HTMLElement} elem - The element to be validated.
350
371
  * @returns {void}
372
+ *
373
+ * @example
374
+ * // Assuming `inputElement` is a reference to an input element in the DOM
375
+ * validateElementAttributes(inputElement);
376
+ *
377
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
378
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
379
+ *
380
+ * Validation rules:
381
+ * - input:
382
+ * - length:
383
+ * - tooShort: Checks if the value length is less than the minimum length.
384
+ * - tooLong: Checks if the value length exceeds the maximum length.
385
+ * - pattern:
386
+ * - patternMismatch: Checks if the value does not match the specified pattern.
387
+ * - counter:
388
+ * - range:
389
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
390
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
351
391
  */
352
- validateAttributes(elem) {
353
- if (elem.pattern) {
354
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
355
-
356
- if (!pattern.test(elem.value)) {
357
- elem.validity = 'patternMismatch';
358
- elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || '';
392
+ validateElementAttributes(elem) {
393
+ const validationRules = {
394
+ input: {
395
+ length: [
396
+ {
397
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
398
+ validity: 'tooShort',
399
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
400
+ },
401
+ {
402
+ check: (e) => e.value?.length > e.maxLength,
403
+ validity: 'tooLong',
404
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
405
+ }
406
+ ],
407
+ pattern: [
408
+ {
409
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
410
+ validity: 'patternMismatch',
411
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
412
+ }
413
+ ]
414
+ },
415
+ counter: {
416
+ range: [
417
+ {
418
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
419
+ validity: 'rangeOverflow',
420
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
421
+ },
422
+ {
423
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
424
+ validity: 'rangeUnderflow',
425
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
426
+ }
427
+ ]
359
428
  }
429
+ };
430
+
431
+ let elementType;
432
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
433
+ elementType = 'input';
434
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
435
+ elementType = 'counter';
360
436
  }
361
-
362
- // Length > 0 is required to prevent the error message from showing when the input is empty
363
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
364
- elem.validity = 'tooShort';
365
- elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
366
- }
367
437
 
368
- if (elem.value?.length > elem.maxLength) {
369
- elem.validity = 'tooLong';
370
- elem.errorMessage = elem.setCustomValidityTooLong || elem.setCustomValidity || '';
438
+ if (elementType) {
439
+ const rules = validationRules[elementType];
440
+
441
+ if (rules) {
442
+ Object.values(rules).flat().forEach(rule => {
443
+ if (rule.check(elem)) {
444
+ elem.validity = rule.validity;
445
+ elem.errorMessage = rule.message(elem);
446
+ }
447
+ });
448
+ }
371
449
  }
372
450
  }
373
451
 
@@ -477,7 +555,9 @@ class AuroFormValidation {
477
555
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
478
556
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
479
557
  this.validateType(elem);
480
- this.validateAttributes(elem);
558
+ this.validateElementAttributes(elem);
559
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
560
+ this.validateElementAttributes(elem);
481
561
  }
482
562
  }
483
563
 
@@ -565,9 +645,232 @@ class AuroFormValidation {
565
645
  }
566
646
  }
567
647
 
568
- var styleCss = i$4`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
648
+ var styleCss$1 = i$8`:host{display:block;padding-bottom:var(--ds-size-150, 0.75rem)}.displayFlex legend+slot{display:flex;white-space:nowrap}fieldset{all:unset}legend{margin-bottom:var(--ds-size-150, 0.75rem)}`;
649
+
650
+ var colorCss$1 = i$8`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
651
+
652
+ /**
653
+ * @license
654
+ * Copyright 2019 Google LLC
655
+ * SPDX-License-Identifier: BSD-3-Clause
656
+ */
657
+ const t$1=globalThis,e$2=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",undefined,s$1),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
658
+
659
+ /**
660
+ * @license
661
+ * Copyright 2017 Google LLC
662
+ * SPDX-License-Identifier: BSD-3-Clause
663
+ */const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),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$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(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");
664
+
665
+ /**
666
+ * @license
667
+ * Copyright 2017 Google LLC
668
+ * SPDX-License-Identifier: BSD-3-Clause
669
+ */
670
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return 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+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=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.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,undefined,s??{});}return h._$AI(t),h};
671
+
672
+ /**
673
+ * @license
674
+ * Copyright 2017 Google LLC
675
+ * SPDX-License-Identifier: BSD-3-Clause
676
+ */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=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
677
+
678
+ var colorCss = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
679
+
680
+ var styleCss = i$3`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
681
+
682
+ var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
683
+
684
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
685
+ // See LICENSE in the project root for license information.
686
+
687
+ // ---------------------------------------------------------------------
688
+
689
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
569
690
 
570
- var colorCss = i$4`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([disabled]){--ds-auro-checkbox-group-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}.checkboxGroupElement-helpText{color:var(--ds-auro-checkbox-group-helptext-color)}:host([validity]:not([validity=valid])){--ds-auro-checkbox-group-helptext-color: var(--ds-color-text-error-default, #cc1816)}`;
691
+ class AuroLibraryRuntimeUtils {
692
+
693
+ /* eslint-disable jsdoc/require-param */
694
+
695
+ /**
696
+ * This will register a new custom element with the browser.
697
+ * @param {String} name - The name of the custom element.
698
+ * @param {Object} componentClass - The class to register as a custom element.
699
+ * @returns {void}
700
+ */
701
+ registerComponent(name, componentClass) {
702
+ if (!customElements.get(name)) {
703
+ customElements.define(name, class extends componentClass {});
704
+ }
705
+ }
706
+
707
+ /**
708
+ * Finds and returns the closest HTML Element based on a selector.
709
+ * @returns {void}
710
+ */
711
+ closestElement(
712
+ selector, // selector like in .closest()
713
+ base = this, // extra functionality to skip a parent
714
+ __Closest = (el, found = el && el.closest(selector)) =>
715
+ !el || el === document || el === window
716
+ ? null // standard .closest() returns null for non-found selectors also
717
+ : found
718
+ ? found // found a selector INside this element
719
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
720
+ ) {
721
+ return __Closest(base);
722
+ }
723
+ /* eslint-enable jsdoc/require-param */
724
+
725
+ /**
726
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
727
+ * @param {Object} elem - The element to check.
728
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
729
+ * @returns {void}
730
+ */
731
+ handleComponentTagRename(elem, tagName) {
732
+ const tag = tagName.toLowerCase();
733
+ const elemTag = elem.tagName.toLowerCase();
734
+
735
+ if (elemTag !== tag) {
736
+ elem.setAttribute(tag, true);
737
+ }
738
+ }
739
+
740
+ /**
741
+ * Validates if an element is a specific Auro component.
742
+ * @param {Object} elem - The element to validate.
743
+ * @param {String} tagName - The name of the Auro component to check against.
744
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
745
+ */
746
+ elementMatch(elem, tagName) {
747
+ const tag = tagName.toLowerCase();
748
+ const elemTag = elem.tagName.toLowerCase();
749
+
750
+ return elemTag === tag || elem.hasAttribute(tag);
751
+ }
752
+ }
753
+
754
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
755
+ // See LICENSE in the project root for license information.
756
+
757
+
758
+ /**
759
+ * Displays help text or error messages within form elements - Internal Use Only.
760
+ *
761
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
762
+ */
763
+ class AuroHelpText extends r {
764
+
765
+ constructor() {
766
+ super();
767
+
768
+ this.error = false;
769
+ this.hasTextContent = false;
770
+ }
771
+
772
+ static get styles() {
773
+ return [
774
+ colorCss,
775
+ styleCss,
776
+ tokensCss
777
+ ];
778
+ }
779
+
780
+ // function to define props used within the scope of this component
781
+ static get properties() {
782
+ return {
783
+
784
+ /**
785
+ * @private
786
+ */
787
+ slotNodes: {
788
+ type: Boolean,
789
+ },
790
+
791
+ /**
792
+ * @private
793
+ */
794
+ hasTextContent: {
795
+ type: Boolean,
796
+ },
797
+
798
+ /**
799
+ * If declared, make font color red.
800
+ */
801
+ error: {
802
+ type: Boolean,
803
+ reflect: true,
804
+ },
805
+ };
806
+ }
807
+
808
+ /**
809
+ * This will register this element with the browser.
810
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
811
+ *
812
+ * @example
813
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
814
+ *
815
+ */
816
+ static register(name = "auro-helptext") {
817
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
818
+ }
819
+
820
+ updated() {
821
+ this.handleSlotChange();
822
+ }
823
+
824
+ handleSlotChange(event) {
825
+ if (event) {
826
+ this.slotNodes = event.target.assignedNodes();
827
+ }
828
+
829
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
830
+ }
831
+
832
+ /**
833
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
834
+ *
835
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
836
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
837
+ * @private
838
+ */
839
+ checkSlotsForContent(nodes) {
840
+ if (!nodes) {
841
+ return false;
842
+ }
843
+
844
+ return nodes.some((node) => {
845
+ if (node.textContent.trim()) {
846
+ return true;
847
+ }
848
+
849
+ if (!node.querySelector) {
850
+ return false;
851
+ }
852
+
853
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
854
+ if (!nestedSlot) {
855
+ return false;
856
+ }
857
+
858
+ const nestedSlotNodes = nestedSlot.assignedNodes();
859
+ return this.checkSlotsForContent(nestedSlotNodes);
860
+ });
861
+ }
862
+
863
+ // function that renders the HTML and CSS into the scope of the component
864
+ render() {
865
+ return x`
866
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
867
+ <slot @slotchange=${this.handleSlotChange}></slot>
868
+ </div>
869
+ `;
870
+ }
871
+ }
872
+
873
+ AuroHelpText.register();
571
874
 
572
875
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
573
876
  // See LICENSE in the project root for license information.
@@ -576,30 +879,26 @@ var colorCss = i$4`:host{color:var(--ds-auro-checkbox-group-text-color)}:host([d
576
879
  /**
577
880
  * The auro-checkbox-group element is a wrapper for auro-checkbox element.
578
881
  *
579
- * @attr {String} validity - Specifies the `validityState` this element is in.
580
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
581
- * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
582
- * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
583
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets the validity message to the attribute value.
584
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
585
- * @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
586
- * @attr {Boolean} horizontal - If set, checkboxes will be aligned horizontally.
587
882
  * @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
588
883
  * @slot {HTMLSlotElement} optionalLabel - Allows for the optional label to be overridden.
589
884
  * @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
590
885
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
591
886
  */
592
887
 
593
- class AuroCheckboxGroup extends r {
888
+ class AuroCheckboxGroup extends r$4 {
594
889
  constructor() {
595
890
  super();
596
891
 
597
892
  this.validity = undefined;
598
- this.value = undefined;
599
893
  this.disabled = undefined;
600
894
  this.required = false;
601
895
  this.horizontal = false;
602
896
 
897
+ /**
898
+ * @private
899
+ */
900
+ this.value = undefined;
901
+
603
902
  /**
604
903
  * @private
605
904
  */
@@ -618,51 +917,84 @@ class AuroCheckboxGroup extends r {
618
917
  /**
619
918
  * @private
620
919
  */
621
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
920
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
622
921
  }
623
922
 
624
923
  static get styles() {
625
924
  return [
626
- styleCss,
627
- colorCss,
628
- tokensCss
925
+ styleCss$1,
926
+ colorCss$1,
927
+ tokensCss$1
629
928
  ];
630
929
  }
631
930
 
632
931
  static get properties() {
633
932
  return {
933
+
934
+ /**
935
+ * If set, disables the checkbox group.
936
+ */
634
937
  disabled: {
635
938
  type: Boolean,
636
939
  reflect: true
637
940
  },
941
+
942
+ /**
943
+ * When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
944
+ */
945
+ error: {
946
+ type: String,
947
+ reflect: true
948
+ },
949
+
950
+ /**
951
+ * If set, checkboxes will be aligned horizontally.
952
+ */
638
953
  horizontal: {
639
954
  type: Boolean,
640
955
  reflect: true
641
956
  },
642
- value: {
643
- type: Array
644
- },
957
+
958
+ /**
959
+ * If set, disables auto-validation on blur.
960
+ */
645
961
  noValidate: {
646
962
  type: Boolean,
647
963
  reflect: true
648
964
  },
965
+
966
+ /**
967
+ * Populates the `required` attribute on the element. Used for client-side validation.
968
+ */
649
969
  required: {
650
970
  type: Boolean,
651
971
  reflect: true
652
972
  },
653
- error: {
654
- type: String,
655
- reflect: true
656
- },
973
+
974
+ /**
975
+ * Sets a custom help text message to display for all validityStates.
976
+ */
657
977
  setCustomValidity: {
658
978
  type: String
659
979
  },
980
+
981
+ /**
982
+ * Custom help text message to display when validity = `customError`.
983
+ */
660
984
  setCustomValidityCustomError: {
661
985
  type: String
662
986
  },
987
+
988
+ /**
989
+ * Custom help text message to display when validity = `valueMissing`.
990
+ */
663
991
  setCustomValidityValueMissing: {
664
992
  type: String
665
993
  },
994
+
995
+ /**
996
+ * Specifies the `validityState` this element is in.
997
+ */
666
998
  validity: {
667
999
  type: String,
668
1000
  reflect: true
@@ -679,7 +1011,7 @@ class AuroCheckboxGroup extends r {
679
1011
  *
680
1012
  */
681
1013
  static register(name = "auro-checkbox-group") {
682
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCheckboxGroup);
1014
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroCheckboxGroup);
683
1015
  }
684
1016
 
685
1017
  connectedCallback() {
@@ -713,7 +1045,7 @@ class AuroCheckboxGroup extends r {
713
1045
  composed: true,
714
1046
  }));
715
1047
 
716
- this.validation.validate(this, true);
1048
+ this.validate(true);
717
1049
  }
718
1050
 
719
1051
  firstUpdated() {
@@ -799,7 +1131,7 @@ class AuroCheckboxGroup extends r {
799
1131
 
800
1132
  this.handlePreselectedItems();
801
1133
 
802
- this.validation.validate(this);
1134
+ this.validate();
803
1135
  }
804
1136
 
805
1137
  /**
@@ -855,33 +1187,41 @@ class AuroCheckboxGroup extends r {
855
1187
  this.removeAttribute('aria-invalid');
856
1188
  }
857
1189
 
858
- this.validation.validate(this, true);
1190
+ this.validate(true);
859
1191
  }
860
1192
  }
861
1193
 
1194
+ /**
1195
+ * Validates value.
1196
+ * @param {boolean} [force=false] - Whether to force validation.
1197
+ */
1198
+ validate(force = false) {
1199
+ this.validation.validate(this, force);
1200
+ }
1201
+
862
1202
  render() {
863
1203
  const groupClasses = {
864
1204
  'displayFlex': this.horizontal && this.checkboxes.length <= this.maxNumber
865
1205
  };
866
1206
 
867
- return x`
868
- <fieldset class="${e(groupClasses)}">
1207
+ return x$1`
1208
+ <fieldset class="${e$3(groupClasses)}">
869
1209
  ${this.required
870
- ? x`<legend><slot name="legend"></slot></legend>`
871
- : x`<legend><slot name="legend"></slot> (optional)</legend>`
1210
+ ? x$1`<legend><slot name="legend"></slot></legend>`
1211
+ : x$1`<legend><slot name="legend"></slot> (optional)</legend>`
872
1212
  }
873
1213
  <slot @slotchange=${this.handleItems}></slot>
874
1214
  </fieldset>
875
1215
 
876
1216
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
877
- ? x`
878
- <p class="checkboxGroupElement-helpText" part="helpText">
1217
+ ? x$1`
1218
+ <auro-helptext large part="helpText">
879
1219
  <slot name="helpText"></slot>
880
- </p>`
881
- : x`
882
- <p class="checkboxGroupElement-helpText" role="alert" aria-live="assertive" part="helpText">
1220
+ </auro-helptext>`
1221
+ : x$1`
1222
+ <auro-helptext error large role="alert" aria-live="assertive" part="helpText">
883
1223
  ${this.errorMessage}
884
- </p>`
1224
+ </auro-helptext>`
885
1225
  }
886
1226
  `;
887
1227
  }