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

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 (583) hide show
  1. package/.turbo/cache/0185585abae43d38-meta.json +1 -0
  2. package/.turbo/cache/0185585abae43d38.tar.zst +0 -0
  3. package/.turbo/cache/092e1fe054c68113-meta.json +1 -0
  4. package/.turbo/cache/092e1fe054c68113.tar.zst +0 -0
  5. package/.turbo/cache/19eb9b69e5625309-meta.json +1 -0
  6. package/.turbo/cache/19eb9b69e5625309.tar.zst +0 -0
  7. package/.turbo/cache/2059bc724ac24519-meta.json +1 -0
  8. package/.turbo/cache/2059bc724ac24519.tar.zst +0 -0
  9. package/.turbo/cache/23b3a2fea223679d-meta.json +1 -0
  10. package/.turbo/cache/23b3a2fea223679d.tar.zst +0 -0
  11. package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
  12. package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
  13. package/.turbo/cache/2e79b1c1455468a1-meta.json +1 -0
  14. package/.turbo/cache/2e79b1c1455468a1.tar.zst +0 -0
  15. package/.turbo/cache/341f87099beb533e-meta.json +1 -0
  16. package/.turbo/cache/341f87099beb533e.tar.zst +0 -0
  17. package/.turbo/cache/363aa008d976f81d-meta.json +1 -0
  18. package/.turbo/cache/363aa008d976f81d.tar.zst +0 -0
  19. package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
  20. package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
  21. package/.turbo/cache/43ab6002bc2cd191-meta.json +1 -0
  22. package/.turbo/cache/43ab6002bc2cd191.tar.zst +0 -0
  23. package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
  24. package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
  25. package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
  26. package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
  27. package/.turbo/cache/493e064c221aa745-meta.json +1 -0
  28. package/.turbo/cache/493e064c221aa745.tar.zst +0 -0
  29. package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -0
  30. package/.turbo/cache/50cd7dcfc9f820c5.tar.zst +0 -0
  31. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
  32. package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
  33. package/.turbo/cache/56ee89ef1c48963e-meta.json +1 -0
  34. package/.turbo/cache/56ee89ef1c48963e.tar.zst +0 -0
  35. package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
  36. package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
  37. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
  38. package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
  39. package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
  40. package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
  41. package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -0
  42. package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
  43. package/.turbo/cache/6c582e957afdd75f-meta.json +1 -0
  44. package/.turbo/cache/6c582e957afdd75f.tar.zst +0 -0
  45. package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
  46. package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
  47. package/.turbo/cache/78418f9089673a21-meta.json +1 -0
  48. package/.turbo/cache/78418f9089673a21.tar.zst +0 -0
  49. package/.turbo/cache/7964d1656e9e702a-meta.json +1 -0
  50. package/.turbo/cache/7964d1656e9e702a.tar.zst +0 -0
  51. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
  52. package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
  53. package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
  54. package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
  55. package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -0
  56. package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
  57. package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
  58. package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
  59. package/.turbo/cache/8c5b86ca67d33b17-meta.json +1 -0
  60. package/.turbo/cache/8c5b86ca67d33b17.tar.zst +0 -0
  61. package/.turbo/cache/8f5fef3e04a6fcfa-meta.json +1 -0
  62. package/.turbo/cache/8f5fef3e04a6fcfa.tar.zst +0 -0
  63. package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -0
  64. package/.turbo/cache/9d99fa3ab31d272f.tar.zst +0 -0
  65. package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
  66. package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
  67. package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
  68. package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
  69. package/.turbo/cache/ac1b55ad6757fd54-meta.json +1 -0
  70. package/.turbo/cache/ac1b55ad6757fd54.tar.zst +0 -0
  71. package/.turbo/cache/b1cd3922508c11c0-meta.json +1 -0
  72. package/.turbo/cache/b1cd3922508c11c0.tar.zst +0 -0
  73. package/.turbo/cache/b3c5c13bb1c28c92-meta.json +1 -0
  74. package/.turbo/cache/b3c5c13bb1c28c92.tar.zst +0 -0
  75. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
  76. package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
  77. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
  78. package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
  79. package/.turbo/cache/ba270a0ef147f2e5-meta.json +1 -0
  80. package/.turbo/cache/ba270a0ef147f2e5.tar.zst +0 -0
  81. package/.turbo/cache/bb5213773d5d3b04-meta.json +1 -0
  82. package/.turbo/cache/bb5213773d5d3b04.tar.zst +0 -0
  83. package/.turbo/cache/bbefd8d9606f1e87-meta.json +1 -0
  84. package/.turbo/cache/bbefd8d9606f1e87.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/c03a12ff38ba1e02-meta.json +1 -0
  88. package/.turbo/cache/c03a12ff38ba1e02.tar.zst +0 -0
  89. package/.turbo/cache/c1312c6f8c051461-meta.json +1 -0
  90. package/.turbo/cache/c1312c6f8c051461.tar.zst +0 -0
  91. package/.turbo/cache/c289a5a9a6b897a9-meta.json +1 -0
  92. package/.turbo/cache/c289a5a9a6b897a9.tar.zst +0 -0
  93. package/.turbo/cache/c376d692c092d4d1-meta.json +1 -0
  94. package/.turbo/cache/c376d692c092d4d1.tar.zst +0 -0
  95. package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
  96. package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
  97. package/.turbo/cache/c6dbc49c3038946d-meta.json +1 -0
  98. package/.turbo/cache/c6dbc49c3038946d.tar.zst +0 -0
  99. package/.turbo/cache/cae7586c45bed13e-meta.json +1 -0
  100. package/.turbo/cache/cae7586c45bed13e.tar.zst +0 -0
  101. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
  102. package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
  103. package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
  104. package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
  105. package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
  106. package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
  107. package/.turbo/cache/db5e65d819bfe66b-meta.json +1 -0
  108. package/.turbo/cache/db5e65d819bfe66b.tar.zst +0 -0
  109. package/.turbo/cache/dbe6a08c64601aec-meta.json +1 -0
  110. package/.turbo/cache/dbe6a08c64601aec.tar.zst +0 -0
  111. package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
  112. package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
  113. package/.turbo/cache/df5f651693145406-meta.json +1 -0
  114. package/.turbo/cache/df5f651693145406.tar.zst +0 -0
  115. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
  116. package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
  117. package/.turbo/cache/ee40cab15d5b1fad-meta.json +1 -0
  118. package/.turbo/cache/ee40cab15d5b1fad.tar.zst +0 -0
  119. package/.vscode/settings.json +3 -0
  120. package/CHANGELOG.md +202 -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 +20 -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.md +69 -68
  130. package/components/checkbox/demo/api.min.js +195 -87
  131. package/components/checkbox/demo/index.md +62 -62
  132. package/components/checkbox/demo/index.min.js +195 -87
  133. package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
  134. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  135. package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
  136. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  137. package/components/checkbox/dist/index.js +195 -87
  138. package/components/checkbox/package.json +1 -1
  139. package/components/checkbox/src/auro-checkbox-group.js +57 -20
  140. package/components/checkbox/src/auro-checkbox.js +29 -12
  141. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  142. package/components/combobox/.turbo/turbo-build.log +22 -23
  143. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  144. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  145. package/components/combobox/README.md +21 -26
  146. package/components/combobox/demo/api.md +30 -26
  147. package/components/combobox/demo/api.min.js +3227 -948
  148. package/components/combobox/demo/index.md +1 -1
  149. package/components/combobox/demo/index.min.js +3224 -945
  150. package/components/combobox/dist/auro-combobox.d.ts +76 -74
  151. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  152. package/components/combobox/dist/dropdownVersion.d.ts +3 -0
  153. package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
  154. package/components/combobox/dist/index.js +2593 -628
  155. package/components/combobox/dist/inputVersion.d.ts +3 -0
  156. package/components/combobox/dist/inputVersion.d.ts.map +1 -0
  157. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  158. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  159. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  160. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  161. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  162. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  163. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  164. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  165. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  166. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  167. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  207. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  208. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  209. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  210. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  211. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  212. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  213. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  214. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  215. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  216. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  217. package/components/combobox/node_modules/chalk/package.json +3 -3
  218. package/components/combobox/node_modules/chalk/readme.md +25 -53
  219. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  220. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  221. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  222. package/components/combobox/package.json +8 -8
  223. package/components/combobox/src/auro-combobox.js +225 -164
  224. package/components/combobox/src/dropdownVersion.js +1 -0
  225. package/components/combobox/src/inputVersion.js +1 -0
  226. package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
  227. package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
  228. package/components/counter/.turbo/turbo-build.log +325 -14
  229. package/components/counter/.turbo/turbo-bundler.log +7 -4
  230. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  231. package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
  232. package/components/counter/.turbo/turbo-types.log +1 -1
  233. package/components/counter/README.md +188 -0
  234. package/components/counter/demo/api.md +104 -1014
  235. package/components/counter/demo/api.min.js +4773 -36
  236. package/components/counter/demo/index.js +2 -1
  237. package/components/counter/demo/index.md +190 -0
  238. package/components/counter/demo/index.min.js +4801 -19
  239. package/components/counter/dist/auro-counter-button.d.ts +13 -0
  240. package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
  241. package/components/counter/dist/auro-counter-group.d.ts +112 -5
  242. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  243. package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
  244. package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
  245. package/components/counter/dist/auro-counter.d.ts +89 -0
  246. package/components/counter/dist/auro-counter.d.ts.map +1 -1
  247. package/components/counter/dist/dropdownVersion.d.ts +3 -0
  248. package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
  249. package/components/counter/dist/iconVersion.d.ts +3 -0
  250. package/components/counter/dist/iconVersion.d.ts.map +1 -0
  251. package/components/counter/dist/index.js +4773 -36
  252. package/components/counter/dist/styles/color-css.d.ts +3 -0
  253. package/components/counter/dist/styles/color-css.d.ts.map +1 -0
  254. package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
  255. package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
  256. package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
  257. package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
  258. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
  259. package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
  260. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
  261. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
  262. package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
  263. package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
  264. package/components/counter/dist/styles/tokens-css.d.ts +3 -0
  265. package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
  266. package/components/counter/package.json +9 -3
  267. package/components/counter/src/auro-counter-button.js +42 -0
  268. package/components/counter/src/auro-counter-group.js +229 -20
  269. package/components/counter/src/auro-counter-wrapper.js +54 -0
  270. package/components/counter/src/auro-counter.js +287 -12
  271. package/components/counter/src/dropdownVersion.js +1 -0
  272. package/components/counter/src/iconVersion.js +1 -0
  273. package/components/counter/src/index.js +1 -1
  274. package/components/counter/src/styles/color-css.js +2 -0
  275. package/components/counter/src/styles/color.css +25 -0
  276. package/components/counter/src/styles/color.scss +44 -0
  277. package/components/counter/src/styles/counter-button-color-css.js +2 -0
  278. package/components/counter/src/styles/counter-button-color.css +14 -0
  279. package/components/counter/src/styles/counter-button-color.scss +29 -0
  280. package/components/counter/src/styles/counter-button-css.js +2 -0
  281. package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
  282. package/components/counter/src/styles/counter-button-tokens.css +7 -0
  283. package/components/counter/src/styles/counter-button-tokens.scss +9 -0
  284. package/components/counter/src/styles/counter-button.css +187 -0
  285. package/components/counter/src/styles/counter-button.scss +83 -0
  286. package/components/counter/src/styles/counter-group-css.js +1 -1
  287. package/components/counter/src/styles/counter-group.css +9 -1
  288. package/components/counter/src/styles/counter-group.scss +10 -1
  289. package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
  290. package/components/counter/src/styles/counter-wrapper-color.css +4 -0
  291. package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
  292. package/components/counter/src/styles/counter-wrapper-css.js +2 -0
  293. package/components/counter/src/styles/counter-wrapper.css +15 -0
  294. package/components/counter/src/styles/counter-wrapper.scss +29 -0
  295. package/components/counter/src/styles/style-css.js +1 -1
  296. package/components/counter/src/styles/style.css +43 -1
  297. package/components/counter/src/styles/style.scss +48 -2
  298. package/components/counter/src/styles/tokens-css.js +2 -0
  299. package/components/counter/src/styles/tokens.css +11 -0
  300. package/components/counter/src/styles/tokens.scss +24 -0
  301. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  302. package/components/datepicker/.turbo/turbo-build.log +57 -57
  303. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  304. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  305. package/components/datepicker/README.md +21 -26
  306. package/components/datepicker/demo/api.md +182 -135
  307. package/components/datepicker/demo/api.min.js +1010 -566
  308. package/components/datepicker/demo/index.md +1 -1
  309. package/components/datepicker/demo/index.min.js +1010 -566
  310. package/components/datepicker/dist/auro-datepicker.d.ts +94 -78
  311. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  312. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  313. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
  314. package/components/datepicker/dist/index.js +1010 -566
  315. package/components/datepicker/dist/inputVersion.d.ts +3 -0
  316. package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
  317. package/components/datepicker/package.json +3 -3
  318. package/components/datepicker/src/auro-datepicker.js +152 -106
  319. package/components/datepicker/src/dropdownVersion.js +1 -0
  320. package/components/datepicker/src/inputVersion.js +1 -0
  321. package/components/datepicker/src/styles/color-cell-css.js +1 -1
  322. package/components/datepicker/src/styles/color-cell.css +1 -1
  323. package/components/datepicker/src/styles/color-cell.scss +1 -1
  324. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  325. package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
  326. package/components/dropdown/.turbo/turbo-build.log +19 -20
  327. package/components/dropdown/.turbo/turbo-bundler.log +4 -4
  328. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  329. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  330. package/components/dropdown/.turbo/turbo-types.log +1 -1
  331. package/components/dropdown/README.md +18 -26
  332. package/components/dropdown/demo/api.md +4 -4
  333. package/components/dropdown/demo/api.min.js +205 -81
  334. package/components/dropdown/demo/index.min.js +205 -81
  335. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  336. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  337. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  338. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  339. package/components/dropdown/dist/index.js +205 -81
  340. package/components/dropdown/package.json +1 -1
  341. package/components/dropdown/src/auro-dropdown.js +154 -39
  342. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  343. package/components/dropdown/src/styles/style-css.js +1 -1
  344. package/components/dropdown/src/styles/style.css +4 -0
  345. package/components/dropdown/src/styles/style.scss +5 -0
  346. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  347. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  348. package/components/form/.turbo/turbo-build.log +17 -18
  349. package/components/form/.turbo/turbo-bundler.log +4 -4
  350. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  351. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  352. package/components/form/.turbo/turbo-types.log +1 -1
  353. package/components/form/README.md +28 -34
  354. package/components/form/demo/api.min.js +338 -25
  355. package/components/form/demo/index.min.js +338 -25
  356. package/components/form/demo/registerDemoDeps.js +6 -0
  357. package/components/form/demo/working.html +108 -0
  358. package/components/form/dist/auro-form.d.ts +137 -2
  359. package/components/form/dist/auro-form.d.ts.map +1 -1
  360. package/components/form/dist/index.js +338 -25
  361. package/components/form/package.json +4 -2
  362. package/components/form/src/auro-form.js +335 -25
  363. package/components/input/.turbo/turbo-build$colon$sass.log +66 -16
  364. package/components/input/.turbo/turbo-build$colon$version.log +1 -1
  365. package/components/input/.turbo/turbo-build.log +79 -32
  366. package/components/input/.turbo/turbo-bundler.log +4 -4
  367. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  368. package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
  369. package/components/input/.turbo/turbo-types.log +1 -1
  370. package/components/input/README.md +18 -28
  371. package/components/input/demo/api.md +151 -316
  372. package/components/input/demo/api.min.js +370 -150
  373. package/components/input/demo/index.md +11 -61
  374. package/components/input/demo/index.min.js +370 -150
  375. package/components/input/dist/auro-input.d.ts.map +1 -1
  376. package/components/input/dist/base-input.d.ts +158 -87
  377. package/components/input/dist/base-input.d.ts.map +1 -1
  378. package/components/input/dist/index.js +370 -150
  379. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  380. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  381. package/components/input/package.json +1 -1
  382. package/components/input/src/auro-input.js +0 -1
  383. package/components/input/src/base-input.js +257 -90
  384. package/components/input/src/styles/borders.scss +3 -19
  385. package/components/input/src/styles/color.css +1 -2
  386. package/components/input/src/styles/color.scss +3 -10
  387. package/components/input/src/styles/input-css.js +1 -1
  388. package/components/input/src/styles/input.css +1 -1
  389. package/components/input/src/styles/input.scss +4 -1
  390. package/components/input/src/styles/label-css.js +1 -1
  391. package/components/input/src/styles/label.css +1 -1
  392. package/components/input/src/styles/label.scss +4 -7
  393. package/components/input/src/styles/mixins-css.js +2 -0
  394. package/components/input/src/styles/mixins.css +1 -0
  395. package/components/input/src/styles/mixins.scss +45 -0
  396. package/components/input/src/styles/notificationIcons-css.js +1 -1
  397. package/components/input/src/styles/notificationIcons.css +13 -12
  398. package/components/input/src/styles/notificationIcons.scss +17 -25
  399. package/components/input/src/styles/style-css.js +1 -1
  400. package/components/input/src/styles/style.css +15 -17
  401. package/components/input/src/styles/style.scss +0 -4
  402. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  403. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  404. package/components/menu/.turbo/turbo-build.log +22 -21
  405. package/components/menu/.turbo/turbo-bundler.log +4 -4
  406. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  407. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  408. package/components/menu/.turbo/turbo-types.log +1 -1
  409. package/components/menu/README.md +18 -26
  410. package/components/menu/demo/api.md +57 -20
  411. package/components/menu/demo/api.min.js +626 -312
  412. package/components/menu/demo/index.min.js +624 -310
  413. package/components/menu/dist/auro-menu-utils.d.ts +43 -0
  414. package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
  415. package/components/menu/dist/auro-menu.d.ts +97 -81
  416. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  417. package/components/menu/dist/index.d.ts +1 -0
  418. package/components/menu/dist/index.js +625 -311
  419. package/components/menu/package.json +1 -1
  420. package/components/menu/src/auro-menu-utils.js +131 -0
  421. package/components/menu/src/auro-menu.js +492 -303
  422. package/components/menu/src/index.js +7 -0
  423. package/components/menu/src/styles/color-menuoption-css.js +1 -1
  424. package/components/menu/src/styles/color-menuoption.css +3 -0
  425. package/components/menu/src/styles/color-menuoption.scss +4 -0
  426. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  427. package/components/radio/.turbo/turbo-build.log +23 -24
  428. package/components/radio/.turbo/turbo-bundler.log +4 -4
  429. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  430. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  431. package/components/radio/.turbo/turbo-types.log +1 -1
  432. package/components/radio/README.md +18 -26
  433. package/components/radio/demo/api.md +7 -4
  434. package/components/radio/demo/api.min.js +120 -58
  435. package/components/radio/demo/index.min.js +120 -58
  436. package/components/radio/dist/auro-radio-group.d.ts +5 -0
  437. package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
  438. package/components/radio/dist/index.js +120 -58
  439. package/components/radio/package.json +1 -1
  440. package/components/radio/src/auro-radio-group.js +10 -2
  441. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  442. package/components/select/.turbo/turbo-build.log +32 -33
  443. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  444. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  445. package/components/select/README.md +21 -42
  446. package/components/select/demo/api.md +92 -121
  447. package/components/select/demo/api.min.js +2723 -711
  448. package/components/select/demo/index.md +101 -59
  449. package/components/select/demo/index.min.js +2722 -706
  450. package/components/select/dist/auro-select.d.ts +77 -48
  451. package/components/select/dist/auro-select.d.ts.map +1 -1
  452. package/components/select/dist/dropdownVersion.d.ts +3 -0
  453. package/components/select/dist/dropdownVersion.d.ts.map +1 -0
  454. package/components/select/dist/index.js +2082 -367
  455. package/components/select/package.json +3 -3
  456. package/components/select/src/auro-select.js +148 -129
  457. package/components/select/src/dropdownVersion.js +1 -0
  458. package/components/select/src/styles/style-css.js +1 -1
  459. package/components/select/src/styles/style.css +14 -0
  460. package/components/select/src/styles/style.scss +24 -1
  461. package/package.json +21 -21
  462. package/packages/build-tools/src/docProcessor.mjs +37 -8
  463. package/packages/form-validation/src/validation.js +104 -50
  464. package/packages/utils/package.json +12 -0
  465. package/packages/utils/src/iconUtil.js +25 -0
  466. package/packages/utils/src/index.js +1 -0
  467. package/turbo.json +8 -8
  468. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  469. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  470. package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
  471. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  472. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  473. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  474. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
  475. package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
  476. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  477. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  478. package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
  479. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  480. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  481. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  482. package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
  483. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  484. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  485. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  486. package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
  487. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  488. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  489. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  490. package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
  491. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  492. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
  493. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  494. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  495. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  496. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  497. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  498. package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
  499. package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
  500. package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
  501. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  502. package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
  503. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  504. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
  505. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  506. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  507. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  508. package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
  509. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  510. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  511. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  512. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  513. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  514. package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
  515. package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
  516. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  517. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  518. package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
  519. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  520. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  521. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  522. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  523. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  524. package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
  525. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  526. package/.turbo/cache/786a822763403879-meta.json +0 -1
  527. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  528. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  529. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  530. package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
  531. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  532. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  533. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  534. package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
  535. package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
  536. package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
  537. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  538. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  539. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  540. package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
  541. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  542. package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
  543. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  544. package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
  545. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  546. package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
  547. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  548. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  549. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  550. package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
  551. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  552. package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
  553. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  554. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
  555. package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
  556. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  557. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  558. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  559. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  560. package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
  561. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  562. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  563. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  564. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  565. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  566. package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
  567. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  568. package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
  569. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  570. package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
  571. package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
  572. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
  573. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  574. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  575. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  576. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  577. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  578. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
  579. package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
  580. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
  581. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  582. package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
  583. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
