@aurodesignsystem/auro-formkit 2.0.0-beta.34 → 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/35864e32ed83dc15.tar.zst +0 -0
- package/.turbo/cache/3a02b7b13f0ca55b-meta.json +1 -0
- package/.turbo/cache/{e04489ada7560903.tar.zst → 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/7a9164b1e7284edb.tar.zst +0 -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/a59a8aab19b83b2a.tar.zst +0 -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/{08582d94197f10ee.tar.zst → 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/e78a31ec937f4d7a.tar.zst +0 -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 +22 -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 +1 -1
- 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 +86 -8
- package/components/counter/demo/index.min.js +86 -8
- package/components/counter/dist/index.js +86 -8
- package/components/counter/package.json +2 -2
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +4 -1
- package/components/counter/src/styles/counter-group.scss +5 -1
- package/components/datepicker/.turbo/turbo-build.log +3 -3
- 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 +3 -3
- 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/08582d94197f10ee-meta.json +0 -1
- package/.turbo/cache/103d2a28d83aecaa-meta.json +0 -1
- package/.turbo/cache/103d2a28d83aecaa.tar.zst +0 -0
- package/.turbo/cache/19fbb16e12ecafea-meta.json +0 -1
- package/.turbo/cache/1d4280429ff4222f-meta.json +0 -1
- package/.turbo/cache/1e094164b4932553-meta.json +0 -1
- package/.turbo/cache/23362f9e97bfb2aa-meta.json +0 -1
- package/.turbo/cache/23362f9e97bfb2aa.tar.zst +0 -0
- 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/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/3e7c2d508c29564b-meta.json +0 -1
- package/.turbo/cache/3f1b3db13386acdc-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/4e8248fc9e1e3e8f-meta.json +0 -1
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +0 -1
- package/.turbo/cache/4f5f322655310502-meta.json +0 -1
- package/.turbo/cache/5326b73ddda05291-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/6e0b3da6e3ff3718-meta.json +0 -1
- package/.turbo/cache/753b119a389426be-meta.json +0 -1
- package/.turbo/cache/785960dbbde053b6-meta.json +0 -1
- package/.turbo/cache/82a9f389dc683578-meta.json +0 -1
- package/.turbo/cache/82a9f389dc683578.tar.zst +0 -0
- package/.turbo/cache/838d169577bdd409-meta.json +0 -1
- package/.turbo/cache/838d169577bdd409.tar.zst +0 -0
- package/.turbo/cache/88f0204c4fde872f-meta.json +0 -1
- package/.turbo/cache/88f0204c4fde872f.tar.zst +0 -0
- package/.turbo/cache/8d64907e7ce80f3e-meta.json +0 -1
- package/.turbo/cache/8d64907e7ce80f3e.tar.zst +0 -0
- package/.turbo/cache/a57b56e1d77cb964-meta.json +0 -1
- package/.turbo/cache/a60bcc111612dda1-meta.json +0 -1
- package/.turbo/cache/a8889572165c9122-meta.json +0 -1
- package/.turbo/cache/a8889572165c9122.tar.zst +0 -0
- package/.turbo/cache/b0b5e4ac676e8308-meta.json +0 -1
- package/.turbo/cache/b169402fda42f218-meta.json +0 -1
- package/.turbo/cache/b7c4f3a43e3ac43b-meta.json +0 -1
- package/.turbo/cache/b7c4f3a43e3ac43b.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-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/e04489ada7560903-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/f2e689c8cdd1aafe-meta.json +0 -1
- package/.turbo/cache/f7ab9a13f9acc0ab-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/{a60bcc111612dda1.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/{19fbb16e12ecafea.tar.zst → 519f3a29843b596b.tar.zst} +0 -0
- /package/.turbo/cache/{3f1b3db13386acdc.tar.zst → 5b3bb164db4c477c.tar.zst} +0 -0
- /package/.turbo/cache/{3e7c2d508c29564b.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/{b0b5e4ac676e8308.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/{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/{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
|
@@ -1723,7 +1723,11 @@ class AuroFloatingUI {
|
|
|
1723
1723
|
|
|
1724
1724
|
updateState() {
|
|
1725
1725
|
const isVisible = this.element.isPopoverVisible;
|
|
1726
|
-
|
|
1726
|
+
|
|
1727
|
+
// Refactor this to apply attribute to correct focusable element
|
|
1728
|
+
// Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
|
|
1729
|
+
//
|
|
1730
|
+
// this.element.trigger.setAttribute('aria-expanded', isVisible);
|
|
1727
1731
|
|
|
1728
1732
|
if (isVisible) {
|
|
1729
1733
|
this.element.bib.setAttribute('data-show', true);
|
|
@@ -2402,11 +2406,11 @@ class AuroIcon extends BaseIcon {
|
|
|
2402
2406
|
|
|
2403
2407
|
var iconVersion = '6.1.2';
|
|
2404
2408
|
|
|
2405
|
-
var styleCss$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
|
|
2409
|
+
var styleCss$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)}`;
|
|
2406
2410
|
|
|
2407
|
-
var colorCss$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)
|
|
2411
|
+
var colorCss$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)}`;
|
|
2408
2412
|
|
|
2409
|
-
var tokensCss$1 = 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)}`;
|
|
2413
|
+
var tokensCss$1 = 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)}`;
|
|
2410
2414
|
|
|
2411
2415
|
/**
|
|
2412
2416
|
* @license
|
|
@@ -2745,7 +2749,6 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
2745
2749
|
* @csspart trigger - The trigger content container.
|
|
2746
2750
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
2747
2751
|
* @csspart helpText - The helpText content container.
|
|
2748
|
-
* @csspart popover - The bib content container.
|
|
2749
2752
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
2750
2753
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
2751
2754
|
*/
|
|
@@ -3078,6 +3081,64 @@ class AuroDropdown extends r$4 {
|
|
|
3078
3081
|
return inCustomSlot;
|
|
3079
3082
|
}
|
|
3080
3083
|
|
|
3084
|
+
/**
|
|
3085
|
+
* Determines if the element or any children are focusable.
|
|
3086
|
+
* @private
|
|
3087
|
+
* @param {HTMLElement} element - Element to check.
|
|
3088
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
3089
|
+
*/
|
|
3090
|
+
containsFocusableElement(element) {
|
|
3091
|
+
this.showTriggerBorders = true;
|
|
3092
|
+
|
|
3093
|
+
const nodes = [
|
|
3094
|
+
element,
|
|
3095
|
+
...element.children
|
|
3096
|
+
];
|
|
3097
|
+
|
|
3098
|
+
const focusableElements = [
|
|
3099
|
+
'a',
|
|
3100
|
+
'auro-hyperlink',
|
|
3101
|
+
'button',
|
|
3102
|
+
'auro-button',
|
|
3103
|
+
'input',
|
|
3104
|
+
'auro-input',
|
|
3105
|
+
];
|
|
3106
|
+
|
|
3107
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
3108
|
+
|
|
3109
|
+
const result = nodes.some((node) => {
|
|
3110
|
+
const tagName = node.tagName.toLowerCase();
|
|
3111
|
+
|
|
3112
|
+
if (node.tabIndex > -1) {
|
|
3113
|
+
return true;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
if (focusableElements.includes(tagName)) {
|
|
3117
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
3118
|
+
return true;
|
|
3119
|
+
}
|
|
3120
|
+
if (!node.hasAttribute('disabled')) {
|
|
3121
|
+
return true;
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
3126
|
+
return true;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
return false;
|
|
3130
|
+
});
|
|
3131
|
+
|
|
3132
|
+
if (result) {
|
|
3133
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
3134
|
+
const tagName = node.tagName.toLowerCase();
|
|
3135
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
return result;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3081
3142
|
/**
|
|
3082
3143
|
* Handles changes to the trigger content slot and updates related properties.
|
|
3083
3144
|
*
|
|
@@ -3093,6 +3154,24 @@ class AuroDropdown extends r$4 {
|
|
|
3093
3154
|
handleTriggerContentSlotChange(event) {
|
|
3094
3155
|
this.floater.handleTriggerTabIndex();
|
|
3095
3156
|
|
|
3157
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
3158
|
+
|
|
3159
|
+
triggerContentNodes.forEach((node) => {
|
|
3160
|
+
if (!this.triggerContentFocusable) {
|
|
3161
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
3162
|
+
}
|
|
3163
|
+
});
|
|
3164
|
+
|
|
3165
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
3166
|
+
|
|
3167
|
+
if (!this.triggerContentFocusable) {
|
|
3168
|
+
trigger.setAttribute('tabindex', '0');
|
|
3169
|
+
trigger.setAttribute('role', 'button');
|
|
3170
|
+
} else {
|
|
3171
|
+
trigger.removeAttribute('tabindex');
|
|
3172
|
+
trigger.removeAttribute('role');
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3096
3175
|
if (event) {
|
|
3097
3176
|
this.triggerNode = event.target;
|
|
3098
3177
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -3143,10 +3222,9 @@ class AuroDropdown extends r$4 {
|
|
|
3143
3222
|
id="trigger"
|
|
3144
3223
|
class="trigger"
|
|
3145
3224
|
part="trigger"
|
|
3146
|
-
role="button"
|
|
3147
3225
|
aria-labelledby="triggerLabel"
|
|
3148
|
-
aria-controls="popover"
|
|
3149
3226
|
tabindex="${this.tabIndex}"
|
|
3227
|
+
?showBorder="${this.showTriggerBorders}"
|
|
3150
3228
|
>
|
|
3151
3229
|
<div class="triggerContentWrapper">
|
|
3152
3230
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
@@ -3193,9 +3271,6 @@ class AuroDropdown extends r$4 {
|
|
|
3193
3271
|
|
|
3194
3272
|
/* eslint-disable jsdoc/require-jsdoc, no-magic-numbers, no-param-reassign */
|
|
3195
3273
|
// import { AuroDropdownBib } from '../src/auro-dropdownBib.js';
|
|
3196
|
-
|
|
3197
|
-
// AuroDropdownBib.register();
|
|
3198
|
-
|
|
3199
3274
|
AuroDropdown.register();
|
|
3200
3275
|
AuroDropdown.register('custom-dropdown');
|
|
3201
3276
|
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* @csspart trigger - The trigger content container.
|
|
8
8
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
9
9
|
* @csspart helpText - The helpText content container.
|
|
10
|
-
* @csspart popover - The bib content container.
|
|
11
10
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
12
11
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
13
12
|
*/
|
|
@@ -220,6 +219,14 @@ export class AuroDropdown extends LitElement {
|
|
|
220
219
|
* @returns {Boolean}
|
|
221
220
|
*/
|
|
222
221
|
private isCustomSlotContent;
|
|
222
|
+
/**
|
|
223
|
+
* Determines if the element or any children are focusable.
|
|
224
|
+
* @private
|
|
225
|
+
* @param {HTMLElement} element - Element to check.
|
|
226
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
227
|
+
*/
|
|
228
|
+
private containsFocusableElement;
|
|
229
|
+
showTriggerBorders: boolean;
|
|
223
230
|
/**
|
|
224
231
|
* Handles changes to the trigger content slot and updates related properties.
|
|
225
232
|
*
|
|
@@ -233,6 +240,7 @@ export class AuroDropdown extends LitElement {
|
|
|
233
240
|
* @returns {void}
|
|
234
241
|
*/
|
|
235
242
|
private handleTriggerContentSlotChange;
|
|
243
|
+
triggerContentFocusable: boolean;
|
|
236
244
|
triggerNode: EventTarget;
|
|
237
245
|
/**
|
|
238
246
|
* Handles the default slot change event and updates the content.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-dropdown.d.ts","sourceRoot":"","sources":["../src/auro-dropdown.js"],"names":[],"mappings":"AAyBA
|
|
1
|
+
{"version":3,"file":"auro-dropdown.d.ts","sourceRoot":"","sources":["../src/auro-dropdown.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;GAWG;AACH;IAyFE;QAGI;;WAEG;;;;;QAMH;;;WAGG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;;;;;QAWH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;MAKN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IArQC,0BAA6B;IAC7B,oBAAuB;IACvB,+BAAkC;IAcpC;;;OAGG;IACH,wBA8CC;IA7CC,kBAAqB;IACrB,iBAAoB;IACpB,kBAAqB;IACrB,eAAkB;IAClB,eAAkB;IAClB,kBAA+B;IAC/B,iBAAoB;IAEpB,kBAAqB;IAErB;;OAEG;IACH,0BAA8B;IAE9B;;OAEG;IACH,2BAAmC;IAEnC;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,gBAAmC;IAEnC;;OAEG;IACH,sBAKC;IAMD,aAAyE;IAG3E;;;OAGG;IACH,QAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,QAFa,IAAI,CAIhB;IA6LD,sCAYC;IAED,qBAMC;IAJC,gBAA0C;IAM5C;;;;OAIG;IACH,uBAEC;IAED;;;;;OAKG;IACH,4BAiBC;IAED;;;;;OAKG;IACH,iCAkDC;IAjDC,4BAA8B;IAmDhC;;;;;;;;;;;OAWG;IACH,uCAyCC;IAlCK,iCAAkE;IAepE,yBAA+B;IAqBnC;;;;;;;;;;;OAWG;IACH,0BAMC;IAGD,4CAmDC;CACF;2BAliB0B,KAAK"}
|
|
@@ -1723,7 +1723,11 @@ class AuroFloatingUI {
|
|
|
1723
1723
|
|
|
1724
1724
|
updateState() {
|
|
1725
1725
|
const isVisible = this.element.isPopoverVisible;
|
|
1726
|
-
|
|
1726
|
+
|
|
1727
|
+
// Refactor this to apply attribute to correct focusable element
|
|
1728
|
+
// Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
|
|
1729
|
+
//
|
|
1730
|
+
// this.element.trigger.setAttribute('aria-expanded', isVisible);
|
|
1727
1731
|
|
|
1728
1732
|
if (isVisible) {
|
|
1729
1733
|
this.element.bib.setAttribute('data-show', true);
|
|
@@ -2402,11 +2406,11 @@ class AuroIcon extends BaseIcon {
|
|
|
2402
2406
|
|
|
2403
2407
|
var iconVersion = '6.1.2';
|
|
2404
2408
|
|
|
2405
|
-
var styleCss$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
|
|
2409
|
+
var styleCss$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)}`;
|
|
2406
2410
|
|
|
2407
|
-
var colorCss$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)
|
|
2411
|
+
var colorCss$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)}`;
|
|
2408
2412
|
|
|
2409
|
-
var tokensCss$1 = 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)}`;
|
|
2413
|
+
var tokensCss$1 = 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)}`;
|
|
2410
2414
|
|
|
2411
2415
|
/**
|
|
2412
2416
|
* @license
|
|
@@ -2745,7 +2749,6 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
2745
2749
|
* @csspart trigger - The trigger content container.
|
|
2746
2750
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
2747
2751
|
* @csspart helpText - The helpText content container.
|
|
2748
|
-
* @csspart popover - The bib content container.
|
|
2749
2752
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
2750
2753
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
2751
2754
|
*/
|
|
@@ -3078,6 +3081,64 @@ class AuroDropdown extends r$4 {
|
|
|
3078
3081
|
return inCustomSlot;
|
|
3079
3082
|
}
|
|
3080
3083
|
|
|
3084
|
+
/**
|
|
3085
|
+
* Determines if the element or any children are focusable.
|
|
3086
|
+
* @private
|
|
3087
|
+
* @param {HTMLElement} element - Element to check.
|
|
3088
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
3089
|
+
*/
|
|
3090
|
+
containsFocusableElement(element) {
|
|
3091
|
+
this.showTriggerBorders = true;
|
|
3092
|
+
|
|
3093
|
+
const nodes = [
|
|
3094
|
+
element,
|
|
3095
|
+
...element.children
|
|
3096
|
+
];
|
|
3097
|
+
|
|
3098
|
+
const focusableElements = [
|
|
3099
|
+
'a',
|
|
3100
|
+
'auro-hyperlink',
|
|
3101
|
+
'button',
|
|
3102
|
+
'auro-button',
|
|
3103
|
+
'input',
|
|
3104
|
+
'auro-input',
|
|
3105
|
+
];
|
|
3106
|
+
|
|
3107
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
3108
|
+
|
|
3109
|
+
const result = nodes.some((node) => {
|
|
3110
|
+
const tagName = node.tagName.toLowerCase();
|
|
3111
|
+
|
|
3112
|
+
if (node.tabIndex > -1) {
|
|
3113
|
+
return true;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
if (focusableElements.includes(tagName)) {
|
|
3117
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
3118
|
+
return true;
|
|
3119
|
+
}
|
|
3120
|
+
if (!node.hasAttribute('disabled')) {
|
|
3121
|
+
return true;
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
3126
|
+
return true;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
return false;
|
|
3130
|
+
});
|
|
3131
|
+
|
|
3132
|
+
if (result) {
|
|
3133
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
3134
|
+
const tagName = node.tagName.toLowerCase();
|
|
3135
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
return result;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3081
3142
|
/**
|
|
3082
3143
|
* Handles changes to the trigger content slot and updates related properties.
|
|
3083
3144
|
*
|
|
@@ -3093,6 +3154,24 @@ class AuroDropdown extends r$4 {
|
|
|
3093
3154
|
handleTriggerContentSlotChange(event) {
|
|
3094
3155
|
this.floater.handleTriggerTabIndex();
|
|
3095
3156
|
|
|
3157
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
3158
|
+
|
|
3159
|
+
triggerContentNodes.forEach((node) => {
|
|
3160
|
+
if (!this.triggerContentFocusable) {
|
|
3161
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
3162
|
+
}
|
|
3163
|
+
});
|
|
3164
|
+
|
|
3165
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
3166
|
+
|
|
3167
|
+
if (!this.triggerContentFocusable) {
|
|
3168
|
+
trigger.setAttribute('tabindex', '0');
|
|
3169
|
+
trigger.setAttribute('role', 'button');
|
|
3170
|
+
} else {
|
|
3171
|
+
trigger.removeAttribute('tabindex');
|
|
3172
|
+
trigger.removeAttribute('role');
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3096
3175
|
if (event) {
|
|
3097
3176
|
this.triggerNode = event.target;
|
|
3098
3177
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -3143,10 +3222,9 @@ class AuroDropdown extends r$4 {
|
|
|
3143
3222
|
id="trigger"
|
|
3144
3223
|
class="trigger"
|
|
3145
3224
|
part="trigger"
|
|
3146
|
-
role="button"
|
|
3147
3225
|
aria-labelledby="triggerLabel"
|
|
3148
|
-
aria-controls="popover"
|
|
3149
3226
|
tabindex="${this.tabIndex}"
|
|
3227
|
+
?showBorder="${this.showTriggerBorders}"
|
|
3150
3228
|
>
|
|
3151
3229
|
<div class="triggerContentWrapper">
|
|
3152
3230
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"lit": "^3.2.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
23
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
24
24
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@auro-formkit/build-tools": "*",
|
|
28
28
|
"@auro-formkit/config": "*",
|
|
29
29
|
"@auro-formkit/typescript": "*",
|
|
30
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
30
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
31
31
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
32
32
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
33
33
|
"postcss-selector-replace": "^1.0.2",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
// ---------------------------------------------------------------------
|
|
5
5
|
|
|
6
|
-
/* eslint-disable max-lines, lit-a11y/accessible-name, lit/no-invalid-html, lit/binding-positions, template-curly-spacing */
|
|
6
|
+
/* eslint-disable max-lines, lit-a11y/accessible-name, lit/no-invalid-html, lit/binding-positions, template-curly-spacing, no-magic-numbers */
|
|
7
7
|
|
|
8
8
|
import { html } from "lit/static-html.js";
|
|
9
9
|
import { LitElement } from "lit";
|
|
@@ -32,7 +32,6 @@ import './auro-dropdownBib.js';
|
|
|
32
32
|
* @csspart trigger - The trigger content container.
|
|
33
33
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
34
34
|
* @csspart helpText - The helpText content container.
|
|
35
|
-
* @csspart popover - The bib content container.
|
|
36
35
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
37
36
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
38
37
|
*/
|
|
@@ -367,6 +366,64 @@ export class AuroDropdown extends LitElement {
|
|
|
367
366
|
return inCustomSlot;
|
|
368
367
|
}
|
|
369
368
|
|
|
369
|
+
/**
|
|
370
|
+
* Determines if the element or any children are focusable.
|
|
371
|
+
* @private
|
|
372
|
+
* @param {HTMLElement} element - Element to check.
|
|
373
|
+
* @returns {Boolean} - True if the element or any children are focusable.
|
|
374
|
+
*/
|
|
375
|
+
containsFocusableElement(element) {
|
|
376
|
+
this.showTriggerBorders = true;
|
|
377
|
+
|
|
378
|
+
const nodes = [
|
|
379
|
+
element,
|
|
380
|
+
...element.children
|
|
381
|
+
];
|
|
382
|
+
|
|
383
|
+
const focusableElements = [
|
|
384
|
+
'a',
|
|
385
|
+
'auro-hyperlink',
|
|
386
|
+
'button',
|
|
387
|
+
'auro-button',
|
|
388
|
+
'input',
|
|
389
|
+
'auro-input',
|
|
390
|
+
];
|
|
391
|
+
|
|
392
|
+
const focusableElementsThatNeedBorders = ['auro-input'];
|
|
393
|
+
|
|
394
|
+
const result = nodes.some((node) => {
|
|
395
|
+
const tagName = node.tagName.toLowerCase();
|
|
396
|
+
|
|
397
|
+
if (node.tabIndex > -1) {
|
|
398
|
+
return true;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
if (focusableElements.includes(tagName)) {
|
|
402
|
+
if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
|
|
403
|
+
return true;
|
|
404
|
+
}
|
|
405
|
+
if (!node.hasAttribute('disabled')) {
|
|
406
|
+
return true;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
|
|
411
|
+
return true;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
return false;
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
if (result) {
|
|
418
|
+
this.showTriggerBorders = !nodes.some((node) => {
|
|
419
|
+
const tagName = node.tagName.toLowerCase();
|
|
420
|
+
return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
return result;
|
|
425
|
+
}
|
|
426
|
+
|
|
370
427
|
/**
|
|
371
428
|
* Handles changes to the trigger content slot and updates related properties.
|
|
372
429
|
*
|
|
@@ -382,6 +439,24 @@ export class AuroDropdown extends LitElement {
|
|
|
382
439
|
handleTriggerContentSlotChange(event) {
|
|
383
440
|
this.floater.handleTriggerTabIndex();
|
|
384
441
|
|
|
442
|
+
const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
|
|
443
|
+
|
|
444
|
+
triggerContentNodes.forEach((node) => {
|
|
445
|
+
if (!this.triggerContentFocusable) {
|
|
446
|
+
this.triggerContentFocusable = this.containsFocusableElement(node);
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
const trigger = this.shadowRoot.querySelector('#trigger');
|
|
451
|
+
|
|
452
|
+
if (!this.triggerContentFocusable) {
|
|
453
|
+
trigger.setAttribute('tabindex', '0');
|
|
454
|
+
trigger.setAttribute('role', 'button');
|
|
455
|
+
} else {
|
|
456
|
+
trigger.removeAttribute('tabindex');
|
|
457
|
+
trigger.removeAttribute('role');
|
|
458
|
+
}
|
|
459
|
+
|
|
385
460
|
if (event) {
|
|
386
461
|
this.triggerNode = event.target;
|
|
387
462
|
this.triggerContentSlot = event.target.assignedNodes();
|
|
@@ -432,10 +507,9 @@ export class AuroDropdown extends LitElement {
|
|
|
432
507
|
id="trigger"
|
|
433
508
|
class="trigger"
|
|
434
509
|
part="trigger"
|
|
435
|
-
role="button"
|
|
436
510
|
aria-labelledby="triggerLabel"
|
|
437
|
-
aria-controls="popover"
|
|
438
511
|
tabindex="${this.tabIndex}"
|
|
512
|
+
?showBorder="${this.showTriggerBorders}"
|
|
439
513
|
>
|
|
440
514
|
<div class="triggerContentWrapper">
|
|
441
515
|
<label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`.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)
|
|
2
|
+
export default css`.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)}`;
|
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
border-color: var(--ds-auro-dropdown-trigger-border-color);
|
|
8
8
|
background-color: var(--ds-auro-dropdown-trigger-container-color);
|
|
9
9
|
color: var(--ds-auro-dropdown-trigger-text-color);
|
|
10
|
+
outline-color: var(--ds-auro-dropdown-trigger-outline-color);
|
|
10
11
|
}
|
|
11
12
|
.trigger:focus-within, .trigger:active {
|
|
12
13
|
--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);
|
|
14
|
+
--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8);
|
|
13
15
|
}
|
|
14
16
|
.trigger:focus-within:not(:active) {
|
|
15
17
|
--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);
|
|
16
|
-
outline:
|
|
18
|
+
--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5);
|
|
17
19
|
}
|
|
18
20
|
.trigger:hover {
|
|
19
21
|
--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));
|
|
@@ -15,16 +15,18 @@
|
|
|
15
15
|
border-color: var(--ds-auro-dropdown-trigger-border-color);
|
|
16
16
|
background-color: var(--ds-auro-dropdown-trigger-container-color);
|
|
17
17
|
color: var(--ds-auro-dropdown-trigger-text-color);
|
|
18
|
+
outline-color: var(--ds-auro-dropdown-trigger-outline-color);
|
|
18
19
|
|
|
19
20
|
&:focus-within,
|
|
20
21
|
&:active {
|
|
21
22
|
--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #{$ds-color-border-active-default});
|
|
23
|
+
--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #{$ds-color-border-active-default});
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
&:focus-within {
|
|
25
27
|
&:not(:active) {
|
|
26
28
|
--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #{$ds-color-border-ui-focus-default});
|
|
27
|
-
outline:
|
|
29
|
+
--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #{$ds-color-border-ui-focus-default});
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`: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
|
|
2
|
+
export default css`: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)}`;
|
|
@@ -44,8 +44,14 @@
|
|
|
44
44
|
position: relative;
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
|
|
48
|
+
&[showBorder] {
|
|
49
|
+
border-width: 1px;
|
|
50
|
+
border-style: solid;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
outline-style: solid;
|
|
53
|
+
outline-width: 1px;
|
|
54
|
+
}
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
@media (hover: hover) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`: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)}`;
|
|
2
|
+
export default css`: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)}`;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);
|
|
6
6
|
--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);
|
|
7
7
|
--ds-auro-dropdown-trigger-border-color: transparent;
|
|
8
|
+
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
8
9
|
--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);
|
|
9
10
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));
|
|
10
11
|
--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|
|
8
8
|
--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
|
|
9
9
|
--ds-auro-dropdown-trigger-border-color: transparent;
|
|
10
|
+
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
10
11
|
--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|
|
11
12
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{$ds-elevation-200});
|
|
12
13
|
--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
|
|
@@ -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 [1m150ms[22m[39m
|
|
73
73
|
[36m
|
|
74
74
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
75
|
-
[32mcreated [1m./demo/[22m in [
|
|
75
|
+
[32mcreated [1m./demo/[22m in [1m76ms[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 [1m69ms[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 [1m298ms[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 [1m173ms[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 [1m162ms[22m[39m
|
|
@@ -96,9 +96,9 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
96
96
|
|
|
97
97
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
|
|
98
98
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
99
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.
|
|
99
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/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.35/dist/auro-form__bundled.js" type="module"></script>
|
|
102
102
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
103
103
|
|
|
104
104
|
## auro-form use cases
|