@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.51

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 (857) hide show
  1. package/CHANGELOG.md +522 -0
  2. package/NOTICE +2 -0
  3. package/README.md +83 -15
  4. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
  5. package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
  6. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/index.d.ts +2 -0
  8. package/components/bibtemplate/dist/index.js +790 -0
  9. package/components/bibtemplate/dist/registered.js +790 -0
  10. package/components/{input/dist/styles/helpText-css.d.ts → bibtemplate/dist/styles/color-css.d.ts} +0 -1
  11. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  12. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  13. package/components/checkbox/README.md +27 -35
  14. package/components/checkbox/demo/api.md +67 -68
  15. package/components/checkbox/demo/api.min.js +498 -102
  16. package/components/checkbox/demo/index.html +49 -0
  17. package/components/checkbox/demo/index.md +62 -62
  18. package/components/checkbox/demo/index.min.js +498 -102
  19. package/components/checkbox/dist/auro-checkbox-group.d.ts +45 -18
  20. package/components/checkbox/dist/auro-checkbox.d.ts +19 -7
  21. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  22. package/components/checkbox/dist/index.d.ts +0 -1
  23. package/components/checkbox/dist/index.js +498 -105
  24. package/components/checkbox/dist/registered.js +1279 -0
  25. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
  26. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
  27. package/components/checkbox/dist/styles/color-css.d.ts +0 -1
  28. package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
  29. package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
  30. package/components/combobox/README.md +25 -28
  31. package/components/combobox/demo/api.js +1 -1
  32. package/components/combobox/demo/api.md +116 -32
  33. package/components/combobox/demo/api.min.js +8211 -3863
  34. package/components/combobox/demo/index.html +57 -0
  35. package/components/combobox/demo/index.js +1 -1
  36. package/components/combobox/demo/index.md +19 -3
  37. package/components/combobox/demo/index.min.js +8208 -3860
  38. package/components/combobox/dist/auro-combobox.d.ts +123 -76
  39. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  40. package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → combobox/dist/dropdownVersion.d.ts} +0 -1
  41. package/components/combobox/dist/index.d.ts +0 -1
  42. package/components/combobox/dist/index.js +7848 -3816
  43. package/components/combobox/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  44. package/components/combobox/dist/registered.js +12269 -0
  45. package/components/combobox/dist/styles/style-css.d.ts +0 -1
  46. package/components/counter/README.md +188 -0
  47. package/components/counter/demo/api.js +3 -2
  48. package/components/counter/demo/api.md +185 -1018
  49. package/components/counter/demo/api.min.js +6190 -40
  50. package/components/counter/demo/index.html +53 -0
  51. package/components/counter/demo/index.js +2 -1
  52. package/components/counter/demo/index.md +298 -0
  53. package/components/counter/demo/index.min.js +6187 -19
  54. package/components/counter/dist/auro-counter-button.d.ts +12 -0
  55. package/components/counter/dist/auro-counter-group.d.ts +168 -5
  56. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  57. package/components/counter/dist/auro-counter.d.ts +91 -1
  58. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  59. package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → counter/dist/dropdownVersion.d.ts} +0 -1
  60. package/components/counter/dist/iconVersion.d.ts +2 -0
  61. package/components/counter/dist/index.d.ts +0 -1
  62. package/components/counter/dist/index.js +6158 -38
  63. package/components/counter/dist/registered.js +6231 -0
  64. package/components/counter/dist/styles/color-css.d.ts +2 -0
  65. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  66. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  67. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +2 -0
  68. package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
  69. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  70. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  71. package/components/counter/dist/styles/style-css.d.ts +0 -1
  72. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  73. package/components/datepicker/README.md +25 -28
  74. package/components/datepicker/demo/api.js +3 -3
  75. package/components/datepicker/demo/api.md +219 -105
  76. package/components/datepicker/demo/api.min.js +6367 -2448
  77. package/components/datepicker/demo/index.html +57 -0
  78. package/components/datepicker/demo/index.md +7 -1
  79. package/components/datepicker/demo/index.min.js +6355 -2435
  80. package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
  81. package/components/datepicker/dist/auro-calendar-month.d.ts +15 -1
  82. package/components/datepicker/dist/auro-calendar.d.ts +25 -2
  83. package/components/datepicker/dist/auro-datepicker.d.ts +41 -12
  84. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  85. package/components/datepicker/dist/dropdownVersion.d.ts +2 -1
  86. package/components/datepicker/dist/index.d.ts +0 -1
  87. package/components/datepicker/dist/index.js +6353 -2435
  88. package/components/datepicker/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  89. package/components/datepicker/dist/popoverVersion.d.ts +0 -1
  90. package/components/datepicker/dist/registered.js +22466 -0
  91. package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
  92. package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
  93. package/components/datepicker/dist/styles/color-css.d.ts +0 -1
  94. package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
  95. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
  96. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
  97. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
  98. package/components/datepicker/dist/styles/style-css.d.ts +0 -1
  99. package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
  100. package/components/datepicker/dist/utilities.d.ts +25 -1
  101. package/components/datepicker/dist/utilitiesCalendar.d.ts +2 -2
  102. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -3
  103. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
  104. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
  105. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
  106. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
  107. package/components/dropdown/README.md +19 -27
  108. package/components/dropdown/demo/api.js +1 -1
  109. package/components/dropdown/demo/api.md +43 -29
  110. package/components/dropdown/demo/api.min.js +525 -124
  111. package/components/dropdown/demo/index.html +53 -0
  112. package/components/dropdown/demo/index.js +0 -3
  113. package/components/dropdown/demo/index.min.js +525 -127
  114. package/components/dropdown/dist/auro-dropdown.d.ts +38 -7
  115. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -2
  116. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  117. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  118. package/components/dropdown/dist/iconVersion.d.ts +0 -1
  119. package/components/dropdown/dist/index.d.ts +0 -1
  120. package/components/dropdown/dist/index.js +525 -126
  121. package/components/dropdown/dist/registered.js +3365 -0
  122. package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
  123. package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
  124. package/components/dropdown/dist/styles/color-css.d.ts +0 -1
  125. package/components/dropdown/dist/styles/style-css.d.ts +0 -1
  126. package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
  127. package/components/form/README.md +29 -35
  128. package/components/form/demo/api.js +1 -1
  129. package/components/form/demo/api.min.js +497 -25
  130. package/components/form/demo/index.html +48 -0
  131. package/components/form/demo/index.min.js +497 -25
  132. package/components/form/demo/registerDemoDeps.js +22 -0
  133. package/components/form/demo/working.html +117 -0
  134. package/components/form/dist/auro-form.d.ts +194 -3
  135. package/components/form/dist/index.d.ts +0 -1
  136. package/components/form/dist/index.js +497 -27
  137. package/components/form/dist/registered.d.ts +1 -0
  138. package/components/form/dist/registered.js +632 -0
  139. package/components/form/dist/styles/style-css.d.ts +0 -1
  140. package/components/helptext/dist/auro-helptext.d.ts +53 -0
  141. package/components/helptext/dist/index.d.ts +2 -0
  142. package/components/helptext/dist/index.js +224 -0
  143. package/components/helptext/dist/registered.js +224 -0
  144. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  145. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  146. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  147. package/components/input/README.md +19 -29
  148. package/components/input/demo/api.md +152 -318
  149. package/components/input/demo/api.min.js +4214 -1780
  150. package/components/input/demo/index.html +41 -0
  151. package/components/input/demo/index.md +11 -61
  152. package/components/input/demo/index.min.js +4214 -1780
  153. package/components/input/dist/auro-input.d.ts +4 -2
  154. package/components/input/dist/base-input.d.ts +49 -16
  155. package/components/input/dist/buttonVersion.d.ts +0 -1
  156. package/components/input/dist/helptextVersion.d.ts +2 -0
  157. package/components/input/dist/i18n.d.ts +0 -1
  158. package/components/input/dist/iconVersion.d.ts +0 -1
  159. package/components/input/dist/index.d.ts +0 -1
  160. package/components/input/dist/index.js +4214 -1782
  161. package/components/input/dist/registered.js +6591 -0
  162. package/components/input/dist/styles/borders-css.d.ts +0 -1
  163. package/components/input/dist/styles/color-css.d.ts +0 -1
  164. package/components/input/dist/styles/input-css.d.ts +0 -1
  165. package/components/input/dist/styles/label-css.d.ts +0 -1
  166. package/components/input/dist/styles/mixins-css.d.ts +0 -1
  167. package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
  168. package/components/input/dist/styles/style-css.d.ts +0 -1
  169. package/components/input/dist/styles/tokens-css.d.ts +0 -1
  170. package/components/input/dist/utilities.d.ts +25 -0
  171. package/components/menu/README.md +19 -27
  172. package/components/menu/demo/api.js +1 -1
  173. package/components/menu/demo/api.md +57 -20
  174. package/components/menu/demo/api.min.js +628 -314
  175. package/components/menu/demo/index.html +50 -0
  176. package/components/menu/demo/index.min.js +626 -312
  177. package/components/menu/dist/auro-menu-utils.d.ts +42 -0
  178. package/components/menu/dist/auro-menu.d.ts +97 -82
  179. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  180. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  181. package/components/menu/dist/iconVersion.d.ts +0 -1
  182. package/components/menu/dist/index.d.ts +1 -1
  183. package/components/menu/dist/index.js +627 -316
  184. package/components/menu/dist/registered.js +1510 -0
  185. package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
  186. package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
  187. package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
  188. package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
  189. package/components/menu/dist/styles/tokens-css.d.ts +0 -1
  190. package/components/radio/README.md +19 -27
  191. package/components/radio/demo/api.md +9 -8
  192. package/components/radio/demo/api.min.js +429 -75
  193. package/components/radio/demo/index.html +48 -0
  194. package/components/radio/demo/index.min.js +429 -75
  195. package/components/radio/dist/auro-radio-group.d.ts +12 -3
  196. package/components/radio/dist/auro-radio.d.ts +0 -1
  197. package/components/radio/dist/helptextVersion.d.ts +2 -0
  198. package/components/radio/dist/index.d.ts +0 -1
  199. package/components/radio/dist/index.js +429 -78
  200. package/components/radio/dist/registered.js +1396 -0
  201. package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
  202. package/components/radio/dist/styles/color-css.d.ts +0 -1
  203. package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
  204. package/components/radio/dist/styles/style-css.d.ts +0 -1
  205. package/components/radio/dist/styles/tokens-css.d.ts +0 -1
  206. package/components/select/README.md +24 -43
  207. package/components/select/demo/api.js +1 -1
  208. package/components/select/demo/api.md +149 -32
  209. package/components/select/demo/api.min.js +2563 -749
  210. package/components/select/demo/index.html +49 -0
  211. package/components/select/demo/index.js +1 -1
  212. package/components/select/demo/index.md +21 -16
  213. package/components/select/demo/index.min.js +2570 -756
  214. package/components/select/dist/auro-select.d.ts +60 -8
  215. package/components/select/dist/bibtemplateVersion.d.ts +2 -0
  216. package/components/select/dist/dropdownVersion.d.ts +2 -0
  217. package/components/select/dist/index.d.ts +0 -1
  218. package/components/select/dist/index.js +1932 -434
  219. package/components/select/dist/registered.js +5425 -0
  220. package/components/select/dist/styles/color-css.d.ts +0 -1
  221. package/components/select/dist/styles/style-css.d.ts +0 -1
  222. package/components/select/dist/styles/tokens-css.d.ts +0 -1
  223. package/package.json +138 -66
  224. package/packages/build-tools/src/postinstall.mjs +8 -0
  225. package/.husky/commit-msg +0 -4
  226. package/.husky/pre-commit +0 -3
  227. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  228. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  229. package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
  230. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  231. package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
  232. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  233. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  234. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  235. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  236. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  237. package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
  238. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  239. package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
  240. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  241. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  242. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  243. package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
  244. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  245. package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
  246. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  247. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  248. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  249. package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
  250. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  251. package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
  252. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  253. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  254. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  255. package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
  256. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  257. package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
  258. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  259. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  260. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  261. package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
  262. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  263. package/.turbo/cache/3e12285c614db539-meta.json +0 -1
  264. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  265. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  266. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  267. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
  268. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  269. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  270. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  271. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  272. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  273. package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
  274. package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
  275. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  276. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  277. package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
  278. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  279. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  280. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  281. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  282. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  283. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  284. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  285. package/.turbo/cache/786a822763403879-meta.json +0 -1
  286. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  287. package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
  288. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  289. package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
  290. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  291. package/.turbo/cache/80a13352066a9801-meta.json +0 -1
  292. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  293. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  294. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  295. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  296. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  297. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
  298. package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
  299. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
  300. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  301. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  302. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  303. package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
  304. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  305. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
  306. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  307. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  308. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  309. package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
  310. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  311. package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
  312. package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
  313. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  314. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  315. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  316. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  317. package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
  318. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  319. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  320. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  321. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  322. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  323. package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
  324. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  325. package/.turbo/cache/d61543843c932504-meta.json +0 -1
  326. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  327. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  328. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  329. package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
  330. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  331. package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
  332. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  333. package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
  334. package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
  335. package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
  336. package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
  337. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  338. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  339. package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
  340. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  341. package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
  342. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
  343. package/components/checkbox/.stylelintrc.json +0 -3
  344. package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
  345. package/components/checkbox/.turbo/turbo-build.log +0 -185
  346. package/components/checkbox/.turbo/turbo-bundler.log +0 -13
  347. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -5
  348. package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
  349. package/components/checkbox/.turbo/turbo-types.log +0 -4
  350. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
  351. package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
  352. package/components/checkbox/dist/index.d.ts.map +0 -1
  353. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
  354. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
  355. package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
  356. package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
  357. package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
  358. package/components/checkbox/node_modules/chalk/package.json +0 -83
  359. package/components/checkbox/node_modules/chalk/readme.md +0 -325
  360. package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
  361. package/components/checkbox/node_modules/chalk/source/index.js +0 -225
  362. package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
  363. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  364. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  365. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  366. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  367. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  368. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  369. package/components/checkbox/package.json +0 -68
  370. package/components/checkbox/src/auro-checkbox-group.js +0 -331
  371. package/components/checkbox/src/auro-checkbox.js +0 -193
  372. package/components/checkbox/src/index.js +0 -8
  373. package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
  374. package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
  375. package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
  376. package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
  377. package/components/checkbox/src/styles/auro-checkbox.css +0 -123
  378. package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
  379. package/components/checkbox/src/styles/color-css.js +0 -2
  380. package/components/checkbox/src/styles/color.css +0 -84
  381. package/components/checkbox/src/styles/color.scss +0 -118
  382. package/components/checkbox/src/styles/colorGroup-css.js +0 -2
  383. package/components/checkbox/src/styles/colorGroup.css +0 -16
  384. package/components/checkbox/src/styles/colorGroup.scss +0 -24
  385. package/components/checkbox/src/styles/tokens-css.js +0 -2
  386. package/components/checkbox/src/styles/tokens.css +0 -9
  387. package/components/checkbox/src/styles/tokens.scss +0 -11
  388. package/components/combobox/.stylelintrc.json +0 -3
  389. package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
  390. package/components/combobox/.turbo/turbo-build.log +0 -163
  391. package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -5
  392. package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
  393. package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
  394. package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  395. package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  396. package/components/combobox/dist/index.d.ts.map +0 -1
  397. package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
  398. package/components/combobox/node_modules/chalk/package.json +0 -83
  399. package/components/combobox/node_modules/chalk/readme.md +0 -325
  400. package/components/combobox/node_modules/chalk/source/index.d.ts +0 -320
  401. package/components/combobox/node_modules/chalk/source/index.js +0 -225
  402. package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
  403. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  404. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  405. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  406. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  407. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  408. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  409. package/components/combobox/package.json +0 -67
  410. package/components/combobox/src/auro-combobox.js +0 -724
  411. package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
  412. package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
  413. package/components/combobox/src/index.js +0 -6
  414. package/components/combobox/src/styles/style-css.js +0 -2
  415. package/components/combobox/src/styles/style.css +0 -60
  416. package/components/combobox/src/styles/style.scss +0 -46
  417. package/components/counter/.stylelintrc.json +0 -3
  418. package/components/counter/.turbo/turbo-build$colon$sass.log +0 -66
  419. package/components/counter/.turbo/turbo-build.log +0 -87
  420. package/components/counter/.turbo/turbo-bundler.log +0 -13
  421. package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -5
  422. package/components/counter/.turbo/turbo-sass$colon$render.log +0 -16
  423. package/components/counter/.turbo/turbo-types.log +0 -4
  424. package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
  425. package/components/counter/dist/auro-counter.d.ts.map +0 -1
  426. package/components/counter/dist/index.d.ts.map +0 -1
  427. package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
  428. package/components/counter/dist/styles/style-css.d.ts.map +0 -1
  429. package/components/counter/node_modules/chalk/package.json +0 -83
  430. package/components/counter/node_modules/chalk/readme.md +0 -325
  431. package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
  432. package/components/counter/node_modules/chalk/source/index.js +0 -225
  433. package/components/counter/node_modules/chalk/source/utilities.js +0 -33
  434. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  435. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  436. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  437. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  438. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  439. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  440. package/components/counter/package.json +0 -50
  441. package/components/counter/src/auro-counter-group.js +0 -48
  442. package/components/counter/src/auro-counter.js +0 -29
  443. package/components/counter/src/index.js +0 -8
  444. package/components/counter/src/styles/counter-group-css.js +0 -2
  445. package/components/counter/src/styles/counter-group.css +0 -4
  446. package/components/counter/src/styles/counter-group.scss +0 -17
  447. package/components/counter/src/styles/style-css.js +0 -2
  448. package/components/counter/src/styles/style.css +0 -4
  449. package/components/counter/src/styles/style.scss +0 -17
  450. package/components/datepicker/.stylelintrc.json +0 -3
  451. package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
  452. package/components/datepicker/.turbo/turbo-build.log +0 -493
  453. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -5
  454. package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
  455. package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
  456. package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
  457. package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
  458. package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
  459. package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
  460. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  461. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  462. package/components/datepicker/dist/index.d.ts.map +0 -1
  463. package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
  464. package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
  465. package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
  466. package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
  467. package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
  468. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
  469. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
  470. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
  471. package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
  472. package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
  473. package/components/datepicker/dist/utilities.d.ts.map +0 -1
  474. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
  475. package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
  476. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
  477. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
  478. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
  479. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
  480. package/components/datepicker/node_modules/chalk/package.json +0 -83
  481. package/components/datepicker/node_modules/chalk/readme.md +0 -325
  482. package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
  483. package/components/datepicker/node_modules/chalk/source/index.js +0 -225
  484. package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
  485. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  486. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  487. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  488. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  489. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  490. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  491. package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  492. package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
  493. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  494. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  495. package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
  496. package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
  497. package/components/datepicker/package.json +0 -79
  498. package/components/datepicker/src/auro-calendar-cell.js +0 -381
  499. package/components/datepicker/src/auro-calendar-month.js +0 -128
  500. package/components/datepicker/src/auro-calendar.js +0 -329
  501. package/components/datepicker/src/auro-datepicker.js +0 -1002
  502. package/components/datepicker/src/dropdownVersion.js +0 -0
  503. package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
  504. package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
  505. package/components/datepicker/src/index.js +0 -6
  506. package/components/datepicker/src/popoverVersion.js +0 -1
  507. package/components/datepicker/src/styles/color-calendar-css.js +0 -2
  508. package/components/datepicker/src/styles/color-calendar.css +0 -35
  509. package/components/datepicker/src/styles/color-calendar.scss +0 -51
  510. package/components/datepicker/src/styles/color-cell-css.js +0 -2
  511. package/components/datepicker/src/styles/color-cell.css +0 -45
  512. package/components/datepicker/src/styles/color-cell.scss +0 -73
  513. package/components/datepicker/src/styles/color-css.js +0 -2
  514. package/components/datepicker/src/styles/color-month-css.js +0 -2
  515. package/components/datepicker/src/styles/color-month.css +0 -34
  516. package/components/datepicker/src/styles/color-month.scss +0 -27
  517. package/components/datepicker/src/styles/color.css +0 -43
  518. package/components/datepicker/src/styles/color.scss +0 -30
  519. package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
  520. package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
  521. package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
  522. package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
  523. package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
  524. package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
  525. package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
  526. package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
  527. package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
  528. package/components/datepicker/src/styles/style-css.js +0 -2
  529. package/components/datepicker/src/styles/style.css +0 -111
  530. package/components/datepicker/src/styles/style.scss +0 -107
  531. package/components/datepicker/src/styles/tokens-css.js +0 -2
  532. package/components/datepicker/src/styles/tokens.css +0 -22
  533. package/components/datepicker/src/styles/tokens.scss +0 -25
  534. package/components/datepicker/src/utilities.js +0 -87
  535. package/components/datepicker/src/utilitiesCalendar.js +0 -138
  536. package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
  537. package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
  538. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
  539. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
  540. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
  541. package/components/dropdown/.stylelintrc.json +0 -3
  542. package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
  543. package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
  544. package/components/dropdown/.turbo/turbo-build.log +0 -206
  545. package/components/dropdown/.turbo/turbo-bundler.log +0 -13
  546. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -5
  547. package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
  548. package/components/dropdown/.turbo/turbo-types.log +0 -4
  549. package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
  550. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
  551. package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
  552. package/components/dropdown/dist/index.d.ts.map +0 -1
  553. package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
  554. package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
  555. package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
  556. package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
  557. package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
  558. package/components/dropdown/node_modules/chalk/package.json +0 -83
  559. package/components/dropdown/node_modules/chalk/readme.md +0 -325
  560. package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
  561. package/components/dropdown/node_modules/chalk/source/index.js +0 -225
  562. package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
  563. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  564. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  565. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  566. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  567. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  568. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  569. package/components/dropdown/package.json +0 -57
  570. package/components/dropdown/src/auro-dropdown.js +0 -474
  571. package/components/dropdown/src/auro-dropdownBib.js +0 -106
  572. package/components/dropdown/src/iconVersion.js +0 -1
  573. package/components/dropdown/src/index.js +0 -6
  574. package/components/dropdown/src/styles/bibColors-css.js +0 -2
  575. package/components/dropdown/src/styles/bibColors.css +0 -6
  576. package/components/dropdown/src/styles/bibColors.scss +0 -18
  577. package/components/dropdown/src/styles/bibStyles-css.js +0 -2
  578. package/components/dropdown/src/styles/bibStyles.css +0 -43
  579. package/components/dropdown/src/styles/bibStyles.scss +0 -60
  580. package/components/dropdown/src/styles/color-css.js +0 -2
  581. package/components/dropdown/src/styles/color.css +0 -59
  582. package/components/dropdown/src/styles/color.scss +0 -79
  583. package/components/dropdown/src/styles/style-css.js +0 -2
  584. package/components/dropdown/src/styles/style.css +0 -92
  585. package/components/dropdown/src/styles/style.scss +0 -122
  586. package/components/dropdown/src/styles/tokens-css.js +0 -2
  587. package/components/dropdown/src/styles/tokens.css +0 -13
  588. package/components/dropdown/src/styles/tokens.scss +0 -15
  589. package/components/form/.stylelintrc.json +0 -3
  590. package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
  591. package/components/form/.turbo/turbo-build$colon$version.log +0 -4
  592. package/components/form/.turbo/turbo-build.log +0 -113
  593. package/components/form/.turbo/turbo-bundler.log +0 -13
  594. package/components/form/.turbo/turbo-postCss$colon$component.log +0 -5
  595. package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
  596. package/components/form/.turbo/turbo-types.log +0 -4
  597. package/components/form/dist/auro-form.d.ts.map +0 -1
  598. package/components/form/dist/index.d.ts.map +0 -1
  599. package/components/form/dist/styles/style-css.d.ts.map +0 -1
  600. package/components/form/node_modules/chalk/package.json +0 -83
  601. package/components/form/node_modules/chalk/readme.md +0 -325
  602. package/components/form/node_modules/chalk/source/index.d.ts +0 -320
  603. package/components/form/node_modules/chalk/source/index.js +0 -225
  604. package/components/form/node_modules/chalk/source/utilities.js +0 -33
  605. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  606. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  607. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  608. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  609. package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  610. package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  611. package/components/form/package.json +0 -72
  612. package/components/form/src/auro-form.js +0 -74
  613. package/components/form/src/index.js +0 -6
  614. package/components/form/src/styles/style-css.js +0 -2
  615. package/components/form/src/styles/style.css +0 -36
  616. package/components/form/src/styles/style.scss +0 -37
  617. package/components/input/.stylelintrc.json +0 -3
  618. package/components/input/.turbo/turbo-build$colon$sass.log +0 -198
  619. package/components/input/.turbo/turbo-build$colon$version.log +0 -10
  620. package/components/input/.turbo/turbo-build.log +0 -353
  621. package/components/input/.turbo/turbo-bundler.log +0 -13
  622. package/components/input/.turbo/turbo-postCss$colon$component.log +0 -5
  623. package/components/input/.turbo/turbo-sass$colon$render.log +0 -58
  624. package/components/input/.turbo/turbo-types.log +0 -4
  625. package/components/input/dist/auro-input.d.ts.map +0 -1
  626. package/components/input/dist/base-input.d.ts.map +0 -1
  627. package/components/input/dist/buttonVersion.d.ts.map +0 -1
  628. package/components/input/dist/i18n.d.ts.map +0 -1
  629. package/components/input/dist/iconVersion.d.ts.map +0 -1
  630. package/components/input/dist/index.d.ts.map +0 -1
  631. package/components/input/dist/styles/borders-css.d.ts.map +0 -1
  632. package/components/input/dist/styles/color-css.d.ts.map +0 -1
  633. package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
  634. package/components/input/dist/styles/input-css.d.ts.map +0 -1
  635. package/components/input/dist/styles/label-css.d.ts.map +0 -1
  636. package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
  637. package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
  638. package/components/input/dist/styles/style-css.d.ts.map +0 -1
  639. package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
  640. package/components/input/node_modules/chalk/package.json +0 -83
  641. package/components/input/node_modules/chalk/readme.md +0 -325
  642. package/components/input/node_modules/chalk/source/index.d.ts +0 -320
  643. package/components/input/node_modules/chalk/source/index.js +0 -225
  644. package/components/input/node_modules/chalk/source/utilities.js +0 -33
  645. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  646. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  647. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  648. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  649. package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  650. package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  651. package/components/input/package.json +0 -75
  652. package/components/input/src/auro-input.js +0 -241
  653. package/components/input/src/base-input.js +0 -1103
  654. package/components/input/src/buttonVersion.js +0 -1
  655. package/components/input/src/i18n.js +0 -102
  656. package/components/input/src/iconVersion.js +0 -1
  657. package/components/input/src/index.js +0 -6
  658. package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
  659. package/components/input/src/styles/borders-css.js +0 -2
  660. package/components/input/src/styles/borders.css +0 -35
  661. package/components/input/src/styles/borders.scss +0 -49
  662. package/components/input/src/styles/color-css.js +0 -2
  663. package/components/input/src/styles/color.css +0 -62
  664. package/components/input/src/styles/color.scss +0 -89
  665. package/components/input/src/styles/helpText-css.js +0 -2
  666. package/components/input/src/styles/helpText.css +0 -6
  667. package/components/input/src/styles/helpText.scss +0 -9
  668. package/components/input/src/styles/input-css.js +0 -2
  669. package/components/input/src/styles/input.css +0 -35
  670. package/components/input/src/styles/input.scss +0 -53
  671. package/components/input/src/styles/label-css.js +0 -2
  672. package/components/input/src/styles/label.css +0 -45
  673. package/components/input/src/styles/label.scss +0 -71
  674. package/components/input/src/styles/mixins-css.js +0 -2
  675. package/components/input/src/styles/mixins.css +0 -1
  676. package/components/input/src/styles/mixins.scss +0 -45
  677. package/components/input/src/styles/notificationIcons-css.js +0 -2
  678. package/components/input/src/styles/notificationIcons.css +0 -84
  679. package/components/input/src/styles/notificationIcons.scss +0 -109
  680. package/components/input/src/styles/style-css.js +0 -2
  681. package/components/input/src/styles/style.css +0 -290
  682. package/components/input/src/styles/style.scss +0 -53
  683. package/components/input/src/styles/tokens-css.js +0 -2
  684. package/components/input/src/styles/tokens.css +0 -9
  685. package/components/input/src/styles/tokens.scss +0 -11
  686. package/components/menu/.stylelintrc.json +0 -3
  687. package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
  688. package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
  689. package/components/menu/.turbo/turbo-build.log +0 -184
  690. package/components/menu/.turbo/turbo-bundler.log +0 -13
  691. package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -5
  692. package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
  693. package/components/menu/.turbo/turbo-types.log +0 -4
  694. package/components/menu/dist/auro-menu.d.ts.map +0 -1
  695. package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
  696. package/components/menu/dist/iconVersion.d.ts.map +0 -1
  697. package/components/menu/dist/index.d.ts.map +0 -1
  698. package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
  699. package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
  700. package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
  701. package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
  702. package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
  703. package/components/menu/node_modules/chalk/package.json +0 -83
  704. package/components/menu/node_modules/chalk/readme.md +0 -325
  705. package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
  706. package/components/menu/node_modules/chalk/source/index.js +0 -225
  707. package/components/menu/node_modules/chalk/source/utilities.js +0 -33
  708. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  709. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  710. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  711. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  712. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  713. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  714. package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
  715. package/components/menu/node_modules/mime/Mime.js +0 -97
  716. package/components/menu/node_modules/mime/README.md +0 -187
  717. package/components/menu/node_modules/mime/cli.js +0 -46
  718. package/components/menu/node_modules/mime/index.js +0 -4
  719. package/components/menu/node_modules/mime/lite.js +0 -4
  720. package/components/menu/node_modules/mime/package.json +0 -52
  721. package/components/menu/node_modules/mime/types/other.js +0 -1
  722. package/components/menu/node_modules/mime/types/standard.js +0 -1
  723. package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  724. package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
  725. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  726. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  727. package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  728. package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  729. package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
  730. package/components/menu/package.json +0 -70
  731. package/components/menu/src/auro-menu.js +0 -539
  732. package/components/menu/src/auro-menuoption.js +0 -147
  733. package/components/menu/src/iconVersion.js +0 -1
  734. package/components/menu/src/index.js +0 -8
  735. package/components/menu/src/styles/color-menu-css.js +0 -2
  736. package/components/menu/src/styles/color-menu.css +0 -4
  737. package/components/menu/src/styles/color-menu.scss +0 -12
  738. package/components/menu/src/styles/color-menuoption-css.js +0 -2
  739. package/components/menu/src/styles/color-menuoption.css +0 -23
  740. package/components/menu/src/styles/color-menuoption.scss +0 -33
  741. package/components/menu/src/styles/style-menu-css.js +0 -2
  742. package/components/menu/src/styles/style-menu.css +0 -2061
  743. package/components/menu/src/styles/style-menu.scss +0 -80
  744. package/components/menu/src/styles/style-menuoption-css.js +0 -2
  745. package/components/menu/src/styles/style-menuoption.css +0 -45
  746. package/components/menu/src/styles/style-menuoption.scss +0 -66
  747. package/components/menu/src/styles/tokens-css.js +0 -2
  748. package/components/menu/src/styles/tokens.css +0 -6
  749. package/components/menu/src/styles/tokens.scss +0 -6
  750. package/components/radio/.stylelintrc.json +0 -3
  751. package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
  752. package/components/radio/.turbo/turbo-build.log +0 -216
  753. package/components/radio/.turbo/turbo-bundler.log +0 -13
  754. package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -5
  755. package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
  756. package/components/radio/.turbo/turbo-types.log +0 -4
  757. package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
  758. package/components/radio/dist/auro-radio.d.ts.map +0 -1
  759. package/components/radio/dist/index.d.ts.map +0 -1
  760. package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
  761. package/components/radio/dist/styles/color-css.d.ts.map +0 -1
  762. package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
  763. package/components/radio/dist/styles/style-css.d.ts.map +0 -1
  764. package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
  765. package/components/radio/node_modules/chalk/package.json +0 -83
  766. package/components/radio/node_modules/chalk/readme.md +0 -325
  767. package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
  768. package/components/radio/node_modules/chalk/source/index.js +0 -225
  769. package/components/radio/node_modules/chalk/source/utilities.js +0 -33
  770. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  771. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  772. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  773. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  774. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  775. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  776. package/components/radio/package.json +0 -69
  777. package/components/radio/src/auro-radio-group.js +0 -433
  778. package/components/radio/src/auro-radio.js +0 -256
  779. package/components/radio/src/index.js +0 -8
  780. package/components/radio/src/styles/auro-radio-group-css.js +0 -2
  781. package/components/radio/src/styles/auro-radio-group.css +0 -23
  782. package/components/radio/src/styles/auro-radio-group.scss +0 -36
  783. package/components/radio/src/styles/color-css.js +0 -2
  784. package/components/radio/src/styles/color.css +0 -45
  785. package/components/radio/src/styles/color.scss +0 -56
  786. package/components/radio/src/styles/groupColor-css.js +0 -2
  787. package/components/radio/src/styles/groupColor.css +0 -21
  788. package/components/radio/src/styles/groupColor.scss +0 -33
  789. package/components/radio/src/styles/style-css.js +0 -2
  790. package/components/radio/src/styles/style.css +0 -113
  791. package/components/radio/src/styles/style.scss +0 -99
  792. package/components/radio/src/styles/tokens-css.js +0 -2
  793. package/components/radio/src/styles/tokens.css +0 -9
  794. package/components/radio/src/styles/tokens.scss +0 -12
  795. package/components/select/.stylelintrc.json +0 -3
  796. package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
  797. package/components/select/.turbo/turbo-build.log +0 -241
  798. package/components/select/.turbo/turbo-postCss$colon$component.log +0 -5
  799. package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
  800. package/components/select/dist/auro-select.d.ts.map +0 -1
  801. package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  802. package/components/select/dist/index.d.ts.map +0 -1
  803. package/components/select/dist/styles/color-css.d.ts.map +0 -1
  804. package/components/select/dist/styles/style-css.d.ts.map +0 -1
  805. package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
  806. package/components/select/node_modules/chalk/package.json +0 -83
  807. package/components/select/node_modules/chalk/readme.md +0 -325
  808. package/components/select/node_modules/chalk/source/index.d.ts +0 -320
  809. package/components/select/node_modules/chalk/source/index.js +0 -225
  810. package/components/select/node_modules/chalk/source/utilities.js +0 -33
  811. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  812. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  813. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  814. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  815. package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  816. package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  817. package/components/select/node_modules/mime/CHANGELOG.md +0 -296
  818. package/components/select/node_modules/mime/Mime.js +0 -97
  819. package/components/select/node_modules/mime/README.md +0 -187
  820. package/components/select/node_modules/mime/cli.js +0 -46
  821. package/components/select/node_modules/mime/index.js +0 -4
  822. package/components/select/node_modules/mime/lite.js +0 -4
  823. package/components/select/node_modules/mime/package.json +0 -52
  824. package/components/select/node_modules/mime/types/other.js +0 -1
  825. package/components/select/node_modules/mime/types/standard.js +0 -1
  826. package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  827. package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
  828. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  829. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  830. package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  831. package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  832. package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
  833. package/components/select/package.json +0 -70
  834. package/components/select/packageScripts/postinstall.mjs +0 -28
  835. package/components/select/src/auro-select.js +0 -559
  836. package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
  837. package/components/select/src/index.js +0 -6
  838. package/components/select/src/styles/color-css.js +0 -2
  839. package/components/select/src/styles/color.css +0 -63
  840. package/components/select/src/styles/color.scss +0 -33
  841. package/components/select/src/styles/style-css.js +0 -2
  842. package/components/select/src/styles/style.css +0 -104
  843. package/components/select/src/styles/style.scss +0 -76
  844. package/components/select/src/styles/tokens-css.js +0 -2
  845. package/components/select/src/styles/tokens.css +0 -3
  846. package/components/select/src/styles/tokens.scss +0 -5
  847. package/packages/build-tools/package.json +0 -15
  848. package/packages/build-tools/src/docProcessor.mjs +0 -104
  849. package/packages/build-tools/src/formVersionWriter.mjs +0 -75
  850. package/packages/build-tools/src/index.js +0 -1
  851. package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
  852. package/packages/form-validation/package.json +0 -12
  853. package/packages/form-validation/src/index.js +0 -1
  854. package/packages/form-validation/src/validation.js +0 -259
  855. package/packages/typescript/base.json +0 -19
  856. package/packages/typescript/package.json +0 -20
  857. package/turbo.json +0 -100
