@aurodesignsystem/auro-formkit 3.2.0-beta.1 → 3.2.1
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/CHANGELOG.md +5 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.md +1 -1
- package/components/combobox/demo/api.min.js +10 -26
- package/components/combobox/demo/index.min.js +10 -26
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +2 -5
- package/components/combobox/dist/index.js +9 -26
- package/components/combobox/dist/registered.js +9 -26
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.md +1 -1
- package/components/counter/demo/api.min.js +5 -26
- package/components/counter/demo/index.min.js +5 -26
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +2 -5
- package/components/counter/dist/index.js +5 -26
- package/components/counter/dist/registered.js +5 -26
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +0 -1
- package/components/datepicker/demo/api.min.js +4 -36
- package/components/datepicker/demo/index.min.js +4 -36
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -13
- package/components/datepicker/dist/index.js +4 -36
- package/components/datepicker/dist/registered.js +4 -36
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/api.min.js +3 -21
- package/components/dropdown/demo/index.md +0 -83
- package/components/dropdown/demo/index.min.js +3 -21
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -12
- package/components/dropdown/dist/index.js +3 -21
- package/components/dropdown/dist/registered.js +3 -21
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/readme.md +1 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.min.js +1 -0
- package/components/menu/demo/index.min.js +1 -0
- package/components/menu/demo/readme.md +1 -1
- package/components/menu/dist/index.js +1 -0
- package/components/menu/dist/registered.js +1 -0
- package/components/radio/README.md +1 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/api.md +6 -5
- package/components/select/demo/api.min.js +56 -26
- package/components/select/demo/index.md +1 -46
- package/components/select/demo/index.min.js +56 -26
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/auro-select.d.ts +5 -5
- package/components/select/dist/index.js +55 -26
- package/components/select/dist/registered.js +55 -26
- package/package.json +1 -1
- package/components/form/demo/autocomplete.html +0 -15
|
@@ -14887,7 +14887,6 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
|
|
|
14887
14887
|
|
|
14888
14888
|
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
14889
14889
|
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
14890
|
-
'xl',
|
|
14891
14890
|
'lg',
|
|
14892
14891
|
'md',
|
|
14893
14892
|
'sm',
|
|
@@ -14959,7 +14958,6 @@ class AuroDropdownBib extends LitElement {
|
|
|
14959
14958
|
|
|
14960
14959
|
set mobileFullscreenBreakpoint(value) {
|
|
14961
14960
|
// verify the defined breakpoint is valid and exit out if not
|
|
14962
|
-
// 'disabled' is a design token breakpoint so it acts as our "undefined" value
|
|
14963
14961
|
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
14964
14962
|
if (!validatedValue) {
|
|
14965
14963
|
this._mobileBreakpointValue = undefined;
|
|
@@ -15485,12 +15483,7 @@ class AuroDropdown extends LitElement {
|
|
|
15485
15483
|
},
|
|
15486
15484
|
|
|
15487
15485
|
/**
|
|
15488
|
-
* Defines the screen size breakpoint (`
|
|
15489
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
15490
|
-
*
|
|
15491
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
15492
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
15493
|
-
* @default sm
|
|
15486
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
15494
15487
|
*/
|
|
15495
15488
|
fullscreenBreakpoint: {
|
|
15496
15489
|
type: String,
|
|
@@ -15630,15 +15623,6 @@ class AuroDropdown extends LitElement {
|
|
|
15630
15623
|
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
15631
15624
|
}
|
|
15632
15625
|
|
|
15633
|
-
/**
|
|
15634
|
-
* Accessor for reusing the focusable entity query string.
|
|
15635
|
-
* @private
|
|
15636
|
-
* @returns {string}
|
|
15637
|
-
*/
|
|
15638
|
-
get focusableEntityQuery () {
|
|
15639
|
-
return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
|
|
15640
|
-
}
|
|
15641
|
-
|
|
15642
15626
|
connectedCallback() {
|
|
15643
15627
|
super.connectedCallback();
|
|
15644
15628
|
}
|
|
@@ -15652,8 +15636,6 @@ class AuroDropdown extends LitElement {
|
|
|
15652
15636
|
updated(changedProperties) {
|
|
15653
15637
|
this.floater.handleUpdate(changedProperties);
|
|
15654
15638
|
|
|
15655
|
-
// Note: `disabled` is not a breakpoint (it is not a screen size),
|
|
15656
|
-
// so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
|
|
15657
15639
|
if (changedProperties.has('fullscreenBreakpoint')) {
|
|
15658
15640
|
this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
|
|
15659
15641
|
}
|
|
@@ -15804,7 +15786,7 @@ class AuroDropdown extends LitElement {
|
|
|
15804
15786
|
|
|
15805
15787
|
this.triggerContentSlot.forEach((node) => {
|
|
15806
15788
|
if (node.querySelectorAll) {
|
|
15807
|
-
const auroElements = node.querySelectorAll(
|
|
15789
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
15808
15790
|
auroElements.forEach((auroEl) => {
|
|
15809
15791
|
auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
|
|
15810
15792
|
auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -15825,7 +15807,7 @@ class AuroDropdown extends LitElement {
|
|
|
15825
15807
|
|
|
15826
15808
|
this.triggerContentSlot.forEach((node) => {
|
|
15827
15809
|
if (node.querySelectorAll) {
|
|
15828
|
-
const auroElements = node.querySelectorAll(
|
|
15810
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
15829
15811
|
auroElements.forEach((auroEl) => {
|
|
15830
15812
|
auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
|
|
15831
15813
|
auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -23119,7 +23101,6 @@ class AuroDatePicker extends LitElement {
|
|
|
23119
23101
|
this.calendarEndDate = undefined;
|
|
23120
23102
|
this.calendarFocusDate = this.value;
|
|
23121
23103
|
this.format = 'mm/dd/yyyy';
|
|
23122
|
-
this.fullscreenBreakpoint = 'sm';
|
|
23123
23104
|
this.monthNames = [
|
|
23124
23105
|
'January',
|
|
23125
23106
|
'February',
|
|
@@ -23257,19 +23238,6 @@ class AuroDatePicker extends LitElement {
|
|
|
23257
23238
|
reflect: true
|
|
23258
23239
|
},
|
|
23259
23240
|
|
|
23260
|
-
/**
|
|
23261
|
-
* Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
|
|
23262
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
23263
|
-
*
|
|
23264
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
23265
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
23266
|
-
* @default sm
|
|
23267
|
-
*/
|
|
23268
|
-
fullscreenBreakpoint: {
|
|
23269
|
-
type: String,
|
|
23270
|
-
reflect: true
|
|
23271
|
-
},
|
|
23272
|
-
|
|
23273
23241
|
/**
|
|
23274
23242
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
23275
23243
|
* Otherwise, Heading 600.
|
|
@@ -24096,7 +24064,7 @@ class AuroDatePicker extends LitElement {
|
|
|
24096
24064
|
?disabled="${this.disabled}"
|
|
24097
24065
|
?error="${this.validity !== undefined && this.validity !== 'valid'}"
|
|
24098
24066
|
disableEventShow
|
|
24099
|
-
|
|
24067
|
+
fullscreenBreakpoint="sm"
|
|
24100
24068
|
.placement="${this.placement}"
|
|
24101
24069
|
.offset="${this.offset}"
|
|
24102
24070
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -14887,7 +14887,6 @@ var tokensCss$1$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basi
|
|
|
14887
14887
|
|
|
14888
14888
|
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
14889
14889
|
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
14890
|
-
'xl',
|
|
14891
14890
|
'lg',
|
|
14892
14891
|
'md',
|
|
14893
14892
|
'sm',
|
|
@@ -14959,7 +14958,6 @@ class AuroDropdownBib extends LitElement {
|
|
|
14959
14958
|
|
|
14960
14959
|
set mobileFullscreenBreakpoint(value) {
|
|
14961
14960
|
// verify the defined breakpoint is valid and exit out if not
|
|
14962
|
-
// 'disabled' is a design token breakpoint so it acts as our "undefined" value
|
|
14963
14961
|
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
14964
14962
|
if (!validatedValue) {
|
|
14965
14963
|
this._mobileBreakpointValue = undefined;
|
|
@@ -15485,12 +15483,7 @@ class AuroDropdown extends LitElement {
|
|
|
15485
15483
|
},
|
|
15486
15484
|
|
|
15487
15485
|
/**
|
|
15488
|
-
* Defines the screen size breakpoint (`
|
|
15489
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
15490
|
-
*
|
|
15491
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
15492
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
15493
|
-
* @default sm
|
|
15486
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
15494
15487
|
*/
|
|
15495
15488
|
fullscreenBreakpoint: {
|
|
15496
15489
|
type: String,
|
|
@@ -15630,15 +15623,6 @@ class AuroDropdown extends LitElement {
|
|
|
15630
15623
|
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroDropdown);
|
|
15631
15624
|
}
|
|
15632
15625
|
|
|
15633
|
-
/**
|
|
15634
|
-
* Accessor for reusing the focusable entity query string.
|
|
15635
|
-
* @private
|
|
15636
|
-
* @returns {string}
|
|
15637
|
-
*/
|
|
15638
|
-
get focusableEntityQuery () {
|
|
15639
|
-
return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
|
|
15640
|
-
}
|
|
15641
|
-
|
|
15642
15626
|
connectedCallback() {
|
|
15643
15627
|
super.connectedCallback();
|
|
15644
15628
|
}
|
|
@@ -15652,8 +15636,6 @@ class AuroDropdown extends LitElement {
|
|
|
15652
15636
|
updated(changedProperties) {
|
|
15653
15637
|
this.floater.handleUpdate(changedProperties);
|
|
15654
15638
|
|
|
15655
|
-
// Note: `disabled` is not a breakpoint (it is not a screen size),
|
|
15656
|
-
// so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
|
|
15657
15639
|
if (changedProperties.has('fullscreenBreakpoint')) {
|
|
15658
15640
|
this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
|
|
15659
15641
|
}
|
|
@@ -15804,7 +15786,7 @@ class AuroDropdown extends LitElement {
|
|
|
15804
15786
|
|
|
15805
15787
|
this.triggerContentSlot.forEach((node) => {
|
|
15806
15788
|
if (node.querySelectorAll) {
|
|
15807
|
-
const auroElements = node.querySelectorAll(
|
|
15789
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
15808
15790
|
auroElements.forEach((auroEl) => {
|
|
15809
15791
|
auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
|
|
15810
15792
|
auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -15825,7 +15807,7 @@ class AuroDropdown extends LitElement {
|
|
|
15825
15807
|
|
|
15826
15808
|
this.triggerContentSlot.forEach((node) => {
|
|
15827
15809
|
if (node.querySelectorAll) {
|
|
15828
|
-
const auroElements = node.querySelectorAll(
|
|
15810
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
15829
15811
|
auroElements.forEach((auroEl) => {
|
|
15830
15812
|
auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
|
|
15831
15813
|
auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -23119,7 +23101,6 @@ class AuroDatePicker extends LitElement {
|
|
|
23119
23101
|
this.calendarEndDate = undefined;
|
|
23120
23102
|
this.calendarFocusDate = this.value;
|
|
23121
23103
|
this.format = 'mm/dd/yyyy';
|
|
23122
|
-
this.fullscreenBreakpoint = 'sm';
|
|
23123
23104
|
this.monthNames = [
|
|
23124
23105
|
'January',
|
|
23125
23106
|
'February',
|
|
@@ -23257,19 +23238,6 @@ class AuroDatePicker extends LitElement {
|
|
|
23257
23238
|
reflect: true
|
|
23258
23239
|
},
|
|
23259
23240
|
|
|
23260
|
-
/**
|
|
23261
|
-
* Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
|
|
23262
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
23263
|
-
*
|
|
23264
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
23265
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
23266
|
-
* @default sm
|
|
23267
|
-
*/
|
|
23268
|
-
fullscreenBreakpoint: {
|
|
23269
|
-
type: String,
|
|
23270
|
-
reflect: true
|
|
23271
|
-
},
|
|
23272
|
-
|
|
23273
23241
|
/**
|
|
23274
23242
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
23275
23243
|
* Otherwise, Heading 600.
|
|
@@ -24096,7 +24064,7 @@ class AuroDatePicker extends LitElement {
|
|
|
24096
24064
|
?disabled="${this.disabled}"
|
|
24097
24065
|
?error="${this.validity !== undefined && this.validity !== 'valid'}"
|
|
24098
24066
|
disableEventShow
|
|
24099
|
-
|
|
24067
|
+
fullscreenBreakpoint="sm"
|
|
24100
24068
|
.placement="${this.placement}"
|
|
24101
24069
|
.offset="${this.offset}"
|
|
24102
24070
|
?autoPlacement="${this.autoPlacement}"
|
|
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
107
107
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.
|
|
110
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| [error](#error) | `error` | ` Boolean ` | | If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both. |
|
|
24
24
|
| [fluid](#fluid) | `fluid` | `Boolean` | | Makes the trigger to be full width of its parent container. |
|
|
25
25
|
| [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
|
|
26
|
-
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | ` String ` |
|
|
26
|
+
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | ` String ` | | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
|
|
27
27
|
| [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
|
|
28
28
|
| [inset](#inset) | `inset` | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
|
|
29
29
|
| [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
|
|
@@ -2653,7 +2653,6 @@ var tokensCss$1 = i$3`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
|
|
|
2653
2653
|
|
|
2654
2654
|
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2655
2655
|
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2656
|
-
'xl',
|
|
2657
2656
|
'lg',
|
|
2658
2657
|
'md',
|
|
2659
2658
|
'sm',
|
|
@@ -2725,7 +2724,6 @@ class AuroDropdownBib extends r {
|
|
|
2725
2724
|
|
|
2726
2725
|
set mobileFullscreenBreakpoint(value) {
|
|
2727
2726
|
// verify the defined breakpoint is valid and exit out if not
|
|
2728
|
-
// 'disabled' is a design token breakpoint so it acts as our "undefined" value
|
|
2729
2727
|
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2730
2728
|
if (!validatedValue) {
|
|
2731
2729
|
this._mobileBreakpointValue = undefined;
|
|
@@ -3251,12 +3249,7 @@ class AuroDropdown extends r {
|
|
|
3251
3249
|
},
|
|
3252
3250
|
|
|
3253
3251
|
/**
|
|
3254
|
-
* Defines the screen size breakpoint (`
|
|
3255
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
3256
|
-
*
|
|
3257
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
3258
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
3259
|
-
* @default sm
|
|
3252
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3260
3253
|
*/
|
|
3261
3254
|
fullscreenBreakpoint: {
|
|
3262
3255
|
type: String,
|
|
@@ -3396,15 +3389,6 @@ class AuroDropdown extends r {
|
|
|
3396
3389
|
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
3397
3390
|
}
|
|
3398
3391
|
|
|
3399
|
-
/**
|
|
3400
|
-
* Accessor for reusing the focusable entity query string.
|
|
3401
|
-
* @private
|
|
3402
|
-
* @returns {string}
|
|
3403
|
-
*/
|
|
3404
|
-
get focusableEntityQuery () {
|
|
3405
|
-
return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
|
|
3406
|
-
}
|
|
3407
|
-
|
|
3408
3392
|
connectedCallback() {
|
|
3409
3393
|
super.connectedCallback();
|
|
3410
3394
|
}
|
|
@@ -3418,8 +3402,6 @@ class AuroDropdown extends r {
|
|
|
3418
3402
|
updated(changedProperties) {
|
|
3419
3403
|
this.floater.handleUpdate(changedProperties);
|
|
3420
3404
|
|
|
3421
|
-
// Note: `disabled` is not a breakpoint (it is not a screen size),
|
|
3422
|
-
// so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
|
|
3423
3405
|
if (changedProperties.has('fullscreenBreakpoint')) {
|
|
3424
3406
|
this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
|
|
3425
3407
|
}
|
|
@@ -3570,7 +3552,7 @@ class AuroDropdown extends r {
|
|
|
3570
3552
|
|
|
3571
3553
|
this.triggerContentSlot.forEach((node) => {
|
|
3572
3554
|
if (node.querySelectorAll) {
|
|
3573
|
-
const auroElements = node.querySelectorAll(
|
|
3555
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3574
3556
|
auroElements.forEach((auroEl) => {
|
|
3575
3557
|
auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
|
|
3576
3558
|
auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -3591,7 +3573,7 @@ class AuroDropdown extends r {
|
|
|
3591
3573
|
|
|
3592
3574
|
this.triggerContentSlot.forEach((node) => {
|
|
3593
3575
|
if (node.querySelectorAll) {
|
|
3594
|
-
const auroElements = node.querySelectorAll(
|
|
3576
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3595
3577
|
auroElements.forEach((auroEl) => {
|
|
3596
3578
|
auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
|
|
3597
3579
|
auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -411,89 +411,6 @@ To make the dropdown to be just big as the trigger's content, style the `auro-dr
|
|
|
411
411
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
412
412
|
</auro-accordion>
|
|
413
413
|
|
|
414
|
-
## Triggering a fullscreen dropdown
|
|
415
|
-
This example shows how to set a dropdown fullscreen breakpoint attribute. Most consuming components use `sm` by default, but
|
|
416
|
-
dropdown supports `xs`, `sm`, `md`, `lg`, `xl` and `disabled`, with `disabled` ensuring that the dropdown will never be fullscreen.
|
|
417
|
-
|
|
418
|
-
<div class="exampleWrapper">
|
|
419
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fullscreen.html) -->
|
|
420
|
-
<!-- The below content is automatically added from ./../apiExamples/fullscreen.html -->
|
|
421
|
-
<h3>Never fullscreen</h3>
|
|
422
|
-
<auro-dropdown id="common-never-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="disabled">
|
|
423
|
-
<div style="padding: var(--ds-size-150);">
|
|
424
|
-
Lorem ipsum solar
|
|
425
|
-
<br />
|
|
426
|
-
<auro-button onclick="document.querySelector('#common-never-fullscreen').hide()">
|
|
427
|
-
Dismiss Dropdown
|
|
428
|
-
</auro-button>
|
|
429
|
-
</div>
|
|
430
|
-
<span slot="helpText">
|
|
431
|
-
Help text
|
|
432
|
-
</span>
|
|
433
|
-
<div slot="trigger">
|
|
434
|
-
Trigger
|
|
435
|
-
</div>
|
|
436
|
-
</auro-dropdown>
|
|
437
|
-
<h3>Always fullscreen</h3>
|
|
438
|
-
<auro-dropdown id="common-always-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="xl">
|
|
439
|
-
<div style="padding: var(--ds-size-150);">
|
|
440
|
-
Lorem ipsum solar
|
|
441
|
-
<br />
|
|
442
|
-
<auro-button onclick="document.querySelector('#common-always-fullscreen').hide()">
|
|
443
|
-
Dismiss Dropdown
|
|
444
|
-
</auro-button>
|
|
445
|
-
</div>
|
|
446
|
-
<span slot="helpText">
|
|
447
|
-
Help text
|
|
448
|
-
</span>
|
|
449
|
-
<div slot="trigger">
|
|
450
|
-
Trigger
|
|
451
|
-
</div>
|
|
452
|
-
</auro-dropdown>
|
|
453
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
454
|
-
</div>
|
|
455
|
-
<auro-accordion alignRight>
|
|
456
|
-
<span slot="trigger">See code</span>
|
|
457
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fullscreen.html) -->
|
|
458
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/fullscreen.html -->
|
|
459
|
-
|
|
460
|
-
```html
|
|
461
|
-
<h3>Never fullscreen</h3>
|
|
462
|
-
<auro-dropdown id="common-never-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="disabled">
|
|
463
|
-
<div style="padding: var(--ds-size-150);">
|
|
464
|
-
Lorem ipsum solar
|
|
465
|
-
<br />
|
|
466
|
-
<auro-button onclick="document.querySelector('#common-never-fullscreen').hide()">
|
|
467
|
-
Dismiss Dropdown
|
|
468
|
-
</auro-button>
|
|
469
|
-
</div>
|
|
470
|
-
<span slot="helpText">
|
|
471
|
-
Help text
|
|
472
|
-
</span>
|
|
473
|
-
<div slot="trigger">
|
|
474
|
-
Trigger
|
|
475
|
-
</div>
|
|
476
|
-
</auro-dropdown>
|
|
477
|
-
<h3>Always fullscreen</h3>
|
|
478
|
-
<auro-dropdown id="common-always-fullscreen" common aria-label="Label content for screen reader" fullscreenBreakpoint="xl">
|
|
479
|
-
<div style="padding: var(--ds-size-150);">
|
|
480
|
-
Lorem ipsum solar
|
|
481
|
-
<br />
|
|
482
|
-
<auro-button onclick="document.querySelector('#common-always-fullscreen').hide()">
|
|
483
|
-
Dismiss Dropdown
|
|
484
|
-
</auro-button>
|
|
485
|
-
</div>
|
|
486
|
-
<span slot="helpText">
|
|
487
|
-
Help text
|
|
488
|
-
</span>
|
|
489
|
-
<div slot="trigger">
|
|
490
|
-
Trigger
|
|
491
|
-
</div>
|
|
492
|
-
</auro-dropdown>
|
|
493
|
-
```
|
|
494
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
495
|
-
</auro-accordion>
|
|
496
|
-
|
|
497
414
|
## Supported standard and accessible interactions
|
|
498
415
|
|
|
499
416
|
The dropdown can be opened with the following actions:
|
|
@@ -2628,7 +2628,6 @@ var tokensCss$1 = i$3`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
|
|
|
2628
2628
|
|
|
2629
2629
|
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2630
2630
|
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2631
|
-
'xl',
|
|
2632
2631
|
'lg',
|
|
2633
2632
|
'md',
|
|
2634
2633
|
'sm',
|
|
@@ -2700,7 +2699,6 @@ class AuroDropdownBib extends r {
|
|
|
2700
2699
|
|
|
2701
2700
|
set mobileFullscreenBreakpoint(value) {
|
|
2702
2701
|
// verify the defined breakpoint is valid and exit out if not
|
|
2703
|
-
// 'disabled' is a design token breakpoint so it acts as our "undefined" value
|
|
2704
2702
|
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2705
2703
|
if (!validatedValue) {
|
|
2706
2704
|
this._mobileBreakpointValue = undefined;
|
|
@@ -3226,12 +3224,7 @@ class AuroDropdown extends r {
|
|
|
3226
3224
|
},
|
|
3227
3225
|
|
|
3228
3226
|
/**
|
|
3229
|
-
* Defines the screen size breakpoint (`
|
|
3230
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
3231
|
-
*
|
|
3232
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
3233
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
3234
|
-
* @default sm
|
|
3227
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3235
3228
|
*/
|
|
3236
3229
|
fullscreenBreakpoint: {
|
|
3237
3230
|
type: String,
|
|
@@ -3371,15 +3364,6 @@ class AuroDropdown extends r {
|
|
|
3371
3364
|
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
3372
3365
|
}
|
|
3373
3366
|
|
|
3374
|
-
/**
|
|
3375
|
-
* Accessor for reusing the focusable entity query string.
|
|
3376
|
-
* @private
|
|
3377
|
-
* @returns {string}
|
|
3378
|
-
*/
|
|
3379
|
-
get focusableEntityQuery () {
|
|
3380
|
-
return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
|
|
3381
|
-
}
|
|
3382
|
-
|
|
3383
3367
|
connectedCallback() {
|
|
3384
3368
|
super.connectedCallback();
|
|
3385
3369
|
}
|
|
@@ -3393,8 +3377,6 @@ class AuroDropdown extends r {
|
|
|
3393
3377
|
updated(changedProperties) {
|
|
3394
3378
|
this.floater.handleUpdate(changedProperties);
|
|
3395
3379
|
|
|
3396
|
-
// Note: `disabled` is not a breakpoint (it is not a screen size),
|
|
3397
|
-
// so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
|
|
3398
3380
|
if (changedProperties.has('fullscreenBreakpoint')) {
|
|
3399
3381
|
this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
|
|
3400
3382
|
}
|
|
@@ -3545,7 +3527,7 @@ class AuroDropdown extends r {
|
|
|
3545
3527
|
|
|
3546
3528
|
this.triggerContentSlot.forEach((node) => {
|
|
3547
3529
|
if (node.querySelectorAll) {
|
|
3548
|
-
const auroElements = node.querySelectorAll(
|
|
3530
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3549
3531
|
auroElements.forEach((auroEl) => {
|
|
3550
3532
|
auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
|
|
3551
3533
|
auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -3566,7 +3548,7 @@ class AuroDropdown extends r {
|
|
|
3566
3548
|
|
|
3567
3549
|
this.triggerContentSlot.forEach((node) => {
|
|
3568
3550
|
if (node.querySelectorAll) {
|
|
3569
|
-
const auroElements = node.querySelectorAll(
|
|
3551
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3570
3552
|
auroElements.forEach((auroEl) => {
|
|
3571
3553
|
auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
|
|
3572
3554
|
auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
107
107
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.
|
|
110
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -120,12 +120,7 @@ export class AuroDropdown extends LitElement {
|
|
|
120
120
|
type: BooleanConstructor;
|
|
121
121
|
};
|
|
122
122
|
/**
|
|
123
|
-
* Defines the screen size breakpoint (`
|
|
124
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
125
|
-
*
|
|
126
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
127
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
128
|
-
* @default sm
|
|
123
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
129
124
|
*/
|
|
130
125
|
fullscreenBreakpoint: {
|
|
131
126
|
type: StringConstructor;
|
|
@@ -325,12 +320,6 @@ export class AuroDropdown extends LitElement {
|
|
|
325
320
|
* @returns {void}
|
|
326
321
|
*/
|
|
327
322
|
show(): void;
|
|
328
|
-
/**
|
|
329
|
-
* Accessor for reusing the focusable entity query string.
|
|
330
|
-
* @private
|
|
331
|
-
* @returns {string}
|
|
332
|
-
*/
|
|
333
|
-
private get focusableEntityQuery();
|
|
334
323
|
updated(changedProperties: any): void;
|
|
335
324
|
firstUpdated(): void;
|
|
336
325
|
dropdownId: any;
|
|
@@ -2581,7 +2581,6 @@ var tokensCss$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
|
|
|
2581
2581
|
|
|
2582
2582
|
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2583
2583
|
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2584
|
-
'xl',
|
|
2585
2584
|
'lg',
|
|
2586
2585
|
'md',
|
|
2587
2586
|
'sm',
|
|
@@ -2653,7 +2652,6 @@ class AuroDropdownBib extends LitElement {
|
|
|
2653
2652
|
|
|
2654
2653
|
set mobileFullscreenBreakpoint(value) {
|
|
2655
2654
|
// verify the defined breakpoint is valid and exit out if not
|
|
2656
|
-
// 'disabled' is a design token breakpoint so it acts as our "undefined" value
|
|
2657
2655
|
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2658
2656
|
if (!validatedValue) {
|
|
2659
2657
|
this._mobileBreakpointValue = undefined;
|
|
@@ -3179,12 +3177,7 @@ class AuroDropdown extends LitElement {
|
|
|
3179
3177
|
},
|
|
3180
3178
|
|
|
3181
3179
|
/**
|
|
3182
|
-
* Defines the screen size breakpoint (`
|
|
3183
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
3184
|
-
*
|
|
3185
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
3186
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
3187
|
-
* @default sm
|
|
3180
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3188
3181
|
*/
|
|
3189
3182
|
fullscreenBreakpoint: {
|
|
3190
3183
|
type: String,
|
|
@@ -3324,15 +3317,6 @@ class AuroDropdown extends LitElement {
|
|
|
3324
3317
|
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
3325
3318
|
}
|
|
3326
3319
|
|
|
3327
|
-
/**
|
|
3328
|
-
* Accessor for reusing the focusable entity query string.
|
|
3329
|
-
* @private
|
|
3330
|
-
* @returns {string}
|
|
3331
|
-
*/
|
|
3332
|
-
get focusableEntityQuery () {
|
|
3333
|
-
return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
3320
|
connectedCallback() {
|
|
3337
3321
|
super.connectedCallback();
|
|
3338
3322
|
}
|
|
@@ -3346,8 +3330,6 @@ class AuroDropdown extends LitElement {
|
|
|
3346
3330
|
updated(changedProperties) {
|
|
3347
3331
|
this.floater.handleUpdate(changedProperties);
|
|
3348
3332
|
|
|
3349
|
-
// Note: `disabled` is not a breakpoint (it is not a screen size),
|
|
3350
|
-
// so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
|
|
3351
3333
|
if (changedProperties.has('fullscreenBreakpoint')) {
|
|
3352
3334
|
this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
|
|
3353
3335
|
}
|
|
@@ -3498,7 +3480,7 @@ class AuroDropdown extends LitElement {
|
|
|
3498
3480
|
|
|
3499
3481
|
this.triggerContentSlot.forEach((node) => {
|
|
3500
3482
|
if (node.querySelectorAll) {
|
|
3501
|
-
const auroElements = node.querySelectorAll(
|
|
3483
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3502
3484
|
auroElements.forEach((auroEl) => {
|
|
3503
3485
|
auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
|
|
3504
3486
|
auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -3519,7 +3501,7 @@ class AuroDropdown extends LitElement {
|
|
|
3519
3501
|
|
|
3520
3502
|
this.triggerContentSlot.forEach((node) => {
|
|
3521
3503
|
if (node.querySelectorAll) {
|
|
3522
|
-
const auroElements = node.querySelectorAll(
|
|
3504
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3523
3505
|
auroElements.forEach((auroEl) => {
|
|
3524
3506
|
auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
|
|
3525
3507
|
auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -2581,7 +2581,6 @@ var tokensCss$1 = css`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-
|
|
|
2581
2581
|
|
|
2582
2582
|
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2583
2583
|
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2584
|
-
'xl',
|
|
2585
2584
|
'lg',
|
|
2586
2585
|
'md',
|
|
2587
2586
|
'sm',
|
|
@@ -2653,7 +2652,6 @@ class AuroDropdownBib extends LitElement {
|
|
|
2653
2652
|
|
|
2654
2653
|
set mobileFullscreenBreakpoint(value) {
|
|
2655
2654
|
// verify the defined breakpoint is valid and exit out if not
|
|
2656
|
-
// 'disabled' is a design token breakpoint so it acts as our "undefined" value
|
|
2657
2655
|
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2658
2656
|
if (!validatedValue) {
|
|
2659
2657
|
this._mobileBreakpointValue = undefined;
|
|
@@ -3179,12 +3177,7 @@ class AuroDropdown extends LitElement {
|
|
|
3179
3177
|
},
|
|
3180
3178
|
|
|
3181
3179
|
/**
|
|
3182
|
-
* Defines the screen size breakpoint (`
|
|
3183
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
3184
|
-
*
|
|
3185
|
-
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
3186
|
-
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
3187
|
-
* @default sm
|
|
3180
|
+
* Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3188
3181
|
*/
|
|
3189
3182
|
fullscreenBreakpoint: {
|
|
3190
3183
|
type: String,
|
|
@@ -3324,15 +3317,6 @@ class AuroDropdown extends LitElement {
|
|
|
3324
3317
|
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
3325
3318
|
}
|
|
3326
3319
|
|
|
3327
|
-
/**
|
|
3328
|
-
* Accessor for reusing the focusable entity query string.
|
|
3329
|
-
* @private
|
|
3330
|
-
* @returns {string}
|
|
3331
|
-
*/
|
|
3332
|
-
get focusableEntityQuery () {
|
|
3333
|
-
return 'auro-input, [auro-input], auro-button, [auro-button], button, input';
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
3320
|
connectedCallback() {
|
|
3337
3321
|
super.connectedCallback();
|
|
3338
3322
|
}
|
|
@@ -3346,8 +3330,6 @@ class AuroDropdown extends LitElement {
|
|
|
3346
3330
|
updated(changedProperties) {
|
|
3347
3331
|
this.floater.handleUpdate(changedProperties);
|
|
3348
3332
|
|
|
3349
|
-
// Note: `disabled` is not a breakpoint (it is not a screen size),
|
|
3350
|
-
// so it looks like we never consume this - however, dropdownBib handles this in the setter as "undefined"
|
|
3351
3333
|
if (changedProperties.has('fullscreenBreakpoint')) {
|
|
3352
3334
|
this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
|
|
3353
3335
|
}
|
|
@@ -3498,7 +3480,7 @@ class AuroDropdown extends LitElement {
|
|
|
3498
3480
|
|
|
3499
3481
|
this.triggerContentSlot.forEach((node) => {
|
|
3500
3482
|
if (node.querySelectorAll) {
|
|
3501
|
-
const auroElements = node.querySelectorAll(
|
|
3483
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3502
3484
|
auroElements.forEach((auroEl) => {
|
|
3503
3485
|
auroEl.addEventListener('focus', this.bindFocusEventToTrigger);
|
|
3504
3486
|
auroEl.addEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -3519,7 +3501,7 @@ class AuroDropdown extends LitElement {
|
|
|
3519
3501
|
|
|
3520
3502
|
this.triggerContentSlot.forEach((node) => {
|
|
3521
3503
|
if (node.querySelectorAll) {
|
|
3522
|
-
const auroElements = node.querySelectorAll(
|
|
3504
|
+
const auroElements = node.querySelectorAll('auro-input, [auro-input], auro-button, [auro-button], button, input');
|
|
3523
3505
|
auroElements.forEach((auroEl) => {
|
|
3524
3506
|
auroEl.removeEventListener('focus', this.bindFocusEventToTrigger);
|
|
3525
3507
|
auroEl.removeEventListener('blur', this.bindFocusEventToTrigger);
|
|
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
109
109
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
110
110
|
|
|
111
111
|
```html
|
|
112
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.
|
|
112
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.2.0/auro-form/+esm"></script>
|
|
113
113
|
```
|
|
114
114
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
115
115
|
|