@aurodesignsystem/auro-formkit 1.6.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (818) hide show
  1. package/.husky/commit-msg +4 -0
  2. package/.husky/pre-commit +3 -0
  3. package/.turbo/cache/06e8fe5b2ddad186-meta.json +1 -0
  4. package/.turbo/cache/06e8fe5b2ddad186.tar.zst +0 -0
  5. package/.turbo/cache/10feda0f037804bb-meta.json +1 -0
  6. package/.turbo/cache/10feda0f037804bb.tar.zst +0 -0
  7. package/.turbo/cache/12f223ca7c12a587-meta.json +1 -0
  8. package/.turbo/cache/12f223ca7c12a587.tar.zst +0 -0
  9. package/.turbo/cache/144e8e78657bf800-meta.json +1 -0
  10. package/.turbo/cache/144e8e78657bf800.tar.zst +0 -0
  11. package/.turbo/cache/18939b2c7c83b163-meta.json +1 -0
  12. package/.turbo/cache/18939b2c7c83b163.tar.zst +0 -0
  13. package/.turbo/cache/1de685df0eaa39c8-meta.json +1 -0
  14. package/.turbo/cache/1de685df0eaa39c8.tar.zst +0 -0
  15. package/.turbo/cache/1f3b6e5b310ff590-meta.json +1 -0
  16. package/.turbo/cache/1f3b6e5b310ff590.tar.zst +0 -0
  17. package/.turbo/cache/1f53ce3a28c56cdf-meta.json +1 -0
  18. package/.turbo/cache/1f53ce3a28c56cdf.tar.zst +0 -0
  19. package/.turbo/cache/235d3af66386f827-meta.json +1 -0
  20. package/.turbo/cache/235d3af66386f827.tar.zst +0 -0
  21. package/.turbo/cache/23bf100310bd9f5a-meta.json +1 -0
  22. package/.turbo/cache/23bf100310bd9f5a.tar.zst +0 -0
  23. package/.turbo/cache/2900e7ec28e1488f-meta.json +1 -0
  24. package/.turbo/cache/2900e7ec28e1488f.tar.zst +0 -0
  25. package/.turbo/cache/2dd00eb6e255bd02-meta.json +1 -0
  26. package/.turbo/cache/2dd00eb6e255bd02.tar.zst +0 -0
  27. package/.turbo/cache/33466ea2930c3714-meta.json +1 -0
  28. package/.turbo/cache/33466ea2930c3714.tar.zst +0 -0
  29. package/.turbo/cache/451e562c76f74ec6-meta.json +1 -0
  30. package/.turbo/cache/451e562c76f74ec6.tar.zst +0 -0
  31. package/.turbo/cache/4520919609c97850-meta.json +1 -0
  32. package/.turbo/cache/4520919609c97850.tar.zst +0 -0
  33. package/.turbo/cache/45542e8beda9bb05-meta.json +1 -0
  34. package/.turbo/cache/45542e8beda9bb05.tar.zst +0 -0
  35. package/.turbo/cache/4a510678a1fcfe5c-meta.json +1 -0
  36. package/.turbo/cache/4a510678a1fcfe5c.tar.zst +0 -0
  37. package/.turbo/cache/5058ecc7f1e34496-meta.json +1 -0
  38. package/.turbo/cache/5058ecc7f1e34496.tar.zst +0 -0
  39. package/.turbo/cache/5e689c61e1109b98-meta.json +1 -0
  40. package/.turbo/cache/5e689c61e1109b98.tar.zst +0 -0
  41. package/.turbo/cache/62519d73b891d83c-meta.json +1 -0
  42. package/.turbo/cache/62519d73b891d83c.tar.zst +0 -0
  43. package/.turbo/cache/65511706643c4a44-meta.json +1 -0
  44. package/.turbo/cache/65511706643c4a44.tar.zst +0 -0
  45. package/.turbo/cache/6992d7134a39e43e-meta.json +1 -0
  46. package/.turbo/cache/6992d7134a39e43e.tar.zst +0 -0
  47. package/.turbo/cache/6bbc14e82dbe2dab-meta.json +1 -0
  48. package/.turbo/cache/6bbc14e82dbe2dab.tar.zst +0 -0
  49. package/.turbo/cache/706d4f762cc8061c-meta.json +1 -0
  50. package/.turbo/cache/706d4f762cc8061c.tar.zst +0 -0
  51. package/.turbo/cache/70d7b72f15ee97a4-meta.json +1 -0
  52. package/.turbo/cache/70d7b72f15ee97a4.tar.zst +0 -0
  53. package/.turbo/cache/7255686674920f97-meta.json +1 -0
  54. package/.turbo/cache/7255686674920f97.tar.zst +0 -0
  55. package/.turbo/cache/73572172d84713cd-meta.json +1 -0
  56. package/.turbo/cache/73572172d84713cd.tar.zst +0 -0
  57. package/.turbo/cache/7ddb7ace73fe6ec2-meta.json +1 -0
  58. package/.turbo/cache/7ddb7ace73fe6ec2.tar.zst +0 -0
  59. package/.turbo/cache/7e901cc4235b7051-meta.json +1 -0
  60. package/.turbo/cache/7e901cc4235b7051.tar.zst +0 -0
  61. package/.turbo/cache/821d931bf082b7de-meta.json +1 -0
  62. package/.turbo/cache/821d931bf082b7de.tar.zst +0 -0
  63. package/.turbo/cache/897b0d8a0c301207-meta.json +1 -0
  64. package/.turbo/cache/897b0d8a0c301207.tar.zst +0 -0
  65. package/.turbo/cache/8b7cdb9a0d4c3112-meta.json +1 -0
  66. package/.turbo/cache/8b7cdb9a0d4c3112.tar.zst +0 -0
  67. package/.turbo/cache/9135f474c69d1b3c-meta.json +1 -0
  68. package/.turbo/cache/9135f474c69d1b3c.tar.zst +0 -0
  69. package/.turbo/cache/9a7ab914e08ce75f-meta.json +1 -0
  70. package/.turbo/cache/9a7ab914e08ce75f.tar.zst +0 -0
  71. package/.turbo/cache/a174f9409e2dbb04-meta.json +1 -0
  72. package/.turbo/cache/a174f9409e2dbb04.tar.zst +0 -0
  73. package/.turbo/cache/a7bf477bbdabc7bc-meta.json +1 -0
  74. package/.turbo/cache/a7bf477bbdabc7bc.tar.zst +0 -0
  75. package/.turbo/cache/a90aa34f427a2f62-meta.json +1 -0
  76. package/.turbo/cache/a90aa34f427a2f62.tar.zst +0 -0
  77. package/.turbo/cache/aeee74f29106cab5-meta.json +1 -0
  78. package/.turbo/cache/aeee74f29106cab5.tar.zst +0 -0
  79. package/.turbo/cache/b61416daf63fbaad-meta.json +1 -0
  80. package/.turbo/cache/b61416daf63fbaad.tar.zst +0 -0
  81. package/.turbo/cache/b9463532618cdc61-meta.json +1 -0
  82. package/.turbo/cache/b9463532618cdc61.tar.zst +0 -0
  83. package/.turbo/cache/bb3afea40c91e8ba-meta.json +1 -0
  84. package/.turbo/cache/bb3afea40c91e8ba.tar.zst +0 -0
  85. package/.turbo/cache/c2e5da6599ac51c9-meta.json +1 -0
  86. package/.turbo/cache/c2e5da6599ac51c9.tar.zst +0 -0
  87. package/.turbo/cache/c53689c4c8b7448c-meta.json +1 -0
  88. package/.turbo/cache/c53689c4c8b7448c.tar.zst +0 -0
  89. package/.turbo/cache/c63dc7b6157da70b-meta.json +1 -0
  90. package/.turbo/cache/c63dc7b6157da70b.tar.zst +0 -0
  91. package/.turbo/cache/c7bb3445b71ead45-meta.json +1 -0
  92. package/.turbo/cache/c7bb3445b71ead45.tar.zst +0 -0
  93. package/.turbo/cache/c8b63b6e8a190eb9-meta.json +1 -0
  94. package/.turbo/cache/c8b63b6e8a190eb9.tar.zst +0 -0
  95. package/.turbo/cache/cd8bab87240a17ed-meta.json +1 -0
  96. package/.turbo/cache/cd8bab87240a17ed.tar.zst +0 -0
  97. package/.turbo/cache/d35b1eee9f2881af-meta.json +1 -0
  98. package/.turbo/cache/d35b1eee9f2881af.tar.zst +0 -0
  99. package/.turbo/cache/d641ace8fafc5cd2-meta.json +1 -0
  100. package/.turbo/cache/d641ace8fafc5cd2.tar.zst +0 -0
  101. package/.turbo/cache/d8bd6f80733c28af-meta.json +1 -0
  102. package/.turbo/cache/d8bd6f80733c28af.tar.zst +0 -0
  103. package/.turbo/cache/e4b3ec56d4ae56ba-meta.json +1 -0
  104. package/.turbo/cache/e4b3ec56d4ae56ba.tar.zst +0 -0
  105. package/.turbo/cache/e6f030eddf6fbf4e-meta.json +1 -0
  106. package/.turbo/cache/e6f030eddf6fbf4e.tar.zst +0 -0
  107. package/.turbo/cache/e81d7d64333b17e4-meta.json +1 -0
  108. package/.turbo/cache/e81d7d64333b17e4.tar.zst +0 -0
  109. package/.turbo/cache/ec4e1a5bd603f7ef-meta.json +1 -0
  110. package/.turbo/cache/ec4e1a5bd603f7ef.tar.zst +0 -0
  111. package/.turbo/cache/f6ee0c1e3e6753e1-meta.json +1 -0
  112. package/.turbo/cache/f6ee0c1e3e6753e1.tar.zst +0 -0
  113. package/.turbo/cache/f88563bd8d462bf1-meta.json +1 -0
  114. package/.turbo/cache/f88563bd8d462bf1.tar.zst +0 -0
  115. package/.turbo/cache/fdce614efad05760-meta.json +1 -0
  116. package/.turbo/cache/fdce614efad05760.tar.zst +0 -0
  117. package/.turbo/cache/fdd1bdd173a4185c-meta.json +1 -0
  118. package/.turbo/cache/fdd1bdd173a4185c.tar.zst +0 -0
  119. package/CHANGELOG.md +367 -0
  120. package/LICENSE +201 -0
  121. package/README.md +225 -0
  122. package/components/checkbox/.stylelintrc.json +3 -0
  123. package/components/checkbox/.turbo/turbo-build$colon$sass.log +98 -0
  124. package/components/checkbox/.turbo/turbo-build.log +182 -0
  125. package/components/checkbox/.turbo/turbo-bundler.log +13 -0
  126. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +5 -0
  127. package/components/checkbox/.turbo/turbo-sass$colon$render.log +34 -0
  128. package/components/checkbox/.turbo/turbo-types.log +4 -0
  129. package/components/checkbox/README.md +187 -0
  130. package/components/checkbox/demo/api.html +48 -0
  131. package/components/checkbox/demo/api.js +1 -0
  132. package/components/checkbox/demo/api.md +272 -0
  133. package/components/checkbox/demo/api.min.js +845 -0
  134. package/components/checkbox/demo/index.js +8 -0
  135. package/components/checkbox/demo/index.md +306 -0
  136. package/components/checkbox/demo/index.min.js +845 -0
  137. package/components/checkbox/dist/auro-checkbox-group.d.ts +119 -0
  138. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -0
  139. package/components/checkbox/dist/auro-checkbox.d.ts +75 -0
  140. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -0
  141. package/components/checkbox/dist/index.d.ts +4 -0
  142. package/components/checkbox/dist/index.d.ts.map +1 -0
  143. package/components/checkbox/dist/index.js +844 -0
  144. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +3 -0
  145. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +1 -0
  146. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +3 -0
  147. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +1 -0
  148. package/components/checkbox/dist/styles/color-css.d.ts +3 -0
  149. package/components/checkbox/dist/styles/color-css.d.ts.map +1 -0
  150. package/components/checkbox/dist/styles/colorGroup-css.d.ts +3 -0
  151. package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +1 -0
  152. package/components/checkbox/dist/styles/tokens-css.d.ts +3 -0
  153. package/components/checkbox/dist/styles/tokens-css.d.ts.map +1 -0
  154. package/components/checkbox/node_modules/chalk/package.json +83 -0
  155. package/components/checkbox/node_modules/chalk/readme.md +325 -0
  156. package/components/checkbox/node_modules/chalk/source/index.d.ts +320 -0
  157. package/components/checkbox/node_modules/chalk/source/index.js +225 -0
  158. package/components/checkbox/node_modules/chalk/source/utilities.js +33 -0
  159. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  160. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  161. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  162. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  163. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  164. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  165. package/components/checkbox/package.json +68 -0
  166. package/components/checkbox/src/auro-checkbox-group.js +319 -0
  167. package/components/checkbox/src/auro-checkbox.js +184 -0
  168. package/components/checkbox/src/index.js +8 -0
  169. package/components/checkbox/src/styles/auro-checkbox-css.js +2 -0
  170. package/components/checkbox/src/styles/auro-checkbox-group-css.js +2 -0
  171. package/components/checkbox/src/styles/auro-checkbox-group.css +26 -0
  172. package/components/checkbox/src/styles/auro-checkbox-group.scss +38 -0
  173. package/components/checkbox/src/styles/auro-checkbox.css +123 -0
  174. package/components/checkbox/src/styles/auro-checkbox.scss +100 -0
  175. package/components/checkbox/src/styles/color-css.js +2 -0
  176. package/components/checkbox/src/styles/color.css +84 -0
  177. package/components/checkbox/src/styles/color.scss +118 -0
  178. package/components/checkbox/src/styles/colorGroup-css.js +2 -0
  179. package/components/checkbox/src/styles/colorGroup.css +16 -0
  180. package/components/checkbox/src/styles/colorGroup.scss +24 -0
  181. package/components/checkbox/src/styles/tokens-css.js +2 -0
  182. package/components/checkbox/src/styles/tokens.css +9 -0
  183. package/components/checkbox/src/styles/tokens.scss +11 -0
  184. package/components/combobox/.stylelintrc.json +3 -0
  185. package/components/combobox/.turbo/turbo-build$colon$sass.log +46 -0
  186. package/components/combobox/.turbo/turbo-build.log +157 -0
  187. package/components/combobox/.turbo/turbo-postCss$colon$component.log +5 -0
  188. package/components/combobox/.turbo/turbo-sass$colon$render.log +10 -0
  189. package/components/combobox/README.md +200 -0
  190. package/components/combobox/demo/api.html +54 -0
  191. package/components/combobox/demo/api.js +32 -0
  192. package/components/combobox/demo/api.md +743 -0
  193. package/components/combobox/demo/api.min.js +9017 -0
  194. package/components/combobox/demo/index.js +26 -0
  195. package/components/combobox/demo/index.md +626 -0
  196. package/components/combobox/demo/index.min.js +8919 -0
  197. package/components/combobox/dist/auro-combobox.d.ts +221 -0
  198. package/components/combobox/dist/auro-combobox.d.ts.map +1 -0
  199. package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  200. package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  201. package/components/combobox/dist/formkit/auro-inputVersion.d.ts +3 -0
  202. package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +1 -0
  203. package/components/combobox/dist/index.d.ts +3 -0
  204. package/components/combobox/dist/index.d.ts.map +1 -0
  205. package/components/combobox/dist/index.js +7842 -0
  206. package/components/combobox/dist/styles/style-css.d.ts +3 -0
  207. package/components/combobox/dist/styles/style-css.d.ts.map +1 -0
  208. package/components/combobox/node_modules/chalk/package.json +83 -0
  209. package/components/combobox/node_modules/chalk/readme.md +325 -0
  210. package/components/combobox/node_modules/chalk/source/index.d.ts +320 -0
  211. package/components/combobox/node_modules/chalk/source/index.js +225 -0
  212. package/components/combobox/node_modules/chalk/source/utilities.js +33 -0
  213. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  214. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  215. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  216. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  217. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  218. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  219. package/components/combobox/package.json +67 -0
  220. package/components/combobox/src/auro-combobox.js +674 -0
  221. package/components/combobox/src/formkit/auro-dropdownVersion.js +1 -0
  222. package/components/combobox/src/formkit/auro-inputVersion.js +1 -0
  223. package/components/combobox/src/index.js +6 -0
  224. package/components/combobox/src/styles/style-css.js +2 -0
  225. package/components/combobox/src/styles/style.css +60 -0
  226. package/components/combobox/src/styles/style.scss +46 -0
  227. package/components/counter/.stylelintrc.json +3 -0
  228. package/components/counter/.turbo/turbo-build$colon$sass.log +66 -0
  229. package/components/counter/.turbo/turbo-build.log +87 -0
  230. package/components/counter/.turbo/turbo-bundler.log +13 -0
  231. package/components/counter/.turbo/turbo-postCss$colon$component.log +5 -0
  232. package/components/counter/.turbo/turbo-sass$colon$render.log +16 -0
  233. package/components/counter/.turbo/turbo-types.log +4 -0
  234. package/components/counter/demo/api.html +52 -0
  235. package/components/counter/demo/api.js +16 -0
  236. package/components/counter/demo/api.md +1053 -0
  237. package/components/counter/demo/api.min.js +115 -0
  238. package/components/counter/demo/index.js +20 -0
  239. package/components/counter/demo/index.md +12 -0
  240. package/components/counter/demo/index.min.js +71 -0
  241. package/components/counter/dist/auro-counter-group.d.ts +20 -0
  242. package/components/counter/dist/auro-counter-group.d.ts.map +1 -0
  243. package/components/counter/dist/auro-counter.d.ts +6 -0
  244. package/components/counter/dist/auro-counter.d.ts.map +1 -0
  245. package/components/counter/dist/index.d.ts +4 -0
  246. package/components/counter/dist/index.d.ts.map +1 -0
  247. package/components/counter/dist/index.js +110 -0
  248. package/components/counter/dist/styles/counter-group-css.d.ts +3 -0
  249. package/components/counter/dist/styles/counter-group-css.d.ts.map +1 -0
  250. package/components/counter/dist/styles/style-css.d.ts +3 -0
  251. package/components/counter/dist/styles/style-css.d.ts.map +1 -0
  252. package/components/counter/node_modules/chalk/package.json +83 -0
  253. package/components/counter/node_modules/chalk/readme.md +325 -0
  254. package/components/counter/node_modules/chalk/source/index.d.ts +320 -0
  255. package/components/counter/node_modules/chalk/source/index.js +225 -0
  256. package/components/counter/node_modules/chalk/source/utilities.js +33 -0
  257. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  258. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  259. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  260. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  261. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  262. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  263. package/components/counter/package.json +50 -0
  264. package/components/counter/src/auro-counter-group.js +48 -0
  265. package/components/counter/src/auro-counter.js +29 -0
  266. package/components/counter/src/index.js +8 -0
  267. package/components/counter/src/styles/counter-group-css.js +2 -0
  268. package/components/counter/src/styles/counter-group.css +4 -0
  269. package/components/counter/src/styles/counter-group.scss +17 -0
  270. package/components/counter/src/styles/style-css.js +2 -0
  271. package/components/counter/src/styles/style.css +4 -0
  272. package/components/counter/src/styles/style.scss +17 -0
  273. package/components/datepicker/.stylelintrc.json +3 -0
  274. package/components/datepicker/.turbo/turbo-build$colon$sass.log +352 -0
  275. package/components/datepicker/.turbo/turbo-build.log +489 -0
  276. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +5 -0
  277. package/components/datepicker/.turbo/turbo-sass$colon$render.log +58 -0
  278. package/components/datepicker/README.md +181 -0
  279. package/components/datepicker/demo/api.html +58 -0
  280. package/components/datepicker/demo/api.js +33 -0
  281. package/components/datepicker/demo/api.md +1172 -0
  282. package/components/datepicker/demo/api.min.js +18446 -0
  283. package/components/datepicker/demo/index.js +19 -0
  284. package/components/datepicker/demo/index.md +107 -0
  285. package/components/datepicker/demo/index.min.js +18175 -0
  286. package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
  287. package/components/datepicker/dist/auro-calendar-cell.d.ts.map +1 -0
  288. package/components/datepicker/dist/auro-calendar-month.d.ts +5 -0
  289. package/components/datepicker/dist/auro-calendar-month.d.ts.map +1 -0
  290. package/components/datepicker/dist/auro-calendar.d.ts +105 -0
  291. package/components/datepicker/dist/auro-calendar.d.ts.map +1 -0
  292. package/components/datepicker/dist/auro-datepicker.d.ts +336 -0
  293. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -0
  294. package/components/datepicker/dist/dropdownVersion.d.ts +1 -0
  295. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -0
  296. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  297. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  298. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +3 -0
  299. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +1 -0
  300. package/components/datepicker/dist/index.d.ts +3 -0
  301. package/components/datepicker/dist/index.d.ts.map +1 -0
  302. package/components/datepicker/dist/index.js +18171 -0
  303. package/components/datepicker/dist/popoverVersion.d.ts +3 -0
  304. package/components/datepicker/dist/popoverVersion.d.ts.map +1 -0
  305. package/components/datepicker/dist/styles/color-calendar-css.d.ts +3 -0
  306. package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +1 -0
  307. package/components/datepicker/dist/styles/color-cell-css.d.ts +3 -0
  308. package/components/datepicker/dist/styles/color-cell-css.d.ts.map +1 -0
  309. package/components/datepicker/dist/styles/color-css.d.ts +3 -0
  310. package/components/datepicker/dist/styles/color-css.d.ts.map +1 -0
  311. package/components/datepicker/dist/styles/color-month-css.d.ts +3 -0
  312. package/components/datepicker/dist/styles/color-month-css.d.ts.map +1 -0
  313. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +3 -0
  314. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +1 -0
  315. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +3 -0
  316. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +1 -0
  317. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +3 -0
  318. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +1 -0
  319. package/components/datepicker/dist/styles/style-css.d.ts +3 -0
  320. package/components/datepicker/dist/styles/style-css.d.ts.map +1 -0
  321. package/components/datepicker/dist/styles/tokens-css.d.ts +3 -0
  322. package/components/datepicker/dist/styles/tokens-css.d.ts.map +1 -0
  323. package/components/datepicker/dist/utilities.d.ts +47 -0
  324. package/components/datepicker/dist/utilities.d.ts.map +1 -0
  325. package/components/datepicker/dist/utilitiesCalendar.d.ts +39 -0
  326. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +1 -0
  327. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +51 -0
  328. package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +1 -0
  329. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +6 -0
  330. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +1 -0
  331. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +61 -0
  332. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +1 -0
  333. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +2 -0
  334. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +1 -0
  335. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +58 -0
  336. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +1 -0
  337. package/components/datepicker/node_modules/chalk/package.json +83 -0
  338. package/components/datepicker/node_modules/chalk/readme.md +325 -0
  339. package/components/datepicker/node_modules/chalk/source/index.d.ts +320 -0
  340. package/components/datepicker/node_modules/chalk/source/index.js +225 -0
  341. package/components/datepicker/node_modules/chalk/source/utilities.js +33 -0
  342. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  343. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  344. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  345. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  346. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  347. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  348. package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
  349. package/components/datepicker/node_modules/rollup-plugin-serve/README.md +137 -0
  350. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
  351. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
  352. package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +75 -0
  353. package/components/datepicker/node_modules/rollup-plugin-serve/package.json +51 -0
  354. package/components/datepicker/package.json +79 -0
  355. package/components/datepicker/src/auro-calendar-cell.js +381 -0
  356. package/components/datepicker/src/auro-calendar-month.js +128 -0
  357. package/components/datepicker/src/auro-calendar.js +328 -0
  358. package/components/datepicker/src/auro-datepicker.js +968 -0
  359. package/components/datepicker/src/dropdownVersion.js +0 -0
  360. package/components/datepicker/src/formkit/auro-dropdownVersion.js +1 -0
  361. package/components/datepicker/src/formkit/auro-inputVersion.js +1 -0
  362. package/components/datepicker/src/index.js +6 -0
  363. package/components/datepicker/src/popoverVersion.js +1 -0
  364. package/components/datepicker/src/styles/color-calendar-css.js +2 -0
  365. package/components/datepicker/src/styles/color-calendar.css +35 -0
  366. package/components/datepicker/src/styles/color-calendar.scss +51 -0
  367. package/components/datepicker/src/styles/color-cell-css.js +2 -0
  368. package/components/datepicker/src/styles/color-cell.css +45 -0
  369. package/components/datepicker/src/styles/color-cell.scss +73 -0
  370. package/components/datepicker/src/styles/color-css.js +2 -0
  371. package/components/datepicker/src/styles/color-month-css.js +2 -0
  372. package/components/datepicker/src/styles/color-month.css +34 -0
  373. package/components/datepicker/src/styles/color-month.scss +27 -0
  374. package/components/datepicker/src/styles/color.css +43 -0
  375. package/components/datepicker/src/styles/color.scss +30 -0
  376. package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +2 -0
  377. package/components/datepicker/src/styles/style-auro-calendar-cell.css +123 -0
  378. package/components/datepicker/src/styles/style-auro-calendar-cell.scss +147 -0
  379. package/components/datepicker/src/styles/style-auro-calendar-css.js +2 -0
  380. package/components/datepicker/src/styles/style-auro-calendar-month-css.js +2 -0
  381. package/components/datepicker/src/styles/style-auro-calendar-month.css +121 -0
  382. package/components/datepicker/src/styles/style-auro-calendar-month.scss +141 -0
  383. package/components/datepicker/src/styles/style-auro-calendar.css +152 -0
  384. package/components/datepicker/src/styles/style-auro-calendar.scss +191 -0
  385. package/components/datepicker/src/styles/style-css.js +2 -0
  386. package/components/datepicker/src/styles/style.css +111 -0
  387. package/components/datepicker/src/styles/style.scss +107 -0
  388. package/components/datepicker/src/styles/tokens-css.js +2 -0
  389. package/components/datepicker/src/styles/tokens.css +22 -0
  390. package/components/datepicker/src/styles/tokens.scss +25 -0
  391. package/components/datepicker/src/utilities.js +87 -0
  392. package/components/datepicker/src/utilitiesCalendar.js +139 -0
  393. package/components/datepicker/src/utilitiesCalendarRender.js +156 -0
  394. package/components/datepicker/src/vendor/wc-range-datepicker/day.js +8 -0
  395. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +521 -0
  396. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +211 -0
  397. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +254 -0
  398. package/components/dropdown/.stylelintrc.json +3 -0
  399. package/components/dropdown/.turbo/turbo-build$colon$sass.log +75 -0
  400. package/components/dropdown/.turbo/turbo-build$colon$version.log +7 -0
  401. package/components/dropdown/.turbo/turbo-build.log +206 -0
  402. package/components/dropdown/.turbo/turbo-bundler.log +13 -0
  403. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +5 -0
  404. package/components/dropdown/.turbo/turbo-sass$colon$render.log +34 -0
  405. package/components/dropdown/.turbo/turbo-types.log +4 -0
  406. package/components/dropdown/README.md +188 -0
  407. package/components/dropdown/demo/api.html +53 -0
  408. package/components/dropdown/demo/api.js +21 -0
  409. package/components/dropdown/demo/api.md +1173 -0
  410. package/components/dropdown/demo/api.min.js +2868 -0
  411. package/components/dropdown/demo/index.js +22 -0
  412. package/components/dropdown/demo/index.md +360 -0
  413. package/components/dropdown/demo/index.min.js +2834 -0
  414. package/components/dropdown/dist/auro-dropdown.d.ts +189 -0
  415. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -0
  416. package/components/dropdown/dist/auro-dropdownBib.d.ts +33 -0
  417. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -0
  418. package/components/dropdown/dist/floatingUI.d.mts +68 -0
  419. package/components/dropdown/dist/floatingUI.d.mts.map +1 -0
  420. package/components/dropdown/dist/iconVersion.d.ts +3 -0
  421. package/components/dropdown/dist/iconVersion.d.ts.map +1 -0
  422. package/components/dropdown/dist/index.d.ts +3 -0
  423. package/components/dropdown/dist/index.d.ts.map +1 -0
  424. package/components/dropdown/dist/index.js +2825 -0
  425. package/components/dropdown/dist/styles/bibColors-css.d.ts +3 -0
  426. package/components/dropdown/dist/styles/bibColors-css.d.ts.map +1 -0
  427. package/components/dropdown/dist/styles/bibStyles-css.d.ts +3 -0
  428. package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +1 -0
  429. package/components/dropdown/dist/styles/color-css.d.ts +3 -0
  430. package/components/dropdown/dist/styles/color-css.d.ts.map +1 -0
  431. package/components/dropdown/dist/styles/style-css.d.ts +3 -0
  432. package/components/dropdown/dist/styles/style-css.d.ts.map +1 -0
  433. package/components/dropdown/dist/styles/tokens-css.d.ts +3 -0
  434. package/components/dropdown/dist/styles/tokens-css.d.ts.map +1 -0
  435. package/components/dropdown/node_modules/chalk/package.json +83 -0
  436. package/components/dropdown/node_modules/chalk/readme.md +325 -0
  437. package/components/dropdown/node_modules/chalk/source/index.d.ts +320 -0
  438. package/components/dropdown/node_modules/chalk/source/index.js +225 -0
  439. package/components/dropdown/node_modules/chalk/source/utilities.js +33 -0
  440. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  441. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  442. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  443. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  444. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  445. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  446. package/components/dropdown/package.json +57 -0
  447. package/components/dropdown/src/auro-dropdown.js +354 -0
  448. package/components/dropdown/src/auro-dropdownBib.js +97 -0
  449. package/components/dropdown/src/floatingUI.mjs +381 -0
  450. package/components/dropdown/src/iconVersion.js +1 -0
  451. package/components/dropdown/src/index.js +6 -0
  452. package/components/dropdown/src/styles/bibColors-css.js +2 -0
  453. package/components/dropdown/src/styles/bibColors.css +6 -0
  454. package/components/dropdown/src/styles/bibColors.scss +18 -0
  455. package/components/dropdown/src/styles/bibStyles-css.js +2 -0
  456. package/components/dropdown/src/styles/bibStyles.css +48 -0
  457. package/components/dropdown/src/styles/bibStyles.scss +67 -0
  458. package/components/dropdown/src/styles/color-css.js +2 -0
  459. package/components/dropdown/src/styles/color.css +60 -0
  460. package/components/dropdown/src/styles/color.scss +79 -0
  461. package/components/dropdown/src/styles/style-css.js +2 -0
  462. package/components/dropdown/src/styles/style.css +81 -0
  463. package/components/dropdown/src/styles/style.scss +110 -0
  464. package/components/dropdown/src/styles/tokens-css.js +2 -0
  465. package/components/dropdown/src/styles/tokens.css +13 -0
  466. package/components/dropdown/src/styles/tokens.scss +15 -0
  467. package/components/form/.stylelintrc.json +3 -0
  468. package/components/form/.turbo/turbo-build$colon$sass.log +57 -0
  469. package/components/form/.turbo/turbo-build$colon$version.log +4 -0
  470. package/components/form/.turbo/turbo-build.log +113 -0
  471. package/components/form/.turbo/turbo-bundler.log +13 -0
  472. package/components/form/.turbo/turbo-postCss$colon$component.log +5 -0
  473. package/components/form/.turbo/turbo-sass$colon$render.log +10 -0
  474. package/components/form/.turbo/turbo-types.log +4 -0
  475. package/components/form/README.md +186 -0
  476. package/components/form/demo/api.html +48 -0
  477. package/components/form/demo/api.js +3 -0
  478. package/components/form/demo/api.md +0 -0
  479. package/components/form/demo/api.min.js +160 -0
  480. package/components/form/demo/index.js +4 -0
  481. package/components/form/demo/index.md +40 -0
  482. package/components/form/demo/index.min.js +161 -0
  483. package/components/form/dist/auro-form.d.ts +26 -0
  484. package/components/form/dist/auro-form.d.ts.map +1 -0
  485. package/components/form/dist/index.d.ts +3 -0
  486. package/components/form/dist/index.d.ts.map +1 -0
  487. package/components/form/dist/index.js +162 -0
  488. package/components/form/dist/styles/style-css.d.ts +3 -0
  489. package/components/form/dist/styles/style-css.d.ts.map +1 -0
  490. package/components/form/node_modules/chalk/package.json +83 -0
  491. package/components/form/node_modules/chalk/readme.md +325 -0
  492. package/components/form/node_modules/chalk/source/index.d.ts +320 -0
  493. package/components/form/node_modules/chalk/source/index.js +225 -0
  494. package/components/form/node_modules/chalk/source/utilities.js +33 -0
  495. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  496. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  497. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  498. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  499. package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  500. package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  501. package/components/form/package.json +72 -0
  502. package/components/form/src/auro-form.js +74 -0
  503. package/components/form/src/index.js +6 -0
  504. package/components/form/src/styles/style-css.js +2 -0
  505. package/components/form/src/styles/style.css +36 -0
  506. package/components/form/src/styles/style.scss +37 -0
  507. package/components/input/.stylelintrc.json +3 -0
  508. package/components/input/.turbo/turbo-build$colon$sass.log +148 -0
  509. package/components/input/.turbo/turbo-build$colon$version.log +10 -0
  510. package/components/input/.turbo/turbo-build.log +300 -0
  511. package/components/input/.turbo/turbo-bundler.log +13 -0
  512. package/components/input/.turbo/turbo-postCss$colon$component.log +5 -0
  513. package/components/input/.turbo/turbo-sass$colon$render.log +52 -0
  514. package/components/input/.turbo/turbo-types.log +4 -0
  515. package/components/input/README.md +176 -0
  516. package/components/input/demo/api.html +40 -0
  517. package/components/input/demo/api.js +25 -0
  518. package/components/input/demo/api.md +1251 -0
  519. package/components/input/demo/api.min.js +4068 -0
  520. package/components/input/demo/index.js +20 -0
  521. package/components/input/demo/index.md +253 -0
  522. package/components/input/demo/index.min.js +4010 -0
  523. package/components/input/dist/auro-input.d.ts +29 -0
  524. package/components/input/dist/auro-input.d.ts.map +1 -0
  525. package/components/input/dist/base-input.d.ts +359 -0
  526. package/components/input/dist/base-input.d.ts.map +1 -0
  527. package/components/input/dist/buttonVersion.d.ts +3 -0
  528. package/components/input/dist/buttonVersion.d.ts.map +1 -0
  529. package/components/input/dist/i18n.d.ts +19 -0
  530. package/components/input/dist/i18n.d.ts.map +1 -0
  531. package/components/input/dist/iconVersion.d.ts +3 -0
  532. package/components/input/dist/iconVersion.d.ts.map +1 -0
  533. package/components/input/dist/index.d.ts +3 -0
  534. package/components/input/dist/index.d.ts.map +1 -0
  535. package/components/input/dist/index.js +3977 -0
  536. package/components/input/dist/styles/borders-css.d.ts +3 -0
  537. package/components/input/dist/styles/borders-css.d.ts.map +1 -0
  538. package/components/input/dist/styles/color-css.d.ts +3 -0
  539. package/components/input/dist/styles/color-css.d.ts.map +1 -0
  540. package/components/input/dist/styles/helpText-css.d.ts +3 -0
  541. package/components/input/dist/styles/helpText-css.d.ts.map +1 -0
  542. package/components/input/dist/styles/input-css.d.ts +3 -0
  543. package/components/input/dist/styles/input-css.d.ts.map +1 -0
  544. package/components/input/dist/styles/label-css.d.ts +3 -0
  545. package/components/input/dist/styles/label-css.d.ts.map +1 -0
  546. package/components/input/dist/styles/notificationIcons-css.d.ts +3 -0
  547. package/components/input/dist/styles/notificationIcons-css.d.ts.map +1 -0
  548. package/components/input/dist/styles/style-css.d.ts +3 -0
  549. package/components/input/dist/styles/style-css.d.ts.map +1 -0
  550. package/components/input/dist/styles/tokens-css.d.ts +3 -0
  551. package/components/input/dist/styles/tokens-css.d.ts.map +1 -0
  552. package/components/input/node_modules/chalk/package.json +83 -0
  553. package/components/input/node_modules/chalk/readme.md +325 -0
  554. package/components/input/node_modules/chalk/source/index.d.ts +320 -0
  555. package/components/input/node_modules/chalk/source/index.js +225 -0
  556. package/components/input/node_modules/chalk/source/utilities.js +33 -0
  557. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  558. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  559. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  560. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  561. package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  562. package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  563. package/components/input/package.json +75 -0
  564. package/components/input/src/auro-input.js +242 -0
  565. package/components/input/src/base-input.js +942 -0
  566. package/components/input/src/buttonVersion.js +1 -0
  567. package/components/input/src/i18n.js +102 -0
  568. package/components/input/src/iconVersion.js +1 -0
  569. package/components/input/src/index.js +6 -0
  570. package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
  571. package/components/input/src/styles/borders-css.js +2 -0
  572. package/components/input/src/styles/borders.css +35 -0
  573. package/components/input/src/styles/borders.scss +65 -0
  574. package/components/input/src/styles/color-css.js +2 -0
  575. package/components/input/src/styles/color.css +63 -0
  576. package/components/input/src/styles/color.scss +96 -0
  577. package/components/input/src/styles/helpText-css.js +2 -0
  578. package/components/input/src/styles/helpText.css +6 -0
  579. package/components/input/src/styles/helpText.scss +9 -0
  580. package/components/input/src/styles/input-css.js +2 -0
  581. package/components/input/src/styles/input.css +22 -0
  582. package/components/input/src/styles/input.scss +29 -0
  583. package/components/input/src/styles/label-css.js +2 -0
  584. package/components/input/src/styles/label.css +45 -0
  585. package/components/input/src/styles/label.scss +75 -0
  586. package/components/input/src/styles/notificationIcons-css.js +2 -0
  587. package/components/input/src/styles/notificationIcons.css +76 -0
  588. package/components/input/src/styles/notificationIcons.scss +103 -0
  589. package/components/input/src/styles/style-css.js +2 -0
  590. package/components/input/src/styles/style.css +272 -0
  591. package/components/input/src/styles/style.scss +57 -0
  592. package/components/input/src/styles/tokens-css.js +2 -0
  593. package/components/input/src/styles/tokens.css +9 -0
  594. package/components/input/src/styles/tokens.scss +11 -0
  595. package/components/menu/.stylelintrc.json +3 -0
  596. package/components/menu/.turbo/turbo-build$colon$sass.log +86 -0
  597. package/components/menu/.turbo/turbo-build$colon$version.log +7 -0
  598. package/components/menu/.turbo/turbo-build.log +181 -0
  599. package/components/menu/.turbo/turbo-bundler.log +13 -0
  600. package/components/menu/.turbo/turbo-postCss$colon$component.log +5 -0
  601. package/components/menu/.turbo/turbo-sass$colon$render.log +34 -0
  602. package/components/menu/.turbo/turbo-types.log +4 -0
  603. package/components/menu/README.md +190 -0
  604. package/components/menu/demo/api.html +51 -0
  605. package/components/menu/demo/api.js +25 -0
  606. package/components/menu/demo/api.md +781 -0
  607. package/components/menu/demo/api.min.js +1233 -0
  608. package/components/menu/demo/index.js +28 -0
  609. package/components/menu/demo/index.md +104 -0
  610. package/components/menu/demo/index.min.js +1186 -0
  611. package/components/menu/dist/auro-menu.d.ts +168 -0
  612. package/components/menu/dist/auro-menu.d.ts.map +1 -0
  613. package/components/menu/dist/auro-menuoption.d.ts +65 -0
  614. package/components/menu/dist/auro-menuoption.d.ts.map +1 -0
  615. package/components/menu/dist/iconVersion.d.ts +3 -0
  616. package/components/menu/dist/iconVersion.d.ts.map +1 -0
  617. package/components/menu/dist/index.d.ts +4 -0
  618. package/components/menu/dist/index.d.ts.map +1 -0
  619. package/components/menu/dist/index.js +1178 -0
  620. package/components/menu/dist/styles/color-menu-css.d.ts +3 -0
  621. package/components/menu/dist/styles/color-menu-css.d.ts.map +1 -0
  622. package/components/menu/dist/styles/color-menuoption-css.d.ts +3 -0
  623. package/components/menu/dist/styles/color-menuoption-css.d.ts.map +1 -0
  624. package/components/menu/dist/styles/style-menu-css.d.ts +3 -0
  625. package/components/menu/dist/styles/style-menu-css.d.ts.map +1 -0
  626. package/components/menu/dist/styles/style-menuoption-css.d.ts +3 -0
  627. package/components/menu/dist/styles/style-menuoption-css.d.ts.map +1 -0
  628. package/components/menu/dist/styles/tokens-css.d.ts +3 -0
  629. package/components/menu/dist/styles/tokens-css.d.ts.map +1 -0
  630. package/components/menu/node_modules/chalk/package.json +83 -0
  631. package/components/menu/node_modules/chalk/readme.md +325 -0
  632. package/components/menu/node_modules/chalk/source/index.d.ts +320 -0
  633. package/components/menu/node_modules/chalk/source/index.js +225 -0
  634. package/components/menu/node_modules/chalk/source/utilities.js +33 -0
  635. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  636. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  637. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  638. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  639. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  640. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  641. package/components/menu/node_modules/mime/CHANGELOG.md +296 -0
  642. package/components/menu/node_modules/mime/Mime.js +97 -0
  643. package/components/menu/node_modules/mime/README.md +187 -0
  644. package/components/menu/node_modules/mime/cli.js +46 -0
  645. package/components/menu/node_modules/mime/index.js +4 -0
  646. package/components/menu/node_modules/mime/lite.js +4 -0
  647. package/components/menu/node_modules/mime/package.json +52 -0
  648. package/components/menu/node_modules/mime/types/other.js +1 -0
  649. package/components/menu/node_modules/mime/types/standard.js +1 -0
  650. package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
  651. package/components/menu/node_modules/rollup-plugin-serve/README.md +135 -0
  652. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
  653. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
  654. package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
  655. package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
  656. package/components/menu/node_modules/rollup-plugin-serve/package.json +44 -0
  657. package/components/menu/package.json +70 -0
  658. package/components/menu/src/auro-menu.js +521 -0
  659. package/components/menu/src/auro-menuoption.js +148 -0
  660. package/components/menu/src/iconVersion.js +1 -0
  661. package/components/menu/src/index.js +8 -0
  662. package/components/menu/src/styles/color-menu-css.js +2 -0
  663. package/components/menu/src/styles/color-menu.css +4 -0
  664. package/components/menu/src/styles/color-menu.scss +12 -0
  665. package/components/menu/src/styles/color-menuoption-css.js +2 -0
  666. package/components/menu/src/styles/color-menuoption.css +23 -0
  667. package/components/menu/src/styles/color-menuoption.scss +33 -0
  668. package/components/menu/src/styles/style-menu-css.js +2 -0
  669. package/components/menu/src/styles/style-menu.css +2043 -0
  670. package/components/menu/src/styles/style-menu.scss +58 -0
  671. package/components/menu/src/styles/style-menuoption-css.js +2 -0
  672. package/components/menu/src/styles/style-menuoption.css +45 -0
  673. package/components/menu/src/styles/style-menuoption.scss +66 -0
  674. package/components/menu/src/styles/tokens-css.js +2 -0
  675. package/components/menu/src/styles/tokens.css +6 -0
  676. package/components/menu/src/styles/tokens.scss +6 -0
  677. package/components/radio/.stylelintrc.json +3 -0
  678. package/components/radio/.turbo/turbo-build$colon$sass.log +130 -0
  679. package/components/radio/.turbo/turbo-build.log +213 -0
  680. package/components/radio/.turbo/turbo-bundler.log +13 -0
  681. package/components/radio/.turbo/turbo-postCss$colon$component.log +5 -0
  682. package/components/radio/.turbo/turbo-sass$colon$render.log +34 -0
  683. package/components/radio/.turbo/turbo-types.log +4 -0
  684. package/components/radio/README.md +176 -0
  685. package/components/radio/demo/api.html +50 -0
  686. package/components/radio/demo/api.js +17 -0
  687. package/components/radio/demo/api.md +401 -0
  688. package/components/radio/demo/api.min.js +1050 -0
  689. package/components/radio/demo/index.js +8 -0
  690. package/components/radio/demo/index.md +122 -0
  691. package/components/radio/demo/index.min.js +1016 -0
  692. package/components/radio/dist/auro-radio-group.d.ts +171 -0
  693. package/components/radio/dist/auro-radio-group.d.ts.map +1 -0
  694. package/components/radio/dist/auro-radio.d.ts +113 -0
  695. package/components/radio/dist/auro-radio.d.ts.map +1 -0
  696. package/components/radio/dist/index.d.ts +4 -0
  697. package/components/radio/dist/index.d.ts.map +1 -0
  698. package/components/radio/dist/index.js +1015 -0
  699. package/components/radio/dist/styles/auro-radio-group-css.d.ts +3 -0
  700. package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +1 -0
  701. package/components/radio/dist/styles/color-css.d.ts +3 -0
  702. package/components/radio/dist/styles/color-css.d.ts.map +1 -0
  703. package/components/radio/dist/styles/groupColor-css.d.ts +3 -0
  704. package/components/radio/dist/styles/groupColor-css.d.ts.map +1 -0
  705. package/components/radio/dist/styles/style-css.d.ts +3 -0
  706. package/components/radio/dist/styles/style-css.d.ts.map +1 -0
  707. package/components/radio/dist/styles/tokens-css.d.ts +3 -0
  708. package/components/radio/dist/styles/tokens-css.d.ts.map +1 -0
  709. package/components/radio/node_modules/chalk/package.json +83 -0
  710. package/components/radio/node_modules/chalk/readme.md +325 -0
  711. package/components/radio/node_modules/chalk/source/index.d.ts +320 -0
  712. package/components/radio/node_modules/chalk/source/index.js +225 -0
  713. package/components/radio/node_modules/chalk/source/utilities.js +33 -0
  714. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  715. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  716. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  717. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  718. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  719. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  720. package/components/radio/package.json +69 -0
  721. package/components/radio/src/auro-radio-group.js +433 -0
  722. package/components/radio/src/auro-radio.js +247 -0
  723. package/components/radio/src/index.js +8 -0
  724. package/components/radio/src/styles/auro-radio-group-css.js +2 -0
  725. package/components/radio/src/styles/auro-radio-group.css +23 -0
  726. package/components/radio/src/styles/auro-radio-group.scss +36 -0
  727. package/components/radio/src/styles/color-css.js +2 -0
  728. package/components/radio/src/styles/color.css +45 -0
  729. package/components/radio/src/styles/color.scss +56 -0
  730. package/components/radio/src/styles/groupColor-css.js +2 -0
  731. package/components/radio/src/styles/groupColor.css +21 -0
  732. package/components/radio/src/styles/groupColor.scss +33 -0
  733. package/components/radio/src/styles/style-css.js +2 -0
  734. package/components/radio/src/styles/style.css +113 -0
  735. package/components/radio/src/styles/style.scss +99 -0
  736. package/components/radio/src/styles/tokens-css.js +2 -0
  737. package/components/radio/src/styles/tokens.css +9 -0
  738. package/components/radio/src/styles/tokens.scss +12 -0
  739. package/components/select/.stylelintrc.json +3 -0
  740. package/components/select/.turbo/turbo-build$colon$sass.log +122 -0
  741. package/components/select/.turbo/turbo-build.log +237 -0
  742. package/components/select/.turbo/turbo-postCss$colon$component.log +5 -0
  743. package/components/select/.turbo/turbo-sass$colon$render.log +22 -0
  744. package/components/select/README.md +205 -0
  745. package/components/select/demo/alertValue.js +6 -0
  746. package/components/select/demo/api.html +53 -0
  747. package/components/select/demo/api.js +31 -0
  748. package/components/select/demo/api.md +748 -0
  749. package/components/select/demo/api.min.js +4845 -0
  750. package/components/select/demo/index.js +9 -0
  751. package/components/select/demo/index.md +470 -0
  752. package/components/select/demo/index.min.js +4768 -0
  753. package/components/select/dist/auro-select.d.ts +174 -0
  754. package/components/select/dist/auro-select.d.ts.map +1 -0
  755. package/components/select/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  756. package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  757. package/components/select/dist/index.d.ts +3 -0
  758. package/components/select/dist/index.d.ts.map +1 -0
  759. package/components/select/dist/index.js +3732 -0
  760. package/components/select/dist/styles/color-css.d.ts +3 -0
  761. package/components/select/dist/styles/color-css.d.ts.map +1 -0
  762. package/components/select/dist/styles/style-css.d.ts +3 -0
  763. package/components/select/dist/styles/style-css.d.ts.map +1 -0
  764. package/components/select/dist/styles/tokens-css.d.ts +3 -0
  765. package/components/select/dist/styles/tokens-css.d.ts.map +1 -0
  766. package/components/select/node_modules/chalk/package.json +83 -0
  767. package/components/select/node_modules/chalk/readme.md +325 -0
  768. package/components/select/node_modules/chalk/source/index.d.ts +320 -0
  769. package/components/select/node_modules/chalk/source/index.js +225 -0
  770. package/components/select/node_modules/chalk/source/utilities.js +33 -0
  771. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  772. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  773. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  774. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  775. package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  776. package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  777. package/components/select/node_modules/mime/CHANGELOG.md +296 -0
  778. package/components/select/node_modules/mime/Mime.js +97 -0
  779. package/components/select/node_modules/mime/README.md +187 -0
  780. package/components/select/node_modules/mime/cli.js +46 -0
  781. package/components/select/node_modules/mime/index.js +4 -0
  782. package/components/select/node_modules/mime/lite.js +4 -0
  783. package/components/select/node_modules/mime/package.json +52 -0
  784. package/components/select/node_modules/mime/types/other.js +1 -0
  785. package/components/select/node_modules/mime/types/standard.js +1 -0
  786. package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
  787. package/components/select/node_modules/rollup-plugin-serve/README.md +135 -0
  788. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
  789. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
  790. package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
  791. package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
  792. package/components/select/node_modules/rollup-plugin-serve/package.json +44 -0
  793. package/components/select/package.json +70 -0
  794. package/components/select/packageScripts/postinstall.mjs +28 -0
  795. package/components/select/src/auro-select.js +537 -0
  796. package/components/select/src/formkit/auro-dropdownVersion.js +1 -0
  797. package/components/select/src/index.js +6 -0
  798. package/components/select/src/styles/color-css.js +2 -0
  799. package/components/select/src/styles/color.css +63 -0
  800. package/components/select/src/styles/color.scss +33 -0
  801. package/components/select/src/styles/style-css.js +2 -0
  802. package/components/select/src/styles/style.css +97 -0
  803. package/components/select/src/styles/style.scss +66 -0
  804. package/components/select/src/styles/tokens-css.js +2 -0
  805. package/components/select/src/styles/tokens.css +3 -0
  806. package/components/select/src/styles/tokens.scss +5 -0
  807. package/package.json +142 -0
  808. package/packages/build-tools/package.json +18 -0
  809. package/packages/build-tools/src/docProcessor.mjs +104 -0
  810. package/packages/build-tools/src/formVersionWriter.mjs +75 -0
  811. package/packages/build-tools/src/index.js +1 -0
  812. package/packages/build-tools/src/kitDocProcessor.mjs +66 -0
  813. package/packages/form-validation/package.json +12 -0
  814. package/packages/form-validation/src/index.js +1 -0
  815. package/packages/form-validation/src/validation.js +239 -0
  816. package/packages/typescript/base.json +19 -0
  817. package/packages/typescript/package.json +20 -0
  818. package/turbo.json +100 -0
