@aurodesignsystem/auro-formkit 2.0.0-beta.28 → 2.0.0-beta.29

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 (373) hide show
  1. package/.turbo/cache/019608f754b4fd0c-meta.json +1 -0
  2. package/.turbo/cache/019608f754b4fd0c.tar.zst +0 -0
  3. package/.turbo/cache/06322ed0d04880b4-meta.json +1 -0
  4. package/.turbo/cache/06322ed0d04880b4.tar.zst +0 -0
  5. package/.turbo/cache/0b25a5384daf4b43-meta.json +1 -0
  6. package/.turbo/cache/0b25a5384daf4b43.tar.zst +0 -0
  7. package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -0
  8. package/.turbo/cache/18ce0cc67c14e0c9.tar.zst +0 -0
  9. package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
  10. package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
  11. package/.turbo/cache/1e42bb6f66cd5516-meta.json +1 -0
  12. package/.turbo/cache/202a84630d73699f-meta.json +1 -0
  13. package/.turbo/cache/202a84630d73699f.tar.zst +0 -0
  14. package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
  15. package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
  16. package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
  17. package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
  18. package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
  19. package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
  20. package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
  21. package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
  22. package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
  23. package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
  24. package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
  25. package/.turbo/cache/3b758f5ca6cedcac-meta.json +1 -0
  26. package/.turbo/cache/3b758f5ca6cedcac.tar.zst +0 -0
  27. package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
  28. package/.turbo/cache/{d6be9726dcdd22a3.tar.zst → 3f1b3db13386acdc.tar.zst} +0 -0
  29. package/.turbo/cache/430c124614841675-meta.json +1 -0
  30. package/.turbo/cache/430c124614841675.tar.zst +0 -0
  31. package/.turbo/cache/4472ff3b156042a3-meta.json +1 -0
  32. package/.turbo/cache/{ef71fdeaac2feb85.tar.zst → 4472ff3b156042a3.tar.zst} +0 -0
  33. package/.turbo/cache/448b2ae2221bf660-meta.json +1 -0
  34. package/.turbo/cache/448b2ae2221bf660.tar.zst +0 -0
  35. package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
  36. package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
  37. package/.turbo/cache/4655a084a08732a7-meta.json +1 -0
  38. package/.turbo/cache/46f08b3f239b6b3c-meta.json +1 -0
  39. package/.turbo/cache/{343025281930ba78.tar.zst → 46f08b3f239b6b3c.tar.zst} +0 -0
  40. package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
  41. package/.turbo/cache/4f06a06e4f458e75-meta.json +1 -0
  42. package/.turbo/cache/4f06a06e4f458e75.tar.zst +0 -0
  43. package/.turbo/cache/4f0d7e7df611108b-meta.json +1 -0
  44. package/.turbo/cache/4f0d7e7df611108b.tar.zst +0 -0
  45. package/.turbo/cache/533b2c6c9fb1166a-meta.json +1 -0
  46. package/.turbo/cache/533b2c6c9fb1166a.tar.zst +0 -0
  47. package/.turbo/cache/560d172ca96e1544-meta.json +1 -0
  48. package/.turbo/cache/560d172ca96e1544.tar.zst +0 -0
  49. package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
  50. package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
  51. package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
  52. package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
  53. package/.turbo/cache/753b119a389426be-meta.json +1 -0
  54. package/.turbo/cache/753b119a389426be.tar.zst +0 -0
  55. package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -0
  56. package/.turbo/cache/8ac38d70a60381cb.tar.zst +0 -0
  57. package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
  58. package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
  59. package/.turbo/cache/9dc293081f28a24d-meta.json +1 -0
  60. package/.turbo/cache/{275c3e7a5ca37cf1.tar.zst → 9dc293081f28a24d.tar.zst} +0 -0
  61. package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
  62. package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
  63. package/.turbo/cache/a9db8818bc92a60e-meta.json +1 -0
  64. package/.turbo/cache/{70875e34db93847e.tar.zst → a9db8818bc92a60e.tar.zst} +0 -0
  65. package/.turbo/cache/bae62d7b71b88997-meta.json +1 -0
  66. package/.turbo/cache/bb3131b31c8adc36-meta.json +1 -0
  67. package/.turbo/cache/bb3131b31c8adc36.tar.zst +0 -0
  68. package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
  69. package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
  70. package/.turbo/cache/c45962e00a15f78b-meta.json +1 -0
  71. package/.turbo/cache/c49eaa579b60f045-meta.json +1 -0
  72. package/.turbo/cache/cbc12d12ec0e13ca-meta.json +1 -0
  73. package/.turbo/cache/{7fd42eb47038ad9a.tar.zst → cbc12d12ec0e13ca.tar.zst} +0 -0
  74. package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
  75. package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
  76. package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
  77. package/.turbo/cache/d7d47541c105641f-meta.json +1 -0
  78. package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
  79. package/.turbo/cache/de494df6a3006101-meta.json +1 -0
  80. package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
  81. package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
  82. package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
  83. package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
  84. package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
  85. package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
  86. package/.turbo/cache/e95a7d076e700003-meta.json +1 -0
  87. package/.turbo/cache/{bfc67af529cca6db.tar.zst → e95a7d076e700003.tar.zst} +0 -0
  88. package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
  89. package/.turbo/cache/{73752d5facada01a.tar.zst → e9ff93179777aa26.tar.zst} +0 -0
  90. package/.turbo/cache/f571abacf9ec4e84-meta.json +1 -0
  91. package/.turbo/cache/f571abacf9ec4e84.tar.zst +0 -0
  92. package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
  93. package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
  94. package/.turbo/cache/fa0bc0a1d41397e8-meta.json +1 -0
  95. package/.turbo/cache/fa0bc0a1d41397e8.tar.zst +0 -0
  96. package/.turbo/cache/fce6b6ea288791bf-meta.json +1 -0
  97. package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
  98. package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
  99. package/CHANGELOG.md +13 -0
  100. package/components/checkbox/.turbo/turbo-build.log +3 -3
  101. package/components/checkbox/README.md +1 -1
  102. package/components/checkbox/demo/api.md +0 -1
  103. package/components/checkbox/demo/api.min.js +252 -41
  104. package/components/checkbox/demo/index.min.js +252 -41
  105. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  106. package/components/checkbox/dist/index.js +252 -41
  107. package/components/checkbox/package.json +1 -0
  108. package/components/checkbox/src/auro-checkbox-group.js +6 -4
  109. package/components/checkbox/src/styles/colorGroup-css.js +1 -1
  110. package/components/checkbox/src/styles/colorGroup.css +0 -8
  111. package/components/checkbox/src/styles/colorGroup.scss +0 -8
  112. package/components/checkbox/src/styles/tokens-css.js +1 -1
  113. package/components/checkbox/src/styles/tokens.css +0 -1
  114. package/components/checkbox/src/styles/tokens.scss +0 -1
  115. package/components/combobox/.turbo/turbo-build.log +3 -3
  116. package/components/combobox/README.md +4 -4
  117. package/components/combobox/demo/api.min.js +611 -185
  118. package/components/combobox/demo/index.min.js +611 -185
  119. package/components/combobox/dist/index.js +582 -156
  120. package/components/combobox/src/auro-combobox.js +4 -4
  121. package/components/counter/.turbo/turbo-build.log +12 -3
  122. package/components/counter/.turbo/turbo-bundler.log +9 -3
  123. package/components/counter/README.md +1 -1
  124. package/components/counter/demo/api.min.js +163 -3126
  125. package/components/counter/demo/index.min.js +163 -3126
  126. package/components/counter/dist/index.js +163 -3126
  127. package/components/counter/src/styles/counter-button.css +1 -1
  128. package/components/datepicker/.turbo/turbo-build.log +1 -1
  129. package/components/datepicker/README.md +4 -4
  130. package/components/datepicker/demo/api.min.js +712 -286
  131. package/components/datepicker/demo/index.min.js +712 -286
  132. package/components/datepicker/dist/index.js +712 -286
  133. package/components/datepicker/src/auro-datepicker.js +4 -4
  134. package/components/datepicker/src/styles/style-css.js +1 -1
  135. package/components/datepicker/src/styles/style.css +0 -6
  136. package/components/datepicker/src/styles/style.scss +0 -6
  137. package/components/dropdown/.turbo/turbo-build.log +3 -3
  138. package/components/dropdown/README.md +1 -1
  139. package/components/dropdown/demo/api.md +0 -1
  140. package/components/dropdown/demo/api.min.js +259 -50
  141. package/components/dropdown/demo/index.min.js +259 -50
  142. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  143. package/components/dropdown/dist/index.js +259 -50
  144. package/components/dropdown/package.json +1 -0
  145. package/components/dropdown/src/auro-dropdown.js +4 -5
  146. package/components/dropdown/src/styles/color-css.js +1 -1
  147. package/components/dropdown/src/styles/color.css +0 -5
  148. package/components/dropdown/src/styles/color.scss +0 -5
  149. package/components/dropdown/src/styles/style-css.js +1 -1
  150. package/components/dropdown/src/styles/style.css +0 -6
  151. package/components/dropdown/src/styles/style.scss +0 -6
  152. package/components/dropdown/src/styles/tokens-css.js +1 -1
  153. package/components/dropdown/src/styles/tokens.css +0 -1
  154. package/components/dropdown/src/styles/tokens.scss +0 -1
  155. package/components/form/.turbo/turbo-build.log +2 -2
  156. package/components/form/.turbo/turbo-bundler.log +3 -3
  157. package/components/form/README.md +1 -1
  158. package/components/form/src/styles/style.css +1 -1
  159. package/components/helptext/.stylelintrc.json +3 -0
  160. package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
  161. package/components/helptext/.turbo/turbo-build.log +49 -0
  162. package/components/helptext/.turbo/turbo-bundler.log +7 -0
  163. package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
  164. package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
  165. package/components/helptext/.turbo/turbo-types.log +4 -0
  166. package/components/helptext/dist/auro-helptext.d.ts +46 -0
  167. package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
  168. package/components/helptext/dist/index.d.ts +3 -0
  169. package/components/helptext/dist/index.d.ts.map +1 -0
  170. package/components/helptext/dist/index.js +212 -0
  171. package/components/{input/dist/styles/helpText-css.d.ts → helptext/dist/styles/color-css.d.ts} +1 -1
  172. package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
  173. package/components/helptext/dist/styles/style-css.d.ts +3 -0
  174. package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
  175. package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
  176. package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
  177. package/components/helptext/node_modules/chalk/package.json +83 -0
  178. package/components/helptext/node_modules/chalk/readme.md +297 -0
  179. package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
  180. package/components/helptext/node_modules/chalk/source/index.js +225 -0
  181. package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
  182. package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  183. package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  184. package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  185. package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  186. package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  187. package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  188. package/components/helptext/package.json +57 -0
  189. package/components/helptext/src/auro-helptext.js +115 -0
  190. package/components/helptext/src/index.js +6 -0
  191. package/components/helptext/src/styles/color-css.js +2 -0
  192. package/components/helptext/src/styles/color.css +8 -0
  193. package/components/helptext/src/styles/color.scss +11 -0
  194. package/components/helptext/src/styles/style-css.js +2 -0
  195. package/components/helptext/src/styles/style.css +20 -0
  196. package/components/helptext/src/styles/style.scss +30 -0
  197. package/components/helptext/src/styles/tokens-css.js +2 -0
  198. package/components/helptext/src/styles/tokens.css +3 -0
  199. package/components/helptext/src/styles/tokens.scss +5 -0
  200. package/components/input/.turbo/turbo-build$colon$sass.log +3 -13
  201. package/components/input/.turbo/turbo-build.log +6 -16
  202. package/components/input/.turbo/turbo-sass$colon$render.log +0 -6
  203. package/components/input/README.md +1 -1
  204. package/components/input/demo/api.md +0 -1
  205. package/components/input/demo/api.min.js +317 -100
  206. package/components/input/demo/index.min.js +317 -100
  207. package/components/input/dist/auro-input.d.ts.map +1 -1
  208. package/components/input/dist/index.js +317 -100
  209. package/components/input/package.json +1 -0
  210. package/components/input/src/auro-input.js +18 -10
  211. package/components/input/src/styles/color-css.js +1 -1
  212. package/components/input/src/styles/color.css +0 -5
  213. package/components/input/src/styles/color.scss +0 -5
  214. package/components/input/src/styles/style-css.js +1 -1
  215. package/components/input/src/styles/style.css +0 -7
  216. package/components/input/src/styles/style.scss +0 -1
  217. package/components/input/src/styles/tokens-css.js +1 -1
  218. package/components/input/src/styles/tokens.css +0 -1
  219. package/components/input/src/styles/tokens.scss +0 -1
  220. package/components/menu/.turbo/turbo-build.log +3 -3
  221. package/components/menu/.turbo/turbo-bundler.log +3 -3
  222. package/components/menu/README.md +1 -1
  223. package/components/menu/src/styles/style-menu.css +1 -1
  224. package/components/radio/.turbo/turbo-build.log +3 -3
  225. package/components/radio/README.md +1 -1
  226. package/components/radio/demo/api.md +0 -1
  227. package/components/radio/demo/api.min.js +249 -39
  228. package/components/radio/demo/index.min.js +249 -39
  229. package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
  230. package/components/radio/dist/index.js +249 -39
  231. package/components/radio/package.json +1 -0
  232. package/components/radio/src/auro-radio-group.js +5 -4
  233. package/components/radio/src/styles/groupColor-css.js +1 -1
  234. package/components/radio/src/styles/groupColor.css +0 -8
  235. package/components/radio/src/styles/groupColor.scss +0 -8
  236. package/components/radio/src/styles/tokens-css.js +1 -1
  237. package/components/radio/src/styles/tokens.css +0 -1
  238. package/components/radio/src/styles/tokens.scss +0 -1
  239. package/components/select/.turbo/turbo-build.log +3 -3
  240. package/components/select/README.md +3 -3
  241. package/components/select/demo/api.min.js +306 -97
  242. package/components/select/demo/index.min.js +306 -97
  243. package/components/select/dist/index.js +275 -66
  244. package/components/select/src/auro-select.js +6 -6
  245. package/components/select/src/styles/style-css.js +1 -1
  246. package/components/select/src/styles/style.css +0 -6
  247. package/components/select/src/styles/style.scss +0 -6
  248. package/package.json +1 -1
  249. package/turbo.json +29 -1
  250. package/.turbo/cache/01837d45e23cd116-meta.json +0 -1
  251. package/.turbo/cache/01c730e29850df0e-meta.json +0 -1
  252. package/.turbo/cache/01c730e29850df0e.tar.zst +0 -0
  253. package/.turbo/cache/07e4aea841b5c179-meta.json +0 -1
  254. package/.turbo/cache/07e4aea841b5c179.tar.zst +0 -0
  255. package/.turbo/cache/0fc7683b19b36011-meta.json +0 -1
  256. package/.turbo/cache/0fc7683b19b36011.tar.zst +0 -0
  257. package/.turbo/cache/16a509b204dcbdb0-meta.json +0 -1
  258. package/.turbo/cache/186b768ac1b98f78-meta.json +0 -1
  259. package/.turbo/cache/186b768ac1b98f78.tar.zst +0 -0
  260. package/.turbo/cache/1bce84fdc42802d2-meta.json +0 -1
  261. package/.turbo/cache/1c255bf1aa2eafce-meta.json +0 -1
  262. package/.turbo/cache/1c255bf1aa2eafce.tar.zst +0 -0
  263. package/.turbo/cache/249d1d43631f5e4f-meta.json +0 -1
  264. package/.turbo/cache/249d1d43631f5e4f.tar.zst +0 -0
  265. package/.turbo/cache/275c3e7a5ca37cf1-meta.json +0 -1
  266. package/.turbo/cache/27ebfe2b553fe1ac-meta.json +0 -1
  267. package/.turbo/cache/2a6f0845cefd9b00-meta.json +0 -1
  268. package/.turbo/cache/2a6f0845cefd9b00.tar.zst +0 -0
  269. package/.turbo/cache/322ccd8a22ec9970-meta.json +0 -1
  270. package/.turbo/cache/322ccd8a22ec9970.tar.zst +0 -0
  271. package/.turbo/cache/343025281930ba78-meta.json +0 -1
  272. package/.turbo/cache/3da42d6d4786724b-meta.json +0 -1
  273. package/.turbo/cache/3da42d6d4786724b.tar.zst +0 -0
  274. package/.turbo/cache/404405300073400d-meta.json +0 -1
  275. package/.turbo/cache/4107ba68b8e8ebcf-meta.json +0 -1
  276. package/.turbo/cache/4107ba68b8e8ebcf.tar.zst +0 -0
  277. package/.turbo/cache/487b1fee94d973bd-meta.json +0 -1
  278. package/.turbo/cache/487b1fee94d973bd.tar.zst +0 -0
  279. package/.turbo/cache/490641dad66a5370-meta.json +0 -1
  280. package/.turbo/cache/490641dad66a5370.tar.zst +0 -0
  281. package/.turbo/cache/4d2f4072e8936a9f-meta.json +0 -1
  282. package/.turbo/cache/5737e8d759ed51ff-meta.json +0 -1
  283. package/.turbo/cache/5737e8d759ed51ff.tar.zst +0 -0
  284. package/.turbo/cache/58a5790c21b99cda-meta.json +0 -1
  285. package/.turbo/cache/58a5790c21b99cda.tar.zst +0 -0
  286. package/.turbo/cache/591529d76be34703-meta.json +0 -1
  287. package/.turbo/cache/6b0479ed69bd2065-meta.json +0 -1
  288. package/.turbo/cache/6b0479ed69bd2065.tar.zst +0 -0
  289. package/.turbo/cache/6f11f141e7fafacc-meta.json +0 -1
  290. package/.turbo/cache/6f11f141e7fafacc.tar.zst +0 -0
  291. package/.turbo/cache/6fb9e9bba51b6840-meta.json +0 -1
  292. package/.turbo/cache/6fb9e9bba51b6840.tar.zst +0 -0
  293. package/.turbo/cache/6ff997921af9fb59-meta.json +0 -1
  294. package/.turbo/cache/6ff997921af9fb59.tar.zst +0 -0
  295. package/.turbo/cache/70875e34db93847e-meta.json +0 -1
  296. package/.turbo/cache/71d0a5c0510249dc-meta.json +0 -1
  297. package/.turbo/cache/71d0a5c0510249dc.tar.zst +0 -0
  298. package/.turbo/cache/73752d5facada01a-meta.json +0 -1
  299. package/.turbo/cache/7408be1f1775d1c8-meta.json +0 -1
  300. package/.turbo/cache/7408be1f1775d1c8.tar.zst +0 -0
  301. package/.turbo/cache/7811c51b140b1749-meta.json +0 -1
  302. package/.turbo/cache/7811c51b140b1749.tar.zst +0 -0
  303. package/.turbo/cache/7ebc152219ff9567-meta.json +0 -1
  304. package/.turbo/cache/7ebc152219ff9567.tar.zst +0 -0
  305. package/.turbo/cache/7fd42eb47038ad9a-meta.json +0 -1
  306. package/.turbo/cache/86bc86f3d68ea7b8-meta.json +0 -1
  307. package/.turbo/cache/86bc86f3d68ea7b8.tar.zst +0 -0
  308. package/.turbo/cache/96bbdde6d7af7a07-meta.json +0 -1
  309. package/.turbo/cache/96bbdde6d7af7a07.tar.zst +0 -0
  310. package/.turbo/cache/987f6417dd39ab07-meta.json +0 -1
  311. package/.turbo/cache/99124fc7a6f04d50-meta.json +0 -1
  312. package/.turbo/cache/99124fc7a6f04d50.tar.zst +0 -0
  313. package/.turbo/cache/a35fd59a026ba05d-meta.json +0 -1
  314. package/.turbo/cache/a35fd59a026ba05d.tar.zst +0 -0
  315. package/.turbo/cache/a37f52c3a0711fb1-meta.json +0 -1
  316. package/.turbo/cache/a37f52c3a0711fb1.tar.zst +0 -0
  317. package/.turbo/cache/a41d8d5c41883f90-meta.json +0 -1
  318. package/.turbo/cache/a41d8d5c41883f90.tar.zst +0 -0
  319. package/.turbo/cache/b9afda223ab019c0-meta.json +0 -1
  320. package/.turbo/cache/bfc67af529cca6db-meta.json +0 -1
  321. package/.turbo/cache/bfdd5050193d8d7f-meta.json +0 -1
  322. package/.turbo/cache/bfdd5050193d8d7f.tar.zst +0 -0
  323. package/.turbo/cache/c4979afcbb735507-meta.json +0 -1
  324. package/.turbo/cache/c4979afcbb735507.tar.zst +0 -0
  325. package/.turbo/cache/cc0b63f78cad3f03-meta.json +0 -1
  326. package/.turbo/cache/d3a14c4caef9ac61-meta.json +0 -1
  327. package/.turbo/cache/d3a14c4caef9ac61.tar.zst +0 -0
  328. package/.turbo/cache/d4cf163d2e264a1c-meta.json +0 -1
  329. package/.turbo/cache/d6be9726dcdd22a3-meta.json +0 -1
  330. package/.turbo/cache/d817f099573f0c19-meta.json +0 -1
  331. package/.turbo/cache/d817f099573f0c19.tar.zst +0 -0
  332. package/.turbo/cache/dcc61c2e2c1d2d88-meta.json +0 -1
  333. package/.turbo/cache/e3244db4001289f3-meta.json +0 -1
  334. package/.turbo/cache/e3244db4001289f3.tar.zst +0 -0
  335. package/.turbo/cache/e7eabc578e94771c-meta.json +0 -1
  336. package/.turbo/cache/e7eabc578e94771c.tar.zst +0 -0
  337. package/.turbo/cache/e90b218494bb23ed-meta.json +0 -1
  338. package/.turbo/cache/e90b218494bb23ed.tar.zst +0 -0
  339. package/.turbo/cache/ee84ef9ff72212fa-meta.json +0 -1
  340. package/.turbo/cache/ee84ef9ff72212fa.tar.zst +0 -0
  341. package/.turbo/cache/ef71fdeaac2feb85-meta.json +0 -1
  342. package/.turbo/cache/f17caf2bbe9bc89a-meta.json +0 -1
  343. package/.turbo/cache/f17caf2bbe9bc89a.tar.zst +0 -0
  344. package/.turbo/cache/f5449eabca32be65-meta.json +0 -1
  345. package/.turbo/cache/f5449eabca32be65.tar.zst +0 -0
  346. package/.turbo/cache/ff343641ff2ba157-meta.json +0 -1
  347. package/.turbo/cache/ff343641ff2ba157.tar.zst +0 -0
  348. package/components/checkbox/.turbo/turbo-bundler.log +0 -13
  349. package/components/checkbox/.turbo/turbo-types.log +0 -4
  350. package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
  351. package/components/dropdown/.turbo/turbo-bundler.log +0 -13
  352. package/components/dropdown/.turbo/turbo-types.log +0 -4
  353. package/components/input/.turbo/turbo-build$colon$version.log +0 -10
  354. package/components/input/.turbo/turbo-bundler.log +0 -13
  355. package/components/input/.turbo/turbo-types.log +0 -4
  356. package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
  357. package/components/input/src/styles/helpText-css.js +0 -2
  358. package/components/input/src/styles/helpText.css +0 -6
  359. package/components/input/src/styles/helpText.scss +0 -9
  360. package/components/radio/.turbo/turbo-bundler.log +0 -13
  361. package/components/radio/.turbo/turbo-types.log +0 -4
  362. /package/.turbo/cache/{b9afda223ab019c0.tar.zst → 1e42bb6f66cd5516.tar.zst} +0 -0
  363. /package/.turbo/cache/{d4cf163d2e264a1c.tar.zst → 30fda91ef83677e4.tar.zst} +0 -0
  364. /package/.turbo/cache/{16a509b204dcbdb0.tar.zst → 4655a084a08732a7.tar.zst} +0 -0
  365. /package/.turbo/cache/{cc0b63f78cad3f03.tar.zst → 4e9c9a5dd62c50a4.tar.zst} +0 -0
  366. /package/.turbo/cache/{404405300073400d.tar.zst → bae62d7b71b88997.tar.zst} +0 -0
  367. /package/.turbo/cache/{dcc61c2e2c1d2d88.tar.zst → c45962e00a15f78b.tar.zst} +0 -0
  368. /package/.turbo/cache/{01837d45e23cd116.tar.zst → c49eaa579b60f045.tar.zst} +0 -0
  369. /package/.turbo/cache/{591529d76be34703.tar.zst → cbcd9db8ac9a2d52.tar.zst} +0 -0
  370. /package/.turbo/cache/{1bce84fdc42802d2.tar.zst → d7d47541c105641f.tar.zst} +0 -0
  371. /package/.turbo/cache/{4d2f4072e8936a9f.tar.zst → d8ecdff9c663c38e.tar.zst} +0 -0
  372. /package/.turbo/cache/{27ebfe2b553fe1ac.tar.zst → e7ed9e7056d80938.tar.zst} +0 -0
  373. /package/.turbo/cache/{987f6417dd39ab07.tar.zst → fce6b6ea288791bf.tar.zst} +0 -0