@@ -13,29 +13,22 @@ import { AuroDependencyVersioning } from '@aurodesignsystem/auro-library/scripts
13
13
  import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
14
14
  import AuroFormValidation from '@auro-formkit/form-validation';
15
15
 
16
- import { AuroDropdown } from '@auro-formkit/auro-dropdown';
16
+ import { AuroDropdown } from '@aurodesignsystem/auro-dropdown';
17
17
  import dropdownVersion from './formkit/auro-dropdownVersion.js';
18
18
 
19
- import { AuroInput } from '@auro-formkit/auro-input';
19
+ import { AuroInput } from '@aurodesignsystem/auro-input';
20
20
  import inputVersion from './formkit/auro-inputVersion.js';
21
21
 
22
+ import {
23
+ arrayConverter,
24
+ arrayOrUndefinedHasChanged
25
+ } from '@aurodesignsystem/auro-menu';
26
+
22
27
  // Import touch detection lib
23
28
  import styleCss from "./styles/style-css.js";
24
29
 
25
30
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
26
31
  /**
27
- * @prop {Object} optionSelected - Specifies the current selected option.
28
- * @prop {String} value - Value selected for the dropdown menu.
29
- * @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
30
- * @attr {Boolean} error - Sets a persistent error state (e.g. an error state returned from the server).
31
- * @attr {String} validity - Specifies the `validityState` this element is in.
32
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
33
- * @attr {Boolean} disabled - If set, disables the combobox.
34
- * @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
35
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
36
- * @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
37
- * @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
38
- * @attr {String} type - Applies the defined value as the type attribute on auro-input.
39
32
  * @slot - Default slot for the menu content.
40
33
  * @slot label - Defines the content of the label.
41
34
  * @slot helpText - Defines the content of the helpText.
@@ -50,32 +43,10 @@ export class AuroCombobox extends LitElement {
50
43
 
51
44
  this.noFilter = false;
52
45
  this.validity = undefined;
53
- this.value = null;
54
- this.optionSelected = null;
46
+ this.value = undefined;
47
+ this.optionSelected = undefined;
55
48
 
56
49
  this.privateDefaults();
57
-
58
- /**
59
- * @private
60
- */
61
- this.validation = new AuroFormValidation();
62
-
63
- /**
64
- * @private
65
- */
66
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
67
-
68
- /**
69
- * @private
70
- */
71
- this.isHiddenWhileLoading = false;
72
-
73
- /**
74
- * Generate unique names for dependency components.
75
- */
76
- const versioning = new AuroDependencyVersioning();
77
- this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
78
- this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
79
50
  }
