@aurodesignsystem/auro-formkit 1.6.0-beta.10

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 (814) hide show
  1. package/.husky/commit-msg +4 -0
  2. package/.husky/pre-commit +3 -0
  3. package/.turbo/cache/013a48308b893dac-meta.json +1 -0
  4. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  5. package/.turbo/cache/049b9083252d38be-meta.json +1 -0
  6. package/.turbo/cache/049b9083252d38be.tar.zst +0 -0
  7. package/.turbo/cache/07ca42419b9f050c-meta.json +1 -0
  8. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  9. package/.turbo/cache/0a1dd4481355cb0b-meta.json +1 -0
  10. package/.turbo/cache/0a1dd4481355cb0b.tar.zst +0 -0
  11. package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -0
  12. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  13. package/.turbo/cache/13cf37c850bd8cf4-meta.json +1 -0
  14. package/.turbo/cache/13cf37c850bd8cf4.tar.zst +0 -0
  15. package/.turbo/cache/17259cf94d8f8925-meta.json +1 -0
  16. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  17. package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -0
  18. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  19. package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -0
  20. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  21. package/.turbo/cache/3323eb841acb9c4e-meta.json +1 -0
  22. package/.turbo/cache/3323eb841acb9c4e.tar.zst +0 -0
  23. package/.turbo/cache/34ba23e2e2d652ad-meta.json +1 -0
  24. package/.turbo/cache/34ba23e2e2d652ad.tar.zst +0 -0
  25. package/.turbo/cache/368cd6fed7975ad2-meta.json +1 -0
  26. package/.turbo/cache/368cd6fed7975ad2.tar.zst +0 -0
  27. package/.turbo/cache/3924bce8e51f0ffa-meta.json +1 -0
  28. package/.turbo/cache/3924bce8e51f0ffa.tar.zst +0 -0
  29. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -0
  30. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  31. package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -0
  32. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  33. package/.turbo/cache/4567487084a055b7-meta.json +1 -0
  34. package/.turbo/cache/4567487084a055b7.tar.zst +0 -0
  35. package/.turbo/cache/4763278a7d3dbc16-meta.json +1 -0
  36. package/.turbo/cache/4763278a7d3dbc16.tar.zst +0 -0
  37. package/.turbo/cache/549e6ef9f9ffd9a8-meta.json +1 -0
  38. package/.turbo/cache/549e6ef9f9ffd9a8.tar.zst +0 -0
  39. package/.turbo/cache/59ccd8430174883c-meta.json +1 -0
  40. package/.turbo/cache/59ccd8430174883c.tar.zst +0 -0
  41. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +1 -0
  42. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  43. package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -0
  44. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  45. package/.turbo/cache/64de7a53e02db647-meta.json +1 -0
  46. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  47. package/.turbo/cache/683d4c0e20c077a9-meta.json +1 -0
  48. package/.turbo/cache/683d4c0e20c077a9.tar.zst +0 -0
  49. package/.turbo/cache/691a74627ec57993-meta.json +1 -0
  50. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  51. package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -0
  52. package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
  53. package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -0
  54. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  55. package/.turbo/cache/73e9073a5274616d-meta.json +1 -0
  56. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  57. package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -0
  58. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  59. package/.turbo/cache/786a822763403879-meta.json +1 -0
  60. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  61. package/.turbo/cache/80b5d974184a01df-meta.json +1 -0
  62. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  63. package/.turbo/cache/8954c6073396fadd-meta.json +1 -0
  64. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  65. package/.turbo/cache/8f8ffe35cc79d1a9-meta.json +1 -0
  66. package/.turbo/cache/8f8ffe35cc79d1a9.tar.zst +0 -0
  67. package/.turbo/cache/926d632729ca6536-meta.json +1 -0
  68. package/.turbo/cache/926d632729ca6536.tar.zst +0 -0
  69. package/.turbo/cache/92daa6d7c389d548-meta.json +1 -0
  70. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  71. package/.turbo/cache/9a097d6576dadd64-meta.json +1 -0
  72. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  73. package/.turbo/cache/9e7be41cc3a7ef43-meta.json +1 -0
  74. package/.turbo/cache/9e7be41cc3a7ef43.tar.zst +0 -0
  75. package/.turbo/cache/9ee793063ea89126-meta.json +1 -0
  76. package/.turbo/cache/9ee793063ea89126.tar.zst +0 -0
  77. package/.turbo/cache/a1558cef51c034da-meta.json +1 -0
  78. package/.turbo/cache/a1558cef51c034da.tar.zst +0 -0
  79. package/.turbo/cache/a24f2ff8e94e56e8-meta.json +1 -0
  80. package/.turbo/cache/a24f2ff8e94e56e8.tar.zst +0 -0
  81. package/.turbo/cache/a2705cf095a2ceb0-meta.json +1 -0
  82. package/.turbo/cache/a2705cf095a2ceb0.tar.zst +0 -0
  83. package/.turbo/cache/a33c0749886a41b5-meta.json +1 -0
  84. package/.turbo/cache/a33c0749886a41b5.tar.zst +0 -0
  85. package/.turbo/cache/a66b465385a30a2b-meta.json +1 -0
  86. package/.turbo/cache/a66b465385a30a2b.tar.zst +0 -0
  87. package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -0
  88. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  89. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -0
  90. package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
  91. package/.turbo/cache/ba4418918621fbcd-meta.json +1 -0
  92. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  93. package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
  94. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  95. package/.turbo/cache/c1b72a92dec4fe37-meta.json +1 -0
  96. package/.turbo/cache/c1b72a92dec4fe37.tar.zst +0 -0
  97. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -0
  98. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  99. package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -0
  100. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  101. package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -0
  102. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  103. package/.turbo/cache/e25ac25a8a0ad126-meta.json +1 -0
  104. package/.turbo/cache/e25ac25a8a0ad126.tar.zst +0 -0
  105. package/.turbo/cache/e671573e4ef02c47-meta.json +1 -0
  106. package/.turbo/cache/e671573e4ef02c47.tar.zst +0 -0
  107. package/.turbo/cache/e86cee22dff5e281-meta.json +1 -0
  108. package/.turbo/cache/e86cee22dff5e281.tar.zst +0 -0
  109. package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -0
  110. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  111. package/.turbo/cache/f680556a8e954eac-meta.json +1 -0
  112. package/.turbo/cache/f680556a8e954eac.tar.zst +0 -0
  113. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -0
  114. package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
  115. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +1 -0
  116. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  117. package/.turbo/cache/ffec4500b911b85a-meta.json +1 -0
  118. package/.turbo/cache/ffec4500b911b85a.tar.zst +0 -0
  119. package/CHANGELOG.md +430 -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 +160 -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 +55 -0
  191. package/components/combobox/demo/api.js +34 -0
  192. package/components/combobox/demo/api.md +816 -0
  193. package/components/combobox/demo/api.min.js +9165 -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 +9028 -0
  197. package/components/combobox/dist/auro-combobox.d.ts +241 -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 +7898 -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 +711 -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.min.js +71 -0
  240. package/components/counter/dist/auro-counter-group.d.ts +20 -0
  241. package/components/counter/dist/auro-counter-group.d.ts.map +1 -0
  242. package/components/counter/dist/auro-counter.d.ts +6 -0
  243. package/components/counter/dist/auro-counter.d.ts.map +1 -0
  244. package/components/counter/dist/index.d.ts +4 -0
  245. package/components/counter/dist/index.d.ts.map +1 -0
  246. package/components/counter/dist/index.js +110 -0
  247. package/components/counter/dist/styles/counter-group-css.d.ts +3 -0
  248. package/components/counter/dist/styles/counter-group-css.d.ts.map +1 -0
  249. package/components/counter/dist/styles/style-css.d.ts +3 -0
  250. package/components/counter/dist/styles/style-css.d.ts.map +1 -0
  251. package/components/counter/node_modules/chalk/package.json +83 -0
  252. package/components/counter/node_modules/chalk/readme.md +325 -0
  253. package/components/counter/node_modules/chalk/source/index.d.ts +320 -0
  254. package/components/counter/node_modules/chalk/source/index.js +225 -0
  255. package/components/counter/node_modules/chalk/source/utilities.js +33 -0
  256. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  257. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  258. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  259. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  260. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  261. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  262. package/components/counter/package.json +50 -0
  263. package/components/counter/src/auro-counter-group.js +48 -0
  264. package/components/counter/src/auro-counter.js +29 -0
  265. package/components/counter/src/index.js +8 -0
  266. package/components/counter/src/styles/counter-group-css.js +2 -0
  267. package/components/counter/src/styles/counter-group.css +4 -0
  268. package/components/counter/src/styles/counter-group.scss +17 -0
  269. package/components/counter/src/styles/style-css.js +2 -0
  270. package/components/counter/src/styles/style.css +4 -0
  271. package/components/counter/src/styles/style.scss +17 -0
  272. package/components/datepicker/.stylelintrc.json +3 -0
  273. package/components/datepicker/.turbo/turbo-build$colon$sass.log +352 -0
  274. package/components/datepicker/.turbo/turbo-build.log +489 -0
  275. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +5 -0
  276. package/components/datepicker/.turbo/turbo-sass$colon$render.log +58 -0
  277. package/components/datepicker/README.md +181 -0
  278. package/components/datepicker/demo/api.html +58 -0
  279. package/components/datepicker/demo/api.js +33 -0
  280. package/components/datepicker/demo/api.md +1172 -0
  281. package/components/datepicker/demo/api.min.js +18466 -0
  282. package/components/datepicker/demo/index.js +19 -0
  283. package/components/datepicker/demo/index.md +107 -0
  284. package/components/datepicker/demo/index.min.js +18195 -0
  285. package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
  286. package/components/datepicker/dist/auro-calendar-cell.d.ts.map +1 -0
  287. package/components/datepicker/dist/auro-calendar-month.d.ts +5 -0
  288. package/components/datepicker/dist/auro-calendar-month.d.ts.map +1 -0
  289. package/components/datepicker/dist/auro-calendar.d.ts +105 -0
  290. package/components/datepicker/dist/auro-calendar.d.ts.map +1 -0
  291. package/components/datepicker/dist/auro-datepicker.d.ts +336 -0
  292. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -0
  293. package/components/datepicker/dist/dropdownVersion.d.ts +1 -0
  294. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -0
  295. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  296. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  297. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +3 -0
  298. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +1 -0
  299. package/components/datepicker/dist/index.d.ts +3 -0
  300. package/components/datepicker/dist/index.d.ts.map +1 -0
  301. package/components/datepicker/dist/index.js +18191 -0
  302. package/components/datepicker/dist/popoverVersion.d.ts +3 -0
  303. package/components/datepicker/dist/popoverVersion.d.ts.map +1 -0
  304. package/components/datepicker/dist/styles/color-calendar-css.d.ts +3 -0
  305. package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +1 -0
  306. package/components/datepicker/dist/styles/color-cell-css.d.ts +3 -0
  307. package/components/datepicker/dist/styles/color-cell-css.d.ts.map +1 -0
  308. package/components/datepicker/dist/styles/color-css.d.ts +3 -0
  309. package/components/datepicker/dist/styles/color-css.d.ts.map +1 -0
  310. package/components/datepicker/dist/styles/color-month-css.d.ts +3 -0
  311. package/components/datepicker/dist/styles/color-month-css.d.ts.map +1 -0
  312. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +3 -0
  313. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +1 -0
  314. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +3 -0
  315. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +1 -0
  316. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +3 -0
  317. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +1 -0
  318. package/components/datepicker/dist/styles/style-css.d.ts +3 -0
  319. package/components/datepicker/dist/styles/style-css.d.ts.map +1 -0
  320. package/components/datepicker/dist/styles/tokens-css.d.ts +3 -0
  321. package/components/datepicker/dist/styles/tokens-css.d.ts.map +1 -0
  322. package/components/datepicker/dist/utilities.d.ts +47 -0
  323. package/components/datepicker/dist/utilities.d.ts.map +1 -0
  324. package/components/datepicker/dist/utilitiesCalendar.d.ts +38 -0
  325. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +1 -0
  326. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +51 -0
  327. package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +1 -0
  328. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +6 -0
  329. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +1 -0
  330. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +61 -0
  331. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +1 -0
  332. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +2 -0
  333. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +1 -0
  334. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +58 -0
  335. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +1 -0
  336. package/components/datepicker/node_modules/chalk/package.json +83 -0
  337. package/components/datepicker/node_modules/chalk/readme.md +325 -0
  338. package/components/datepicker/node_modules/chalk/source/index.d.ts +320 -0
  339. package/components/datepicker/node_modules/chalk/source/index.js +225 -0
  340. package/components/datepicker/node_modules/chalk/source/utilities.js +33 -0
  341. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  342. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  343. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  344. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  345. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  346. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  347. package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
  348. package/components/datepicker/node_modules/rollup-plugin-serve/README.md +137 -0
  349. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
  350. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
  351. package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +75 -0
  352. package/components/datepicker/node_modules/rollup-plugin-serve/package.json +51 -0
  353. package/components/datepicker/package.json +79 -0
  354. package/components/datepicker/src/auro-calendar-cell.js +381 -0
  355. package/components/datepicker/src/auro-calendar-month.js +128 -0
  356. package/components/datepicker/src/auro-calendar.js +329 -0
  357. package/components/datepicker/src/auro-datepicker.js +969 -0
  358. package/components/datepicker/src/dropdownVersion.js +0 -0
  359. package/components/datepicker/src/formkit/auro-dropdownVersion.js +1 -0
  360. package/components/datepicker/src/formkit/auro-inputVersion.js +1 -0
  361. package/components/datepicker/src/index.js +6 -0
  362. package/components/datepicker/src/popoverVersion.js +1 -0
  363. package/components/datepicker/src/styles/color-calendar-css.js +2 -0
  364. package/components/datepicker/src/styles/color-calendar.css +35 -0
  365. package/components/datepicker/src/styles/color-calendar.scss +51 -0
  366. package/components/datepicker/src/styles/color-cell-css.js +2 -0
  367. package/components/datepicker/src/styles/color-cell.css +45 -0
  368. package/components/datepicker/src/styles/color-cell.scss +73 -0
  369. package/components/datepicker/src/styles/color-css.js +2 -0
  370. package/components/datepicker/src/styles/color-month-css.js +2 -0
  371. package/components/datepicker/src/styles/color-month.css +34 -0
  372. package/components/datepicker/src/styles/color-month.scss +27 -0
  373. package/components/datepicker/src/styles/color.css +43 -0
  374. package/components/datepicker/src/styles/color.scss +30 -0
  375. package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +2 -0
  376. package/components/datepicker/src/styles/style-auro-calendar-cell.css +123 -0
  377. package/components/datepicker/src/styles/style-auro-calendar-cell.scss +147 -0
  378. package/components/datepicker/src/styles/style-auro-calendar-css.js +2 -0
  379. package/components/datepicker/src/styles/style-auro-calendar-month-css.js +2 -0
  380. package/components/datepicker/src/styles/style-auro-calendar-month.css +121 -0
  381. package/components/datepicker/src/styles/style-auro-calendar-month.scss +141 -0
  382. package/components/datepicker/src/styles/style-auro-calendar.css +152 -0
  383. package/components/datepicker/src/styles/style-auro-calendar.scss +191 -0
  384. package/components/datepicker/src/styles/style-css.js +2 -0
  385. package/components/datepicker/src/styles/style.css +111 -0
  386. package/components/datepicker/src/styles/style.scss +107 -0
  387. package/components/datepicker/src/styles/tokens-css.js +2 -0
  388. package/components/datepicker/src/styles/tokens.css +22 -0
  389. package/components/datepicker/src/styles/tokens.scss +25 -0
  390. package/components/datepicker/src/utilities.js +87 -0
  391. package/components/datepicker/src/utilitiesCalendar.js +138 -0
  392. package/components/datepicker/src/utilitiesCalendarRender.js +156 -0
  393. package/components/datepicker/src/vendor/wc-range-datepicker/day.js +8 -0
  394. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +521 -0
  395. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +211 -0
  396. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +254 -0
  397. package/components/dropdown/.stylelintrc.json +3 -0
  398. package/components/dropdown/.turbo/turbo-build$colon$sass.log +75 -0
  399. package/components/dropdown/.turbo/turbo-build$colon$version.log +7 -0
  400. package/components/dropdown/.turbo/turbo-build.log +206 -0
  401. package/components/dropdown/.turbo/turbo-bundler.log +13 -0
  402. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +5 -0
  403. package/components/dropdown/.turbo/turbo-sass$colon$render.log +34 -0
  404. package/components/dropdown/.turbo/turbo-types.log +4 -0
  405. package/components/dropdown/README.md +188 -0
  406. package/components/dropdown/demo/api.html +55 -0
  407. package/components/dropdown/demo/api.js +21 -0
  408. package/components/dropdown/demo/api.md +1179 -0
  409. package/components/dropdown/demo/api.min.js +2885 -0
  410. package/components/dropdown/demo/index.js +22 -0
  411. package/components/dropdown/demo/index.md +404 -0
  412. package/components/dropdown/demo/index.min.js +2851 -0
  413. package/components/dropdown/dist/auro-dropdown.d.ts +194 -0
  414. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -0
  415. package/components/dropdown/dist/auro-dropdownBib.d.ts +33 -0
  416. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -0
  417. package/components/dropdown/dist/iconVersion.d.ts +3 -0
  418. package/components/dropdown/dist/iconVersion.d.ts.map +1 -0
  419. package/components/dropdown/dist/index.d.ts +3 -0
  420. package/components/dropdown/dist/index.d.ts.map +1 -0
  421. package/components/dropdown/dist/index.js +2842 -0
  422. package/components/dropdown/dist/styles/bibColors-css.d.ts +3 -0
  423. package/components/dropdown/dist/styles/bibColors-css.d.ts.map +1 -0
  424. package/components/dropdown/dist/styles/bibStyles-css.d.ts +3 -0
  425. package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +1 -0
  426. package/components/dropdown/dist/styles/color-css.d.ts +3 -0
  427. package/components/dropdown/dist/styles/color-css.d.ts.map +1 -0
  428. package/components/dropdown/dist/styles/style-css.d.ts +3 -0
  429. package/components/dropdown/dist/styles/style-css.d.ts.map +1 -0
  430. package/components/dropdown/dist/styles/tokens-css.d.ts +3 -0
  431. package/components/dropdown/dist/styles/tokens-css.d.ts.map +1 -0
  432. package/components/dropdown/node_modules/chalk/package.json +83 -0
  433. package/components/dropdown/node_modules/chalk/readme.md +325 -0
  434. package/components/dropdown/node_modules/chalk/source/index.d.ts +320 -0
  435. package/components/dropdown/node_modules/chalk/source/index.js +225 -0
  436. package/components/dropdown/node_modules/chalk/source/utilities.js +33 -0
  437. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  438. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  439. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  440. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  441. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  442. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  443. package/components/dropdown/package.json +57 -0
  444. package/components/dropdown/src/auro-dropdown.js +359 -0
  445. package/components/dropdown/src/auro-dropdownBib.js +97 -0
  446. package/components/dropdown/src/iconVersion.js +1 -0
  447. package/components/dropdown/src/index.js +6 -0
  448. package/components/dropdown/src/styles/bibColors-css.js +2 -0
  449. package/components/dropdown/src/styles/bibColors.css +6 -0
  450. package/components/dropdown/src/styles/bibColors.scss +18 -0
  451. package/components/dropdown/src/styles/bibStyles-css.js +2 -0
  452. package/components/dropdown/src/styles/bibStyles.css +48 -0
  453. package/components/dropdown/src/styles/bibStyles.scss +67 -0
  454. package/components/dropdown/src/styles/color-css.js +2 -0
  455. package/components/dropdown/src/styles/color.css +59 -0
  456. package/components/dropdown/src/styles/color.scss +79 -0
  457. package/components/dropdown/src/styles/style-css.js +2 -0
  458. package/components/dropdown/src/styles/style.css +88 -0
  459. package/components/dropdown/src/styles/style.scss +117 -0
  460. package/components/dropdown/src/styles/tokens-css.js +2 -0
  461. package/components/dropdown/src/styles/tokens.css +13 -0
  462. package/components/dropdown/src/styles/tokens.scss +15 -0
  463. package/components/form/.stylelintrc.json +3 -0
  464. package/components/form/.turbo/turbo-build$colon$sass.log +57 -0
  465. package/components/form/.turbo/turbo-build$colon$version.log +4 -0
  466. package/components/form/.turbo/turbo-build.log +113 -0
  467. package/components/form/.turbo/turbo-bundler.log +13 -0
  468. package/components/form/.turbo/turbo-postCss$colon$component.log +5 -0
  469. package/components/form/.turbo/turbo-sass$colon$render.log +10 -0
  470. package/components/form/.turbo/turbo-types.log +4 -0
  471. package/components/form/README.md +186 -0
  472. package/components/form/demo/api.html +48 -0
  473. package/components/form/demo/api.js +3 -0
  474. package/components/form/demo/api.md +0 -0
  475. package/components/form/demo/api.min.js +160 -0
  476. package/components/form/demo/index.js +4 -0
  477. package/components/form/demo/index.md +40 -0
  478. package/components/form/demo/index.min.js +161 -0
  479. package/components/form/dist/auro-form.d.ts +26 -0
  480. package/components/form/dist/auro-form.d.ts.map +1 -0
  481. package/components/form/dist/index.d.ts +3 -0
  482. package/components/form/dist/index.d.ts.map +1 -0
  483. package/components/form/dist/index.js +162 -0
  484. package/components/form/dist/styles/style-css.d.ts +3 -0
  485. package/components/form/dist/styles/style-css.d.ts.map +1 -0
  486. package/components/form/node_modules/chalk/package.json +83 -0
  487. package/components/form/node_modules/chalk/readme.md +325 -0
  488. package/components/form/node_modules/chalk/source/index.d.ts +320 -0
  489. package/components/form/node_modules/chalk/source/index.js +225 -0
  490. package/components/form/node_modules/chalk/source/utilities.js +33 -0
  491. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  492. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  493. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  494. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  495. package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  496. package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  497. package/components/form/package.json +72 -0
  498. package/components/form/src/auro-form.js +74 -0
  499. package/components/form/src/index.js +6 -0
  500. package/components/form/src/styles/style-css.js +2 -0
  501. package/components/form/src/styles/style.css +36 -0
  502. package/components/form/src/styles/style.scss +37 -0
  503. package/components/input/.stylelintrc.json +3 -0
  504. package/components/input/.turbo/turbo-build$colon$sass.log +148 -0
  505. package/components/input/.turbo/turbo-build$colon$version.log +10 -0
  506. package/components/input/.turbo/turbo-build.log +300 -0
  507. package/components/input/.turbo/turbo-bundler.log +13 -0
  508. package/components/input/.turbo/turbo-postCss$colon$component.log +5 -0
  509. package/components/input/.turbo/turbo-sass$colon$render.log +52 -0
  510. package/components/input/.turbo/turbo-types.log +4 -0
  511. package/components/input/README.md +176 -0
  512. package/components/input/demo/api.html +40 -0
  513. package/components/input/demo/api.js +25 -0
  514. package/components/input/demo/api.md +1251 -0
  515. package/components/input/demo/api.min.js +4070 -0
  516. package/components/input/demo/index.js +20 -0
  517. package/components/input/demo/index.md +253 -0
  518. package/components/input/demo/index.min.js +4012 -0
  519. package/components/input/dist/auro-input.d.ts +29 -0
  520. package/components/input/dist/auro-input.d.ts.map +1 -0
  521. package/components/input/dist/base-input.d.ts +359 -0
  522. package/components/input/dist/base-input.d.ts.map +1 -0
  523. package/components/input/dist/buttonVersion.d.ts +3 -0
  524. package/components/input/dist/buttonVersion.d.ts.map +1 -0
  525. package/components/input/dist/i18n.d.ts +19 -0
  526. package/components/input/dist/i18n.d.ts.map +1 -0
  527. package/components/input/dist/iconVersion.d.ts +3 -0
  528. package/components/input/dist/iconVersion.d.ts.map +1 -0
  529. package/components/input/dist/index.d.ts +3 -0
  530. package/components/input/dist/index.d.ts.map +1 -0
  531. package/components/input/dist/index.js +3979 -0
  532. package/components/input/dist/styles/borders-css.d.ts +3 -0
  533. package/components/input/dist/styles/borders-css.d.ts.map +1 -0
  534. package/components/input/dist/styles/color-css.d.ts +3 -0
  535. package/components/input/dist/styles/color-css.d.ts.map +1 -0
  536. package/components/input/dist/styles/helpText-css.d.ts +3 -0
  537. package/components/input/dist/styles/helpText-css.d.ts.map +1 -0
  538. package/components/input/dist/styles/input-css.d.ts +3 -0
  539. package/components/input/dist/styles/input-css.d.ts.map +1 -0
  540. package/components/input/dist/styles/label-css.d.ts +3 -0
  541. package/components/input/dist/styles/label-css.d.ts.map +1 -0
  542. package/components/input/dist/styles/notificationIcons-css.d.ts +3 -0
  543. package/components/input/dist/styles/notificationIcons-css.d.ts.map +1 -0
  544. package/components/input/dist/styles/style-css.d.ts +3 -0
  545. package/components/input/dist/styles/style-css.d.ts.map +1 -0
  546. package/components/input/dist/styles/tokens-css.d.ts +3 -0
  547. package/components/input/dist/styles/tokens-css.d.ts.map +1 -0
  548. package/components/input/node_modules/chalk/package.json +83 -0
  549. package/components/input/node_modules/chalk/readme.md +325 -0
  550. package/components/input/node_modules/chalk/source/index.d.ts +320 -0
  551. package/components/input/node_modules/chalk/source/index.js +225 -0
  552. package/components/input/node_modules/chalk/source/utilities.js +33 -0
  553. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  554. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  555. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  556. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  557. package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  558. package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  559. package/components/input/package.json +75 -0
  560. package/components/input/src/auro-input.js +242 -0
  561. package/components/input/src/base-input.js +942 -0
  562. package/components/input/src/buttonVersion.js +1 -0
  563. package/components/input/src/i18n.js +102 -0
  564. package/components/input/src/iconVersion.js +1 -0
  565. package/components/input/src/index.js +6 -0
  566. package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
  567. package/components/input/src/styles/borders-css.js +2 -0
  568. package/components/input/src/styles/borders.css +35 -0
  569. package/components/input/src/styles/borders.scss +65 -0
  570. package/components/input/src/styles/color-css.js +2 -0
  571. package/components/input/src/styles/color.css +63 -0
  572. package/components/input/src/styles/color.scss +96 -0
  573. package/components/input/src/styles/helpText-css.js +2 -0
  574. package/components/input/src/styles/helpText.css +6 -0
  575. package/components/input/src/styles/helpText.scss +9 -0
  576. package/components/input/src/styles/input-css.js +2 -0
  577. package/components/input/src/styles/input.css +22 -0
  578. package/components/input/src/styles/input.scss +29 -0
  579. package/components/input/src/styles/label-css.js +2 -0
  580. package/components/input/src/styles/label.css +45 -0
  581. package/components/input/src/styles/label.scss +75 -0
  582. package/components/input/src/styles/notificationIcons-css.js +2 -0
  583. package/components/input/src/styles/notificationIcons.css +76 -0
  584. package/components/input/src/styles/notificationIcons.scss +103 -0
  585. package/components/input/src/styles/style-css.js +2 -0
  586. package/components/input/src/styles/style.css +272 -0
  587. package/components/input/src/styles/style.scss +57 -0
  588. package/components/input/src/styles/tokens-css.js +2 -0
  589. package/components/input/src/styles/tokens.css +9 -0
  590. package/components/input/src/styles/tokens.scss +11 -0
  591. package/components/menu/.stylelintrc.json +3 -0
  592. package/components/menu/.turbo/turbo-build$colon$sass.log +86 -0
  593. package/components/menu/.turbo/turbo-build$colon$version.log +7 -0
  594. package/components/menu/.turbo/turbo-build.log +184 -0
  595. package/components/menu/.turbo/turbo-bundler.log +13 -0
  596. package/components/menu/.turbo/turbo-postCss$colon$component.log +5 -0
  597. package/components/menu/.turbo/turbo-sass$colon$render.log +34 -0
  598. package/components/menu/.turbo/turbo-types.log +4 -0
  599. package/components/menu/README.md +190 -0
  600. package/components/menu/demo/api.html +53 -0
  601. package/components/menu/demo/api.js +27 -0
  602. package/components/menu/demo/api.md +923 -0
  603. package/components/menu/demo/api.min.js +1293 -0
  604. package/components/menu/demo/index.js +28 -0
  605. package/components/menu/demo/index.md +104 -0
  606. package/components/menu/demo/index.min.js +1239 -0
  607. package/components/menu/dist/auro-menu.d.ts +194 -0
  608. package/components/menu/dist/auro-menu.d.ts.map +1 -0
  609. package/components/menu/dist/auro-menuoption.d.ts +65 -0
  610. package/components/menu/dist/auro-menuoption.d.ts.map +1 -0
  611. package/components/menu/dist/iconVersion.d.ts +3 -0
  612. package/components/menu/dist/iconVersion.d.ts.map +1 -0
  613. package/components/menu/dist/index.d.ts +4 -0
  614. package/components/menu/dist/index.d.ts.map +1 -0
  615. package/components/menu/dist/index.js +1231 -0
  616. package/components/menu/dist/styles/color-menu-css.d.ts +3 -0
  617. package/components/menu/dist/styles/color-menu-css.d.ts.map +1 -0
  618. package/components/menu/dist/styles/color-menuoption-css.d.ts +3 -0
  619. package/components/menu/dist/styles/color-menuoption-css.d.ts.map +1 -0
  620. package/components/menu/dist/styles/style-menu-css.d.ts +3 -0
  621. package/components/menu/dist/styles/style-menu-css.d.ts.map +1 -0
  622. package/components/menu/dist/styles/style-menuoption-css.d.ts +3 -0
  623. package/components/menu/dist/styles/style-menuoption-css.d.ts.map +1 -0
  624. package/components/menu/dist/styles/tokens-css.d.ts +3 -0
  625. package/components/menu/dist/styles/tokens-css.d.ts.map +1 -0
  626. package/components/menu/node_modules/chalk/package.json +83 -0
  627. package/components/menu/node_modules/chalk/readme.md +325 -0
  628. package/components/menu/node_modules/chalk/source/index.d.ts +320 -0
  629. package/components/menu/node_modules/chalk/source/index.js +225 -0
  630. package/components/menu/node_modules/chalk/source/utilities.js +33 -0
  631. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  632. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  633. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  634. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  635. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  636. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  637. package/components/menu/node_modules/mime/CHANGELOG.md +296 -0
  638. package/components/menu/node_modules/mime/Mime.js +97 -0
  639. package/components/menu/node_modules/mime/README.md +187 -0
  640. package/components/menu/node_modules/mime/cli.js +46 -0
  641. package/components/menu/node_modules/mime/index.js +4 -0
  642. package/components/menu/node_modules/mime/lite.js +4 -0
  643. package/components/menu/node_modules/mime/package.json +52 -0
  644. package/components/menu/node_modules/mime/types/other.js +1 -0
  645. package/components/menu/node_modules/mime/types/standard.js +1 -0
  646. package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
  647. package/components/menu/node_modules/rollup-plugin-serve/README.md +135 -0
  648. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
  649. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
  650. package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
  651. package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
  652. package/components/menu/node_modules/rollup-plugin-serve/package.json +44 -0
  653. package/components/menu/package.json +70 -0
  654. package/components/menu/src/auro-menu.js +571 -0
  655. package/components/menu/src/auro-menuoption.js +148 -0
  656. package/components/menu/src/iconVersion.js +1 -0
  657. package/components/menu/src/index.js +8 -0
  658. package/components/menu/src/styles/color-menu-css.js +2 -0
  659. package/components/menu/src/styles/color-menu.css +4 -0
  660. package/components/menu/src/styles/color-menu.scss +12 -0
  661. package/components/menu/src/styles/color-menuoption-css.js +2 -0
  662. package/components/menu/src/styles/color-menuoption.css +23 -0
  663. package/components/menu/src/styles/color-menuoption.scss +33 -0
  664. package/components/menu/src/styles/style-menu-css.js +2 -0
  665. package/components/menu/src/styles/style-menu.css +2061 -0
  666. package/components/menu/src/styles/style-menu.scss +80 -0
  667. package/components/menu/src/styles/style-menuoption-css.js +2 -0
  668. package/components/menu/src/styles/style-menuoption.css +45 -0
  669. package/components/menu/src/styles/style-menuoption.scss +66 -0
  670. package/components/menu/src/styles/tokens-css.js +2 -0
  671. package/components/menu/src/styles/tokens.css +6 -0
  672. package/components/menu/src/styles/tokens.scss +6 -0
  673. package/components/radio/.stylelintrc.json +3 -0
  674. package/components/radio/.turbo/turbo-build$colon$sass.log +130 -0
  675. package/components/radio/.turbo/turbo-build.log +213 -0
  676. package/components/radio/.turbo/turbo-bundler.log +13 -0
  677. package/components/radio/.turbo/turbo-postCss$colon$component.log +5 -0
  678. package/components/radio/.turbo/turbo-sass$colon$render.log +34 -0
  679. package/components/radio/.turbo/turbo-types.log +4 -0
  680. package/components/radio/README.md +176 -0
  681. package/components/radio/demo/api.html +50 -0
  682. package/components/radio/demo/api.js +17 -0
  683. package/components/radio/demo/api.md +401 -0
  684. package/components/radio/demo/api.min.js +1050 -0
  685. package/components/radio/demo/index.js +8 -0
  686. package/components/radio/demo/index.md +122 -0
  687. package/components/radio/demo/index.min.js +1016 -0
  688. package/components/radio/dist/auro-radio-group.d.ts +171 -0
  689. package/components/radio/dist/auro-radio-group.d.ts.map +1 -0
  690. package/components/radio/dist/auro-radio.d.ts +113 -0
  691. package/components/radio/dist/auro-radio.d.ts.map +1 -0
  692. package/components/radio/dist/index.d.ts +4 -0
  693. package/components/radio/dist/index.d.ts.map +1 -0
  694. package/components/radio/dist/index.js +1015 -0
  695. package/components/radio/dist/styles/auro-radio-group-css.d.ts +3 -0
  696. package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +1 -0
  697. package/components/radio/dist/styles/color-css.d.ts +3 -0
  698. package/components/radio/dist/styles/color-css.d.ts.map +1 -0
  699. package/components/radio/dist/styles/groupColor-css.d.ts +3 -0
  700. package/components/radio/dist/styles/groupColor-css.d.ts.map +1 -0
  701. package/components/radio/dist/styles/style-css.d.ts +3 -0
  702. package/components/radio/dist/styles/style-css.d.ts.map +1 -0
  703. package/components/radio/dist/styles/tokens-css.d.ts +3 -0
  704. package/components/radio/dist/styles/tokens-css.d.ts.map +1 -0
  705. package/components/radio/node_modules/chalk/package.json +83 -0
  706. package/components/radio/node_modules/chalk/readme.md +325 -0
  707. package/components/radio/node_modules/chalk/source/index.d.ts +320 -0
  708. package/components/radio/node_modules/chalk/source/index.js +225 -0
  709. package/components/radio/node_modules/chalk/source/utilities.js +33 -0
  710. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  711. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  712. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  713. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  714. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  715. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  716. package/components/radio/package.json +69 -0
  717. package/components/radio/src/auro-radio-group.js +433 -0
  718. package/components/radio/src/auro-radio.js +247 -0
  719. package/components/radio/src/index.js +8 -0
  720. package/components/radio/src/styles/auro-radio-group-css.js +2 -0
  721. package/components/radio/src/styles/auro-radio-group.css +23 -0
  722. package/components/radio/src/styles/auro-radio-group.scss +36 -0
  723. package/components/radio/src/styles/color-css.js +2 -0
  724. package/components/radio/src/styles/color.css +45 -0
  725. package/components/radio/src/styles/color.scss +56 -0
  726. package/components/radio/src/styles/groupColor-css.js +2 -0
  727. package/components/radio/src/styles/groupColor.css +21 -0
  728. package/components/radio/src/styles/groupColor.scss +33 -0
  729. package/components/radio/src/styles/style-css.js +2 -0
  730. package/components/radio/src/styles/style.css +113 -0
  731. package/components/radio/src/styles/style.scss +99 -0
  732. package/components/radio/src/styles/tokens-css.js +2 -0
  733. package/components/radio/src/styles/tokens.css +9 -0
  734. package/components/radio/src/styles/tokens.scss +12 -0
  735. package/components/select/.stylelintrc.json +3 -0
  736. package/components/select/.turbo/turbo-build$colon$sass.log +122 -0
  737. package/components/select/.turbo/turbo-build.log +240 -0
  738. package/components/select/.turbo/turbo-postCss$colon$component.log +5 -0
  739. package/components/select/.turbo/turbo-sass$colon$render.log +22 -0
  740. package/components/select/README.md +205 -0
  741. package/components/select/demo/alertValue.js +6 -0
  742. package/components/select/demo/api.html +54 -0
  743. package/components/select/demo/api.js +33 -0
  744. package/components/select/demo/api.md +814 -0
  745. package/components/select/demo/api.min.js +4980 -0
  746. package/components/select/demo/index.js +9 -0
  747. package/components/select/demo/index.md +470 -0
  748. package/components/select/demo/index.min.js +4871 -0
  749. package/components/select/dist/auro-select.d.ts +193 -0
  750. package/components/select/dist/auro-select.d.ts.map +1 -0
  751. package/components/select/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  752. package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  753. package/components/select/dist/index.d.ts +3 -0
  754. package/components/select/dist/index.d.ts.map +1 -0
  755. package/components/select/dist/index.js +3782 -0
  756. package/components/select/dist/styles/color-css.d.ts +3 -0
  757. package/components/select/dist/styles/color-css.d.ts.map +1 -0
  758. package/components/select/dist/styles/style-css.d.ts +3 -0
  759. package/components/select/dist/styles/style-css.d.ts.map +1 -0
  760. package/components/select/dist/styles/tokens-css.d.ts +3 -0
  761. package/components/select/dist/styles/tokens-css.d.ts.map +1 -0
  762. package/components/select/node_modules/chalk/package.json +83 -0
  763. package/components/select/node_modules/chalk/readme.md +325 -0
  764. package/components/select/node_modules/chalk/source/index.d.ts +320 -0
  765. package/components/select/node_modules/chalk/source/index.js +225 -0
  766. package/components/select/node_modules/chalk/source/utilities.js +33 -0
  767. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  768. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  769. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  770. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
  771. package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  772. package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  773. package/components/select/node_modules/mime/CHANGELOG.md +296 -0
  774. package/components/select/node_modules/mime/Mime.js +97 -0
  775. package/components/select/node_modules/mime/README.md +187 -0
  776. package/components/select/node_modules/mime/cli.js +46 -0
  777. package/components/select/node_modules/mime/index.js +4 -0
  778. package/components/select/node_modules/mime/lite.js +4 -0
  779. package/components/select/node_modules/mime/package.json +52 -0
  780. package/components/select/node_modules/mime/types/other.js +1 -0
  781. package/components/select/node_modules/mime/types/standard.js +1 -0
  782. package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
  783. package/components/select/node_modules/rollup-plugin-serve/README.md +135 -0
  784. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
  785. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
  786. package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
  787. package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
  788. package/components/select/node_modules/rollup-plugin-serve/package.json +44 -0
  789. package/components/select/package.json +70 -0
  790. package/components/select/packageScripts/postinstall.mjs +28 -0
  791. package/components/select/src/auro-select.js +570 -0
  792. package/components/select/src/formkit/auro-dropdownVersion.js +1 -0
  793. package/components/select/src/index.js +6 -0
  794. package/components/select/src/styles/color-css.js +2 -0
  795. package/components/select/src/styles/color.css +63 -0
  796. package/components/select/src/styles/color.scss +33 -0
  797. package/components/select/src/styles/style-css.js +2 -0
  798. package/components/select/src/styles/style.css +97 -0
  799. package/components/select/src/styles/style.scss +66 -0
  800. package/components/select/src/styles/tokens-css.js +2 -0
  801. package/components/select/src/styles/tokens.css +3 -0
  802. package/components/select/src/styles/tokens.scss +5 -0
  803. package/package.json +142 -0
  804. package/packages/build-tools/package.json +15 -0
  805. package/packages/build-tools/src/docProcessor.mjs +104 -0
  806. package/packages/build-tools/src/formVersionWriter.mjs +75 -0
  807. package/packages/build-tools/src/index.js +1 -0
  808. package/packages/build-tools/src/kitDocProcessor.mjs +66 -0
  809. package/packages/form-validation/package.json +12 -0
  810. package/packages/form-validation/src/index.js +1 -0
  811. package/packages/form-validation/src/validation.js +239 -0
  812. package/packages/typescript/base.json +19 -0
  813. package/packages/typescript/package.json +20 -0
  814. package/turbo.json +100 -0