@@ -0,0 +1,844 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$3=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$3.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",void 0,s$1),i$4=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
7
+
8
+ /**
9
+ * @license
10
+ * Copyright 2017 Google LLC
11
+ * SPDX-License-Identifier: BSD-3-Clause
12
+ */const{is:i$3,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$2,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$3(t,s),y$1={attribute:!0,type:String,converter:u$1,reflect:!1,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
13
+
14
+ /**
15
+ * @license
16
+ * Copyright 2017 Google LLC
17
+ * SPDX-License-Identifier: BSD-3-Clause
18
+ */
19
+ const t$1=globalThis,i$2=t$1.trustedTypes,s=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$1="?"+h,n=`<${o$1}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$2?i$2.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
20
+
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i$1=globalThis.litElementPolyfillSupport;i$1?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
26
+
27
+ /**
28
+ * @license
29
+ * Copyright 2017 Google LLC
30
+ * SPDX-License-Identifier: BSD-3-Clause
31
+ */
32
+ 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)}}
33
+
34
+ /**
35
+ * @license
36
+ * Copyright 2018 Google LLC
37
+ * SPDX-License-Identifier: BSD-3-Clause
38
+ */const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
39
+
40
+ /**
41
+ * @license
42
+ * Copyright 2018 Google LLC
43
+ * SPDX-License-Identifier: BSD-3-Clause
44
+ */const o=o=>o??E;
45
+
46
+ 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}`;
47
+
48
+ 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)}`;
49
+
50
+ 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)}`;
51
+
52
+ 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>"};
53
+
54
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
55
+ // See LICENSE in the project root for license information.
56
+
57
+ // ---------------------------------------------------------------------
58
+
59
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
60
+
61
+ class AuroLibraryRuntimeUtils {
62
+
63
+ /* eslint-disable jsdoc/require-param */
64
+
65
+ /**
66
+ * This will register a new custom element with the browser.
67
+ * @param {String} name - The name of the custom element.
68
+ * @param {Object} componentClass - The class to register as a custom element.
69
+ * @returns {void}
70
+ */
71
+ registerComponent(name, componentClass) {
72
+ if (!customElements.get(name)) {
73
+ customElements.define(name, class extends componentClass {});
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Finds and returns the closest HTML Element based on a selector.
79
+ * @returns {void}
80
+ */
81
+ closestElement(
82
+ selector, // selector like in .closest()
83
+ base = this, // extra functionality to skip a parent
84
+ __Closest = (el, found = el && el.closest(selector)) =>
85
+ !el || el === document || el === window
86
+ ? null // standard .closest() returns null for non-found selectors also
87
+ : found
88
+ ? found // found a selector INside this element
89
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
90
+ ) {
91
+ return __Closest(base);
92
+ }
93
+ /* eslint-enable jsdoc/require-param */
94
+
95
+ /**
96
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
97
+ * @param {Object} elem - The element to check.
98
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
99
+ * @returns {void}
100
+ */
101
+ handleComponentTagRename(elem, tagName) {
102
+ const tag = tagName.toLowerCase();
103
+ const elemTag = elem.tagName.toLowerCase();
104
+
105
+ if (elemTag !== tag) {
106
+ elem.setAttribute(tag, true);
107
+ }
108
+ }
109
+
110
+ /**
111
+ * Validates if an element is a specific Auro component.
112
+ * @param {Object} elem - The element to validate.
113
+ * @param {String} tagName - The name of the Auro component to check against.
114
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
115
+ */
116
+ elementMatch(elem, tagName) {
117
+ const tag = tagName.toLowerCase();
118
+ const elemTag = elem.tagName.toLowerCase();
119
+
120
+ return elemTag === tag || elem.hasAttribute(tag);
121
+ }
122
+ }
123
+
124
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
125
+ // See LICENSE in the project root for license information.
126
+
127
+
128
+ /**
129
+ * Custom element for the purpose of allowing users to select one or more options of a limited number of choices.
130
+ *
131
+ * @attr {Boolean} checked - If set to true, the checkbox will be filled with a checkmark.
132
+ * @attr {Boolean} disabled - If set to true, the checkbox will not be clickable.
133
+ * @attr {Boolean} error - If set to true, sets an error state on the checkbox.
134
+ * @attr {String} id - Sets the individual `id` per element.
135
+ * @attr {String} name - Accepts any string, `DOMString` representing the value of the input.
136
+ * @attr {String} value - Sets the element's input value.
137
+ * @csspart checkbox - apply css to a specific checkbox.
138
+ * @csspart checkbox-input - apply css to a specific checkbox's input.
139
+ * @csspart checkbox-label - apply css to a specific checkbox's label.
140
+ */
141
+
142
+ // build the component class
143
+ class AuroCheckbox extends r {
144
+ constructor() {
145
+ super();
146
+ this.checked = false;
147
+ this.disabled = false;
148
+ this.error = false;
149
+
150
+ /**
151
+ * @private
152
+ */
153
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
154
+ }
155
+
156
+ static get styles() {
157
+ return [
158
+ styleCss$1,
159
+ colorCss$1,
160
+ tokensCss
161
+ ];
162
+ }
163
+
164
+ // function to define props used within the scope of this component
165
+ static get properties() {
166
+ return {
167
+ checked: {
168
+ type: Boolean,
169
+ reflect: true
170
+ },
171
+ disabled: {
172
+ type: Boolean,
173
+ reflect: true
174
+ },
175
+ error: {
176
+ type: Boolean,
177
+ reflect: true
178
+ },
179
+ id: { type: String },
180
+ name: { type: String },
181
+ value: { type: String }
182
+ };
183
+ }
184
+
185
+ /**
186
+ * This will register this element with the browser.
187
+ * @param {string} [name="auro-checkbox"] - The name of element that you want to register to.
188
+ *
189
+ * @example
190
+ * AuroCheckbox.register("custom-checkbox") // this will register this element to <custom-checkbox/>
191
+ *
192
+ */
193
+ static register(name = "auro-checkbox") {
194
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCheckbox);
195
+ }
196
+
197
+ // This custom event is only for the purpose of supporting IE
198
+ // .addEventListener('change', function() { })
199
+ handleChange(event) {
200
+ this.checked = event.target.checked;
201
+ const customEvent = new CustomEvent(event.type, event);
202
+
203
+ this.dispatchEvent(customEvent);
204
+ }
205
+
206
+ handleInput(event) {
207
+ this.checked = event.target.checked;
208
+
209
+ this.dispatchEvent(new CustomEvent('auroCheckbox-input', {
210
+ bubbles: true,
211
+ cancelable: false,
212
+ composed: true,
213
+ }));
214
+ }
215
+
216
+ /**
217
+ * Function to support @focusin event.
218
+ * @private
219
+ * @returns {void}
220
+ */
221
+ handleFocusin() {
222
+ this.dispatchEvent(new CustomEvent('auroCheckbox-focusin', {
223
+ bubbles: true,
224
+ cancelable: false,
225
+ composed: true,
226
+ }));
227
+ }
228
+
229
+ /**
230
+ * Function to generate checkmark svg.
231
+ * @private
232
+ * @returns {void}
233
+ */
234
+ generateIconHtml() {
235
+ this.dom = new DOMParser().parseFromString(checkLg.svg, 'text/html');
236
+ this.svg = this.dom.body.firstChild;
237
+
238
+ this.svg.classList.add('svg--cbx');
239
+
240
+ return this.svg;
241
+ }
242
+
243
+ firstUpdated() {
244
+ // Add the tag name as an attribute if it is different than the component name
245
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-checkbox');
246
+
247
+ this.addEventListener('click', () => {
248
+ this.handleFocusin();
249
+ });
250
+
251
+ this.addEventListener('focusin', () => {
252
+ this.handleFocusin();
253
+ });
254
+
255
+ this.addEventListener('focusout', () => {
256
+ this.dispatchEvent(new CustomEvent('auroCheckbox-focusout', {
257
+ bubbles: true,
258
+ cancelable: false,
259
+ composed: true,
260
+ }));
261
+ });
262
+ }
263
+
264
+ // function that renders the HTML and CSS into the scope of the component
265
+ render() {
266
+ const labelClasses = {
267
+ 'label': true,
268
+ 'label--cbx': true,
269
+ 'errorBorder': this.error
270
+ };
271
+
272
+ return x`
273
+ <div class="cbxContainer" part="checkbox">
274
+ <input
275
+ class="util_displayHiddenVisually cbx--input"
276
+ part="checkbox-input"
277
+ @change=${this.handleChange}
278
+ @input="${this.handleInput}"
279
+ ?disabled="${this.disabled}"
280
+ .checked="${this.checked}"
281
+ id="${o(this.id)}"
282
+ name="${o(this.name)}"
283
+ type="checkbox"
284
+ .value="${this.value}"
285
+ />
286
+
287
+ <label for="${o(this.id)}" class="${e(labelClasses)}" part="checkbox-label">
288
+ ${this.checked ? this.generateIconHtml() : undefined}
289
+ <slot></slot>
290
+ </label>
291
+ </div>
292
+ `;
293
+ }
294
+ }
295
+
296
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
297
+ // See LICENSE in the project root for license information.
298
+
299
+
300
+ class AuroFormValidation {
301
+ constructor() {
302
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
303
+ }
304
+
305
+ /**
306
+ * Determines the validity state of the element based on the common attribute restrictions (pattern).
307
+ * @private
308
+ * @param {object} elem - HTML element to validate.
309
+ * @returns {void}
310
+ */
311
+ validateAttributes(elem) {
312
+ if (elem.pattern) {
313
+ const pattern = new RegExp(`^${elem.pattern}$`, 'u');
314
+
315
+ if (!pattern.test(elem.value)) {
316
+ elem.validity = 'badInput';
317
+ elem.setCustomValidity = elem.setCustomValidityBadInput || '';
318
+ }
319
+ } else if (elem.value && elem.value.length > 0 && elem.value.length < elem.minLength) {
320
+ elem.validity = 'tooShort';
321
+ elem.setCustomValidity = elem.setCustomValidityTooShort || '';
322
+ } else if (elem.value && elem.value.length > elem.maxLength) {
323
+ elem.validity = 'tooLong';
324
+ elem.setCustomValidity = elem.setCustomValidityTooLong || '';
325
+ }
326
+ }
327
+
328
+ /**
329
+ * Determines the validity state of the element based on the type attribute.
330
+ * @private
331
+ * @param {object} elem - HTML element to validate.
332
+ * @returns {void}
333
+ */
334
+ validateType(elem) {
335
+ if (elem.hasAttribute('type')) {
336
+ if (elem.type === 'email') {
337
+ const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
338
+
339
+ if (!elem.value.match(emailRegex)) {
340
+ elem.validity = 'badInput';
341
+ elem.setCustomValidity = elem.setCustomValidityForType || '';
342
+ }
343
+ } else if (elem.type === 'credit-card') {
344
+ if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
345
+ elem.validity = 'tooShort';
346
+ elem.setCustomValidity = elem.setCustomValidityForType || '';
347
+ }
348
+ } else if (elem.type === 'number' || elem.type === 'numeric') { // 'numeric` is a deprecated alias for number'
349
+ if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
350
+ elem.validity = 'rangeOverflow';
351
+ elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
352
+ }
353
+
354
+ if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
355
+ elem.validity = 'rangeUnderflow';
356
+ elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
357
+ }
358
+
359
+ } else if (elem.type === 'month-day-year' ||
360
+ elem.type === 'month-year' ||
361
+ elem.type === 'month-fullYear' ||
362
+ elem.type === 'year-month-day'
363
+ ) {
364
+ if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
365
+ elem.validity = 'tooShort';
366
+ elem.setCustomValidity = elem.setCustomValidityForType || '';
367
+ } else {
368
+ const valueDate = new Date(elem.value);
369
+
370
+ // validate max
371
+ if (elem.max !== undefined) {
372
+ const maxDate = new Date(elem.max);
373
+
374
+ if (valueDate > maxDate) {
375
+ elem.validity = 'rangeOverflow';
376
+ elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
377
+ }
378
+ }
379
+
380
+ // validate min
381
+ if (elem.min) {
382
+ const minDate = new Date(elem.min);
383
+
384
+ if (valueDate < minDate) {
385
+ elem.validity = 'rangeUnderflow';
386
+ elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
387
+ }
388
+ }
389
+ }
390
+ }
391
+ }
392
+ }
393
+
394
+ /**
395
+ * Determines the validity state of the element.
396
+ * @param {object} elem - HTML element to validate.
397
+ * @param {boolean} force - Boolean that forces validation to run.
398
+ * @returns {void}
399
+ */
400
+ validate(elem, force) {
401
+ this.getInputElements(elem);
402
+ this.getAuroInputs(elem);
403
+
404
+ // Validate only if noValidate is not true and the input does not have focus
405
+ const validationShouldRun = force || (!elem.contains(document.activeElement) && elem.value !== undefined) || elem.validateOnInput;
406
+
407
+ if (elem.hasAttribute('error')) {
408
+ elem.validity = 'customError';
409
+ elem.setCustomValidity = elem.error;
410
+ } else if (validationShouldRun) {
411
+ elem.validity = 'valid';
412
+ elem.setCustomValidity = '';
413
+
414
+ /**
415
+ * Only validate once we interact with the datepicker
416
+ * elem.value === undefined is the initial state pre-interaction.
417
+ *
418
+ * The validityState definitions are located at https://developer.mozilla.org/en-US/docs/Web/API/ValidityState.
419
+ */
420
+
421
+ let hasValue = elem.value && elem.value.length > 0;
422
+
423
+ // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
424
+ if (this.auroInputElements && this.auroInputElements.length === 2) {
425
+ if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
426
+ hasValue = false;
427
+ }
428
+ }
429
+
430
+ if (!hasValue && elem.required) {
431
+ elem.validity = 'valueMissing';
432
+ elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
433
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
434
+ this.validateType(elem);
435
+ this.validateAttributes(elem);
436
+ }
437
+ }
438
+
439
+ if (this.auroInputElements && this.auroInputElements.length > 0) {
440
+ elem.validity = this.auroInputElements[0].validity;
441
+ elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
442
+
443
+ if (elem.validity === 'valid') {
444
+ if (this.auroInputElements.length > 1) {
445
+ elem.validity = this.auroInputElements[1].validity;
446
+ elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
447
+ }
448
+ }
449
+ }
450
+
451
+ if (validationShouldRun || elem.hasAttribute('error')) {
452
+ if (elem.validity && elem.validity !== 'valid') {
453
+ elem.isValid = false;
454
+
455
+ // Use the validity message override if it is declared
456
+ if (elem.ValidityMessageOverride) {
457
+ elem.setCustomValidity = elem.ValidityMessageOverride;
458
+ }
459
+ } else {
460
+ elem.isValid = true;
461
+ }
462
+
463
+ this.getErrorMessage(elem);
464
+
465
+ elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
466
+ bubbles: true,
467
+ composed: true,
468
+ detail: {
469
+ validity: elem.validity,
470
+ message: elem.errorMessage
471
+ }
472
+ }));
473
+ }
474
+ }
475
+
476
+ /**
477
+ * Gets all the HTML5 `inputs` in the element shadow DOM.
478
+ * @private
479
+ * @param {object} elem - HTML element to validate.
480
+ * @returns {void}
481
+ */
482
+ getInputElements(elem) {
483
+ this.inputElements = elem.renderRoot.querySelectorAll('input');
484
+ }
485
+
486
+ /**
487
+ * Gets all the `auro-inputs` in the element shadow DOM.
488
+ * @private
489
+ * @param {object} elem - HTML element to validate.
490
+ * @returns {void}
491
+ */
492
+ getAuroInputs(elem) {
493
+ this.auroInputElements = elem.shadowRoot.querySelectorAll('auro-input, [auro-input]');
494
+ }
495
+
496
+ /**
497
+ * Return appropriate error message.
498
+ * @private
499
+ * @param {object} elem - HTML element to validate.
500
+ * @returns {void}
501
+ */
502
+ getErrorMessage(elem) {
503
+ if (elem.validity !== 'valid') {
504
+ if (elem.setCustomValidity) {
505
+ elem.errorMessage = elem.setCustomValidity;
506
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
507
+ const input = elem.renderRoot.querySelector('input');
508
+
509
+ if (input.validationMessage.length > 0) {
510
+ elem.errorMessage = input.validationMessage;
511
+ }
512
+ } else if (this.inputElements && this.inputElements.length > 0) {
513
+ const firstInput = this.inputElements[0];
514
+
515
+ if (firstInput.validationMessage.length > 0) {
516
+ elem.errorMessage = firstInput.validationMessage;
517
+ } else if (this.inputElements.length === 2) {
518
+ const secondInput = this.inputElements[1];
519
+
520
+ if (secondInput.validationMessage.length > 0) {
521
+ elem.errorMessage = secondInput.validationMessage;
522
+ }
523
+ }
524
+ }
525
+ } else {
526
+ elem.errorMessage = undefined;
527
+ }
528
+ }
529
+ }
530
+
531
+ 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)}`;
532
+
533
+ 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)}`;
534
+
535
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
536
+ // See LICENSE in the project root for license information.
537
+
538
+
539
+ /**
540
+ * The auro-checkbox-group element is a wrapper for auro-checkbox element.
541
+ *
542
+ * @attr {String} validity - Specifies the `validityState` this element is in.
543
+ * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
544
+ * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
545
+ * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
546
+ * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
547
+ * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
548
+ * @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
549
+ * @attr {Boolean} horizontal - If set, checkboxes will be aligned horizontally.
550
+ * @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
551
+ * @slot {HTMLSlotElement} optionalLabel - Allows for the optional label to be overridden.
552
+ * @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
553
+ * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
554
+ */
555
+
556
+ class AuroCheckboxGroup extends r {
557
+ constructor() {
558
+ super();
559
+
560
+ this.validity = undefined;
561
+ this.value = undefined;
562
+ this.disabled = undefined;
563
+ this.required = false;
564
+ this.horizontal = false;
565
+
566
+ /**
567
+ * @private
568
+ */
569
+ this.index = 0;
570
+
571
+ /**
572
+ * @private
573
+ */
574
+ this.maxNumber = 3;
575
+
576
+ /**
577
+ * @private
578
+ */
579
+ this.validation = new AuroFormValidation();
580
+
581
+ /**
582
+ * @private
583
+ */
584
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
585
+ }
586
+
587
+ static get styles() {
588
+ return [
589
+ styleCss,
590
+ colorCss,
591
+ tokensCss
592
+ ];
593
+ }
594
+
595
+ static get properties() {
596
+ return {
597
+ disabled: {
598
+ type: Boolean,
599
+ reflect: true
600
+ },
601
+ horizontal: {
602
+ type: Boolean,
603
+ reflect: true
604
+ },
605
+ value: {
606
+ type: Array
607
+ },
608
+ noValidate: {
609
+ type: Boolean,
610
+ reflect: true
611
+ },
612
+ required: {
613
+ type: Boolean,
614
+ reflect: true
615
+ },
616
+ error: {
617
+ type: String,
618
+ reflect: true
619
+ },
620
+ setCustomValidity: {
621
+ type: String
622
+ },
623
+ setCustomValidityCustomError: {
624
+ type: String
625
+ },
626
+ setCustomValidityValueMissing: {
627
+ type: String
628
+ },
629
+ validity: {
630
+ type: String,
631
+ reflect: true
632
+ }
633
+ };
634
+ }
635
+
636
+ /**
637
+ * This will register this element with the browser.
638
+ * @param {string} [name="auro-checkbox-group"] - The name of element that you want to register to.
639
+ *
640
+ * @example
641
+ * AuroCheckboxGroup.register("custom-checkbox-group") // this will register this element to <custom-checkbox-group/>
642
+ *
643
+ */
644
+ static register(name = "auro-checkbox-group") {
645
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCheckboxGroup);
646
+ }
647
+
648
+ connectedCallback() {
649
+ super.connectedCallback();
650
+ this.handleItems();
651
+ }
652
+
653
+ /**
654
+ * Helper method to handle checkbox value changing.
655
+ * @private
656
+ * @param {String} value - The value of the checkbox.
657
+ * @param {Boolean} selected - The checked state of the checkbox.
658
+ * @returns {void}
659
+ */
660
+ handleValueUpdate(value, selected) {
661
+ if (selected) {
662
+ // add if it isn't already in the value list
663
+ if (!this.value.includes(value)) {
664
+ this.value.push(value);
665
+ }
666
+ } else if (this.value.indexOf(value) > -1) { // eslint-disable-line no-magic-numbers
667
+ // remove if it is in the value list
668
+ const index = this.value.indexOf(value);
669
+
670
+ this.value.splice(index, 1);
671
+ }
672
+
673
+ this.dispatchEvent(new CustomEvent('input', {
674
+ bubbles: true,
675
+ cancelable: false,
676
+ composed: true,
677
+ }));
678
+
679
+ this.validation.validate(this, true);
680
+ }
681
+
682
+ firstUpdated() {
683
+ // Add the tag name as an attribute if it is different than the component name
684
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-checkbox-group');
685
+
686
+ // must declare this function as a variable to correctly pass the reference to the removeEventListener
687
+ const checkFocusWithin = function(evt) {
688
+ if (document.auroCheckboxGroupActive && !document.auroCheckboxGroupActive.contains(evt.target)) {
689
+ // if focus has left the group, cleanup and validate
690
+ document.auroCheckboxGroupActive.focusWithin = false;
691
+ window.removeEventListener('focusin', checkFocusWithin);
692
+ document.removeEventListener('click', checkFocusWithin);
693
+ // execute the validation
694
+ document.auroCheckboxGroupActive.validation.validate(document.auroCheckboxGroupActive);
695
+ }
696
+ };
697
+
698
+ this.addEventListener('auroCheckbox-focusin', () => {
699
+ if (!this.value) {
700
+ this.value = [];
701
+ }
702
+
703
+ // handle click outside the group
704
+ if (!this.focusWithin) {
705
+ document.addEventListener('click', checkFocusWithin);
706
+ }
707
+
708
+ this.focusWithin = true;
709
+ });
710
+
711
+ this.addEventListener('auroCheckbox-focusout', () => {
712
+ document.auroCheckboxGroupActive = this;
713
+
714
+ // Only add the focusWithin check event listener once as you move focus through the options
715
+ if (this.focusWithin) {
716
+ window.addEventListener('focusin', checkFocusWithin);
717
+ } else {
718
+ this.focusWithin = true;
719
+ }
720
+ });
721
+
722
+ this.addEventListener('auroCheckbox-input', (evt) => {
723
+ this.handleValueUpdate(evt.target.value, evt.target.checked);
724
+ });
725
+ }
726
+
727
+ /**
728
+ * Helper method that handles the state of preselected checkboxes.
729
+ * @private
730
+ * @returns {void}
731
+ */
732
+ handlePreselectedItems() {
733
+ let preSelectedValues = false;
734
+
735
+ this.items.forEach((item) => {
736
+ if (item.hasAttribute('checked') && this.value === undefined) {
737
+ preSelectedValues = true;
738
+ }
739
+ });
740
+
741
+ if (preSelectedValues) {
742
+ if (!this.value) {
743
+ this.value = [];
744
+ }
745
+
746
+ this.items.forEach((item) => {
747
+ this.handleValueUpdate(item.getAttribute('value'), Boolean(item.hasAttribute('checked')));
748
+ });
749
+ }
750
+ }
751
+
752
+ /**
753
+ * Helper method that handles the state of checkboxes.
754
+ * @private
755
+ * @returns {void}
756
+ */
757
+ handleItems() {
758
+ const groupTagName = this.tagName.toLowerCase();
759
+ const checkboxTagName = groupTagName.substring(0, groupTagName.indexOf('-group'));
760
+
761
+ this.items = Array.from(this.querySelectorAll(checkboxTagName));
762
+
763
+ this.handlePreselectedItems();
764
+
765
+ this.validation.validate(this);
766
+ }
767
+
768
+ /**
769
+ * LitElement lifecycle method. Called after the DOM has been updated.
770
+ * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
771
+ * @returns {void}
772
+ */
773
+ updated(changedProperties) {
774
+ if (changedProperties.has('disabled')) {
775
+ this.items.forEach((el) => {
776
+ if (this.disabled) {
777
+ el.setAttribute('disabled', true);
778
+ } else {
779
+ el.removeAttribute('disabled');
780
+ }
781
+ });
782
+ }
783
+
784
+ if (changedProperties.has('validity')) {
785
+ this.items.forEach((el) => {
786
+ if (this.validity && this.validity !== 'valid') {
787
+ el.setAttribute('error', true);
788
+ } else {
789
+ el.removeAttribute('error');
790
+ }
791
+ });
792
+ }
793
+
794
+ if (changedProperties.has('required')) {
795
+ if (this.required) {
796
+ this.setAttribute('aria-required', true);
797
+ } else {
798
+ this.removeAttribute('aria-required');
799
+ }
800
+ }
801
+
802
+ if (changedProperties.has('error')) {
803
+ if (this.error) {
804
+ this.setAttribute('aria-invalid', true);
805
+ } else {
806
+ this.removeAttribute('aria-invalid');
807
+ }
808
+
809
+ this.validation.validate(this, true);
810
+ }
811
+ }
812
+
813
+ render() {
814
+ const groupClasses = {
815
+ 'displayFlex': this.horizontal && this.items.length <= this.maxNumber
816
+ };
817
+
818
+ return x`
819
+ <fieldset class="${e(groupClasses)}">
820
+ ${this.required
821
+ ? x`<legend><slot name="legend"></slot></legend>`
822
+ : x`<legend><slot name="legend"></slot> (optional)</legend>`
823
+ }
824
+ <slot @slotchange=${this.handleItems}></slot>
825
+ </fieldset>
826
+
827
+ ${!this.validity || this.validity === undefined || this.validity === 'valid'
828
+ ? x`
829
+ <p class="checkboxGroupElement-helpText" part="helpText">
830
+ <slot name="helpText"></slot>
831
+ </p>`
832
+ : x`
833
+ <p class="checkboxGroupElement-helpText" role="alert" aria-live="assertive" part="helpText">
834
+ ${this.setCustomValidity}
835
+ </p>`
836
+ }
837
+ `;
838
+ }
839
+ }
840
+
841
+ AuroCheckbox.register();
842
+ AuroCheckboxGroup.register();
843
+
844
+ export { AuroCheckbox, AuroCheckboxGroup };