@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/.turbo/cache/013a48308b893dac-meta.json +1 -1
  2. package/.turbo/cache/02244170c798a2bd-meta.json +1 -0
  3. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  4. package/.turbo/cache/051ff97a20add0e2-meta.json +1 -0
  5. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  6. package/.turbo/cache/07ca42419b9f050c-meta.json +1 -1
  7. package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -1
  8. package/.turbo/cache/0ea853339c064fa1-meta.json +1 -0
  9. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  10. package/.turbo/cache/16658beec9f4a809-meta.json +1 -0
  11. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  12. package/.turbo/cache/17259cf94d8f8925-meta.json +1 -1
  13. package/.turbo/cache/1b9818717e4bdf9f-meta.json +1 -0
  14. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  15. package/.turbo/cache/1c0f580d37370ba2-meta.json +1 -0
  16. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  17. package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -1
  18. package/.turbo/cache/1df4710eef8ed00d-meta.json +1 -0
  19. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  20. package/.turbo/cache/204b66d1b253e9cc-meta.json +1 -0
  21. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  22. package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -1
  23. package/.turbo/cache/2a5d0939d6fc1052-meta.json +1 -0
  24. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  25. package/.turbo/cache/2e3b829fcf75c836-meta.json +1 -0
  26. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  27. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -1
  28. package/.turbo/cache/3d380d0d40404cac-meta.json +1 -0
  29. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  30. package/.turbo/cache/3e12285c614db539-meta.json +1 -0
  31. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  32. package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -1
  33. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +1 -0
  34. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  35. package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -1
  36. package/.turbo/cache/64de7a53e02db647-meta.json +1 -1
  37. package/.turbo/cache/691a74627ec57993-meta.json +1 -1
  38. package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -1
  39. package/.turbo/cache/6dd67d179191bda8-meta.json +1 -0
  40. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  41. package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -1
  42. package/.turbo/cache/73e9073a5274616d-meta.json +1 -1
  43. package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -1
  44. package/.turbo/cache/786a822763403879-meta.json +1 -1
  45. package/.turbo/cache/7e1043cffa69f327-meta.json +1 -0
  46. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  47. package/.turbo/cache/7ffd501e81790676-meta.json +1 -0
  48. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  49. package/.turbo/cache/80a13352066a9801-meta.json +1 -0
  50. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  51. package/.turbo/cache/80b5d974184a01df-meta.json +1 -1
  52. package/.turbo/cache/8954c6073396fadd-meta.json +1 -1
  53. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +1 -0
  54. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +1 -0
  55. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  56. package/.turbo/cache/92daa6d7c389d548-meta.json +1 -1
  57. package/.turbo/cache/973d0eea26083f4b-meta.json +1 -0
  58. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  59. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +1 -0
  60. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  61. package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -1
  62. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  63. package/.turbo/cache/a9a9d012c83882d8-meta.json +1 -0
  64. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  65. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -1
  66. package/.turbo/cache/ba4418918621fbcd-meta.json +1 -1
  67. package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -1
  68. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  69. package/.turbo/cache/bffc7582905c2a5e-meta.json +1 -0
  70. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  71. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -1
  72. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  73. package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -1
  74. package/.turbo/cache/d572ebb3c833e8f4-meta.json +1 -0
  75. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  76. package/.turbo/cache/d61543843c932504-meta.json +1 -0
  77. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  78. package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -1
  79. package/.turbo/cache/db361cb6578dca84-meta.json +1 -0
  80. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  81. package/.turbo/cache/dea5945f55c6aba5-meta.json +1 -0
  82. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  83. package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -1
  84. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  85. package/.turbo/cache/f3ff9040a2196834-meta.json +1 -0
  86. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  87. package/.turbo/cache/f817d89688cefca8-meta.json +1 -0
  88. package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
  89. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -1
  90. package/.turbo/cache/fc57c17867dcac3d-meta.json +1 -0
  91. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
  92. package/CHANGELOG.md +44 -0
  93. package/components/checkbox/.turbo/turbo-build.log +3 -3
  94. package/components/checkbox/.turbo/turbo-bundler.log +3 -3
  95. package/components/checkbox/demo/api.md +4 -2
  96. package/components/checkbox/demo/api.min.js +31 -36
  97. package/components/checkbox/demo/index.min.js +31 -36
  98. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  99. package/components/checkbox/dist/index.js +31 -36
  100. package/components/checkbox/src/auro-checkbox-group.js +2 -2
  101. package/components/combobox/.turbo/turbo-build.log +3 -3
  102. package/components/combobox/demo/api.md +17 -15
  103. package/components/combobox/demo/api.min.js +500 -218
  104. package/components/combobox/demo/index.min.js +500 -218
  105. package/components/combobox/dist/auro-combobox.d.ts +11 -4
  106. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  107. package/components/combobox/dist/index.js +499 -217
  108. package/components/combobox/src/auro-combobox.js +22 -20
  109. package/components/counter/.turbo/turbo-build.log +3 -3
  110. package/components/counter/.turbo/turbo-bundler.log +3 -3
  111. package/components/datepicker/.turbo/turbo-build.log +9 -8
  112. package/components/datepicker/demo/api.md +107 -87
  113. package/components/datepicker/demo/api.min.js +492 -232
  114. package/components/datepicker/demo/index.min.js +492 -232
  115. package/components/datepicker/dist/auro-datepicker.d.ts +6 -13
  116. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  117. package/components/datepicker/dist/index.js +492 -232
  118. package/components/datepicker/src/auro-datepicker.js +15 -35
  119. package/components/dropdown/.turbo/turbo-build.log +3 -3
  120. package/components/dropdown/.turbo/turbo-bundler.log +2 -2
  121. package/components/dropdown/demo/api.md +4 -4
  122. package/components/dropdown/demo/api.min.js +166 -42
  123. package/components/dropdown/demo/index.min.js +166 -42
  124. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  125. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  126. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  127. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  128. package/components/dropdown/dist/index.js +166 -42
  129. package/components/dropdown/src/auro-dropdown.js +154 -39
  130. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  131. package/components/dropdown/src/styles/style-css.js +1 -1
  132. package/components/dropdown/src/styles/style.css +4 -0
  133. package/components/dropdown/src/styles/style.scss +5 -0
  134. package/components/form/.turbo/turbo-build.log +3 -3
  135. package/components/form/.turbo/turbo-bundler.log +3 -3
  136. package/components/input/.turbo/turbo-build$colon$sass.log +51 -1
  137. package/components/input/.turbo/turbo-build.log +56 -6
  138. package/components/input/.turbo/turbo-bundler.log +3 -3
  139. package/components/input/.turbo/turbo-sass$colon$render.log +6 -0
  140. package/components/input/demo/api.md +83 -81
  141. package/components/input/demo/api.min.js +282 -121
  142. package/components/input/demo/index.md +6 -6
  143. package/components/input/demo/index.min.js +282 -121
  144. package/components/input/dist/auro-input.d.ts.map +1 -1
  145. package/components/input/dist/base-input.d.ts +155 -84
  146. package/components/input/dist/base-input.d.ts.map +1 -1
  147. package/components/input/dist/index.js +282 -121
  148. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  149. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  150. package/components/input/src/auro-input.js +0 -1
  151. package/components/input/src/base-input.js +252 -85
  152. package/components/input/src/styles/borders.scss +3 -19
  153. package/components/input/src/styles/color.css +1 -2
  154. package/components/input/src/styles/color.scss +3 -10
  155. package/components/input/src/styles/input-css.js +1 -1
  156. package/components/input/src/styles/input.css +1 -1
  157. package/components/input/src/styles/input.scss +4 -1
  158. package/components/input/src/styles/label-css.js +1 -1
  159. package/components/input/src/styles/label.css +1 -1
  160. package/components/input/src/styles/label.scss +4 -7
  161. package/components/input/src/styles/mixins-css.js +2 -0
  162. package/components/input/src/styles/mixins.css +1 -0
  163. package/components/input/src/styles/mixins.scss +45 -0
  164. package/components/input/src/styles/notificationIcons-css.js +1 -1
  165. package/components/input/src/styles/notificationIcons.css +13 -12
  166. package/components/input/src/styles/notificationIcons.scss +17 -25
  167. package/components/input/src/styles/style-css.js +1 -1
  168. package/components/input/src/styles/style.css +15 -17
  169. package/components/input/src/styles/style.scss +0 -4
  170. package/components/menu/.turbo/turbo-build.log +3 -3
  171. package/components/menu/.turbo/turbo-bundler.log +3 -3
  172. package/components/menu/demo/api.min.js +1 -1
  173. package/components/menu/demo/index.min.js +1 -1
  174. package/components/menu/dist/auro-menu.d.ts +1 -1
  175. package/components/menu/dist/index.js +1 -1
  176. package/components/menu/src/auro-menu.js +1 -1
  177. package/components/radio/.turbo/turbo-build.log +3 -3
  178. package/components/radio/.turbo/turbo-bundler.log +3 -3
  179. package/components/radio/demo/api.md +3 -1
  180. package/components/radio/demo/api.min.js +30 -35
  181. package/components/radio/demo/index.min.js +30 -35
  182. package/components/radio/dist/index.js +30 -35
  183. package/components/radio/src/auro-radio-group.js +1 -1
  184. package/components/select/.turbo/turbo-build.log +7 -9
  185. package/components/select/demo/api.md +45 -110
  186. package/components/select/demo/api.min.js +320 -224
  187. package/components/select/demo/index.md +100 -43
  188. package/components/select/demo/index.min.js +320 -220
  189. package/components/select/dist/auro-select.d.ts +64 -51
  190. package/components/select/dist/auro-select.d.ts.map +1 -1
  191. package/components/select/dist/index.js +314 -201
  192. package/components/select/src/auro-select.js +100 -118
  193. package/components/select/src/styles/style-css.js +1 -1
  194. package/components/select/src/styles/style.css +7 -0
  195. package/components/select/src/styles/style.scss +11 -1
  196. package/package.json +1 -1
  197. package/packages/form-validation/src/validation.js +29 -34
  198. package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
  199. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  200. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
  201. package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
  202. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  203. package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
  204. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  205. package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
  206. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  207. package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
  208. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  209. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
  210. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  211. package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
  212. package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
  213. package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
  214. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  215. package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
  216. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  217. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
  218. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  219. package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
  220. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  221. package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
  222. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  223. package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
  224. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  225. package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
  226. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  227. package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
  228. package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
  229. package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
  230. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  231. package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
  232. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  233. package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
  234. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  235. package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
  236. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  237. package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
  238. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  239. package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
  240. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  241. package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
  242. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  243. package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
  244. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  245. package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
  246. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  247. package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
  248. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  249. package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
  250. package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
  251. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
  252. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  253. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
  254. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  255. package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
  256. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
  257. /package/.turbo/cache/{0a2b0a4df8a0443f.tar.zst → 8e79bd5c3a16a72e.tar.zst} +0 -0
