@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.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/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +24 -16
- package/components/combobox/demo/customize.min.js +405 -121
- package/components/combobox/demo/getting-started.min.js +405 -121
- package/components/combobox/demo/index.min.js +405 -121
- package/components/combobox/dist/auro-combobox.d.ts +29 -0
- package/components/combobox/dist/index.js +320 -107
- package/components/combobox/dist/registered.js +320 -107
- package/components/counter/demo/api.md +33 -15
- package/components/counter/demo/customize.min.js +201 -64
- package/components/counter/demo/index.min.js +201 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +23 -0
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +201 -64
- package/components/counter/dist/registered.js +201 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +483 -131
- package/components/datepicker/demo/index.min.js +483 -131
- package/components/datepicker/dist/auro-calendar-cell.d.ts +55 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +9 -1
- package/components/datepicker/dist/auro-calendar.d.ts +16 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +63 -10
- package/components/datepicker/dist/index.js +483 -131
- package/components/datepicker/dist/registered.js +483 -131
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +106 -37
- package/components/dropdown/demo/getting-started.min.js +232 -79
- package/components/dropdown/demo/index.min.js +106 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -4
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +106 -37
- package/components/dropdown/dist/registered.js +106 -37
- package/components/form/demo/customize.min.js +1448 -455
- package/components/form/demo/getting-started.min.js +1448 -455
- package/components/form/demo/index.min.js +1448 -455
- package/components/form/demo/registerDemoDeps.min.js +1448 -455
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +126 -42
- package/components/input/demo/getting-started.min.js +126 -42
- package/components/input/demo/index.min.js +126 -42
- package/components/input/dist/base-input.d.ts +67 -22
- package/components/input/dist/index.js +126 -42
- package/components/input/dist/registered.js +126 -42
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +30 -27
- package/components/menu/demo/index.min.js +105 -34
- package/components/menu/dist/auro-menu.d.ts +24 -13
- package/components/menu/dist/auro-menuoption.d.ts +26 -0
- package/components/menu/dist/index.js +105 -34
- package/components/menu/dist/registered.js +105 -34
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +20 -7
- package/components/radio/demo/getting-started.min.js +20 -7
- package/components/radio/demo/index.min.js +20 -7
- package/components/radio/dist/auro-radio-group.d.ts +7 -0
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +20 -7
- package/components/radio/dist/registered.js +20 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +255 -78
- package/components/select/demo/getting-started.min.js +255 -78
- package/components/select/demo/index.min.js +255 -78
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +170 -64
- package/components/select/dist/registered.js +170 -64
- package/custom-elements.json +2573 -2680
- package/package.json +1 -1
|
@@ -111,6 +111,9 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
111
111
|
*
|
|
112
112
|
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
113
113
|
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
114
|
+
* @event auroCheckbox-input - (Deprecated) Notifies when the checked value is changed by user interaction.
|
|
115
|
+
* @event auroCheckbox-focusin - Notifies when the checkbox receives focus.
|
|
116
|
+
* @event auroCheckbox-focusout - Notifies when the checkbox loses focus.
|
|
114
117
|
*/
|
|
115
118
|
/* eslint-enable jsdoc/no-undefined-types */
|
|
116
119
|
|
|
@@ -214,6 +217,7 @@ class AuroCheckbox extends LitElement {
|
|
|
214
217
|
*/
|
|
215
218
|
onDark: {
|
|
216
219
|
type: Boolean,
|
|
220
|
+
attribute: 'ondark',
|
|
217
221
|
reflect: true
|
|
218
222
|
},
|
|
219
223
|
|
|
@@ -1102,6 +1106,8 @@ class AuroHelpText extends LitElement {
|
|
|
1102
1106
|
super();
|
|
1103
1107
|
|
|
1104
1108
|
this.error = false;
|
|
1109
|
+
|
|
1110
|
+
/** @type {'default' | 'inverse'} */
|
|
1105
1111
|
this.appearance = "default";
|
|
1106
1112
|
this.onDark = false;
|
|
1107
1113
|
this.hasTextContent = false;
|
|
@@ -1122,8 +1128,8 @@ class AuroHelpText extends LitElement {
|
|
|
1122
1128
|
return {
|
|
1123
1129
|
|
|
1124
1130
|
/**
|
|
1125
|
-
*
|
|
1126
|
-
* @
|
|
1131
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1132
|
+
* @type {'default' | 'inverse'}
|
|
1127
1133
|
* @default 'default'
|
|
1128
1134
|
*/
|
|
1129
1135
|
appearance: {
|
|
@@ -1136,6 +1142,7 @@ class AuroHelpText extends LitElement {
|
|
|
1136
1142
|
*/
|
|
1137
1143
|
slotNodes: {
|
|
1138
1144
|
type: Boolean,
|
|
1145
|
+
attribute: 'slotnodes',
|
|
1139
1146
|
},
|
|
1140
1147
|
|
|
1141
1148
|
/**
|
|
@@ -1143,6 +1150,7 @@ class AuroHelpText extends LitElement {
|
|
|
1143
1150
|
*/
|
|
1144
1151
|
hasTextContent: {
|
|
1145
1152
|
type: Boolean,
|
|
1153
|
+
attribute: 'hastextcontent',
|
|
1146
1154
|
},
|
|
1147
1155
|
|
|
1148
1156
|
/**
|
|
@@ -1158,6 +1166,7 @@ class AuroHelpText extends LitElement {
|
|
|
1158
1166
|
*/
|
|
1159
1167
|
onDark: {
|
|
1160
1168
|
type: Boolean,
|
|
1169
|
+
attribute: 'ondark',
|
|
1161
1170
|
reflect: true
|
|
1162
1171
|
}
|
|
1163
1172
|
};
|
|
@@ -1228,7 +1237,7 @@ class AuroHelpText extends LitElement {
|
|
|
1228
1237
|
}
|
|
1229
1238
|
}
|
|
1230
1239
|
|
|
1231
|
-
var formkitVersion = '
|
|
1240
|
+
var formkitVersion = '202608291822';
|
|
1232
1241
|
|
|
1233
1242
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1234
1243
|
// See LICENSE in the project root for license information.
|
|
@@ -1238,11 +1247,14 @@ var formkitVersion = '202608261850';
|
|
|
1238
1247
|
* The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.
|
|
1239
1248
|
* @customElement auro-checkbox-group
|
|
1240
1249
|
*
|
|
1250
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1251
|
+
*
|
|
1241
1252
|
* @slot legend - Allows for the legend to be overridden.
|
|
1242
1253
|
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1243
1254
|
* @slot helpText - Allows for the helper text to be overridden.
|
|
1244
1255
|
* @slot default - The default slot for the checkbox items.
|
|
1245
1256
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
1257
|
+
* @event input - Notifies when the group's value changes due to a checkbox selection being added or removed.
|
|
1246
1258
|
*/
|
|
1247
1259
|
|
|
1248
1260
|
class AuroCheckboxGroup extends LitElement {
|
|
@@ -1355,6 +1367,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1355
1367
|
*/
|
|
1356
1368
|
noValidate: {
|
|
1357
1369
|
type: Boolean,
|
|
1370
|
+
attribute: 'novalidate',
|
|
1358
1371
|
reflect: true
|
|
1359
1372
|
},
|
|
1360
1373
|
|
|
@@ -1363,6 +1376,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1363
1376
|
*/
|
|
1364
1377
|
onDark: {
|
|
1365
1378
|
type: Boolean,
|
|
1379
|
+
attribute: 'ondark',
|
|
1366
1380
|
reflect: true
|
|
1367
1381
|
},
|
|
1368
1382
|
|
|
@@ -1378,21 +1392,24 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1378
1392
|
* Sets a custom help text message to display for all validityStates.
|
|
1379
1393
|
*/
|
|
1380
1394
|
setCustomValidity: {
|
|
1381
|
-
type: String
|
|
1395
|
+
type: String,
|
|
1396
|
+
attribute: 'setcustomvalidity'
|
|
1382
1397
|
},
|
|
1383
1398
|
|
|
1384
1399
|
/**
|
|
1385
1400
|
* Custom help text message to display when validity = `customError`.
|
|
1386
1401
|
*/
|
|
1387
1402
|
setCustomValidityCustomError: {
|
|
1388
|
-
type: String
|
|
1403
|
+
type: String,
|
|
1404
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1389
1405
|
},
|
|
1390
1406
|
|
|
1391
1407
|
/**
|
|
1392
1408
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1393
1409
|
*/
|
|
1394
1410
|
setCustomValidityValueMissing: {
|
|
1395
|
-
type: String
|
|
1411
|
+
type: String,
|
|
1412
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1396
1413
|
},
|
|
1397
1414
|
|
|
1398
1415
|
/**
|
|
@@ -111,6 +111,9 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
111
111
|
*
|
|
112
112
|
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
113
113
|
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
114
|
+
* @event auroCheckbox-input - (Deprecated) Notifies when the checked value is changed by user interaction.
|
|
115
|
+
* @event auroCheckbox-focusin - Notifies when the checkbox receives focus.
|
|
116
|
+
* @event auroCheckbox-focusout - Notifies when the checkbox loses focus.
|
|
114
117
|
*/
|
|
115
118
|
/* eslint-enable jsdoc/no-undefined-types */
|
|
116
119
|
|
|
@@ -214,6 +217,7 @@ class AuroCheckbox extends LitElement {
|
|
|
214
217
|
*/
|
|
215
218
|
onDark: {
|
|
216
219
|
type: Boolean,
|
|
220
|
+
attribute: 'ondark',
|
|
217
221
|
reflect: true
|
|
218
222
|
},
|
|
219
223
|
|
|
@@ -1102,6 +1106,8 @@ class AuroHelpText extends LitElement {
|
|
|
1102
1106
|
super();
|
|
1103
1107
|
|
|
1104
1108
|
this.error = false;
|
|
1109
|
+
|
|
1110
|
+
/** @type {'default' | 'inverse'} */
|
|
1105
1111
|
this.appearance = "default";
|
|
1106
1112
|
this.onDark = false;
|
|
1107
1113
|
this.hasTextContent = false;
|
|
@@ -1122,8 +1128,8 @@ class AuroHelpText extends LitElement {
|
|
|
1122
1128
|
return {
|
|
1123
1129
|
|
|
1124
1130
|
/**
|
|
1125
|
-
*
|
|
1126
|
-
* @
|
|
1131
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1132
|
+
* @type {'default' | 'inverse'}
|
|
1127
1133
|
* @default 'default'
|
|
1128
1134
|
*/
|
|
1129
1135
|
appearance: {
|
|
@@ -1136,6 +1142,7 @@ class AuroHelpText extends LitElement {
|
|
|
1136
1142
|
*/
|
|
1137
1143
|
slotNodes: {
|
|
1138
1144
|
type: Boolean,
|
|
1145
|
+
attribute: 'slotnodes',
|
|
1139
1146
|
},
|
|
1140
1147
|
|
|
1141
1148
|
/**
|
|
@@ -1143,6 +1150,7 @@ class AuroHelpText extends LitElement {
|
|
|
1143
1150
|
*/
|
|
1144
1151
|
hasTextContent: {
|
|
1145
1152
|
type: Boolean,
|
|
1153
|
+
attribute: 'hastextcontent',
|
|
1146
1154
|
},
|
|
1147
1155
|
|
|
1148
1156
|
/**
|
|
@@ -1158,6 +1166,7 @@ class AuroHelpText extends LitElement {
|
|
|
1158
1166
|
*/
|
|
1159
1167
|
onDark: {
|
|
1160
1168
|
type: Boolean,
|
|
1169
|
+
attribute: 'ondark',
|
|
1161
1170
|
reflect: true
|
|
1162
1171
|
}
|
|
1163
1172
|
};
|
|
@@ -1228,7 +1237,7 @@ class AuroHelpText extends LitElement {
|
|
|
1228
1237
|
}
|
|
1229
1238
|
}
|
|
1230
1239
|
|
|
1231
|
-
var formkitVersion = '
|
|
1240
|
+
var formkitVersion = '202608291822';
|
|
1232
1241
|
|
|
1233
1242
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1234
1243
|
// See LICENSE in the project root for license information.
|
|
@@ -1238,11 +1247,14 @@ var formkitVersion = '202608261850';
|
|
|
1238
1247
|
* The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.
|
|
1239
1248
|
* @customElement auro-checkbox-group
|
|
1240
1249
|
*
|
|
1250
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1251
|
+
*
|
|
1241
1252
|
* @slot legend - Allows for the legend to be overridden.
|
|
1242
1253
|
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1243
1254
|
* @slot helpText - Allows for the helper text to be overridden.
|
|
1244
1255
|
* @slot default - The default slot for the checkbox items.
|
|
1245
1256
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
1257
|
+
* @event input - Notifies when the group's value changes due to a checkbox selection being added or removed.
|
|
1246
1258
|
*/
|
|
1247
1259
|
|
|
1248
1260
|
class AuroCheckboxGroup extends LitElement {
|
|
@@ -1355,6 +1367,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1355
1367
|
*/
|
|
1356
1368
|
noValidate: {
|
|
1357
1369
|
type: Boolean,
|
|
1370
|
+
attribute: 'novalidate',
|
|
1358
1371
|
reflect: true
|
|
1359
1372
|
},
|
|
1360
1373
|
|
|
@@ -1363,6 +1376,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1363
1376
|
*/
|
|
1364
1377
|
onDark: {
|
|
1365
1378
|
type: Boolean,
|
|
1379
|
+
attribute: 'ondark',
|
|
1366
1380
|
reflect: true
|
|
1367
1381
|
},
|
|
1368
1382
|
|
|
@@ -1378,21 +1392,24 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1378
1392
|
* Sets a custom help text message to display for all validityStates.
|
|
1379
1393
|
*/
|
|
1380
1394
|
setCustomValidity: {
|
|
1381
|
-
type: String
|
|
1395
|
+
type: String,
|
|
1396
|
+
attribute: 'setcustomvalidity'
|
|
1382
1397
|
},
|
|
1383
1398
|
|
|
1384
1399
|
/**
|
|
1385
1400
|
* Custom help text message to display when validity = `customError`.
|
|
1386
1401
|
*/
|
|
1387
1402
|
setCustomValidityCustomError: {
|
|
1388
|
-
type: String
|
|
1403
|
+
type: String,
|
|
1404
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1389
1405
|
},
|
|
1390
1406
|
|
|
1391
1407
|
/**
|
|
1392
1408
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1393
1409
|
*/
|
|
1394
1410
|
setCustomValidityValueMissing: {
|
|
1395
|
-
type: String
|
|
1411
|
+
type: String,
|
|
1412
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1396
1413
|
},
|
|
1397
1414
|
|
|
1398
1415
|
/**
|
|
@@ -10,37 +10,39 @@ The `auro-combobox` element provides users with a way to select an option from a
|
|
|
10
10
|
| Property | Attribute | Modifiers | Type | Default | Description |
|
|
11
11
|
|---------------------------------------|---------------------------------------|-----------|--------------------------------------------------|------------------|--------------------------------------------------|
|
|
12
12
|
| `appearance` | `appearance` | | `string` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
13
|
-
| `autoPlacement` | `
|
|
13
|
+
| `autoPlacement` | `autoplacement` | | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
|
|
14
14
|
| `autocomplete` | `autocomplete` | | `string` | | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
|
|
15
15
|
| `behavior` | `behavior` | | `'filter' \| 'suggestion'` | "'suggestion'" | Sets the behavior of the combobox, "filter" or "suggestion".<br />"filter" requires the user to select an option from the menu.<br />"suggestion" allows the user to enter a value not present in the menu options. |
|
|
16
16
|
| `checkmark` | `checkmark` | | `boolean` | | When attribute is present auro-menu will apply check marks to selected options. |
|
|
17
17
|
| `disabled` | `disabled` | | `boolean` | | If set, disables the combobox. |
|
|
18
|
-
| `dvInputOnly` | `
|
|
18
|
+
| `dvInputOnly` | `dvinputonly` | | `boolean` | | If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked. |
|
|
19
19
|
| `error` | `error` | | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
20
20
|
| `format` | `format` | | `string` | | Specifies the input mask format. |
|
|
21
|
-
| `fullscreenBreakpoint` | `
|
|
21
|
+
| `fullscreenBreakpoint` | `fullscreenbreakpoint` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpointat 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. |
|
|
22
22
|
| `inputValue` | | readonly | `string \| undefined` | | Returns the current value of the input element within the combobox. |
|
|
23
23
|
| `inputmode` | `inputmode` | | `string` | | Exposes inputmode attribute for input. |
|
|
24
|
-
| `largeFullscreenHeadline` | `
|
|
24
|
+
| `largeFullscreenHeadline` | `largefullscreenheadline` | | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
|
|
25
25
|
| `layout` | `layout` | | `'classic' \| 'emphasized' \| 'snowflake'` | "'classic'" | Sets the layout of the combobox. |
|
|
26
|
-
| `noFilter` | `
|
|
27
|
-
| `noFlip` | `
|
|
28
|
-
| `noValidate` | `
|
|
26
|
+
| `noFilter` | `nofilter` | | `boolean` | | If set, combobox will not filter menuoptions based on input. |
|
|
27
|
+
| `noFlip` | `noflip` | | `boolean` | | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
28
|
+
| `noValidate` | `novalidate` | | `boolean` | | If set, disables auto-validation on blur. |
|
|
29
29
|
| `offset` | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
|
|
30
|
-
| `onDark` | `
|
|
31
|
-
| `optionSelected` | `
|
|
32
|
-
| `persistInput` | `
|
|
30
|
+
| `onDark` | `ondark` | | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
|
|
31
|
+
| `optionSelected` | `optionselected` | | `HTMLElement` | | Specifies the current selected option. |
|
|
32
|
+
| `persistInput` | `persistinput` | | `boolean` | | If declared, selecting a menu option will not change the input value. By doing so,<br />the current menu filter will be preserved and the user can continue from their last<br />filter state. It is recommended to use this in combination with the `displayValue` slot. |
|
|
33
33
|
| `placeholder` | `placeholder` | | `string` | | Define custom placeholder text, only supported by date input formats. |
|
|
34
34
|
| `placement` | `placement` | | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
|
|
35
35
|
| `required` | `required` | | `boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
36
|
-
| `setCustomValidity` | `
|
|
37
|
-
| `setCustomValidityCustomError` | `
|
|
38
|
-
| `setCustomValidityValueMissing` | `
|
|
39
|
-
| `setCustomValidityValueMissingFilter` | `
|
|
36
|
+
| `setCustomValidity` | `setcustomvalidity` | | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
37
|
+
| `setCustomValidityCustomError` | `setcustomvaliditycustomerror` | | `string` | | Custom help text message to display when validity = `customError`. |
|
|
38
|
+
| `setCustomValidityValueMissing` | `setcustomvalidityvaluemissing` | | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
39
|
+
| `setCustomValidityValueMissingFilter` | `setcustomvalidityvaluemissingfilter` | | `string` | | Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = "filter". |
|
|
40
|
+
| `shape` | `shape` | | `'box' \| 'classic' \| 'pill' \| 'pill-left' \| 'pill-right' \| 'rounded' \| 'snowflake'` | "'classic'" | Sets the shape of the combobox. |
|
|
40
41
|
| `shift` | `shift` | | `boolean` | | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
41
|
-
| `
|
|
42
|
+
| `size` | `size` | | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | "'xl'" | Sets the size of the combobox. |
|
|
43
|
+
| `triggerIcon` | `triggericon` | | `boolean` | | If set, the `icon` attribute will be applied to the trigger `auro-input` element.<br />Icon rendering is currently limited to `type="credit-card"`. Setting `triggerIcon`<br />without a supported `type` propagates the attribute but does not render a visible icon. |
|
|
42
44
|
| `type` | `type` | | `string` | | Applies the defined value as the type attribute on `auro-input`. |
|
|
43
|
-
| `typedValue` | `
|
|
45
|
+
| `typedValue` | `typedvalue` | | `string` | | Specifies the value of the input element within the combobox. |
|
|
44
46
|
| `validity` | `validity` | | `string` | | Specifies the `validityState` this element is in. |
|
|
45
47
|
| `value` | `value` | | `string` | | Value selected for the dropdown menu. When set programmatically or as a preset attribute, the value must match a selectable option. If it matches an option marked `disabled` or `static`, the selection is rejected: `value` and `optionSelected` are cleared to `undefined`. `hidden` options (including those filtered out by type-ahead) remain selectable by value. |
|
|
46
48
|
|
|
@@ -79,4 +81,10 @@ The `auro-combobox` element provides users with a way to select an option from a
|
|
|
79
81
|
| `helpText` | Defines the content of the helpText. |
|
|
80
82
|
| `label` | Defines the content of the label. |
|
|
81
83
|
| `optionalLabel` | Allows overriding the optional display text "(optional)", which appears next to the label. |
|
|
84
|
+
|
|
85
|
+
## CSS Shadow Parts
|
|
86
|
+
|
|
87
|
+
| Part | Description |
|
|
88
|
+
|------------|--------------------------------------------------|
|
|
89
|
+
| `helpText` | The help text and error message content container. |
|
|
82
90
|
<!-- AURO-GENERATED-CONTENT:END -->
|