@@ -0,0 +1,1251 @@
1
+ <style>
2
+ .exampleWrapper--flex * {
3
+ margin-bottom: 1rem;
4
+ }
5
+
6
+ @media screen and (min-width: 660px) {
7
+ .exampleWrapper--flex {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ }
11
+
12
+ .exampleWrapper--flex * {
13
+ width: 45%;
14
+ margin-bottom: unset;
15
+ }
16
+ }
17
+ </style>
18
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../docs/api.md) -->
19
+ <!-- The below content is automatically added from ../docs/api.md -->
20
+
21
+ # auro-input
22
+
23
+ Generate unique names for dependency components.
24
+
25
+ ## Attributes
26
+
27
+ | Attribute | Type | Description |
28
+ |--------------|-----------|--------------------------------|
29
+ | [bordered](#bordered) | `Boolean` | Applies bordered UI variant. |
30
+ | [borderless](#borderless) | `Boolean` | Applies borderless UI variant. |
31
+
32
+ ## Properties
33
+
34
+ | Property | Attribute | Type | Default | Description |
35
+ |-----------------------------------|-----------------------------------|-----------|----------------------------|--------------------------------------------------|
36
+ | [activeLabel](#activeLabel) | `activeLabel` | `Boolean` | false | If set, the label will remain fixed in the active position. |
37
+ | [autocapitalize](#autocapitalize) | `autocapitalize` | `String` | | 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] |
38
+ | [autocomplete](#autocomplete) | `autocomplete` | `String` | | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
39
+ | [autocorrect](#autocorrect) | `autocorrect` | `String` | | When set to `off`, stops iOS from auto correcting words when typed into a text box. |
40
+ | [customValidityTypeEmail](#customValidityTypeEmail) | `customValidityTypeEmail` | `string` | | |
41
+ | [disabled](#disabled) | `disabled` | `Boolean` | false | If set, disables the input. |
42
+ | [error](#error) | `error` | `String` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
43
+ | [errorMessage](#errorMessage) | `errorMessage` | `String` | | Contains the help text message for the current validity error. |
44
+ | [helpText](#helpText) | `helpText` | `String` | | Deprecated, see `slot`. |
45
+ | [icon](#icon) | `icon` | `Boolean` | false | 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. |
46
+ | [id](#id) | `id` | `String` | | Sets the unique ID of the element. |
47
+ | [isValid](#isValid) | `isValid` | `String` | false | (DEPRECATED - Please use validity) Can be accessed to determine if the input validity. Returns true when validity has not yet been checked or validity = 'valid', all other cases return false. Not intended to be set by the consumer. |
48
+ | [label](#label) | `label` | `String` | "Input label is undefined" | Deprecated, see `slot`. |
49
+ | [lang](#lang) | `lang` | `String` | | defines the language of an element. |
50
+ | [max](#max) | `max` | `String` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `numeric` and all date formats. |
51
+ | [maxLength](#maxLength) | `maxLength` | `Number` | "undefined" | The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher. |
52
+ | [min](#min) | `min` | `String` | "undefined" | The minimum value allowed. This only applies for inputs with a type of `numeric` and all date formats. |
53
+ | [minLength](#minLength) | `minLength` | `Number` | "undefined" | The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`. |
54
+ | [name](#name) | `name` | `String` | | Populates the `name` attribute on the input. |
55
+ | [noValidate](#noValidate) | `noValidate` | `Boolean` | false | If set, disables auto-validation on blur. |
56
+ | [pattern](#pattern) | `pattern` | `String` | | Specifies a regular expression the form control's value should match. |
57
+ | [placeholder](#placeholder) | `placeholder` | `String` | | Define custom placeholder text, only supported by date input formats. |
58
+ | [readonly](#readonly) | `readonly` | `Boolean` | | Makes the input read-only, but can be set programmatically. |
59
+ | [required](#required) | `required` | `Boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
60
+ | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `String` | | Sets a custom help text message to display for all validityStates. |
61
+ | [setCustomValidityBadInput](#setCustomValidityBadInput) | `setCustomValidityBadInput` | `String` | | Custom help text message to display when validity = `badInput`. |
62
+ | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `String` | | Custom help text message to display when validity = `customError`. |
63
+ | [setCustomValidityForType](#setCustomValidityForType) | `setCustomValidityForType` | `String` | "undefined" | Custom help text message to display for the declared element `type` and type validity fails. |
64
+ | [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `String` | | Custom help text message to display when validity = `rangeOverflow`. |
65
+ | [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `String` | | Custom help text message to display when validity = `rangeUnderflow`. |
66
+ | [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `String` | | Custom help text message to display when validity = `tooLong`. |
67
+ | [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `String` | | Custom help text message to display when validity = `tooShort`. |
68
+ | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `String` | | Custom help text message to display when validity = `valueMissing`. |
69
+ | [spellcheck](#spellcheck) | `spellcheck` | `String` | | 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`. |
70
+ | [type](#type) | `type` | `String` | | 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`. |
71
+ | [validateOnInput](#validateOnInput) | `validateOnInput` | `Boolean` | | Sets validation mode to re-eval with each input. |
72
+ | [validity](#validity) | `validity` | `String` | | Specifies the `validityState` this element is in. |
73
+ | [value](#value) | `value` | `String` | | Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input. |
74
+
75
+ ## Methods
76
+
77
+ | Method | Type | Description |
78
+ |--------------|---------------|------------------------------------------|
79
+ | [isDateType](#isDateType) | `(): boolean` | |
80
+ | [validate](#validate) | `(): void` | Public method force validation of input. |
81
+
82
+ ## Events
83
+
84
+ | Event | Type | Description |
85
+ |-----------------------------|--------------------|--------------------------------------------------|
86
+ | `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` value has changed. |
87
+ | `auroInput-validityChange` | `CustomEvent<any>` | |
88
+ | [input](#input) | | Event fires when the value of an `auro-input` has been changed. |
89
+
90
+ ## Slots
91
+
92
+ | Name | Description |
93
+ |------------|-----------------------------------------------|
94
+ | [helptext](#helptext) | Sets the help text displayed below the input. |
95
+ | [label](#label) | Sets the label text for the input. |
96
+
97
+ ## CSS Shadow Parts
98
+
99
+ | Part | Description |
100
+ |-----------------|--------------------------------------------------|
101
+ | [accentIcon](#accentIcon) | Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon) |
102
+ | [helpText](#helpText) | Use for customizing the style of the helpText element |
103
+ | [iconContainer](#iconContainer) | Use for customizing the style of the iconContainer (e.g. X icon for clearing input value) |
104
+ | [label](#label) | Use for customizing the style of the label element |
105
+ | [wrapper](#wrapper) | Use for customizing the style of the root element |
106
+ <!-- AURO-GENERATED-CONTENT:END -->
107
+
108
+ # API Examples
109
+
110
+ ## Localization Support
111
+
112
+ The `auro-input` element supports the localization of all content managed within the scope of the element. This DOES NOT include any custom content placed in the `slot` element.
113
+
114
+ <auro-radio-group required horizontal>
115
+ <span slot="legend">Use the options here to toggle between languages</span>
116
+ <auro-radio id="enButton" name="langDemo" value="en" checked>English</auro-radio>
117
+ <auro-radio id="esButton" name="langDemo" value="es">Spanish</auro-radio>
118
+ </auro-radio-group>
119
+
120
+ ## Basic
121
+
122
+ <div class="exampleWrapper exampleWrapper--flex">
123
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/basic.html) -->
124
+ <!-- The below content is automatically added from ../apiExamples/basic.html -->
125
+ <auro-input></auro-input>
126
+ <auro-input bordered></auro-input>
127
+ <!-- AURO-GENERATED-CONTENT:END -->
128
+ </div>
129
+ <auro-accordion alignRight>
130
+ <span slot="trigger">See code</span>
131
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/basic.html) -->
132
+ <!-- The below code snippet is automatically added from ../apiExamples/basic.html -->
133
+
134
+ ```html
135
+ <auro-input></auro-input>
136
+ <auro-input bordered></auro-input>
137
+ ```
138
+ <!-- AURO-GENERATED-CONTENT:END -->
139
+ </auro-accordion>
140
+
141
+ ## Attribute Examples
142
+
143
+ ### Disabled <a name="disabled"></a>
144
+ Use the `disable` attribute to prevent the user from interacting with the input.
145
+
146
+ <div class="exampleWrapper exampleWrapper--flex">
147
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/disabled.html) -->
148
+ <!-- The below content is automatically added from ../apiExamples/disabled.html -->
149
+ <auro-input disabled type="month-day-year" required>
150
+ <slot slot="label">Departure date</slot>
151
+ </auro-input>
152
+ <auro-input disabled bordered type="month-day-year">
153
+ <slot slot="label">Arrival date</slot>
154
+ </auro-input>
155
+ <!-- AURO-GENERATED-CONTENT:END -->
156
+ </div>
157
+ <auro-accordion alignRight>
158
+ <span slot="trigger">See code</span>
159
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/disabled.html) -->
160
+ <!-- The below code snippet is automatically added from ../apiExamples/disabled.html -->
161
+
162
+ ```html
163
+ <auro-input disabled type="month-day-year" required>
164
+ <slot slot="label">Departure date</slot>
165
+ </auro-input>
166
+ <auro-input disabled bordered type="month-day-year">
167
+ <slot slot="label">Arrival date</slot>
168
+ </auro-input>
169
+ ```
170
+ <!-- AURO-GENERATED-CONTENT:END -->
171
+ </auro-accordion>
172
+
173
+ ### Placeholder <a name="placeholder"></a>
174
+ Use the `placeholder` attribute to add a custom placeholder message within the element.
175
+
176
+ <div class="exampleWrapper exampleWrapper--flex">
177
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/placeholder.html) -->
178
+ <!-- The below content is automatically added from ../apiExamples/placeholder.html -->
179
+ <auro-input required placeholder="John Doe">
180
+ <span slot="label">Full name</span>
181
+ </auro-input>
182
+ <auro-input required bordered placeholder="John Doe">
183
+ <span slot="label">Full name</span>
184
+ <span slot="helptext">Please enter your full name.</span>
185
+ </auro-input>
186
+ <!-- AURO-GENERATED-CONTENT:END -->
187
+ </div>
188
+ <auro-accordion alignRight>
189
+ <span slot="trigger">See code</span>
190
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/placeholder.html) -->
191
+ <!-- The below code snippet is automatically added from ../apiExamples/placeholder.html -->
192
+
193
+ ```html
194
+ <auro-input required placeholder="John Doe">
195
+ <span slot="label">Full name</span>
196
+ </auro-input>
197
+ <auro-input required bordered placeholder="John Doe">
198
+ <span slot="label">Full name</span>
199
+ <span slot="helptext">Please enter your full name.</span>
200
+ </auro-input>
201
+ ```
202
+ <!-- AURO-GENERATED-CONTENT:END -->
203
+ </auro-accordion>
204
+
205
+ ### Value <a name="value"></a>
206
+ Use the `value` attribute to programmatically set the value of the input.
207
+
208
+ <div class="exampleWrapper">
209
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/programmaticValue.html) -->
210
+ <!-- The below content is automatically added from ../apiExamples/programmaticValue.html -->
211
+ <auro-input value="Alaska Airlines is the best!" bordered>
212
+ <span slot="label">Name</span>
213
+ <span slot="helptext">Please enter your full name.</span>
214
+ </auro-input>
215
+ <!-- AURO-GENERATED-CONTENT:END -->
216
+ </div>
217
+ <auro-accordion alignRight>
218
+ <span slot="trigger">See code</span>
219
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/programmaticValue.html) -->
220
+ <!-- The below code snippet is automatically added from ../apiExamples/programmaticValue.html -->
221
+
222
+ ```html
223
+ <auro-input value="Alaska Airlines is the best!" bordered>
224
+ <span slot="label">Name</span>
225
+ <span slot="helptext">Please enter your full name.</span>
226
+ </auro-input>
227
+ ```
228
+ <!-- AURO-GENERATED-CONTENT:END -->
229
+ </auro-accordion>
230
+
231
+ #### Dynamically Set Value
232
+
233
+ Use the `value` and other components to dynamically set the value of the input.
234
+
235
+ Note: Setting the `value` to `undefined` will also reset the element.
236
+
237
+ <div class="exampleWrapper">
238
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/value.html) -->
239
+ <!-- The below content is automatically added from ../apiExamples/value.html -->
240
+ <auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
241
+ <auro-button id="resetValueBtn">Reset</auro-button>
242
+ <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
243
+ <span slot="label">Name</span>
244
+ <span slot="helptext">Please enter your full name.</span>
245
+ </auro-input>
246
+ <!-- AURO-GENERATED-CONTENT:END -->
247
+ </div>
248
+ <auro-accordion alignRight>
249
+ <span slot="trigger">See code</span>
250
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/value.html) -->
251
+ <!-- The below code snippet is automatically added from ../apiExamples/value.html -->
252
+
253
+ ```html
254
+ <auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
255
+ <auro-button id="resetValueBtn">Reset</auro-button>
256
+ <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
257
+ <span slot="label">Name</span>
258
+ <span slot="helptext">Please enter your full name.</span>
259
+ </auro-input>
260
+ ```
261
+ <!-- AURO-GENERATED-CONTENT:END -->
262
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/value.js) -->
263
+ <!-- The below code snippet is automatically added from ../apiExamples/value.js -->
264
+
265
+ ```js
266
+ export function programmaticallySetValue() {
267
+ const elem = document.querySelector('#setProgrammaticValueExample');
268
+
269
+ // set value of auro-input element
270
+ document.querySelector('#setValidValueBtn').addEventListener('click', () => {
271
+ elem.value = "Alaska Airlines is the best";
272
+ });
273
+
274
+ // reset the value of auro-input element
275
+ document.querySelector('#resetValueBtn').addEventListener('click', () => {
276
+ elem.value = '';
277
+ });
278
+ }
279
+ ```
280
+ <!-- AURO-GENERATED-CONTENT:END -->
281
+ </auro-accordion>
282
+
283
+ ### Max <a name="max"></a>
284
+ Use the `max` attribute to define a maximum value used during validation. The attribute will only apply when `<auro-input>` also has a `type` attribute for `numeric` or any date format.
285
+
286
+ The `max` attribute should be used in combination with the `setCustomValidityRangeOverflow` attribute to define help text used when the `max` attribute validation fails.
287
+
288
+ #### Date Example
289
+
290
+ <div class="exampleWrapper">
291
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxDate.html) -->
292
+ <!-- The below content is automatically added from ../apiExamples/maxDate.html -->
293
+ <auro-input type="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
294
+ <span slot="label">Choose a date</span>
295
+ </auro-input>
296
+ <!-- AURO-GENERATED-CONTENT:END -->
297
+ </div>
298
+ <auro-accordion alignRight>
299
+ <span slot="trigger">See code</span>
300
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxDate.html) -->
301
+ <!-- The below code snippet is automatically added from ../apiExamples/maxDate.html -->
302
+
303
+ ```html
304
+ <auro-input type="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
305
+ <span slot="label">Choose a date</span>
306
+ </auro-input>
307
+ ```
308
+ <!-- AURO-GENERATED-CONTENT:END -->
309
+ </auro-accordion>
310
+
311
+ #### Numeric Example
312
+
313
+ <div class="exampleWrapper">
314
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxNumeric.html) -->
315
+ <!-- The below content is automatically added from ../apiExamples/maxNumeric.html -->
316
+ <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
317
+ <span slot="label">Choose a number</span>
318
+ </auro-input>
319
+ <!-- AURO-GENERATED-CONTENT:END -->
320
+ </div>
321
+ <auro-accordion alignRight>
322
+ <span slot="trigger">See code</span>
323
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxNumeric.html) -->
324
+ <!-- The below code snippet is automatically added from ../apiExamples/maxNumeric.html -->
325
+
326
+ ```html
327
+ <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
328
+ <span slot="label">Choose a number</span>
329
+ </auro-input>
330
+ ```
331
+ <!-- AURO-GENERATED-CONTENT:END -->
332
+ </auro-accordion>
333
+
334
+ ### Min <a name="min"></a>
335
+ Use the `min` attribute to define a minimum value used during validation. The attribute will only apply when `<auro-input>` also has a `type` attribute for numeric or any date format.
336
+
337
+ The `min` attribute should be used in combination with the `setCustomValidityRangeUnderflow` attribute to define help text used when the `min` attribute validation fails.
338
+
339
+ #### Date Example
340
+
341
+ <div class="exampleWrapper">
342
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
343
+ <!-- The below content is automatically added from ../apiExamples/minDate.html -->
344
+ <auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
345
+ <span slot="label">Choose a date</span>
346
+ </auro-input>
347
+ <!-- AURO-GENERATED-CONTENT:END -->
348
+ </div>
349
+ <auro-accordion alignRight>
350
+ <span slot="trigger">See code</span>
351
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/minDate.html) -->
352
+ <!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
353
+
354
+ ```html
355
+ <auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
356
+ <span slot="label">Choose a date</span>
357
+ </auro-input>
358
+ ```
359
+ <!-- AURO-GENERATED-CONTENT:END -->
360
+ </auro-accordion>
361
+
362
+ #### Numeric Example
363
+
364
+ <div class="exampleWrapper">
365
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumeric.html) -->
366
+ <!-- The below content is automatically added from ../apiExamples/minNumeric.html -->
367
+ <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
368
+ <span slot="label">Choose a number</span>
369
+ </auro-input>
370
+ <!-- AURO-GENERATED-CONTENT:END -->
371
+ </div>
372
+ <auro-accordion alignRight>
373
+ <span slot="trigger">See code</span>
374
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/minNumeric.html) -->
375
+ <!-- The below code snippet is automatically added from ../apiExamples/minNumeric.html -->
376
+
377
+ ```html
378
+ <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
379
+ <span slot="label">Choose a number</span>
380
+ </auro-input>
381
+ ```
382
+ <!-- AURO-GENERATED-CONTENT:END -->
383
+ </auro-accordion>
384
+
385
+ ### Pattern <a name="pattern"></a>
386
+ Use the `pattern` attribute to set custom input validation. This example also uses the `spellcheck` attribute set to `false` which in turn sets `autocorrect` to `off` and `autocapitalize` to `none`. Additionally the `maxlength` attribute sets the maximum length of characters that can be entered.
387
+
388
+ The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityBadInput` attribute.
389
+
390
+ <div class="exampleWrapper exampleWrapper--flex">
391
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
392
+ <!-- The below content is automatically added from ../apiExamples/pattern.html -->
393
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
394
+ <span slot="label">Username</span>
395
+ <span slot="helptext">Please enter a username.</span>
396
+ </auro-input>
397
+ <auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
398
+ <span slot="label">Username</span>
399
+ <span slot="helptext">Please enter a username.</span>
400
+ </auro-input>
401
+ <!-- AURO-GENERATED-CONTENT:END -->
402
+ </div>
403
+ <auro-accordion alignRight>
404
+ <span slot="trigger">See code</span>
405
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/pattern.html) -->
406
+ <!-- The below code snippet is automatically added from ../apiExamples/pattern.html -->
407
+
408
+ ```html
409
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
410
+ <span slot="label">Username</span>
411
+ <span slot="helptext">Please enter a username.</span>
412
+ </auro-input>
413
+ <auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
414
+ <span slot="label">Username</span>
415
+ <span slot="helptext">Please enter a username.</span>
416
+ </auro-input>
417
+ ```
418
+ <!-- AURO-GENERATED-CONTENT:END -->
419
+ </auro-accordion>
420
+
421
+ ### Borderless <a name="borderless"></a>
422
+ Use the `borderless` attribute to remove the bottom border. This attribute is intended for use when input is wrapped in a container that already handles the different state displays, e.g. [auro-dropdown](http://auro.alaskaair.com/components/auro/dropdown).
423
+
424
+ <div class="exampleWrapper">
425
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/borderless.html) -->
426
+ <!-- The below content is automatically added from ../apiExamples/borderless.html -->
427
+ <auro-input borderless>
428
+ <span slot="label">Name</span>
429
+ <span slot="helptext">Please enter your full name.</span>
430
+ </auro-input>
431
+ <!-- AURO-GENERATED-CONTENT:END -->
432
+ </div>
433
+ <auro-accordion alignRight>
434
+ <span slot="trigger">See code</span>
435
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/borderless.html) -->
436
+ <!-- The below code snippet is automatically added from ../apiExamples/borderless.html -->
437
+
438
+ ```html
439
+ <auro-input borderless>
440
+ <span slot="label">Name</span>
441
+ <span slot="helptext">Please enter your full name.</span>
442
+ </auro-input>
443
+ ```
444
+ <!-- AURO-GENERATED-CONTENT:END -->
445
+ </auro-accordion>
446
+
447
+ ### Readonly <a name="readonly"></a>
448
+ Use the `readonly` attribute to prevent the user from editing the value of the input.
449
+
450
+ In this example, the user is able to programmatically change the value of the input by clicking the button or clear out the contents of the input.
451
+
452
+ <div class="exampleWrapper">
453
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/readonly.html) -->
454
+ <!-- The below content is automatically added from ../apiExamples/readonly.html -->
455
+ <auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
456
+ <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
457
+ <auro-input readonly bordered id="readonlyExample">
458
+ <span slot="label">Name</span>
459
+ <span slot="helptext">Please enter your full name.</span>
460
+ </auro-input>
461
+ <!-- AURO-GENERATED-CONTENT:END -->
462
+ </div>
463
+ <auro-accordion alignRight>
464
+ <span slot="trigger">See code</span>
465
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/readonly.html) -->
466
+ <!-- The below code snippet is automatically added from ../apiExamples/readonly.html -->
467
+
468
+ ```html
469
+ <auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
470
+ <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
471
+ <auro-input readonly bordered id="readonlyExample">
472
+ <span slot="label">Name</span>
473
+ <span slot="helptext">Please enter your full name.</span>
474
+ </auro-input>
475
+ ```
476
+ <!-- AURO-GENERATED-CONTENT:END -->
477
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/readonly.js) -->
478
+ <!-- The below code snippet is automatically added from ../apiExamples/readonly.js -->
479
+
480
+ ```js
481
+ export function setReadonlyValue() {
482
+ const elem = document.querySelector('#readonlyExample');
483
+
484
+ // set value of auro-input element
485
+ document.querySelector('#setReadonlyValueBtn').addEventListener('click', () => {
486
+ elem.value = "Auro Alaska";
487
+ });
488
+
489
+ document.querySelector('#resetReadonlyValueBtn').addEventListener('click', () => {
490
+ elem.value = undefined;
491
+ });
492
+ }
493
+ ```
494
+ <!-- AURO-GENERATED-CONTENT:END -->
495
+ </auro-accordion>
496
+
497
+ ### Active Label <a name="activeLabel"></a>
498
+ Example use cases for auro-input support the `activeLabel` attribute. If set, the label will stay fixed in the active position.
499
+
500
+ <div class="exampleWrapper exampleWrapper--flex">
501
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/activeLabel.html) -->
502
+ <!-- The below content is automatically added from ../apiExamples/activeLabel.html -->
503
+ <auro-input activeLabel>
504
+ <slot slot="label">Address</slot>
505
+ <slot slot="helptext">Please enter your home address.</slot>
506
+ </auro-input>
507
+ <auro-input activeLabel bordered>
508
+ <slot slot="label">Address</slot>
509
+ <slot slot="helptext">Please enter your home address.</slot>
510
+ </auro-input>
511
+ <!-- AURO-GENERATED-CONTENT:END -->
512
+ </div>
513
+ <auro-accordion alignRight>
514
+ <span slot="trigger">See code</span>
515
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/activeLabel.html) -->
516
+ <!-- The below code snippet is automatically added from ../apiExamples/activeLabel.html -->
517
+
518
+ ```html
519
+ <auro-input activeLabel>
520
+ <slot slot="label">Address</slot>
521
+ <slot slot="helptext">Please enter your home address.</slot>
522
+ </auro-input>
523
+ <auro-input activeLabel bordered>
524
+ <slot slot="label">Address</slot>
525
+ <slot slot="helptext">Please enter your home address.</slot>
526
+ </auro-input>
527
+ ```
528
+ <!-- AURO-GENERATED-CONTENT:END -->
529
+ </auro-accordion>
530
+
531
+ ### Disable auto-validation <a name="noValidate"></a>
532
+ For use cases where the field is `required`, but live validation is not wanted, use the `noValidate` attribute.
533
+
534
+ <div class="exampleWrapper exampleWrapper--flex">
535
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/noValidate.html) -->
536
+ <!-- The below content is automatically added from ../apiExamples/noValidate.html -->
537
+ <auro-input noValidate required>
538
+ <slot slot="label">Address</slot>
539
+ <slot slot="helptext">Please enter your home address.</slot>
540
+ </auro-input>
541
+ <auro-input noValidate required bordered>
542
+ <slot slot="label">Address</slot>
543
+ <slot slot="helptext">Please enter your home address.</slot>
544
+ </auro-input>
545
+ <!-- AURO-GENERATED-CONTENT:END -->
546
+ </div>
547
+ <auro-accordion alignRight>
548
+ <span slot="trigger">See code</span>
549
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/noValidate.html) -->
550
+ <!-- The below code snippet is automatically added from ../apiExamples/noValidate.html -->
551
+
552
+ ```html
553
+ <auro-input noValidate required>
554
+ <slot slot="label">Address</slot>
555
+ <slot slot="helptext">Please enter your home address.</slot>
556
+ </auro-input>
557
+ <auro-input noValidate required bordered>
558
+ <slot slot="label">Address</slot>
559
+ <slot slot="helptext">Please enter your home address.</slot>
560
+ </auro-input>
561
+ ```
562
+ <!-- AURO-GENERATED-CONTENT:END -->
563
+ </auro-accordion>
564
+
565
+ ## Error support and HTML5 Validity
566
+
567
+ The `<auro-input>` component follows the HTML5 input `validity` and `validityState` [specification](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#client-side_validation).
568
+
569
+ > if there is a form control that fails constraint validation, supporting browsers will display an error message on the first invalid form control; displaying a default message based on the error type, or a message set by you.
570
+
571
+ ### Required <a name="required"></a>
572
+ When present, the `required` attribute specifies that an input field must be filled out before submitting the form.
573
+
574
+ When the validity check fails the validityState equals `valueMissing`. The error message for the `valueMissing` validityState can be changed to a custom string using the `setCustomValidityValueMissing`.
575
+
576
+ <div class="exampleWrapper exampleWrapper--flex">
577
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
578
+ <!-- The below content is automatically added from ../apiExamples/required.html -->
579
+ <auro-input required placeholder="John Doe">
580
+ <span slot="label">Full name</span>
581
+ </auro-input>
582
+ <auro-input required bordered placeholder="John Doe">
583
+ <span slot="label">Full name</span>
584
+ <span slot="helptext">Please enter your full name.</span>
585
+ </auro-input>
586
+ <!-- AURO-GENERATED-CONTENT:END -->
587
+ </div>
588
+ <auro-accordion alignRight>
589
+ <span slot="trigger">See code</span>
590
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/required.html) -->
591
+ <!-- The below code snippet is automatically added from ../apiExamples/required.html -->
592
+
593
+ ```html
594
+ <auro-input required placeholder="John Doe">
595
+ <span slot="label">Full name</span>
596
+ </auro-input>
597
+ <auro-input required bordered placeholder="John Doe">
598
+ <span slot="label">Full name</span>
599
+ <span slot="helptext">Please enter your full name.</span>
600
+ </auro-input>
601
+ ```
602
+ <!-- AURO-GENERATED-CONTENT:END -->
603
+ </auro-accordion>
604
+
605
+ ### Validation on input <a name="validateOnInput"></a>
606
+ Use the `validateOnInput` attribute to enable live validation on the `input` event. Recommended use is with setting a custom `pattern` and validation is required prior to a `blur` event.
607
+
608
+ <div class="exampleWrapper exampleWrapper--flex">
609
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
610
+ <!-- The below content is automatically added from ../apiExamples/validateOnInput.html -->
611
+ <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
612
+ <span slot="label">Full Name</span>
613
+ <span slot="helptext">Please enter your full name as it appears on the card.</span>
614
+ </auro-input>
615
+ <auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
616
+ <span slot="label">Full Name</span>
617
+ <span slot="helptext">Please enter your full name as it appears on the card.</span>
618
+ </auro-input>
619
+ <!-- AURO-GENERATED-CONTENT:END -->
620
+ </div>
621
+ <auro-accordion alignRight>
622
+ <span slot="trigger">See code</span>
623
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/validateOnInput.html) -->
624
+ <!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
625
+
626
+ ```html
627
+ <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
628
+ <span slot="label">Full Name</span>
629
+ <span slot="helptext">Please enter your full name as it appears on the card.</span>
630
+ </auro-input>
631
+ <auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
632
+ <span slot="label">Full Name</span>
633
+ <span slot="helptext">Please enter your full name as it appears on the card.</span>
634
+ </auro-input>
635
+ ```
636
+ <!-- AURO-GENERATED-CONTENT:END -->
637
+ </auro-accordion>
638
+
639
+ ### setCustomValidity <a name="setCustomValidity"></a>
640
+ The `setCustomValidity` attribute can be used to set a custom string for all validityStates. When the component is first loaded, if this attribute is set on the element, all validityStates (except `valid`) will display the defined message.
641
+
642
+ **NOTE:** Custom strings are NOT localized. It is the responsibility of the element consumer to provide localized strings when using this element property.
643
+
644
+ <div class="exampleWrapper exampleWrapper--flex">
645
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/setCustomValidity.html) -->
646
+ <!-- The below content is automatically added from ../apiExamples/setCustomValidity.html -->
647
+ <auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
648
+ <span slot="label">Full Name</span>
649
+ <span slot="helptext">Please enter your full name.</span>
650
+ </auro-input>
651
+ <auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
652
+ <span slot="label">Full Name</span>
653
+ <span slot="helptext">Please enter your full name.</span>
654
+ </auro-input>
655
+ <!-- AURO-GENERATED-CONTENT:END -->
656
+ </div>
657
+ <auro-accordion alignRight>
658
+ <span slot="trigger">See code</span>
659
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/setCustomValidity.html) -->
660
+ <!-- The below code snippet is automatically added from ../apiExamples/setCustomValidity.html -->
661
+
662
+ ```html
663
+ <auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
664
+ <span slot="label">Full Name</span>
665
+ <span slot="helptext">Please enter your full name.</span>
666
+ </auro-input>
667
+ <auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
668
+ <span slot="label">Full Name</span>
669
+ <span slot="helptext">Please enter your full name.</span>
670
+ </auro-input>
671
+ ```
672
+ <!-- AURO-GENERATED-CONTENT:END -->
673
+ </auro-accordion>
674
+
675
+ ### Error <a name="error"></a>
676
+ Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
677
+
678
+ <div class="exampleWrapper">
679
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/error.html) -->
680
+ <!-- The below content is automatically added from ../apiExamples/error.html -->
681
+ <auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
682
+ <auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
683
+ <auro-input id="setCustomErrorExample" error="Initial error attribute value">
684
+ <span slot="label">Name</span>
685
+ <span slot="helptext">Please enter your full name.</span>
686
+ </auro-input>
687
+ <!-- AURO-GENERATED-CONTENT:END -->
688
+ </div>
689
+ <auro-accordion alignRight>
690
+ <span slot="trigger">See code</span>
691
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/error.html) -->
692
+ <!-- The below code snippet is automatically added from ../apiExamples/error.html -->
693
+
694
+ ```html
695
+ <auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
696
+ <auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
697
+ <auro-input id="setCustomErrorExample" error="Initial error attribute value">
698
+ <span slot="label">Name</span>
699
+ <span slot="helptext">Please enter your full name.</span>
700
+ </auro-input>
701
+ ```
702
+ <!-- AURO-GENERATED-CONTENT:END -->
703
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/error.js) -->
704
+ <!-- The below code snippet is automatically added from ../apiExamples/error.js -->
705
+
706
+ ```js
707
+ export function customError() {
708
+ const elem = document.querySelector('#setCustomErrorExample');
709
+ // set custom error
710
+ document.querySelector('#setCustomErrorBtn').addEventListener('click', () => {
711
+ elem.error = "Custom Error Message";
712
+ });
713
+
714
+ // remove custom error
715
+ document.querySelector('#setCustomErrorClearBtn').addEventListener('click', () => {
716
+ elem.removeAttribute('error');
717
+ });
718
+ }
719
+ ```
720
+ <!-- AURO-GENERATED-CONTENT:END -->
721
+ </auro-accordion>
722
+
723
+ ## Types
724
+
725
+ ### Password
726
+
727
+ Use the `type="password"` attribute for a password style input. The hide/show password feature will automatically appear once a user begins to enter data.
728
+
729
+ Default help text will be added to the input `type="password"` if custom help text is not provided. See the example below.
730
+
731
+ <div class="exampleWrapper exampleWrapper--flex">
732
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
733
+ <!-- The below content is automatically added from ../apiExamples/password.html -->
734
+ <auro-input type="password" required>
735
+ <span slot="label">Password</span>
736
+ </auro-input>
737
+ <auro-input type="password" required bordered>
738
+ <span slot="label">Password</span>
739
+ <span slot="helptext">Please enter a secure password.</span>
740
+ </auro-input>
741
+ <!-- AURO-GENERATED-CONTENT:END -->
742
+ </div>
743
+ <auro-accordion alignRight>
744
+ <span slot="trigger">See code</span>
745
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/password.html) -->
746
+ <!-- The below code snippet is automatically added from ../apiExamples/password.html -->
747
+
748
+ ```html
749
+ <auro-input type="password" required>
750
+ <span slot="label">Password</span>
751
+ </auro-input>
752
+ <auro-input type="password" required bordered>
753
+ <span slot="label">Password</span>
754
+ <span slot="helptext">Please enter a secure password.</span>
755
+ </auro-input>
756
+ ```
757
+ <!-- AURO-GENERATED-CONTENT:END -->
758
+ </auro-accordion>
759
+
760
+ ### Email
761
+
762
+ Use the `type="email"` attribute for a email style input. These examples illustrate the default error messaging per that browser. Content may vary.
763
+
764
+ Default help text will be added to the input `type="email"` if custom help text is not provided. See the example below.
765
+
766
+ <div class="exampleWrapper exampleWrapper--flex">
767
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
768
+ <!-- The below content is automatically added from ../apiExamples/email.html -->
769
+ <auro-input required type="email">
770
+ <slot slot="label">Email address</slot>
771
+ </auro-input>
772
+ <auro-input bordered required type="email">
773
+ <slot slot="label">Email address</slot>
774
+ <slot slot="helptext">Please enter your email address.</slot>
775
+ </auro-input>
776
+ <!-- AURO-GENERATED-CONTENT:END -->
777
+ </div>
778
+ <auro-accordion alignRight>
779
+ <span slot="trigger">See code</span>
780
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/email.html) -->
781
+ <!-- The below code snippet is automatically added from ../apiExamples/email.html -->
782
+
783
+ ```html
784
+ <auro-input required type="email">
785
+ <slot slot="label">Email address</slot>
786
+ </auro-input>
787
+ <auro-input bordered required type="email">
788
+ <slot slot="label">Email address</slot>
789
+ <slot slot="helptext">Please enter your email address.</slot>
790
+ </auro-input>
791
+ ```
792
+ <!-- AURO-GENERATED-CONTENT:END -->
793
+ </auro-accordion>
794
+
795
+ ### Number
796
+
797
+ Use the `type="number"` attribute for a numeric style input and invoke a numeric virtual keyboard on handheld devices.
798
+
799
+ <div class="exampleWrapper exampleWrapper--flex">
800
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
801
+ <!-- The below content is automatically added from ../apiExamples/number.html -->
802
+ <auro-input required type="number">
803
+ <slot slot="label">Account number</slot>
804
+ <slot slot="helptext">Please enter your account number.</slot>
805
+ </auro-input>
806
+ <auro-input bordered required type="number">
807
+ <slot slot="label">Account number</slot>
808
+ <slot slot="helptext">Please enter your account number.</slot>
809
+ </auro-input>
810
+ <!-- AURO-GENERATED-CONTENT:END -->
811
+ </div>
812
+ <auro-accordion alignRight>
813
+ <span slot="trigger">See code</span>
814
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/number.html) -->
815
+ <!-- The below code snippet is automatically added from ../apiExamples/number.html -->
816
+
817
+ ```html
818
+ <auro-input required type="number">
819
+ <slot slot="label">Account number</slot>
820
+ <slot slot="helptext">Please enter your account number.</slot>
821
+ </auro-input>
822
+ <auro-input bordered required type="number">
823
+ <slot slot="label">Account number</slot>
824
+ <slot slot="helptext">Please enter your account number.</slot>
825
+ </auro-input>
826
+ ```
827
+ <!-- AURO-GENERATED-CONTENT:END -->
828
+ </auro-accordion>
829
+
830
+ #### maxLength <a name="maxLength"></a>
831
+ Use the `type="number"` in combination wit the `maxlength` attribute to control the length of the number entered.
832
+
833
+ <div class="exampleWrapper exampleWrapper--flex">
834
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
835
+ <!-- The below content is automatically added from ../apiExamples/maxLength.html -->
836
+ <auro-input required type="number" maxlength="12">
837
+ <slot slot="label">Account number</slot>
838
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
839
+ </auro-input>
840
+ <auro-input bordered required type="number" maxlength="12">
841
+ <slot slot="label">Account number</slot>
842
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
843
+ </auro-input>
844
+ <!-- AURO-GENERATED-CONTENT:END -->
845
+ </div>
846
+ <auro-accordion alignRight>
847
+ <span slot="trigger">See code</span>
848
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxLength.html) -->
849
+ <!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
850
+
851
+ ```html
852
+ <auro-input required type="number" maxlength="12">
853
+ <slot slot="label">Account number</slot>
854
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
855
+ </auro-input>
856
+ <auro-input bordered required type="number" maxlength="12">
857
+ <slot slot="label">Account number</slot>
858
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
859
+ </auro-input>
860
+ ```
861
+ <!-- AURO-GENERATED-CONTENT:END -->
862
+ </auro-accordion>
863
+
864
+ #### minLength <a name="minLength"></a>
865
+ Use the `type="number"` in combination wit the `minlength` attribute to control the length of the number entered.
866
+
867
+ <div class="exampleWrapper exampleWrapper--flex">
868
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
869
+ <!-- The below content is automatically added from ../apiExamples/minLength.html -->
870
+ <auro-input required type="number" minlength="1">
871
+ <slot slot="label">Account number</slot>
872
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
873
+ </auro-input>
874
+ <auro-input bordered required type="number" minlength="1">
875
+ <slot slot="label">Account number</slot>
876
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
877
+ </auro-input>
878
+ <!-- AURO-GENERATED-CONTENT:END -->
879
+ </div>
880
+ <auro-accordion alignRight>
881
+ <span slot="trigger">See code</span>
882
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/minLength.html) -->
883
+ <!-- The below code snippet is automatically added from ../apiExamples/minLength.html -->
884
+
885
+ ```html
886
+ <auro-input required type="number" minlength="1">
887
+ <slot slot="label">Account number</slot>
888
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
889
+ </auro-input>
890
+ <auro-input bordered required type="number" minlength="1">
891
+ <slot slot="label">Account number</slot>
892
+ <slot slot="helptext">Please enter your 12 digit account number.</slot>
893
+ </auro-input>
894
+ ```
895
+ <!-- AURO-GENERATED-CONTENT:END -->
896
+ </auro-accordion>
897
+
898
+ ### Credit Card
899
+
900
+ Use the `type="credit-card"` attribute for a credit card formatted input.
901
+
902
+ Default help text will be added to the input `type="credit-card"` if custom help text is not provided. See the example below.
903
+
904
+ <div class="exampleWrapper exampleWrapper--flex">
905
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
906
+ <!-- The below content is automatically added from ../apiExamples/creditCard.html -->
907
+ <auro-input required type="credit-card">
908
+ <slot slot="label">Card number</slot>
909
+ </auro-input>
910
+ <auro-input bordered required type="credit-card">
911
+ <slot slot="label">Card number</slot>
912
+ <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
913
+ </auro-input>
914
+ <!-- AURO-GENERATED-CONTENT:END -->
915
+ </div>
916
+ <auro-accordion alignRight>
917
+ <span slot="trigger">See code</span>
918
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/creditCard.html) -->
919
+ <!-- The below code snippet is automatically added from ../apiExamples/creditCard.html -->
920
+
921
+ ```html
922
+ <auro-input required type="credit-card">
923
+ <slot slot="label">Card number</slot>
924
+ </auro-input>
925
+ <auro-input bordered required type="credit-card">
926
+ <slot slot="label">Card number</slot>
927
+ <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
928
+ </auro-input>
929
+ ```
930
+ <!-- AURO-GENERATED-CONTENT:END -->
931
+ </auro-accordion>
932
+ Use the `type="credit-card"` and `icon` attributes for a credit card formatted input with credit card icon support.
933
+
934
+ **Dependency**: Please be sure to also install [auro-icon](https://auro.alaskaair.com/components/auro/icon/install) as a peer dependency.
935
+
936
+ <div class="exampleWrapper exampleWrapper--flex">
937
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
938
+ <!-- The below content is automatically added from ../apiExamples/creditCardIcon.html -->
939
+ <auro-input required icon type="credit-card">
940
+ <slot slot="label">Card number</slot>
941
+ </auro-input>
942
+ <auro-input bordered required icon type="credit-card">
943
+ <slot slot="label">Card number</slot>
944
+ <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
945
+ </auro-input>
946
+ <!-- AURO-GENERATED-CONTENT:END -->
947
+ </div>
948
+ <auro-accordion alignRight>
949
+ <span slot="trigger">See code</span>
950
+ // Use 4147 3411 1111 1111 to see the Alaska Airline's credit card!
951
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/creditCardIcon.html) -->
952
+ <!-- The below code snippet is automatically added from ../apiExamples/creditCardIcon.html -->
953
+
954
+ ```html
955
+ <auro-input required icon type="credit-card">
956
+ <slot slot="label">Card number</slot>
957
+ </auro-input>
958
+ <auro-input bordered required icon type="credit-card">
959
+ <slot slot="label">Card number</slot>
960
+ <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
961
+ </auro-input>
962
+ ```
963
+ <!-- AURO-GENERATED-CONTENT:END -->
964
+ </auro-accordion>
965
+
966
+ ### Date Format
967
+
968
+ Use the `type="month-day-year"` attribute for a date formatted input.
969
+
970
+ <div class="exampleWrapper exampleWrapper--flex">
971
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
972
+ <!-- The below content is automatically added from ../apiExamples/monthDayYear.html -->
973
+ <auro-input type="month-day-year" required>
974
+ <slot slot="label">Departure date</slot>
975
+ </auro-input>
976
+ <auro-input bordered type="month-day-year">
977
+ <slot slot="label">Arrival date</slot>
978
+ </auro-input>
979
+ <!-- AURO-GENERATED-CONTENT:END -->
980
+ </div>
981
+ <auro-accordion alignRight>
982
+ <span slot="trigger">See code</span>
983
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/monthDayYear.html) -->
984
+ <!-- The below code snippet is automatically added from ../apiExamples/monthDayYear.html -->
985
+
986
+ ```html
987
+ <auro-input type="month-day-year" required>
988
+ <slot slot="label">Departure date</slot>
989
+ </auro-input>
990
+ <auro-input bordered type="month-day-year">
991
+ <slot slot="label">Arrival date</slot>
992
+ </auro-input>
993
+ ```
994
+ <!-- AURO-GENERATED-CONTENT:END -->
995
+ </auro-accordion>
996
+ Use the `type="month-year"` attribute for a date formatted input.
997
+
998
+ <div class="exampleWrapper exampleWrapper--flex">
999
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
1000
+ <!-- The below content is automatically added from ../apiExamples/monthYear.html -->
1001
+ <auro-input type="month-year">
1002
+ <slot slot="label">Departure date</slot>
1003
+ </auro-input>
1004
+ <auro-input bordered type="month-year" required>
1005
+ <slot slot="label">Arrival date</slot>
1006
+ </auro-input>
1007
+ <!-- AURO-GENERATED-CONTENT:END -->
1008
+ </div>
1009
+ <auro-accordion alignRight>
1010
+ <span slot="trigger">See code</span>
1011
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/monthYear.html) -->
1012
+ <!-- The below code snippet is automatically added from ../apiExamples/monthYear.html -->
1013
+
1014
+ ```html
1015
+ <auro-input type="month-year">
1016
+ <slot slot="label">Departure date</slot>
1017
+ </auro-input>
1018
+ <auro-input bordered type="month-year" required>
1019
+ <slot slot="label">Arrival date</slot>
1020
+ </auro-input>
1021
+ ```
1022
+ <!-- AURO-GENERATED-CONTENT:END -->
1023
+ </auro-accordion>
1024
+ Use the `type="month-fullYear"` attribute for a date formatted input.
1025
+
1026
+ <div class="exampleWrapper exampleWrapper--flex">
1027
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthFullYear.html) -->
1028
+ <!-- The below content is automatically added from ../apiExamples/monthFullYear.html -->
1029
+ <auro-input type="month-fullYear">
1030
+ <slot slot="label">Departure date</slot>
1031
+ </auro-input>
1032
+ <auro-input bordered type="month-fullYear" required>
1033
+ <slot slot="label">Arrival date</slot>
1034
+ </auro-input>
1035
+ <!-- AURO-GENERATED-CONTENT:END -->
1036
+ </div>
1037
+ <auro-accordion alignRight>
1038
+ <span slot="trigger">See code</span>
1039
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/monthFullYear.html) -->
1040
+ <!-- The below code snippet is automatically added from ../apiExamples/monthFullYear.html -->
1041
+
1042
+ ```html
1043
+ <auro-input type="month-fullYear">
1044
+ <slot slot="label">Departure date</slot>
1045
+ </auro-input>
1046
+ <auro-input bordered type="month-fullYear" required>
1047
+ <slot slot="label">Arrival date</slot>
1048
+ </auro-input>
1049
+ ```
1050
+ <!-- AURO-GENERATED-CONTENT:END -->
1051
+ </auro-accordion>
1052
+ Use the `type="year-month-day"` attribute for a date formatted input.
1053
+
1054
+ <div class="exampleWrapper exampleWrapper--flex">
1055
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
1056
+ <!-- The below content is automatically added from ../apiExamples/yearMonthDay.html -->
1057
+ <auro-input type="year-month-day" required>
1058
+ <slot slot="label">Departure date</slot>
1059
+ </auro-input>
1060
+ <auro-input bordered type="year-month-day">
1061
+ <slot slot="label">Arrival date</slot>
1062
+ </auro-input>
1063
+ <!-- AURO-GENERATED-CONTENT:END -->
1064
+ </div>
1065
+ <auro-accordion alignRight>
1066
+ <span slot="trigger">See code</span>
1067
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/yearMonthDay.html) -->
1068
+ <!-- The below code snippet is automatically added from ../apiExamples/yearMonthDay.html -->
1069
+
1070
+ ```html
1071
+ <auro-input type="year-month-day" required>
1072
+ <slot slot="label">Departure date</slot>
1073
+ </auro-input>
1074
+ <auro-input bordered type="year-month-day">
1075
+ <slot slot="label">Arrival date</slot>
1076
+ </auro-input>
1077
+ ```
1078
+ <!-- AURO-GENERATED-CONTENT:END -->
1079
+ </auro-accordion>
1080
+ Use the `type="month"` attribute for a date formatted input.
1081
+
1082
+ <div class="exampleWrapper exampleWrapper--flex">
1083
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/month.html) -->
1084
+ <!-- The below content is automatically added from ../apiExamples/month.html -->
1085
+ <auro-input type="month">
1086
+ <slot slot="label">Month</slot>
1087
+ </auro-input>
1088
+ <!-- AURO-GENERATED-CONTENT:END -->
1089
+ </div>
1090
+ <auro-accordion alignRight>
1091
+ <span slot="trigger">See code</span>
1092
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/month.html) -->
1093
+ <!-- The below code snippet is automatically added from ../apiExamples/month.html -->
1094
+
1095
+ ```html
1096
+ <auro-input type="month">
1097
+ <slot slot="label">Month</slot>
1098
+ </auro-input>
1099
+ ```
1100
+ <!-- AURO-GENERATED-CONTENT:END -->
1101
+ </auro-accordion>
1102
+ Use the `type="year"` attribute for a date formatted input.
1103
+
1104
+ <div class="exampleWrapper exampleWrapper--flex">
1105
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/year.html) -->
1106
+ <!-- The below content is automatically added from ../apiExamples/year.html -->
1107
+ <auro-input type="year">
1108
+ <slot slot="label">Year</slot>
1109
+ </auro-input>
1110
+ <!-- AURO-GENERATED-CONTENT:END -->
1111
+ </div>
1112
+ <auro-accordion alignRight>
1113
+ <span slot="trigger">See code</span>
1114
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/year.html) -->
1115
+ <!-- The below code snippet is automatically added from ../apiExamples/year.html -->
1116
+
1117
+ ```html
1118
+ <auro-input type="year">
1119
+ <slot slot="label">Year</slot>
1120
+ </auro-input>
1121
+ ```
1122
+ <!-- AURO-GENERATED-CONTENT:END -->
1123
+ </auro-accordion>
1124
+ Use the `type="fullYear"` attribute for a date formatted input.
1125
+
1126
+ <div class="exampleWrapper exampleWrapper--flex">
1127
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/fullYear.html) -->
1128
+ <!-- The below content is automatically added from ../apiExamples/fullYear.html -->
1129
+ <auro-input type="fullYear">
1130
+ <slot slot="label">Full Year</slot>
1131
+ </auro-input>
1132
+ <!-- AURO-GENERATED-CONTENT:END -->
1133
+ </div>
1134
+ <auro-accordion alignRight>
1135
+ <span slot="trigger">See code</span>
1136
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/fullYear.html) -->
1137
+ <!-- The below code snippet is automatically added from ../apiExamples/fullYear.html -->
1138
+
1139
+ ```html
1140
+ <auro-input type="fullYear">
1141
+ <slot slot="label">Full Year</slot>
1142
+ </auro-input>
1143
+ ```
1144
+ <!-- AURO-GENERATED-CONTENT:END -->
1145
+ </auro-accordion>
1146
+
1147
+ ## Additional Use Cases
1148
+
1149
+ ### Swapping Values Between Inputs
1150
+
1151
+ Example illustrates using a JavaScript function attached to an `auro-button` component `click` event to swap the values of two `auro-input` elements. An example of this use case would be swapping the departure and arrival airports in a flight search form.
1152
+
1153
+ <div class="exampleWrapper exampleWrapper--flex">
1154
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/swapValue.html) -->
1155
+ <!-- The below content is automatically added from ../apiExamples/swapValue.html -->
1156
+ <auro-input id="swapExampleLeft" bordered>
1157
+ <span slot="label">Left Input</span>
1158
+ </auro-input>
1159
+ <auro-button id="swapExampleBtn">Swap Values</auro-button>
1160
+ <auro-input id="swapExampleRight" bordered>
1161
+ <span slot="label">Right Input</span>
1162
+ </auro-input>
1163
+ <style>
1164
+ #swapExampleWrapper {
1165
+ align-items: center;
1166
+ }
1167
+
1168
+ #swapExampleLeft,
1169
+ #swapExampleRight {
1170
+ flex: 1;
1171
+ }
1172
+
1173
+ #swapExampleBtn {
1174
+ width: unset;
1175
+ margin: 0 var(--auro-size-xs);
1176
+ }
1177
+ </style>
1178
+ <!-- AURO-GENERATED-CONTENT:END -->
1179
+ </div>
1180
+ <auro-accordion alignRight>
1181
+ <span slot="trigger">See code</span>
1182
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/swapValue.html) -->
1183
+ <!-- The below code snippet is automatically added from ../apiExamples/swapValue.html -->
1184
+
1185
+ ```html
1186
+ <auro-input id="swapExampleLeft" bordered>
1187
+ <span slot="label">Left Input</span>
1188
+ </auro-input>
1189
+ <auro-button id="swapExampleBtn">Swap Values</auro-button>
1190
+ <auro-input id="swapExampleRight" bordered>
1191
+ <span slot="label">Right Input</span>
1192
+ </auro-input>
1193
+ <style>
1194
+ #swapExampleWrapper {
1195
+ align-items: center;
1196
+ }
1197
+
1198
+ #swapExampleLeft,
1199
+ #swapExampleRight {
1200
+ flex: 1;
1201
+ }
1202
+
1203
+ #swapExampleBtn {
1204
+ width: unset;
1205
+ margin: 0 var(--auro-size-xs);
1206
+ }
1207
+ </style>
1208
+ ```
1209
+ <!-- AURO-GENERATED-CONTENT:END -->
1210
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/swapValue.js) -->
1211
+ <!-- The below code snippet is automatically added from ../apiExamples/swapValue.js -->
1212
+
1213
+ ```js
1214
+ export function swapInputValues() {
1215
+ const btn = document.querySelector('#swapExampleBtn');
1216
+ const inputOne = document.querySelector('#swapExampleLeft');
1217
+ const inputTwo = document.querySelector('#swapExampleRight');
1218
+
1219
+ btn.addEventListener('click', () => {
1220
+ const valueOne = inputOne.value;
1221
+ const valueTwo = inputTwo.value;
1222
+
1223
+ inputOne.value = valueTwo;
1224
+ inputTwo.value = valueOne;
1225
+ });
1226
+ }
1227
+ ```
1228
+ <!-- AURO-GENERATED-CONTENT:END -->
1229
+ </auro-accordion>
1230
+
1231
+ ## Theme Support
1232
+
1233
+ The component may be restyled using the following code sample and changing the values of the following token(s).
1234
+
1235
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../src/styles/tokens.scss) -->
1236
+ <!-- The below code snippet is automatically added from ../src/styles/tokens.scss -->
1237
+
1238
+ ```scss
1239
+ @import '@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';
1240
+
1241
+ :host {
1242
+ --ds-auro-input-border-color: var(--ds-color-border-secondary-default, #{$ds-color-border-secondary-default});
1243
+ --ds-auro-input-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
1244
+ --ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #{$ds-color-text-ui-focus-default});
1245
+ --ds-auro-input-help-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
1246
+ --ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
1247
+ --ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
1248
+ --ds-auro-input-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
1249
+ }
1250
+ ```
1251
+ <!-- AURO-GENERATED-CONTENT:END -->