@aurodesignsystem/auro-formkit 2.0.0-beta.35 → 2.0.0-beta.36
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/06dfc9c20aacd0fa-meta.json +1 -0
- package/.turbo/cache/075034ccdb82fbea-meta.json +1 -0
- package/.turbo/cache/0ff927ad868537f6-meta.json +1 -0
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +1 -0
- package/.turbo/cache/138466aaa06fa946-meta.json +1 -0
- package/.turbo/cache/15d84f6b062dd363-meta.json +1 -0
- package/.turbo/cache/{636856e9513dd881.tar.zst → 15d84f6b062dd363.tar.zst} +0 -0
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +1 -0
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +1 -0
- package/.turbo/cache/2289d12debb3c42c-meta.json +1 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +1 -0
- package/.turbo/cache/271d4402e968a825-meta.json +1 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +1 -0
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +1 -0
- package/.turbo/cache/35864e32ed83dc15-meta.json +1 -0
- package/.turbo/cache/{a5e07f85374d9a92.tar.zst → 35864e32ed83dc15.tar.zst} +0 -0
- package/.turbo/cache/3a02b7b13f0ca55b-meta.json +1 -0
- package/.turbo/cache/3a02b7b13f0ca55b.tar.zst +0 -0
- package/.turbo/cache/3afe577375a9ee67-meta.json +1 -0
- package/.turbo/cache/{a57b56e1d77cb964.tar.zst → 3afe577375a9ee67.tar.zst} +0 -0
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +1 -0
- package/.turbo/cache/{4e8248fc9e1e3e8f.tar.zst → 4aadd7fe6b69cccf.tar.zst} +0 -0
- package/.turbo/cache/519f3a29843b596b-meta.json +1 -0
- package/.turbo/cache/5b3bb164db4c477c-meta.json +1 -0
- package/.turbo/cache/5b98e88f80b7323c-meta.json +1 -0
- package/.turbo/cache/62581a32993ce7b3-meta.json +1 -0
- package/.turbo/cache/62581a32993ce7b3.tar.zst +0 -0
- package/.turbo/cache/62637db0009ef49c-meta.json +1 -0
- package/.turbo/cache/62637db0009ef49c.tar.zst +0 -0
- package/.turbo/cache/6692ba04e03d369e-meta.json +1 -0
- package/.turbo/cache/{4f5f322655310502.tar.zst → 6692ba04e03d369e.tar.zst} +0 -0
- package/.turbo/cache/688381937188f8c5-meta.json +1 -0
- package/.turbo/cache/688381937188f8c5.tar.zst +0 -0
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +1 -0
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +1 -0
- package/.turbo/cache/{b169402fda42f218.tar.zst → 6d48e8dc24e08c8c.tar.zst} +0 -0
- package/.turbo/cache/70e65d2581c9de95-meta.json +1 -0
- package/.turbo/cache/7a9164b1e7284edb-meta.json +1 -0
- package/.turbo/cache/7e684ba4a635750f-meta.json +1 -0
- package/.turbo/cache/856d958d4a4e3cac-meta.json +1 -0
- package/.turbo/cache/856d958d4a4e3cac.tar.zst +0 -0
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +1 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +1 -0
- package/.turbo/cache/8ad991a0159f51c1-meta.json +1 -0
- package/.turbo/cache/8ad991a0159f51c1.tar.zst +0 -0
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +1 -0
- package/.turbo/cache/90b85f14324f8733-meta.json +1 -0
- package/.turbo/cache/90b85f14324f8733.tar.zst +0 -0
- package/.turbo/cache/91de2098a36b6939-meta.json +1 -0
- package/.turbo/cache/96edc0764ed4ab77-meta.json +1 -0
- package/.turbo/cache/a0ef6b3a6cb6b702-meta.json +1 -0
- package/.turbo/cache/a59a8aab19b83b2a-meta.json +1 -0
- package/.turbo/cache/a776eb6f87cd7464-meta.json +1 -0
- package/.turbo/cache/a9e03f2bf4bb53a8-meta.json +1 -0
- package/.turbo/cache/a9e03f2bf4bb53a8.tar.zst +0 -0
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +1 -0
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +1 -0
- package/.turbo/cache/bbcf8135fb611350-meta.json +1 -0
- package/.turbo/cache/bbcf8135fb611350.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +1 -0
- package/.turbo/cache/c1c7334875426ff3-meta.json +1 -0
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +1 -0
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +1 -0
- package/.turbo/cache/d98e545755f6dc12-meta.json +1 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +1 -0
- package/.turbo/cache/e78a31ec937f4d7a-meta.json +1 -0
- package/.turbo/cache/ea92743dea3b7023-meta.json +1 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +1 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +1 -0
- package/.turbo/cache/faafa5cc35d12e06-meta.json +1 -0
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- package/CHANGELOG.md +14 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +2 -2
- package/components/checkbox/package.json +2 -2
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +5 -5
- package/components/combobox/demo/api.min.js +85 -11
- package/components/combobox/demo/index.min.js +85 -11
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +85 -11
- package/components/combobox/package.json +2 -2
- package/components/combobox/src/auro-combobox.js +0 -4
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/README.md +2 -2
- package/components/counter/demo/api.min.js +85 -7
- package/components/counter/demo/index.min.js +85 -7
- package/components/counter/dist/index.js +85 -7
- package/components/counter/package.json +2 -2
- package/components/datepicker/.turbo/turbo-build.log +1 -1
- package/components/datepicker/README.md +5 -5
- package/components/datepicker/demo/api.min.js +85 -14
- package/components/datepicker/demo/index.min.js +85 -14
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +85 -14
- package/components/datepicker/package.json +2 -2
- package/components/datepicker/src/auro-datepicker.js +0 -7
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/README.md +2 -2
- package/components/dropdown/demo/api.md +15 -2
- package/components/dropdown/demo/api.min.js +85 -7
- package/components/dropdown/demo/index.js +0 -3
- package/components/dropdown/demo/index.min.js +85 -10
- package/components/dropdown/dist/auro-dropdown.d.ts +9 -1
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +85 -7
- package/components/dropdown/package.json +2 -2
- package/components/dropdown/src/auro-dropdown.js +78 -4
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +3 -1
- package/components/dropdown/src/styles/color.scss +3 -1
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +5 -0
- package/components/dropdown/src/styles/style.scss +8 -2
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +1 -0
- package/components/dropdown/src/styles/tokens.scss +1 -0
- package/components/form/.turbo/turbo-build.log +2 -2
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +2 -2
- package/components/form/package.json +2 -2
- package/components/helptext/.turbo/turbo-build.log +1 -1
- package/components/helptext/.turbo/turbo-bundler.log +1 -1
- package/components/helptext/package.json +2 -2
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/README.md +2 -2
- package/components/input/package.json +2 -2
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +2 -2
- package/components/menu/package.json +2 -2
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +2 -2
- package/components/radio/package.json +2 -3
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +4 -4
- package/components/select/demo/api.min.js +85 -7
- package/components/select/demo/index.min.js +85 -7
- package/components/select/dist/index.js +85 -7
- package/components/select/package.json +2 -2
- package/package.json +2 -2
- package/.turbo/cache/1d4280429ff4222f-meta.json +0 -1
- package/.turbo/cache/1e094164b4932553-meta.json +0 -1
- package/.turbo/cache/251ba344c6338ba3-meta.json +0 -1
- package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
- package/.turbo/cache/27b0d0b95232015d-meta.json +0 -1
- package/.turbo/cache/27b0d0b95232015d.tar.zst +0 -0
- package/.turbo/cache/28fe2121c9ba81e2-meta.json +0 -1
- package/.turbo/cache/298b6ff0272e6226-meta.json +0 -1
- package/.turbo/cache/2abb5400a01a1694-meta.json +0 -1
- package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
- package/.turbo/cache/2f1030603b21f80d-meta.json +0 -1
- package/.turbo/cache/2f1030603b21f80d.tar.zst +0 -0
- package/.turbo/cache/3058929eb73309e5-meta.json +0 -1
- package/.turbo/cache/30fda91ef83677e4-meta.json +0 -1
- package/.turbo/cache/3221d91a94756c26-meta.json +0 -1
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +0 -1
- package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +0 -1
- package/.turbo/cache/42471e399b9036ff-meta.json +0 -1
- package/.turbo/cache/430c124614841675-meta.json +0 -1
- package/.turbo/cache/457a9f56f941d179-meta.json +0 -1
- package/.turbo/cache/457a9f56f941d179.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +0 -1
- package/.turbo/cache/46083e154ba76896-meta.json +0 -1
- package/.turbo/cache/46083e154ba76896.tar.zst +0 -0
- package/.turbo/cache/4b94aa05a0403c24-meta.json +0 -1
- package/.turbo/cache/4e8248fc9e1e3e8f-meta.json +0 -1
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +0 -1
- package/.turbo/cache/4f5f322655310502-meta.json +0 -1
- package/.turbo/cache/52b8dd620355a643-meta.json +0 -1
- package/.turbo/cache/5326b73ddda05291-meta.json +0 -1
- package/.turbo/cache/536bf32361621ecf-meta.json +0 -1
- package/.turbo/cache/5a9a22bec5b85071-meta.json +0 -1
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +0 -1
- package/.turbo/cache/636856e9513dd881-meta.json +0 -1
- package/.turbo/cache/64124d335f246ad4-meta.json +0 -1
- package/.turbo/cache/64124d335f246ad4.tar.zst +0 -0
- package/.turbo/cache/663b470a9b090056-meta.json +0 -1
- package/.turbo/cache/663b470a9b090056.tar.zst +0 -0
- package/.turbo/cache/6e0b3da6e3ff3718-meta.json +0 -1
- package/.turbo/cache/753b119a389426be-meta.json +0 -1
- package/.turbo/cache/785960dbbde053b6-meta.json +0 -1
- package/.turbo/cache/88f0204c4fde872f-meta.json +0 -1
- package/.turbo/cache/88f0204c4fde872f.tar.zst +0 -0
- package/.turbo/cache/a57b56e1d77cb964-meta.json +0 -1
- package/.turbo/cache/a5e07f85374d9a92-meta.json +0 -1
- package/.turbo/cache/a8889572165c9122-meta.json +0 -1
- package/.turbo/cache/a8889572165c9122.tar.zst +0 -0
- package/.turbo/cache/b169402fda42f218-meta.json +0 -1
- package/.turbo/cache/b770ff022e446032-meta.json +0 -1
- package/.turbo/cache/b770ff022e446032.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +0 -1
- package/.turbo/cache/c405949d7a6017ee-meta.json +0 -1
- package/.turbo/cache/ca9625ba0a5cd272-meta.json +0 -1
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +0 -1
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +0 -1
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +0 -1
- package/.turbo/cache/de494df6a3006101-meta.json +0 -1
- package/.turbo/cache/e56a9865641ec3e8-meta.json +0 -1
- package/.turbo/cache/e7ed9e7056d80938-meta.json +0 -1
- package/.turbo/cache/e837827cd24834c4-meta.json +0 -1
- package/.turbo/cache/e9ff93179777aa26-meta.json +0 -1
- package/.turbo/cache/ef4682705ab4d7ab-meta.json +0 -1
- package/.turbo/cache/f2e689c8cdd1aafe-meta.json +0 -1
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +0 -1
- package/.turbo/cache/feef1cd478f1cf5a-meta.json +0 -1
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +0 -1
- /package/.turbo/cache/{d3afdb9a7db9eacc.tar.zst → 06dfc9c20aacd0fa.tar.zst} +0 -0
- /package/.turbo/cache/{e837827cd24834c4.tar.zst → 075034ccdb82fbea.tar.zst} +0 -0
- /package/.turbo/cache/{e7ed9e7056d80938.tar.zst → 10b8500a6b0c6655.tar.zst} +0 -0
- /package/.turbo/cache/{5fc9a7a072827b7b.tar.zst → 138466aaa06fa946.tar.zst} +0 -0
- /package/.turbo/cache/{cbcd9db8ac9a2d52.tar.zst → 1a8525cb6ad91e2a.tar.zst} +0 -0
- /package/.turbo/cache/{1d4280429ff4222f.tar.zst → 1d4e8167ea8e924f.tar.zst} +0 -0
- /package/.turbo/cache/{4e9c9a5dd62c50a4.tar.zst → 2289d12debb3c42c.tar.zst} +0 -0
- /package/.turbo/cache/{de494df6a3006101.tar.zst → 22fc147c04804f70.tar.zst} +0 -0
- /package/.turbo/cache/{52b8dd620355a643.tar.zst → 271d4402e968a825.tar.zst} +0 -0
- /package/.turbo/cache/{f2e689c8cdd1aafe.tar.zst → 3025cdff2ca7afbf.tar.zst} +0 -0
- /package/.turbo/cache/{bf3d1eace5e676f9.tar.zst → 3082b3a86c0f9b94.tar.zst} +0 -0
- /package/.turbo/cache/{ef4682705ab4d7ab.tar.zst → 519f3a29843b596b.tar.zst} +0 -0
- /package/.turbo/cache/{3f1b3db13386acdc.tar.zst → 5b3bb164db4c477c.tar.zst} +0 -0
- /package/.turbo/cache/{4b94aa05a0403c24.tar.zst → 5b98e88f80b7323c.tar.zst} +0 -0
- /package/.turbo/cache/{3221d91a94756c26.tar.zst → 6bfd7cffad1e6b8a.tar.zst} +0 -0
- /package/.turbo/cache/{753b119a389426be.tar.zst → 70e65d2581c9de95.tar.zst} +0 -0
- /package/.turbo/cache/{536bf32361621ecf.tar.zst → 7a9164b1e7284edb.tar.zst} +0 -0
- /package/.turbo/cache/{feef1cd478f1cf5a.tar.zst → 7e684ba4a635750f.tar.zst} +0 -0
- /package/.turbo/cache/{6e0b3da6e3ff3718.tar.zst → 85f181c5a0ebfdc3.tar.zst} +0 -0
- /package/.turbo/cache/{ff3c8a3042cab66e.tar.zst → 88d4c5b7339b081b.tar.zst} +0 -0
- /package/.turbo/cache/{e9ff93179777aa26.tar.zst → 8f20a1cd3533e2cb.tar.zst} +0 -0
- /package/.turbo/cache/{28fe2121c9ba81e2.tar.zst → 91de2098a36b6939.tar.zst} +0 -0
- /package/.turbo/cache/{430c124614841675.tar.zst → 96edc0764ed4ab77.tar.zst} +0 -0
- /package/.turbo/cache/{3058929eb73309e5.tar.zst → a0ef6b3a6cb6b702.tar.zst} +0 -0
- /package/.turbo/cache/{c405949d7a6017ee.tar.zst → a59a8aab19b83b2a.tar.zst} +0 -0
- /package/.turbo/cache/{f7ab9a13f9acc0ab.tar.zst → a776eb6f87cd7464.tar.zst} +0 -0
- /package/.turbo/cache/{30fda91ef83677e4.tar.zst → ac47b2df8381d990.tar.zst} +0 -0
- /package/.turbo/cache/{298b6ff0272e6226.tar.zst → bff34c0db361f414.tar.zst} +0 -0
- /package/.turbo/cache/{ca9625ba0a5cd272.tar.zst → c1c7334875426ff3.tar.zst} +0 -0
- /package/.turbo/cache/{5326b73ddda05291.tar.zst → cd12b66dd972aaf7.tar.zst} +0 -0
- /package/.turbo/cache/{45bdeb0396723b25.tar.zst → d5dbe6fb31ae5667.tar.zst} +0 -0
- /package/.turbo/cache/{5a9a22bec5b85071.tar.zst → d98e545755f6dc12.tar.zst} +0 -0
- /package/.turbo/cache/{785960dbbde053b6.tar.zst → e64bd75c16c140f3.tar.zst} +0 -0
- /package/.turbo/cache/{42471e399b9036ff.tar.zst → e78a31ec937f4d7a.tar.zst} +0 -0
- /package/.turbo/cache/{d8ecdff9c663c38e.tar.zst → ea92743dea3b7023.tar.zst} +0 -0
- /package/.turbo/cache/{1e094164b4932553.tar.zst → f22dc2dd55715ba2.tar.zst} +0 -0
- /package/.turbo/cache/{e56a9865641ec3e8.tar.zst → f8f99ba69bff8f2c.tar.zst} +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@alaskaairux/icons": "^4.43.0",
|
|
21
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
21
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
22
22
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@auro-formkit/typescript": "*",
|
|
29
29
|
"@aurodesignsystem/auro-datepicker": "*",
|
|
30
30
|
"@aurodesignsystem/auro-input": "*",
|
|
31
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
31
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
32
32
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
33
33
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
34
34
|
"backstopjs": "^6.3.25",
|
|
@@ -42,7 +42,7 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
42
42
|
|
|
43
43
|
[36m
|
|
44
44
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
45
|
-
[32mcreated [1mdist[22m in [
|
|
45
|
+
[32mcreated [1mdist[22m in [1m283ms[22m[39m
|
|
46
46
|
|
|
47
47
|
> @aurodesignsystem/auro-helptext@1.0.0 types
|
|
48
48
|
> tsc --project tsconfig.json
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"lit": "^3.2.1"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
16
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
17
17
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@auro-formkit/build-tools": "*",
|
|
21
21
|
"@auro-formkit/config": "*",
|
|
22
22
|
"@auro-formkit/typescript": "*",
|
|
23
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
23
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
24
24
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
25
25
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
26
26
|
"rollup": "^4.24.0",
|
|
@@ -206,13 +206,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
206
206
|
|
|
207
207
|
[36m
|
|
208
208
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
209
|
-
[32mcreated [1mdist[22m in [1m1.
|
|
209
|
+
[32mcreated [1mdist[22m in [1m1.3s[22m[39m
|
|
210
210
|
[36m
|
|
211
211
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
212
|
-
[32mcreated [1m./demo/[22m in [
|
|
212
|
+
[32mcreated [1m./demo/[22m in [1m776ms[22m[39m
|
|
213
213
|
[36m
|
|
214
214
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
215
|
-
[32mcreated [1m./demo/[22m in [
|
|
215
|
+
[32mcreated [1m./demo/[22m in [1m728ms[22m[39m
|
|
216
216
|
|
|
217
217
|
> @aurodesignsystem/auro-input@4.2.0 build:docs
|
|
218
218
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component input
|
|
@@ -87,9 +87,9 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
87
87
|
|
|
88
88
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
|
|
89
89
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
90
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.
|
|
90
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
|
|
91
91
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
92
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.
|
|
92
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.35/dist/auro-input__bundled.js" type="module"></script>
|
|
93
93
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
94
94
|
|
|
95
95
|
## auro-input use cases
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@alaskaairux/icons": "^4.43.0",
|
|
24
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
24
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
25
25
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@auro-formkit/config": "*",
|
|
31
31
|
"@auro-formkit/form-validation": "*",
|
|
32
32
|
"@auro-formkit/typescript": "*",
|
|
33
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
33
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
34
34
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
35
35
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
36
36
|
"backstopjs": "^6.3.25",
|
|
@@ -101,13 +101,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
101
101
|
|
|
102
102
|
[36m
|
|
103
103
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
104
|
-
[32mcreated [1mdist[22m in [
|
|
104
|
+
[32mcreated [1mdist[22m in [1m553ms[22m[39m
|
|
105
105
|
[36m
|
|
106
106
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
107
|
-
[32mcreated [1m./demo/[22m in [
|
|
107
|
+
[32mcreated [1m./demo/[22m in [1m536ms[22m[39m
|
|
108
108
|
[36m
|
|
109
109
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
110
|
-
[32mcreated [1m./demo/[22m in [
|
|
110
|
+
[32mcreated [1m./demo/[22m in [1m460ms[22m[39m
|
|
111
111
|
|
|
112
112
|
> @aurodesignsystem/auro-menu@4.1.4 build:docs
|
|
113
113
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component menu
|
|
@@ -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 [1m478ms[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 [1m434ms[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 [1m240ms[22m[39m
|
|
@@ -98,9 +98,9 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
98
98
|
|
|
99
99
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
|
|
100
100
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
101
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.
|
|
101
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/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-menu@2.0.0-beta.
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-menu@2.0.0-beta.35/dist/auro-menu__bundled.js" type="module"></script>
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
106
106
|
## auro-menu use cases
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"lit": "^3.2.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
20
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
21
21
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@auro-formkit/build-tools": "*",
|
|
26
26
|
"@auro-formkit/config": "*",
|
|
27
27
|
"@auro-formkit/typescript": "*",
|
|
28
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
28
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
29
29
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
30
30
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
31
31
|
"chalk": "^5.3.0",
|
|
@@ -138,13 +138,13 @@ Run in verbose mode to see all warnings.
|
|
|
138
138
|
|
|
139
139
|
[36m
|
|
140
140
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
141
|
-
[32mcreated [1mdist[22m in [
|
|
141
|
+
[32mcreated [1mdist[22m in [1m674ms[22m[39m
|
|
142
142
|
[36m
|
|
143
143
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
144
|
-
[32mcreated [1m./demo/[22m in [
|
|
144
|
+
[32mcreated [1m./demo/[22m in [1m548ms[22m[39m
|
|
145
145
|
[36m
|
|
146
146
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
147
|
-
[32mcreated [1m./demo/[22m in [
|
|
147
|
+
[32mcreated [1m./demo/[22m in [1m793ms[22m[39m
|
|
148
148
|
|
|
149
149
|
> @aurodesignsystem/auro-radio@4.1.1 build:docs
|
|
150
150
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component radio
|
|
@@ -88,9 +88,9 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
88
88
|
|
|
89
89
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
|
|
90
90
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
91
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.
|
|
91
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
|
|
92
92
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
93
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-radio@2.0.0-beta.
|
|
93
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-radio@2.0.0-beta.35/dist/auro-radio__bundled.js" type="module"></script>
|
|
94
94
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
95
95
|
|
|
96
96
|
## auro-radio use cases
|
|
@@ -18,16 +18,15 @@
|
|
|
18
18
|
"lit": "^3.2.1"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
21
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
22
22
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@alaskaairux/design-tokens": "^3.15.5",
|
|
26
25
|
"@auro-formkit/build-tools": "*",
|
|
27
26
|
"@auro-formkit/config": "*",
|
|
28
27
|
"@auro-formkit/form-validation": "*",
|
|
29
28
|
"@auro-formkit/typescript": "*",
|
|
30
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
29
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
31
30
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
32
31
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
33
32
|
"rollup": "^4.24.0",
|
|
@@ -137,13 +137,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
137
137
|
|
|
138
138
|
[36m
|
|
139
139
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
140
|
-
[32mcreated [1mdist[22m in [
|
|
140
|
+
[32mcreated [1mdist[22m in [1m1.1s[22m[39m
|
|
141
141
|
[36m
|
|
142
142
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
143
|
-
[32mcreated [1m./demo/[22m in [
|
|
143
|
+
[32mcreated [1m./demo/[22m in [1m857ms[22m[39m
|
|
144
144
|
[36m
|
|
145
145
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
146
|
-
[32mcreated [1m./demo/[22m in [
|
|
146
|
+
[32mcreated [1m./demo/[22m in [1m769ms[22m[39m
|
|
147
147
|
|
|
148
148
|
> @aurodesignsystem/auro-select@3.3.0 build:docs
|
|
149
149
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component select
|
|
@@ -97,11 +97,11 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
97
97
|
|
|
98
98
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
|
|
99
99
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
100
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.
|
|
100
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
|
|
101
101
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
102
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.
|
|
103
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-menu@2.0.0-beta.
|
|
104
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-select@2.0.0-beta.
|
|
102
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.35/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-menu@2.0.0-beta.35/dist/auro-menu__bundled.js" type="module"></script>
|
|
104
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-select@2.0.0-beta.35/dist/auro-select__bundled.js" type="module"></script>
|
|
105
105
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
106
106
|
|
|
107
107
|
## auro-select use cases
|
|
@@ -2297,7 +2297,11 @@ class AuroFloatingUI {
|
|
|
2297
2297
|
|
|
2298
2298
|
updateState() {
|
|
2299
2299
|
const isVisible = this.element.isPopoverVisible;
|
|
2300
|
-
|
|
2300
|
+
|
|
2301
|
+
// Refactor this to apply attribute to correct focusable element
|
|
2302
|
+
// Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
|
|
2303
|
+
//
|
|
2304
|
+
// this.element.trigger.setAttribute('aria-expanded', isVisible);
|
|
2301
2305
|
|
|
2302
2306
|
if (isVisible) {
|
|
2303
2307
|
this.element.bib.setAttribute('data-show', true);
|
|
@@ -2976,11 +2980,11 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2976
2980
|
|
|
2977
2981
|
var iconVersion$2 = '6.1.2';
|
|
2978
2982
|
|
|
2979
|
-
var styleCss$2$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center
|
|
2983
|
+
var styleCss$2$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2980
2984
|
|
|
2981
|
-
var colorCss$2$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)
|
|
2985
|
+
var colorCss$2$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2982
2986
|
|
|
2983
|
-
var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2987
|
+
var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2984
2988
|
|
|
2985
2989
|
/**
|
|
2986
2990
|
* @license
|
|
@@ -3319,7 +3323,6 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
3319
3323
|
* @csspart trigger - The trigger content container.
|
|
3320
3324
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3321
3325
|
* @csspart helpText - The helpText content container.
|
|
3322
|
-
* @csspart popover - The bib content container.
|
|
3323
3326
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
3324
3327
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
3325
3328
|
*/
|
|
@@ -3652,6 +3655,64 @@ class AuroDropdown extends r$4 {
|
|
|
3652
3655
|
return inCustomSlot;
|
|
3653
3656
|
}
|
|
3654
3657
|
|
|
3658
|
+
/**
|
|
3659
|
+
* Determines if the element or any children are focusable.
|
|
3660
|
+
* @private
|
|
3661
|
+
* @param {HTMLElement} element - Element to check.
|
|
3662
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
3663
|
+
*/
|
|
3664
|
+
containsFocusableElement(element) {
|
|
3665
|
+
this.showTriggerBorders = true;
|
|
3666
|
+
|
|
3667
|
+
const nodes = [
|
|
3668
|
+
element,
|
|
3669
|
+
...element.children
|
|
3670
|
+
];
|
|
3671
|
+
|
|
3672
|
+
const focusableElements = [
|
|
3673
|
+
'a',
|
|
3674
|
+
'auro-hyperlink',
|
|
3675
|
+
'button',
|
|
3676
|
+
'auro-button',
|
|
3677
|
+
'input',
|
|
3678
|
+
'auro-input',
|
|
3679
|
+
];
|
|
3680
|
+
|
|
3681
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
3682
|
+
|
|
3683
|
+
const result = nodes.some((node) => {
|
|
3684
|
+
const tagName = node.tagName.toLowerCase();
|
|
3685
|
+
|
|
3686
|
+
if (node.tabIndex > -1) {
|
|
3687
|
+
return true;
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
if (focusableElements.includes(tagName)) {
|
|
3691
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
3692
|
+
return true;
|
|
3693
|
+
}
|
|
3694
|
+
if (!node.hasAttribute('disabled')) {
|
|
3695
|
+
return true;
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3699
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
3700
|
+
return true;
|
|
3701
|
+
}
|
|
3702
|
+
|
|
3703
|
+
return false;
|
|
3704
|
+
});
|
|
3705
|
+
|
|
3706
|
+
if (result) {
|
|
3707
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
3708
|
+
const tagName = node.tagName.toLowerCase();
|
|
3709
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
3710
|
+
});
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
return result;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3655
3716
|
/**
|
|
3656
3717
|
* Handles changes to the trigger content slot and updates related properties.
|
|
3657
3718
|
*
|
|
@@ -3667,6 +3728,24 @@ class AuroDropdown extends r$4 {
|
|
|
3667
3728
|
handleTriggerContentSlotChange(event) {
|
|
3668
3729
|
this.floater.handleTriggerTabIndex();
|
|
3669
3730
|
|
|
3731
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
3732
|
+
|
|
3733
|
+
triggerContentNodes.forEach((node) => {
|
|
3734
|
+
if (!this.triggerContentFocusable) {
|
|
3735
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
3736
|
+
}
|
|
3737
|
+
});
|
|
3738
|
+
|
|
3739
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
3740
|
+
|
|
3741
|
+
if (!this.triggerContentFocusable) {
|
|
3742
|
+
trigger.setAttribute('tabindex', '0');
|
|
3743
|
+
trigger.setAttribute('role', 'button');
|
|
3744
|
+
} else {
|
|
3745
|
+
trigger.removeAttribute('tabindex');
|
|
3746
|
+
trigger.removeAttribute('role');
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3670
3749
|
if (event) {
|
|
3671
3750
|
this.triggerNode = event.target;
|
|
3672
3751
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -3717,10 +3796,9 @@ class AuroDropdown extends r$4 {
|
|
|
3717
3796
|
id="trigger"
|
|
3718
3797
|
class="trigger"
|
|
3719
3798
|
part="trigger"
|
|
3720
|
-
role="button"
|
|
3721
3799
|
aria-labelledby="triggerLabel"
|
|
3722
|
-
aria-controls="popover"
|
|
3723
3800
|
tabindex="${this.tabIndex}"
|
|
3801
|
+
?showBorder="${this.showTriggerBorders}"
|
|
3724
3802
|
>
|
|
3725
3803
|
<div class="triggerContentWrapper">
|
|
3726
3804
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
@@ -2193,7 +2193,11 @@ class AuroFloatingUI {
|
|
|
2193
2193
|
|
|
2194
2194
|
updateState() {
|
|
2195
2195
|
const isVisible = this.element.isPopoverVisible;
|
|
2196
|
-
|
|
2196
|
+
|
|
2197
|
+
// Refactor this to apply attribute to correct focusable element
|
|
2198
|
+
// Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
|
|
2199
|
+
//
|
|
2200
|
+
// this.element.trigger.setAttribute('aria-expanded', isVisible);
|
|
2197
2201
|
|
|
2198
2202
|
if (isVisible) {
|
|
2199
2203
|
this.element.bib.setAttribute('data-show', true);
|
|
@@ -2872,11 +2876,11 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2872
2876
|
|
|
2873
2877
|
var iconVersion$2 = '6.1.2';
|
|
2874
2878
|
|
|
2875
|
-
var styleCss$2$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center
|
|
2879
|
+
var styleCss$2$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2876
2880
|
|
|
2877
|
-
var colorCss$2$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)
|
|
2881
|
+
var colorCss$2$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2878
2882
|
|
|
2879
|
-
var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2883
|
+
var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2880
2884
|
|
|
2881
2885
|
/**
|
|
2882
2886
|
* @license
|
|
@@ -3215,7 +3219,6 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
3215
3219
|
* @csspart trigger - The trigger content container.
|
|
3216
3220
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3217
3221
|
* @csspart helpText - The helpText content container.
|
|
3218
|
-
* @csspart popover - The bib content container.
|
|
3219
3222
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
3220
3223
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
3221
3224
|
*/
|
|
@@ -3548,6 +3551,64 @@ class AuroDropdown extends r$4 {
|
|
|
3548
3551
|
return inCustomSlot;
|
|
3549
3552
|
}
|
|
3550
3553
|
|
|
3554
|
+
/**
|
|
3555
|
+
* Determines if the element or any children are focusable.
|
|
3556
|
+
* @private
|
|
3557
|
+
* @param {HTMLElement} element - Element to check.
|
|
3558
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
3559
|
+
*/
|
|
3560
|
+
containsFocusableElement(element) {
|
|
3561
|
+
this.showTriggerBorders = true;
|
|
3562
|
+
|
|
3563
|
+
const nodes = [
|
|
3564
|
+
element,
|
|
3565
|
+
...element.children
|
|
3566
|
+
];
|
|
3567
|
+
|
|
3568
|
+
const focusableElements = [
|
|
3569
|
+
'a',
|
|
3570
|
+
'auro-hyperlink',
|
|
3571
|
+
'button',
|
|
3572
|
+
'auro-button',
|
|
3573
|
+
'input',
|
|
3574
|
+
'auro-input',
|
|
3575
|
+
];
|
|
3576
|
+
|
|
3577
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
3578
|
+
|
|
3579
|
+
const result = nodes.some((node) => {
|
|
3580
|
+
const tagName = node.tagName.toLowerCase();
|
|
3581
|
+
|
|
3582
|
+
if (node.tabIndex > -1) {
|
|
3583
|
+
return true;
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
if (focusableElements.includes(tagName)) {
|
|
3587
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
3588
|
+
return true;
|
|
3589
|
+
}
|
|
3590
|
+
if (!node.hasAttribute('disabled')) {
|
|
3591
|
+
return true;
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
3596
|
+
return true;
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
return false;
|
|
3600
|
+
});
|
|
3601
|
+
|
|
3602
|
+
if (result) {
|
|
3603
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
3604
|
+
const tagName = node.tagName.toLowerCase();
|
|
3605
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
3606
|
+
});
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
return result;
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3551
3612
|
/**
|
|
3552
3613
|
* Handles changes to the trigger content slot and updates related properties.
|
|
3553
3614
|
*
|
|
@@ -3563,6 +3624,24 @@ class AuroDropdown extends r$4 {
|
|
|
3563
3624
|
handleTriggerContentSlotChange(event) {
|
|
3564
3625
|
this.floater.handleTriggerTabIndex();
|
|
3565
3626
|
|
|
3627
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
3628
|
+
|
|
3629
|
+
triggerContentNodes.forEach((node) => {
|
|
3630
|
+
if (!this.triggerContentFocusable) {
|
|
3631
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
3632
|
+
}
|
|
3633
|
+
});
|
|
3634
|
+
|
|
3635
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
3636
|
+
|
|
3637
|
+
if (!this.triggerContentFocusable) {
|
|
3638
|
+
trigger.setAttribute('tabindex', '0');
|
|
3639
|
+
trigger.setAttribute('role', 'button');
|
|
3640
|
+
} else {
|
|
3641
|
+
trigger.removeAttribute('tabindex');
|
|
3642
|
+
trigger.removeAttribute('role');
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3566
3645
|
if (event) {
|
|
3567
3646
|
this.triggerNode = event.target;
|
|
3568
3647
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -3613,10 +3692,9 @@ class AuroDropdown extends r$4 {
|
|
|
3613
3692
|
id="trigger"
|
|
3614
3693
|
class="trigger"
|
|
3615
3694
|
part="trigger"
|
|
3616
|
-
role="button"
|
|
3617
3695
|
aria-labelledby="triggerLabel"
|
|
3618
|
-
aria-controls="popover"
|
|
3619
3696
|
tabindex="${this.tabIndex}"
|
|
3697
|
+
?showBorder="${this.showTriggerBorders}"
|
|
3620
3698
|
>
|
|
3621
3699
|
<div class="triggerContentWrapper">
|
|
3622
3700
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|