@aurodesignsystem/auro-formkit 2.0.0-beta.27 → 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.
- package/.turbo/cache/019608f754b4fd0c-meta.json +1 -0
- package/.turbo/cache/019608f754b4fd0c.tar.zst +0 -0
- package/.turbo/cache/06322ed0d04880b4-meta.json +1 -0
- package/.turbo/cache/06322ed0d04880b4.tar.zst +0 -0
- package/.turbo/cache/0b25a5384daf4b43-meta.json +1 -0
- package/.turbo/cache/0b25a5384daf4b43.tar.zst +0 -0
- package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -0
- package/.turbo/cache/18ce0cc67c14e0c9.tar.zst +0 -0
- package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
- package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
- package/.turbo/cache/1e42bb6f66cd5516-meta.json +1 -0
- package/.turbo/cache/1e42bb6f66cd5516.tar.zst +0 -0
- package/.turbo/cache/202a84630d73699f-meta.json +1 -0
- package/.turbo/cache/202a84630d73699f.tar.zst +0 -0
- package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
- package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
- package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
- package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
- package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
- package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
- package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
- package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
- package/.turbo/cache/3b758f5ca6cedcac-meta.json +1 -0
- package/.turbo/cache/3b758f5ca6cedcac.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
- package/.turbo/cache/{67c3255b202e500b.tar.zst → 3f1b3db13386acdc.tar.zst} +0 -0
- package/.turbo/cache/430c124614841675-meta.json +1 -0
- package/.turbo/cache/430c124614841675.tar.zst +0 -0
- package/.turbo/cache/4472ff3b156042a3-meta.json +1 -0
- package/.turbo/cache/4472ff3b156042a3.tar.zst +0 -0
- package/.turbo/cache/448b2ae2221bf660-meta.json +1 -0
- package/.turbo/cache/448b2ae2221bf660.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
- package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
- package/.turbo/cache/4655a084a08732a7-meta.json +1 -0
- package/.turbo/cache/4655a084a08732a7.tar.zst +0 -0
- package/.turbo/cache/46f08b3f239b6b3c-meta.json +1 -0
- package/.turbo/cache/46f08b3f239b6b3c.tar.zst +0 -0
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
- package/.turbo/cache/4f06a06e4f458e75-meta.json +1 -0
- package/.turbo/cache/4f06a06e4f458e75.tar.zst +0 -0
- package/.turbo/cache/4f0d7e7df611108b-meta.json +1 -0
- package/.turbo/cache/4f0d7e7df611108b.tar.zst +0 -0
- package/.turbo/cache/533b2c6c9fb1166a-meta.json +1 -0
- package/.turbo/cache/533b2c6c9fb1166a.tar.zst +0 -0
- package/.turbo/cache/560d172ca96e1544-meta.json +1 -0
- package/.turbo/cache/560d172ca96e1544.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
- package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
- package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -0
- package/.turbo/cache/753b119a389426be.tar.zst +0 -0
- package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -0
- package/.turbo/cache/8ac38d70a60381cb.tar.zst +0 -0
- package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
- package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
- package/.turbo/cache/9dc293081f28a24d-meta.json +1 -0
- package/.turbo/cache/{a78d125599f040ae.tar.zst → 9dc293081f28a24d.tar.zst} +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
- package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
- package/.turbo/cache/a9db8818bc92a60e-meta.json +1 -0
- package/.turbo/cache/{b49dd5629527427d.tar.zst → a9db8818bc92a60e.tar.zst} +0 -0
- package/.turbo/cache/bae62d7b71b88997-meta.json +1 -0
- package/.turbo/cache/bb3131b31c8adc36-meta.json +1 -0
- package/.turbo/cache/bb3131b31c8adc36.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
- package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
- package/.turbo/cache/c45962e00a15f78b-meta.json +1 -0
- package/.turbo/cache/c49eaa579b60f045-meta.json +1 -0
- package/.turbo/cache/cbc12d12ec0e13ca-meta.json +1 -0
- package/.turbo/cache/{8e3c73cbb92b3ac8.tar.zst → cbc12d12ec0e13ca.tar.zst} +0 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
- package/.turbo/cache/d7d47541c105641f-meta.json +1 -0
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
- package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
- package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
- package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
- package/.turbo/cache/e95a7d076e700003-meta.json +1 -0
- package/.turbo/cache/{abfe0e87025ae648.tar.zst → e95a7d076e700003.tar.zst} +0 -0
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
- package/.turbo/cache/{2e1456ec1a7873f7.tar.zst → e9ff93179777aa26.tar.zst} +0 -0
- package/.turbo/cache/f571abacf9ec4e84-meta.json +1 -0
- package/.turbo/cache/f571abacf9ec4e84.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
- package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
- package/.turbo/cache/fa0bc0a1d41397e8-meta.json +1 -0
- package/.turbo/cache/fa0bc0a1d41397e8.tar.zst +0 -0
- package/.turbo/cache/fce6b6ea288791bf-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
- package/CHANGELOG.md +31 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +0 -1
- package/components/checkbox/demo/api.min.js +252 -41
- package/components/checkbox/demo/index.min.js +252 -41
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +252 -41
- package/components/checkbox/package.json +1 -0
- package/components/checkbox/src/auro-checkbox-group.js +6 -4
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- package/components/combobox/.turbo/turbo-build.log +2 -2
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +611 -185
- package/components/combobox/demo/index.min.js +611 -185
- package/components/combobox/dist/index.js +582 -156
- package/components/combobox/src/auro-combobox.js +4 -4
- package/components/counter/.turbo/turbo-build.log +12 -3
- package/components/counter/.turbo/turbo-bundler.log +9 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +163 -3126
- package/components/counter/demo/index.min.js +163 -3126
- package/components/counter/dist/index.js +163 -3126
- package/components/counter/src/styles/counter-button.css +1 -1
- package/components/datepicker/.turbo/turbo-build.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +712 -286
- package/components/datepicker/demo/index.min.js +712 -286
- package/components/datepicker/dist/index.js +712 -286
- package/components/datepicker/src/auro-datepicker.js +4 -4
- package/components/datepicker/src/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +0 -6
- package/components/datepicker/src/styles/style.scss +0 -6
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +0 -1
- package/components/dropdown/demo/api.min.js +259 -50
- package/components/dropdown/demo/index.min.js +259 -50
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +259 -50
- package/components/dropdown/package.json +1 -0
- package/components/dropdown/src/auro-dropdown.js +4 -5
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +0 -5
- package/components/dropdown/src/styles/color.scss +0 -5
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +0 -6
- package/components/dropdown/src/styles/style.scss +0 -6
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +0 -1
- package/components/dropdown/src/styles/tokens.scss +0 -1
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/form/demo/api.min.js +62 -14
- package/components/form/demo/index.min.js +62 -14
- package/components/form/dist/auro-form.d.ts +19 -4
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +62 -14
- package/components/form/src/auro-form.js +62 -14
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +46 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +212 -0
- package/components/{input/dist/styles/helpText-css.d.ts → helptext/dist/styles/color-css.d.ts} +1 -1
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +115 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +20 -0
- package/components/helptext/src/styles/style.scss +30 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +3 -13
- package/components/input/.turbo/turbo-build.log +6 -16
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -6
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +0 -1
- package/components/input/demo/api.min.js +317 -100
- package/components/input/demo/index.min.js +317 -100
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/index.js +317 -100
- package/components/input/package.json +1 -0
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +0 -7
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/menu/src/styles/style-menu.css +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.md +0 -1
- package/components/radio/demo/api.min.js +249 -39
- package/components/radio/demo/index.min.js +249 -39
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +249 -39
- package/components/radio/package.json +1 -0
- package/components/radio/src/auro-radio-group.js +5 -4
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +306 -97
- package/components/select/demo/index.min.js +306 -97
- package/components/select/dist/index.js +275 -66
- package/components/select/src/auro-select.js +6 -6
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +0 -6
- package/components/select/src/styles/style.scss +0 -6
- package/package.json +4 -1
- package/turbo.json +29 -1
- package/.turbo/cache/0c0a0bc31b8aab59-meta.json +0 -1
- package/.turbo/cache/0c0a0bc31b8aab59.tar.zst +0 -0
- package/.turbo/cache/0cbb56c99e650fa0-meta.json +0 -1
- package/.turbo/cache/0cbb56c99e650fa0.tar.zst +0 -0
- package/.turbo/cache/0fba2ec59e2dfd8b-meta.json +0 -1
- package/.turbo/cache/0fba2ec59e2dfd8b.tar.zst +0 -0
- package/.turbo/cache/163b3258a0fedac8-meta.json +0 -1
- package/.turbo/cache/163b3258a0fedac8.tar.zst +0 -0
- package/.turbo/cache/17d8b8bd7a2d45c8-meta.json +0 -1
- package/.turbo/cache/17d8b8bd7a2d45c8.tar.zst +0 -0
- package/.turbo/cache/23e204ed502c21fe-meta.json +0 -1
- package/.turbo/cache/24d7d9090145a626-meta.json +0 -1
- package/.turbo/cache/24d7d9090145a626.tar.zst +0 -0
- package/.turbo/cache/267a4d6654311f2b-meta.json +0 -1
- package/.turbo/cache/285fe2c074654eb2-meta.json +0 -1
- package/.turbo/cache/2e1456ec1a7873f7-meta.json +0 -1
- package/.turbo/cache/2e4e2a1831bef749-meta.json +0 -1
- package/.turbo/cache/2e4e2a1831bef749.tar.zst +0 -0
- package/.turbo/cache/351f58d5c3cae34e-meta.json +0 -1
- package/.turbo/cache/39dc2793eb573623-meta.json +0 -1
- package/.turbo/cache/39dc2793eb573623.tar.zst +0 -0
- package/.turbo/cache/3b1f37014160e895-meta.json +0 -1
- package/.turbo/cache/3b1f37014160e895.tar.zst +0 -0
- package/.turbo/cache/3c1cb8d2e8bec5d5-meta.json +0 -1
- package/.turbo/cache/3c1cb8d2e8bec5d5.tar.zst +0 -0
- package/.turbo/cache/411cfda2c367c29c-meta.json +0 -1
- package/.turbo/cache/411cfda2c367c29c.tar.zst +0 -0
- package/.turbo/cache/4225d94a40fc6659-meta.json +0 -1
- package/.turbo/cache/4225d94a40fc6659.tar.zst +0 -0
- package/.turbo/cache/4359c29d1655eec0-meta.json +0 -1
- package/.turbo/cache/4359c29d1655eec0.tar.zst +0 -0
- package/.turbo/cache/4e34f0f0a9d02732-meta.json +0 -1
- package/.turbo/cache/4e34f0f0a9d02732.tar.zst +0 -0
- package/.turbo/cache/4e4992ed3be45c2f-meta.json +0 -1
- package/.turbo/cache/4e4992ed3be45c2f.tar.zst +0 -0
- package/.turbo/cache/4fb77e22ffd90112-meta.json +0 -1
- package/.turbo/cache/4fb77e22ffd90112.tar.zst +0 -0
- package/.turbo/cache/52dce5349ebee512-meta.json +0 -1
- package/.turbo/cache/52dce5349ebee512.tar.zst +0 -0
- package/.turbo/cache/558b31cc05ccc960-meta.json +0 -1
- package/.turbo/cache/64424afa661a9d52-meta.json +0 -1
- package/.turbo/cache/64424afa661a9d52.tar.zst +0 -0
- package/.turbo/cache/67c3255b202e500b-meta.json +0 -1
- package/.turbo/cache/6c9f48c7e69a2ec0-meta.json +0 -1
- package/.turbo/cache/6c9f48c7e69a2ec0.tar.zst +0 -0
- package/.turbo/cache/6f7bdd4097644495-meta.json +0 -1
- package/.turbo/cache/6f7bdd4097644495.tar.zst +0 -0
- package/.turbo/cache/704a22f3a6a32426-meta.json +0 -1
- package/.turbo/cache/704a22f3a6a32426.tar.zst +0 -0
- package/.turbo/cache/766995ed5805f011-meta.json +0 -1
- package/.turbo/cache/766995ed5805f011.tar.zst +0 -0
- package/.turbo/cache/782ea8bf6bfd8203-meta.json +0 -1
- package/.turbo/cache/782ea8bf6bfd8203.tar.zst +0 -0
- package/.turbo/cache/78968f685c031ba1-meta.json +0 -1
- package/.turbo/cache/78968f685c031ba1.tar.zst +0 -0
- package/.turbo/cache/78e014dddc2d6125-meta.json +0 -1
- package/.turbo/cache/78e014dddc2d6125.tar.zst +0 -0
- package/.turbo/cache/7a92232f5b7d1032-meta.json +0 -1
- package/.turbo/cache/7a92232f5b7d1032.tar.zst +0 -0
- package/.turbo/cache/87987f08153b356f-meta.json +0 -1
- package/.turbo/cache/87987f08153b356f.tar.zst +0 -0
- package/.turbo/cache/8c6d632132b58f2a-meta.json +0 -1
- package/.turbo/cache/8c6d632132b58f2a.tar.zst +0 -0
- package/.turbo/cache/8e3c73cbb92b3ac8-meta.json +0 -1
- package/.turbo/cache/939b09d0d5a44a8e-meta.json +0 -1
- package/.turbo/cache/939b09d0d5a44a8e.tar.zst +0 -0
- package/.turbo/cache/951037a4bb464cc3-meta.json +0 -1
- package/.turbo/cache/951037a4bb464cc3.tar.zst +0 -0
- package/.turbo/cache/9584055bc0f88083-meta.json +0 -1
- package/.turbo/cache/9584055bc0f88083.tar.zst +0 -0
- package/.turbo/cache/972125b3b011cd6f-meta.json +0 -1
- package/.turbo/cache/a07fca2bec5e088a-meta.json +0 -1
- package/.turbo/cache/a07fca2bec5e088a.tar.zst +0 -0
- package/.turbo/cache/a1f17a427205f758-meta.json +0 -1
- package/.turbo/cache/a78d125599f040ae-meta.json +0 -1
- package/.turbo/cache/abfe0e87025ae648-meta.json +0 -1
- package/.turbo/cache/ad140cc079669a3d-meta.json +0 -1
- package/.turbo/cache/ad140cc079669a3d.tar.zst +0 -0
- package/.turbo/cache/af78f67fd46864cf-meta.json +0 -1
- package/.turbo/cache/af78f67fd46864cf.tar.zst +0 -0
- package/.turbo/cache/b49dd5629527427d-meta.json +0 -1
- package/.turbo/cache/b6d9b63450b2be32-meta.json +0 -1
- package/.turbo/cache/b6d9b63450b2be32.tar.zst +0 -0
- package/.turbo/cache/b9b3700e26eea28f-meta.json +0 -1
- package/.turbo/cache/b9b3700e26eea28f.tar.zst +0 -0
- package/.turbo/cache/be2163f79158c78f-meta.json +0 -1
- package/.turbo/cache/be2163f79158c78f.tar.zst +0 -0
- package/.turbo/cache/c3d8dc6e45d0331b-meta.json +0 -1
- package/.turbo/cache/c3d8dc6e45d0331b.tar.zst +0 -0
- package/.turbo/cache/c688990b9f5a9adc-meta.json +0 -1
- package/.turbo/cache/c688990b9f5a9adc.tar.zst +0 -0
- package/.turbo/cache/c77c96d6a2d1be7d-meta.json +0 -1
- package/.turbo/cache/c77c96d6a2d1be7d.tar.zst +0 -0
- package/.turbo/cache/ccaf1a2accea911b-meta.json +0 -1
- package/.turbo/cache/d40c3723f98d81cd-meta.json +0 -1
- package/.turbo/cache/d40c3723f98d81cd.tar.zst +0 -0
- package/.turbo/cache/e118c1013f86c6e8-meta.json +0 -1
- package/.turbo/cache/e16b24ee6e7c1e50-meta.json +0 -1
- package/.turbo/cache/e16b24ee6e7c1e50.tar.zst +0 -0
- package/.turbo/cache/f77e5f0c843f7f08-meta.json +0 -1
- package/.turbo/cache/f77e5f0c843f7f08.tar.zst +0 -0
- package/.turbo/cache/f90d7f40233634c8-meta.json +0 -1
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-build$colon$version.log +0 -10
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
- /package/.turbo/cache/{351f58d5c3cae34e.tar.zst → 30fda91ef83677e4.tar.zst} +0 -0
- /package/.turbo/cache/{ccaf1a2accea911b.tar.zst → 4e9c9a5dd62c50a4.tar.zst} +0 -0
- /package/.turbo/cache/{23e204ed502c21fe.tar.zst → bae62d7b71b88997.tar.zst} +0 -0
- /package/.turbo/cache/{e118c1013f86c6e8.tar.zst → c45962e00a15f78b.tar.zst} +0 -0
- /package/.turbo/cache/{267a4d6654311f2b.tar.zst → c49eaa579b60f045.tar.zst} +0 -0
- /package/.turbo/cache/{f90d7f40233634c8.tar.zst → cbcd9db8ac9a2d52.tar.zst} +0 -0
- /package/.turbo/cache/{285fe2c074654eb2.tar.zst → d7d47541c105641f.tar.zst} +0 -0
- /package/.turbo/cache/{972125b3b011cd6f.tar.zst → d8ecdff9c663c38e.tar.zst} +0 -0
- /package/.turbo/cache/{558b31cc05ccc960.tar.zst → e7ed9e7056d80938.tar.zst} +0 -0
- /package/.turbo/cache/{a1f17a427205f758.tar.zst → fce6b6ea288791bf.tar.zst} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-env browser */
|
|
2
|
+
|
|
3
|
+
const level = (() => {
|
|
4
|
+
if (!('navigator' in globalThis)) {
|
|
5
|
+
return 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
if (globalThis.navigator.userAgentData) {
|
|
9
|
+
const brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');
|
|
10
|
+
if (brand && brand.version > 93) {
|
|
11
|
+
return 3;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)) {
|
|
16
|
+
return 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return 0;
|
|
20
|
+
})();
|
|
21
|
+
|
|
22
|
+
const colorSupport = level !== 0 && {
|
|
23
|
+
level,
|
|
24
|
+
hasBasic: true,
|
|
25
|
+
has256: level >= 2,
|
|
26
|
+
has16m: level >= 3,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const supportsColor = {
|
|
30
|
+
stdout: colorSupport,
|
|
31
|
+
stderr: colorSupport,
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export default supportsColor;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type {WriteStream} from 'node:tty';
|
|
2
|
+
|
|
3
|
+
export type Options = {
|
|
4
|
+
/**
|
|
5
|
+
Whether `process.argv` should be sniffed for `--color` and `--no-color` flags.
|
|
6
|
+
|
|
7
|
+
@default true
|
|
8
|
+
*/
|
|
9
|
+
readonly sniffFlags?: boolean;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
Levels:
|
|
14
|
+
- `0` - All colors disabled.
|
|
15
|
+
- `1` - Basic 16 colors support.
|
|
16
|
+
- `2` - ANSI 256 colors support.
|
|
17
|
+
- `3` - Truecolor 16 million colors support.
|
|
18
|
+
*/
|
|
19
|
+
export type ColorSupportLevel = 0 | 1 | 2 | 3;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
Detect whether the terminal supports color.
|
|
23
|
+
*/
|
|
24
|
+
export type ColorSupport = {
|
|
25
|
+
/**
|
|
26
|
+
The color level.
|
|
27
|
+
*/
|
|
28
|
+
level: ColorSupportLevel;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
Whether basic 16 colors are supported.
|
|
32
|
+
*/
|
|
33
|
+
hasBasic: boolean;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
Whether ANSI 256 colors are supported.
|
|
37
|
+
*/
|
|
38
|
+
has256: boolean;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
Whether Truecolor 16 million colors are supported.
|
|
42
|
+
*/
|
|
43
|
+
has16m: boolean;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type ColorInfo = ColorSupport | false;
|
|
47
|
+
|
|
48
|
+
export function createSupportsColor(stream?: WriteStream, options?: Options): ColorInfo;
|
|
49
|
+
|
|
50
|
+
declare const supportsColor: {
|
|
51
|
+
stdout: ColorInfo;
|
|
52
|
+
stderr: ColorInfo;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export default supportsColor;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import process from 'node:process';
|
|
2
|
+
import os from 'node:os';
|
|
3
|
+
import tty from 'node:tty';
|
|
4
|
+
|
|
5
|
+
// From: https://github.com/sindresorhus/has-flag/blob/main/index.js
|
|
6
|
+
/// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {
|
|
7
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {
|
|
8
|
+
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
|
9
|
+
const position = argv.indexOf(prefix + flag);
|
|
10
|
+
const terminatorPosition = argv.indexOf('--');
|
|
11
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const {env} = process;
|
|
15
|
+
|
|
16
|
+
let flagForceColor;
|
|
17
|
+
if (
|
|
18
|
+
hasFlag('no-color')
|
|
19
|
+
|| hasFlag('no-colors')
|
|
20
|
+
|| hasFlag('color=false')
|
|
21
|
+
|| hasFlag('color=never')
|
|
22
|
+
) {
|
|
23
|
+
flagForceColor = 0;
|
|
24
|
+
} else if (
|
|
25
|
+
hasFlag('color')
|
|
26
|
+
|| hasFlag('colors')
|
|
27
|
+
|| hasFlag('color=true')
|
|
28
|
+
|| hasFlag('color=always')
|
|
29
|
+
) {
|
|
30
|
+
flagForceColor = 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function envForceColor() {
|
|
34
|
+
if ('FORCE_COLOR' in env) {
|
|
35
|
+
if (env.FORCE_COLOR === 'true') {
|
|
36
|
+
return 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (env.FORCE_COLOR === 'false') {
|
|
40
|
+
return 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function translateLevel(level) {
|
|
48
|
+
if (level === 0) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return {
|
|
53
|
+
level,
|
|
54
|
+
hasBasic: true,
|
|
55
|
+
has256: level >= 2,
|
|
56
|
+
has16m: level >= 3,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
|
|
61
|
+
const noFlagForceColor = envForceColor();
|
|
62
|
+
if (noFlagForceColor !== undefined) {
|
|
63
|
+
flagForceColor = noFlagForceColor;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
67
|
+
|
|
68
|
+
if (forceColor === 0) {
|
|
69
|
+
return 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (sniffFlags) {
|
|
73
|
+
if (hasFlag('color=16m')
|
|
74
|
+
|| hasFlag('color=full')
|
|
75
|
+
|| hasFlag('color=truecolor')) {
|
|
76
|
+
return 3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (hasFlag('color=256')) {
|
|
80
|
+
return 2;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Check for Azure DevOps pipelines.
|
|
85
|
+
// Has to be above the `!streamIsTTY` check.
|
|
86
|
+
if ('TF_BUILD' in env && 'AGENT_NAME' in env) {
|
|
87
|
+
return 1;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
91
|
+
return 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const min = forceColor || 0;
|
|
95
|
+
|
|
96
|
+
if (env.TERM === 'dumb') {
|
|
97
|
+
return min;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (process.platform === 'win32') {
|
|
101
|
+
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
102
|
+
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
103
|
+
const osRelease = os.release().split('.');
|
|
104
|
+
if (
|
|
105
|
+
Number(osRelease[0]) >= 10
|
|
106
|
+
&& Number(osRelease[2]) >= 10_586
|
|
107
|
+
) {
|
|
108
|
+
return Number(osRelease[2]) >= 14_931 ? 3 : 2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return 1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if ('CI' in env) {
|
|
115
|
+
if (['GITHUB_ACTIONS', 'GITEA_ACTIONS', 'CIRCLECI'].some(key => key in env)) {
|
|
116
|
+
return 3;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
if (['TRAVIS', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
120
|
+
return 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return min;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if ('TEAMCITY_VERSION' in env) {
|
|
127
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (env.COLORTERM === 'truecolor') {
|
|
131
|
+
return 3;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (env.TERM === 'xterm-kitty') {
|
|
135
|
+
return 3;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if ('TERM_PROGRAM' in env) {
|
|
139
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
140
|
+
|
|
141
|
+
switch (env.TERM_PROGRAM) {
|
|
142
|
+
case 'iTerm.app': {
|
|
143
|
+
return version >= 3 ? 3 : 2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
case 'Apple_Terminal': {
|
|
147
|
+
return 2;
|
|
148
|
+
}
|
|
149
|
+
// No default
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
154
|
+
return 2;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
158
|
+
return 1;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if ('COLORTERM' in env) {
|
|
162
|
+
return 1;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return min;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export function createSupportsColor(stream, options = {}) {
|
|
169
|
+
const level = _supportsColor(stream, {
|
|
170
|
+
streamIsTTY: stream && stream.isTTY,
|
|
171
|
+
...options,
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
return translateLevel(level);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const supportsColor = {
|
|
178
|
+
stdout: createSupportsColor({isTTY: tty.isatty(1)}),
|
|
179
|
+
stderr: createSupportsColor({isTTY: tty.isatty(2)}),
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export default supportsColor;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aurodesignsystem/auro-helptext",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "auro-helptext HTML custom element",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"private": true,
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"chalk": "^5.3.0",
|
|
13
|
+
"lit": "^3.2.1"
|
|
14
|
+
},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@aurodesignsystem/design-tokens": "^4.12.1",
|
|
17
|
+
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@auro-formkit/build-tools": "*",
|
|
21
|
+
"@auro-formkit/config": "*",
|
|
22
|
+
"@auro-formkit/typescript": "*",
|
|
23
|
+
"@aurodesignsystem/design-tokens": "^4.12.1",
|
|
24
|
+
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
25
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
26
|
+
"rollup": "^4.24.0",
|
|
27
|
+
"rollup-plugin-serve": "^2.0.3",
|
|
28
|
+
"wc-sass-render": "^1.4.0"
|
|
29
|
+
},
|
|
30
|
+
"overrides": {
|
|
31
|
+
"wc-sass-render": {
|
|
32
|
+
"sass": "$sass"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"nodemonConfig": {
|
|
36
|
+
"ignore": [
|
|
37
|
+
"*-css.js",
|
|
38
|
+
"*.css"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "run-s build:sass bundler types",
|
|
46
|
+
"build:sass": "sass --no-source-map --load-path=../../node_modules \"./src/styles/:./src/styles/\"",
|
|
47
|
+
"build:watch": "nodemon -e scss,js --watch src --ignore \"*.css\" --ignore \"*-css.js\" --exec \"npm run build\"",
|
|
48
|
+
"bundler": "rollup -c node:@auro-formkit/config/internal.rollup",
|
|
49
|
+
"clean": "rm -rf dist build",
|
|
50
|
+
"postCss:component": "node ../../node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs",
|
|
51
|
+
"sass:render": "sass-render --load-path=../../node_modules 'src/**/*.css' -t ../../node_modules/@aurodesignsystem/auro-library/scripts/build/staticStyles-template.js",
|
|
52
|
+
"types": "tsc --project tsconfig.json",
|
|
53
|
+
"lint": "npm-run-all scssLint esLint",
|
|
54
|
+
"scssLint": "stylelint \"./src/**/*.scss\"",
|
|
55
|
+
"esLint": "eslint \"./src/**/*.js\""
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
|
+
// See LICENSE in the project root for license information.
|
|
3
|
+
|
|
4
|
+
// ---------------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
import { LitElement, html } from "lit";
|
|
7
|
+
|
|
8
|
+
import colorCss from "./styles/color-css.js";
|
|
9
|
+
import styleCss from "./styles/style-css.js";
|
|
10
|
+
import tokensCss from "./styles/tokens-css.js";
|
|
11
|
+
|
|
12
|
+
import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
16
|
+
*
|
|
17
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
18
|
+
*/
|
|
19
|
+
export class AuroHelpText extends LitElement {
|
|
20
|
+
|
|
21
|
+
constructor() {
|
|
22
|
+
super();
|
|
23
|
+
|
|
24
|
+
this.error = false;
|
|
25
|
+
this.hasTextContent = false;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static get styles() {
|
|
29
|
+
return [
|
|
30
|
+
colorCss,
|
|
31
|
+
styleCss,
|
|
32
|
+
tokensCss
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// function to define props used within the scope of this component
|
|
37
|
+
static get properties() {
|
|
38
|
+
return {
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @private
|
|
42
|
+
*/
|
|
43
|
+
slotNodes: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
hasTextContent: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* If declared, make font color red.
|
|
56
|
+
*/
|
|
57
|
+
error: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
reflect: true,
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* This will register this element with the browser.
|
|
66
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
static register(name = "auro-helptext") {
|
|
73
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
updated() {
|
|
77
|
+
this.handleSlotChange();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
handleSlotChange(event) {
|
|
81
|
+
if (event) {
|
|
82
|
+
this.slotNodes = event.target.assignedNodes();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (this.slotNodes) {
|
|
86
|
+
this.hasTextContent = this.slotNodes.some((slot) => {
|
|
87
|
+
if (slot.textContent.trim()) {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (!slot.querySelector) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
|
|
96
|
+
if (!nestedSlot) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
100
|
+
return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
101
|
+
});
|
|
102
|
+
} else {
|
|
103
|
+
this.hasTextContent = false;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
108
|
+
render() {
|
|
109
|
+
return html`
|
|
110
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
111
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
112
|
+
</div>
|
|
113
|
+
`;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable selector-class-pattern */
|
|
4
|
+
|
|
5
|
+
:host([error]) {
|
|
6
|
+
--ds-auro-helptext-color: var(--ds-color-text-error-default, #{$ds-color-text-error-default});
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.helptext-wrapper {
|
|
10
|
+
color: var(--ds-auro-helptext-color);
|
|
11
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export default css`.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}`;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* stylelint-disable scss/selector-nest-combinators, selector-class-pattern */
|
|
2
|
+
.helptext-wrapper {
|
|
3
|
+
display: none;
|
|
4
|
+
margin-top: var(--ds-size-50, 0.25rem);
|
|
5
|
+
margin-bottom: 0;
|
|
6
|
+
font-size: var(--ds-text-body-size-xs, 0.75rem);
|
|
7
|
+
line-height: var(--ds-size-200, 1rem);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host([large]) .helptext-wrapper {
|
|
11
|
+
font-size: var(--ds-text-body-size-default, 1rem);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.helptext-wrapper[visible] {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
::slotted(p) {
|
|
19
|
+
margin-block: 0;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
|
+
// See LICENSE in the project root for license information.
|
|
3
|
+
|
|
4
|
+
// ---------------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
/* stylelint-disable scss/selector-nest-combinators, selector-class-pattern */
|
|
7
|
+
|
|
8
|
+
@import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
9
|
+
|
|
10
|
+
.helptext-wrapper {
|
|
11
|
+
display: none;
|
|
12
|
+
margin-top: var(--ds-size-50, $ds-size-50);
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
font-size: var(--ds-text-body-size-xs, $ds-text-body-size-xs);
|
|
15
|
+
line-height: var(--ds-size-200, $ds-size-200);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([large]) {
|
|
19
|
+
.helptext-wrapper {
|
|
20
|
+
font-size: var(--ds-text-body-size-default, $ds-text-body-size-default);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.helptext-wrapper[visible] {
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
::slotted(p) {
|
|
29
|
+
margin-block: 0;
|
|
30
|
+
}
|
|
@@ -65,16 +65,6 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
65
65
|
|
|
66
66
|
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
67
67
|
|
|
68
|
-
More info and automated migrator: https://sass-lang.com/d/import
|
|
69
|
-
|
|
70
|
-
╷
|
|
71
|
-
1 │ @import '@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';
|
|
72
|
-
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
73
|
-
╵
|
|
74
|
-
src/styles/helpText.scss 1:9 root stylesheet
|
|
75
|
-
|
|
76
|
-
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
77
|
-
|
|
78
68
|
More info and automated migrator: https://sass-lang.com/d/import
|
|
79
69
|
|
|
80
70
|
╷
|
|
@@ -178,12 +168,12 @@ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be remo
|
|
|
178
168
|
More info and automated migrator: https://sass-lang.com/d/import
|
|
179
169
|
|
|
180
170
|
╷
|
|
181
|
-
31 │ @import './
|
|
182
|
-
│
|
|
171
|
+
31 │ @import './borders';
|
|
172
|
+
│ ^^^^^^^^^^^
|
|
183
173
|
╵
|
|
184
174
|
src/styles/style.scss 31:9 root stylesheet
|
|
185
175
|
|
|
186
|
-
WARNING:
|
|
176
|
+
WARNING: 16 repetitive deprecation warnings omitted.
|
|
187
177
|
Run in verbose mode to see all warnings.
|
|
188
178
|
|
|
189
179
|
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
@@ -79,16 +79,6 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
79
79
|
|
|
80
80
|
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
81
81
|
|
|
82
|
-
More info and automated migrator: https://sass-lang.com/d/import
|
|
83
|
-
|
|
84
|
-
╷
|
|
85
|
-
1 │ @import '@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';
|
|
86
|
-
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
87
|
-
╵
|
|
88
|
-
src/styles/helpText.scss 1:9 root stylesheet
|
|
89
|
-
|
|
90
|
-
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
91
|
-
|
|
92
82
|
More info and automated migrator: https://sass-lang.com/d/import
|
|
93
83
|
|
|
94
84
|
╷
|
|
@@ -192,12 +182,12 @@ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be remo
|
|
|
192
182
|
More info and automated migrator: https://sass-lang.com/d/import
|
|
193
183
|
|
|
194
184
|
╷
|
|
195
|
-
31 │ @import './
|
|
196
|
-
│
|
|
185
|
+
31 │ @import './borders';
|
|
186
|
+
│ ^^^^^^^^^^^
|
|
197
187
|
╵
|
|
198
188
|
src/styles/style.scss 31:9 root stylesheet
|
|
199
189
|
|
|
200
|
-
WARNING:
|
|
190
|
+
WARNING: 16 repetitive deprecation warnings omitted.
|
|
201
191
|
Run in verbose mode to see all warnings.
|
|
202
192
|
|
|
203
193
|
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
@@ -216,13 +206,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
216
206
|
|
|
217
207
|
[36m
|
|
218
208
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
219
|
-
[32mcreated [1mdist[22m in [1m1.
|
|
209
|
+
[32mcreated [1mdist[22m in [1m1.5s[22m[39m
|
|
220
210
|
[36m
|
|
221
211
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
222
|
-
[32mcreated [1m./demo/[22m in [
|
|
212
|
+
[32mcreated [1m./demo/[22m in [1m1s[22m[39m
|
|
223
213
|
[36m
|
|
224
214
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
225
|
-
[32mcreated [1m./demo/[22m in [
|
|
215
|
+
[32mcreated [1m./demo/[22m in [1m1.1s[22m[39m
|
|
226
216
|
|
|
227
217
|
> @aurodesignsystem/auro-input@4.2.0 build:docs
|
|
228
218
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component input
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Rendering src/styles/borders.css...
|
|
6
6
|
Rendering src/styles/color.css...
|
|
7
|
-
Rendering src/styles/helpText.css...
|
|
8
7
|
Rendering src/styles/input.css...
|
|
9
8
|
Rendering src/styles/label.css...
|
|
10
9
|
Rendering src/styles/mixins.css...
|
|
@@ -43,11 +42,6 @@ DEPRECATION WARNING [user-authored]: The legacy JS API is deprecated and will be
|
|
|
43
42
|
|
|
44
43
|
More info: https://sass-lang.com/d/legacy-js-api
|
|
45
44
|
|
|
46
|
-
DEPRECATION WARNING [user-authored]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
47
|
-
|
|
48
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
49
|
-
|
|
50
|
-
Complete!
|
|
51
45
|
Complete!
|
|
52
46
|
Complete!
|
|
53
47
|
Complete!
|
|
@@ -89,7 +89,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
89
89
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
90
90
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
91
91
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
92
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.
|
|
92
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.28/dist/auro-input__bundled.js" type="module"></script>
|
|
93
93
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
94
94
|
|
|
95
95
|
## auro-input use cases
|
|
@@ -1125,7 +1125,6 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1125
1125
|
--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #{$ds-color-border-secondary-default});
|
|
1126
1126
|
--ds-auro-input-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
|
|
1127
1127
|
--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #{$ds-color-text-ui-focus-default});
|
|
1128
|
-
--ds-auro-input-help-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
|
|
1129
1128
|
--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
|
|
1130
1129
|
--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|
|
1131
1130
|
--ds-auro-input-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|