@@ -12,6 +12,7 @@
12
12
  "types": "dist/index.d.ts",
13
13
  "license": "Apache-2.0",
14
14
  "dependencies": {
15
+ "@aurodesignsystem/auro-helptext": "*",
15
16
  "@aurodesignsystem/auro-icon": "^6.1.2",
16
17
  "@floating-ui/dom": "^1.6.11",
17
18
  "@popperjs/core": "^2.11.8",
@@ -21,6 +21,7 @@ import styleCss from "./styles/style-css.js";
21
21
  import colorCss from "./styles/color-css.js";
22
22
  import tokensCss from "./styles/tokens-css.js";
23
23
 
24
+ import '@aurodesignsystem/auro-helptext';
24
25
  import './auro-dropdownBib.js';
25
26
 
26
27
  /**
@@ -435,7 +436,7 @@ export class AuroDropdown extends LitElement {
435
436
  <div class="triggerContent">
436
437
  <slot
437
438
  name="trigger"
438
- @slotchange="${(event) => this.handleTriggerContentSlotChange(event)}"></slot>
439
+ @slotchange="${this.handleTriggerContentSlotChange}"></slot>
439
440
  </div>
440
441
  </div>
441
442
  ${this.chevron || this.common ? html`
@@ -452,11 +453,9 @@ export class AuroDropdown extends LitElement {
452
453
  </div>
453
454
  ` : undefined }
454
455
  </div>
455
- <div
456
- class="helpText"
457
- part="helpText">
456
+ <auro-helptext part="helpText" ?error="${this.error}">
458
457
  <slot name="helpText"></slot>
459
- </div>
458
+ </auro-helptext>
460
459
  <div class="slotContent">
461
460
  <slot @slotchange="${this.handleDefaultSlot}"></slot>
462
461
  </div>
@@ -1,2 +1,2 @@
1
1
  import { css } from 'lit';
2
- export default css`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
2
+ export default css`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
@@ -19,10 +19,6 @@
19
19
  --ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));
20
20
  }
21
21
 
22
- .helpText {
23
- color: var(--ds-auro-dropdown-help-text-color);
24
- }
25
-
26
22
  :host([disabled]) {
27
23
  --ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);
28
24
  --ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad);
@@ -39,7 +35,6 @@
39
35
  }
40
36
 
41
37
  :host([error]) {
42
- --ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);
43
38
  --ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816);
44
39
  }
45
40
  :host([error]) .trigger {
@@ -33,10 +33,6 @@
33
33
  }
34
34
  }
35
35
 
36
- .helpText {
37
- color: var(--ds-auro-dropdown-help-text-color);
38
- }
39
-
40
36
  :host([disabled]) {
41
37
  --ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #{$ds-color-text-ui-disabled-default});
42
38
  --ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #{$ds-color-text-ui-disabled-default});
@@ -55,7 +51,6 @@
55
51
  }
56
52
 
57
53
  :host([error]) {
58
- --ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #{$ds-color-text-error-default});
59
54
  --ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #{$ds-color-border-error-default});
60
55
 
61
56
  .trigger {
@@ -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);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)}`;
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)}: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)}`;
@@ -63,12 +63,6 @@
63
63
  }
64
64
 
65
65
  /* stylelint-enable selector-id-pattern */
66
- .helpText {
67
- margin-top: var(--ds-size-50, 0.25rem);
68
- font-size: var(--ds-text-body-size-xs, 0.75rem);
69
- line-height: var(--ds-text-body-size-default, 1rem);
70
- }
71
-
72
66
  :host([matchwidth]) #bibSizer {
73
67
  width: 100%;
74
68
  }
