@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
|
@@ -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$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2872
2876
|
|
|
2873
2877
|
var iconVersion$1 = '6.1.2';
|
|
2874
2878
|
|
|
2875
|
-
var styleCss$2$1 = 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$1 = 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$1 = 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$1 = 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$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)}`;
|
|
2883
|
+
var tokensCss$1$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)}`;
|
|
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}>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lit-html": "^3.2.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
22
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
23
23
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@auro-formkit/config": "*",
|
|
29
29
|
"@auro-formkit/form-validation": "*",
|
|
30
30
|
"@auro-formkit/typescript": "*",
|
|
31
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
31
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
32
32
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
33
33
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
34
34
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem/auro-formkit",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.36",
|
|
4
4
|
"description": "A collection of web components used to build forms.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"prepare": "husky"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@aurodesignsystem/auro-library": "^3.0.
|
|
44
|
+
"@aurodesignsystem/auro-library": "^3.0.8"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
47
|
"@rollup/rollup-linux-x64-gnu": "*"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"08582d94197f10ee","duration":4809}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"103d2a28d83aecaa","duration":1617}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"19fbb16e12ecafea","duration":6260}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"1d4280429ff4222f","duration":3717}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"1e094164b4932553","duration":1806}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"23362f9e97bfb2aa","duration":14227}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"251ba344c6338ba3","duration":1807}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"27b0d0b95232015d","duration":14666}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"28fe2121c9ba81e2","duration":1903}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"298b6ff0272e6226","duration":3151}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"2abb5400a01a1694","duration":1966}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3058929eb73309e5","duration":5765}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"30fda91ef83677e4","duration":1696}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3221d91a94756c26","duration":2382}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3ab09fe7cf32b3bf","duration":2476}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3e7c2d508c29564b","duration":1619}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3f1b3db13386acdc","duration":1601}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"430c124614841675","duration":2767}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"457a9f56f941d179","duration":15308}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"45bdeb0396723b25","duration":2515}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"4e8248fc9e1e3e8f","duration":683}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"4e9c9a5dd62c50a4","duration":2042}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"4f5f322655310502","duration":15940}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"5326b73ddda05291","duration":1634}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"5a9a22bec5b85071","duration":1138}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"5fc9a7a072827b7b","duration":1850}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"636856e9513dd881","duration":13987}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"64124d335f246ad4","duration":15042}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"6e0b3da6e3ff3718","duration":3116}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"753b119a389426be","duration":1671}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"785960dbbde053b6","duration":2030}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"82a9f389dc683578","duration":1942}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"838d169577bdd409","duration":24637}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"88f0204c4fde872f","duration":12259}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"8d64907e7ce80f3e","duration":1420}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"a57b56e1d77cb964","duration":1385}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"a60bcc111612dda1","duration":5666}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"a8889572165c9122","duration":13686}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"b0b5e4ac676e8308","duration":743}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"b169402fda42f218","duration":2752}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"b7c4f3a43e3ac43b","duration":3254}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"bf3d1eace5e676f9","duration":1979}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"ca9625ba0a5cd272","duration":3093}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"cbcd9db8ac9a2d52","duration":2919}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"d3afdb9a7db9eacc","duration":1835}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"d8ecdff9c663c38e","duration":1967}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"de494df6a3006101","duration":1983}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"e04489ada7560903","duration":1807}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"e56a9865641ec3e8","duration":1691}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"e7ed9e7056d80938","duration":2634}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"e837827cd24834c4","duration":2628}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"e9ff93179777aa26","duration":3382}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"f2e689c8cdd1aafe","duration":5119}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"f7ab9a13f9acc0ab","duration":1770}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"ff3c8a3042cab66e","duration":1766}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|