@aurodesignsystem/auro-formkit 2.0.0-beta.3 → 2.0.0-beta.30
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/111ea1a7d5e86aac-meta.json +1 -0
- package/.turbo/cache/111ea1a7d5e86aac.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/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/30fda91ef83677e4.tar.zst +0 -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/3d05fb6e2d593287-meta.json +1 -0
- package/.turbo/cache/3d05fb6e2d593287.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
- package/.turbo/cache/3f1b3db13386acdc.tar.zst +0 -0
- package/.turbo/cache/430c124614841675-meta.json +1 -0
- package/.turbo/cache/430c124614841675.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
- package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
- package/.turbo/cache/4e9c9a5dd62c50a4.tar.zst +0 -0
- package/.turbo/cache/559b052d8150dd3f-meta.json +1 -0
- package/.turbo/cache/559b052d8150dd3f.tar.zst +0 -0
- package/.turbo/cache/5748467be5ef9c07-meta.json +1 -0
- package/.turbo/cache/5748467be5ef9c07.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
- package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
- package/.turbo/cache/5a78bd07d371dd47-meta.json +1 -0
- package/.turbo/cache/5a78bd07d371dd47.tar.zst +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
- package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
- package/.turbo/cache/63f832b4947ecf9d-meta.json +1 -0
- package/.turbo/cache/63f832b4947ecf9d.tar.zst +0 -0
- package/.turbo/cache/6a5dc307d8619c06-meta.json +1 -0
- package/.turbo/cache/6a5dc307d8619c06.tar.zst +0 -0
- package/.turbo/cache/6ed764f60d634993-meta.json +1 -0
- package/.turbo/cache/6ed764f60d634993.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -0
- package/.turbo/cache/753b119a389426be.tar.zst +0 -0
- package/.turbo/cache/80ece7354266e40f-meta.json +1 -0
- package/.turbo/cache/80ece7354266e40f.tar.zst +0 -0
- package/.turbo/cache/846bade4a9a3eba9-meta.json +1 -0
- package/.turbo/cache/846bade4a9a3eba9.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/8cd5a06a396632cf-meta.json +1 -0
- package/.turbo/cache/8cd5a06a396632cf.tar.zst +0 -0
- package/.turbo/cache/970ba88c4c4092cd-meta.json +1 -0
- package/.turbo/cache/970ba88c4c4092cd.tar.zst +0 -0
- package/.turbo/cache/9db5147195c32672-meta.json +1 -0
- package/.turbo/cache/9db5147195c32672.tar.zst +0 -0
- package/.turbo/cache/a002bc214179bedc-meta.json +1 -0
- package/.turbo/cache/a002bc214179bedc.tar.zst +0 -0
- package/.turbo/cache/a02c2bc2a4638817-meta.json +1 -0
- package/.turbo/cache/a02c2bc2a4638817.tar.zst +0 -0
- package/.turbo/cache/a7004571f6307848-meta.json +1 -0
- package/.turbo/cache/a7004571f6307848.tar.zst +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
- package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
- package/.turbo/cache/a8307dcc447702ad-meta.json +1 -0
- package/.turbo/cache/a8307dcc447702ad.tar.zst +0 -0
- package/.turbo/cache/a9dc1069fcd851ff-meta.json +1 -0
- package/.turbo/cache/a9dc1069fcd851ff.tar.zst +0 -0
- package/.turbo/cache/b4de0d19f9eeaceb-meta.json +1 -0
- package/.turbo/cache/b4de0d19f9eeaceb.tar.zst +0 -0
- package/.turbo/cache/b682d4cec0741fa1-meta.json +1 -0
- package/.turbo/cache/b682d4cec0741fa1.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
- package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
- package/.turbo/cache/c27d47351838ceb1-meta.json +1 -0
- package/.turbo/cache/c27d47351838ceb1.tar.zst +0 -0
- package/.turbo/cache/c7d435ade46f3c1e-meta.json +1 -0
- package/.turbo/cache/c7d435ade46f3c1e.tar.zst +0 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
- package/.turbo/cache/cbcd9db8ac9a2d52.tar.zst +0 -0
- package/.turbo/cache/d0c4bf3a3a3840fd-meta.json +1 -0
- package/.turbo/cache/d0c4bf3a3a3840fd.tar.zst +0 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
- package/.turbo/cache/d8ecdff9c663c38e.tar.zst +0 -0
- package/.turbo/cache/de494df6a3006101-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
- package/.turbo/cache/e06dedab4c19ae2a-meta.json +1 -0
- package/.turbo/cache/e06dedab4c19ae2a.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/e7ed9e7056d80938.tar.zst +0 -0
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
- package/.turbo/cache/e9ff93179777aa26.tar.zst +0 -0
- package/.turbo/cache/f6220a9af06bee74-meta.json +1 -0
- package/.turbo/cache/f6220a9af06bee74.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
- package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +276 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +429 -89
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +429 -89
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +429 -89
- package/components/checkbox/package.json +4 -3
- package/components/checkbox/src/auro-checkbox-group.js +62 -23
- package/components/checkbox/src/auro-checkbox.js +30 -9
- 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$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +23 -28
- package/components/combobox/demo/api.md +27 -25
- package/components/combobox/demo/api.min.js +3681 -943
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3678 -940
- package/components/combobox/dist/auro-combobox.d.ts +74 -79
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +3047 -623
- package/components/combobox/dist/inputVersion.d.ts +3 -0
- package/components/combobox/dist/inputVersion.d.ts.map +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +11 -12
- package/components/combobox/src/auro-combobox.js +215 -159
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
- package/components/{input → counter}/.turbo/turbo-build$colon$version.log +5 -5
- package/components/counter/.turbo/turbo-build.log +338 -14
- package/components/counter/.turbo/turbo-bundler.log +13 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +107 -1014
- package/components/counter/demo/api.min.js +1815 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +292 -0
- package/components/counter/demo/index.min.js +1842 -18
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +115 -5
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +82 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +1815 -36
- package/components/{input/dist/styles/helpText-css.d.ts → counter/dist/styles/color-css.d.ts} +1 -1
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +11 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +236 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +285 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +12 -1
- package/components/counter/src/styles/counter-group.scss +12 -1
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper-color.css +4 -0
- package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +52 -53
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +85 -57
- package/components/datepicker/demo/api.min.js +1643 -693
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1643 -693
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +101 -73
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +1643 -693
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/package.json +5 -5
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +170 -82
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- 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/datepicker/src/utilitiesCalendarRender.js +2 -2
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -5
- package/components/dropdown/demo/api.min.js +467 -122
- package/components/dropdown/demo/index.min.js +467 -122
- package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +467 -122
- package/components/dropdown/package.json +4 -3
- package/components/dropdown/src/auro-dropdown.js +157 -43
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- 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 +4 -6
- package/components/dropdown/src/styles/style.scss +5 -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$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +28 -34
- package/components/form/demo/api.min.js +405 -25
- package/components/form/demo/index.min.js +405 -25
- package/components/form/demo/registerDemoDeps.js +6 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +160 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +405 -25
- package/components/form/package.json +6 -4
- package/components/form/src/auro-form.js +402 -25
- 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 +54 -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 +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +3 -0
- 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 +127 -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 +22 -32
- package/components/input/.turbo/turbo-build.log +33 -46
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +9 -15
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +122 -288
- package/components/input/demo/api.min.js +653 -195
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +653 -195
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +160 -82
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +653 -195
- package/components/input/package.json +4 -3
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/base-input.js +246 -76
- 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/input-css.js +1 -1
- package/components/input/src/styles/input.css +2 -2
- package/components/input/src/styles/input.scss +2 -2
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +2 -9
- 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$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +22 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +626 -312
- package/components/menu/demo/index.min.js +624 -310
- package/components/menu/dist/auro-menu-utils.d.ts +43 -0
- package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
- package/components/menu/dist/auro-menu.d.ts +97 -81
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/index.d.ts +1 -0
- package/components/menu/dist/index.js +625 -311
- package/components/menu/package.json +3 -3
- package/components/menu/src/auro-menu-utils.js +131 -0
- package/components/menu/src/auro-menu.js +492 -303
- package/components/menu/src/index.js +7 -0
- package/components/menu/src/styles/color-menuoption-css.js +1 -1
- package/components/menu/src/styles/color-menuoption.css +3 -0
- package/components/menu/src/styles/color-menuoption.scss +4 -0
- package/components/menu/src/styles/style-menu.css +1 -1
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/api.min.js +350 -61
- package/components/radio/demo/index.min.js +350 -61
- package/components/radio/dist/auro-radio-group.d.ts +5 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +350 -61
- package/components/radio/package.json +4 -3
- package/components/radio/src/auro-radio-group.js +14 -5
- 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$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +32 -33
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/README.md +21 -42
- package/components/select/demo/api.md +86 -111
- package/components/select/demo/api.min.js +2961 -701
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +2960 -700
- package/components/select/dist/auro-select.d.ts +77 -48
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/dropdownVersion.d.ts +3 -0
- package/components/select/dist/dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.js +2421 -462
- package/components/select/package.json +5 -5
- package/components/select/src/auro-select.js +157 -120
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +12 -4
- package/components/select/src/styles/style.scss +22 -5
- package/package.json +27 -23
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/packages/form-validation/src/validation.js +79 -20
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +42 -9
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1ab37ce15d9be440-meta.json +0 -1
- package/.turbo/cache/1ab37ce15d9be440.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/2110a4d14e0d11b2-meta.json +0 -1
- package/.turbo/cache/2110a4d14e0d11b2.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/2fd056afdf4eb39d-meta.json +0 -1
- package/.turbo/cache/2fd056afdf4eb39d.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a63cbfecf0f78586-meta.json +0 -1
- package/.turbo/cache/a63cbfecf0f78586.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/b2c66328fdd78093-meta.json +0 -1
- package/.turbo/cache/b2c66328fdd78093.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d39e6ef95ebc4cc0-meta.json +0 -1
- package/.turbo/cache/d39e6ef95ebc4cc0.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f411e2deb0676959-meta.json +0 -1
- package/.turbo/cache/f411e2deb0676959.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- 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-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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* eslint-disable no-underscore-dangle,max-lines */
|
|
2
|
+
|
|
1
3
|
// Copyright (c) 2024 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
4
|
// See LICENSE in the project root for license information.
|
|
3
5
|
|
|
@@ -6,16 +8,23 @@
|
|
|
6
8
|
// If using litElement base class
|
|
7
9
|
import { LitElement, html } from "lit";
|
|
8
10
|
|
|
9
|
-
// If using auroElement base class
|
|
10
|
-
// See instructions for importing auroElement base class https://git.io/JULq4
|
|
11
|
-
// import { LitElement, html } from "lit";
|
|
12
|
-
// import AuroElement from '@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement';
|
|
13
|
-
|
|
14
|
-
// Import touch detection lib
|
|
15
11
|
import styleCss from "./styles/style-css.js";
|
|
16
12
|
|
|
17
13
|
import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
|
|
18
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @typedef {Object} FormStateMember - The form state member.
|
|
17
|
+
* @property {string | number | boolean | string[] | null} value - The value of the form element.
|
|
18
|
+
* @property {ValidityState} validity - The validity state of the form element, stored when fired from the form element.
|
|
19
|
+
* @property {boolean} required - Whether the form element is required or not.
|
|
20
|
+
* @property {HTMLElement} element - Whether the form element is required or not.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @typedef {Object.<string, FormStateMember>} FormState - The form state.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
|
|
19
28
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
20
29
|
/**
|
|
21
30
|
* The auro-form element provides users a way to ... (it would be great if you fill this out).
|
|
@@ -26,26 +35,338 @@ import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/util
|
|
|
26
35
|
|
|
27
36
|
// build the component class
|
|
28
37
|
export class AuroForm extends LitElement {
|
|
29
|
-
// constructor() {
|
|
30
|
-
// super();
|
|
31
|
-
// }
|
|
32
|
-
|
|
33
|
-
// This function is to define props used within the scope of this component
|
|
34
|
-
// Be sure to review https://lit.dev/docs/components/properties/
|
|
35
|
-
// to understand how to use reflected attributes with your property settings.
|
|
36
38
|
static get properties() {
|
|
37
39
|
return {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
formState: { attribute: false },
|
|
41
|
+
_validity: { attribute: false },
|
|
42
|
+
_isInitialState: { attribute: false },
|
|
43
|
+
_elements: { attribute: false },
|
|
44
|
+
_submitElements: { attribute: false },
|
|
45
|
+
_resetElements: { attribute: false },
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
48
|
|
|
49
|
+
constructor() {
|
|
50
|
+
super();
|
|
51
|
+
|
|
52
|
+
/** @type {FormState} */
|
|
53
|
+
this.formState = {};
|
|
54
|
+
|
|
55
|
+
/** @type {"valid" | "invalid" | null} */
|
|
56
|
+
this._validity = null;
|
|
57
|
+
this._isInitialState = true;
|
|
58
|
+
|
|
59
|
+
/** @type {(HTMLElement & {reset: () => void})[]} */
|
|
60
|
+
this._elements = [];
|
|
61
|
+
|
|
62
|
+
/** @type {HTMLButtonElement[]} */
|
|
63
|
+
this._submitelements = [];
|
|
64
|
+
|
|
65
|
+
/** @type {HTMLButtonElement[]} */
|
|
66
|
+
this._resetElements = [];
|
|
67
|
+
|
|
68
|
+
// Bind listeners
|
|
69
|
+
this.reset = this.reset.bind(this);
|
|
70
|
+
this.submit = this.submit.bind(this);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Note: button is NOT considered a form element in this context
|
|
74
|
+
// as it does not have a .value property.
|
|
75
|
+
static get formElementTags() {
|
|
76
|
+
return [
|
|
77
|
+
'auro-input',
|
|
78
|
+
'auro-select',
|
|
79
|
+
'auro-datepicker',
|
|
80
|
+
'auro-checkbox-group',
|
|
81
|
+
];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Compare tag name with element to identify it (for API purposes).
|
|
86
|
+
* @param {string} elementTag - The HTML tag name like `auro-datepicker`.
|
|
87
|
+
* @param {HTMLElement} element - The actual HTML element to compare.
|
|
88
|
+
* @returns {boolean}
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
_isElementTag(elementTag, element) {
|
|
92
|
+
return element.tagName.toLowerCase() === elementTag || element.hasAttribute(elementTag.toLowerCase());
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Shared code for determining if an element is something we care about (submit, form element, etc.).
|
|
97
|
+
* @param {string[]} collection - The array to use for tag name search.
|
|
98
|
+
* @param {HTMLElement} element - The element to compare against the master list.
|
|
99
|
+
* @returns {boolean}
|
|
100
|
+
* @private
|
|
101
|
+
*/
|
|
102
|
+
_isInElementCollection(collection, element) {
|
|
103
|
+
return collection.some((elementTag) => this._isElementTag(elementTag, element));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Check if the tag name is a form element.
|
|
108
|
+
* @param {HTMLElement} element - The element to check (attr or tag name).
|
|
109
|
+
* @returns {boolean}
|
|
110
|
+
*/
|
|
111
|
+
isFormElement(element) {
|
|
112
|
+
return this._isInElementCollection(AuroForm.formElementTags, element);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static get buttonElementTags() {
|
|
116
|
+
return [
|
|
117
|
+
'button',
|
|
118
|
+
'auro-button',
|
|
119
|
+
];
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Check if the tag name is a button element.
|
|
124
|
+
* @param {HTMLElement} element - The element to check.
|
|
125
|
+
* @returns {boolean}
|
|
126
|
+
*/
|
|
127
|
+
isButtonElement(element) {
|
|
128
|
+
return this._isInElementCollection(AuroForm.buttonElementTags, element);
|
|
129
|
+
}
|
|
130
|
+
|
|
45
131
|
static get styles() {
|
|
46
132
|
return [styleCss];
|
|
47
133
|
}
|
|
48
134
|
|
|
135
|
+
/**
|
|
136
|
+
* Reduce the form value into a key-value pair.
|
|
137
|
+
*
|
|
138
|
+
* NOTE: form keys use `name` first, and `id` second if `name` is not available.
|
|
139
|
+
* This follows standard HTML5 form behavior - submission uses `name` by default when creating
|
|
140
|
+
* the FormData object.
|
|
141
|
+
*
|
|
142
|
+
* @returns {Record<string, string | number | boolean | string[] | null>} The form value.
|
|
143
|
+
*/
|
|
144
|
+
get value() {
|
|
145
|
+
return Object.keys(this.formState).reduce((acc, key) => {
|
|
146
|
+
acc[key] = this.formState[key].value;
|
|
147
|
+
return acc;
|
|
148
|
+
}, {});
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Getter for internal _submitElements.
|
|
153
|
+
* @returns {HTMLButtonElement[]}
|
|
154
|
+
*/
|
|
155
|
+
get submitElements() {
|
|
156
|
+
return this._submitelements;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Getter for internal _resetElements.
|
|
161
|
+
* @returns {HTMLButtonElement[]}
|
|
162
|
+
*/
|
|
163
|
+
get resetElements() {
|
|
164
|
+
return this._resetElements;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Infer validity status based on current formState.
|
|
169
|
+
* @private
|
|
170
|
+
*/
|
|
171
|
+
_calculateValidity() {
|
|
172
|
+
if (this.isInitialState) {
|
|
173
|
+
this._validity = null;
|
|
174
|
+
} else {
|
|
175
|
+
// go through validity states and return the first invalid state (if any)
|
|
176
|
+
const invalidKey = Object.keys(this.formState).
|
|
177
|
+
find((key) => {
|
|
178
|
+
const formKey = this.formState[key];
|
|
179
|
+
// these are NOT extra parens
|
|
180
|
+
// eslint-disable-next-line no-extra-parens
|
|
181
|
+
return (formKey.validity !== 'valid' && formKey.required) || (formKey.validity !== 'valid' && formKey.value !== null);
|
|
182
|
+
});
|
|
183
|
+
this._validity = invalidKey ? 'invalid' : 'valid';
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Current validity state of the form, based on form element events.
|
|
189
|
+
* @returns {"valid" | "invalid"}
|
|
190
|
+
*/
|
|
191
|
+
get validity() {
|
|
192
|
+
// Force calculate, as sometimes validity won't reflect
|
|
193
|
+
// the latest value while in-between renders.
|
|
194
|
+
this._calculateValidity();
|
|
195
|
+
return this._validity;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
_setInitialState() {
|
|
199
|
+
const anyTainted = Object.keys(this.formState).some((key) => this.formState[key].validity !== null || this.formState[key].value !== null);
|
|
200
|
+
|
|
201
|
+
this._isInitialState = !anyTainted;
|
|
202
|
+
|
|
203
|
+
this._resetElements.forEach((resetElement) => {
|
|
204
|
+
if (resetElement.hasAttribute("disabled")) {
|
|
205
|
+
resetElement.removeAttribute("disabled");
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Mostly internal way to determine if a form is in the initial state.
|
|
212
|
+
* @returns {boolean}
|
|
213
|
+
*/
|
|
214
|
+
get isInitialState() {
|
|
215
|
+
return this._isInitialState;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
setDisabledStateOnButtons() {
|
|
219
|
+
this._resetElements.forEach((element) => {
|
|
220
|
+
if (this.isInitialState) {
|
|
221
|
+
element.setAttribute("disabled", "");
|
|
222
|
+
} else {
|
|
223
|
+
element.removeAttribute("disabled");
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
this._submitelements.forEach((element) => {
|
|
228
|
+
if (this.isInitialState || this.validity !== "valid") {
|
|
229
|
+
element.setAttribute("disabled", "");
|
|
230
|
+
} else {
|
|
231
|
+
element.removeAttribute("disabled");
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Construct the query strings from elements, append them together, execute, and return the NodeList.
|
|
238
|
+
* @returns {NodeList}
|
|
239
|
+
*/
|
|
240
|
+
queryAuroElements() {
|
|
241
|
+
const queries = [
|
|
242
|
+
[
|
|
243
|
+
AuroForm.formElementTags,
|
|
244
|
+
'[name]'
|
|
245
|
+
],
|
|
246
|
+
[
|
|
247
|
+
AuroForm.buttonElementTags,
|
|
248
|
+
'[type=submit]'
|
|
249
|
+
],
|
|
250
|
+
[
|
|
251
|
+
AuroForm.buttonElementTags,
|
|
252
|
+
'[type=reset]'
|
|
253
|
+
]
|
|
254
|
+
];
|
|
255
|
+
|
|
256
|
+
return this.querySelectorAll(queries.flatMap(([
|
|
257
|
+
tags,
|
|
258
|
+
extraAttributes
|
|
259
|
+
]) => tags.map((tag) => `${tag}${extraAttributes}, [${tag}]${extraAttributes}`)).join(', '));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Store an element in state and on the _elements array.
|
|
264
|
+
* @param {HTMLElement} element - The element to add to our state.
|
|
265
|
+
* @private
|
|
266
|
+
*/
|
|
267
|
+
_addElementToState(element) {
|
|
268
|
+
const targetName = element.getAttribute('name');
|
|
269
|
+
if (this.formState[targetName]) {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
this.formState[targetName] = {
|
|
274
|
+
value: element.getAttribute('value'),
|
|
275
|
+
validity: element.validity || null,
|
|
276
|
+
required: element.hasAttribute('required'),
|
|
277
|
+
// element
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
this._elements.push(element);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Initialize (or reinitialize) the form state.
|
|
285
|
+
*/
|
|
286
|
+
initializeState() {
|
|
287
|
+
this.formState = {};
|
|
288
|
+
this._submitelements = [];
|
|
289
|
+
this._resetElements = [];
|
|
290
|
+
this._elements = [];
|
|
291
|
+
|
|
292
|
+
this.queryAuroElements().forEach((element) => {
|
|
293
|
+
if (this.isFormElement(element)) {
|
|
294
|
+
this._addElementToState(element);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
if (this.isButtonElement(element) && element.getAttribute('type') === 'submit') {
|
|
298
|
+
element.removeEventListener('click', this.submit);
|
|
299
|
+
element.addEventListener('click', this.submit);
|
|
300
|
+
|
|
301
|
+
// Keep record of this element, so we can enable/disable as needed
|
|
302
|
+
this._submitelements.push(element);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (this.isButtonElement(element) && element.getAttribute('type') === 'reset') {
|
|
306
|
+
// Keep record of this element, so we can enable/disable as needed
|
|
307
|
+
element.removeEventListener('click', this.reset);
|
|
308
|
+
element.addEventListener('click', this.reset);
|
|
309
|
+
|
|
310
|
+
this._resetElements.push(element);
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
|
|
314
|
+
// Set enabled/disabled states on buttons
|
|
315
|
+
this.setDisabledStateOnButtons();
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Reset fires an event called `reset` - just as you would expect from a normal form.
|
|
320
|
+
*/
|
|
321
|
+
reset() {
|
|
322
|
+
const previousValue = this.value;
|
|
323
|
+
this._elements.forEach((element) => element.reset());
|
|
324
|
+
|
|
325
|
+
this.updateComplete.then(() => {
|
|
326
|
+
this.initializeState();
|
|
327
|
+
// Initial state must come first - validity can only be null if initial state is true
|
|
328
|
+
this._setInitialState();
|
|
329
|
+
this._calculateValidity();
|
|
330
|
+
|
|
331
|
+
// Wait for the above changes to run through, then disable submit/reset
|
|
332
|
+
this.updateComplete.then(() => {
|
|
333
|
+
this.setDisabledStateOnButtons();
|
|
334
|
+
|
|
335
|
+
this.dispatchEvent(new CustomEvent('reset', {
|
|
336
|
+
bubbles: true,
|
|
337
|
+
composed: true,
|
|
338
|
+
detail: {
|
|
339
|
+
previousValue
|
|
340
|
+
}
|
|
341
|
+
}));
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Submit fires an event called `submit` - just as you would expect from a normal form.
|
|
348
|
+
*/
|
|
349
|
+
submit() {
|
|
350
|
+
// Steps required to get out of beta:
|
|
351
|
+
// 1. Submit triggers a forced validation on ALL elements
|
|
352
|
+
// 2. Wait for validation to complete (this.updateComplete.then or similar)
|
|
353
|
+
// 3. If still valid, go ahead with submit.
|
|
354
|
+
this._elements.forEach((element) => {
|
|
355
|
+
if (element.tagName.toLowerCase() !== "auro-datepicker") {
|
|
356
|
+
// Next line currently does NOT force
|
|
357
|
+
element.validate();
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
this.dispatchEvent(new CustomEvent('submit', {
|
|
362
|
+
bubbles: true,
|
|
363
|
+
composed: true,
|
|
364
|
+
detail: {
|
|
365
|
+
value: this.value
|
|
366
|
+
}
|
|
367
|
+
}));
|
|
368
|
+
}
|
|
369
|
+
|
|
49
370
|
/**
|
|
50
371
|
* This will register this element with the browser.
|
|
51
372
|
* @param {string} [name="auro-form"] - The name of element that you want to register to.
|
|
@@ -58,17 +379,73 @@ export class AuroForm extends LitElement {
|
|
|
58
379
|
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroForm);
|
|
59
380
|
}
|
|
60
381
|
|
|
61
|
-
|
|
62
|
-
|
|
382
|
+
firstUpdated(_changedProperties) {
|
|
383
|
+
super.firstUpdated(_changedProperties);
|
|
384
|
+
|
|
385
|
+
const slot = this.shadowRoot.querySelector('slot');
|
|
386
|
+
|
|
387
|
+
// Update the form state when a form element is detected
|
|
388
|
+
slot.addEventListener('input', (event) => {
|
|
389
|
+
const targetName = event.target.getAttribute("name");
|
|
390
|
+
if (!this.isFormElement(event.target) || !targetName) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// Occasionally, a form element will emit their event before the form can read data about the form element.
|
|
395
|
+
if (!this.formState[targetName] && this.isFormElement(event.target)) {
|
|
396
|
+
this._addElementToState(event.target);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// Check special input types and handle their edge cases
|
|
400
|
+
if (this._isElementTag('auro-datepicker', event.target) && event.target.hasAttribute('range')) {
|
|
401
|
+
this.formState[targetName].value = event.target.values;
|
|
402
|
+
this.requestUpdate('formState');
|
|
403
|
+
} else {
|
|
404
|
+
this.formState[targetName].value = event.target.value;
|
|
405
|
+
this.requestUpdate('formState');
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
slot.addEventListener('auroFormElement-validated', (event) => {
|
|
410
|
+
const targetName = event.target.getAttribute("name");
|
|
411
|
+
if (!this.isFormElement(event.target) || !targetName) {
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
if (!this.formState[targetName]) {
|
|
416
|
+
this._addElementToState(event.target);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
this.formState[targetName].validity = event.detail.validity;
|
|
420
|
+
this._calculateValidity();
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
updated(_changedProperties) {
|
|
425
|
+
super.updated(_changedProperties);
|
|
63
426
|
|
|
64
|
-
|
|
427
|
+
if (_changedProperties.has("formState")) {
|
|
428
|
+
this._setInitialState();
|
|
429
|
+
|
|
430
|
+
// Automatically infer disabled state now
|
|
431
|
+
this.setDisabledStateOnButtons();
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
if (_changedProperties.has("_validity")) {
|
|
435
|
+
this._setInitialState();
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
onSlotChange() {
|
|
440
|
+
this.initializeState();
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
65
444
|
render() {
|
|
66
445
|
return html`
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<slot></slot>
|
|
71
|
-
</div>
|
|
446
|
+
<form>
|
|
447
|
+
<slot @slotchange="${this.onSlotChange}"></slot>
|
|
448
|
+
</form>
|
|
72
449
|
`;
|
|
73
450
|
}
|
|
74
451
|
}
|
|
@@ -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
|
+
[36m
|
|
44
|
+
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
45
|
+
[32mcreated [1mdist[22m in [1m243ms[22m[39m
|
|
46
|
+
|
|
47
|
+
> @aurodesignsystem/auro-helptext@1.0.0 types
|
|
48
|
+
> tsc --project tsconfig.json
|
|
49
|
+
|
|
@@ -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,54 @@
|
|
|
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
|
+
/**
|
|
44
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
45
|
+
*
|
|
46
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
47
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
private checkSlotsForContent;
|
|
51
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
52
|
+
}
|
|
53
|
+
import { LitElement } from "lit";
|
|
54
|
+
//# 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,mCAMC;IAJG,eAA6C;IAMjD;;;;;;OAMG;IACH,6BAsBC;IAGD,+CAMC;CACF;2BAzHgC,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";6BAA6B,oBAAoB"}
|