@aurodesignsystem-dev/auro-formkit 0.0.0-pr1475.1 → 0.0.0-pr1475.3
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/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +20 -8
- package/components/combobox/demo/getting-started.min.js +20 -8
- package/components/combobox/demo/index.min.js +20 -8
- package/components/combobox/dist/index.js +20 -8
- package/components/combobox/dist/registered.js +20 -8
- package/components/counter/demo/customize.min.js +19 -7
- package/components/counter/demo/index.min.js +19 -7
- package/components/counter/dist/index.js +1 -1
- package/components/counter/dist/registered.js +1 -1
- package/components/datepicker/demo/accessibility.md +1 -1
- package/components/datepicker/demo/customize.min.js +153 -44
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +159 -46
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/dist/index.js +153 -42
- package/components/datepicker/dist/registered.js +153 -42
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +9 -0
- package/components/dropdown/demo/customize.min.js +18 -6
- package/components/dropdown/demo/getting-started.min.js +18 -6
- package/components/dropdown/demo/index.min.js +18 -6
- package/components/dropdown/dist/auro-dropdown.d.ts +2 -1
- package/components/dropdown/dist/index.js +18 -6
- package/components/dropdown/dist/registered.js +18 -6
- package/components/form/demo/customize.min.js +214 -67
- package/components/form/demo/getting-started.min.js +214 -67
- package/components/form/demo/index.min.js +214 -67
- package/components/form/demo/registerDemoDeps.min.js +214 -67
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +19 -7
- package/components/select/demo/getting-started.min.js +19 -7
- package/components/select/demo/index.min.js +19 -7
- package/components/select/dist/index.js +19 -7
- package/components/select/dist/registered.js +19 -7
- package/custom-elements.json +3949 -3938
- package/package.json +1 -1
|
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
}
|
|
3876
3876
|
|
|
3877
|
-
var formkitVersion = '
|
|
3877
|
+
var formkitVersion = '202605182353';
|
|
3878
3878
|
|
|
3879
3879
|
class AuroElement extends LitElement {
|
|
3880
3880
|
static get properties() {
|
|
@@ -4795,6 +4795,14 @@ class AuroDropdown extends AuroElement {
|
|
|
4795
4795
|
}
|
|
4796
4796
|
};
|
|
4797
4797
|
this.addEventListener('keydown', this._bibTabHandler);
|
|
4798
|
+
|
|
4799
|
+
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
4800
|
+
requestAnimationFrame(() => {
|
|
4801
|
+
const focusables = getFocusableElements(this.bibContent);
|
|
4802
|
+
if (focusables.length) {
|
|
4803
|
+
focusables[0].focus();
|
|
4804
|
+
}
|
|
4805
|
+
});
|
|
4798
4806
|
} else {
|
|
4799
4807
|
// Normal desktop: use FocusTrap on the bib element
|
|
4800
4808
|
this.focusTrap = new FocusTrap(this.bibContent);
|
|
@@ -4826,7 +4834,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4826
4834
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
4827
4835
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
4828
4836
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
4829
|
-
* in the light DOM, then sets `inert` on
|
|
4837
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
4838
|
+
* to ensure all page content outside the host subtree is inert.
|
|
4830
4839
|
* @private
|
|
4831
4840
|
*/
|
|
4832
4841
|
_setPageInert() {
|
|
@@ -4845,15 +4854,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4845
4854
|
host = host.getRootNode().host;
|
|
4846
4855
|
}
|
|
4847
4856
|
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4857
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
4858
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
4859
|
+
let current = host;
|
|
4860
|
+
while (current.parentElement) {
|
|
4861
|
+
const parent = current.parentElement;
|
|
4851
4862
|
for (const sibling of parent.children) {
|
|
4852
|
-
if (sibling !==
|
|
4863
|
+
if (sibling !== current && !sibling.inert) {
|
|
4853
4864
|
sibling.inert = true;
|
|
4854
4865
|
this._inertSiblings.push(sibling);
|
|
4855
4866
|
}
|
|
4856
4867
|
}
|
|
4868
|
+
current = parent;
|
|
4857
4869
|
}
|
|
4858
4870
|
}
|
|
4859
4871
|
|
|
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
}
|
|
3876
3876
|
|
|
3877
|
-
var formkitVersion = '
|
|
3877
|
+
var formkitVersion = '202605182353';
|
|
3878
3878
|
|
|
3879
3879
|
class AuroElement extends LitElement {
|
|
3880
3880
|
static get properties() {
|
|
@@ -4795,6 +4795,14 @@ class AuroDropdown extends AuroElement {
|
|
|
4795
4795
|
}
|
|
4796
4796
|
};
|
|
4797
4797
|
this.addEventListener('keydown', this._bibTabHandler);
|
|
4798
|
+
|
|
4799
|
+
// Move initial focus into the bib content, matching FocusTrap behavior
|
|
4800
|
+
requestAnimationFrame(() => {
|
|
4801
|
+
const focusables = getFocusableElements(this.bibContent);
|
|
4802
|
+
if (focusables.length) {
|
|
4803
|
+
focusables[0].focus();
|
|
4804
|
+
}
|
|
4805
|
+
});
|
|
4798
4806
|
} else {
|
|
4799
4807
|
// Normal desktop: use FocusTrap on the bib element
|
|
4800
4808
|
this.focusTrap = new FocusTrap(this.bibContent);
|
|
@@ -4826,7 +4834,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4826
4834
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
4827
4835
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
4828
4836
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
4829
|
-
* in the light DOM, then sets `inert` on
|
|
4837
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
4838
|
+
* to ensure all page content outside the host subtree is inert.
|
|
4830
4839
|
* @private
|
|
4831
4840
|
*/
|
|
4832
4841
|
_setPageInert() {
|
|
@@ -4845,15 +4854,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4845
4854
|
host = host.getRootNode().host;
|
|
4846
4855
|
}
|
|
4847
4856
|
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4857
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
4858
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
4859
|
+
let current = host;
|
|
4860
|
+
while (current.parentElement) {
|
|
4861
|
+
const parent = current.parentElement;
|
|
4851
4862
|
for (const sibling of parent.children) {
|
|
4852
|
-
if (sibling !==
|
|
4863
|
+
if (sibling !== current && !sibling.inert) {
|
|
4853
4864
|
sibling.inert = true;
|
|
4854
4865
|
this._inertSiblings.push(sibling);
|
|
4855
4866
|
}
|
|
4856
4867
|
}
|
|
4868
|
+
current = parent;
|
|
4857
4869
|
}
|
|
4858
4870
|
}
|
|
4859
4871
|
|