@aurodesignsystem/auro-formkit 2.0.0-beta.20 → 2.0.0-beta.22
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/05eabe821b57523d-meta.json +1 -0
- package/.turbo/cache/05eabe821b57523d.tar.zst +0 -0
- package/.turbo/cache/09d2311fd6562076-meta.json +1 -0
- package/.turbo/cache/0ada3342350716d5-meta.json +1 -0
- package/.turbo/cache/1d08dfa3fdaee182-meta.json +1 -0
- package/.turbo/cache/1d08dfa3fdaee182.tar.zst +0 -0
- package/.turbo/cache/223d1e0787a23385-meta.json +1 -0
- package/.turbo/cache/223d1e0787a23385.tar.zst +0 -0
- package/.turbo/cache/226476fa9e61cc81-meta.json +1 -0
- package/.turbo/cache/226476fa9e61cc81.tar.zst +0 -0
- package/.turbo/cache/26b534ba7ee176e5-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -1
- package/.turbo/cache/2d21d0e971f28291-meta.json +1 -0
- package/.turbo/cache/2d21d0e971f28291.tar.zst +0 -0
- package/.turbo/cache/3a60640aa3aedd8a-meta.json +1 -0
- package/.turbo/cache/3a60640aa3aedd8a.tar.zst +0 -0
- package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -1
- package/.turbo/cache/45fbe2fe40c2302a-meta.json +1 -0
- package/.turbo/cache/{341f87099beb533e.tar.zst → 45fbe2fe40c2302a.tar.zst} +0 -0
- package/.turbo/cache/4699bc5f16a9eb63-meta.json +1 -0
- package/.turbo/cache/4d9d8b6a169d8272-meta.json +1 -0
- package/.turbo/cache/4f1f59ef262afdb7-meta.json +1 -0
- package/.turbo/cache/{c1312c6f8c051461.tar.zst → 4f1f59ef262afdb7.tar.zst} +0 -0
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -1
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
- package/.turbo/cache/5b3e6d7fcbed91d7-meta.json +1 -0
- package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -1
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
- package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -1
- package/.turbo/cache/6af0cfb35a4d9b50-meta.json +1 -0
- package/.turbo/cache/6af0cfb35a4d9b50.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
- package/.turbo/cache/783a19e6c1e36dc4-meta.json +1 -0
- package/.turbo/cache/78418f9089673a21-meta.json +1 -1
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -1
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
- package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -1
- package/.turbo/cache/81b950588f7d83f6-meta.json +1 -0
- package/.turbo/cache/{cae7586c45bed13e.tar.zst → 81b950588f7d83f6.tar.zst} +0 -0
- package/.turbo/cache/81e86c62df3233f1-meta.json +1 -0
- package/.turbo/cache/81e86c62df3233f1.tar.zst +0 -0
- package/.turbo/cache/82400c31013ddb91-meta.json +1 -0
- package/.turbo/cache/8e77ba4f3c844ad4-meta.json +1 -0
- package/.turbo/cache/{493e064c221aa745.tar.zst → 8e77ba4f3c844ad4.tar.zst} +0 -0
- package/.turbo/cache/949113644726bb55-meta.json +1 -0
- package/.turbo/cache/9b6f6cd2350f80bc-meta.json +1 -0
- package/.turbo/cache/{23b3a2fea223679d.tar.zst → 9b6f6cd2350f80bc.tar.zst} +0 -0
- package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -1
- package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -1
- package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -1
- package/.turbo/cache/b0a6287f373e6400-meta.json +1 -0
- package/.turbo/cache/b0a6287f373e6400.tar.zst +0 -0
- package/.turbo/cache/b289ab794336616f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
- package/.turbo/cache/b6fd9dd7003776ae-meta.json +1 -0
- package/.turbo/cache/b6fd9dd7003776ae.tar.zst +0 -0
- package/.turbo/cache/b89dab696f5a8270-meta.json +1 -0
- package/.turbo/cache/b8a40e55bb47f55f-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -1
- package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -1
- package/.turbo/cache/c0ac4be01e1e8afd-meta.json +1 -0
- package/.turbo/cache/c0ac4be01e1e8afd.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
- package/.turbo/cache/c7a029745c0280b7-meta.json +1 -0
- package/.turbo/cache/{56ee89ef1c48963e.tar.zst → c7a029745c0280b7.tar.zst} +0 -0
- package/.turbo/cache/cacc097c013aa1ff-meta.json +1 -0
- package/.turbo/cache/cacc097c013aa1ff.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -1
- package/.turbo/cache/db6efe0245a870a5-meta.json +1 -0
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -1
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
- package/.turbo/cache/e84d01ebc415199c-meta.json +1 -0
- package/.turbo/cache/{19eb9b69e5625309.tar.zst → e84d01ebc415199c.tar.zst} +0 -0
- package/.turbo/cache/f6808644dc687b2c-meta.json +1 -0
- package/.turbo/cache/fcde8f0acf4465ca-meta.json +1 -0
- package/.turbo/cache/fcde8f0acf4465ca.tar.zst +0 -0
- package/.turbo/cache/ffdabdf92e6ad537-meta.json +1 -0
- package/CHANGELOG.md +16 -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.md +1 -0
- package/components/checkbox/demo/api.min.js +8 -4
- package/components/checkbox/demo/index.min.js +8 -4
- package/components/checkbox/dist/auro-checkbox.d.ts +8 -4
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +8 -4
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox.js +8 -4
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +6 -6
- package/components/combobox/demo/api.min.js +3 -6
- package/components/combobox/demo/index.min.js +3 -6
- package/components/combobox/dist/auro-combobox.d.ts +1 -1
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +3 -6
- package/components/combobox/package.json +3 -4
- package/components/combobox/src/auro-combobox.js +3 -6
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -6
- package/components/counter/README.md +1 -1
- package/components/datepicker/.turbo/turbo-build.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.md +23 -22
- package/components/datepicker/demo/api.min.js +25 -3
- package/components/datepicker/demo/index.min.js +25 -3
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +5 -0
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +25 -3
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +23 -1
- package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
- package/components/dropdown/.turbo/turbo-build.log +2 -2
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/form/.turbo/turbo-build.log +2 -2
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/form/demo/api.min.js +23 -4
- package/components/form/demo/index.min.js +23 -4
- package/components/form/demo/working.html +9 -0
- package/components/form/dist/auro-form.d.ts +9 -1
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +23 -4
- package/components/form/src/auro-form.js +23 -4
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +2 -2
- package/components/input/README.md +1 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/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/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/package.json +1 -1
- package/turbo.json +5 -0
- package/.turbo/cache/0185585abae43d38-meta.json +0 -1
- package/.turbo/cache/0185585abae43d38.tar.zst +0 -0
- package/.turbo/cache/092e1fe054c68113-meta.json +0 -1
- package/.turbo/cache/092e1fe054c68113.tar.zst +0 -0
- package/.turbo/cache/19eb9b69e5625309-meta.json +0 -1
- package/.turbo/cache/2059bc724ac24519-meta.json +0 -1
- package/.turbo/cache/2059bc724ac24519.tar.zst +0 -0
- package/.turbo/cache/23b3a2fea223679d-meta.json +0 -1
- package/.turbo/cache/2e79b1c1455468a1-meta.json +0 -1
- package/.turbo/cache/341f87099beb533e-meta.json +0 -1
- package/.turbo/cache/363aa008d976f81d-meta.json +0 -1
- package/.turbo/cache/363aa008d976f81d.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +0 -1
- package/.turbo/cache/43ab6002bc2cd191-meta.json +0 -1
- package/.turbo/cache/43ab6002bc2cd191.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +0 -1
- package/.turbo/cache/493e064c221aa745-meta.json +0 -1
- package/.turbo/cache/56ee89ef1c48963e-meta.json +0 -1
- package/.turbo/cache/61e218aba69cff58-meta.json +0 -1
- package/.turbo/cache/6c582e957afdd75f-meta.json +0 -1
- package/.turbo/cache/6c582e957afdd75f.tar.zst +0 -0
- package/.turbo/cache/7c9ca6163e61285c-meta.json +0 -1
- package/.turbo/cache/8bb856bd31b5b479-meta.json +0 -1
- package/.turbo/cache/8c5b86ca67d33b17-meta.json +0 -1
- package/.turbo/cache/8c5b86ca67d33b17.tar.zst +0 -0
- package/.turbo/cache/8f5fef3e04a6fcfa-meta.json +0 -1
- package/.turbo/cache/ac1b55ad6757fd54-meta.json +0 -1
- package/.turbo/cache/b1cd3922508c11c0-meta.json +0 -1
- package/.turbo/cache/b1cd3922508c11c0.tar.zst +0 -0
- package/.turbo/cache/b3c5c13bb1c28c92-meta.json +0 -1
- package/.turbo/cache/b3c5c13bb1c28c92.tar.zst +0 -0
- package/.turbo/cache/ba270a0ef147f2e5-meta.json +0 -1
- package/.turbo/cache/bb5213773d5d3b04-meta.json +0 -1
- package/.turbo/cache/bbefd8d9606f1e87-meta.json +0 -1
- package/.turbo/cache/c1312c6f8c051461-meta.json +0 -1
- package/.turbo/cache/c289a5a9a6b897a9-meta.json +0 -1
- package/.turbo/cache/c289a5a9a6b897a9.tar.zst +0 -0
- package/.turbo/cache/c376d692c092d4d1-meta.json +0 -1
- package/.turbo/cache/c6dbc49c3038946d-meta.json +0 -1
- package/.turbo/cache/cae7586c45bed13e-meta.json +0 -1
- package/.turbo/cache/d775555355d6b8fc-meta.json +0 -1
- package/.turbo/cache/db5e65d819bfe66b-meta.json +0 -1
- package/.turbo/cache/dbe6a08c64601aec-meta.json +0 -1
- package/.turbo/cache/dbe6a08c64601aec.tar.zst +0 -0
- package/.turbo/cache/df5f651693145406-meta.json +0 -1
- package/.turbo/cache/df5f651693145406.tar.zst +0 -0
- package/.turbo/cache/ee40cab15d5b1fad-meta.json +0 -1
- package/.turbo/cache/ee40cab15d5b1fad.tar.zst +0 -0
- /package/.turbo/cache/{ac1b55ad6757fd54.tar.zst → 09d2311fd6562076.tar.zst} +0 -0
- /package/.turbo/cache/{8f5fef3e04a6fcfa.tar.zst → 0ada3342350716d5.tar.zst} +0 -0
- /package/.turbo/cache/{61e218aba69cff58.tar.zst → 26b534ba7ee176e5.tar.zst} +0 -0
- /package/.turbo/cache/{2e79b1c1455468a1.tar.zst → 4699bc5f16a9eb63.tar.zst} +0 -0
- /package/.turbo/cache/{ba270a0ef147f2e5.tar.zst → 4d9d8b6a169d8272.tar.zst} +0 -0
- /package/.turbo/cache/{bbefd8d9606f1e87.tar.zst → 5b3e6d7fcbed91d7.tar.zst} +0 -0
- /package/.turbo/cache/{d775555355d6b8fc.tar.zst → 783a19e6c1e36dc4.tar.zst} +0 -0
- /package/.turbo/cache/{c6dbc49c3038946d.tar.zst → 82400c31013ddb91.tar.zst} +0 -0
- /package/.turbo/cache/{7c9ca6163e61285c.tar.zst → 949113644726bb55.tar.zst} +0 -0
- /package/.turbo/cache/{c376d692c092d4d1.tar.zst → b289ab794336616f.tar.zst} +0 -0
- /package/.turbo/cache/{db5e65d819bfe66b.tar.zst → b89dab696f5a8270.tar.zst} +0 -0
- /package/.turbo/cache/{bb5213773d5d3b04.tar.zst → b8a40e55bb47f55f.tar.zst} +0 -0
- /package/.turbo/cache/{8bb856bd31b5b479.tar.zst → db6efe0245a870a5.tar.zst} +0 -0
- /package/.turbo/cache/{492dda333b8d15f1.tar.zst → f6808644dc687b2c.tar.zst} +0 -0
- /package/.turbo/cache/{4006a206400d5c7b.tar.zst → ffdabdf92e6ad537.tar.zst} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-combobox.d.ts","sourceRoot":"","sources":["../src/auro-combobox.js"],"names":[],"mappings":"AA8BA;;;;;;GAMG;AAGH;IAoCE;QAII;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;;QAOH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;MAMN;IAED,+CAEC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAzKC,kBAAqB;IACrB,cAAyB;IACzB,
|
|
1
|
+
{"version":3,"file":"auro-combobox.d.ts","sourceRoot":"","sources":["../src/auro-combobox.js"],"names":[],"mappings":"AA8BA;;;;;;GAMG;AAGH;IAoCE;QAII;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;;QAOH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;MAMN;IAED,+CAEC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAzKC,kBAAqB;IACrB,cAAyB;IACzB,WAAsB;IACtB,sBAA+B;IAKjC;;;OAGG;IACH,wBAeC;IAdC,wBAA0B;IAC1B,kBAAwB;IACxB,4BAAqD;IAErD,+BAA0C;IAE1C,kBAAiD;IAEjD,8BAAiC;IAIjC,iBAAyF;IACzF,cAA6E;IAiJ/E;;;;OAIG;IACH,0BA4EC;IA1CG,mBAA8B;IA4ClC;;;;OAIG;IACH,6BAMC;IAJG,qCAA+E;IAMnF;;;;OAIG;IACH,gBAIC;IAED;;;;OAIG;IACH,gBAcC;IAED;;;;OAIG;IACH,0BAaC;IAZC,iBAA8D;IAchE;;;;OAIG;IACH,sBA0EC;IAzEC,cAAwD;IA2E1D;;;;OAIG;IACH,uBAwBC;IAFG,kBAAsC;IAI1C;;;;;;;;;;;;;OAaG;IACH,gCAOC;IAED;;;;OAIG;IACH,+BAwDC;IAED;;;;OAIG;IACH,0BAyCC;IAWC,iBAAiE;IAWnE,qBAgBC;IAZC,cAA4E;IAC5E,WAAoE;IAatE;;;OAGG;IACH,SAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,SAFa,IAAI,CAMhB;IAED;;;OAGG;IACH,iBAFW,OAAO,QAIjB;IAED,sCA6BC;IAED;;;;;OAKG;IACH,yBAcC;IAGD,4CAoDC;CACF;2BAnwB0B,KAAK;+BAKD,+BAA+B;+BAWvD,6BAA6B;2CAA7B,6BAA6B"}
|
|
@@ -9639,7 +9639,9 @@ class AuroCombobox extends r$7 {
|
|
|
9639
9639
|
|
|
9640
9640
|
// Store value as array or undefined
|
|
9641
9641
|
if (!this.value || this.value[0] !== this.input.value) {
|
|
9642
|
-
|
|
9642
|
+
// Menu expects an array
|
|
9643
|
+
this.menu.value = this.input.value ? [this.input.value] : undefined;
|
|
9644
|
+
this.value = this.menu.value;
|
|
9643
9645
|
hasChange = true;
|
|
9644
9646
|
this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
|
|
9645
9647
|
bubbles: true,
|
|
@@ -9648,11 +9650,6 @@ class AuroCombobox extends r$7 {
|
|
|
9648
9650
|
}));
|
|
9649
9651
|
}
|
|
9650
9652
|
|
|
9651
|
-
if (this.value !== this.menu.value) {
|
|
9652
|
-
this.menu.value = this.value;
|
|
9653
|
-
hasChange = true;
|
|
9654
|
-
}
|
|
9655
|
-
|
|
9656
9653
|
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
9657
9654
|
this.optionSelected = undefined;
|
|
9658
9655
|
hasChange = true;
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"lit": "^3.2.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
24
|
-
"@aurodesignsystem/webcorestylesheets": "^
|
|
23
|
+
"@aurodesignsystem/design-tokens": "^4.13",
|
|
24
|
+
"@aurodesignsystem/webcorestylesheets": "^6.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@auro-formkit/build-tools": "*",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"@auro-formkit/form-validation": "*",
|
|
30
30
|
"@auro-formkit/typescript": "*",
|
|
31
31
|
"@aurodesignsystem/design-tokens": "^4.12.1",
|
|
32
|
-
"@aurodesignsystem/webcorestylesheets": "^6.0.0",
|
|
33
32
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
34
33
|
"rollup": "^4.30.1",
|
|
35
34
|
"rollup-plugin-serve": "^2.0.3",
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
"sass:render": "sass-render --load-path=../../node_modules 'src/**/*.css' -t ../../node_modules/@aurodesignsystem/auro-library/scripts/build/staticStyles-template.js",
|
|
59
58
|
"serve": "web-dev-server",
|
|
60
59
|
"test": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --coverage",
|
|
61
|
-
"test:watch": "wtr --watch",
|
|
60
|
+
"test:watch": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --watch",
|
|
62
61
|
"types": "tsc --project tsconfig.json",
|
|
63
62
|
"lint": "npm-run-all scssLint esLint",
|
|
64
63
|
"scssLint": "stylelint \"./src/**/*.scss\"",
|
|
@@ -508,7 +508,9 @@ export class AuroCombobox extends LitElement {
|
|
|
508
508
|
|
|
509
509
|
// Store value as array or undefined
|
|
510
510
|
if (!this.value || this.value[0] !== this.input.value) {
|
|
511
|
-
|
|
511
|
+
// Menu expects an array
|
|
512
|
+
this.menu.value = this.input.value ? [this.input.value] : undefined;
|
|
513
|
+
this.value = this.menu.value;
|
|
512
514
|
hasChange = true;
|
|
513
515
|
this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
|
|
514
516
|
bubbles: true,
|
|
@@ -517,11 +519,6 @@ export class AuroCombobox extends LitElement {
|
|
|
517
519
|
}));
|
|
518
520
|
}
|
|
519
521
|
|
|
520
|
-
if (this.value !== this.menu.value) {
|
|
521
|
-
this.menu.value = this.value;
|
|
522
|
-
hasChange = true;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
522
|
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
526
523
|
this.optionSelected = undefined;
|
|
527
524
|
hasChange = true;
|
|
@@ -339,13 +339,13 @@ Complete!
|
|
|
339
339
|
|
|
340
340
|
[36m
|
|
341
341
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
342
|
-
[32mcreated [1mdist[22m in [
|
|
342
|
+
[32mcreated [1mdist[22m in [1m1.5s[22m[39m
|
|
343
343
|
[36m
|
|
344
344
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
345
|
-
[32mcreated [1m./demo/[22m in [1m1.
|
|
345
|
+
[32mcreated [1m./demo/[22m in [1m1.1s[22m[39m
|
|
346
346
|
[36m
|
|
347
347
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
348
|
-
[32mcreated [1m./demo/[22m in [1m1.
|
|
348
|
+
[32mcreated [1m./demo/[22m in [1m1.4s[22m[39m
|
|
349
349
|
|
|
350
350
|
> @aurodesignsystem/auro-counter@1.0.0 build:docs
|
|
351
351
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component counter
|
|
@@ -4,13 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[
|
|
8
|
-
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
|
9
|
-
[1m@aurodesignsystem/auro-dropdown[22m (imported by "src/auro-counter-group.js")
|
|
10
|
-
[32mcreated [1mdist[22m in [1m996ms[22m[39m
|
|
7
|
+
[32mcreated [1mdist[22m in [1m1.9s[22m[39m
|
|
11
8
|
[36m
|
|
12
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m939ms[22m[39m
|
|
14
11
|
[36m
|
|
15
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
16
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m827ms[22m[39m
|
|
@@ -100,7 +100,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
100
100
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
101
101
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
102
102
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
103
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-counter@2.0.0-beta.
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-counter@2.0.0-beta.21/dist/auro-counter__bundled.js" type="module"></script>
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
106
106
|
## auro-counter use cases
|
|
@@ -373,10 +373,10 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
373
373
|
|
|
374
374
|
[36m
|
|
375
375
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
376
|
-
[32mcreated [1mdist[22m in [1m7.
|
|
376
|
+
[32mcreated [1mdist[22m in [1m7.4s[22m[39m
|
|
377
377
|
[36m
|
|
378
378
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
379
|
-
[32mcreated [1m./demo/[22m in [1m3.
|
|
379
|
+
[32mcreated [1m./demo/[22m in [1m3.5s[22m[39m
|
|
380
380
|
[36m
|
|
381
381
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
382
382
|
[32mcreated [1m./demo/[22m in [1m3.3s[22m[39m
|
|
@@ -93,10 +93,10 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
93
93
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
94
94
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
95
95
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
96
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.
|
|
97
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.
|
|
98
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.
|
|
99
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.
|
|
96
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.21/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
97
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.21/dist/auro-input__bundled.js" type="module"></script>
|
|
98
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.21/dist/auro-popover__bundled.js" type="module"></script>
|
|
99
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.21/dist/auro-datepicker__bundled.js" type="module"></script>
|
|
100
100
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
101
101
|
|
|
102
102
|
## auro-datepicker use cases
|
|
@@ -5,28 +5,29 @@
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
| Property | Attribute | Type
|
|
9
|
-
|
|
10
|
-
| [calendarEndDate](#calendarEndDate) | `calendarEndDate` | `string`
|
|
11
|
-
| [calendarFocusDate](#calendarFocusDate) | `calendarFocusDate` | `string`
|
|
12
|
-
| [calendarStartDate](#calendarStartDate) | `calendarStartDate` | `string`
|
|
13
|
-
| [centralDate](#centralDate) | `centralDate` | `string`
|
|
14
|
-
| [disabled](#disabled) | `disabled` | `boolean`
|
|
15
|
-
| [error](#error) | `error` | `string`
|
|
16
|
-
| [maxDate](#maxDate) | `maxDate` | `string`
|
|
17
|
-
| [minDate](#minDate) | `minDate` | `string`
|
|
18
|
-
| [monthNames](#monthNames) | `monthNames` | `array`
|
|
19
|
-
| [noValidate](#noValidate) | `noValidate` | `boolean`
|
|
20
|
-
| [range](#range) | `range` | `boolean`
|
|
21
|
-
| [required](#required) | `required` | `boolean`
|
|
22
|
-
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string`
|
|
23
|
-
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string`
|
|
24
|
-
| [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `string`
|
|
25
|
-
| [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `string`
|
|
26
|
-
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string`
|
|
27
|
-
| [validity](#validity) | `validity` | `string`
|
|
28
|
-
| [value](#value) | `value` | `string`
|
|
29
|
-
| [valueEnd](#valueEnd) | `valueEnd` | `string`
|
|
8
|
+
| Property | Attribute | Modifiers | Type | Default | Description |
|
|
9
|
+
|-----------------------------------|-----------------------------------|-----------|------------|--------------------------------------------------|--------------------------------------------------|
|
|
10
|
+
| [calendarEndDate](#calendarEndDate) | `calendarEndDate` | | `string` | "undefined" | The last date that may be displayed in the calendar. |
|
|
11
|
+
| [calendarFocusDate](#calendarFocusDate) | `calendarFocusDate` | | `string` | "value" | The date that will first be visually rendered to the user in the calendar. |
|
|
12
|
+
| [calendarStartDate](#calendarStartDate) | `calendarStartDate` | | `string` | "undefined" | The first date that may be displayed in the calendar. |
|
|
13
|
+
| [centralDate](#centralDate) | `centralDate` | | `string` | | The date that determines the currently visible month. |
|
|
14
|
+
| [disabled](#disabled) | `disabled` | | `boolean` | false | If set, disables the datepicker. |
|
|
15
|
+
| [error](#error) | `error` | | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
16
|
+
| [maxDate](#maxDate) | `maxDate` | | `string` | | Maximum date. All dates after will be disabled. |
|
|
17
|
+
| [minDate](#minDate) | `minDate` | | `string` | | Minimum date. All dates before will be disabled. |
|
|
18
|
+
| [monthNames](#monthNames) | `monthNames` | | `array` | ["January","February","March","April","May","June","July","August","September","October","November","December"] | Names of all 12 months to render in the calendar, used for localization of date string in mobile layout. |
|
|
19
|
+
| [noValidate](#noValidate) | `noValidate` | | `boolean` | false | If set, disables auto-validation on blur. |
|
|
20
|
+
| [range](#range) | `range` | | `boolean` | false | If set, turns on date range functionality in auro-calendar. |
|
|
21
|
+
| [required](#required) | `required` | | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
22
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
23
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | | `string` | | Custom help text message to display when validity = `customError`. |
|
|
24
|
+
| [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
|
|
25
|
+
| [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
|
|
26
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
27
|
+
| [validity](#validity) | `validity` | | `string` | "undefined" | Specifies the `validityState` this element is in. |
|
|
28
|
+
| [value](#value) | `value` | | `string` | "undefined" | Value selected for the datepicker. |
|
|
29
|
+
| [valueEnd](#valueEnd) | `valueEnd` | | `string` | "undefined" | Value selected for the second datepicker when using date range. |
|
|
30
|
+
| [values](#values) | | readonly | `string[]` | | A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern". |
|
|
30
31
|
|
|
31
32
|
## Methods
|
|
32
33
|
|
|
@@ -843,7 +843,7 @@ class UtilitiesCalendarRender {
|
|
|
843
843
|
/**
|
|
844
844
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
845
845
|
* @param {Object} elem - The auro-calendar element.
|
|
846
|
-
* @param {Boolean} isMobile -
|
|
846
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
847
847
|
* @private
|
|
848
848
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
849
849
|
*/
|
|
@@ -877,7 +877,7 @@ class UtilitiesCalendarRender {
|
|
|
877
877
|
/**
|
|
878
878
|
* Determines the number of months rendered inside the calendar.
|
|
879
879
|
* @param {Object} elem - The auro-calendar element.
|
|
880
|
-
* @param {Boolean} isMobile -
|
|
880
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
881
881
|
* @private
|
|
882
882
|
* @returns {void}
|
|
883
883
|
*/
|
|
@@ -10458,7 +10458,7 @@ class CalendarUtilities {
|
|
|
10458
10458
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
10459
10459
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
10460
10460
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10461
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10461
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
10462
10462
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
10463
10463
|
* - 'short' (e.g., Thu)
|
|
10464
10464
|
* - 'narrow' (e.g., T).
|
|
@@ -18239,6 +18239,28 @@ class AuroDatePicker extends r$7 {
|
|
|
18239
18239
|
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDatePicker);
|
|
18240
18240
|
}
|
|
18241
18241
|
|
|
18242
|
+
/**
|
|
18243
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
18244
|
+
* @returns {string[]}
|
|
18245
|
+
*/
|
|
18246
|
+
get values() {
|
|
18247
|
+
// If range, and both populated, return both values in an array
|
|
18248
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
18249
|
+
if (this.range && this.value && this.valueEnd) {
|
|
18250
|
+
return [
|
|
18251
|
+
this.value,
|
|
18252
|
+
this.valueEnd
|
|
18253
|
+
];
|
|
18254
|
+
}
|
|
18255
|
+
|
|
18256
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
18257
|
+
if (this.value) {
|
|
18258
|
+
return [this.value];
|
|
18259
|
+
}
|
|
18260
|
+
|
|
18261
|
+
return [];
|
|
18262
|
+
}
|
|
18263
|
+
|
|
18242
18264
|
/**
|
|
18243
18265
|
* Force the calendar view to the focus date when it changes.
|
|
18244
18266
|
* @private
|
|
@@ -583,7 +583,7 @@ class UtilitiesCalendarRender {
|
|
|
583
583
|
/**
|
|
584
584
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
585
585
|
* @param {Object} elem - The auro-calendar element.
|
|
586
|
-
* @param {Boolean} isMobile -
|
|
586
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
587
587
|
* @private
|
|
588
588
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
589
589
|
*/
|
|
@@ -617,7 +617,7 @@ class UtilitiesCalendarRender {
|
|
|
617
617
|
/**
|
|
618
618
|
* Determines the number of months rendered inside the calendar.
|
|
619
619
|
* @param {Object} elem - The auro-calendar element.
|
|
620
|
-
* @param {Boolean} isMobile -
|
|
620
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
621
621
|
* @private
|
|
622
622
|
* @returns {void}
|
|
623
623
|
*/
|
|
@@ -10198,7 +10198,7 @@ class CalendarUtilities {
|
|
|
10198
10198
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
10199
10199
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
10200
10200
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10201
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10201
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
10202
10202
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
10203
10203
|
* - 'short' (e.g., Thu)
|
|
10204
10204
|
* - 'narrow' (e.g., T).
|
|
@@ -17979,6 +17979,28 @@ class AuroDatePicker extends r$7 {
|
|
|
17979
17979
|
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDatePicker);
|
|
17980
17980
|
}
|
|
17981
17981
|
|
|
17982
|
+
/**
|
|
17983
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
17984
|
+
* @returns {string[]}
|
|
17985
|
+
*/
|
|
17986
|
+
get values() {
|
|
17987
|
+
// If range, and both populated, return both values in an array
|
|
17988
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
17989
|
+
if (this.range && this.value && this.valueEnd) {
|
|
17990
|
+
return [
|
|
17991
|
+
this.value,
|
|
17992
|
+
this.valueEnd
|
|
17993
|
+
];
|
|
17994
|
+
}
|
|
17995
|
+
|
|
17996
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
17997
|
+
if (this.value) {
|
|
17998
|
+
return [this.value];
|
|
17999
|
+
}
|
|
18000
|
+
|
|
18001
|
+
return [];
|
|
18002
|
+
}
|
|
18003
|
+
|
|
17982
18004
|
/**
|
|
17983
18005
|
* Force the calendar view to the focus date when it changes.
|
|
17984
18006
|
* @private
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
8
8
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
9
9
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
11
11
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
12
12
|
* - 'short' (e.g., Thu)
|
|
13
13
|
* - 'narrow' (e.g., T).
|
|
@@ -208,6 +208,11 @@ export class AuroDatePicker extends LitElement {
|
|
|
208
208
|
* @private
|
|
209
209
|
*/
|
|
210
210
|
private inputTag;
|
|
211
|
+
/**
|
|
212
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
213
|
+
* @returns {string[]}
|
|
214
|
+
*/
|
|
215
|
+
get values(): string[];
|
|
211
216
|
/**
|
|
212
217
|
* Force the calendar view to the focus date when it changes.
|
|
213
218
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-datepicker.d.ts","sourceRoot":"","sources":["../src/auro-datepicker.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH;IA0FE;QAGI;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAnQC;;OAEG;IACH,aAAyC;IAEzC;;OAEG;IACH,2BAAuD;IASvD,kBAAqB;IACrB,kBAAqB;IACrB,eAAkB;IAClB,oBAAuB;IACvB,cAAyB;IACzB,WAAsB;IACtB,cAAyB;IACzB,uBAAkC;IAClC,qBAAgC;IAChC,uBAAmC;IACnC,qBAaC;IAED;;OAEG;IACH,aAA4B;IAE5B;;OAEG;IACH,wBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAE1C;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,8CAAkD;IAOlD;;OAEG;IACH,oBAAyF;IAEzF;;OAEG;IACH,iBAA6E;IAqL/E;;;;OAIG;IACH,8BAMC;IAED;;;;OAIG;IACH,6BAEC;IAED;;;;OAIG;IACH,2BAFa,IAAI,CAIhB;IAGD;;;;;OAKG;IACH,6BAEC;IAED;;;;;OAKG;IACH,4BAMC;IAED;;;;OAIG;IACH,2BAUC;IAED;;;;;OAKG;IACH,yBAiBC;IAED;;;;OAIG;IACH,gCAEC;IAED;;;;OAIG;IACH,gCAQC;IAED;;;;;OAKG;IACH,2BAUC;IAED;;;;OAIG;IACH,0BA0BC;IAzBC,cAA4E;IA2B9E;;;;OAIG;IACH,uBAsCC;IArCC,kBAAkE;IAElE,iBAAgF;IAyB1E,kBAAsC;IAY9C;;;;OAIG;IACH,0BA2BC;IA1BC,kBAA8D;IA4BhE;;;;OAIG;IACH,4BAwDC;IAED;;;;OAIG;IACH,uBAWC;IAED;;;;;OAKG;IACH,wCAMC;IAED;;;;;OAKG;IACH,wBAwBC;IAvBC,yBAA2B;IAyB7B;;;;OAIG;IACH,wBAEC;IAED;;;OAGG;IACH,SAFa,IAAI,CAQhB;IAED;;;OAGG;IACH,iBAFW,OAAO,QAIjB;IAED,sCAsLC;IAED;;;;;;;OAOG;IACH,yBAGC;IAED,qBAYC;IAGD,4CAkFC;CACF;
|
|
1
|
+
{"version":3,"file":"auro-datepicker.d.ts","sourceRoot":"","sources":["../src/auro-datepicker.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH;IA0FE;QAGI;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAnQC;;OAEG;IACH,aAAyC;IAEzC;;OAEG;IACH,2BAAuD;IASvD,kBAAqB;IACrB,kBAAqB;IACrB,eAAkB;IAClB,oBAAuB;IACvB,cAAyB;IACzB,WAAsB;IACtB,cAAyB;IACzB,uBAAkC;IAClC,qBAAgC;IAChC,uBAAmC;IACnC,qBAaC;IAED;;OAEG;IACH,aAA4B;IAE5B;;OAEG;IACH,wBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAE1C;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,8CAAkD;IAOlD;;OAEG;IACH,oBAAyF;IAEzF;;OAEG;IACH,iBAA6E;IAqL/E;;;OAGG;IACH,cAFa,MAAM,EAAE,CAkBpB;IAED;;;;OAIG;IACH,8BAMC;IAED;;;;OAIG;IACH,6BAEC;IAED;;;;OAIG;IACH,2BAFa,IAAI,CAIhB;IAGD;;;;;OAKG;IACH,6BAEC;IAED;;;;;OAKG;IACH,4BAMC;IAED;;;;OAIG;IACH,2BAUC;IAED;;;;;OAKG;IACH,yBAiBC;IAED;;;;OAIG;IACH,gCAEC;IAED;;;;OAIG;IACH,gCAQC;IAED;;;;;OAKG;IACH,2BAUC;IAED;;;;OAIG;IACH,0BA0BC;IAzBC,cAA4E;IA2B9E;;;;OAIG;IACH,uBAsCC;IArCC,kBAAkE;IAElE,iBAAgF;IAyB1E,kBAAsC;IAY9C;;;;OAIG;IACH,0BA2BC;IA1BC,kBAA8D;IA4BhE;;;;OAIG;IACH,4BAwDC;IAED;;;;OAIG;IACH,uBAWC;IAED;;;;;OAKG;IACH,wCAMC;IAED;;;;;OAKG;IACH,wBAwBC;IAvBC,yBAA2B;IAyB7B;;;;OAIG;IACH,wBAEC;IAED;;;OAGG;IACH,SAFa,IAAI,CAQhB;IAED;;;OAGG;IACH,iBAFW,OAAO,QAIjB;IAED,sCAsLC;IAED;;;;;;;OAOG;IACH,yBAGC;IAED,qBAYC;IAGD,4CAkFC;CACF;2BA7gC0B,KAAK"}
|
|
@@ -583,7 +583,7 @@ class UtilitiesCalendarRender {
|
|
|
583
583
|
/**
|
|
584
584
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
585
585
|
* @param {Object} elem - The auro-calendar element.
|
|
586
|
-
* @param {Boolean} isMobile -
|
|
586
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
587
587
|
* @private
|
|
588
588
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
589
589
|
*/
|
|
@@ -617,7 +617,7 @@ class UtilitiesCalendarRender {
|
|
|
617
617
|
/**
|
|
618
618
|
* Determines the number of months rendered inside the calendar.
|
|
619
619
|
* @param {Object} elem - The auro-calendar element.
|
|
620
|
-
* @param {Boolean} isMobile -
|
|
620
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
621
621
|
* @private
|
|
622
622
|
* @returns {void}
|
|
623
623
|
*/
|
|
@@ -10198,7 +10198,7 @@ class CalendarUtilities {
|
|
|
10198
10198
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
10199
10199
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
10200
10200
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
10201
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
10201
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
10202
10202
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
10203
10203
|
* - 'short' (e.g., Thu)
|
|
10204
10204
|
* - 'narrow' (e.g., T).
|
|
@@ -17979,6 +17979,28 @@ class AuroDatePicker extends r$7 {
|
|
|
17979
17979
|
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroDatePicker);
|
|
17980
17980
|
}
|
|
17981
17981
|
|
|
17982
|
+
/**
|
|
17983
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
17984
|
+
* @returns {string[]}
|
|
17985
|
+
*/
|
|
17986
|
+
get values() {
|
|
17987
|
+
// If range, and both populated, return both values in an array
|
|
17988
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
17989
|
+
if (this.range && this.value && this.valueEnd) {
|
|
17990
|
+
return [
|
|
17991
|
+
this.value,
|
|
17992
|
+
this.valueEnd
|
|
17993
|
+
];
|
|
17994
|
+
}
|
|
17995
|
+
|
|
17996
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
17997
|
+
if (this.value) {
|
|
17998
|
+
return [this.value];
|
|
17999
|
+
}
|
|
18000
|
+
|
|
18001
|
+
return [];
|
|
18002
|
+
}
|
|
18003
|
+
|
|
17982
18004
|
/**
|
|
17983
18005
|
* Force the calendar view to the focus date when it changes.
|
|
17984
18006
|
* @private
|
|
@@ -17,7 +17,7 @@ export class UtilitiesCalendarRender {
|
|
|
17
17
|
/**
|
|
18
18
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
19
19
|
* @param {Object} elem - The auro-calendar element.
|
|
20
|
-
* @param {Boolean} isMobile -
|
|
20
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
21
21
|
* @private
|
|
22
22
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ export class UtilitiesCalendarRender {
|
|
|
25
25
|
/**
|
|
26
26
|
* Determines the number of months rendered inside the calendar.
|
|
27
27
|
* @param {Object} elem - The auro-calendar element.
|
|
28
|
-
* @param {Boolean} isMobile -
|
|
28
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
29
29
|
* @private
|
|
30
30
|
* @returns {void}
|
|
31
31
|
*/
|
|
@@ -25,7 +25,7 @@ import { UtilitiesCalendarRender } from './utilitiesCalendarRender.js';
|
|
|
25
25
|
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
26
26
|
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
27
27
|
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
28
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat
|
|
28
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
29
29
|
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
30
30
|
* - 'short' (e.g., Thu)
|
|
31
31
|
* - 'narrow' (e.g., T).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
// ---------------------------------------------------------------------
|
|
5
5
|
|
|
6
|
-
/* eslint-disable max-lines,
|
|
6
|
+
/* eslint-disable max-lines, no-magic-numbers, complexity, newline-per-chained-call, no-underscore-dangle, lit/binding-positions,
|
|
7
7
|
lit/no-invalid-html, no-unused-expressions */
|
|
8
8
|
|
|
9
9
|
// If using litElement base class
|
|
@@ -319,6 +319,28 @@ export class AuroDatePicker extends LitElement {
|
|
|
319
319
|
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDatePicker);
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
+
/**
|
|
323
|
+
* A convenience wrapper for `value` and `valueEnd`, uses the new Auro "array value pattern".
|
|
324
|
+
* @returns {string[]}
|
|
325
|
+
*/
|
|
326
|
+
get values() {
|
|
327
|
+
// If range, and both populated, return both values in an array
|
|
328
|
+
// - NOTE: both are required here, so we don't have something like `['10/22/25', undefined]`
|
|
329
|
+
if (this.range && this.value && this.valueEnd) {
|
|
330
|
+
return [
|
|
331
|
+
this.value,
|
|
332
|
+
this.valueEnd
|
|
333
|
+
];
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// This if block catches instances where `value` is present, no matter if valueEnd is selected yet
|
|
337
|
+
if (this.value) {
|
|
338
|
+
return [this.value];
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
return [];
|
|
342
|
+
}
|
|
343
|
+
|
|
322
344
|
/**
|
|
323
345
|
* Force the calendar view to the focus date when it changes.
|
|
324
346
|
* @private
|
|
@@ -41,7 +41,7 @@ export class UtilitiesCalendarRender {
|
|
|
41
41
|
/**
|
|
42
42
|
* Determines how many calendar months can be rendered based on the screen size and defined range.
|
|
43
43
|
* @param {Object} elem - The auro-calendar element.
|
|
44
|
-
* @param {Boolean} isMobile -
|
|
44
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
45
45
|
* @private
|
|
46
46
|
* @returns {Number} Returns the maximum number of months that can be rendered.
|
|
47
47
|
*/
|
|
@@ -75,7 +75,7 @@ export class UtilitiesCalendarRender {
|
|
|
75
75
|
/**
|
|
76
76
|
* Determines the number of months rendered inside the calendar.
|
|
77
77
|
* @param {Object} elem - The auro-calendar element.
|
|
78
|
-
* @param {Boolean} isMobile -
|
|
78
|
+
* @param {Boolean} isMobile - True if it's to render for mobile view.
|
|
79
79
|
* @private
|
|
80
80
|
* @returns {void}
|
|
81
81
|
*/
|
|
@@ -93,10 +93,10 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
93
93
|
[32mcreated [1mdist[22m in [1m1s[22m[39m
|
|
94
94
|
[36m
|
|
95
95
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
96
|
-
[32mcreated [1m./demo/[22m in [
|
|
96
|
+
[32mcreated [1m./demo/[22m in [1m857ms[22m[39m
|
|
97
97
|
[36m
|
|
98
98
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
99
|
-
[32mcreated [1m./demo/[22m in [
|
|
99
|
+
[32mcreated [1m./demo/[22m in [1m946ms[22m[39m
|
|
100
100
|
|
|
101
101
|
> @aurodesignsystem/auro-dropdown@3.0.0 build:docs
|
|
102
102
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component dropdown
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m1s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
10
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m1s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m830ms[22m[39m
|
|
@@ -97,7 +97,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
97
97
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
98
98
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.9.2/dist/tokens/CSSCustomProperties.css" />
|
|
99
99
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
100
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.
|
|
100
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.21/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
101
101
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
102
102
|
|
|
103
103
|
## auro-dropdown use cases
|
|
@@ -69,13 +69,13 @@ Run in verbose mode to see all warnings.
|
|
|
69
69
|
|
|
70
70
|
[36m
|
|
71
71
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
72
|
-
[32mcreated [1mdist[22m in [
|
|
72
|
+
[32mcreated [1mdist[22m in [1m145ms[22m[39m
|
|
73
73
|
[36m
|
|
74
74
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
75
75
|
[32mcreated [1m./demo/[22m in [1m75ms[22m[39m
|
|
76
76
|
[36m
|
|
77
77
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
78
|
-
[32mcreated [1m./demo/[22m in [
|
|
78
|
+
[32mcreated [1m./demo/[22m in [1m67ms[22m[39m
|
|
79
79
|
|
|
80
80
|
> @aurodesignsystem/auro-form@1.0.0 build:docs
|
|
81
81
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component form
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m797ms[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
10
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m351ms[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m360ms[22m[39m
|
|
@@ -98,7 +98,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
98
98
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
99
99
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
100
100
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
101
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-form@2.0.0-beta.
|
|
101
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-form@2.0.0-beta.21/dist/auro-form__bundled.js" type="module"></script>
|
|
102
102
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
103
103
|
|
|
104
104
|
## auro-form use cases
|