@aurodesignsystem/auro-formkit 2.0.0-beta.8 → 2.0.0-beta.9
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/012997da408d7381-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -1
- package/.turbo/cache/114f70925d97840c-meta.json +1 -0
- package/.turbo/cache/114f70925d97840c.tar.zst +0 -0
- package/.turbo/cache/144803363093af6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -1
- package/.turbo/cache/19afa09c8e45c25d-meta.json +1 -0
- package/.turbo/cache/19afa09c8e45c25d.tar.zst +0 -0
- package/.turbo/cache/20a17be1e896dc95-meta.json +1 -0
- package/.turbo/cache/20a17be1e896dc95.tar.zst +0 -0
- package/.turbo/cache/2624bedf18a03ab1-meta.json +1 -0
- package/.turbo/cache/2624bedf18a03ab1.tar.zst +0 -0
- package/.turbo/cache/2706814699cff63a-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -1
- package/.turbo/cache/29d704afd7578cda-meta.json +1 -0
- package/.turbo/cache/2edcc8b31cd713fc-meta.json +1 -0
- package/.turbo/cache/2edcc8b31cd713fc.tar.zst +0 -0
- package/.turbo/cache/318a9085a92f2d32-meta.json +1 -0
- package/.turbo/cache/326d9e4692d61af1-meta.json +1 -0
- package/.turbo/cache/326d9e4692d61af1.tar.zst +0 -0
- package/.turbo/cache/36962b1c4c89a3a2-meta.json +1 -0
- package/.turbo/cache/{0ca9c5ccf3e90704.tar.zst → 36962b1c4c89a3a2.tar.zst} +0 -0
- package/.turbo/cache/3cd8fc5f388323db-meta.json +1 -1
- package/.turbo/cache/3f8ea42b850fd7b1-meta.json +1 -0
- package/.turbo/cache/3f8ea42b850fd7b1.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -1
- package/.turbo/cache/457af7906413d2ff-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -1
- package/.turbo/cache/508f2fcc60e5046f-meta.json +1 -0
- package/.turbo/cache/508f2fcc60e5046f.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -1
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
- package/.turbo/cache/5567d6b2fdae56a9-meta.json +1 -0
- package/.turbo/cache/5a6290b52b84f5ef-meta.json +1 -0
- package/.turbo/cache/5a6290b52b84f5ef.tar.zst +0 -0
- package/.turbo/cache/5aadae8d3f94202e-meta.json +1 -1
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
- package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -1
- package/.turbo/cache/64ac8d6a4669ba20-meta.json +1 -0
- package/.turbo/cache/64ac8d6a4669ba20.tar.zst +0 -0
- package/.turbo/cache/706649b429184693-meta.json +1 -0
- package/.turbo/cache/706649b429184693.tar.zst +0 -0
- package/.turbo/cache/71dbeaf0706c12fe-meta.json +1 -1
- package/.turbo/cache/7445df6e7feed2a7-meta.json +1 -1
- package/.turbo/cache/769652d1b874d7cf-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
- package/.turbo/cache/7c4645de5001b034-meta.json +1 -0
- package/.turbo/cache/7c4645de5001b034.tar.zst +0 -0
- package/.turbo/cache/7e3244d67de2d977-meta.json +1 -0
- package/.turbo/cache/7e3244d67de2d977.tar.zst +0 -0
- package/.turbo/cache/7f3b42ddf36d0158-meta.json +1 -1
- package/.turbo/cache/804ad767c7ba2fc3-meta.json +1 -0
- package/.turbo/cache/8366405184d123d2-meta.json +1 -0
- package/.turbo/cache/8366405184d123d2.tar.zst +0 -0
- package/.turbo/cache/85cc23a2de6b1009-meta.json +1 -0
- package/.turbo/cache/99936b010f1533f9-meta.json +1 -0
- package/.turbo/cache/{dc6fbe2a8d5b9d9b.tar.zst → 99936b010f1533f9.tar.zst} +0 -0
- package/.turbo/cache/9a9b4e449cd84be4-meta.json +1 -1
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -1
- package/.turbo/cache/a275406512608e45-meta.json +1 -1
- package/.turbo/cache/a54b4d75b5d265de-meta.json +1 -0
- package/.turbo/cache/b280ed4daaf15dcb-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -1
- package/.turbo/cache/c47b8032d18fc452-meta.json +1 -0
- package/.turbo/cache/c47b8032d18fc452.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
- package/.turbo/cache/d3a05e38449c9b24-meta.json +1 -1
- package/.turbo/cache/d44acd685455b288-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
- package/.turbo/cache/d683a7d23b0d7073-meta.json +1 -0
- package/.turbo/cache/d683a7d23b0d7073.tar.zst +0 -0
- package/.turbo/cache/d7caaacb8114772f-meta.json +1 -0
- package/.turbo/cache/d7caaacb8114772f.tar.zst +0 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
- package/.turbo/cache/db4ea5071b44ee8c-meta.json +1 -1
- package/.turbo/cache/de44707e76bdd80c-meta.json +1 -0
- package/.turbo/cache/de44707e76bdd80c.tar.zst +0 -0
- package/.turbo/cache/e03997efe5adad43-meta.json +1 -0
- package/.turbo/cache/e1aa836f0cc2d7c5-meta.json +1 -0
- package/.turbo/cache/e1aa836f0cc2d7c5.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
- package/.turbo/cache/e820cc8f220a05f3-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
- package/.turbo/cache/f3f4ddfd3230e489-meta.json +1 -0
- package/.turbo/cache/f3f4ddfd3230e489.tar.zst +0 -0
- package/.turbo/cache/fdaf484b1ec4b5ed-meta.json +1 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +20 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +79 -20
- package/components/checkbox/demo/index.min.js +79 -20
- package/components/checkbox/dist/index.js +79 -20
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/.turbo/turbo-bundler.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +160 -42
- package/components/combobox/demo/index.min.js +160 -42
- package/components/combobox/dist/index.js +158 -40
- package/components/counter/.turbo/turbo-build$colon$sass.log +172 -0
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +278 -4
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/.turbo/turbo-sass$colon$render.log +36 -0
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +98 -1016
- package/components/counter/demo/api.min.js +1670 -32
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +194 -0
- package/components/counter/demo/index.min.js +1702 -19
- 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 +77 -6
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter.d.ts +78 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/counter/dist/formkit/auro-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 +1670 -32
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- 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-group-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-color-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 +8 -2
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +150 -21
- package/components/counter/src/auro-counter.js +272 -12
- package/components/counter/src/formkit/auro-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-color-css.js +2 -0
- package/components/counter/src/styles/counter-group-color.css +4 -0
- package/components/counter/src/styles/counter-group-color.scss +19 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +13 -1
- package/components/counter/src/styles/counter-group.scss +14 -1
- 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.log +2 -2
- package/components/datepicker/.turbo/turbo-bundler.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +158 -40
- package/components/datepicker/demo/index.min.js +158 -40
- package/components/datepicker/dist/index.js +158 -40
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +2 -2
- package/components/dropdown/README.md +1 -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/input/.turbo/turbo-build.log +2 -2
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +79 -20
- package/components/input/demo/index.min.js +79 -20
- package/components/input/dist/index.js +79 -20
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +2 -2
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +79 -20
- package/components/radio/demo/index.min.js +79 -20
- package/components/radio/dist/index.js +79 -20
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/.turbo/turbo-bundler.log +6 -3
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +79 -20
- package/components/select/demo/index.min.js +79 -20
- package/components/select/dist/index.js +79 -20
- package/package.json +1 -1
- 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/cache/06845874cc82b186-meta.json +0 -1
- package/.turbo/cache/06845874cc82b186.tar.zst +0 -0
- package/.turbo/cache/0a96f136af026d57-meta.json +0 -1
- package/.turbo/cache/0a96f136af026d57.tar.zst +0 -0
- package/.turbo/cache/0c9ee13a7c863709-meta.json +0 -1
- package/.turbo/cache/0ca9c5ccf3e90704-meta.json +0 -1
- package/.turbo/cache/1a8d6e4cab38121a-meta.json +0 -1
- package/.turbo/cache/1ce32edb29492636-meta.json +0 -1
- package/.turbo/cache/1ce32edb29492636.tar.zst +0 -0
- package/.turbo/cache/2ec1b6d23563659e-meta.json +0 -1
- package/.turbo/cache/3afc5b2ea7c1bf51-meta.json +0 -1
- package/.turbo/cache/3afc5b2ea7c1bf51.tar.zst +0 -0
- package/.turbo/cache/40de011abc31c0cf-meta.json +0 -1
- package/.turbo/cache/40de011abc31c0cf.tar.zst +0 -0
- package/.turbo/cache/426c825f57054f5f-meta.json +0 -1
- package/.turbo/cache/426c825f57054f5f.tar.zst +0 -0
- package/.turbo/cache/4524aae614598308-meta.json +0 -1
- package/.turbo/cache/4524aae614598308.tar.zst +0 -0
- package/.turbo/cache/45ea3e30ae949d53-meta.json +0 -1
- package/.turbo/cache/45ea3e30ae949d53.tar.zst +0 -0
- package/.turbo/cache/577d86e4072c01f5-meta.json +0 -1
- package/.turbo/cache/577d86e4072c01f5.tar.zst +0 -0
- package/.turbo/cache/5d770c787aa78d4d-meta.json +0 -1
- package/.turbo/cache/5d770c787aa78d4d.tar.zst +0 -0
- package/.turbo/cache/624bf5350aacae42-meta.json +0 -1
- package/.turbo/cache/68060c79df03f45a-meta.json +0 -1
- package/.turbo/cache/68060c79df03f45a.tar.zst +0 -0
- package/.turbo/cache/68e3afb31feab4e9-meta.json +0 -1
- package/.turbo/cache/6a1c28febca6163f-meta.json +0 -1
- package/.turbo/cache/6bc4e2d881af6ffb-meta.json +0 -1
- package/.turbo/cache/6bc4e2d881af6ffb.tar.zst +0 -0
- package/.turbo/cache/6c8ea74dc3b07640-meta.json +0 -1
- package/.turbo/cache/7a6ef918375d4010-meta.json +0 -1
- package/.turbo/cache/7a6ef918375d4010.tar.zst +0 -0
- package/.turbo/cache/7da23884069695e6-meta.json +0 -1
- package/.turbo/cache/7da23884069695e6.tar.zst +0 -0
- package/.turbo/cache/83e1029b14af6545-meta.json +0 -1
- package/.turbo/cache/8410cd8eeadc3af7-meta.json +0 -1
- package/.turbo/cache/98936c69a55361fc-meta.json +0 -1
- package/.turbo/cache/a3db8f78e018a955-meta.json +0 -1
- package/.turbo/cache/a3db8f78e018a955.tar.zst +0 -0
- package/.turbo/cache/b91d2888e699c76a-meta.json +0 -1
- package/.turbo/cache/b91d2888e699c76a.tar.zst +0 -0
- package/.turbo/cache/bdc6aadfdbb6feb9-meta.json +0 -1
- package/.turbo/cache/c114d428251f56a5-meta.json +0 -1
- package/.turbo/cache/c114d428251f56a5.tar.zst +0 -0
- package/.turbo/cache/c7338727efbc457a-meta.json +0 -1
- package/.turbo/cache/c7338727efbc457a.tar.zst +0 -0
- package/.turbo/cache/cf235df1ef8d90b0-meta.json +0 -1
- package/.turbo/cache/d1d1a072ee099992-meta.json +0 -1
- package/.turbo/cache/d9331772756d3d94-meta.json +0 -1
- package/.turbo/cache/d9331772756d3d94.tar.zst +0 -0
- package/.turbo/cache/dc6fbe2a8d5b9d9b-meta.json +0 -1
- package/.turbo/cache/df28a5ee199e995d-meta.json +0 -1
- package/.turbo/cache/e1e2582a7131011f-meta.json +0 -1
- package/.turbo/cache/e6271174c00888fe-meta.json +0 -1
- package/.turbo/cache/e8485d2a584b5f08-meta.json +0 -1
- package/.turbo/cache/e8485d2a584b5f08.tar.zst +0 -0
- package/.turbo/cache/e86451b8f88594b2-meta.json +0 -1
- package/.turbo/cache/e86451b8f88594b2.tar.zst +0 -0
- package/.turbo/cache/e9872ba002963dd3-meta.json +0 -1
- package/.turbo/cache/e9872ba002963dd3.tar.zst +0 -0
- /package/.turbo/cache/{e6271174c00888fe.tar.zst → 012997da408d7381.tar.zst} +0 -0
- /package/.turbo/cache/{6a1c28febca6163f.tar.zst → 144803363093af6b.tar.zst} +0 -0
- /package/.turbo/cache/{0c9ee13a7c863709.tar.zst → 2706814699cff63a.tar.zst} +0 -0
- /package/.turbo/cache/{8410cd8eeadc3af7.tar.zst → 29d704afd7578cda.tar.zst} +0 -0
- /package/.turbo/cache/{68e3afb31feab4e9.tar.zst → 318a9085a92f2d32.tar.zst} +0 -0
- /package/.turbo/cache/{1a8d6e4cab38121a.tar.zst → 457af7906413d2ff.tar.zst} +0 -0
- /package/.turbo/cache/{6c8ea74dc3b07640.tar.zst → 5567d6b2fdae56a9.tar.zst} +0 -0
- /package/.turbo/cache/{d1d1a072ee099992.tar.zst → 769652d1b874d7cf.tar.zst} +0 -0
- /package/.turbo/cache/{df28a5ee199e995d.tar.zst → 804ad767c7ba2fc3.tar.zst} +0 -0
- /package/.turbo/cache/{bdc6aadfdbb6feb9.tar.zst → 85cc23a2de6b1009.tar.zst} +0 -0
- /package/.turbo/cache/{e1e2582a7131011f.tar.zst → a54b4d75b5d265de.tar.zst} +0 -0
- /package/.turbo/cache/{83e1029b14af6545.tar.zst → b280ed4daaf15dcb.tar.zst} +0 -0
- /package/.turbo/cache/{624bf5350aacae42.tar.zst → d44acd685455b288.tar.zst} +0 -0
- /package/.turbo/cache/{cf235df1ef8d90b0.tar.zst → e03997efe5adad43.tar.zst} +0 -0
- /package/.turbo/cache/{2ec1b6d23563659e.tar.zst → e820cc8f220a05f3.tar.zst} +0 -0
- /package/.turbo/cache/{98936c69a55361fc.tar.zst → fdaf484b1ec4b5ed.tar.zst} +0 -0
|
@@ -198,30 +198,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
* @param {
|
|
201
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
202
|
+
*
|
|
203
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
204
204
|
* @returns {void}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
208
|
+
* validateElementAttributes(inputElement);
|
|
209
|
+
*
|
|
210
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
211
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
212
|
+
*
|
|
213
|
+
* Validation rules:
|
|
214
|
+
* - input:
|
|
215
|
+
* - length:
|
|
216
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
217
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
218
|
+
* - pattern:
|
|
219
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
220
|
+
* - counter:
|
|
221
|
+
* - range:
|
|
222
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
223
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
224
|
+
*/
|
|
225
|
+
validateElementAttributes(elem) {
|
|
226
|
+
const validationRules = {
|
|
227
|
+
input: {
|
|
228
|
+
length: [
|
|
229
|
+
{
|
|
230
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
231
|
+
validity: 'tooShort',
|
|
232
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
236
|
+
validity: 'tooLong',
|
|
237
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
pattern: [
|
|
241
|
+
{
|
|
242
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
243
|
+
validity: 'patternMismatch',
|
|
244
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
counter: {
|
|
249
|
+
range: [
|
|
250
|
+
{
|
|
251
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
252
|
+
validity: 'rangeOverflow',
|
|
253
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
257
|
+
validity: 'rangeUnderflow',
|
|
258
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
259
|
+
}
|
|
260
|
+
]
|
|
213
261
|
}
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
let elementType;
|
|
265
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
266
|
+
elementType = 'input';
|
|
267
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
268
|
+
elementType = 'counter';
|
|
214
269
|
}
|
|
215
|
-
|
|
216
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
217
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
218
|
-
elem.validity = 'tooShort';
|
|
219
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
220
|
-
}
|
|
221
270
|
|
|
222
|
-
if (
|
|
223
|
-
|
|
224
|
-
|
|
271
|
+
if (elementType) {
|
|
272
|
+
const rules = validationRules[elementType];
|
|
273
|
+
|
|
274
|
+
if (rules) {
|
|
275
|
+
Object.values(rules).flat().forEach(rule => {
|
|
276
|
+
if (rule.check(elem)) {
|
|
277
|
+
elem.validity = rule.validity;
|
|
278
|
+
elem.errorMessage = rule.message(elem);
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
}
|
|
225
282
|
}
|
|
226
283
|
}
|
|
227
284
|
|
|
@@ -331,7 +388,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
331
388
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
332
389
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
333
390
|
this.validateType(elem);
|
|
334
|
-
this.
|
|
391
|
+
this.validateElementAttributes(elem);
|
|
392
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
393
|
+
this.validateElementAttributes(elem);
|
|
335
394
|
}
|
|
336
395
|
}
|
|
337
396
|
|
|
@@ -5221,30 +5280,87 @@ class AuroFormValidation {
|
|
|
5221
5280
|
}
|
|
5222
5281
|
|
|
5223
5282
|
/**
|
|
5224
|
-
*
|
|
5225
|
-
*
|
|
5226
|
-
* @param {
|
|
5283
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
5284
|
+
*
|
|
5285
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
5227
5286
|
* @returns {void}
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5287
|
+
*
|
|
5288
|
+
* @example
|
|
5289
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
5290
|
+
* validateElementAttributes(inputElement);
|
|
5291
|
+
*
|
|
5292
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
5293
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
5294
|
+
*
|
|
5295
|
+
* Validation rules:
|
|
5296
|
+
* - input:
|
|
5297
|
+
* - length:
|
|
5298
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
5299
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
5300
|
+
* - pattern:
|
|
5301
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
5302
|
+
* - counter:
|
|
5303
|
+
* - range:
|
|
5304
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
5305
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
5306
|
+
*/
|
|
5307
|
+
validateElementAttributes(elem) {
|
|
5308
|
+
const validationRules = {
|
|
5309
|
+
input: {
|
|
5310
|
+
length: [
|
|
5311
|
+
{
|
|
5312
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
5313
|
+
validity: 'tooShort',
|
|
5314
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
5318
|
+
validity: 'tooLong',
|
|
5319
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
5320
|
+
}
|
|
5321
|
+
],
|
|
5322
|
+
pattern: [
|
|
5323
|
+
{
|
|
5324
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
5325
|
+
validity: 'patternMismatch',
|
|
5326
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
5327
|
+
}
|
|
5328
|
+
]
|
|
5329
|
+
},
|
|
5330
|
+
counter: {
|
|
5331
|
+
range: [
|
|
5332
|
+
{
|
|
5333
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
5334
|
+
validity: 'rangeOverflow',
|
|
5335
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
5336
|
+
},
|
|
5337
|
+
{
|
|
5338
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
5339
|
+
validity: 'rangeUnderflow',
|
|
5340
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
5341
|
+
}
|
|
5342
|
+
]
|
|
5236
5343
|
}
|
|
5344
|
+
};
|
|
5345
|
+
|
|
5346
|
+
let elementType;
|
|
5347
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
5348
|
+
elementType = 'input';
|
|
5349
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
5350
|
+
elementType = 'counter';
|
|
5237
5351
|
}
|
|
5238
|
-
|
|
5239
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
5240
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
5241
|
-
elem.validity = 'tooShort';
|
|
5242
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
5243
|
-
}
|
|
5244
5352
|
|
|
5245
|
-
if (
|
|
5246
|
-
|
|
5247
|
-
|
|
5353
|
+
if (elementType) {
|
|
5354
|
+
const rules = validationRules[elementType];
|
|
5355
|
+
|
|
5356
|
+
if (rules) {
|
|
5357
|
+
Object.values(rules).flat().forEach(rule => {
|
|
5358
|
+
if (rule.check(elem)) {
|
|
5359
|
+
elem.validity = rule.validity;
|
|
5360
|
+
elem.errorMessage = rule.message(elem);
|
|
5361
|
+
}
|
|
5362
|
+
});
|
|
5363
|
+
}
|
|
5248
5364
|
}
|
|
5249
5365
|
}
|
|
5250
5366
|
|
|
@@ -5354,7 +5470,9 @@ class AuroFormValidation {
|
|
|
5354
5470
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
5355
5471
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
5356
5472
|
this.validateType(elem);
|
|
5357
|
-
this.
|
|
5473
|
+
this.validateElementAttributes(elem);
|
|
5474
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
5475
|
+
this.validateElementAttributes(elem);
|
|
5358
5476
|
}
|
|
5359
5477
|
}
|
|
5360
5478
|
|
|
@@ -175,30 +175,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* @param {
|
|
178
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
179
|
+
*
|
|
180
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
181
181
|
* @returns {void}
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
185
|
+
* validateElementAttributes(inputElement);
|
|
186
|
+
*
|
|
187
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
188
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
189
|
+
*
|
|
190
|
+
* Validation rules:
|
|
191
|
+
* - input:
|
|
192
|
+
* - length:
|
|
193
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
194
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
195
|
+
* - pattern:
|
|
196
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
197
|
+
* - counter:
|
|
198
|
+
* - range:
|
|
199
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
200
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
182
201
|
*/
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
202
|
+
validateElementAttributes(elem) {
|
|
203
|
+
const validationRules = {
|
|
204
|
+
input: {
|
|
205
|
+
length: [
|
|
206
|
+
{
|
|
207
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
208
|
+
validity: 'tooShort',
|
|
209
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
213
|
+
validity: 'tooLong',
|
|
214
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
pattern: [
|
|
218
|
+
{
|
|
219
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
220
|
+
validity: 'patternMismatch',
|
|
221
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
counter: {
|
|
226
|
+
range: [
|
|
227
|
+
{
|
|
228
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
229
|
+
validity: 'rangeOverflow',
|
|
230
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
234
|
+
validity: 'rangeUnderflow',
|
|
235
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
236
|
+
}
|
|
237
|
+
]
|
|
190
238
|
}
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
let elementType;
|
|
242
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
243
|
+
elementType = 'input';
|
|
244
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
245
|
+
elementType = 'counter';
|
|
191
246
|
}
|
|
192
|
-
|
|
193
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
194
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
195
|
-
elem.validity = 'tooShort';
|
|
196
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
197
|
-
}
|
|
198
247
|
|
|
199
|
-
if (
|
|
200
|
-
|
|
201
|
-
|
|
248
|
+
if (elementType) {
|
|
249
|
+
const rules = validationRules[elementType];
|
|
250
|
+
|
|
251
|
+
if (rules) {
|
|
252
|
+
Object.values(rules).flat().forEach(rule => {
|
|
253
|
+
if (rule.check(elem)) {
|
|
254
|
+
elem.validity = rule.validity;
|
|
255
|
+
elem.errorMessage = rule.message(elem);
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
}
|
|
202
259
|
}
|
|
203
260
|
}
|
|
204
261
|
|
|
@@ -308,7 +365,9 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
308
365
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
309
366
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
310
367
|
this.validateType(elem);
|
|
311
|
-
this.
|
|
368
|
+
this.validateElementAttributes(elem);
|
|
369
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
370
|
+
this.validateElementAttributes(elem);
|
|
312
371
|
}
|
|
313
372
|
}
|
|
314
373
|
|
|
@@ -5198,30 +5257,87 @@ class AuroFormValidation {
|
|
|
5198
5257
|
}
|
|
5199
5258
|
|
|
5200
5259
|
/**
|
|
5201
|
-
*
|
|
5202
|
-
*
|
|
5203
|
-
* @param {
|
|
5260
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
5261
|
+
*
|
|
5262
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
5204
5263
|
* @returns {void}
|
|
5264
|
+
*
|
|
5265
|
+
* @example
|
|
5266
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
5267
|
+
* validateElementAttributes(inputElement);
|
|
5268
|
+
*
|
|
5269
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
5270
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
5271
|
+
*
|
|
5272
|
+
* Validation rules:
|
|
5273
|
+
* - input:
|
|
5274
|
+
* - length:
|
|
5275
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
5276
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
5277
|
+
* - pattern:
|
|
5278
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
5279
|
+
* - counter:
|
|
5280
|
+
* - range:
|
|
5281
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
5282
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
5205
5283
|
*/
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5284
|
+
validateElementAttributes(elem) {
|
|
5285
|
+
const validationRules = {
|
|
5286
|
+
input: {
|
|
5287
|
+
length: [
|
|
5288
|
+
{
|
|
5289
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
5290
|
+
validity: 'tooShort',
|
|
5291
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
5292
|
+
},
|
|
5293
|
+
{
|
|
5294
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
5295
|
+
validity: 'tooLong',
|
|
5296
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
5297
|
+
}
|
|
5298
|
+
],
|
|
5299
|
+
pattern: [
|
|
5300
|
+
{
|
|
5301
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
5302
|
+
validity: 'patternMismatch',
|
|
5303
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
5304
|
+
}
|
|
5305
|
+
]
|
|
5306
|
+
},
|
|
5307
|
+
counter: {
|
|
5308
|
+
range: [
|
|
5309
|
+
{
|
|
5310
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
5311
|
+
validity: 'rangeOverflow',
|
|
5312
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
5313
|
+
},
|
|
5314
|
+
{
|
|
5315
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
5316
|
+
validity: 'rangeUnderflow',
|
|
5317
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
5318
|
+
}
|
|
5319
|
+
]
|
|
5213
5320
|
}
|
|
5321
|
+
};
|
|
5322
|
+
|
|
5323
|
+
let elementType;
|
|
5324
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
5325
|
+
elementType = 'input';
|
|
5326
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
5327
|
+
elementType = 'counter';
|
|
5214
5328
|
}
|
|
5215
|
-
|
|
5216
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
5217
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
5218
|
-
elem.validity = 'tooShort';
|
|
5219
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
5220
|
-
}
|
|
5221
5329
|
|
|
5222
|
-
if (
|
|
5223
|
-
|
|
5224
|
-
|
|
5330
|
+
if (elementType) {
|
|
5331
|
+
const rules = validationRules[elementType];
|
|
5332
|
+
|
|
5333
|
+
if (rules) {
|
|
5334
|
+
Object.values(rules).flat().forEach(rule => {
|
|
5335
|
+
if (rule.check(elem)) {
|
|
5336
|
+
elem.validity = rule.validity;
|
|
5337
|
+
elem.errorMessage = rule.message(elem);
|
|
5338
|
+
}
|
|
5339
|
+
});
|
|
5340
|
+
}
|
|
5225
5341
|
}
|
|
5226
5342
|
}
|
|
5227
5343
|
|
|
@@ -5331,7 +5447,9 @@ class AuroFormValidation {
|
|
|
5331
5447
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
5332
5448
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
5333
5449
|
this.validateType(elem);
|
|
5334
|
-
this.
|
|
5450
|
+
this.validateElementAttributes(elem);
|
|
5451
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
5452
|
+
this.validateElementAttributes(elem);
|
|
5335
5453
|
}
|
|
5336
5454
|
}
|
|
5337
5455
|
|
|
@@ -4,6 +4,147 @@
|
|
|
4
4
|
|
|
5
5
|
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
6
6
|
|
|
7
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
8
|
+
|
|
9
|
+
╷
|
|
10
|
+
12 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
11
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
12
|
+
╵
|
|
13
|
+
src/styles/color.scss 12: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
|
+
13 │ @import '@aurodesignsystem/webcorestylesheets/src/breakpoints';
|
|
21
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
22
|
+
╵
|
|
23
|
+
src/styles/color.scss 13: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
|
+
6 │ @import './libSupport/deprecated';
|
|
31
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
32
|
+
╵
|
|
33
|
+
@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss 6:9 @import
|
|
34
|
+
src/styles/color.scss 13:9 root stylesheet
|
|
35
|
+
|
|
36
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
37
|
+
|
|
38
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
39
|
+
|
|
40
|
+
╷
|
|
41
|
+
8 │ @import "./../node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
42
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
43
|
+
╵
|
|
44
|
+
src/styles/counter-button-color.scss 8:9 root stylesheet
|
|
45
|
+
|
|
46
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
47
|
+
|
|
48
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
49
|
+
|
|
50
|
+
╷
|
|
51
|
+
1 │ @import "./../node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
52
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
53
|
+
╵
|
|
54
|
+
src/styles/counter-button-tokens.scss 1:9 root stylesheet
|
|
55
|
+
|
|
56
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
57
|
+
|
|
58
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
59
|
+
|
|
60
|
+
╷
|
|
61
|
+
4 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
62
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
63
|
+
╵
|
|
64
|
+
src/styles/counter-button.scss 4:9 root stylesheet
|
|
65
|
+
|
|
66
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
67
|
+
|
|
68
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
69
|
+
|
|
70
|
+
╷
|
|
71
|
+
7 │ @import "@aurodesignsystem/webcorestylesheets/src/breakpoints";
|
|
72
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
73
|
+
╵
|
|
74
|
+
src/styles/counter-button.scss 7: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
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
79
|
+
|
|
80
|
+
╷
|
|
81
|
+
8 │ @import "@aurodesignsystem/webcorestylesheets/src/core";
|
|
82
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
83
|
+
╵
|
|
84
|
+
src/styles/counter-button.scss 8:9 root stylesheet
|
|
85
|
+
|
|
86
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
87
|
+
|
|
88
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
89
|
+
|
|
90
|
+
╷
|
|
91
|
+
9 │ @import "@aurodesignsystem/webcorestylesheets/src/animation";
|
|
92
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
93
|
+
╵
|
|
94
|
+
src/styles/counter-button.scss 9:9 root stylesheet
|
|
95
|
+
|
|
96
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
97
|
+
|
|
98
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
99
|
+
|
|
100
|
+
╷
|
|
101
|
+
11 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariableMap";
|
|
102
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
103
|
+
╵
|
|
104
|
+
src/styles/counter-button.scss 11:9 root stylesheet
|
|
105
|
+
|
|
106
|
+
WARNING: Deprecated: Inset utility selectors and mixin. Please see https://alaskaairlines.github.io/WebCoreStyleSheets/ for more information.
|
|
107
|
+
../../node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss 15:3 deprecated()
|
|
108
|
+
../../node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss 13:1 @import
|
|
109
|
+
@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss 9:9 @import
|
|
110
|
+
src/styles/counter-button.scss 16:9 root stylesheet
|
|
111
|
+
|
|
112
|
+
WARNING: 8 repetitive deprecation warnings omitted.
|
|
113
|
+
Run in verbose mode to see all warnings.
|
|
114
|
+
|
|
115
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
116
|
+
|
|
117
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
118
|
+
|
|
119
|
+
╷
|
|
120
|
+
10 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
121
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
122
|
+
╵
|
|
123
|
+
src/styles/counter-group-color.scss 10:9 root stylesheet
|
|
124
|
+
|
|
125
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
126
|
+
|
|
127
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
128
|
+
|
|
129
|
+
╷
|
|
130
|
+
11 │ @import '@aurodesignsystem/webcorestylesheets/src/breakpoints';
|
|
131
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
132
|
+
╵
|
|
133
|
+
src/styles/counter-group-color.scss 11:9 root stylesheet
|
|
134
|
+
|
|
135
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
136
|
+
|
|
137
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
138
|
+
|
|
139
|
+
╷
|
|
140
|
+
6 │ @import './libSupport/deprecated';
|
|
141
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
142
|
+
╵
|
|
143
|
+
@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss 6:9 @import
|
|
144
|
+
src/styles/counter-group-color.scss 11:9 root stylesheet
|
|
145
|
+
|
|
146
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
147
|
+
|
|
7
148
|
More info and automated migrator: https://sass-lang.com/d/import
|
|
8
149
|
|
|
9
150
|
╷
|
|
@@ -64,3 +205,34 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
64
205
|
@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss 6:9 @import
|
|
65
206
|
src/styles/style.scss 11:9 root stylesheet
|
|
66
207
|
|
|
208
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
209
|
+
|
|
210
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
211
|
+
|
|
212
|
+
╷
|
|
213
|
+
10 │ @import "@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
|
|
214
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
215
|
+
╵
|
|
216
|
+
src/styles/tokens.scss 10:9 root stylesheet
|
|
217
|
+
|
|
218
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
219
|
+
|
|
220
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
221
|
+
|
|
222
|
+
╷
|
|
223
|
+
11 │ @import '@aurodesignsystem/webcorestylesheets/src/breakpoints';
|
|
224
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
225
|
+
╵
|
|
226
|
+
src/styles/tokens.scss 11:9 root stylesheet
|
|
227
|
+
|
|
228
|
+
DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
|
|
229
|
+
|
|
230
|
+
More info and automated migrator: https://sass-lang.com/d/import
|
|
231
|
+
|
|
232
|
+
╷
|
|
233
|
+
6 │ @import './libSupport/deprecated';
|
|
234
|
+
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
235
|
+
╵
|
|
236
|
+
@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss 6:9 @import
|
|
237
|
+
src/styles/tokens.scss 11:9 root stylesheet
|
|
238
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
> @aurodesignsystem/auro-counter@1.0.0 build:version
|
|
3
|
+
> node ./scripts/version.mjs
|
|
4
|
+
|
|
5
|
+
Found package.json at: /home/runner/work/auro-formkit/auro-formkit/node_modules/@aurodesignsystem/auro-icon/package.json
|
|
6
|
+
Writing version file to: ./src/iconVersion.js
|
|
7
|
+
Successfully wrote version file for @aurodesignsystem/auro-icon
|
|
8
|
+
Found package.json at: /home/runner/work/auro-formkit/auro-formkit/node_modules/@auro-formkit/auro-dropdown/package.json
|
|
9
|
+
Writing version file to: ./src/formkit/auro-dropdownVersion.js
|
|
10
|
+
Successfully wrote version file for @auro-formkit/auro-dropdown
|