@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.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 (598) hide show
  1. package/.turbo/cache/026e4d886ba97e63-meta.json +1 -0
  2. package/.turbo/cache/026e4d886ba97e63.tar.zst +0 -0
  3. package/.turbo/cache/080ca6155e637d5d-meta.json +1 -0
  4. package/.turbo/cache/080ca6155e637d5d.tar.zst +0 -0
  5. package/.turbo/cache/0b115e30ff606299-meta.json +1 -0
  6. package/.turbo/cache/0b115e30ff606299.tar.zst +0 -0
  7. package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
  8. package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
  9. package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
  10. package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
  11. package/.turbo/cache/1c630fb3411e4a41-meta.json +1 -0
  12. package/.turbo/cache/1c630fb3411e4a41.tar.zst +0 -0
  13. package/.turbo/cache/24b19ac5895e5dd6-meta.json +1 -0
  14. package/.turbo/cache/24b19ac5895e5dd6.tar.zst +0 -0
  15. package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
  16. package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
  17. package/.turbo/cache/29b72c73cbccb53d-meta.json +1 -0
  18. package/.turbo/cache/29b72c73cbccb53d.tar.zst +0 -0
  19. package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
  20. package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
  21. package/.turbo/cache/3e647c5863d32e6f-meta.json +1 -0
  22. package/.turbo/cache/3e647c5863d32e6f.tar.zst +0 -0
  23. package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
  24. package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
  25. package/.turbo/cache/43f5206cc4e69b44-meta.json +1 -0
  26. package/.turbo/cache/43f5206cc4e69b44.tar.zst +0 -0
  27. package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
  28. package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
  29. package/.turbo/cache/4a85ec226b585fd5-meta.json +1 -0
  30. package/.turbo/cache/4a85ec226b585fd5.tar.zst +0 -0
  31. package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
  32. package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
  33. package/.turbo/cache/50a29c70b93c57dd-meta.json +1 -0
  34. package/.turbo/cache/50a29c70b93c57dd.tar.zst +0 -0
  35. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
  36. package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
  37. package/.turbo/cache/56455145cd768755-meta.json +1 -0
  38. package/.turbo/cache/56455145cd768755.tar.zst +0 -0
  39. package/.turbo/cache/5c06332cf9f132da-meta.json +1 -0
  40. package/.turbo/cache/5c06332cf9f132da.tar.zst +0 -0
  41. package/.turbo/cache/5e613afc6868d0e2-meta.json +1 -0
  42. package/.turbo/cache/5e613afc6868d0e2.tar.zst +0 -0
  43. package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
  44. package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
  45. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
  46. package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
  47. package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
  48. package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
  49. package/.turbo/cache/639dac15b979bedc-meta.json +1 -0
  50. package/.turbo/cache/639dac15b979bedc.tar.zst +0 -0
  51. package/.turbo/cache/664c2e08614fd212-meta.json +1 -0
  52. package/.turbo/cache/664c2e08614fd212.tar.zst +0 -0
  53. package/.turbo/cache/6c51b0ebfc086faa-meta.json +1 -0
  54. package/.turbo/cache/6c51b0ebfc086faa.tar.zst +0 -0
  55. package/.turbo/cache/7216d994164825fb-meta.json +1 -0
  56. package/.turbo/cache/7216d994164825fb.tar.zst +0 -0
  57. package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
  58. package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
  59. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
  60. package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
  61. package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
  62. package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
  63. package/.turbo/cache/83a167e135cb431a-meta.json +1 -0
  64. package/.turbo/cache/83a167e135cb431a.tar.zst +0 -0
  65. package/.turbo/cache/8af27c076dc010c3-meta.json +1 -0
  66. package/.turbo/cache/8af27c076dc010c3.tar.zst +0 -0
  67. package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
  68. package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
  69. package/.turbo/cache/953c8216249d3509-meta.json +1 -0
  70. package/.turbo/cache/953c8216249d3509.tar.zst +0 -0
  71. package/.turbo/cache/95a5e76ffd8c5110-meta.json +1 -0
  72. package/.turbo/cache/95a5e76ffd8c5110.tar.zst +0 -0
  73. package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
  74. package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
  75. package/.turbo/cache/a8b0fa0a9aa707c5-meta.json +1 -0
  76. package/.turbo/cache/a8b0fa0a9aa707c5.tar.zst +0 -0
  77. package/.turbo/cache/b22ca87b2f7f9cc2-meta.json +1 -0
  78. package/.turbo/cache/b22ca87b2f7f9cc2.tar.zst +0 -0
  79. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
  80. package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
  81. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
  82. package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
  83. package/.turbo/cache/b7bbe2e7d44b77f0-meta.json +1 -0
  84. package/.turbo/cache/b7bbe2e7d44b77f0.tar.zst +0 -0
  85. package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
  86. package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
  87. package/.turbo/cache/c2b51643f886a493-meta.json +1 -0
  88. package/.turbo/cache/c2b51643f886a493.tar.zst +0 -0
  89. package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
  90. package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
  91. package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
  92. package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
  93. package/.turbo/cache/c74d369a0475b124-meta.json +1 -0
  94. package/.turbo/cache/c74d369a0475b124.tar.zst +0 -0
  95. package/.turbo/cache/c7f5a276ddb73cf7-meta.json +1 -0
  96. package/.turbo/cache/c7f5a276ddb73cf7.tar.zst +0 -0
  97. package/.turbo/cache/c96933d40404e4c8-meta.json +1 -0
  98. package/.turbo/cache/c96933d40404e4c8.tar.zst +0 -0
  99. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
  100. package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
  101. package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
  102. package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
  103. package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
  104. package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
  105. package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -0
  106. package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
  107. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
  108. package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
  109. package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
  110. package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
  111. package/.turbo/cache/eb1dbe885532c1dc-meta.json +1 -0
  112. package/.turbo/cache/eb1dbe885532c1dc.tar.zst +0 -0
  113. package/.turbo/cache/f1f6744948f1b18f-meta.json +1 -0
  114. package/.turbo/cache/f1f6744948f1b18f.tar.zst +0 -0
  115. package/.turbo/cache/feefbc25d550c1cd-meta.json +1 -0
  116. package/.turbo/cache/feefbc25d550c1cd.tar.zst +0 -0
  117. package/.turbo/cache/ff4dbfffc29255ab-meta.json +1 -0
  118. package/.turbo/cache/ff4dbfffc29255ab.tar.zst +0 -0
  119. package/.vscode/settings.json +3 -0
  120. package/CHANGELOG.md +175 -0
  121. package/README.md +59 -59
  122. package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
  123. package/components/checkbox/.turbo/turbo-build.log +23 -21
  124. package/components/checkbox/.turbo/turbo-bundler.log +4 -4
  125. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
  126. package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
  127. package/components/checkbox/.turbo/turbo-types.log +1 -1
  128. package/components/checkbox/README.md +26 -34
  129. package/components/checkbox/demo/api.html +6 -1
  130. package/components/checkbox/demo/api.js +16 -0
  131. package/components/checkbox/demo/api.md +120 -61
  132. package/components/checkbox/demo/api.min.js +261 -90
  133. package/components/checkbox/demo/index.md +62 -62
  134. package/components/checkbox/demo/index.min.js +236 -90
  135. package/components/checkbox/dist/auro-checkbox-group.d.ts +41 -17
  136. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  137. package/components/checkbox/dist/auro-checkbox.d.ts +25 -11
  138. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  139. package/components/checkbox/dist/index.js +236 -90
  140. package/components/checkbox/package.json +1 -1
  141. package/components/checkbox/src/auro-checkbox-group.js +64 -23
  142. package/components/checkbox/src/auro-checkbox.js +38 -12
  143. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  144. package/components/combobox/.turbo/turbo-build.log +25 -23
  145. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  146. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  147. package/components/combobox/README.md +21 -26
  148. package/components/combobox/demo/api.js +4 -2
  149. package/components/combobox/demo/api.md +77 -16
  150. package/components/combobox/demo/api.min.js +890 -447
  151. package/components/combobox/demo/index.md +1 -1
  152. package/components/combobox/demo/index.min.js +881 -447
  153. package/components/combobox/dist/auro-combobox.d.ts +16 -5
  154. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  155. package/components/combobox/dist/dropdownVersion.d.ts +3 -0
  156. package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
  157. package/components/combobox/dist/index.js +874 -408
  158. package/components/combobox/dist/inputVersion.d.ts +3 -0
  159. package/components/combobox/dist/inputVersion.d.ts.map +1 -0
  160. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  161. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  162. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  163. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  164. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  165. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  166. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  167. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  207. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  208. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  209. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  210. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  211. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  212. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  213. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  214. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  215. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  216. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  217. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  218. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  219. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  220. package/components/combobox/node_modules/chalk/package.json +3 -3
  221. package/components/combobox/node_modules/chalk/readme.md +25 -53
  222. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  223. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  224. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  225. package/components/combobox/package.json +8 -8
  226. package/components/combobox/src/auro-combobox.js +85 -75
  227. package/components/combobox/src/dropdownVersion.js +1 -0
  228. package/components/combobox/src/inputVersion.js +1 -0
  229. package/components/counter/.turbo/turbo-build$colon$sass.log +179 -7
  230. package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
  231. package/components/counter/.turbo/turbo-build.log +288 -14
  232. package/components/counter/.turbo/turbo-bundler.log +4 -4
  233. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  234. package/components/counter/.turbo/turbo-sass$colon$render.log +39 -3
  235. package/components/counter/.turbo/turbo-types.log +1 -1
  236. package/components/counter/README.md +188 -0
  237. package/components/counter/demo/api.md +98 -1016
  238. package/components/counter/demo/api.min.js +1670 -32
  239. package/components/counter/demo/index.js +2 -1
  240. package/components/counter/demo/index.md +194 -0
  241. package/components/counter/demo/index.min.js +1702 -19
  242. package/components/counter/dist/auro-counter-button.d.ts +13 -0
  243. package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
  244. package/components/counter/dist/auro-counter-group.d.ts +77 -6
  245. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  246. package/components/counter/dist/auro-counter.d.ts +78 -0
  247. package/components/counter/dist/auro-counter.d.ts.map +1 -1
  248. package/components/counter/dist/dropdownVersion.d.ts +3 -0
  249. package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
  250. package/components/counter/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  251. package/components/counter/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  252. package/components/counter/dist/iconVersion.d.ts +3 -0
  253. package/components/counter/dist/iconVersion.d.ts.map +1 -0
  254. package/components/counter/dist/index.js +1670 -32
  255. package/components/counter/dist/styles/color-css.d.ts +3 -0
  256. package/components/counter/dist/styles/color-css.d.ts.map +1 -0
  257. package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
  258. package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
  259. package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
  260. package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
  261. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
  262. package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
  263. package/components/counter/dist/styles/counter-group-color-css.d.ts +3 -0
  264. package/components/counter/dist/styles/counter-group-color-css.d.ts.map +1 -0
  265. package/components/counter/dist/styles/tokens-css.d.ts +3 -0
  266. package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
  267. package/components/counter/package.json +9 -3
  268. package/components/counter/src/auro-counter-button.js +42 -0
  269. package/components/counter/src/auro-counter-group.js +150 -21
  270. package/components/counter/src/auro-counter.js +272 -12
  271. package/components/counter/src/dropdownVersion.js +1 -0
  272. package/components/counter/src/formkit/auro-dropdownVersion.js +1 -0
  273. package/components/counter/src/iconVersion.js +1 -0
  274. package/components/counter/src/index.js +1 -1
  275. package/components/counter/src/styles/color-css.js +2 -0
  276. package/components/counter/src/styles/color.css +25 -0
  277. package/components/counter/src/styles/color.scss +44 -0
  278. package/components/counter/src/styles/counter-button-color-css.js +2 -0
  279. package/components/counter/src/styles/counter-button-color.css +14 -0
  280. package/components/counter/src/styles/counter-button-color.scss +29 -0
  281. package/components/counter/src/styles/counter-button-css.js +2 -0
  282. package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
  283. package/components/counter/src/styles/counter-button-tokens.css +7 -0
  284. package/components/counter/src/styles/counter-button-tokens.scss +9 -0
  285. package/components/counter/src/styles/counter-button.css +187 -0
  286. package/components/counter/src/styles/counter-button.scss +83 -0
  287. package/components/counter/src/styles/counter-group-color-css.js +2 -0
  288. package/components/counter/src/styles/counter-group-color.css +4 -0
  289. package/components/counter/src/styles/counter-group-color.scss +19 -0
  290. package/components/counter/src/styles/counter-group-css.js +1 -1
  291. package/components/counter/src/styles/counter-group.css +13 -1
  292. package/components/counter/src/styles/counter-group.scss +14 -1
  293. package/components/counter/src/styles/style-css.js +1 -1
  294. package/components/counter/src/styles/style.css +43 -1
  295. package/components/counter/src/styles/style.scss +48 -2
  296. package/components/counter/src/styles/tokens-css.js +2 -0
  297. package/components/counter/src/styles/tokens.css +11 -0
  298. package/components/counter/src/styles/tokens.scss +24 -0
  299. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  300. package/components/datepicker/.turbo/turbo-build.log +62 -59
  301. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  302. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  303. package/components/datepicker/README.md +21 -26
  304. package/components/datepicker/demo/api.js +2 -0
  305. package/components/datepicker/demo/api.md +216 -125
  306. package/components/datepicker/demo/api.min.js +1111 -598
  307. package/components/datepicker/demo/index.md +1 -1
  308. package/components/datepicker/demo/index.min.js +1102 -598
  309. package/components/datepicker/dist/auro-datepicker.d.ts +94 -80
  310. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  311. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  312. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
  313. package/components/datepicker/dist/index.js +1102 -598
  314. package/components/datepicker/dist/inputVersion.d.ts +3 -0
  315. package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
  316. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  317. package/components/datepicker/package.json +4 -4
  318. package/components/datepicker/src/auro-datepicker.js +154 -106
  319. package/components/datepicker/src/dropdownVersion.js +1 -0
  320. package/components/datepicker/src/inputVersion.js +1 -0
  321. package/components/datepicker/src/popoverVersion.js +1 -1
  322. package/components/datepicker/src/styles/color-cell-css.js +1 -1
  323. package/components/datepicker/src/styles/color-cell.css +1 -1
  324. package/components/datepicker/src/styles/color-cell.scss +1 -1
  325. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  326. package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
  327. package/components/dropdown/.turbo/turbo-build.log +19 -20
  328. package/components/dropdown/.turbo/turbo-bundler.log +4 -4
  329. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  330. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  331. package/components/dropdown/.turbo/turbo-types.log +1 -1
  332. package/components/dropdown/README.md +18 -26
  333. package/components/dropdown/demo/api.md +4 -4
  334. package/components/dropdown/demo/api.min.js +241 -105
  335. package/components/dropdown/demo/index.min.js +241 -105
  336. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  337. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  338. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  339. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  340. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  341. package/components/dropdown/dist/index.js +241 -105
  342. package/components/dropdown/package.json +2 -2
  343. package/components/dropdown/src/auro-dropdown.js +156 -41
  344. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  345. package/components/dropdown/src/iconVersion.js +1 -1
  346. package/components/dropdown/src/styles/bibStyles-css.js +1 -1
  347. package/components/dropdown/src/styles/bibStyles.css +0 -5
  348. package/components/dropdown/src/styles/bibStyles.scss +0 -7
  349. package/components/dropdown/src/styles/color-css.js +1 -1
  350. package/components/dropdown/src/styles/color.css +6 -7
  351. package/components/dropdown/src/styles/color.scss +7 -7
  352. package/components/dropdown/src/styles/style-css.js +1 -1
  353. package/components/dropdown/src/styles/style.css +5 -0
  354. package/components/dropdown/src/styles/style.scss +6 -0
  355. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  356. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  357. package/components/form/.turbo/turbo-build.log +17 -18
  358. package/components/form/.turbo/turbo-bundler.log +4 -4
  359. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  360. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  361. package/components/form/.turbo/turbo-types.log +1 -1
  362. package/components/form/README.md +18 -26
  363. package/components/form/demo/api.min.js +4 -4
  364. package/components/form/demo/index.min.js +4 -4
  365. package/components/form/dist/index.js +4 -4
  366. package/components/form/package.json +1 -1
  367. package/components/input/.turbo/turbo-build$colon$sass.log +68 -18
  368. package/components/input/.turbo/turbo-build$colon$version.log +1 -1
  369. package/components/input/.turbo/turbo-build.log +90 -40
  370. package/components/input/.turbo/turbo-bundler.log +4 -4
  371. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  372. package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
  373. package/components/input/.turbo/turbo-types.log +1 -1
  374. package/components/input/README.md +18 -28
  375. package/components/input/demo/api.js +2 -0
  376. package/components/input/demo/api.md +234 -351
  377. package/components/input/demo/api.min.js +428 -178
  378. package/components/input/demo/index.md +11 -61
  379. package/components/input/demo/index.min.js +416 -175
  380. package/components/input/dist/auro-input.d.ts.map +1 -1
  381. package/components/input/dist/base-input.d.ts +158 -97
  382. package/components/input/dist/base-input.d.ts.map +1 -1
  383. package/components/input/dist/buttonVersion.d.ts +1 -1
  384. package/components/input/dist/iconVersion.d.ts +1 -1
  385. package/components/input/dist/index.js +416 -175
  386. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  387. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  388. package/components/input/package.json +3 -3
  389. package/components/input/src/auro-input.js +0 -1
  390. package/components/input/src/base-input.js +272 -111
  391. package/components/input/src/buttonVersion.js +1 -1
  392. package/components/input/src/iconVersion.js +1 -1
  393. package/components/input/src/styles/borders.scss +3 -19
  394. package/components/input/src/styles/color.css +1 -2
  395. package/components/input/src/styles/color.scss +3 -10
  396. package/components/input/src/styles/input-css.js +1 -1
  397. package/components/input/src/styles/input.css +14 -1
  398. package/components/input/src/styles/input.scss +25 -1
  399. package/components/input/src/styles/label-css.js +1 -1
  400. package/components/input/src/styles/label.css +4 -4
  401. package/components/input/src/styles/label.scss +4 -8
  402. package/components/input/src/styles/mixins-css.js +2 -0
  403. package/components/input/src/styles/mixins.css +1 -0
  404. package/components/input/src/styles/mixins.scss +45 -0
  405. package/components/input/src/styles/notificationIcons-css.js +1 -1
  406. package/components/input/src/styles/notificationIcons.css +13 -5
  407. package/components/input/src/styles/notificationIcons.scss +17 -11
  408. package/components/input/src/styles/style-css.js +1 -1
  409. package/components/input/src/styles/style.css +31 -13
  410. package/components/input/src/styles/style.scss +0 -4
  411. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  412. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  413. package/components/menu/.turbo/turbo-build.log +20 -21
  414. package/components/menu/.turbo/turbo-bundler.log +4 -4
  415. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  416. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  417. package/components/menu/.turbo/turbo-types.log +1 -1
  418. package/components/menu/README.md +18 -26
  419. package/components/menu/demo/api.md +1 -5
  420. package/components/menu/demo/api.min.js +12 -44
  421. package/components/menu/demo/index.min.js +12 -44
  422. package/components/menu/dist/auro-menu.d.ts +1 -5
  423. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  424. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  425. package/components/menu/dist/auro-menuoption.d.ts.map +1 -1
  426. package/components/menu/dist/iconVersion.d.ts +1 -1
  427. package/components/menu/dist/index.js +12 -44
  428. package/components/menu/package.json +2 -2
  429. package/components/menu/src/auro-menu.js +1 -33
  430. package/components/menu/src/auro-menuoption.js +1 -2
  431. package/components/menu/src/iconVersion.js +1 -1
  432. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  433. package/components/radio/.turbo/turbo-build.log +26 -24
  434. package/components/radio/.turbo/turbo-bundler.log +4 -4
  435. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  436. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  437. package/components/radio/.turbo/turbo-types.log +1 -1
  438. package/components/radio/README.md +18 -26
  439. package/components/radio/demo/api.html +1 -0
  440. package/components/radio/demo/api.js +2 -0
  441. package/components/radio/demo/api.md +60 -4
  442. package/components/radio/demo/api.min.js +159 -62
  443. package/components/radio/demo/index.min.js +150 -62
  444. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  445. package/components/radio/dist/auro-radio.d.ts +5 -0
  446. package/components/radio/dist/auro-radio.d.ts.map +1 -1
  447. package/components/radio/dist/index.js +150 -62
  448. package/components/radio/package.json +1 -1
  449. package/components/radio/src/auro-radio-group.js +6 -6
  450. package/components/radio/src/auro-radio.js +9 -0
  451. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  452. package/components/select/.turbo/turbo-build.log +37 -37
  453. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  454. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  455. package/components/select/README.md +21 -42
  456. package/components/select/demo/api.js +6 -2
  457. package/components/select/demo/api.md +165 -163
  458. package/components/select/demo/api.min.js +524 -337
  459. package/components/select/demo/index.md +101 -59
  460. package/components/select/demo/index.min.js +504 -333
  461. package/components/select/dist/auro-select.d.ts +65 -48
  462. package/components/select/dist/auro-select.d.ts.map +1 -1
  463. package/components/select/dist/dropdownVersion.d.ts +3 -0
  464. package/components/select/dist/dropdownVersion.d.ts.map +1 -0
  465. package/components/select/dist/index.js +494 -278
  466. package/components/select/package.json +3 -3
  467. package/components/select/src/auro-select.js +105 -116
  468. package/components/select/src/dropdownVersion.js +1 -0
  469. package/components/select/src/styles/style-css.js +1 -1
  470. package/components/select/src/styles/style.css +7 -0
  471. package/components/select/src/styles/style.scss +11 -1
  472. package/package.json +21 -21
  473. package/packages/build-tools/src/docProcessor.mjs +37 -8
  474. package/packages/form-validation/src/validation.js +129 -50
  475. package/packages/utils/package.json +12 -0
  476. package/packages/utils/src/iconUtil.js +25 -0
  477. package/packages/utils/src/index.js +1 -0
  478. package/turbo.json +8 -8
  479. package/.turbo/cache/0008b92c8752bf75-meta.json +0 -1
  480. package/.turbo/cache/0008b92c8752bf75.tar.zst +0 -0
  481. package/.turbo/cache/00cb38bef1105dac-meta.json +0 -1
  482. package/.turbo/cache/00cb38bef1105dac.tar.zst +0 -0
  483. package/.turbo/cache/0157ec8abdaf2a9c-meta.json +0 -1
  484. package/.turbo/cache/0157ec8abdaf2a9c.tar.zst +0 -0
  485. package/.turbo/cache/0636e9cedc83238b-meta.json +0 -1
  486. package/.turbo/cache/0636e9cedc83238b.tar.zst +0 -0
  487. package/.turbo/cache/06f476671015e973-meta.json +0 -1
  488. package/.turbo/cache/06f476671015e973.tar.zst +0 -0
  489. package/.turbo/cache/09df74d672102662-meta.json +0 -1
  490. package/.turbo/cache/09df74d672102662.tar.zst +0 -0
  491. package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
  492. package/.turbo/cache/0cd109fb3183c2e6.tar.zst +0 -0
  493. package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
  494. package/.turbo/cache/17c429ade621ffcb.tar.zst +0 -0
  495. package/.turbo/cache/1c47128a0e12fcfa-meta.json +0 -1
  496. package/.turbo/cache/1c47128a0e12fcfa.tar.zst +0 -0
  497. package/.turbo/cache/1db02f756ce85784-meta.json +0 -1
  498. package/.turbo/cache/1db02f756ce85784.tar.zst +0 -0
  499. package/.turbo/cache/21705fa179d5f820-meta.json +0 -1
  500. package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
  501. package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
  502. package/.turbo/cache/249d9ba3ee6aa1cb.tar.zst +0 -0
  503. package/.turbo/cache/2666b96bfcf4e9cd-meta.json +0 -1
  504. package/.turbo/cache/2666b96bfcf4e9cd.tar.zst +0 -0
  505. package/.turbo/cache/2778d5e895240cd1-meta.json +0 -1
  506. package/.turbo/cache/2778d5e895240cd1.tar.zst +0 -0
  507. package/.turbo/cache/300b59df2de12b46-meta.json +0 -1
  508. package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
  509. package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
  510. package/.turbo/cache/31729e74fccaafb0.tar.zst +0 -0
  511. package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
  512. package/.turbo/cache/32702694d62a08ac.tar.zst +0 -0
  513. package/.turbo/cache/3482a3cba9a51c2d-meta.json +0 -1
  514. package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
  515. package/.turbo/cache/3a9d73752f23a40a-meta.json +0 -1
  516. package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
  517. package/.turbo/cache/3afe2e6f714a4fcb-meta.json +0 -1
  518. package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
  519. package/.turbo/cache/408ea1754276298c-meta.json +0 -1
  520. package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
  521. package/.turbo/cache/42066c793c3816f3-meta.json +0 -1
  522. package/.turbo/cache/42066c793c3816f3.tar.zst +0 -0
  523. package/.turbo/cache/4bec46ffff6fd2e8-meta.json +0 -1
  524. package/.turbo/cache/4bec46ffff6fd2e8.tar.zst +0 -0
  525. package/.turbo/cache/50b275350abe14dd-meta.json +0 -1
  526. package/.turbo/cache/50b275350abe14dd.tar.zst +0 -0
  527. package/.turbo/cache/51078a087b52c65e-meta.json +0 -1
  528. package/.turbo/cache/51078a087b52c65e.tar.zst +0 -0
  529. package/.turbo/cache/593ddf689673e305-meta.json +0 -1
  530. package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
  531. package/.turbo/cache/64e4f18395bd4461-meta.json +0 -1
  532. package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
  533. package/.turbo/cache/68843ecab6e09320-meta.json +0 -1
  534. package/.turbo/cache/68843ecab6e09320.tar.zst +0 -0
  535. package/.turbo/cache/7419ef01dc18b433-meta.json +0 -1
  536. package/.turbo/cache/7419ef01dc18b433.tar.zst +0 -0
  537. package/.turbo/cache/748faca09d14fea7-meta.json +0 -1
  538. package/.turbo/cache/748faca09d14fea7.tar.zst +0 -0
  539. package/.turbo/cache/75495b0bbd6c06a7-meta.json +0 -1
  540. package/.turbo/cache/75495b0bbd6c06a7.tar.zst +0 -0
  541. package/.turbo/cache/7a6a8af4392c4b05-meta.json +0 -1
  542. package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
  543. package/.turbo/cache/7e81141e0140dd3a-meta.json +0 -1
  544. package/.turbo/cache/7e81141e0140dd3a.tar.zst +0 -0
  545. package/.turbo/cache/7eb50d96639e6dd4-meta.json +0 -1
  546. package/.turbo/cache/7eb50d96639e6dd4.tar.zst +0 -0
  547. package/.turbo/cache/83bb78fec13808d0-meta.json +0 -1
  548. package/.turbo/cache/83bb78fec13808d0.tar.zst +0 -0
  549. package/.turbo/cache/8605f60efb7d3957-meta.json +0 -1
  550. package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
  551. package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
  552. package/.turbo/cache/892a90b62716ded5.tar.zst +0 -0
  553. package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
  554. package/.turbo/cache/8cac06ca809bd2b1.tar.zst +0 -0
  555. package/.turbo/cache/9a908bf8f82c84a6-meta.json +0 -1
  556. package/.turbo/cache/9a908bf8f82c84a6.tar.zst +0 -0
  557. package/.turbo/cache/9ed3089ffd7d0c00-meta.json +0 -1
  558. package/.turbo/cache/9ed3089ffd7d0c00.tar.zst +0 -0
  559. package/.turbo/cache/a3a879aea25debf8-meta.json +0 -1
  560. package/.turbo/cache/a3a879aea25debf8.tar.zst +0 -0
  561. package/.turbo/cache/a8dbafaf6177f677-meta.json +0 -1
  562. package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
  563. package/.turbo/cache/a8f6418b830ef0ba-meta.json +0 -1
  564. package/.turbo/cache/a8f6418b830ef0ba.tar.zst +0 -0
  565. package/.turbo/cache/b37b0eb5597e160f-meta.json +0 -1
  566. package/.turbo/cache/b37b0eb5597e160f.tar.zst +0 -0
  567. package/.turbo/cache/b7e7a8c425673f7c-meta.json +0 -1
  568. package/.turbo/cache/b7e7a8c425673f7c.tar.zst +0 -0
  569. package/.turbo/cache/bc8eed3d7216f5b7-meta.json +0 -1
  570. package/.turbo/cache/bc8eed3d7216f5b7.tar.zst +0 -0
  571. package/.turbo/cache/bde11c3029373459-meta.json +0 -1
  572. package/.turbo/cache/bde11c3029373459.tar.zst +0 -0
  573. package/.turbo/cache/c8e5fe6aec4479f5-meta.json +0 -1
  574. package/.turbo/cache/c8e5fe6aec4479f5.tar.zst +0 -0
  575. package/.turbo/cache/d0e874a9a71c9468-meta.json +0 -1
  576. package/.turbo/cache/d0e874a9a71c9468.tar.zst +0 -0
  577. package/.turbo/cache/d61b4e1bde4c0a12-meta.json +0 -1
  578. package/.turbo/cache/d61b4e1bde4c0a12.tar.zst +0 -0
  579. package/.turbo/cache/db6dedc0e7a12575-meta.json +0 -1
  580. package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
  581. package/.turbo/cache/de9737607345ec54-meta.json +0 -1
  582. package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
  583. package/.turbo/cache/e234aa902b2c5b30-meta.json +0 -1
  584. package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
  585. package/.turbo/cache/e541225f46f7cf86-meta.json +0 -1
  586. package/.turbo/cache/e541225f46f7cf86.tar.zst +0 -0
  587. package/.turbo/cache/e67ac30b07d9e800-meta.json +0 -1
  588. package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
  589. package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
  590. package/.turbo/cache/e7244fdd3397eba7.tar.zst +0 -0
  591. package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
  592. package/.turbo/cache/e7cf2cc625bd92b3.tar.zst +0 -0
  593. package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
  594. package/.turbo/cache/e89a401ebdda3fc2.tar.zst +0 -0
  595. package/components/dropdown/dist/floatingUI.d.mts +0 -68
  596. package/components/dropdown/dist/floatingUI.d.mts.map +0 -1
  597. package/components/dropdown/src/floatingUI.mjs +0 -381
  598. package/components/select/demo/alertValue.js +0 -6