@@ -85,12 +85,6 @@
85
85
  }
86
86
  /* stylelint-enable selector-id-pattern */
87
87
 
88
- .helpText {
89
- margin-top: var(--ds-size-50, $ds-size-50);
90
- font-size: var(--ds-text-body-size-xs, $ds-text-body-size-xs);
91
- line-height: var(--ds-text-body-size-default, $ds-text-body-size-default);
92
- }
93
-
94
88
  :host([matchwidth]) {
95
89
  #bibSizer {
96
90
  width: 100%;
@@ -1,2 +1,2 @@
1
1
  import { css } from 'lit';
2
- export default css`:host{--ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2
+ export default css`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
@@ -1,5 +1,4 @@
1
1
  :host {
2
- --ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);
3
2
  --ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);
4
3
  --ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);
5
4
  --ds-auro-dropdown-popover-border-color: transparent;
@@ -1,7 +1,6 @@
1
1
  @import '@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';
2
2
 
3
3
  :host {
4
- --ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #{$ds-color-text-secondary-default});
5
4
  --ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #{$ds-color-text-secondary-default});
6
5
  --ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
7
6
  --ds-auro-dropdown-popover-border-color: transparent;
@@ -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 147ms
72
+ created dist in 146ms
73
73
  
74
74
  ./demo/index.js → ./demo/...
75
75
  created ./demo/ in 76ms
76
76
  
77
77
  ./demo/api.js → ./demo/...
78
- created ./demo/ in 70ms
78
+ created ./demo/ in 66ms
79
79
 
80
80
  > @aurodesignsystem/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 602ms
7
+ created dist in 304ms
8
8
  
9
9
  ./demo/index.js → ./demo/...
10
- created ./demo/ in 210ms
10
+ created ./demo/ in 175ms
11
11
  
12
12
  ./demo/api.js → ./demo/...
13
- created ./demo/ in 325ms
13
+ created ./demo/ in 202ms
@@ -98,7 +98,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
98
98
  <!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
99
99
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
100
100
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
101
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-form@2.0.0-beta.27/dist/auro-form__bundled.js" type="module"></script>
101
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-form@2.0.0-beta.28/dist/auro-form__bundled.js" type="module"></script>
102
102
  <!-- AURO-GENERATED-CONTENT:END -->
103
103
 
104
104
  ## auro-form use cases
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Dec 2024 19:41:07 GMT
3
+ * Generated on Wed, 15 Jan 2025 19:25:18 GMT
4
4
  */
5
5
  *, *:before, *:after {
6
6
  box-sizing: border-box;
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "@auro-formkit/config/stylelint"
3
+ }
@@ -0,0 +1,34 @@
1
+
2
+ > @aurodesignsystem/auro-helptext@1.0.0 build:sass
3
+ > sass --no-source-map --load-path=../../node_modules "./src/styles/:./src/styles/"
4
+
5
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
6
+
7
+ More info and automated migrator: https://sass-lang.com/d/import
8
+
9
+
10
+ 1 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
11
+ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
+
13
+ src/styles/color.scss 1:9 root stylesheet
14
+
15
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
16
+
17
+ More info and automated migrator: https://sass-lang.com/d/import
18
+
19
+
20
+ 8 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
21
+ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22
+
23
+ src/styles/style.scss 8:9 root stylesheet
24
+
25
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
26
+
27
+ More info and automated migrator: https://sass-lang.com/d/import
28
+
29
+
30
+ 1 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
31
+ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32
+
33
+ src/styles/tokens.scss 1:9 root stylesheet
34
+
@@ -0,0 +1,49 @@
1
+
2
+ > @aurodesignsystem/auro-helptext@1.0.0 build
3
+ > run-s build:sass bundler types
4
+
5
+
6
+ > @aurodesignsystem/auro-helptext@1.0.0 build:sass
7
+ > sass --no-source-map --load-path=../../node_modules "./src/styles/:./src/styles/"
8
+
9
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
10
+
11
+ More info and automated migrator: https://sass-lang.com/d/import
12
+
13
+
14
+ 1 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
15
+ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
+
17
+ src/styles/color.scss 1:9 root stylesheet
18
+
19
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
20
+
21
+ More info and automated migrator: https://sass-lang.com/d/import
22
+
23
+
24
+ 8 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
25
+ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
+
27
+ src/styles/style.scss 8:9 root stylesheet
28
+
29
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
30
+
31
+ More info and automated migrator: https://sass-lang.com/d/import
32
+
33
+
34
+ 1 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
35
+ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
+
37
+ src/styles/tokens.scss 1:9 root stylesheet
38
+
39
+
40
+ > @aurodesignsystem/auro-helptext@1.0.0 bundler
41
+ > rollup -c node:@auro-formkit/config/internal.rollup
42
+
43
+ 
44
+ ./src/index.js → dist...
45
+ created dist in 239ms
46
+
47
+ > @aurodesignsystem/auro-helptext@1.0.0 types
48
+ > tsc --project tsconfig.json
49
+
@@ -0,0 +1,7 @@
1
+
2
+ > @aurodesignsystem/auro-helptext@1.0.0 bundler
3
+ > rollup -c node:@auro-formkit/config/internal.rollup
4
+
5
+ 
6
+ ./src/index.js → dist...
7
+ created dist in 384ms
@@ -0,0 +1,4 @@
1
+
2
+ > @aurodesignsystem/auro-helptext@1.0.0 postCss:component
3
+ > node ../../node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs
4
+
@@ -0,0 +1,22 @@
1
+
2
+ > @aurodesignsystem/auro-helptext@1.0.0 sass:render
3
+ > sass-render --load-path=../../node_modules 'src/**/*.css' -t ../../node_modules/@aurodesignsystem/auro-library/scripts/build/staticStyles-template.js
4
+
5
+ Rendering src/styles/color.css...
6
+ Rendering src/styles/style.css...
7
+ Rendering src/styles/tokens.css...
8
+ DEPRECATION WARNING [user-authored]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
9
+
10
+ More info: https://sass-lang.com/d/legacy-js-api
11
+
12
+ DEPRECATION WARNING [user-authored]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
13
+
14
+ More info: https://sass-lang.com/d/legacy-js-api
15
+
16
+ DEPRECATION WARNING [user-authored]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
17
+
18
+ More info: https://sass-lang.com/d/legacy-js-api
19
+
20
+ Complete!
21
+ Complete!
22
+ Complete!
@@ -0,0 +1,4 @@
1
+
2
+ > @aurodesignsystem/auro-helptext@1.0.0 types
3
+ > tsc --project tsconfig.json
4
+
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Displays help text or error messages within form elements - Internal Use Only.
3
+ *
4
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
5
+ */
6
+ export class AuroHelpText extends LitElement {
7
+ static get styles(): import("lit").CSSResult[];
8
+ static get properties(): {
9
+ /**
10
+ * @private
11
+ */
12
+ slotNodes: {
13
+ type: BooleanConstructor;
14
+ };
15
+ /**
16
+ * @private
17
+ */
18
+ hasTextContent: {
19
+ type: BooleanConstructor;
20
+ };
21
+ /**
22
+ * If declared, make font color red.
23
+ */
24
+ error: {
25
+ type: BooleanConstructor;
26
+ reflect: boolean;
27
+ };
28
+ };
29
+ /**
30
+ * This will register this element with the browser.
31
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
32
+ *
33
+ * @example
34
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
35
+ *
36
+ */
37
+ static register(name?: string): void;
38
+ error: boolean;
39
+ hasTextContent: boolean;
40
+ updated(): void;
41
+ handleSlotChange(event: any): void;
42
+ slotNodes: any;
43
+ render(): import("lit-html").TemplateResult<1>;
44
+ }
45
+ import { LitElement } from "lit";
46
+ //# sourceMappingURL=auro-helptext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auro-helptext.d.ts","sourceRoot":"","sources":["../src/auro-helptext.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH;IASE,+CAMC;IAGD;QAGI;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;MAMN;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAlDC,eAAkB;IAClB,wBAA2B;IAmD7B,gBAEC;IAED,mCAyBC;IAvBG,eAA6C;IA0BjD,+CAMC;CACF;2BA7GgC,KAAK"}
@@ -0,0 +1,3 @@
1
+ export { AuroHelpText };
2
+ import { AuroHelpText } from './auro-helptext.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";6BAA6B,oBAAoB"}
@@ -0,0 +1,212 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const t$1=globalThis,e$2=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",undefined,s$1),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
7
+
8
+ /**
9
+ * @license
10
+ * Copyright 2017 Google LLC
11
+ * SPDX-License-Identifier: BSD-3-Clause
12
+ */const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else undefined!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
13
+
14
+ /**
15
+ * @license
16
+ * Copyright 2017 Google LLC
17
+ * SPDX-License-Identifier: BSD-3-Clause
18
+ */
19
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,undefined,s??{});}return h._$AI(t),h};
20
+
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
26
+
27
+ var colorCss = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
28
+
29
+ var styleCss = i$3`.helptext-wrapper{display:none;margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(p){margin-block:0}`;
30
+
31
+ var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
32
+
33
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
34
+ // See LICENSE in the project root for license information.
35
+
36
+ // ---------------------------------------------------------------------
37
+
38
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
39
+
40
+ class AuroLibraryRuntimeUtils {
41
+
42
+ /* eslint-disable jsdoc/require-param */
43
+
44
+ /**
45
+ * This will register a new custom element with the browser.
46
+ * @param {String} name - The name of the custom element.
47
+ * @param {Object} componentClass - The class to register as a custom element.
48
+ * @returns {void}
49
+ */
50
+ registerComponent(name, componentClass) {
51
+ if (!customElements.get(name)) {
52
+ customElements.define(name, class extends componentClass {});
53
+ }
54
+ }
55
+
56
+ /**
57
+ * Finds and returns the closest HTML Element based on a selector.
58
+ * @returns {void}
59
+ */
60
+ closestElement(
61
+ selector, // selector like in .closest()
62
+ base = this, // extra functionality to skip a parent
63
+ __Closest = (el, found = el && el.closest(selector)) =>
64
+ !el || el === document || el === window
65
+ ? null // standard .closest() returns null for non-found selectors also
66
+ : found
67
+ ? found // found a selector INside this element
68
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
69
+ ) {
70
+ return __Closest(base);
71
+ }
72
+ /* eslint-enable jsdoc/require-param */
73
+
74
+ /**
75
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
76
+ * @param {Object} elem - The element to check.
77
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
78
+ * @returns {void}
79
+ */
80
+ handleComponentTagRename(elem, tagName) {
81
+ const tag = tagName.toLowerCase();
82
+ const elemTag = elem.tagName.toLowerCase();
83
+
84
+ if (elemTag !== tag) {
85
+ elem.setAttribute(tag, true);
86
+ }
87
+ }
88
+
89
+ /**
90
+ * Validates if an element is a specific Auro component.
91
+ * @param {Object} elem - The element to validate.
92
+ * @param {String} tagName - The name of the Auro component to check against.
93
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
94
+ */
95
+ elementMatch(elem, tagName) {
96
+ const tag = tagName.toLowerCase();
97
+ const elemTag = elem.tagName.toLowerCase();
98
+
99
+ return elemTag === tag || elem.hasAttribute(tag);
100
+ }
101
+ }
102
+
103
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
104
+ // See LICENSE in the project root for license information.
105
+
106
+
107
+ /**
108
+ * Displays help text or error messages within form elements - Internal Use Only.
109
+ *
110
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
111
+ */
112
+ class AuroHelpText extends r {
113
+
114
+ constructor() {
115
+ super();
116
+
117
+ this.error = false;
118
+ this.hasTextContent = false;
119
+ }
120
+
121
+ static get styles() {
122
+ return [
123
+ colorCss,
124
+ styleCss,
125
+ tokensCss
126
+ ];
127
+ }
128
+
129
+ // function to define props used within the scope of this component
130
+ static get properties() {
131
+ return {
132
+
133
+ /**
134
+ * @private
135
+ */
136
+ slotNodes: {
137
+ type: Boolean,
138
+ },
139
+
140
+ /**
141
+ * @private
142
+ */
143
+ hasTextContent: {
144
+ type: Boolean,
145
+ },
146
+
147
+ /**
148
+ * If declared, make font color red.
149
+ */
150
+ error: {
151
+ type: Boolean,
152
+ reflect: true,
153
+ },
154
+ };
155
+ }
156
+
157
+ /**
158
+ * This will register this element with the browser.
159
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
160
+ *
161
+ * @example
162
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
163
+ *
164
+ */
165
+ static register(name = "auro-helptext") {
166
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
167
+ }
168
+
169
+ updated() {
170
+ this.handleSlotChange();
171
+ }
172
+
173
+ handleSlotChange(event) {
174
+ if (event) {
175
+ this.slotNodes = event.target.assignedNodes();
176
+ }
177
+
178
+ if (this.slotNodes) {
179
+ this.hasTextContent = this.slotNodes.some((slot) => {
180
+ if (slot.textContent.trim()) {
181
+ return true;
182
+ }
183
+
184
+ if (!slot.querySelector) {
185
+ return false;
186
+ }
187
+
188
+ const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
189
+ if (!nestedSlot) {
190
+ return false;
191
+ }
192
+ const nestedSlotNodes = nestedSlot.assignedNodes();
193
+ return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
194
+ });
195
+ } else {
196
+ this.hasTextContent = false;
197
+ }
198
+ }
199
+
200
+ // function that renders the HTML and CSS into the scope of the component
201
+ render() {
202
+ return x`
203
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
204
+ <slot @slotchange=${this.handleSlotChange}></slot>
205
+ </div>
206
+ `;
207
+ }
208
+ }
209
+
210
+ AuroHelpText.register();
211
+
212
+ export { AuroHelpText };
@@ -1,3 +1,3 @@
1
1
  declare const _default: import("lit").CSSResult;
2
2
  export default _default;
3
- //# sourceMappingURL=helpText-css.d.ts.map
3
+ //# sourceMappingURL=color-css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-css.d.ts","sourceRoot":"","sources":["../../src/styles/color-css.js"],"names":[],"mappings":""}