@@ -1,2 +1,2 @@
1
1
  import { css } from 'lit';
2
- export default css`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
2
+ export default css`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
@@ -19,8 +19,12 @@
19
19
  .label {
20
20
  font-size: var(--ds-text-body-size-xs, 0.75rem);
21
21
  line-height: var(--ds-text-body-size-default, 1rem);
22
+ transition: font-size 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
22
23
  white-space: normal;
23
24
  }
25
+ .label[hasTrigger=false] {
26
+ font-size: var(--ds-text-body-size-default, 1rem);
27
+ }
24
28
 
25
29
  .trigger {
26
30
  position: relative;
@@ -32,7 +32,12 @@
32
32
  .label {
33
33
  font-size: var(--ds-text-body-size-xs, $ds-text-body-size-xs);
34
34
  line-height: var(--ds-text-body-size-default, $ds-text-body-size-default);
35
+ transition: font-size .3s cubic-bezier(.215, .61, .355, 1);
35
36
  white-space: normal;
37
+
38
+ &[hasTrigger='false'] {
39
+ font-size: var(--ds-text-body-size-default, $ds-text-body-size-default);
40
+ }
36
41
  }
37
42
 
38
43
  .trigger {
@@ -69,13 +69,13 @@ Run in verbose mode to see all warnings.
69
69
 
70
70
  
71
71
  ./src/index.js → dist...
72
- created dist in 688ms
72
+ created dist in 551ms
73
73
  
74
74
  ./demo/index.js → ./demo/...
75
- created ./demo/ in 330ms
75
+ created ./demo/ in 314ms
76
76
  
77
77
  ./demo/api.js → ./demo/...
78
- created ./demo/ in 189ms
78
+ created ./demo/ in 300ms
79
79
 
80
80
  > @auro-formkit/auro-form@1.0.0 build:docs
81
81
  > wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component form
@@ -4,10 +4,10 @@
4
4
 
5
5
  
6
6
  ./src/index.js → dist...
7
- created dist in 694ms
7
+ created dist in 754ms
8
8
  
9
9
  ./demo/index.js → ./demo/...
10
- created ./demo/ in 351ms
10
+ created ./demo/ in 317ms
11
11
  
12
12
  ./demo/api.js → ./demo/...
13
- created ./demo/ in 231ms
13
+ created ./demo/ in 302ms
@@ -24,6 +24,16 @@ More info and automated migrator: https://sass-lang.com/d/import
24
24
 
25
25
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
26
26
 
27
+ More info and automated migrator: https://sass-lang.com/d/import
28
+
29
+
30
+ 6 │ @import 'mixins';
31
+ │ ^^^^^^^^
32
+
33
+ src/styles/borders.scss 6:9 root stylesheet
34
+
35
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
36
+
27
37
  More info and automated migrator: https://sass-lang.com/d/import
28
38
 
29
39
 
@@ -45,6 +55,16 @@ More info and automated migrator: https://sass-lang.com/d/import
45
55
 
46
56
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
47
57
 
58
+ More info and automated migrator: https://sass-lang.com/d/import
59
+
60
+
61
+ 8 │ @import 'mixins';
62
+ │ ^^^^^^^^
63
+
64
+ src/styles/color.scss 8:9 root stylesheet
65
+
66
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
67
+
48
68
  More info and automated migrator: https://sass-lang.com/d/import
49
69
 
50
70
 
@@ -65,6 +85,16 @@ More info and automated migrator: https://sass-lang.com/d/import
65
85
 
66
86
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
67
87
 
88
+ More info and automated migrator: https://sass-lang.com/d/import
89
+
90
+
91
+ 6 │ @import 'mixins';
92
+ │ ^^^^^^^^
93
+
94
+ src/styles/input.scss 6:9 root stylesheet
95
+
96
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
97
+
68
98
  More info and automated migrator: https://sass-lang.com/d/import
69
99
 
70
100
 
@@ -75,6 +105,16 @@ More info and automated migrator: https://sass-lang.com/d/import
75
105
 
76
106
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
77
107
 
108
+ More info and automated migrator: https://sass-lang.com/d/import
109
+
110
+
111
+ 3 │ @import 'mixins';
112
+ │ ^^^^^^^^
113
+
114
+ src/styles/label.scss 3:9 root stylesheet
115
+
116
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
117
+
78
118
  More info and automated migrator: https://sass-lang.com/d/import
79
119
 
80
120
 
@@ -85,6 +125,16 @@ More info and automated migrator: https://sass-lang.com/d/import
85
125
 
86
126
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
87
127
 
128
+ More info and automated migrator: https://sass-lang.com/d/import
129
+
130
+
131
+ 2 │ @import 'mixins';
132
+ │ ^^^^^^^^
133
+
134
+ src/styles/notificationIcons.scss 2:9 root stylesheet
135
+
136
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
137
+
88
138
  More info and automated migrator: https://sass-lang.com/d/import
89
139
 
90
140
 
@@ -133,7 +183,7 @@ More info and automated migrator: https://sass-lang.com/d/import
133
183
 
134
184
  src/styles/style.scss 31:9 root stylesheet
135
185
 
136
- WARNING: 14 repetitive deprecation warnings omitted.
186
+ WARNING: 18 repetitive deprecation warnings omitted.
137
187
  Run in verbose mode to see all warnings.
138
188
 
139
189
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
@@ -38,6 +38,16 @@ More info and automated migrator: https://sass-lang.com/d/import
38
38
 
39
39
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
40
40
 
41
+ More info and automated migrator: https://sass-lang.com/d/import
42
+
43
+
44
+ 6 │ @import 'mixins';
45
+ │ ^^^^^^^^
46
+
47
+ src/styles/borders.scss 6:9 root stylesheet
48
+
49
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
50
+
41
51
  More info and automated migrator: https://sass-lang.com/d/import
42
52
 
43
53
 
@@ -59,6 +69,16 @@ More info and automated migrator: https://sass-lang.com/d/import
59
69
 
60
70
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
61
71
 
72
+ More info and automated migrator: https://sass-lang.com/d/import
73
+
74
+
75
+ 8 │ @import 'mixins';
76
+ │ ^^^^^^^^
77
+
78
+ src/styles/color.scss 8:9 root stylesheet
79
+
80
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
81
+
62
82
  More info and automated migrator: https://sass-lang.com/d/import
63
83
 
64
84
 
@@ -79,6 +99,16 @@ More info and automated migrator: https://sass-lang.com/d/import
79
99
 
80
100
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
81
101
 
102
+ More info and automated migrator: https://sass-lang.com/d/import
103
+
104
+
105
+ 6 │ @import 'mixins';
106
+ │ ^^^^^^^^
107
+
108
+ src/styles/input.scss 6:9 root stylesheet
109
+
110
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
111
+
82
112
  More info and automated migrator: https://sass-lang.com/d/import
83
113
 
84
114
 
@@ -89,6 +119,16 @@ More info and automated migrator: https://sass-lang.com/d/import
89
119
 
90
120
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
91
121
 
122
+ More info and automated migrator: https://sass-lang.com/d/import
123
+
124
+
125
+ 3 │ @import 'mixins';
126
+ │ ^^^^^^^^
127
+
128
+ src/styles/label.scss 3:9 root stylesheet
129
+
130
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
131
+
92
132
  More info and automated migrator: https://sass-lang.com/d/import
93
133
 
94
134
 
@@ -99,6 +139,16 @@ More info and automated migrator: https://sass-lang.com/d/import
99
139
 
100
140
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
101
141
 
142
+ More info and automated migrator: https://sass-lang.com/d/import
143
+
144
+
145
+ 2 │ @import 'mixins';
146
+ │ ^^^^^^^^
147
+
148
+ src/styles/notificationIcons.scss 2:9 root stylesheet
149
+
150
+ DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
151
+
102
152
  More info and automated migrator: https://sass-lang.com/d/import
103
153
 
104
154
 
@@ -147,7 +197,7 @@ More info and automated migrator: https://sass-lang.com/d/import
147
197
 
148
198
  src/styles/style.scss 31:9 root stylesheet
149
199
 
150
- WARNING: 14 repetitive deprecation warnings omitted.
200
+ WARNING: 18 repetitive deprecation warnings omitted.
151
201
  Run in verbose mode to see all warnings.
152
202
 
153
203
  DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
@@ -166,13 +216,13 @@ More info and automated migrator: https://sass-lang.com/d/import
166
216
 
167
217
  
168
218
  ./src/index.js → dist...
169
- created dist in 1.2s
219
+ created dist in 1.6s
170
220
  
171
221
  ./demo/index.js → ./demo/...
172
- created ./demo/ in 1s
222
+ created ./demo/ in 656ms
173
223
  
174
224
  ./demo/api.js → ./demo/...
175
- created ./demo/ in 927ms
225
+ created ./demo/ in 953ms
176
226
 
177
227
  > @auro-formkit/auro-input@4.2.0 build:docs
178
228
  > wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component input
@@ -228,9 +278,9 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/input/
228
278
  ⁕ FILE:src=../apiExamples/value.html
229
279
  ⁕ FILE:src=../apiExamples/maxDate.html
230
280
  ⁕ FILE:src=../apiExamples/maxNumber.html
231
- ⁕ FILE:src=../apiExamples/maxLength.html
232
281
  ⁕ FILE:src=../apiExamples/minDate.html
233
282
  ⁕ FILE:src=../apiExamples/minNumber.html
283
+ ⁕ FILE:src=../apiExamples/maxLength.html
234
284
  ⁕ FILE:src=../apiExamples/minLength.html
235
285
  ⁕ FILE:src=../apiExamples/pattern.html
236
286
  ⁕ FILE:src=../apiExamples/borderless.html
@@ -263,9 +313,9 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/input/
263
313
  ⁕ CODE:src=../apiExamples/value.js
264
314
  ⁕ CODE:src=../apiExamples/maxDate.html
265
315
  ⁕ CODE:src=../apiExamples/maxNumber.html
266
- ⁕ CODE:src=../apiExamples/maxLength.html
267
316
  ⁕ CODE:src=../apiExamples/minDate.html
268
317
  ⁕ CODE:src=../apiExamples/minNumber.html
318
+ ⁕ CODE:src=../apiExamples/maxLength.html
269
319
  ⁕ CODE:src=../apiExamples/minLength.html
270
320
  ⁕ CODE:src=../apiExamples/pattern.html
271
321
  ⁕ CODE:src=../apiExamples/borderless.html
@@ -4,10 +4,10 @@
4
4
 
5
5
  
6
6
  ./src/index.js → dist...
7
- created dist in 1.3s
7
+ created dist in 1.2s
8
8
  
9
9
  ./demo/index.js → ./demo/...
10
- created ./demo/ in 794ms
10
+ created ./demo/ in 936ms
11
11
  
12
12
  ./demo/api.js → ./demo/...
13
- created ./demo/ in 737ms
13
+ created ./demo/ in 972ms
@@ -7,6 +7,7 @@ Rendering src/styles/color.css...
7
7
  Rendering src/styles/helpText.css...
8
8
  Rendering src/styles/input.css...
9
9
  Rendering src/styles/label.css...
10
+ Rendering src/styles/mixins.css...
10
11
  Rendering src/styles/notificationIcons.css...
11
12
  Rendering src/styles/style.css...
12
13
  Rendering src/styles/tokens.css...
@@ -42,6 +43,11 @@ DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart
42
43
 
43
44
  More info: https://sass-lang.com/d/legacy-js-api
44
45
 
46
+ DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
47
+
48
+ More info: https://sass-lang.com/d/legacy-js-api
49
+
50
+ Complete!
45
51
  Complete!
46
52
  Complete!
47
53
  Complete!
@@ -33,41 +33,41 @@ Generate unique names for dependency components.
33
33
 
34
34
  | Property | Attribute | Type | Default | Description |
35
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
- | [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. |
45
- | [id](#id) | `id` | `String` | | Sets the unique ID of the element. |
46
- | [lang](#lang) | `lang` | `String` | | defines the language of an element. |
47
- | [max](#max) | `max` | `String` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `number` and all date formats. |
48
- | [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. |
49
- | [min](#min) | `min` | `String` | "undefined" | The minimum value allowed. This only applies for inputs with a type of `number` and all date formats. |
50
- | [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`. |
51
- | [name](#name) | `name` | `String` | | Populates the `name` attribute on the input. |
52
- | [noValidate](#noValidate) | `noValidate` | `Boolean` | false | If set, disables auto-validation on blur. |
53
- | [pattern](#pattern) | `pattern` | `String` | | Specifies a regular expression the form control's value should match. |
54
- | [placeholder](#placeholder) | `placeholder` | `String` | | Define custom placeholder text, only supported by date input formats. |
55
- | [readonly](#readonly) | `readonly` | `Boolean` | | Makes the input read-only, but can be set programmatically. |
56
- | [required](#required) | `required` | `Boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
57
- | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `String` | | Sets a custom help text message to display for all validityStates. |
58
- | [setCustomValidityBadInput](#setCustomValidityBadInput) | `setCustomValidityBadInput` | `String` | | Custom help text message to display when validity = `badInput`. |
59
- | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `String` | | Custom help text message to display when validity = `customError`. |
60
- | [setCustomValidityForType](#setCustomValidityForType) | `setCustomValidityForType` | `String` | "undefined" | Custom help text message to display for the declared element `type` and type validity fails. |
61
- | [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `String` | | Custom help text message to display when validity = `rangeOverflow`. |
62
- | [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `String` | | Custom help text message to display when validity = `rangeUnderflow`. |
63
- | [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `String` | | Custom help text message to display when validity = `tooLong`. |
64
- | [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `String` | | Custom help text message to display when validity = `tooShort`. |
65
- | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `String` | | Custom help text message to display when validity = `valueMissing`. |
66
- | [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`. |
67
- | [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`. |
68
- | [validateOnInput](#validateOnInput) | `validateOnInput` | `Boolean` | | Sets validation mode to re-eval with each input. |
69
- | [validity](#validity) | `validity` | `String` | | Specifies the `validityState` this element is in. |
70
- | [value](#value) | `value` | `String` | | Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input. |
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` | | Custom help text message for email type validity. |
41
+ | [disabled](#disabled) | `disabled` | `boolean` | false | If set, disables the input. |
42
+ | [error](#error) | `error` | `string` | | |
43
+ | [errorMessage](#errorMessage) | `errorMessage` | `string` | | Contains the help text message for the current validity error. |
44
+ | [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. |
45
+ | [id](#id) | `id` | `string` | | Sets the unique ID of the element. |
46
+ | [lang](#lang) | `lang` | `string` | | Defines the language of an element. |
47
+ | [max](#max) | `max` | `string` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `number` and all date formats. |
48
+ | [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. |
49
+ | [min](#min) | `min` | `string` | "undefined" | The minimum value allowed. This only applies for inputs with a type of `number` and all date formats. |
50
+ | [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`. |
51
+ | [name](#name) | `name` | `string` | | Populates the `name` attribute on the input. |
52
+ | [noValidate](#noValidate) | `noValidate` | `boolean` | false | If set, disables auto-validation on blur. |
53
+ | [pattern](#pattern) | `pattern` | `string` | | Specifies a regular expression the form control's value should match. |
54
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
55
+ | [readonly](#readonly) | `readonly` | `boolean` | | Makes the input read-only, but can be set programmatically. |
56
+ | [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
57
+ | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
58
+ | [setCustomValidityBadInput](#setCustomValidityBadInput) | `setCustomValidityBadInput` | `string` | | Custom help text message to display when validity = `badInput`. |
59
+ | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
60
+ | [setCustomValidityForType](#setCustomValidityForType) | `setCustomValidityForType` | `string` | "undefined" | Custom help text message to display for the declared element `type` and type validity fails. |
61
+ | [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
62
+ | [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
63
+ | [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `string` | | Custom help text message to display when validity = `tooLong`. |
64
+ | [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `string` | | Custom help text message to display when validity = `tooShort`. |
65
+ | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
66
+ | [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`. |
67
+ | [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`. |
68
+ | [validateOnInput](#validateOnInput) | `validateOnInput` | `boolean` | | Sets validation mode to re-eval with each input. |
69
+ | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
70
+ | [value](#value) | `value` | `string` | | Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input. |
71
71
 
72
72
  ## Methods
73
73
 
@@ -329,42 +329,6 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
329
329
  <!-- AURO-GENERATED-CONTENT:END -->
330
330
  </auro-accordion>
331
331
 
332
- #### Max Length <a name="maxLength"></a>
333
- Use the `maxlength` attribute to control the length of the input entered.
334
-
335
- 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.
336
-
337
- <div class="exampleWrapper exampleWrapper--flex">
338
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
339
- <!-- The below content is automatically added from ../apiExamples/maxLength.html -->
340
- <auro-input required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
341
- <slot slot="label">Voucher Code</slot>
342
- <slot slot="helptext">Please enter your 12 character voucher code.</slot>
343
- </auro-input>
344
- <auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
345
- <slot slot="label">Voucher Code</slot>
346
- <slot slot="helptext">Please enter your 12 character voucher code.</slot>
347
- </auro-input>
348
- <!-- AURO-GENERATED-CONTENT:END -->
349
- </div>
350
- <auro-accordion alignRight>
351
- <span slot="trigger">See code</span>
352
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxLength.html) -->
353
- <!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
354
-
355
- ```html
356
- <auro-input required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
357
- <slot slot="label">Voucher Code</slot>
358
- <slot slot="helptext">Please enter your 12 character voucher code.</slot>
359
- </auro-input>
360
- <auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
361
- <slot slot="label">Voucher Code</slot>
362
- <slot slot="helptext">Please enter your 12 character voucher code.</slot>
363
- </auro-input>
364
- ```
365
- <!-- AURO-GENERATED-CONTENT:END -->
366
- </auro-accordion>
367
-
368
332
  ### Min <a name="min"></a>
369
333
  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.
370
334
 
@@ -416,6 +380,42 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
416
380
  <!-- AURO-GENERATED-CONTENT:END -->
417
381
  </auro-accordion>
418
382
 
383
+ ### Max Length <a name="maxLength"></a>
384
+ Use the `maxlength` attribute to control the length of the input entered.
385
+
386
+ 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.
387
+
388
+ <div class="exampleWrapper exampleWrapper--flex">
389
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
390
+ <!-- The below content is automatically added from ../apiExamples/maxLength.html -->
391
+ <auro-input required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
392
+ <slot slot="label">Voucher Code</slot>
393
+ <slot slot="helptext">Please enter your 12 character voucher code.</slot>
394
+ </auro-input>
395
+ <auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
396
+ <slot slot="label">Voucher Code</slot>
397
+ <slot slot="helptext">Please enter your 12 character voucher code.</slot>
398
+ </auro-input>
399
+ <!-- AURO-GENERATED-CONTENT:END -->
400
+ </div>
401
+ <auro-accordion alignRight>
402
+ <span slot="trigger">See code</span>
403
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxLength.html) -->
404
+ <!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
405
+
406
+ ```html
407
+ <auro-input required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
408
+ <slot slot="label">Voucher Code</slot>
409
+ <slot slot="helptext">Please enter your 12 character voucher code.</slot>
410
+ </auro-input>
411
+ <auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
412
+ <slot slot="label">Voucher Code</slot>
413
+ <slot slot="helptext">Please enter your 12 character voucher code.</slot>
414
+ </auro-input>
415
+ ```
416
+ <!-- AURO-GENERATED-CONTENT:END -->
417
+ </auro-accordion>
418
+
419
419
  ### Min Length <a name="minLength"></a>
420
420
  Use the `minlength` attribute to control the length of the input entered.
421
421
 
@@ -455,16 +455,16 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
455
455
  ### Pattern <a name="pattern"></a>
456
456
  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.
457
457
 
458
- The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityBadInput` attribute.
458
+ The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityPatternMismatch` attribute.
459
459
 
460
460
  <div class="exampleWrapper exampleWrapper--flex">
461
461
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
462
462
  <!-- The below content is automatically added from ../apiExamples/pattern.html -->
463
- <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
463
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
464
464
  <span slot="label">Username</span>
465
465
  <span slot="helptext">Please enter a username.</span>
466
466
  </auro-input>
467
- <auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
467
+ <auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
468
468
  <span slot="label">Username</span>
469
469
  <span slot="helptext">Please enter a username.</span>
470
470
  </auro-input>
@@ -476,11 +476,11 @@ The `<auro-input>` component supports setting a custom validity message specific
476
476
  <!-- The below code snippet is automatically added from ../apiExamples/pattern.html -->
477
477
 
478
478
  ```html
479
- <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
479
+ <auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
480
480
  <span slot="label">Username</span>
481
481
  <span slot="helptext">Please enter a username.</span>
482
482
  </auro-input>
483
- <auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
483
+ <auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
484
484
  <span slot="label">Username</span>
485
485
  <span slot="helptext">Please enter a username.</span>
486
486
  </auro-input>
@@ -641,7 +641,7 @@ The `<auro-input>` component follows the HTML5 input `validity` and `validitySta
641
641
  ### Required <a name="required"></a>
642
642
  When present, the `required` attribute specifies that an input field must be filled out before submitting the form.
643
643
 
644
- 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`.
644
+ 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`.
645
645
 
646
646
  <div class="exampleWrapper exampleWrapper--flex">
647
647
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
@@ -678,11 +678,11 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
678
678
  <div class="exampleWrapper exampleWrapper--flex">
679
679
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
680
680
  <!-- The below content is automatically added from ../apiExamples/validateOnInput.html -->
681
- <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
681
+ <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
682
682
  <span slot="label">Full Name</span>
683
683
  <span slot="helptext">Please enter your full name as it appears on the card.</span>
684
684
  </auro-input>
685
- <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.">
685
+ <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.">
686
686
  <span slot="label">Full Name</span>
687
687
  <span slot="helptext">Please enter your full name as it appears on the card.</span>
688
688
  </auro-input>
@@ -694,11 +694,11 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
694
694
  <!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
695
695
 
696
696
  ```html
697
- <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
697
+ <auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
698
698
  <span slot="label">Full Name</span>
699
699
  <span slot="helptext">Please enter your full name as it appears on the card.</span>
700
700
  </auro-input>
701
- <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.">
701
+ <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.">
702
702
  <span slot="label">Full Name</span>
703
703
  <span slot="helptext">Please enter your full name as it appears on the card.</span>
704
704
  </auro-input>
@@ -745,6 +745,8 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
745
745
  ### Error <a name="error"></a>
746
746
  Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
747
747
 
748
+ A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
749
+
748
750
  <div class="exampleWrapper">
749
751
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/error.html) -->
750
752
  <!-- The below content is automatically added from ../apiExamples/error.html -->