@@ -1,20 +1,3 @@
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
1
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../docs/api.md) -->
19
2
  <!-- The below content is automatically added from ../docs/api.md -->
20
3
 
@@ -31,52 +14,50 @@ Generate unique names for dependency components.
31
14
 
32
15
  ## Properties
33
16
 
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. |
17
+ | Property | Attribute | Type | Default | Description |
18
+ |-----------------------------------|-----------------------------------|-----------|-------------|--------------------------------------------------|
19
+ | [activeLabel](#activeLabel) | `activeLabel` | `boolean` | false | If set, the label will remain fixed in the active position. |
20
+ | [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] |
21
+ | [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. |
22
+ | [autocorrect](#autocorrect) | `autocorrect` | `string` | | When set to `off`, stops iOS from auto-correcting words when typed into a text box. |
23
+ | [customValidityTypeEmail](#customValidityTypeEmail) | `customValidityTypeEmail` | `string` | | Custom help text message for email type validity. |
24
+ | [disabled](#disabled) | `disabled` | `boolean` | false | If set, disables the input. |
25
+ | [error](#error) | `error` | `string` | | |
26
+ | [errorMessage](#errorMessage) | `errorMessage` | `string` | | Contains the help text message for the current validity error. |
27
+ | [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. |
28
+ | [id](#id) | `id` | `string` | | Sets the unique ID of the element. |
29
+ | [lang](#lang) | `lang` | `string` | | Defines the language of an element. |
30
+ | [max](#max) | `max` | `string` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `number` and all date formats. |
31
+ | [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. |
32
+ | [min](#min) | `min` | `string` | "undefined" | The minimum value allowed. This only applies for inputs with a type of `number` and all date formats. |
33
+ | [minLength](#minLength) | `minLength` | `number` | "undefined" | The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`. |
34
+ | [name](#name) | `name` | `string` | | Populates the `name` attribute on the input. |
35
+ | [noValidate](#noValidate) | `noValidate` | `boolean` | false | If set, disables auto-validation on blur. |
36
+ | [pattern](#pattern) | `pattern` | `string` | | Specifies a regular expression the form control's value should match. |
37
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
38
+ | [readonly](#readonly) | `readonly` | `boolean` | | Makes the input read-only, but can be set programmatically. |
39
+ | [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
40
+ | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
41
+ | [setCustomValidityBadInput](#setCustomValidityBadInput) | `setCustomValidityBadInput` | `string` | | Custom help text message to display when validity = `badInput`. |
42
+ | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
43
+ | [setCustomValidityForType](#setCustomValidityForType) | `setCustomValidityForType` | `string` | "undefined" | Custom help text message to display for the declared element `type` and type validity fails. |
44
+ | [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
45
+ | [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
46
+ | [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `string` | | Custom help text message to display when validity = `tooLong`. |
47
+ | [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `string` | | Custom help text message to display when validity = `tooShort`. |
48
+ | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
49
+ | [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`. |
50
+ | [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`. |
51
+ | [validateOnInput](#validateOnInput) | `validateOnInput` | `boolean` | | Sets validation mode to re-eval with each input. |
52
+ | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
53
+ | [value](#value) | `value` | `string` | | Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input. |
74
54
 
75
55
  ## Methods
76
56
 
77
57
  | Method | Type | Description |
78
58
  |--------------|---------------|------------------------------------------|
79
59
  | [isDateType](#isDateType) | `(): boolean` | |
60
+ | [reset](#reset) | `(): void` | Resets component to initial state. |
80
61
  | [validate](#validate) | `(): void` | Public method force validation of input. |
81
62
 
82
63
  ## Events
@@ -119,10 +100,11 @@ The `auro-input` element supports the localization of all content managed within
119
100
 
120
101
  ## Basic
121
102
 
122
- <div class="exampleWrapper exampleWrapper--flex">
103
+ The default component supports the basic input `type="text"` structure. The `(optional)` label is provided to instruct the user that their input is not required. Use the `bordered` attribute for a bordered `<auro-input>`.
104
+
105
+ <div class="exampleWrapper">
123
106
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/basic.html) -->
124
107
  <!-- The below content is automatically added from ../apiExamples/basic.html -->
125
- <auro-input></auro-input>
126
108
  <auro-input bordered></auro-input>
127
109
  <!-- AURO-GENERATED-CONTENT:END -->
128
110
  </div>
@@ -132,7 +114,6 @@ The `auro-input` element supports the localization of all content managed within
132
114
  <!-- The below code snippet is automatically added from ../apiExamples/basic.html -->
133
115
 
134
116
  ```html
135
- <auro-input></auro-input>
136
117
  <auro-input bordered></auro-input>
137
118
  ```
138
119
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -143,12 +124,9 @@ The `auro-input` element supports the localization of all content managed within
143
124
  ### Disabled <a name="disabled"></a>
144
125
  Use the `disable` attribute to prevent the user from interacting with the input.
145
126
 
146
- <div class="exampleWrapper exampleWrapper--flex">
127
+ <div class="exampleWrapper">
147
128
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/disabled.html) -->
148
129
  <!-- 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
130
  <auro-input disabled bordered type="month-day-year">
153
131
  <slot slot="label">Arrival date</slot>
154
132
  </auro-input>
@@ -160,9 +138,6 @@ Use the `disable` attribute to prevent the user from interacting with the input.
160
138
  <!-- The below code snippet is automatically added from ../apiExamples/disabled.html -->
161
139
 
162
140
  ```html
163
- <auro-input disabled type="month-day-year" required>
164
- <slot slot="label">Departure date</slot>
165
- </auro-input>
166
141
  <auro-input disabled bordered type="month-day-year">
167
142
  <slot slot="label">Arrival date</slot>
168
143
  </auro-input>
@@ -173,13 +148,10 @@ Use the `disable` attribute to prevent the user from interacting with the input.
173
148
  ### Placeholder <a name="placeholder"></a>
174
149
  Use the `placeholder` attribute to add a custom placeholder message within the element.
175
150
 
176
- <div class="exampleWrapper exampleWrapper--flex">
151
+ <div class="exampleWrapper">
177
152
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/placeholder.html) -->
178
153
  <!-- 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">
154
+ <auro-input placeholder="John Doe" bordered required>
183
155
  <span slot="label">Full name</span>
184
156
  <span slot="helptext">Please enter your full name.</span>
185
157
  </auro-input>
@@ -191,10 +163,7 @@ Use the `placeholder` attribute to add a custom placeholder message within the e
191
163
  <!-- The below code snippet is automatically added from ../apiExamples/placeholder.html -->
192
164
 
193
165
  ```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">
166
+ <auro-input placeholder="John Doe" bordered required>
198
167
  <span slot="label">Full name</span>
199
168
  <span slot="helptext">Please enter your full name.</span>
200
169
  </auro-input>
@@ -238,7 +207,8 @@ Note: Setting the `value` to `undefined` will also reset the element.
238
207
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/value.html) -->
239
208
  <!-- The below content is automatically added from ../apiExamples/value.html -->
240
209
  <auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
241
- <auro-button id="resetValueBtn">Reset</auro-button>
210
+ <auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
211
+ <br /><br />
242
212
  <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
243
213
  <span slot="label">Name</span>
244
214
  <span slot="helptext">Please enter your full name.</span>
@@ -252,7 +222,8 @@ Note: Setting the `value` to `undefined` will also reset the element.
252
222
 
253
223
  ```html
254
224
  <auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
255
- <auro-button id="resetValueBtn">Reset</auro-button>
225
+ <auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
226
+ <br /><br />
256
227
  <auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
257
228
  <span slot="label">Name</span>
258
229
  <span slot="helptext">Please enter your full name.</span>
@@ -268,12 +239,12 @@ export function programmaticallySetValue() {
268
239
 
269
240
  // set value of auro-input element
270
241
  document.querySelector('#setValidValueBtn').addEventListener('click', () => {
271
- elem.value = "Alaska Airlines is the best";
242
+ elem.value = "Alaska Airlines is the best";
272
243
  });
273
244
 
274
245
  // reset the value of auro-input element
275
- document.querySelector('#resetValueBtn').addEventListener('click', () => {
276
- elem.value = '';
246
+ document.querySelector('#setUndefinedValueBtn').addEventListener('click', () => {
247
+ elem.value = undefined;
277
248
  });
278
249
  }
279
250
  ```
@@ -281,16 +252,16 @@ export function programmaticallySetValue() {
281
252
  </auro-accordion>
282
253
 
283
254
  ### 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.
255
+ 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 `number` or any date format.
285
256
 
286
- The `max` attribute should be used in combination with the `setCustomValidityRangeOverflow` attribute to define help text used when the `max` attribute validation fails.
257
+ The `setCustomValidityRangeOverflow` attribute may optionally be used in combination with the `max` attribute to define custom help text used when the input value is greater than the value of the `max` attribute.
287
258
 
288
259
  #### Date Example
289
260
 
290
261
  <div class="exampleWrapper">
291
262
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxDate.html) -->
292
263
  <!-- 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.">
264
+ <auro-input type="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date." bordered>
294
265
  <span slot="label">Choose a date</span>
295
266
  </auro-input>
296
267
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -301,30 +272,30 @@ The `max` attribute should be used in combination with the `setCustomValidityRan
301
272
  <!-- The below code snippet is automatically added from ../apiExamples/maxDate.html -->
302
273
 
303
274
  ```html
304
- <auro-input type="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
275
+ <auro-input type="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date." bordered>
305
276
  <span slot="label">Choose a date</span>
306
277
  </auro-input>
307
278
  ```
308
279
  <!-- AURO-GENERATED-CONTENT:END -->
309
280
  </auro-accordion>
310
281
 
311
- #### Numeric Example
282
+ #### Number Example
312
283
 
313
284
  <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.">
285
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxNumber.html) -->
286
+ <!-- The below content is automatically added from ../apiExamples/maxNumber.html -->
287
+ <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
317
288
  <span slot="label">Choose a number</span>
318
289
  </auro-input>
319
290
  <!-- AURO-GENERATED-CONTENT:END -->
320
291
  </div>
321
292
  <auro-accordion alignRight>
322
293
  <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 -->
294
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxNumber.html) -->
295
+ <!-- The below code snippet is automatically added from ../apiExamples/maxNumber.html -->
325
296
 
326
297
  ```html
327
- <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
298
+ <auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
328
299
  <span slot="label">Choose a number</span>
329
300
  </auro-input>
330
301
  ```
@@ -332,16 +303,16 @@ The `max` attribute should be used in combination with the `setCustomValidityRan
332
303
  </auro-accordion>
333
304
 
334
305
  ### 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.
306
+ 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 `number` or any date format.
336
307
 
337
- The `min` attribute should be used in combination with the `setCustomValidityRangeUnderflow` attribute to define help text used when the `min` attribute validation fails.
308
+ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combination with the `min` attribute to define custom help text used when the input value is less than the value of the `min` attribute.
338
309
 
339
310
  #### Date Example
340
311
 
341
312
  <div class="exampleWrapper">
342
313
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
343
314
  <!-- 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.">
315
+ <auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
345
316
  <span slot="label">Choose a date</span>
346
317
  </auro-input>
347
318
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -352,93 +323,115 @@ The `min` attribute should be used in combination with the `setCustomValidityRan
352
323
  <!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
353
324
 
354
325
  ```html
355
- <auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
326
+ <auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
356
327
  <span slot="label">Choose a date</span>
357
328
  </auro-input>
358
329
  ```
359
330
  <!-- AURO-GENERATED-CONTENT:END -->
360
331
  </auro-accordion>
361
332
 
362
- #### Numeric Example
333
+ #### Number Example
363
334
 
364
335
  <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.">
336
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumber.html) -->
337
+ <!-- The below content is automatically added from ../apiExamples/minNumber.html -->
338
+ <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
368
339
  <span slot="label">Choose a number</span>
369
340
  </auro-input>
370
341
  <!-- AURO-GENERATED-CONTENT:END -->
371
342
  </div>
372
343
  <auro-accordion alignRight>
373
344
  <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 -->
345
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/minNumber.html) -->
346
+ <!-- The below code snippet is automatically added from ../apiExamples/minNumber.html -->
376
347
 
377
348
  ```html
378
- <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
349
+ <auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
379
350
  <span slot="label">Choose a number</span>
380
351
  </auro-input>
381
352
  ```
382
353
  <!-- AURO-GENERATED-CONTENT:END -->
383
354
  </auro-accordion>
384
355
 
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.
356
+ ### Max Length <a name="maxLength"></a>
357
+ Use the `maxlength` attribute to control the length of the input entered.
387
358
 
388
- The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityBadInput` attribute.
359
+ The `setCustomValidityTooLong` attribute may optionally be used in combination with the `maxLength` attribute to define custom help text used when the length of the input is too long.
389
360
 
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>
361
+ <div class="exampleWrapper">
362
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
363
+ <!-- The below content is automatically added from ../apiExamples/maxLength.html -->
364
+ <auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
365
+ <slot slot="label">Voucher Code</slot>
366
+ <slot slot="helptext">Please enter your 12 character voucher code.</slot>
400
367
  </auro-input>
401
368
  <!-- AURO-GENERATED-CONTENT:END -->
402
369
  </div>
403
370
  <auro-accordion alignRight>
404
371
  <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 -->
372
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxLength.html) -->
373
+ <!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
407
374
 
408
375
  ```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>
376
+ <auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
377
+ <slot slot="label">Voucher Code</slot>
378
+ <slot slot="helptext">Please enter your 12 character voucher code.</slot>
412
379
  </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>
380
+ ```
381
+ <!-- AURO-GENERATED-CONTENT:END -->
382
+ </auro-accordion>
383
+
384
+ ### Min Length <a name="minLength"></a>
385
+ Use the `minlength` attribute to control the length of the input entered.
386
+
387
+ The `setCustomValidityTooShort` attribute may optionally be used in combination with the `minLength` attribute to define custom help text used when the length of the input is not long enough.
388
+
389
+ <div class="exampleWrapper">
390
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
391
+ <!-- The below content is automatically added from ../apiExamples/minLength.html -->
392
+ <auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
393
+ <slot slot="label">Voucher Code</slot>
394
+ <slot slot="helptext">Please enter your 4 character voucher code.</slot>
395
+ </auro-input>
396
+ <!-- AURO-GENERATED-CONTENT:END -->
397
+ </div>
398
+ <auro-accordion alignRight>
399
+ <span slot="trigger">See code</span>
400
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/minLength.html) -->
401
+ <!-- The below code snippet is automatically added from ../apiExamples/minLength.html -->
402
+
403
+ ```html
404
+ <auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
405
+ <slot slot="label">Voucher Code</slot>
406
+ <slot slot="helptext">Please enter your 4 character voucher code.</slot>
416
407
  </auro-input>
417
408
  ```
418
409
  <!-- AURO-GENERATED-CONTENT:END -->
419
410
  </auro-accordion>
420
411
 
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).
412
+ ### Pattern <a name="pattern"></a>
413
+ 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.
414
+
415
+ The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityPatternMismatch` attribute.
423
416
 
424
417
  <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>
418
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
419
+ <!-- The below content is automatically added from ../apiExamples/pattern.html -->
420
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
421
+ <span slot="label">Username</span>
422
+ <span slot="helptext">Please enter a username.</span>
430
423
  </auro-input>
431
424
  <!-- AURO-GENERATED-CONTENT:END -->
432
425
  </div>
433
426
  <auro-accordion alignRight>
434
427
  <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 -->
428
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/pattern.html) -->
429
+ <!-- The below code snippet is automatically added from ../apiExamples/pattern.html -->
437
430
 
438
431
  ```html
439
- <auro-input borderless>
440
- <span slot="label">Name</span>
441
- <span slot="helptext">Please enter your full name.</span>
432
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
433
+ <span slot="label">Username</span>
434
+ <span slot="helptext">Please enter a username.</span>
442
435
  </auro-input>
443
436
  ```
444
437
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -453,7 +446,8 @@ In this example, the user is able to programmatically change the value of the in
453
446
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/readonly.html) -->
454
447
  <!-- The below content is automatically added from ../apiExamples/readonly.html -->
455
448
  <auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
456
- <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
449
+ <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
450
+ <br /><br />
457
451
  <auro-input readonly bordered id="readonlyExample">
458
452
  <span slot="label">Name</span>
459
453
  <span slot="helptext">Please enter your full name.</span>
@@ -467,7 +461,8 @@ In this example, the user is able to programmatically change the value of the in
467
461
 
468
462
  ```html
469
463
  <auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
470
- <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
464
+ <auro-button id="resetReadonlyValueBtn">Reset</auro-button>
465
+ <br /><br />
471
466
  <auro-input readonly bordered id="readonlyExample">
472
467
  <span slot="label">Name</span>
473
468
  <span slot="helptext">Please enter your full name.</span>
@@ -497,13 +492,9 @@ export function setReadonlyValue() {
497
492
  ### Active Label <a name="activeLabel"></a>
498
493
  Example use cases for auro-input support the `activeLabel` attribute. If set, the label will stay fixed in the active position.
499
494
 
500
- <div class="exampleWrapper exampleWrapper--flex">
495
+ <div class="exampleWrapper">
501
496
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/activeLabel.html) -->
502
497
  <!-- 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
498
  <auro-input activeLabel bordered>
508
499
  <slot slot="label">Address</slot>
509
500
  <slot slot="helptext">Please enter your home address.</slot>
@@ -516,10 +507,6 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
516
507
  <!-- The below code snippet is automatically added from ../apiExamples/activeLabel.html -->
517
508
 
518
509
  ```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
510
  <auro-input activeLabel bordered>
524
511
  <slot slot="label">Address</slot>
525
512
  <slot slot="helptext">Please enter your home address.</slot>
@@ -531,13 +518,9 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
531
518
  ### Disable auto-validation <a name="noValidate"></a>
532
519
  For use cases where the field is `required`, but live validation is not wanted, use the `noValidate` attribute.
533
520
 
534
- <div class="exampleWrapper exampleWrapper--flex">
521
+ <div class="exampleWrapper">
535
522
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/noValidate.html) -->
536
523
  <!-- 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
524
  <auro-input noValidate required bordered>
542
525
  <slot slot="label">Address</slot>
543
526
  <slot slot="helptext">Please enter your home address.</slot>
@@ -550,10 +533,6 @@ For use cases where the field is `required`, but live validation is not wanted,
550
533
  <!-- The below code snippet is automatically added from ../apiExamples/noValidate.html -->
551
534
 
552
535
  ```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
536
  <auro-input noValidate required bordered>
558
537
  <slot slot="label">Address</slot>
559
538
  <slot slot="helptext">Please enter your home address.</slot>
@@ -571,14 +550,11 @@ The `<auro-input>` component follows the HTML5 input `validity` and `validitySta
571
550
  ### Required <a name="required"></a>
572
551
  When present, the `required` attribute specifies that an input field must be filled out before submitting the form.
573
552
 
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`.
553
+ 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
554
 
576
- <div class="exampleWrapper exampleWrapper--flex">
555
+ <div class="exampleWrapper">
577
556
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
578
557
  <!-- 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
558
  <auro-input required bordered placeholder="John Doe">
583
559
  <span slot="label">Full name</span>
584
560
  <span slot="helptext">Please enter your full name.</span>
@@ -591,9 +567,6 @@ When the validity check fails the validityState equals `valueMissing`. The error
591
567
  <!-- The below code snippet is automatically added from ../apiExamples/required.html -->
592
568
 
593
569
  ```html
594
- <auro-input required placeholder="John Doe">
595
- <span slot="label">Full name</span>
596
- </auro-input>
597
570
  <auro-input required bordered placeholder="John Doe">
598
571
  <span slot="label">Full name</span>
599
572
  <span slot="helptext">Please enter your full name.</span>
@@ -605,14 +578,10 @@ When the validity check fails the validityState equals `valueMissing`. The error
605
578
  ### Validation on input <a name="validateOnInput"></a>
606
579
  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
580
 
608
- <div class="exampleWrapper exampleWrapper--flex">
581
+ <div class="exampleWrapper">
609
582
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
610
583
  <!-- 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.">
584
+ <auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
616
585
  <span slot="label">Full Name</span>
617
586
  <span slot="helptext">Please enter your full name as it appears on the card.</span>
618
587
  </auro-input>
@@ -624,11 +593,7 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
624
593
  <!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
625
594
 
626
595
  ```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.">
596
+ <auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
632
597
  <span slot="label">Full Name</span>
633
598
  <span slot="helptext">Please enter your full name as it appears on the card.</span>
634
599
  </auro-input>
@@ -641,13 +606,9 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
641
606
 
642
607
  **NOTE:** Custom strings are NOT localized. It is the responsibility of the element consumer to provide localized strings when using this element property.
643
608
 
644
- <div class="exampleWrapper exampleWrapper--flex">
609
+ <div class="exampleWrapper">
645
610
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/setCustomValidity.html) -->
646
611
  <!-- 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
612
  <auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
652
613
  <span slot="label">Full Name</span>
653
614
  <span slot="helptext">Please enter your full name.</span>
@@ -660,10 +621,6 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
660
621
  <!-- The below code snippet is automatically added from ../apiExamples/setCustomValidity.html -->
661
622
 
662
623
  ```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
624
  <auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
668
625
  <span slot="label">Full Name</span>
669
626
  <span slot="helptext">Please enter your full name.</span>
@@ -675,12 +632,15 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
675
632
  ### Error <a name="error"></a>
676
633
  Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
677
634
 
635
+ A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
636
+
678
637
  <div class="exampleWrapper">
679
638
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/error.html) -->
680
639
  <!-- The below content is automatically added from ../apiExamples/error.html -->
681
640
  <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">
641
+ <auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
642
+ <br /><br />
643
+ <auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
684
644
  <span slot="label">Name</span>
685
645
  <span slot="helptext">Please enter your full name.</span>
686
646
  </auro-input>
@@ -693,8 +653,9 @@ Use the `error` attribute to apply a persistent custom error that supersedes the
693
653
 
694
654
  ```html
695
655
  <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">
656
+ <auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
657
+ <br /><br />
658
+ <auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
698
659
  <span slot="label">Name</span>
699
660
  <span slot="helptext">Please enter your full name.</span>
700
661
  </auro-input>
@@ -728,12 +689,9 @@ Use the `type="password"` attribute for a password style input. The hide/show pa
728
689
 
729
690
  Default help text will be added to the input `type="password"` if custom help text is not provided. See the example below.
730
691
 
731
- <div class="exampleWrapper exampleWrapper--flex">
692
+ <div class="exampleWrapper">
732
693
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
733
694
  <!-- 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
695
  <auro-input type="password" required bordered>
738
696
  <span slot="label">Password</span>
739
697
  <span slot="helptext">Please enter a secure password.</span>
@@ -746,9 +704,6 @@ Default help text will be added to the input `type="password"` if custom help te
746
704
  <!-- The below code snippet is automatically added from ../apiExamples/password.html -->
747
705
 
748
706
  ```html
749
- <auro-input type="password" required>
750
- <span slot="label">Password</span>
751
- </auro-input>
752
707
  <auro-input type="password" required bordered>
753
708
  <span slot="label">Password</span>
754
709
  <span slot="helptext">Please enter a secure password.</span>
@@ -763,13 +718,10 @@ Use the `type="email"` attribute for a email style input. These examples illustr
763
718
 
764
719
  Default help text will be added to the input `type="email"` if custom help text is not provided. See the example below.
765
720
 
766
- <div class="exampleWrapper exampleWrapper--flex">
721
+ <div class="exampleWrapper">
767
722
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
768
723
  <!-- 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">
724
+ <auro-input type="email" bordered required>
773
725
  <slot slot="label">Email address</slot>
774
726
  <slot slot="helptext">Please enter your email address.</slot>
775
727
  </auro-input>
@@ -781,10 +733,7 @@ Default help text will be added to the input `type="email"` if custom help text
781
733
  <!-- The below code snippet is automatically added from ../apiExamples/email.html -->
782
734
 
783
735
  ```html
784
- <auro-input required type="email">
785
- <slot slot="label">Email address</slot>
786
- </auro-input>
787
- <auro-input bordered required type="email">
736
+ <auro-input type="email" bordered required>
788
737
  <slot slot="label">Email address</slot>
789
738
  <slot slot="helptext">Please enter your email address.</slot>
790
739
  </auro-input>
@@ -796,16 +745,14 @@ Default help text will be added to the input `type="email"` if custom help text
796
745
 
797
746
  Use the `type="number"` attribute for a numeric style input and invoke a numeric virtual keyboard on handheld devices.
798
747
 
799
- <div class="exampleWrapper exampleWrapper--flex">
748
+ This `number` input type should only be used for incremental numeric values, meaning values with decimals will be considered invalid. The `number` input type is not appropriate for values that happen to only consist of but aren't strictly speaking a number, such as postal codes in many countries or credit card numbers. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number) for more information.
749
+
750
+ <div class="exampleWrapper">
800
751
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
801
752
  <!-- 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>
753
+ <auro-input type="number" bordered required>
754
+ <slot slot="label">Number of Passengers</slot>
755
+ <slot slot="helptext">Please enter the number of passengers.</slot>
809
756
  </auro-input>
810
757
  <!-- AURO-GENERATED-CONTENT:END -->
811
758
  </div>
@@ -815,81 +762,9 @@ Use the `type="number"` attribute for a numeric style input and invoke a numeric
815
762
  <!-- The below code snippet is automatically added from ../apiExamples/number.html -->
816
763
 
817
764
  ```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>
765
+ <auro-input type="number" bordered required>
766
+ <slot slot="label">Number of Passengers</slot>
767
+ <slot slot="helptext">Please enter the number of passengers.</slot>
893
768
  </auro-input>
894
769
  ```
895
770
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -901,13 +776,10 @@ Use the `type="credit-card"` attribute for a credit card formatted input.
901
776
 
902
777
  Default help text will be added to the input `type="credit-card"` if custom help text is not provided. See the example below.
903
778
 
904
- <div class="exampleWrapper exampleWrapper--flex">
779
+ <div class="exampleWrapper">
905
780
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
906
781
  <!-- 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">
782
+ <auro-input type="credit-card" bordered required>
911
783
  <slot slot="label">Card number</slot>
912
784
  <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
913
785
  </auro-input>
@@ -919,10 +791,7 @@ Default help text will be added to the input `type="credit-card"` if custom help
919
791
  <!-- The below code snippet is automatically added from ../apiExamples/creditCard.html -->
920
792
 
921
793
  ```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">
794
+ <auro-input type="credit-card" bordered required>
926
795
  <slot slot="label">Card number</slot>
927
796
  <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
928
797
  </auro-input>
@@ -933,13 +802,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
933
802
 
934
803
  **Dependency**: Please be sure to also install [auro-icon](https://auro.alaskaair.com/components/auro/icon/install) as a peer dependency.
935
804
 
936
- <div class="exampleWrapper exampleWrapper--flex">
805
+ <div class="exampleWrapper">
937
806
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
938
807
  <!-- 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">
808
+ <auro-input icon type="credit-card" bordered required>
943
809
  <slot slot="label">Card number</slot>
944
810
  <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
945
811
  </auro-input>
@@ -952,10 +818,7 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
952
818
  <!-- The below code snippet is automatically added from ../apiExamples/creditCardIcon.html -->
953
819
 
954
820
  ```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">
821
+ <auro-input icon type="credit-card" bordered required>
959
822
  <slot slot="label">Card number</slot>
960
823
  <slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
961
824
  </auro-input>
@@ -967,13 +830,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
967
830
 
968
831
  Use the `type="month-day-year"` attribute for a date formatted input.
969
832
 
970
- <div class="exampleWrapper exampleWrapper--flex">
833
+ <div class="exampleWrapper">
971
834
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
972
835
  <!-- 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">
836
+ <auro-input type="month-day-year" bordered>
977
837
  <slot slot="label">Arrival date</slot>
978
838
  </auro-input>
979
839
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -984,10 +844,7 @@ Use the `type="month-day-year"` attribute for a date formatted input.
984
844
  <!-- The below code snippet is automatically added from ../apiExamples/monthDayYear.html -->
985
845
 
986
846
  ```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">
847
+ <auro-input type="month-day-year" bordered>
991
848
  <slot slot="label">Arrival date</slot>
992
849
  </auro-input>
993
850
  ```
@@ -995,13 +852,10 @@ Use the `type="month-day-year"` attribute for a date formatted input.
995
852
  </auro-accordion>
996
853
  Use the `type="month-year"` attribute for a date formatted input.
997
854
 
998
- <div class="exampleWrapper exampleWrapper--flex">
855
+ <div class="exampleWrapper">
999
856
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
1000
857
  <!-- 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>
858
+ <auro-input type="month-year" bordered>
1005
859
  <slot slot="label">Arrival date</slot>
1006
860
  </auro-input>
1007
861
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1012,10 +866,7 @@ Use the `type="month-year"` attribute for a date formatted input.
1012
866
  <!-- The below code snippet is automatically added from ../apiExamples/monthYear.html -->
1013
867
 
1014
868
  ```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>
869
+ <auro-input type="month-year" bordered>
1019
870
  <slot slot="label">Arrival date</slot>
1020
871
  </auro-input>
1021
872
  ```
@@ -1023,13 +874,10 @@ Use the `type="month-year"` attribute for a date formatted input.
1023
874
  </auro-accordion>
1024
875
  Use the `type="month-fullYear"` attribute for a date formatted input.
1025
876
 
1026
- <div class="exampleWrapper exampleWrapper--flex">
877
+ <div class="exampleWrapper">
1027
878
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthFullYear.html) -->
1028
879
  <!-- 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>
880
+ <auro-input type="month-fullYear" bordered>
1033
881
  <slot slot="label">Arrival date</slot>
1034
882
  </auro-input>
1035
883
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1040,10 +888,7 @@ Use the `type="month-fullYear"` attribute for a date formatted input.
1040
888
  <!-- The below code snippet is automatically added from ../apiExamples/monthFullYear.html -->
1041
889
 
1042
890
  ```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>
891
+ <auro-input type="month-fullYear" bordered>
1047
892
  <slot slot="label">Arrival date</slot>
1048
893
  </auro-input>
1049
894
  ```
@@ -1051,13 +896,10 @@ Use the `type="month-fullYear"` attribute for a date formatted input.
1051
896
  </auro-accordion>
1052
897
  Use the `type="year-month-day"` attribute for a date formatted input.
1053
898
 
1054
- <div class="exampleWrapper exampleWrapper--flex">
899
+ <div class="exampleWrapper">
1055
900
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
1056
901
  <!-- 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">
902
+ <auro-input type="year-month-day" bordered>
1061
903
  <slot slot="label">Arrival date</slot>
1062
904
  </auro-input>
1063
905
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1068,10 +910,7 @@ Use the `type="year-month-day"` attribute for a date formatted input.
1068
910
  <!-- The below code snippet is automatically added from ../apiExamples/yearMonthDay.html -->
1069
911
 
1070
912
  ```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">
913
+ <auro-input type="year-month-day" bordered>
1075
914
  <slot slot="label">Arrival date</slot>
1076
915
  </auro-input>
1077
916
  ```
@@ -1079,10 +918,10 @@ Use the `type="year-month-day"` attribute for a date formatted input.
1079
918
  </auro-accordion>
1080
919
  Use the `type="month"` attribute for a date formatted input.
1081
920
 
1082
- <div class="exampleWrapper exampleWrapper--flex">
921
+ <div class="exampleWrapper">
1083
922
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/month.html) -->
1084
923
  <!-- The below content is automatically added from ../apiExamples/month.html -->
1085
- <auro-input type="month">
924
+ <auro-input type="month" bordered>
1086
925
  <slot slot="label">Month</slot>
1087
926
  </auro-input>
1088
927
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1093,7 +932,7 @@ Use the `type="month"` attribute for a date formatted input.
1093
932
  <!-- The below code snippet is automatically added from ../apiExamples/month.html -->
1094
933
 
1095
934
  ```html
1096
- <auro-input type="month">
935
+ <auro-input type="month" bordered>
1097
936
  <slot slot="label">Month</slot>
1098
937
  </auro-input>
1099
938
  ```
@@ -1101,10 +940,10 @@ Use the `type="month"` attribute for a date formatted input.
1101
940
  </auro-accordion>
1102
941
  Use the `type="year"` attribute for a date formatted input.
1103
942
 
1104
- <div class="exampleWrapper exampleWrapper--flex">
943
+ <div class="exampleWrapper">
1105
944
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/year.html) -->
1106
945
  <!-- The below content is automatically added from ../apiExamples/year.html -->
1107
- <auro-input type="year">
946
+ <auro-input type="year" bordered>
1108
947
  <slot slot="label">Year</slot>
1109
948
  </auro-input>
1110
949
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1115,7 +954,7 @@ Use the `type="year"` attribute for a date formatted input.
1115
954
  <!-- The below code snippet is automatically added from ../apiExamples/year.html -->
1116
955
 
1117
956
  ```html
1118
- <auro-input type="year">
957
+ <auro-input type="year" bordered>
1119
958
  <slot slot="label">Year</slot>
1120
959
  </auro-input>
1121
960
  ```
@@ -1123,10 +962,10 @@ Use the `type="year"` attribute for a date formatted input.
1123
962
  </auro-accordion>
1124
963
  Use the `type="fullYear"` attribute for a date formatted input.
1125
964
 
1126
- <div class="exampleWrapper exampleWrapper--flex">
965
+ <div class="exampleWrapper">
1127
966
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/fullYear.html) -->
1128
967
  <!-- The below content is automatically added from ../apiExamples/fullYear.html -->
1129
- <auro-input type="fullYear">
968
+ <auro-input type="fullYear" bordered>
1130
969
  <slot slot="label">Full Year</slot>
1131
970
  </auro-input>
1132
971
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1137,7 +976,7 @@ Use the `type="fullYear"` attribute for a date formatted input.
1137
976
  <!-- The below code snippet is automatically added from ../apiExamples/fullYear.html -->
1138
977
 
1139
978
  ```html
1140
- <auro-input type="fullYear">
979
+ <auro-input type="fullYear" bordered>
1141
980
  <slot slot="label">Full Year</slot>
1142
981
  </auro-input>
1143
982
  ```
@@ -1146,11 +985,55 @@ Use the `type="fullYear"` attribute for a date formatted input.
1146
985
 
1147
986
  ## Additional Use Cases
1148
987
 
988
+ ### Reset State
989
+
990
+ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` state. Doing so will preserve all other attributes and properties.
991
+
992
+ <div class="exampleWrapper">
993
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/resetState.html) -->
994
+ <!-- The below content is automatically added from ../apiExamples/resetState.html -->
995
+ <auro-button id="resetStateBtn">Reset</auro-button>
996
+ <br /><br />
997
+ <auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
998
+ <slot slot="label">Full Name</slot>
999
+ <slot slot="helptext">Please enter your full name.</slot>
1000
+ </auro-input>
1001
+ <!-- AURO-GENERATED-CONTENT:END -->
1002
+ </div>
1003
+ <auro-accordion alignRight>
1004
+ <span slot="trigger">See code</span>
1005
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/resetState.html) -->
1006
+ <!-- The below code snippet is automatically added from ../apiExamples/resetState.html -->
1007
+
1008
+ ```html
1009
+ <auro-button id="resetStateBtn">Reset</auro-button>
1010
+ <br /><br />
1011
+ <auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
1012
+ <slot slot="label">Full Name</slot>
1013
+ <slot slot="helptext">Please enter your full name.</slot>
1014
+ </auro-input>
1015
+ ```
1016
+ <!-- AURO-GENERATED-CONTENT:END -->
1017
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/resetState.js) -->
1018
+ <!-- The below code snippet is automatically added from ../apiExamples/resetState.js -->
1019
+
1020
+ ```js
1021
+ export function resetStateExample() {
1022
+ const elem = document.querySelector('#resetStateExample');
1023
+
1024
+ document.querySelector('#resetStateBtn').addEventListener('click', () => {
1025
+ elem.reset();
1026
+ });
1027
+ }
1028
+ ```
1029
+ <!-- AURO-GENERATED-CONTENT:END -->
1030
+ </auro-accordion>
1031
+
1149
1032
  ### Swapping Values Between Inputs
1150
1033
 
1151
1034
  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
1035
 
1153
- <div class="exampleWrapper exampleWrapper--flex">
1036
+ <div class="exampleWrapper">
1154
1037
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/swapValue.html) -->
1155
1038
  <!-- The below content is automatically added from ../apiExamples/swapValue.html -->
1156
1039
  <auro-input id="swapExampleLeft" bordered>