@aurodesignsystem/auro-formkit 3.3.0 → 3.4.0
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 +7 -0
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +0 -1
- package/components/checkbox/demo/api.min.js +3 -1
- package/components/checkbox/demo/index.min.js +3 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -0
- package/components/checkbox/dist/index.js +3 -1
- package/components/checkbox/dist/registered.js +3 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.md +44 -0
- package/components/combobox/demo/api.min.js +18 -3
- package/components/combobox/demo/index.min.js +18 -3
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +6 -0
- package/components/combobox/dist/index.js +18 -3
- package/components/combobox/dist/registered.js +18 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/readme.md +1 -1
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +30 -0
- package/components/datepicker/demo/api.min.js +18 -3
- package/components/datepicker/demo/index.min.js +18 -3
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +6 -0
- package/components/datepicker/dist/index.js +18 -3
- package/components/datepicker/dist/registered.js +18 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/readme.md +1 -1
- 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/api.md +24 -0
- package/components/input/demo/api.min.js +10 -3
- package/components/input/demo/index.min.js +10 -3
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/base-input.d.ts +7 -0
- package/components/input/dist/index.js +10 -3
- package/components/input/dist/registered.js +10 -3
- package/components/menu/README.md +1 -1
- package/components/menu/demo/readme.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.md +0 -1
- package/components/radio/demo/api.min.js +7 -1
- package/components/radio/demo/index.min.js +7 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/radio/dist/auro-radio.d.ts +5 -0
- package/components/radio/dist/index.js +7 -1
- package/components/radio/dist/registered.js +7 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/readme.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
# [3.4.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.3.0...v3.4.0) (2025-05-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* expose inputmode attribute for auro-input ([2066d3a](https://github.com/AlaskaAirlines/auro-formkit/commit/2066d3a174a2e37c2ad5e33f867710c8da5ed0ca))
|
|
9
|
+
|
|
3
10
|
# [3.3.0](https://github.com/AlaskaAirlines/auro-formkit/compare/v3.2.8...v3.3.0) (2025-05-12)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
106
106
|
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.
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
109
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-checkbox/+esm"></script>
|
|
110
110
|
```
|
|
111
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
112
|
|
|
@@ -56,7 +56,6 @@ Custom element for the purpose of allowing users to select one or more options o
|
|
|
56
56
|
| [id](#id) | `id` | `string` | | Sets the individual `id` per element. |
|
|
57
57
|
| [name](#name) | `name` | `string` | | Accepts any string and is used to identify related checkboxes when submitting form data. |
|
|
58
58
|
| [onDark](#onDark) | `onDark` | `boolean` | false | Sets onDark styles for component. |
|
|
59
|
-
| [touched](#touched) | `touched` | `boolean` | false | Indicates whether the checkbox has been interacted with. |
|
|
60
59
|
| [value](#value) | `value` | `string` | | Sets the element's input value. Must be unique within an auro-checkbox-group element. |
|
|
61
60
|
|
|
62
61
|
## Methods
|
|
@@ -231,10 +231,12 @@ class AuroCheckbox extends i$2 {
|
|
|
231
231
|
/**
|
|
232
232
|
* Indicates whether the checkbox has been interacted with.
|
|
233
233
|
* @type {boolean}
|
|
234
|
+
* @private
|
|
234
235
|
*/
|
|
235
236
|
touched: {
|
|
236
237
|
type: Boolean,
|
|
237
|
-
reflect: true
|
|
238
|
+
reflect: true,
|
|
239
|
+
attribute: false
|
|
238
240
|
}
|
|
239
241
|
};
|
|
240
242
|
}
|
|
@@ -223,10 +223,12 @@ class AuroCheckbox extends i$2 {
|
|
|
223
223
|
/**
|
|
224
224
|
* Indicates whether the checkbox has been interacted with.
|
|
225
225
|
* @type {boolean}
|
|
226
|
+
* @private
|
|
226
227
|
*/
|
|
227
228
|
touched: {
|
|
228
229
|
type: Boolean,
|
|
229
|
-
reflect: true
|
|
230
|
+
reflect: true,
|
|
231
|
+
attribute: false
|
|
230
232
|
}
|
|
231
233
|
};
|
|
232
234
|
}
|
|
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
106
106
|
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.
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
109
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-checkbox/+esm"></script>
|
|
110
110
|
```
|
|
111
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
112
|
|
|
@@ -183,10 +183,12 @@ class AuroCheckbox extends LitElement {
|
|
|
183
183
|
/**
|
|
184
184
|
* Indicates whether the checkbox has been interacted with.
|
|
185
185
|
* @type {boolean}
|
|
186
|
+
* @private
|
|
186
187
|
*/
|
|
187
188
|
touched: {
|
|
188
189
|
type: Boolean,
|
|
189
|
-
reflect: true
|
|
190
|
+
reflect: true,
|
|
191
|
+
attribute: false
|
|
190
192
|
}
|
|
191
193
|
};
|
|
192
194
|
}
|
|
@@ -183,10 +183,12 @@ class AuroCheckbox extends LitElement {
|
|
|
183
183
|
/**
|
|
184
184
|
* Indicates whether the checkbox has been interacted with.
|
|
185
185
|
* @type {boolean}
|
|
186
|
+
* @private
|
|
186
187
|
*/
|
|
187
188
|
touched: {
|
|
188
189
|
type: Boolean,
|
|
189
|
-
reflect: true
|
|
190
|
+
reflect: true,
|
|
191
|
+
attribute: false
|
|
190
192
|
}
|
|
191
193
|
};
|
|
192
194
|
}
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
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.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
114
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| [disabled](#disabled) | `disabled` | `boolean` | | If set, disables the combobox. |
|
|
14
14
|
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
15
15
|
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
16
|
+
| [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
|
|
16
17
|
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
|
|
17
18
|
| [noFilter](#noFilter) | `noFilter` | `boolean` | | If set, combobox will not filter menuoptions based in input. |
|
|
18
19
|
| [noFlip](#noFlip) | `noFlip` | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
@@ -317,6 +318,49 @@ If set, disables the combobox.
|
|
|
317
318
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
318
319
|
</auro-accordion>
|
|
319
320
|
|
|
321
|
+
#### Input Mode
|
|
322
|
+
|
|
323
|
+
You can manually set the input mode for the input.
|
|
324
|
+
|
|
325
|
+
<div class="exampleWrapper">
|
|
326
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inputmode.html) -->
|
|
327
|
+
<!-- The below content is automatically added from ./../apiExamples/inputmode.html -->
|
|
328
|
+
<auro-combobox inputmode="numeric">
|
|
329
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
330
|
+
<span slot="label">Name</span>
|
|
331
|
+
<auro-menu>
|
|
332
|
+
<auro-menuoption value="1" id="option-0">1</auro-menuoption>
|
|
333
|
+
<auro-menuoption value="2" id="option-1">2</auro-menuoption>
|
|
334
|
+
<auro-menuoption value="3" id="option-2">3</auro-menuoption>
|
|
335
|
+
<auro-menuoption value="4" id="option-3">4</auro-menuoption>
|
|
336
|
+
<auro-menuoption value="5" id="option-4">5</auro-menuoption>
|
|
337
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
338
|
+
</auro-menu>
|
|
339
|
+
</auro-combobox>
|
|
340
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
341
|
+
</div>
|
|
342
|
+
<auro-accordion alignRight>
|
|
343
|
+
<span slot="trigger">See code</span>
|
|
344
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inputmode.html) -->
|
|
345
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inputmode.html -->
|
|
346
|
+
|
|
347
|
+
```html
|
|
348
|
+
<auro-combobox inputmode="numeric">
|
|
349
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
350
|
+
<span slot="label">Name</span>
|
|
351
|
+
<auro-menu>
|
|
352
|
+
<auro-menuoption value="1" id="option-0">1</auro-menuoption>
|
|
353
|
+
<auro-menuoption value="2" id="option-1">2</auro-menuoption>
|
|
354
|
+
<auro-menuoption value="3" id="option-2">3</auro-menuoption>
|
|
355
|
+
<auro-menuoption value="4" id="option-3">4</auro-menuoption>
|
|
356
|
+
<auro-menuoption value="5" id="option-4">5</auro-menuoption>
|
|
357
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
358
|
+
</auro-menu>
|
|
359
|
+
</auro-combobox>
|
|
360
|
+
```
|
|
361
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
362
|
+
</auro-accordion>
|
|
363
|
+
|
|
320
364
|
#### noFilter
|
|
321
365
|
|
|
322
366
|
If set, combobox will not do suggestion filtering of the menuoptions. This option is useful when the `<auro-menuoption>` elements are being pre-filtered externally to combobox (e.g. using the citysearch API).
|
|
@@ -9836,6 +9836,13 @@ class BaseInput extends i$2 {
|
|
|
9836
9836
|
type: String
|
|
9837
9837
|
},
|
|
9838
9838
|
|
|
9839
|
+
/** Exposes inputmode attribute for input. */
|
|
9840
|
+
inputmode: {
|
|
9841
|
+
type: String,
|
|
9842
|
+
attribute: true,
|
|
9843
|
+
reflect: true
|
|
9844
|
+
},
|
|
9845
|
+
|
|
9839
9846
|
/**
|
|
9840
9847
|
* Defines the language of an element.
|
|
9841
9848
|
*/
|
|
@@ -10401,9 +10408,9 @@ class BaseInput extends i$2 {
|
|
|
10401
10408
|
|
|
10402
10409
|
if (this.type in defaultLengths) {
|
|
10403
10410
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
10404
|
-
this.
|
|
10411
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10405
10412
|
} else if (this.type === 'number') {
|
|
10406
|
-
this.
|
|
10413
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10407
10414
|
}
|
|
10408
10415
|
|
|
10409
10416
|
if (this.type === "date" && !this.format) {
|
|
@@ -11761,7 +11768,7 @@ class AuroInput extends BaseInput {
|
|
|
11761
11768
|
pattern="${o(this.definePattern())}"
|
|
11762
11769
|
maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
|
|
11763
11770
|
minlength="${o(this.minLength ? this.minLength : undefined)}"
|
|
11764
|
-
inputMode="${o(this.
|
|
11771
|
+
inputMode="${o(this.inputmode ? this.inputmode : undefined)}"
|
|
11765
11772
|
?required="${this.required}"
|
|
11766
11773
|
?disabled="${this.disabled}"
|
|
11767
11774
|
aria-describedby="${this.uniqueId}"
|
|
@@ -12820,6 +12827,13 @@ class AuroCombobox extends i$2 {
|
|
|
12820
12827
|
reflect: true
|
|
12821
12828
|
},
|
|
12822
12829
|
|
|
12830
|
+
/** Exposes inputmode attribute for input. */
|
|
12831
|
+
inputmode: {
|
|
12832
|
+
type: String,
|
|
12833
|
+
attribute: true,
|
|
12834
|
+
reflect: true
|
|
12835
|
+
},
|
|
12836
|
+
|
|
12823
12837
|
/**
|
|
12824
12838
|
* If set, combobox will not filter menuoptions based in input.
|
|
12825
12839
|
*/
|
|
@@ -13700,6 +13714,7 @@ class AuroCombobox extends i$2 {
|
|
|
13700
13714
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
13701
13715
|
.autocomplete="${this.autocomplete}"
|
|
13702
13716
|
.type="${this.type}"
|
|
13717
|
+
inputmode="${o(this.inputmode)}"
|
|
13703
13718
|
@input="${this.handleInputValueChange}">
|
|
13704
13719
|
</${this.inputTag}>
|
|
13705
13720
|
|
|
@@ -9694,6 +9694,13 @@ class BaseInput extends i$2 {
|
|
|
9694
9694
|
type: String
|
|
9695
9695
|
},
|
|
9696
9696
|
|
|
9697
|
+
/** Exposes inputmode attribute for input. */
|
|
9698
|
+
inputmode: {
|
|
9699
|
+
type: String,
|
|
9700
|
+
attribute: true,
|
|
9701
|
+
reflect: true
|
|
9702
|
+
},
|
|
9703
|
+
|
|
9697
9704
|
/**
|
|
9698
9705
|
* Defines the language of an element.
|
|
9699
9706
|
*/
|
|
@@ -10259,9 +10266,9 @@ class BaseInput extends i$2 {
|
|
|
10259
10266
|
|
|
10260
10267
|
if (this.type in defaultLengths) {
|
|
10261
10268
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
10262
|
-
this.
|
|
10269
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10263
10270
|
} else if (this.type === 'number') {
|
|
10264
|
-
this.
|
|
10271
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10265
10272
|
}
|
|
10266
10273
|
|
|
10267
10274
|
if (this.type === "date" && !this.format) {
|
|
@@ -11619,7 +11626,7 @@ class AuroInput extends BaseInput {
|
|
|
11619
11626
|
pattern="${o(this.definePattern())}"
|
|
11620
11627
|
maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
|
|
11621
11628
|
minlength="${o(this.minLength ? this.minLength : undefined)}"
|
|
11622
|
-
inputMode="${o(this.
|
|
11629
|
+
inputMode="${o(this.inputmode ? this.inputmode : undefined)}"
|
|
11623
11630
|
?required="${this.required}"
|
|
11624
11631
|
?disabled="${this.disabled}"
|
|
11625
11632
|
aria-describedby="${this.uniqueId}"
|
|
@@ -12678,6 +12685,13 @@ class AuroCombobox extends i$2 {
|
|
|
12678
12685
|
reflect: true
|
|
12679
12686
|
},
|
|
12680
12687
|
|
|
12688
|
+
/** Exposes inputmode attribute for input. */
|
|
12689
|
+
inputmode: {
|
|
12690
|
+
type: String,
|
|
12691
|
+
attribute: true,
|
|
12692
|
+
reflect: true
|
|
12693
|
+
},
|
|
12694
|
+
|
|
12681
12695
|
/**
|
|
12682
12696
|
* If set, combobox will not filter menuoptions based in input.
|
|
12683
12697
|
*/
|
|
@@ -13558,6 +13572,7 @@ class AuroCombobox extends i$2 {
|
|
|
13558
13572
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
13559
13573
|
.autocomplete="${this.autocomplete}"
|
|
13560
13574
|
.type="${this.type}"
|
|
13575
|
+
inputmode="${o(this.inputmode)}"
|
|
13561
13576
|
@input="${this.handleInputValueChange}">
|
|
13562
13577
|
</${this.inputTag}>
|
|
13563
13578
|
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
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.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
114
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -62,6 +62,12 @@ export class AuroCombobox extends LitElement {
|
|
|
62
62
|
type: StringConstructor;
|
|
63
63
|
reflect: boolean;
|
|
64
64
|
};
|
|
65
|
+
/** Exposes inputmode attribute for input. */
|
|
66
|
+
inputmode: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
attribute: boolean;
|
|
69
|
+
reflect: boolean;
|
|
70
|
+
};
|
|
65
71
|
/**
|
|
66
72
|
* If set, combobox will not filter menuoptions based in input.
|
|
67
73
|
*/
|
|
@@ -9612,6 +9612,13 @@ class BaseInput extends LitElement {
|
|
|
9612
9612
|
type: String
|
|
9613
9613
|
},
|
|
9614
9614
|
|
|
9615
|
+
/** Exposes inputmode attribute for input. */
|
|
9616
|
+
inputmode: {
|
|
9617
|
+
type: String,
|
|
9618
|
+
attribute: true,
|
|
9619
|
+
reflect: true
|
|
9620
|
+
},
|
|
9621
|
+
|
|
9615
9622
|
/**
|
|
9616
9623
|
* Defines the language of an element.
|
|
9617
9624
|
*/
|
|
@@ -10177,9 +10184,9 @@ class BaseInput extends LitElement {
|
|
|
10177
10184
|
|
|
10178
10185
|
if (this.type in defaultLengths) {
|
|
10179
10186
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
10180
|
-
this.
|
|
10187
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10181
10188
|
} else if (this.type === 'number') {
|
|
10182
|
-
this.
|
|
10189
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10183
10190
|
}
|
|
10184
10191
|
|
|
10185
10192
|
if (this.type === "date" && !this.format) {
|
|
@@ -11537,7 +11544,7 @@ class AuroInput extends BaseInput {
|
|
|
11537
11544
|
pattern="${ifDefined(this.definePattern())}"
|
|
11538
11545
|
maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
|
|
11539
11546
|
minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
|
|
11540
|
-
inputMode="${ifDefined(this.
|
|
11547
|
+
inputMode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
|
|
11541
11548
|
?required="${this.required}"
|
|
11542
11549
|
?disabled="${this.disabled}"
|
|
11543
11550
|
aria-describedby="${this.uniqueId}"
|
|
@@ -12596,6 +12603,13 @@ class AuroCombobox extends LitElement {
|
|
|
12596
12603
|
reflect: true
|
|
12597
12604
|
},
|
|
12598
12605
|
|
|
12606
|
+
/** Exposes inputmode attribute for input. */
|
|
12607
|
+
inputmode: {
|
|
12608
|
+
type: String,
|
|
12609
|
+
attribute: true,
|
|
12610
|
+
reflect: true
|
|
12611
|
+
},
|
|
12612
|
+
|
|
12599
12613
|
/**
|
|
12600
12614
|
* If set, combobox will not filter menuoptions based in input.
|
|
12601
12615
|
*/
|
|
@@ -13476,6 +13490,7 @@ class AuroCombobox extends LitElement {
|
|
|
13476
13490
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
13477
13491
|
.autocomplete="${this.autocomplete}"
|
|
13478
13492
|
.type="${this.type}"
|
|
13493
|
+
inputmode="${ifDefined(this.inputmode)}"
|
|
13479
13494
|
@input="${this.handleInputValueChange}">
|
|
13480
13495
|
</${this.inputTag}>
|
|
13481
13496
|
|
|
@@ -9612,6 +9612,13 @@ class BaseInput extends LitElement {
|
|
|
9612
9612
|
type: String
|
|
9613
9613
|
},
|
|
9614
9614
|
|
|
9615
|
+
/** Exposes inputmode attribute for input. */
|
|
9616
|
+
inputmode: {
|
|
9617
|
+
type: String,
|
|
9618
|
+
attribute: true,
|
|
9619
|
+
reflect: true
|
|
9620
|
+
},
|
|
9621
|
+
|
|
9615
9622
|
/**
|
|
9616
9623
|
* Defines the language of an element.
|
|
9617
9624
|
*/
|
|
@@ -10177,9 +10184,9 @@ class BaseInput extends LitElement {
|
|
|
10177
10184
|
|
|
10178
10185
|
if (this.type in defaultLengths) {
|
|
10179
10186
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
10180
|
-
this.
|
|
10187
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10181
10188
|
} else if (this.type === 'number') {
|
|
10182
|
-
this.
|
|
10189
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
10183
10190
|
}
|
|
10184
10191
|
|
|
10185
10192
|
if (this.type === "date" && !this.format) {
|
|
@@ -11537,7 +11544,7 @@ class AuroInput extends BaseInput {
|
|
|
11537
11544
|
pattern="${ifDefined(this.definePattern())}"
|
|
11538
11545
|
maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
|
|
11539
11546
|
minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
|
|
11540
|
-
inputMode="${ifDefined(this.
|
|
11547
|
+
inputMode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
|
|
11541
11548
|
?required="${this.required}"
|
|
11542
11549
|
?disabled="${this.disabled}"
|
|
11543
11550
|
aria-describedby="${this.uniqueId}"
|
|
@@ -12596,6 +12603,13 @@ class AuroCombobox extends LitElement {
|
|
|
12596
12603
|
reflect: true
|
|
12597
12604
|
},
|
|
12598
12605
|
|
|
12606
|
+
/** Exposes inputmode attribute for input. */
|
|
12607
|
+
inputmode: {
|
|
12608
|
+
type: String,
|
|
12609
|
+
attribute: true,
|
|
12610
|
+
reflect: true
|
|
12611
|
+
},
|
|
12612
|
+
|
|
12599
12613
|
/**
|
|
12600
12614
|
* If set, combobox will not filter menuoptions based in input.
|
|
12601
12615
|
*/
|
|
@@ -13476,6 +13490,7 @@ class AuroCombobox extends LitElement {
|
|
|
13476
13490
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
13477
13491
|
.autocomplete="${this.autocomplete}"
|
|
13478
13492
|
.type="${this.type}"
|
|
13493
|
+
inputmode="${ifDefined(this.inputmode)}"
|
|
13479
13494
|
@input="${this.handleInputValueChange}">
|
|
13480
13495
|
</${this.inputTag}>
|
|
13481
13496
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
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.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
113
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-counter/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
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.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
113
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-counter/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
104
104
|
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.
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
107
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-datepicker/+esm"></script>
|
|
108
108
|
```
|
|
109
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
110
|
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
| [error](#error) | `error` | | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
17
17
|
| [format](#format) | `format` | | `string` | "mm/dd/yyyy" | Specifies the date format. The default is `mm/dd/yyyy`. |
|
|
18
18
|
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
19
|
+
| [inputmode](#inputmode) | `inputmode` | | `string` | | Exposes inputmode attribute for input. |
|
|
19
20
|
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
20
21
|
| [maxDate](#maxDate) | `maxDate` | | `string` | | Maximum date. All dates after will be disabled. |
|
|
21
22
|
| [minDate](#minDate) | `minDate` | | `string` | | Minimum date. All dates before will be disabled. |
|
|
@@ -222,6 +223,35 @@ export function errorExample() {
|
|
|
222
223
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
223
224
|
</auro-accordion>
|
|
224
225
|
|
|
226
|
+
#### Input Mode
|
|
227
|
+
|
|
228
|
+
You can manually set the input mode for the input.
|
|
229
|
+
|
|
230
|
+
<div class="exampleWrapper">
|
|
231
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inputmode.html) -->
|
|
232
|
+
<!-- The below content is automatically added from ./../apiExamples/inputmode.html -->
|
|
233
|
+
<auro-datepicker inputmode="numeric">
|
|
234
|
+
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
235
|
+
<span slot="fromLabel">Choose a date</span>
|
|
236
|
+
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
237
|
+
</auro-datepicker>
|
|
238
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
239
|
+
</div>
|
|
240
|
+
<auro-accordion alignRight>
|
|
241
|
+
<span slot="trigger">See code</span>
|
|
242
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inputmode.html) -->
|
|
243
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inputmode.html -->
|
|
244
|
+
|
|
245
|
+
```html
|
|
246
|
+
<auro-datepicker inputmode="numeric">
|
|
247
|
+
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
248
|
+
<span slot="fromLabel">Choose a date</span>
|
|
249
|
+
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
250
|
+
</auro-datepicker>
|
|
251
|
+
```
|
|
252
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
253
|
+
</auro-accordion>
|
|
254
|
+
|
|
225
255
|
#### calendarStartDate & calendarEndDate
|
|
226
256
|
|
|
227
257
|
The `calendarStartDate` and `calendarEndDate` properties may be used to explicitly control which calendar months _may_ be rendered in the calendar.
|
|
@@ -21306,6 +21306,13 @@ class BaseInput extends i$2 {
|
|
|
21306
21306
|
type: String
|
|
21307
21307
|
},
|
|
21308
21308
|
|
|
21309
|
+
/** Exposes inputmode attribute for input. */
|
|
21310
|
+
inputmode: {
|
|
21311
|
+
type: String,
|
|
21312
|
+
attribute: true,
|
|
21313
|
+
reflect: true
|
|
21314
|
+
},
|
|
21315
|
+
|
|
21309
21316
|
/**
|
|
21310
21317
|
* Defines the language of an element.
|
|
21311
21318
|
*/
|
|
@@ -21871,9 +21878,9 @@ class BaseInput extends i$2 {
|
|
|
21871
21878
|
|
|
21872
21879
|
if (this.type in defaultLengths) {
|
|
21873
21880
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
21874
|
-
this.
|
|
21881
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21875
21882
|
} else if (this.type === 'number') {
|
|
21876
|
-
this.
|
|
21883
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21877
21884
|
}
|
|
21878
21885
|
|
|
21879
21886
|
if (this.type === "date" && !this.format) {
|
|
@@ -23231,7 +23238,7 @@ class AuroInput extends BaseInput {
|
|
|
23231
23238
|
pattern="${o(this.definePattern())}"
|
|
23232
23239
|
maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
|
|
23233
23240
|
minlength="${o(this.minLength ? this.minLength : undefined)}"
|
|
23234
|
-
inputMode="${o(this.
|
|
23241
|
+
inputMode="${o(this.inputmode ? this.inputmode : undefined)}"
|
|
23235
23242
|
?required="${this.required}"
|
|
23236
23243
|
?disabled="${this.disabled}"
|
|
23237
23244
|
aria-describedby="${this.uniqueId}"
|
|
@@ -23545,6 +23552,13 @@ class AuroDatePicker extends i$2 {
|
|
|
23545
23552
|
reflect: true
|
|
23546
23553
|
},
|
|
23547
23554
|
|
|
23555
|
+
/** Exposes inputmode attribute for input. */
|
|
23556
|
+
inputmode: {
|
|
23557
|
+
type: String,
|
|
23558
|
+
attribute: true,
|
|
23559
|
+
reflect: true
|
|
23560
|
+
},
|
|
23561
|
+
|
|
23548
23562
|
/**
|
|
23549
23563
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
23550
23564
|
* Otherwise, Heading 600.
|
|
@@ -24395,6 +24409,7 @@ class AuroDatePicker extends i$2 {
|
|
|
24395
24409
|
setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
|
|
24396
24410
|
setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
|
|
24397
24411
|
?disabled="${this.disabled}"
|
|
24412
|
+
inputmode="${o(this.inputmode)}"
|
|
24398
24413
|
part="input">
|
|
24399
24414
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
24400
24415
|
</${this.inputTag}>
|
|
@@ -21047,6 +21047,13 @@ class BaseInput extends i$2 {
|
|
|
21047
21047
|
type: String
|
|
21048
21048
|
},
|
|
21049
21049
|
|
|
21050
|
+
/** Exposes inputmode attribute for input. */
|
|
21051
|
+
inputmode: {
|
|
21052
|
+
type: String,
|
|
21053
|
+
attribute: true,
|
|
21054
|
+
reflect: true
|
|
21055
|
+
},
|
|
21056
|
+
|
|
21050
21057
|
/**
|
|
21051
21058
|
* Defines the language of an element.
|
|
21052
21059
|
*/
|
|
@@ -21612,9 +21619,9 @@ class BaseInput extends i$2 {
|
|
|
21612
21619
|
|
|
21613
21620
|
if (this.type in defaultLengths) {
|
|
21614
21621
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
21615
|
-
this.
|
|
21622
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21616
21623
|
} else if (this.type === 'number') {
|
|
21617
|
-
this.
|
|
21624
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21618
21625
|
}
|
|
21619
21626
|
|
|
21620
21627
|
if (this.type === "date" && !this.format) {
|
|
@@ -22972,7 +22979,7 @@ class AuroInput extends BaseInput {
|
|
|
22972
22979
|
pattern="${o(this.definePattern())}"
|
|
22973
22980
|
maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
|
|
22974
22981
|
minlength="${o(this.minLength ? this.minLength : undefined)}"
|
|
22975
|
-
inputMode="${o(this.
|
|
22982
|
+
inputMode="${o(this.inputmode ? this.inputmode : undefined)}"
|
|
22976
22983
|
?required="${this.required}"
|
|
22977
22984
|
?disabled="${this.disabled}"
|
|
22978
22985
|
aria-describedby="${this.uniqueId}"
|
|
@@ -23286,6 +23293,13 @@ class AuroDatePicker extends i$2 {
|
|
|
23286
23293
|
reflect: true
|
|
23287
23294
|
},
|
|
23288
23295
|
|
|
23296
|
+
/** Exposes inputmode attribute for input. */
|
|
23297
|
+
inputmode: {
|
|
23298
|
+
type: String,
|
|
23299
|
+
attribute: true,
|
|
23300
|
+
reflect: true
|
|
23301
|
+
},
|
|
23302
|
+
|
|
23289
23303
|
/**
|
|
23290
23304
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
23291
23305
|
* Otherwise, Heading 600.
|
|
@@ -24136,6 +24150,7 @@ class AuroDatePicker extends i$2 {
|
|
|
24136
24150
|
setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
|
|
24137
24151
|
setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
|
|
24138
24152
|
?disabled="${this.disabled}"
|
|
24153
|
+
inputmode="${o(this.inputmode)}"
|
|
24139
24154
|
part="input">
|
|
24140
24155
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
24141
24156
|
</${this.inputTag}>
|
|
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
104
104
|
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.
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
107
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-datepicker/+esm"></script>
|
|
108
108
|
```
|
|
109
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
110
|
|
|
@@ -89,6 +89,12 @@ export class AuroDatePicker extends LitElement {
|
|
|
89
89
|
type: StringConstructor;
|
|
90
90
|
reflect: boolean;
|
|
91
91
|
};
|
|
92
|
+
/** Exposes inputmode attribute for input. */
|
|
93
|
+
inputmode: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
attribute: boolean;
|
|
96
|
+
reflect: boolean;
|
|
97
|
+
};
|
|
92
98
|
/**
|
|
93
99
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
94
100
|
* Otherwise, Heading 600.
|
|
@@ -20983,6 +20983,13 @@ class BaseInput extends LitElement {
|
|
|
20983
20983
|
type: String
|
|
20984
20984
|
},
|
|
20985
20985
|
|
|
20986
|
+
/** Exposes inputmode attribute for input. */
|
|
20987
|
+
inputmode: {
|
|
20988
|
+
type: String,
|
|
20989
|
+
attribute: true,
|
|
20990
|
+
reflect: true
|
|
20991
|
+
},
|
|
20992
|
+
|
|
20986
20993
|
/**
|
|
20987
20994
|
* Defines the language of an element.
|
|
20988
20995
|
*/
|
|
@@ -21548,9 +21555,9 @@ class BaseInput extends LitElement {
|
|
|
21548
21555
|
|
|
21549
21556
|
if (this.type in defaultLengths) {
|
|
21550
21557
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
21551
|
-
this.
|
|
21558
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21552
21559
|
} else if (this.type === 'number') {
|
|
21553
|
-
this.
|
|
21560
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21554
21561
|
}
|
|
21555
21562
|
|
|
21556
21563
|
if (this.type === "date" && !this.format) {
|
|
@@ -22908,7 +22915,7 @@ class AuroInput extends BaseInput {
|
|
|
22908
22915
|
pattern="${ifDefined(this.definePattern())}"
|
|
22909
22916
|
maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
|
|
22910
22917
|
minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
|
|
22911
|
-
inputMode="${ifDefined(this.
|
|
22918
|
+
inputMode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
|
|
22912
22919
|
?required="${this.required}"
|
|
22913
22920
|
?disabled="${this.disabled}"
|
|
22914
22921
|
aria-describedby="${this.uniqueId}"
|
|
@@ -23222,6 +23229,13 @@ class AuroDatePicker extends LitElement {
|
|
|
23222
23229
|
reflect: true
|
|
23223
23230
|
},
|
|
23224
23231
|
|
|
23232
|
+
/** Exposes inputmode attribute for input. */
|
|
23233
|
+
inputmode: {
|
|
23234
|
+
type: String,
|
|
23235
|
+
attribute: true,
|
|
23236
|
+
reflect: true
|
|
23237
|
+
},
|
|
23238
|
+
|
|
23225
23239
|
/**
|
|
23226
23240
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
23227
23241
|
* Otherwise, Heading 600.
|
|
@@ -24072,6 +24086,7 @@ class AuroDatePicker extends LitElement {
|
|
|
24072
24086
|
setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
|
|
24073
24087
|
setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
|
|
24074
24088
|
?disabled="${this.disabled}"
|
|
24089
|
+
inputmode="${ifDefined(this.inputmode)}"
|
|
24075
24090
|
part="input">
|
|
24076
24091
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
24077
24092
|
</${this.inputTag}>
|
|
@@ -20983,6 +20983,13 @@ class BaseInput extends LitElement {
|
|
|
20983
20983
|
type: String
|
|
20984
20984
|
},
|
|
20985
20985
|
|
|
20986
|
+
/** Exposes inputmode attribute for input. */
|
|
20987
|
+
inputmode: {
|
|
20988
|
+
type: String,
|
|
20989
|
+
attribute: true,
|
|
20990
|
+
reflect: true
|
|
20991
|
+
},
|
|
20992
|
+
|
|
20986
20993
|
/**
|
|
20987
20994
|
* Defines the language of an element.
|
|
20988
20995
|
*/
|
|
@@ -21548,9 +21555,9 @@ class BaseInput extends LitElement {
|
|
|
21548
21555
|
|
|
21549
21556
|
if (this.type in defaultLengths) {
|
|
21550
21557
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
21551
|
-
this.
|
|
21558
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21552
21559
|
} else if (this.type === 'number') {
|
|
21553
|
-
this.
|
|
21560
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
21554
21561
|
}
|
|
21555
21562
|
|
|
21556
21563
|
if (this.type === "date" && !this.format) {
|
|
@@ -22908,7 +22915,7 @@ class AuroInput extends BaseInput {
|
|
|
22908
22915
|
pattern="${ifDefined(this.definePattern())}"
|
|
22909
22916
|
maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
|
|
22910
22917
|
minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
|
|
22911
|
-
inputMode="${ifDefined(this.
|
|
22918
|
+
inputMode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
|
|
22912
22919
|
?required="${this.required}"
|
|
22913
22920
|
?disabled="${this.disabled}"
|
|
22914
22921
|
aria-describedby="${this.uniqueId}"
|
|
@@ -23222,6 +23229,13 @@ class AuroDatePicker extends LitElement {
|
|
|
23222
23229
|
reflect: true
|
|
23223
23230
|
},
|
|
23224
23231
|
|
|
23232
|
+
/** Exposes inputmode attribute for input. */
|
|
23233
|
+
inputmode: {
|
|
23234
|
+
type: String,
|
|
23235
|
+
attribute: true,
|
|
23236
|
+
reflect: true
|
|
23237
|
+
},
|
|
23238
|
+
|
|
23225
23239
|
/**
|
|
23226
23240
|
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
23227
23241
|
* Otherwise, Heading 600.
|
|
@@ -24072,6 +24086,7 @@ class AuroDatePicker extends LitElement {
|
|
|
24072
24086
|
setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
|
|
24073
24087
|
setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
|
|
24074
24088
|
?disabled="${this.disabled}"
|
|
24089
|
+
inputmode="${ifDefined(this.inputmode)}"
|
|
24075
24090
|
part="input">
|
|
24076
24091
|
<span slot="label"><slot name="fromLabel"></slot></span>
|
|
24077
24092
|
</${this.inputTag}>
|
|
@@ -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.3.0
|
|
110
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -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.3.0
|
|
110
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -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.3.0
|
|
112
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-form/+esm"></script>
|
|
113
113
|
```
|
|
114
114
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
115
115
|
|
|
@@ -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.3.0
|
|
112
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-form/+esm"></script>
|
|
113
113
|
```
|
|
114
114
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
115
115
|
|
|
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
99
99
|
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.
|
|
100
100
|
|
|
101
101
|
```html
|
|
102
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
102
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-input/+esm"></script>
|
|
103
103
|
```
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
@@ -30,6 +30,7 @@ Generate unique names for dependency components.
|
|
|
30
30
|
| [format](#format) | `format` | `string` | | Specifies the input mask format. |
|
|
31
31
|
| [icon](#icon) | `icon` | `boolean` | false | If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format. |
|
|
32
32
|
| [id](#id) | `id` | `string` | | Sets the unique ID of the element. |
|
|
33
|
+
| [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
|
|
33
34
|
| [lang](#lang) | `lang` | `string` | | Defines the language of an element. |
|
|
34
35
|
| [max](#max) | `max` | `string` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `number` and all date formats. |
|
|
35
36
|
| [maxLength](#maxLength) | `maxLength` | `number` | "undefined" | The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher. |
|
|
@@ -179,6 +180,29 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
179
180
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
180
181
|
</auro-accordion>
|
|
181
182
|
|
|
183
|
+
#### Input Mode
|
|
184
|
+
|
|
185
|
+
Set the input mode for the input.
|
|
186
|
+
|
|
187
|
+
*IMPORTANT:* If you are also passing a `type`, most browsers will use the `type` attribute to determine what keyboard to display on mobile devices and ignore the `inputmode` attribute.
|
|
188
|
+
|
|
189
|
+
<div class="exampleWrapper">
|
|
190
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inputmode.html) -->
|
|
191
|
+
<!-- The below content is automatically added from ./../apiExamples/inputmode.html -->
|
|
192
|
+
<auro-input bordered inputmode="tel" />
|
|
193
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
194
|
+
</div>
|
|
195
|
+
<auro-accordion alignRight>
|
|
196
|
+
<span slot="trigger">See code</span>
|
|
197
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inputmode.html) -->
|
|
198
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inputmode.html -->
|
|
199
|
+
|
|
200
|
+
```html
|
|
201
|
+
<auro-input bordered inputmode="tel" />
|
|
202
|
+
```
|
|
203
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
204
|
+
</auro-accordion>
|
|
205
|
+
|
|
182
206
|
### Placeholder <a name="placeholder"></a>
|
|
183
207
|
Use the `placeholder` attribute to add a custom placeholder message within the element.
|
|
184
208
|
|
|
@@ -5162,6 +5162,13 @@ class BaseInput extends i {
|
|
|
5162
5162
|
type: String
|
|
5163
5163
|
},
|
|
5164
5164
|
|
|
5165
|
+
/** Exposes inputmode attribute for input. */
|
|
5166
|
+
inputmode: {
|
|
5167
|
+
type: String,
|
|
5168
|
+
attribute: true,
|
|
5169
|
+
reflect: true
|
|
5170
|
+
},
|
|
5171
|
+
|
|
5165
5172
|
/**
|
|
5166
5173
|
* Defines the language of an element.
|
|
5167
5174
|
*/
|
|
@@ -5727,9 +5734,9 @@ class BaseInput extends i {
|
|
|
5727
5734
|
|
|
5728
5735
|
if (this.type in defaultLengths) {
|
|
5729
5736
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
5730
|
-
this.
|
|
5737
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5731
5738
|
} else if (this.type === 'number') {
|
|
5732
|
-
this.
|
|
5739
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5733
5740
|
}
|
|
5734
5741
|
|
|
5735
5742
|
if (this.type === "date" && !this.format) {
|
|
@@ -7087,7 +7094,7 @@ class AuroInput extends BaseInput {
|
|
|
7087
7094
|
pattern="${o$3(this.definePattern())}"
|
|
7088
7095
|
maxlength="${o$3(this.maxLength ? this.maxLength : undefined)}"
|
|
7089
7096
|
minlength="${o$3(this.minLength ? this.minLength : undefined)}"
|
|
7090
|
-
inputMode="${o$3(this.
|
|
7097
|
+
inputMode="${o$3(this.inputmode ? this.inputmode : undefined)}"
|
|
7091
7098
|
?required="${this.required}"
|
|
7092
7099
|
?disabled="${this.disabled}"
|
|
7093
7100
|
aria-describedby="${this.uniqueId}"
|
|
@@ -5087,6 +5087,13 @@ class BaseInput extends i {
|
|
|
5087
5087
|
type: String
|
|
5088
5088
|
},
|
|
5089
5089
|
|
|
5090
|
+
/** Exposes inputmode attribute for input. */
|
|
5091
|
+
inputmode: {
|
|
5092
|
+
type: String,
|
|
5093
|
+
attribute: true,
|
|
5094
|
+
reflect: true
|
|
5095
|
+
},
|
|
5096
|
+
|
|
5090
5097
|
/**
|
|
5091
5098
|
* Defines the language of an element.
|
|
5092
5099
|
*/
|
|
@@ -5652,9 +5659,9 @@ class BaseInput extends i {
|
|
|
5652
5659
|
|
|
5653
5660
|
if (this.type in defaultLengths) {
|
|
5654
5661
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
5655
|
-
this.
|
|
5662
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5656
5663
|
} else if (this.type === 'number') {
|
|
5657
|
-
this.
|
|
5664
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5658
5665
|
}
|
|
5659
5666
|
|
|
5660
5667
|
if (this.type === "date" && !this.format) {
|
|
@@ -7012,7 +7019,7 @@ class AuroInput extends BaseInput {
|
|
|
7012
7019
|
pattern="${o$3(this.definePattern())}"
|
|
7013
7020
|
maxlength="${o$3(this.maxLength ? this.maxLength : undefined)}"
|
|
7014
7021
|
minlength="${o$3(this.minLength ? this.minLength : undefined)}"
|
|
7015
|
-
inputMode="${o$3(this.
|
|
7022
|
+
inputMode="${o$3(this.inputmode ? this.inputmode : undefined)}"
|
|
7016
7023
|
?required="${this.required}"
|
|
7017
7024
|
?disabled="${this.disabled}"
|
|
7018
7025
|
aria-describedby="${this.uniqueId}"
|
|
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
99
99
|
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.
|
|
100
100
|
|
|
101
101
|
```html
|
|
102
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
102
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-input/+esm"></script>
|
|
103
103
|
```
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
@@ -107,6 +107,12 @@ export default class BaseInput extends LitElement {
|
|
|
107
107
|
id: {
|
|
108
108
|
type: StringConstructor;
|
|
109
109
|
};
|
|
110
|
+
/** Exposes inputmode attribute for input. */
|
|
111
|
+
inputmode: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
attribute: boolean;
|
|
114
|
+
reflect: boolean;
|
|
115
|
+
};
|
|
110
116
|
/**
|
|
111
117
|
* Defines the language of an element.
|
|
112
118
|
*/
|
|
@@ -442,6 +448,7 @@ export default class BaseInput extends LitElement {
|
|
|
442
448
|
*/
|
|
443
449
|
private configureDataForType;
|
|
444
450
|
lengthForType: any;
|
|
451
|
+
inputmode: any;
|
|
445
452
|
/**
|
|
446
453
|
* Validates against list of supported this.allowedInputTypes; return type=text if invalid request.
|
|
447
454
|
* @private
|
|
@@ -5011,6 +5011,13 @@ class BaseInput extends LitElement {
|
|
|
5011
5011
|
type: String
|
|
5012
5012
|
},
|
|
5013
5013
|
|
|
5014
|
+
/** Exposes inputmode attribute for input. */
|
|
5015
|
+
inputmode: {
|
|
5016
|
+
type: String,
|
|
5017
|
+
attribute: true,
|
|
5018
|
+
reflect: true
|
|
5019
|
+
},
|
|
5020
|
+
|
|
5014
5021
|
/**
|
|
5015
5022
|
* Defines the language of an element.
|
|
5016
5023
|
*/
|
|
@@ -5576,9 +5583,9 @@ class BaseInput extends LitElement {
|
|
|
5576
5583
|
|
|
5577
5584
|
if (this.type in defaultLengths) {
|
|
5578
5585
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
5579
|
-
this.
|
|
5586
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5580
5587
|
} else if (this.type === 'number') {
|
|
5581
|
-
this.
|
|
5588
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5582
5589
|
}
|
|
5583
5590
|
|
|
5584
5591
|
if (this.type === "date" && !this.format) {
|
|
@@ -6936,7 +6943,7 @@ class AuroInput extends BaseInput {
|
|
|
6936
6943
|
pattern="${ifDefined(this.definePattern())}"
|
|
6937
6944
|
maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
|
|
6938
6945
|
minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
|
|
6939
|
-
inputMode="${ifDefined(this.
|
|
6946
|
+
inputMode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
|
|
6940
6947
|
?required="${this.required}"
|
|
6941
6948
|
?disabled="${this.disabled}"
|
|
6942
6949
|
aria-describedby="${this.uniqueId}"
|
|
@@ -5011,6 +5011,13 @@ class BaseInput extends LitElement {
|
|
|
5011
5011
|
type: String
|
|
5012
5012
|
},
|
|
5013
5013
|
|
|
5014
|
+
/** Exposes inputmode attribute for input. */
|
|
5015
|
+
inputmode: {
|
|
5016
|
+
type: String,
|
|
5017
|
+
attribute: true,
|
|
5018
|
+
reflect: true
|
|
5019
|
+
},
|
|
5020
|
+
|
|
5014
5021
|
/**
|
|
5015
5022
|
* Defines the language of an element.
|
|
5016
5023
|
*/
|
|
@@ -5576,9 +5583,9 @@ class BaseInput extends LitElement {
|
|
|
5576
5583
|
|
|
5577
5584
|
if (this.type in defaultLengths) {
|
|
5578
5585
|
this.lengthForType = this.format ? this.format.length : defaultLengths[this.type];
|
|
5579
|
-
this.
|
|
5586
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5580
5587
|
} else if (this.type === 'number') {
|
|
5581
|
-
this.
|
|
5588
|
+
this.inputmode = this.inputmode || 'numeric';
|
|
5582
5589
|
}
|
|
5583
5590
|
|
|
5584
5591
|
if (this.type === "date" && !this.format) {
|
|
@@ -6936,7 +6943,7 @@ class AuroInput extends BaseInput {
|
|
|
6936
6943
|
pattern="${ifDefined(this.definePattern())}"
|
|
6937
6944
|
maxlength="${ifDefined(this.maxLength ? this.maxLength : undefined)}"
|
|
6938
6945
|
minlength="${ifDefined(this.minLength ? this.minLength : undefined)}"
|
|
6939
|
-
inputMode="${ifDefined(this.
|
|
6946
|
+
inputMode="${ifDefined(this.inputmode ? this.inputmode : undefined)}"
|
|
6940
6947
|
?required="${this.required}"
|
|
6941
6948
|
?disabled="${this.disabled}"
|
|
6942
6949
|
aria-describedby="${this.uniqueId}"
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
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.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
113
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-menu/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
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.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
113
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-menu/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
100
100
|
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.
|
|
101
101
|
|
|
102
102
|
```html
|
|
103
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
103
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-radio/+esm"></script>
|
|
104
104
|
```
|
|
105
105
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
106
106
|
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
| [onDark](#onDark) | `onDark` | `Boolean` | false | If set to true, the component will render with a dark theme. |
|
|
64
64
|
| [required](#required) | `required` | `Boolean` | false | Defines element as required. |
|
|
65
65
|
| [tabIndex](#tabIndex) | `tabIndex` | `number` | -1 | |
|
|
66
|
-
| [touched](#touched) | `touched` | `boolean` | false | |
|
|
67
66
|
| [value](#value) | `value` | `string` | | |
|
|
68
67
|
|
|
69
68
|
## Methods
|
|
@@ -220,9 +220,15 @@ class AuroRadio extends i$2 {
|
|
|
220
220
|
type: Number,
|
|
221
221
|
reflect: true
|
|
222
222
|
},
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Whether or not the radio button has been touched by the user.
|
|
226
|
+
* @private
|
|
227
|
+
*/
|
|
223
228
|
touched: {
|
|
224
229
|
type: Boolean,
|
|
225
|
-
reflect: true
|
|
230
|
+
reflect: true,
|
|
231
|
+
attribute: false
|
|
226
232
|
}
|
|
227
233
|
};
|
|
228
234
|
}
|
|
@@ -195,9 +195,15 @@ class AuroRadio extends i$2 {
|
|
|
195
195
|
type: Number,
|
|
196
196
|
reflect: true
|
|
197
197
|
},
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Whether or not the radio button has been touched by the user.
|
|
201
|
+
* @private
|
|
202
|
+
*/
|
|
198
203
|
touched: {
|
|
199
204
|
type: Boolean,
|
|
200
|
-
reflect: true
|
|
205
|
+
reflect: true,
|
|
206
|
+
attribute: false
|
|
201
207
|
}
|
|
202
208
|
};
|
|
203
209
|
}
|
|
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
100
100
|
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.
|
|
101
101
|
|
|
102
102
|
```html
|
|
103
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
103
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-radio/+esm"></script>
|
|
104
104
|
```
|
|
105
105
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
106
106
|
|
|
@@ -49,9 +49,14 @@ export class AuroRadio extends LitElement {
|
|
|
49
49
|
type: NumberConstructor;
|
|
50
50
|
reflect: boolean;
|
|
51
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* Whether or not the radio button has been touched by the user.
|
|
54
|
+
* @private
|
|
55
|
+
*/
|
|
52
56
|
touched: {
|
|
53
57
|
type: BooleanConstructor;
|
|
54
58
|
reflect: boolean;
|
|
59
|
+
attribute: boolean;
|
|
55
60
|
};
|
|
56
61
|
};
|
|
57
62
|
/**
|
|
@@ -155,9 +155,15 @@ class AuroRadio extends LitElement {
|
|
|
155
155
|
type: Number,
|
|
156
156
|
reflect: true
|
|
157
157
|
},
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Whether or not the radio button has been touched by the user.
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
158
163
|
touched: {
|
|
159
164
|
type: Boolean,
|
|
160
|
-
reflect: true
|
|
165
|
+
reflect: true,
|
|
166
|
+
attribute: false
|
|
161
167
|
}
|
|
162
168
|
};
|
|
163
169
|
}
|
|
@@ -155,9 +155,15 @@ class AuroRadio extends LitElement {
|
|
|
155
155
|
type: Number,
|
|
156
156
|
reflect: true
|
|
157
157
|
},
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Whether or not the radio button has been touched by the user.
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
158
163
|
touched: {
|
|
159
164
|
type: Boolean,
|
|
160
|
-
reflect: true
|
|
165
|
+
reflect: true,
|
|
166
|
+
attribute: false
|
|
161
167
|
}
|
|
162
168
|
};
|
|
163
169
|
}
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
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.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
114
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-select/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
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.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0
|
|
114
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@3.3.0/auro-select/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
package/package.json
CHANGED