@@ -1,1103 +0,0 @@
1
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2
- // See LICENSE in the project root for license information.
3
-
4
- // ---------------------------------------------------------------------
5
-
6
- /* eslint-disable max-lines, no-magic-numbers, dot-location */
7
- /* eslint no-magic-numbers: ["error", { "ignore": [0] }] */
8
-
9
- import { LitElement, css } from "lit";
10
- import { ifDefined } from 'lit/directives/if-defined.js';
11
-
12
- import styleCss from "./styles/style-css.js";
13
- import colorCss from "./styles/color-css.js";
14
- import tokensCss from "./styles/tokens-css.js";
15
-
16
- import Cleave from 'cleave.js';
17
- import i18n, {notifyOnLangChange, stopNotifyingOnLangChange} from './i18n.js';
18
-
19
- import AuroFormValidation from '@auro-formkit/form-validation';
20
-
21
- /**
22
- * Auro-input provides users a way to enter data into a text field.
23
- *
24
- * @attr {Boolean} bordered - Applies bordered UI variant.
25
- * @attr {Boolean} borderless - Applies borderless UI variant.
26
- *
27
- * @slot helptext - Sets the help text displayed below the input.
28
- * @slot label - Sets the label text for the input.
29
- *
30
- * @csspart wrapper - Use for customizing the style of the root element
31
- * @csspart label - Use for customizing the style of the label element
32
- * @csspart helpText - Use for customizing the style of the helpText element
33
- * @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
34
- * @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
35
- * @event input - Event fires when the value of an `auro-input` has been changed.
36
- * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
37
- */
38
-
39
- export default class BaseInput extends LitElement {
40
-
41
- constructor() {
42
- super();
43
-
44
- this.icon = false;
45
- this.disabled = false;
46
- this.required = false;
47
- this.noValidate = false;
48
- this.max = undefined;
49
- this.min = undefined;
50
- this.maxLength = undefined;
51
- this.minLength = undefined;
52
- this.activeLabel = false;
53
- this.setCustomValidityForType = undefined;
54
- }
55
-
56
- /**
57
- * Internal Defaults.
58
- * @private
59
- * @returns {void}
60
- */
61
- privateDefaults() {
62
- this.validation = new AuroFormValidation();
63
- this.inputIconName = undefined;
64
- this.showPassword = false;
65
- this.validationCCLength = undefined;
66
- this.hasValue = false;
67
- this.label = 'Input label is undefined';
68
-
69
- this.allowedInputTypes = [
70
- "text",
71
- "number",
72
- "email",
73
- "password",
74
- "credit-card",
75
- "month-day-year",
76
- "year-month-day",
77
- "month-year"
78
- ];
79
-
80
- this.dateInputTypes = [
81
- "month-day-year",
82
- "year-month-day",
83
- "month-year",
84
- "month-fullYear",
85
- "month",
86
- "year",
87
- "fullYear"
88
- ];
89
-
90
- this.autoFormattingTypes = [
91
- 'credit-card',
92
- 'month-day-year',
93
- 'month-year',
94
- 'month-fullyear',
95
- 'year-month-day'
96
- ];
97
-
98
- /**
99
- * Credit Card is not included as this caused cursor placement issues.
100
- * The Safari issue.
101
- */
102
- this.setSelectionInputTypes = [
103
- "text",
104
- "password",
105
- "email",
106
- ];
107
-
108
- const idLength = 36;
109
- const idSubstrEnd = 8;
110
- const idSubstrStart = 2;
111
-
112
- this.uniqueId = Math.random()
113
- .toString(idLength)
114
- .substring(idSubstrStart, idSubstrEnd);
115
- }
116
-
117
- // function to define props used within the scope of this componentstatic
118
- static get properties() {
119
- return {
120
-
121
- /**
122
- * If set, the label will remain fixed in the active position.
123
- */
124
- activeLabel: {
125
- type: Boolean,
126
- reflect: true
127
- },
128
-
129
- /**
130
- * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
131
- */
132
- autocapitalize: {
133
- type: String
134
- },
135
-
136
- /**
137
- * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
138
- */
139
- autocomplete: {
140
- type: String,
141
- reflect: true
142
- },
143
-
144
- /**
145
- * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
146
- */
147
- autocorrect: {
148
- type: String
149
- },
150
-
151
- /**
152
- * If set, disables the input.
153
- */
154
- disabled: {
155
- type: Boolean
156
- },
157
-
158
- error: {
159
- type: String,
160
- reflect: true
161
- },
162
-
163
- /**
164
- * Contains the help text message for the current validity error.
165
- */
166
- errorMessage: {
167
- type: String
168
- },
169
-
170
- /**
171
- * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
172
- */
173
- icon: {
174
- type: Boolean
175
- },
176
-
177
- /**
178
- * Sets the unique ID of the element.
179
- */
180
- id: {
181
- type: String
182
- },
183
-
184
- /**
185
- * Defines the language of an element.
186
- */
187
- lang: {
188
- type: String
189
- },
190
-
191
- /**
192
- * The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
193
- */
194
- max: {
195
- type: String
196
- },
197
-
198
- /**
199
- * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
200
- */
201
- maxLength: {
202
- type: Number
203
- },
204
-
205
- /**
206
- * The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
207
- */
208
- min: {
209
- type: String
210
- },
211
-
212
- /**
213
- * The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
214
- */
215
- minLength: {
216
- type: Number
217
- },
218
-
219
- /**
220
- * Populates the `name` attribute on the input.
221
- */
222
- name: {
223
- type: String
224
- },
225
-
226
- /**
227
- * If set, disables auto-validation on blur.
228
- */
229
- noValidate: {
230
- type: Boolean
231
- },
232
-
233
- /**
234
- * Specifies a regular expression the form control's value should match.
235
- */
236
- pattern: {
237
- type: String,
238
- reflect: true
239
- },
240
-
241
- /**
242
- * Define custom placeholder text, only supported by date input formats.
243
- */
244
- placeholder: {
245
- type: String
246
- },
247
-
248
- /**
249
- * Makes the input read-only, but can be set programmatically.
250
- */
251
- readonly: {
252
- type: Boolean
253
- },
254
-
255
- /**
256
- * Populates the `required` attribute on the input. Used for client-side validation.
257
- */
258
- required: {
259
- type: Boolean
260
- },
261
-
262
- /**
263
- * @ignore
264
- */
265
- showPassword: {
266
- state: true
267
- },
268
-
269
- /**
270
- * Sets a custom help text message to display for all validityStates.
271
- */
272
- setCustomValidity: {
273
- type: String
274
- },
275
-
276
- /**
277
- * Custom help text message to display when validity = `badInput`.
278
- */
279
- setCustomValidityBadInput: {
280
- type: String
281
- },
282
-
283
- /**
284
- * Custom help text message to display when validity = `customError`.
285
- */
286
- setCustomValidityCustomError: {
287
- type: String
288
- },
289
-
290
- /**
291
- * Custom help text message to display for the declared element `type` and type validity fails.
292
- */
293
- setCustomValidityForType: {
294
- type: String
295
- },
296
-
297
- /**
298
- * Custom help text message to display when validity = `rangeOverflow`.
299
- */
300
- setCustomValidityRangeOverflow: {
301
- type: String
302
- },
303
-
304
- /**
305
- * Custom help text message to display when validity = `rangeUnderflow`.
306
- */
307
- setCustomValidityRangeUnderflow: {
308
- type: String
309
- },
310
-
311
- /**
312
- * Custom help text message to display when validity = `tooLong`.
313
- */
314
- setCustomValidityTooLong: {
315
- type: String
316
- },
317
-
318
- /**
319
- * Custom help text message to display when validity = `tooShort`.
320
- */
321
- setCustomValidityTooShort: {
322
- type: String
323
- },
324
-
325
- /**
326
- * Custom help text message to display when validity = `valueMissing`.
327
- */
328
- setCustomValidityValueMissing: {
329
- type: String
330
- },
331
-
332
- /**
333
- * Custom help text message for email type validity.
334
- */
335
- customValidityTypeEmail: {
336
- type: String
337
- },
338
-
339
- /**
340
- * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
341
- */
342
- spellcheck: {
343
- type: String
344
- },
345
-
346
- /**
347
- * Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
348
- */
349
- type: {
350
- type: String,
351
- reflect: true
352
- },
353
-
354
- /**
355
- * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
356
- */
357
- value: {
358
- type: String
359
- },
360
-
361
- /**
362
- * Sets validation mode to re-eval with each input.
363
- */
364
- validateOnInput: {
365
- type: Boolean
366
- },
367
-
368
- /**
369
- * Specifies the `validityState` this element is in.
370
- */
371
- validity: {
372
- type: String,
373
- reflect: true
374
- }
375
- };
376
- }
377
-
378
-
379
- static get styles() {
380
- return [
381
- css`${colorCss}`,
382
- css`${styleCss}`,
383
- css`${tokensCss}`
384
- ];
385
- }
386
-
387
- connectedCallback() {
388
- super.connectedCallback();
389
-
390
- this.privateDefaults();
391
-
392
- notifyOnLangChange(this);
393
-
394
- // Process auto-formatting if defined for CleaveJS
395
- if (this.type) {
396
- let config = null;
397
-
398
- // Set config for credit card
399
- switch (this.type) {
400
- case 'number':
401
- config = {
402
- numeral: true,
403
- delimiter: ''
404
- };
405
-
406
- this.inputMode = 'numeric';
407
-
408
- break;
409
-
410
- case 'credit-card':
411
- config = {
412
- creditCard: true
413
- };
414
-
415
- this.inputMode = 'numeric';
416
-
417
- break;
418
-
419
- case 'month-day-year':
420
- config = {
421
- date: true,
422
- delimiter: '/',
423
- datePattern: [
424
- 'm',
425
- 'd',
426
- 'Y'
427
- ]
428
- };
429
-
430
- this.inputMode = 'numeric';
431
-
432
- break;
433
-
434
- case 'year-month-day':
435
- config = {
436
- date: true,
437
- delimiter: '/',
438
- datePattern: [
439
- 'Y',
440
- 'm',
441
- 'd'
442
- ]
443
- };
444
-
445
- this.inputMode = 'numeric';
446
-
447
- break;
448
-
449
- case 'month-year':
450
- config = {
451
- date: true,
452
- datePattern: [
453
- 'm',
454
- 'y'
455
- ]
456
- };
457
-
458
- this.inputMode = 'numeric';
459
-
460
- break;
461
-
462
- case 'month-fullYear':
463
- config = {
464
- date: true,
465
- datePattern: [
466
- 'm',
467
- 'Y'
468
- ]
469
- };
470
-
471
- this.inputMode = 'numeric';
472
-
473
- break;
474
-
475
- case 'fullYear':
476
- config = {
477
- date: true,
478
- datePattern: ['Y']
479
- };
480
-
481
- this.inputMode = 'numeric';
482
-
483
- break;
484
-
485
- case 'year':
486
- config = {
487
- date: true,
488
- datePattern: ['y']
489
- };
490
-
491
- this.inputMode = 'numeric';
492
-
493
- break;
494
-
495
- case 'month':
496
- config = {
497
- date: true,
498
- datePattern: ['m']
499
- };
500
-
501
- this.inputMode = 'numeric';
502
-
503
- break;
504
-
505
- default:
506
- // Do nothing
507
- }
508
-
509
- // initialize CleaveJS if we have a defined config for the requested format
510
- if (config) {
511
- // eslint-disable-next-line no-unused-vars
512
- const cleave = new Cleave(this, config);
513
- }
514
- }
515
- }
516
-
517
- disconnectedCallback() {
518
- super.disconnectedCallback();
519
- stopNotifyingOnLangChange(this);
520
- }
521
-
522
- firstUpdated() {
523
- // add attribute for query selectors when auro-input is registered under a custom name
524
- if (this.tagName.toLowerCase() !== 'auro-input') {
525
- this.setAttribute('auro-input', true);
526
- }
527
-
528
- this.inputElement = this.renderRoot.querySelector('input');
529
- this.labelElement = this.shadowRoot.querySelector('label');
530
-
531
- // use validity message override if declared when initializing the component
532
- if (this.hasAttribute('setCustomValidity')) {
533
- this.ValidityMessageOverride = this.setCustomValidity;
534
- }
535
-
536
- // if setCustomValidityForType is not set, use our default
537
- if (!this.setCustomValidityForType) {
538
- if (this.type === 'password') {
539
- this.setCustomValidityForType = i18n(this.lang, 'password');
540
- } else if (this.type === 'credit-card') {
541
- this.setCustomValidityForType = i18n(this.lang, 'creditcard');
542
- } else if (this.type === 'email') {
543
- this.setCustomValidityForType = i18n(this.lang, 'email');
544
- } else if (this.type === 'month-day-year') {
545
- this.setCustomValidityForType = i18n(this.lang, 'dateMMDDYYYY');
546
- } else if (this.type === 'month-year') {
547
- this.setCustomValidityForType = i18n(this.lang, 'dateMMYY');
548
- } else if (this.type === 'month-fullyear') {
549
- this.setCustomValidityForType = i18n(this.lang, 'dateMMYYYY');
550
- } else if (this.type === 'year-month-day') {
551
- this.setCustomValidityForType = i18n(this.lang, 'dateYYYYMMDD');
552
- } else if (this.type === 'year') {
553
- this.setCustomValidityForType = i18n(this.lang, 'dateYY');
554
- } else if (this.type === 'fullYear') {
555
- this.setCustomValidityForType = i18n(this.lang, 'dateYYYY');
556
- } else if (this.type === 'month') {
557
- this.setCustomValidityForType = i18n(this.lang, 'dateMM');
558
- }
559
- }
560
-
561
- this.addEventListener('keydown', (evt) => {
562
- if (this.autoFormattingTypes.includes(this.type)) {
563
- if (evt.key.length === 1 || evt.key === 'Backspace' || evt.key === 'Delete') {
564
- if (evt.key.length === 1) {
565
- const numCharSelected = this.inputElement.selectionEnd - this.inputElement.selectionStart;
566
-
567
- if (numCharSelected > 1) {
568
- this.cursorPosition = this.inputElement.selectionStart + 1;
569
- } else if (numCharSelected === 1) {
570
- this.cursorPosition = this.inputElement.selectionEnd;
571
- } else {
572
- this.cursorPosition = this.inputElement.selectionEnd + 1;
573
- }
574
- } else if (evt.key === 'Backspace') {
575
- this.cursorPosition = this.inputElement.selectionEnd - 1;
576
- } else if (evt.key === 'Delete') {
577
- this.cursorPosition = this.inputElement.selectionEnd;
578
- }
579
- }
580
-
581
- if (evt.key === "ArrowUp" || evt.key === "ArrowDown" || evt.key === "ArrowLeft" || evt.key === "ArrowRight") {
582
- if (evt.key === 'ArrowUp') {
583
- this.cursorPosition = 0;
584
- } else if (evt.key === 'ArrowDown') {
585
- this.cursorPosition = this.value.length;
586
- } else if (evt.key === 'ArrowLeft') {
587
- this.cursorPosition = this.inputElement.selectionEnd - 1;
588
- } else if (evt.key === 'ArrowRight') {
589
- this.cursorPosition = this.inputElement.selectionEnd + 1;
590
- }
591
- }
592
- }
593
- });
594
- }
595
-
596
- /**
597
- * LitElement lifecycle method. Called after the DOM has been updated.
598
- * @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
599
- * @returns {void}
600
- */
601
- updated(changedProperties) {
602
- if (this.type === 'password') {
603
- this.spellcheck = 'false';
604
- }
605
-
606
- if (this.spellcheck === 'false') {
607
- this.autocorrect = 'off';
608
- this.autocapitalize = 'none';
609
- } else {
610
- this.autocorrect = this.autocorrect ? this.autocorrect : undefined;
611
- this.autocapitalize = undefined;
612
- }
613
-
614
- if (changedProperties.has('readonly')) {
615
- if (this.readonly) {
616
- this.inputElement.setAttribute('readonly', true);
617
- this.inputElement.setAttribute('aria-readonly', true);
618
- } else {
619
- this.inputElement.removeAttribute('readonly');
620
- this.inputElement.removeAttribute('aria-readonly');
621
- }
622
- }
623
-
624
- if (changedProperties.has('type')) {
625
- this.configureDataForType();
626
- }
627
-
628
- if (changedProperties.has('value')) {
629
- if (this.value && this.value.length > 0) {
630
- this.hasValue = true;
631
- this.requestUpdate();
632
- } else {
633
- this.hasValue = false;
634
- this.requestUpdate();
635
- }
636
-
637
- if (this.value !== this.inputElement.value) {
638
- if (this.value) {
639
- this.inputElement.value = this.value;
640
- } else {
641
- this.inputElement.value = '';
642
- }
643
-
644
- if (!this.shadowRoot.contains(this.getActiveElement())) {
645
- this.validation.validate(this);
646
- }
647
-
648
- this.notifyValueChanged();
649
- }
650
- this.autoFormatHandling();
651
- }
652
-
653
- if (changedProperties.has('error')) {
654
- this.validation.validate(this, true);
655
- }
656
-
657
- if (changedProperties.has('validity')) {
658
- this.notifyValidityChange();
659
- }
660
- }
661
-
662
- /**
663
- * @private
664
- * @returns {void} Handles cursor position when input auto-formats.
665
- */
666
- autoFormatHandling() {
667
- if (this.cursorPosition >= 0 && this.autoFormattingTypes.includes(this.type)) {
668
- if (this.type === 'credit-card' && this.inputElement.value.charAt(this.cursorPosition) === ' ') {
669
- this.cursorPosition += 1;
670
- } else if (this.dateInputTypes.includes(this.type)) {
671
- const divider = '/';
672
- const dividerNextChar = this.inputElement.value.charAt(this.cursorPosition) === divider;
673
-
674
- if (this.cursorPosition > 1 && dividerNextChar && this.inputElement.value.charAt(this.cursorPosition - 2) !== divider) {
675
- this.cursorPosition += 1;
676
- } else if (this.cursorPosition > 0 && this.inputElement.value.charAt(this.cursorPosition + 1) === divider
677
- && this.inputElement.value.charAt(this.cursorPosition - 1) === '0') { // eslint-disable-line operator-linebreak
678
- this.cursorPosition += 2;
679
- }
680
- }
681
-
682
- this.inputElement.setSelectionRange(this.cursorPosition, this.cursorPosition);
683
- }
684
- }
685
-
686
- /**
687
- * @private
688
- * @returns {void} Notify validity state changed via event.
689
- */
690
- notifyValidityChange() {
691
- this.dispatchEvent(new CustomEvent('auroInput-validityChange', {
692
- bubbles: true,
693
- cancelable: false,
694
- composed: true,
695
- }));
696
- }
697
-
698
- /**
699
- * @private
700
- * @returns {string}
701
- */
702
- definePattern() {
703
- if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
704
- return `.{${this.maxLength},${this.maxLength}}`;
705
- }
706
-
707
- return this.pattern;
708
- }
709
-
710
- /**
711
- * Function to set element focus.
712
- * @private
713
- * @return {void}
714
- */
715
- focus() {
716
- this.inputElement.focus();
717
- }
718
-
719
- /**
720
- * Required to convert SVG icons from data to HTML string.
721
- * @private
722
- * @param {string} icon HTML string for requested icon.
723
- * @returns {object} Appended HTML for SVG.
724
- */
725
- getIconAsHtml(icon) {
726
- const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
727
-
728
- return dom.body.firstChild;
729
- }
730
-
731
- /**
732
- * Sends event notifying that the input has changed it's value.
733
- * @private
734
- * @returns {void}
735
- */
736
- notifyValueChanged() {
737
- let inputEvent = null;
738
-
739
- inputEvent = new Event('input', {
740
- bubbles: true,
741
- composed: true,
742
- });
743
-
744
- // Dispatched event to alert outside shadow DOM context of event firing.
745
- this.dispatchEvent(inputEvent);
746
- }
747
-
748
- /**
749
- * Handles event of clearing input content by clicking the X icon.
750
- * @private
751
- * @return {void}
752
- */
753
- handleClickClear() {
754
- this.inputElement.value = "";
755
- this.value = "";
756
- this.labelElement.classList.remove('inputElement-label--sticky');
757
- this.focus();
758
- this.validation.validate(this);
759
- this.notifyValueChanged();
760
- }
761
-
762
- /**
763
- * @private
764
- * @return {void}
765
- */
766
- handleInput() {
767
- // Prevent non-number characters from being entered on credit card fields.
768
- if (this.type === 'credit-card') {
769
- this.inputElement.value = this.inputElement.value.replace(/[\D]/gu, '');
770
- }
771
-
772
- // Sets value property to value of element value (el.value).
773
- this.value = this.inputElement.value;
774
-
775
- // Validation on blur or input.
776
- if (this.validateOnInput) {
777
- this.validation.validate(this);
778
- }
779
-
780
- // Prevents cursor jumping in Safari.
781
- const { selectionStart } = this.inputElement;
782
-
783
- if (this.setSelectionInputTypes.includes(this.type)) {
784
- this.updateComplete.then(() => {
785
- try {
786
- this.inputElement.setSelectionRange(selectionStart, selectionStart);
787
- } catch (error) { // eslint-disable-line
788
- // do nothing
789
- }
790
- });
791
- }
792
- }
793
-
794
- /**
795
- * Function to support @focusin event.
796
- * @private
797
- * @return {void}
798
- */
799
- handleFocusin() {
800
-
801
- /**
802
- * The input is considered to be in it's initial state based on
803
- * if this.value === undefined. The first time we interact with the
804
- * input manually, by applying focusin, we need to flag the
805
- * input as no longer in the initial state.
806
- */
807
- if (this.value === undefined) {
808
- this.value = '';
809
- }
810
- }
811
-
812
- /**
813
- * Function to support @blur event.
814
- * @private
815
- * @return {void}
816
- */
817
- handleBlur() {
818
- this.inputElement.scrollLeft = 100;
819
-
820
- if (!this.noValidate) {
821
- this.validation.validate(this);
822
- }
823
- }
824
-
825
- /**
826
- * Returns focused element, even if it's in the shadow DOM.
827
- * @private
828
- * @param {Object} root - Element to check for focus.
829
- * @returns {Object}
830
- */
831
- getActiveElement(root = document) {
832
- const activeEl = root.activeElement;
833
-
834
- if (!activeEl) {
835
- return null;
836
- }
837
-
838
- if (activeEl.shadowRoot) {
839
- return this.getActiveElement(activeEl.shadowRoot);
840
- }
841
-
842
- return activeEl;
843
- }
844
-
845
- /**
846
- * Public method force validation of input.
847
- * @returns {void}
848
- */
849
- validate() {
850
- this.validation.validate(this);
851
- }
852
-
853
- /**
854
- * Resets component to initial state.
855
- * @returns {void}
856
- */
857
- reset() {
858
- this.validation.reset(this);
859
- }
860
-
861
- /**
862
- * Sets configuration data used elsewhere based on the `type` attribute.
863
- * @private
864
- * @returns {void}
865
- */
866
- configureDataForType() {
867
- if (this.type === 'month-day-year' || this.type === 'year-month-day') {
868
- this.dateStrLength = 10;
869
- } else if (this.type === 'month-year') {
870
- this.dateStrLength = 5;
871
- } else if (this.type === 'month-fullYear') {
872
- this.dateStrLength = 7;
873
- } else if (this.type === 'month' || this.type === 'year') {
874
- this.dateStrLength = 2;
875
- } else if (this.type === 'fullYear') {
876
- this.dateStrLength = 4;
877
- }
878
- }
879
-
880
- /**
881
- * Validates against list of supported this.allowedInputTypes; return type=text if invalid request.
882
- * @private
883
- * @param {string} type Value entered into component prop.
884
- * @returns {string} Iterates over allowed types array.
885
- */
886
- getInputType(type) {
887
- if (this.allowedInputTypes.includes(type)) {
888
- return type;
889
- }
890
-
891
- return "text";
892
- }
893
-
894
- /**
895
- * Determines default help text string.
896
- * @private
897
- * @param {string} type Value entered into component prop.
898
- * @returns {string} Evaluates pre-determined help text.
899
- */
900
- getHelpText(type) {
901
- if (type === 'password') {
902
- return i18n(this.lang, 'password');
903
- } else if (type === 'email') {
904
- return i18n(this.lang, 'email');
905
- } else if (type === 'credit-card') {
906
- return i18n(this.lang, 'creditcard');
907
- } else if (type === 'month-day-year') {
908
- return i18n(this.lang, 'dateMMDDYYYY');
909
- } else if (type === 'month-year') {
910
- return i18n(this.lang, 'dateMMYY');
911
- } else if (type === 'month-fullyear') {
912
- return i18n(this.lang, 'dateMMYYYY');
913
- } else if (type === 'year-month-day') {
914
- return i18n(this.lang, 'dateYYYYMMDD');
915
- } else if (type === 'month') {
916
- return i18n(this.lang, 'dateMM');
917
- } else if (type === 'year') {
918
- return i18n(this.lang, 'dateYY');
919
- } else if (type === 'fullYear') {
920
- return i18n(this.lang, 'dateYYYY');
921
- }
922
-
923
- return '';
924
- }
925
-
926
- /**
927
- * Function to support show-password feature.
928
- * @private
929
- * @returns {void}
930
- */
931
- handleClickShowPassword() {
932
- this.showPassword = !this.showPassword;
933
- this.focus();
934
- }
935
-
936
- /**
937
- * Support placeholder text.
938
- * @private
939
- * @returns {string}
940
- */
941
- getPlaceholder() {
942
- if (this.type === 'month-day-year') {
943
- return !this.placeholder ? 'MM/DD/YYYY' : this.placeholder;
944
- } else if (this.type === 'month-year') {
945
- return !this.placeholder ? 'MM/YY' : this.placeholder;
946
- } else if (this.type === 'month-fullYear') {
947
- return !this.placeholder ? 'MM/YYYY' : this.placeholder;
948
- } else if (this.type === 'year-month-day') {
949
- return !this.placeholder ? 'YYYY/MM/DD' : this.placeholder;
950
- } else if (this.type === 'year') {
951
- return !this.placeholder ? 'YY' : this.placeholder;
952
- } else if (this.type === 'fullYear') {
953
- return !this.placeholder ? 'YYYY' : this.placeholder;
954
- } else if (this.type === 'month') {
955
- return !this.placeholder ? 'MM' : this.placeholder;
956
- }
957
-
958
- return ifDefined(this.placeholder);
959
- }
960
-
961
- /**
962
- * Defines placement of input icon based on type, used with classMap.
963
- * @private
964
- * @returns {boolean}
965
- */
966
- defineInputIcon() {
967
- if (this.icon && this.type === 'credit-card') {
968
- return true;
969
- } else if (this.dateInputTypes.includes(this.type)) {
970
- return true;
971
- }
972
-
973
- return false;
974
- }
975
-
976
- /**
977
- * Defines padding of input label based on type, used with classMap.
978
- * @private
979
- * @returns {boolean}
980
- */
981
- defineLabelPadding() {
982
- if (this.icon && this.type === 'credit-card' && (this.value === "" || this.value === undefined)) {
983
- return true;
984
- } else if (this.dateInputTypes.includes(this.type)) {
985
- return true;
986
- }
987
-
988
- return false;
989
- }
990
-
991
- // Functions specific to Credit Card component support
992
- // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
993
-
994
- /**
995
- * Function to support credit-card feature type.
996
- * @private
997
- * @returns {void}
998
- */
999
- processCreditCard() {
1000
- const card = this.matchInputValueToCreditCard();
1001
-
1002
- this.maxLength = card.formatLength;
1003
- this.minLength = card.formatMinLength;
1004
-
1005
- this.errorMessage = card.errorMessage;
1006
-
1007
- if (this.icon) {
1008
- this.inputIconName = card.cardIcon;
1009
- }
1010
- }
1011
-
1012
- /**
1013
- * Function to support credit-card feature type.
1014
- * @private
1015
- * @returns {object} JSON with data for credit card formatting.
1016
- */
1017
- matchInputValueToCreditCard() {
1018
- const CreditCardValidationMessage = `${i18n(this.lang, 'validCard')}`;
1019
-
1020
- const creditCardTypes = [
1021
- {
1022
- name: 'Airlines',
1023
- regex: /^(?<num>1|2)\d{0}/u,
1024
- formatMinLength: 17,
1025
- errorMessage: CreditCardValidationMessage,
1026
- cardIcon: 'credit-card'
1027
- },
1028
- {
1029
- name: 'Commercial',
1030
- regex: /^(?<num>2)\d{0}/u,
1031
- formatMinLength: 8,
1032
- errorMessage: CreditCardValidationMessage,
1033
- cardIcon: 'credit-card'
1034
- },
1035
- {
1036
- name: 'Alaska Commercial',
1037
- regex: /^(?<num>27)\d{0}/u,
1038
- formatMinLength: 8,
1039
- errorMessage: CreditCardValidationMessage,
1040
- cardIcon: 'cc-alaska'
1041
- },
1042
- {
1043
- name: 'American Express',
1044
- regex: /^(?<num>34|37)\d{0}/u,
1045
- formatLength: 17,
1046
- errorMessage: CreditCardValidationMessage,
1047
- cardIcon: 'cc-amex'
1048
- },
1049
- {
1050
- name: 'Diners club',
1051
- regex: /^(?<num>36|38)\d{0}/u,
1052
- formatLength: 16,
1053
- errorMessage: CreditCardValidationMessage,
1054
- cardIcon: 'credit-card'
1055
- },
1056
- {
1057
- name: 'Visa',
1058
- regex: /^(?<num>4)\d{0}/u,
1059
- formatLength: 19,
1060
- errorMessage: CreditCardValidationMessage,
1061
- cardIcon: 'cc-visa'
1062
- },
1063
- {
1064
- name: 'Alaska Airlines Visa',
1065
- regex: /^(?<num>4147\s34|4888\s93|4800\s11|4313\s51|4313\s07)\d{0}/u,
1066
- formatLength: 19,
1067
- errorMessage: CreditCardValidationMessage,
1068
- cardIcon: 'cc-alaska'
1069
- },
1070
- {
1071
- name: 'Master Card',
1072
- regex: /^(?<num>5)\d{0}/u,
1073
- formatLength: 19,
1074
- errorMessage: CreditCardValidationMessage,
1075
- cardIcon: 'cc-mastercard'
1076
- },
1077
- {
1078
- name: 'Discover Card',
1079
- regex: /^(?<num>6)\d{0}/u,
1080
- formatLength: 19,
1081
- errorMessage: CreditCardValidationMessage,
1082
- cardIcon: 'cc-discover'
1083
- }
1084
- ];
1085
-
1086
- let type = {
1087
- name: 'Default Card',
1088
- formatLength: 19,
1089
- errorMessage: CreditCardValidationMessage,
1090
- cardIcon: 'credit-card'
1091
- };
1092
-
1093
- creditCardTypes.forEach((cardType) => {
1094
- if (cardType.regex.exec(this.value)) {
1095
- type = cardType;
1096
- }
1097
- });
1098
-
1099
- this.validationCCLength = type.formatLength;
1100
-
1101
- return type;
1102
- }
1103
- }