80
51
 
81
52
  /**
@@ -86,6 +57,17 @@ export class AuroCombobox extends LitElement {
86
57
  this.availableOptions = [];
87
58
  this.optionActive = null;
88
59
  this.msgSelectionMissing = 'Please select an option.';
60
+
61
+ this.validation = new AuroFormValidation();
62
+
63
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
64
+
65
+ this.isHiddenWhileLoading = false;
66
+
67
+ const versioning = new AuroDependencyVersioning();
68
+
69
+ this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
70
+ this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
89
71
  }
90
72
 
91
73
  // This function is to define props used within the scope of this component
@@ -94,82 +76,123 @@ export class AuroCombobox extends LitElement {
94
76
  static get properties() {
95
77
  return {
96
78
  // ...super.properties,
97
- error: {
98
- type: Boolean,
99
- reflect: true
100
- },
101
- setCustomValidity: {
102
- type: String,
103
- reflect: true
104
- },
105
- validity: {
79
+
80
+ /**
81
+ * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
82
+ */
83
+ autocomplete: {
106
84
  type: String,
107
85
  reflect: true
108
86
  },
109
- disabled: {
87
+
88
+ /**
89
+ * When attribute is present auro-menu will apply checkmarks to selected options.
90
+ */
91
+ checkmark: {
110
92
  type: Boolean,
111
93
  reflect: true
112
94
  },
113
- noFilter: {
95
+
96
+ /**
97
+ * If set, disables the combobox.
98
+ */
99
+ disabled: {
114
100
  type: Boolean,
115
101
  reflect: true
116
102
  },
117
- optionSelected: { type: Object },
118
- noValidate: { type: Boolean },
119
- required: {
120
- type: Boolean,
103
+
104
+ /**
105
+ * When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
106
+ */
107
+ error: {
108
+ type: String,
121
109
  reflect: true
122
110
  },
123
- triggerIcon: {
111
+
112
+ /**
113
+ * If set, combobox will not filter menuoptions based in input.
114
+ */
115
+ noFilter: {
124
116
  type: Boolean,
125
117
  reflect: true
126
118
  },
127
- type: {
128
- type: String,
129
- reflect: true
119
+
120
+ /**
121
+ * If set, disables auto-validation on blur.
122
+ */
123
+ noValidate: {
124
+ type: Boolean
130
125
  },
131
- value: {
132
- type: String
126
+
127
+ /**
128
+ * Specifies the current selected option.
129
+ */
130
+ optionSelected: {
131
+ type: Object,
132
+ converter: arrayConverter,
133
+ hasChanged: arrayOrUndefinedHasChanged
133
134
  },
134
- checkmark: {
135
+
136
+ /**
137
+ * Populates the `required` attribute on the input. Used for client-side validation.
138
+ */
139
+ required: {
135
140
  type: Boolean,
136
141
  reflect: true
137
142
  },
138
143
 
139
144
  /**
140
- * @private
145
+ * Sets a custom help text message to display for all validityStates.
141
146
  */
142
- availableOptions: { type: Array },
147
+ setCustomValidity: {
148
+ type: String
149
+ },
143
150
 
144
151
  /**
145
- * @private
152
+ * Custom help text message to display when validity = `customError`.
146
153
  */
147
- optionActive: { type: Object },
154
+ setCustomValidityCustomError: {
155
+ type: String
156
+ },
148
157
 
149
158
  /**
150
- * @private
159
+ * Custom help text message to display when validity = `valueMissing`.
151
160
  */
152
- msgSelectionMissing: { type: String },
161
+ setCustomValidityValueMissing: {
162
+ type: String
163
+ },
153
164
 
154
165
  /**
155
- * @private
166
+ * If set, the `icon` attribute will be applied to the trigger `auro-input` element.
156
167
  */
157
- dropdownElementName: { type: String },
168
+ triggerIcon: {
169
+ type: Boolean,
170
+ reflect: true
171
+ },
158
172
 
159
173
  /**
160
- * @private
174
+ * Applies the defined value as the type attribute on auro-input.
161
175
  */
162
- dropdownTag: { type: Object },
176
+ type: {
177
+ type: String,
178
+ reflect: true
179
+ },
163
180
 
164
181
  /**
165
- * @private
182
+ * Specifies the `validityState` this element is in.
166
183
  */
167
- inputElementName: { type: String },
184
+ validity: {
185
+ type: String,
186
+ reflect: true
187
+ },
168
188
 
169
189
  /**
170
- * @private
190
+ * Value selected for the dropdown menu.
171
191
  */
172
- inputTag: { type: Object }
192
+ value: {
193
+ converter: arrayConverter,
194
+ hasChanged: arrayOrUndefinedHasChanged
195
+ },
173
196
  };
174
197
  }
175
198
 
@@ -198,6 +221,33 @@ export class AuroCombobox extends LitElement {
198
221
  this.generateOptionsArray();
199
222
  this.availableOptions = [];
200
223
 
224
+ if (this.menu.optionSelected) {
225
+ // Get first option since combobox is single-select
226
+ const [selected] = this.menu.optionSelected;
227
+
228
+ if (!this.optionSelected || this.optionSelected[0] !== selected) {
229
+ // Store as array
230
+ this.optionSelected = [selected];
231
+ }
232
+
233
+ if (!this.value || this.value[0] !== selected.value) {
234
+ // Store as array
235
+ this.value = [selected.value];
236
+ // Menu already expects array
237
+ this.menu.value = this.value;
238
+ }
239
+
240
+ if (this.input.value !== selected.textContent) {
241
+ this.input.value = selected.textContent;
242
+ }
243
+
244
+ if (this.menu.matchWord !== this.input.value) {
245
+ this.menu.matchWord = this.input.value;
246
+ }
247
+
248
+ this.classList.add('combobox-filled');
249
+ }
250
+
201
251
  if (this.noFilter) {
202
252
  this.availableOptions = [...this.options];
203
253
  } else {
@@ -338,16 +388,16 @@ export class AuroCombobox extends LitElement {
338
388
 
339
389
  // handle the menu event for an option selection
340
390
  this.menu.addEventListener('auroMenu-selectedOption', () => {
341
- // dropdown bib should hide when making a selection
342
- this.hideBib();
343
-
344
391
  if (this.menu.optionSelected) {
345
- if (this.optionSelected !== this.menu.optionSelected) {
346
- this.optionSelected = this.menu.optionSelected;
392
+ const [selected] = this.menu.optionSelected;
393
+
394
+ if (!this.optionSelected || this.optionSelected[0] !== selected) {
395
+ this.optionSelected = [selected];
347
396
  }
348
397
 
349
- if (this.value !== this.optionSelected.value) {
350
- this.value = this.optionSelected.value;
398
+ if (!this.value || this.value[0] !== this.optionSelected[0].value) {
399
+ this.value = [this.optionSelected[0].value];
400
+ this.menu.value = this.value;
351
401
  }
352
402
 
353
403
  if (this.input.value !== this.optionSelected.textContent) {
@@ -369,6 +419,9 @@ export class AuroCombobox extends LitElement {
369
419
  composed: true,
370
420
  }));
371
421
  }
422
+
423
+ // dropdown bib should hide when making a selection
424
+ this.hideBib();
372
425
  });
373
426
 
374
427
  this.menu.addEventListener('auroMenu-customEventFired', () => {
@@ -380,13 +433,11 @@ export class AuroCombobox extends LitElement {
380
433
  });
381
434
 
382
435
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
383
- this.optionSelected = undefined;
436
+ this.menu.clearSelection();
384
437
  });
385
438
 
386
439
  this.menu.addEventListener('auroMenu-selectValueReset', () => {
387
- this.optionSelected = undefined;
388
- this.value = undefined;
389
- this.validation.validate(this);
440
+ this.reset();
390
441
  });
391
442
  }
392
443
 
@@ -407,64 +458,17 @@ export class AuroCombobox extends LitElement {
407
458
  */
408
459
  this.addEventListener('focusout', () => {
409
460
  if (document.activeElement !== this) {
410
- this.validation.validate(this);
411
- }
412
-
413
- if (typeof this.value === 'object') {
414
- this.value = '';
415
- }
416
- });
417
-
418
- this.input.addEventListener('input', () => {
419
- this.menu.matchWord = this.input.value;
420
- this.optionActive = null;
421
-
422
- if (this.value !== this.input.value) {
423
- this.value = this.input.value;
424
- }
425
-
426
- if (this.value !== this.menu.value) {
427
- this.menu.value = this.value;
428
- }
429
-
430
- if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
431
- this.optionSelected = undefined;
432
- }
433
-
434
- this.menu.resetOptionsStates();
435
-
436
- this.handleMenuOptions();
437
-
438
- this.handleInputValueChange();
439
- // validate only if the value was set programmatically
440
- if (document.activeElement !== this) {
441
- this.validation.validate(this);
461
+ this.validate();
442
462
  }
443
463
 
444
- // hide the menu if the value is empty otherwise show if there are available suggestions
445
- if (this.input.value && this.input.value.length === 0) {
446
- this.hideBib();
447
- this.classList.remove('combobox-filled');
448
- } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
449
- const hasFocus = this.contains(document.activeElement);
450
-
451
- // if the focus is within the combobox, then show the bib
452
- // this will prevent the bib from being shown while loading & presetting the value
453
- if (hasFocus) {
454
- this.showBib();
455
- }
456
-
457
- this.classList.add('combobox-filled');
458
- }
459
-
460
- // force the dropdown bib to hide if the input value has no matching suggestions
461
- if (!this.availableOptions || this.availableOptions.length === 0) {
462
- this.hideBib();
464
+ // Set to undefined if empty
465
+ if (this.value && this.value.length === 0) {
466
+ this.value = undefined;
463
467
  }
464
468
  });
465
469
 
466
470
  this.input.addEventListener('auroFormElement-validated', (evt) => {
467
- this.auroInputHelpText = evt.detail.message;
471
+ this.errorMessage = evt.detail.message;
468
472
  });
469
473
  }
470
474
 
@@ -497,9 +501,15 @@ export class AuroCombobox extends LitElement {
497
501
  * @returns {void}
498
502
  */
499
503
  handleInputValueChange() {
500
- if (this.value !== this.input.value) {
501
- this.value = this.input.value;
504
+ this.menu.matchWord = this.input.value;
505
+ this.optionActive = null;
506
+
507
+ let hasChange = false;
502
508
 
509
+ // Store value as array or undefined
510
+ if (!this.value || this.value[0] !== this.input.value) {
511
+ this.value = this.input.value ? [this.input.value] : undefined;
512
+ hasChange = true;
503
513
  this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
504
514
  bubbles: true,
505
515
  cancelable: false,
@@ -507,9 +517,47 @@ export class AuroCombobox extends LitElement {
507
517
  }));
508
518
  }
509
519
 
510
- // This check prevents the component showing an error when a required datepicker is first rendered
511
- if (this.input.value) {
512
- this.validation.validate(this);
520
+ if (this.value !== this.menu.value) {
521
+ this.menu.value = this.value;
522
+ hasChange = true;
523
+ }
524
+
525
+ if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
526
+ this.optionSelected = undefined;
527
+ hasChange = true;
528
+ }
529
+
530
+ if (!hasChange) {
531
+ return;
532
+ }
533
+
534
+ this.menu.clearSelection();
535
+ this.handleMenuOptions();
536
+
537
+ // Validate only if the value was set programmatically
538
+ if (document.activeElement !== this) {
539
+ this.validate();
540
+ }
541
+
542
+ // Hide menu if value is empty, otherwise show if there are available suggestions
543
+ if (this.input.value && this.input.value.length === 0) {
544
+ this.hideBib();
545
+ this.classList.remove('combobox-filled');
546
+ } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
547
+ const hasFocus = this.contains(document.activeElement);
548
+
549
+ // If focus is within the combobox, show bib
550
+ // Prevent bib from being shown while loading & presetting the value
551
+ if (hasFocus) {
552
+ this.showBib();
553
+ }
554
+
555
+ this.classList.add('combobox-filled');
556
+ }
557
+
558
+ // Force dropdown bib to hide if input value has no matching suggestions
559
+ if (!this.availableOptions || this.availableOptions.length === 0) {
560
+ this.hideBib();
513
561
  }
514
562
  }
515
563
 
@@ -547,14 +595,18 @@ export class AuroCombobox extends LitElement {
547
595
 
548
596
  if (this.dropdown.isPopoverVisible) {
549
597
  if (evt.key === 'ArrowUp') {
550
- this.menu.selectNextItem('up');
598
+ this.menu.navigateOptions('up');
551
599
  }
552
600
 
553
601
  if (evt.key === 'ArrowDown') {
554
- this.menu.selectNextItem('down');
602
+ this.menu.navigateOptions('down');
555
603
  }
556
604
  }
557
605
  });
606
+
607
+ this.addEventListener('focusin', () => {
608
+ this.focus();
609
+ });
558
610
  }
559
611
 
560
612
  /**
@@ -608,25 +660,33 @@ export class AuroCombobox extends LitElement {
608
660
  * @returns {void}
609
661
  */
610
662
  reset() {
611
- // Resets the help text of the combobox
612
- this.auroInputHelpText = undefined;
613
-
614
663
  this.input.reset();
615
664
  this.validation.reset(this);
665
+ this.menu.value = undefined;
666
+ }
667
+
668
+ /**
669
+ * Validates value.
670
+ * @param {boolean} [force=false] - Whether to force validation.
671
+ */
672
+ validate(force = false) {
673
+ this.validation.validate(this, force);
616
674
  }
617
675
 
618
676
  updated(changedProperties) {
619
677
  // After the component is ready, send direct value changes to auro-menu.
620
678
  if (changedProperties.has('value')) {
621
679
  if (this.value) {
622
- if (this.optionSelected && this.optionSelected.value === this.value) {
680
+ if (this.optionSelected && this.optionSelected[0] && this.optionSelected[0].value === this.value[0]) {
623
681
  // If value updates and the previously selected option already matches the new value
624
682
  // just update the input value to use the textContent of the optionSelected
625
- this.input.value = this.optionSelected.textContent;
683
+ this.input.value = this.optionSelected[0].textContent;
626
684
  } else {
627
685
  // Otherwise just enter the value into the input
628
686
  this.optionSelected = undefined;
629
- this.input.value = this.value;
687
+ // Use first value since combobox is single-select
688
+ const [inputValue] = this.value;
689
+ this.input.value = inputValue;
630
690
 
631
691
  // If the value got set programmatically make sure we hide the bib
632
692
  if (!this.contains(document.activeElement)) {
@@ -634,25 +694,20 @@ export class AuroCombobox extends LitElement {
634
694
  }
635
695
  }
636
696
  } else {
637
- this.input.value = '';
638
- this.menu.value = undefined;
697
+ this.reset();
639
698
  }
640
699
  }
641
700
 
642
701
  if (changedProperties.has('error')) {
643
702
  this.input.setAttribute('error', this.getAttribute('error'));
644
- this.validation.validate(this);
645
- }
646
-
647
- if (changedProperties.has('setCustomValidity')) {
648
- this.input.setAttribute('setCustomValidity', this.setCustomValidity);
703
+ this.validate();
649
704
  }
650
705
  }
651
706
 
652
707
  /**
653
708
  * Watch for slot changes and recalculate the menuoptions.
654
709
  * @private
655
- * @param {Event} event - slotchange event
710
+ * @param {Event} event - `slotchange` event.
656
711
  * @returns {void}
657
712
  */
658
713
  handleSlotChange(event) {
@@ -700,19 +755,25 @@ export class AuroCombobox extends LitElement {
700
755
  ?noValidate="${this.noValidate}"
701
756
  ?disabled="${this.disabled}"
702
757
  ?icon="${this.triggerIcon}"
703
- .type="${this.type}">
758
+ setCustomValidity="${this.setCustomValidity}"
759
+ setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
760
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
761
+ .autocomplete="${this.autocomplete}"
762
+ .type="${this.type}"
763
+ @input="${this.handleInputValueChange}">
704
764
  <slot name="label" slot="label"></slot>
705
765
  </${this.inputTag}>
706
766
  <div class="menuWrapper">
707
767
  </div>
708
768
  <span slot="helpText">
709
- ${this.auroInputHelpText
769
+ <!-- Help text and error message template -->
770
+ ${!this.validity || this.validity === undefined || this.validity === 'valid'
710
771
  ? html`
711
- ${this.auroInputHelpText}
712
- `
713
- : html`
714
772
  <slot name="helpText"></slot>
715
- `
773
+ ` : html`
774
+ <p role="alert" aria-live="assertive" part="helpText">
775
+ ${this.errorMessage}
776
+ </p>`
716
777
  }
717
778
  </span>
718
779
  </${this.dropdownTag}>
@@ -0,0 +1 @@
1
+ export default '3.0.0';
@@ -0,0 +1 @@
1
+ export default '4.2.0';