@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.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/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 +26 -18
- package/components/combobox/demo/customize.min.js +426 -126
- package/components/combobox/demo/getting-started.min.js +426 -126
- package/components/combobox/demo/index.min.js +426 -126
- package/components/combobox/dist/auro-combobox.d.ts +38 -21
- package/components/combobox/dist/index.js +338 -111
- package/components/combobox/dist/registered.js +338 -111
- package/components/counter/demo/api.md +34 -16
- package/components/counter/demo/customize.min.js +204 -64
- package/components/counter/demo/index.min.js +204 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +27 -4
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +204 -64
- package/components/counter/dist/registered.js +204 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +515 -134
- package/components/datepicker/demo/index.min.js +515 -134
- package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
- package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
- package/components/datepicker/dist/auro-calendar.d.ts +25 -6
- package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
- package/components/datepicker/dist/index.js +515 -134
- package/components/datepicker/dist/registered.js +515 -134
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +107 -37
- package/components/dropdown/demo/getting-started.min.js +245 -82
- package/components/dropdown/demo/index.min.js +107 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +107 -37
- package/components/dropdown/dist/registered.js +107 -37
- package/components/form/demo/customize.min.js +1518 -466
- package/components/form/demo/getting-started.min.js +1518 -466
- package/components/form/demo/index.min.js +1518 -466
- package/components/form/demo/registerDemoDeps.min.js +1518 -466
- 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 +138 -45
- package/components/input/demo/getting-started.min.js +138 -45
- package/components/input/demo/index.min.js +138 -45
- package/components/input/dist/base-input.d.ts +79 -25
- package/components/input/dist/index.js +138 -45
- package/components/input/dist/registered.js +138 -45
- 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 +31 -27
- package/components/menu/demo/index.min.js +108 -35
- package/components/menu/dist/auro-menu.d.ts +26 -21
- package/components/menu/dist/auro-menuoption.d.ts +27 -1
- package/components/menu/dist/index.js +108 -35
- package/components/menu/dist/registered.js +108 -35
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +21 -7
- package/components/radio/demo/getting-started.min.js +21 -7
- package/components/radio/demo/index.min.js +21 -7
- package/components/radio/dist/auro-radio-group.d.ts +8 -3
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +21 -7
- package/components/radio/dist/registered.js +21 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +259 -79
- package/components/select/demo/getting-started.min.js +259 -79
- package/components/select/demo/index.min.js +259 -79
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +171 -64
- package/components/select/dist/registered.js +171 -64
- package/custom-elements.json +1189 -1336
- package/package.json +1 -1
|
@@ -271,6 +271,7 @@ class AuroRadio extends i$2 {
|
|
|
271
271
|
*/
|
|
272
272
|
onDark: {
|
|
273
273
|
type: Boolean,
|
|
274
|
+
attribute: 'ondark',
|
|
274
275
|
reflect: true
|
|
275
276
|
},
|
|
276
277
|
|
|
@@ -1101,6 +1102,8 @@ class AuroHelpText extends i$2 {
|
|
|
1101
1102
|
super();
|
|
1102
1103
|
|
|
1103
1104
|
this.error = false;
|
|
1105
|
+
|
|
1106
|
+
/** @type {'default' | 'inverse'} */
|
|
1104
1107
|
this.appearance = "default";
|
|
1105
1108
|
this.onDark = false;
|
|
1106
1109
|
this.hasTextContent = false;
|
|
@@ -1121,8 +1124,8 @@ class AuroHelpText extends i$2 {
|
|
|
1121
1124
|
return {
|
|
1122
1125
|
|
|
1123
1126
|
/**
|
|
1124
|
-
*
|
|
1125
|
-
* @
|
|
1127
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1128
|
+
* @type {'default' | 'inverse'}
|
|
1126
1129
|
* @default 'default'
|
|
1127
1130
|
*/
|
|
1128
1131
|
appearance: {
|
|
@@ -1135,6 +1138,7 @@ class AuroHelpText extends i$2 {
|
|
|
1135
1138
|
*/
|
|
1136
1139
|
slotNodes: {
|
|
1137
1140
|
type: Boolean,
|
|
1141
|
+
attribute: 'slotnodes',
|
|
1138
1142
|
},
|
|
1139
1143
|
|
|
1140
1144
|
/**
|
|
@@ -1142,6 +1146,7 @@ class AuroHelpText extends i$2 {
|
|
|
1142
1146
|
*/
|
|
1143
1147
|
hasTextContent: {
|
|
1144
1148
|
type: Boolean,
|
|
1149
|
+
attribute: 'hastextcontent',
|
|
1145
1150
|
},
|
|
1146
1151
|
|
|
1147
1152
|
/**
|
|
@@ -1157,6 +1162,7 @@ class AuroHelpText extends i$2 {
|
|
|
1157
1162
|
*/
|
|
1158
1163
|
onDark: {
|
|
1159
1164
|
type: Boolean,
|
|
1165
|
+
attribute: 'ondark',
|
|
1160
1166
|
reflect: true
|
|
1161
1167
|
}
|
|
1162
1168
|
};
|
|
@@ -1227,7 +1233,7 @@ class AuroHelpText extends i$2 {
|
|
|
1227
1233
|
}
|
|
1228
1234
|
}
|
|
1229
1235
|
|
|
1230
|
-
var formkitVersion = '
|
|
1236
|
+
var formkitVersion = '202608300032';
|
|
1231
1237
|
|
|
1232
1238
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1233
1239
|
// See LICENSE in the project root for license information.
|
|
@@ -1242,6 +1248,7 @@ var formkitVersion = '202608261850';
|
|
|
1242
1248
|
* @customElement auro-radio-group
|
|
1243
1249
|
*
|
|
1244
1250
|
* @csspart radio-group - Apply css to the fieldset element in the shadow DOM
|
|
1251
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1245
1252
|
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
|
|
1246
1253
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1247
1254
|
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
|
|
@@ -1356,6 +1363,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1356
1363
|
*/
|
|
1357
1364
|
noValidate: {
|
|
1358
1365
|
type: Boolean,
|
|
1366
|
+
attribute: 'novalidate',
|
|
1359
1367
|
reflect: true
|
|
1360
1368
|
},
|
|
1361
1369
|
|
|
@@ -1364,14 +1372,17 @@ class AuroRadioGroup extends i$2 {
|
|
|
1364
1372
|
*/
|
|
1365
1373
|
onDark: {
|
|
1366
1374
|
type: Boolean,
|
|
1375
|
+
attribute: 'ondark',
|
|
1367
1376
|
reflect: true
|
|
1368
1377
|
},
|
|
1369
1378
|
|
|
1370
1379
|
/**
|
|
1371
1380
|
* Specifies the current selected radio button.
|
|
1381
|
+
* @type {HTMLElement}
|
|
1372
1382
|
*/
|
|
1373
1383
|
optionSelected: {
|
|
1374
|
-
type: Object
|
|
1384
|
+
type: Object,
|
|
1385
|
+
attribute: 'optionselected'
|
|
1375
1386
|
},
|
|
1376
1387
|
|
|
1377
1388
|
/**
|
|
@@ -1386,21 +1397,24 @@ class AuroRadioGroup extends i$2 {
|
|
|
1386
1397
|
* Sets a custom help text message to display for all validityStates.
|
|
1387
1398
|
*/
|
|
1388
1399
|
setCustomValidity: {
|
|
1389
|
-
type: String
|
|
1400
|
+
type: String,
|
|
1401
|
+
attribute: 'setcustomvalidity'
|
|
1390
1402
|
},
|
|
1391
1403
|
|
|
1392
1404
|
/**
|
|
1393
1405
|
* Custom help text message to display when validity = `customError`.
|
|
1394
1406
|
*/
|
|
1395
1407
|
setCustomValidityCustomError: {
|
|
1396
|
-
type: String
|
|
1408
|
+
type: String,
|
|
1409
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1397
1410
|
},
|
|
1398
1411
|
|
|
1399
1412
|
/**
|
|
1400
1413
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1401
1414
|
*/
|
|
1402
1415
|
setCustomValidityValueMissing: {
|
|
1403
|
-
type: String
|
|
1416
|
+
type: String,
|
|
1417
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1404
1418
|
},
|
|
1405
1419
|
|
|
1406
1420
|
/**
|
|
@@ -271,6 +271,7 @@ class AuroRadio extends i$2 {
|
|
|
271
271
|
*/
|
|
272
272
|
onDark: {
|
|
273
273
|
type: Boolean,
|
|
274
|
+
attribute: 'ondark',
|
|
274
275
|
reflect: true
|
|
275
276
|
},
|
|
276
277
|
|
|
@@ -1101,6 +1102,8 @@ class AuroHelpText extends i$2 {
|
|
|
1101
1102
|
super();
|
|
1102
1103
|
|
|
1103
1104
|
this.error = false;
|
|
1105
|
+
|
|
1106
|
+
/** @type {'default' | 'inverse'} */
|
|
1104
1107
|
this.appearance = "default";
|
|
1105
1108
|
this.onDark = false;
|
|
1106
1109
|
this.hasTextContent = false;
|
|
@@ -1121,8 +1124,8 @@ class AuroHelpText extends i$2 {
|
|
|
1121
1124
|
return {
|
|
1122
1125
|
|
|
1123
1126
|
/**
|
|
1124
|
-
*
|
|
1125
|
-
* @
|
|
1127
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1128
|
+
* @type {'default' | 'inverse'}
|
|
1126
1129
|
* @default 'default'
|
|
1127
1130
|
*/
|
|
1128
1131
|
appearance: {
|
|
@@ -1135,6 +1138,7 @@ class AuroHelpText extends i$2 {
|
|
|
1135
1138
|
*/
|
|
1136
1139
|
slotNodes: {
|
|
1137
1140
|
type: Boolean,
|
|
1141
|
+
attribute: 'slotnodes',
|
|
1138
1142
|
},
|
|
1139
1143
|
|
|
1140
1144
|
/**
|
|
@@ -1142,6 +1146,7 @@ class AuroHelpText extends i$2 {
|
|
|
1142
1146
|
*/
|
|
1143
1147
|
hasTextContent: {
|
|
1144
1148
|
type: Boolean,
|
|
1149
|
+
attribute: 'hastextcontent',
|
|
1145
1150
|
},
|
|
1146
1151
|
|
|
1147
1152
|
/**
|
|
@@ -1157,6 +1162,7 @@ class AuroHelpText extends i$2 {
|
|
|
1157
1162
|
*/
|
|
1158
1163
|
onDark: {
|
|
1159
1164
|
type: Boolean,
|
|
1165
|
+
attribute: 'ondark',
|
|
1160
1166
|
reflect: true
|
|
1161
1167
|
}
|
|
1162
1168
|
};
|
|
@@ -1227,7 +1233,7 @@ class AuroHelpText extends i$2 {
|
|
|
1227
1233
|
}
|
|
1228
1234
|
}
|
|
1229
1235
|
|
|
1230
|
-
var formkitVersion = '
|
|
1236
|
+
var formkitVersion = '202608300032';
|
|
1231
1237
|
|
|
1232
1238
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1233
1239
|
// See LICENSE in the project root for license information.
|
|
@@ -1242,6 +1248,7 @@ var formkitVersion = '202608261850';
|
|
|
1242
1248
|
* @customElement auro-radio-group
|
|
1243
1249
|
*
|
|
1244
1250
|
* @csspart radio-group - Apply css to the fieldset element in the shadow DOM
|
|
1251
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1245
1252
|
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
|
|
1246
1253
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1247
1254
|
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
|
|
@@ -1356,6 +1363,7 @@ class AuroRadioGroup extends i$2 {
|
|
|
1356
1363
|
*/
|
|
1357
1364
|
noValidate: {
|
|
1358
1365
|
type: Boolean,
|
|
1366
|
+
attribute: 'novalidate',
|
|
1359
1367
|
reflect: true
|
|
1360
1368
|
},
|
|
1361
1369
|
|
|
@@ -1364,14 +1372,17 @@ class AuroRadioGroup extends i$2 {
|
|
|
1364
1372
|
*/
|
|
1365
1373
|
onDark: {
|
|
1366
1374
|
type: Boolean,
|
|
1375
|
+
attribute: 'ondark',
|
|
1367
1376
|
reflect: true
|
|
1368
1377
|
},
|
|
1369
1378
|
|
|
1370
1379
|
/**
|
|
1371
1380
|
* Specifies the current selected radio button.
|
|
1381
|
+
* @type {HTMLElement}
|
|
1372
1382
|
*/
|
|
1373
1383
|
optionSelected: {
|
|
1374
|
-
type: Object
|
|
1384
|
+
type: Object,
|
|
1385
|
+
attribute: 'optionselected'
|
|
1375
1386
|
},
|
|
1376
1387
|
|
|
1377
1388
|
/**
|
|
@@ -1386,21 +1397,24 @@ class AuroRadioGroup extends i$2 {
|
|
|
1386
1397
|
* Sets a custom help text message to display for all validityStates.
|
|
1387
1398
|
*/
|
|
1388
1399
|
setCustomValidity: {
|
|
1389
|
-
type: String
|
|
1400
|
+
type: String,
|
|
1401
|
+
attribute: 'setcustomvalidity'
|
|
1390
1402
|
},
|
|
1391
1403
|
|
|
1392
1404
|
/**
|
|
1393
1405
|
* Custom help text message to display when validity = `customError`.
|
|
1394
1406
|
*/
|
|
1395
1407
|
setCustomValidityCustomError: {
|
|
1396
|
-
type: String
|
|
1408
|
+
type: String,
|
|
1409
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1397
1410
|
},
|
|
1398
1411
|
|
|
1399
1412
|
/**
|
|
1400
1413
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1401
1414
|
*/
|
|
1402
1415
|
setCustomValidityValueMissing: {
|
|
1403
|
-
type: String
|
|
1416
|
+
type: String,
|
|
1417
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1404
1418
|
},
|
|
1405
1419
|
|
|
1406
1420
|
/**
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @customElement auro-radio-group
|
|
4
4
|
*
|
|
5
5
|
* @csspart radio-group - Apply css to the fieldset element in the shadow DOM
|
|
6
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
6
7
|
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
|
|
7
8
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
8
9
|
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
|
|
@@ -52,6 +53,7 @@ export class AuroRadioGroup extends LitElement {
|
|
|
52
53
|
*/
|
|
53
54
|
noValidate: {
|
|
54
55
|
type: BooleanConstructor;
|
|
56
|
+
attribute: string;
|
|
55
57
|
reflect: boolean;
|
|
56
58
|
};
|
|
57
59
|
/**
|
|
@@ -59,14 +61,14 @@ export class AuroRadioGroup extends LitElement {
|
|
|
59
61
|
*/
|
|
60
62
|
onDark: {
|
|
61
63
|
type: BooleanConstructor;
|
|
64
|
+
attribute: string;
|
|
62
65
|
reflect: boolean;
|
|
63
66
|
};
|
|
64
67
|
/**
|
|
65
68
|
* Specifies the current selected radio button.
|
|
69
|
+
* @type {HTMLElement}
|
|
66
70
|
*/
|
|
67
|
-
optionSelected:
|
|
68
|
-
type: ObjectConstructor;
|
|
69
|
-
};
|
|
71
|
+
optionSelected: HTMLElement;
|
|
70
72
|
/**
|
|
71
73
|
* Populates the `required` attribute on the element. Used for client-side validation.
|
|
72
74
|
*/
|
|
@@ -79,18 +81,21 @@ export class AuroRadioGroup extends LitElement {
|
|
|
79
81
|
*/
|
|
80
82
|
setCustomValidity: {
|
|
81
83
|
type: StringConstructor;
|
|
84
|
+
attribute: string;
|
|
82
85
|
};
|
|
83
86
|
/**
|
|
84
87
|
* Custom help text message to display when validity = `customError`.
|
|
85
88
|
*/
|
|
86
89
|
setCustomValidityCustomError: {
|
|
87
90
|
type: StringConstructor;
|
|
91
|
+
attribute: string;
|
|
88
92
|
};
|
|
89
93
|
/**
|
|
90
94
|
* Custom help text message to display when validity = `valueMissing`.
|
|
91
95
|
*/
|
|
92
96
|
setCustomValidityValueMissing: {
|
|
93
97
|
type: StringConstructor;
|
|
98
|
+
attribute: string;
|
|
94
99
|
};
|
|
95
100
|
/**
|
|
96
101
|
* Indicates whether the radio group is in a dirty state (has been interacted with).
|
|
@@ -217,6 +217,7 @@ class AuroRadio extends LitElement {
|
|
|
217
217
|
*/
|
|
218
218
|
onDark: {
|
|
219
219
|
type: Boolean,
|
|
220
|
+
attribute: 'ondark',
|
|
220
221
|
reflect: true
|
|
221
222
|
},
|
|
222
223
|
|
|
@@ -1040,6 +1041,8 @@ class AuroHelpText extends LitElement {
|
|
|
1040
1041
|
super();
|
|
1041
1042
|
|
|
1042
1043
|
this.error = false;
|
|
1044
|
+
|
|
1045
|
+
/** @type {'default' | 'inverse'} */
|
|
1043
1046
|
this.appearance = "default";
|
|
1044
1047
|
this.onDark = false;
|
|
1045
1048
|
this.hasTextContent = false;
|
|
@@ -1060,8 +1063,8 @@ class AuroHelpText extends LitElement {
|
|
|
1060
1063
|
return {
|
|
1061
1064
|
|
|
1062
1065
|
/**
|
|
1063
|
-
*
|
|
1064
|
-
* @
|
|
1066
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1067
|
+
* @type {'default' | 'inverse'}
|
|
1065
1068
|
* @default 'default'
|
|
1066
1069
|
*/
|
|
1067
1070
|
appearance: {
|
|
@@ -1074,6 +1077,7 @@ class AuroHelpText extends LitElement {
|
|
|
1074
1077
|
*/
|
|
1075
1078
|
slotNodes: {
|
|
1076
1079
|
type: Boolean,
|
|
1080
|
+
attribute: 'slotnodes',
|
|
1077
1081
|
},
|
|
1078
1082
|
|
|
1079
1083
|
/**
|
|
@@ -1081,6 +1085,7 @@ class AuroHelpText extends LitElement {
|
|
|
1081
1085
|
*/
|
|
1082
1086
|
hasTextContent: {
|
|
1083
1087
|
type: Boolean,
|
|
1088
|
+
attribute: 'hastextcontent',
|
|
1084
1089
|
},
|
|
1085
1090
|
|
|
1086
1091
|
/**
|
|
@@ -1096,6 +1101,7 @@ class AuroHelpText extends LitElement {
|
|
|
1096
1101
|
*/
|
|
1097
1102
|
onDark: {
|
|
1098
1103
|
type: Boolean,
|
|
1104
|
+
attribute: 'ondark',
|
|
1099
1105
|
reflect: true
|
|
1100
1106
|
}
|
|
1101
1107
|
};
|
|
@@ -1166,7 +1172,7 @@ class AuroHelpText extends LitElement {
|
|
|
1166
1172
|
}
|
|
1167
1173
|
}
|
|
1168
1174
|
|
|
1169
|
-
var formkitVersion = '
|
|
1175
|
+
var formkitVersion = '202608300032';
|
|
1170
1176
|
|
|
1171
1177
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1172
1178
|
// See LICENSE in the project root for license information.
|
|
@@ -1181,6 +1187,7 @@ var formkitVersion = '202608261850';
|
|
|
1181
1187
|
* @customElement auro-radio-group
|
|
1182
1188
|
*
|
|
1183
1189
|
* @csspart radio-group - Apply css to the fieldset element in the shadow DOM
|
|
1190
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1184
1191
|
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
|
|
1185
1192
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1186
1193
|
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
|
|
@@ -1295,6 +1302,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1295
1302
|
*/
|
|
1296
1303
|
noValidate: {
|
|
1297
1304
|
type: Boolean,
|
|
1305
|
+
attribute: 'novalidate',
|
|
1298
1306
|
reflect: true
|
|
1299
1307
|
},
|
|
1300
1308
|
|
|
@@ -1303,14 +1311,17 @@ class AuroRadioGroup extends LitElement {
|
|
|
1303
1311
|
*/
|
|
1304
1312
|
onDark: {
|
|
1305
1313
|
type: Boolean,
|
|
1314
|
+
attribute: 'ondark',
|
|
1306
1315
|
reflect: true
|
|
1307
1316
|
},
|
|
1308
1317
|
|
|
1309
1318
|
/**
|
|
1310
1319
|
* Specifies the current selected radio button.
|
|
1320
|
+
* @type {HTMLElement}
|
|
1311
1321
|
*/
|
|
1312
1322
|
optionSelected: {
|
|
1313
|
-
type: Object
|
|
1323
|
+
type: Object,
|
|
1324
|
+
attribute: 'optionselected'
|
|
1314
1325
|
},
|
|
1315
1326
|
|
|
1316
1327
|
/**
|
|
@@ -1325,21 +1336,24 @@ class AuroRadioGroup extends LitElement {
|
|
|
1325
1336
|
* Sets a custom help text message to display for all validityStates.
|
|
1326
1337
|
*/
|
|
1327
1338
|
setCustomValidity: {
|
|
1328
|
-
type: String
|
|
1339
|
+
type: String,
|
|
1340
|
+
attribute: 'setcustomvalidity'
|
|
1329
1341
|
},
|
|
1330
1342
|
|
|
1331
1343
|
/**
|
|
1332
1344
|
* Custom help text message to display when validity = `customError`.
|
|
1333
1345
|
*/
|
|
1334
1346
|
setCustomValidityCustomError: {
|
|
1335
|
-
type: String
|
|
1347
|
+
type: String,
|
|
1348
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1336
1349
|
},
|
|
1337
1350
|
|
|
1338
1351
|
/**
|
|
1339
1352
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1340
1353
|
*/
|
|
1341
1354
|
setCustomValidityValueMissing: {
|
|
1342
|
-
type: String
|
|
1355
|
+
type: String,
|
|
1356
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1343
1357
|
},
|
|
1344
1358
|
|
|
1345
1359
|
/**
|
|
@@ -217,6 +217,7 @@ class AuroRadio extends LitElement {
|
|
|
217
217
|
*/
|
|
218
218
|
onDark: {
|
|
219
219
|
type: Boolean,
|
|
220
|
+
attribute: 'ondark',
|
|
220
221
|
reflect: true
|
|
221
222
|
},
|
|
222
223
|
|
|
@@ -1040,6 +1041,8 @@ class AuroHelpText extends LitElement {
|
|
|
1040
1041
|
super();
|
|
1041
1042
|
|
|
1042
1043
|
this.error = false;
|
|
1044
|
+
|
|
1045
|
+
/** @type {'default' | 'inverse'} */
|
|
1043
1046
|
this.appearance = "default";
|
|
1044
1047
|
this.onDark = false;
|
|
1045
1048
|
this.hasTextContent = false;
|
|
@@ -1060,8 +1063,8 @@ class AuroHelpText extends LitElement {
|
|
|
1060
1063
|
return {
|
|
1061
1064
|
|
|
1062
1065
|
/**
|
|
1063
|
-
*
|
|
1064
|
-
* @
|
|
1066
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1067
|
+
* @type {'default' | 'inverse'}
|
|
1065
1068
|
* @default 'default'
|
|
1066
1069
|
*/
|
|
1067
1070
|
appearance: {
|
|
@@ -1074,6 +1077,7 @@ class AuroHelpText extends LitElement {
|
|
|
1074
1077
|
*/
|
|
1075
1078
|
slotNodes: {
|
|
1076
1079
|
type: Boolean,
|
|
1080
|
+
attribute: 'slotnodes',
|
|
1077
1081
|
},
|
|
1078
1082
|
|
|
1079
1083
|
/**
|
|
@@ -1081,6 +1085,7 @@ class AuroHelpText extends LitElement {
|
|
|
1081
1085
|
*/
|
|
1082
1086
|
hasTextContent: {
|
|
1083
1087
|
type: Boolean,
|
|
1088
|
+
attribute: 'hastextcontent',
|
|
1084
1089
|
},
|
|
1085
1090
|
|
|
1086
1091
|
/**
|
|
@@ -1096,6 +1101,7 @@ class AuroHelpText extends LitElement {
|
|
|
1096
1101
|
*/
|
|
1097
1102
|
onDark: {
|
|
1098
1103
|
type: Boolean,
|
|
1104
|
+
attribute: 'ondark',
|
|
1099
1105
|
reflect: true
|
|
1100
1106
|
}
|
|
1101
1107
|
};
|
|
@@ -1166,7 +1172,7 @@ class AuroHelpText extends LitElement {
|
|
|
1166
1172
|
}
|
|
1167
1173
|
}
|
|
1168
1174
|
|
|
1169
|
-
var formkitVersion = '
|
|
1175
|
+
var formkitVersion = '202608300032';
|
|
1170
1176
|
|
|
1171
1177
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
1172
1178
|
// See LICENSE in the project root for license information.
|
|
@@ -1181,6 +1187,7 @@ var formkitVersion = '202608261850';
|
|
|
1181
1187
|
* @customElement auro-radio-group
|
|
1182
1188
|
*
|
|
1183
1189
|
* @csspart radio-group - Apply css to the fieldset element in the shadow DOM
|
|
1190
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1184
1191
|
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
|
|
1185
1192
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1186
1193
|
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
|
|
@@ -1295,6 +1302,7 @@ class AuroRadioGroup extends LitElement {
|
|
|
1295
1302
|
*/
|
|
1296
1303
|
noValidate: {
|
|
1297
1304
|
type: Boolean,
|
|
1305
|
+
attribute: 'novalidate',
|
|
1298
1306
|
reflect: true
|
|
1299
1307
|
},
|
|
1300
1308
|
|
|
@@ -1303,14 +1311,17 @@ class AuroRadioGroup extends LitElement {
|
|
|
1303
1311
|
*/
|
|
1304
1312
|
onDark: {
|
|
1305
1313
|
type: Boolean,
|
|
1314
|
+
attribute: 'ondark',
|
|
1306
1315
|
reflect: true
|
|
1307
1316
|
},
|
|
1308
1317
|
|
|
1309
1318
|
/**
|
|
1310
1319
|
* Specifies the current selected radio button.
|
|
1320
|
+
* @type {HTMLElement}
|
|
1311
1321
|
*/
|
|
1312
1322
|
optionSelected: {
|
|
1313
|
-
type: Object
|
|
1323
|
+
type: Object,
|
|
1324
|
+
attribute: 'optionselected'
|
|
1314
1325
|
},
|
|
1315
1326
|
|
|
1316
1327
|
/**
|
|
@@ -1325,21 +1336,24 @@ class AuroRadioGroup extends LitElement {
|
|
|
1325
1336
|
* Sets a custom help text message to display for all validityStates.
|
|
1326
1337
|
*/
|
|
1327
1338
|
setCustomValidity: {
|
|
1328
|
-
type: String
|
|
1339
|
+
type: String,
|
|
1340
|
+
attribute: 'setcustomvalidity'
|
|
1329
1341
|
},
|
|
1330
1342
|
|
|
1331
1343
|
/**
|
|
1332
1344
|
* Custom help text message to display when validity = `customError`.
|
|
1333
1345
|
*/
|
|
1334
1346
|
setCustomValidityCustomError: {
|
|
1335
|
-
type: String
|
|
1347
|
+
type: String,
|
|
1348
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1336
1349
|
},
|
|
1337
1350
|
|
|
1338
1351
|
/**
|
|
1339
1352
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1340
1353
|
*/
|
|
1341
1354
|
setCustomValidityValueMissing: {
|
|
1342
|
-
type: String
|
|
1355
|
+
type: String,
|
|
1356
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1343
1357
|
},
|
|
1344
1358
|
|
|
1345
1359
|
/**
|
|
@@ -10,35 +10,35 @@ The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create
|
|
|
10
10
|
| Property | Attribute | Type | Default | Description |
|
|
11
11
|
|---------------------------------|---------------------------------|--------------------------------------------------|------------------|--------------------------------------------------|
|
|
12
12
|
| `appearance` | `appearance` | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
13
|
-
| `autoPlacement` | `
|
|
13
|
+
| `autoPlacement` | `autoplacement` | `boolean` | false | If declared, bib's position will be automatically calculated where to appear. |
|
|
14
14
|
| `autocomplete` | `autocomplete` | `string` | | If declared, sets the autocomplete attribute for the select element. |
|
|
15
15
|
| `disabled` | `disabled` | `boolean` | | When attribute is present, element shows disabled state. |
|
|
16
16
|
| `error` | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
|
|
17
|
-
| `flexMenuWidth` | `
|
|
17
|
+
| `flexMenuWidth` | `flexmenuwidth` | `boolean` | | If declared, make the width of the bib match the width of the content, rather than the trigger. |
|
|
18
18
|
| `fluid` | `fluid` | `boolean` | | When attribute is present, element will be 100% width of container element. |
|
|
19
|
-
| `forceDisplayValue` | `
|
|
20
|
-
| `fullscreenBreakpoint` | `
|
|
21
|
-
| `largeFullscreenHeadline` | `
|
|
19
|
+
| `forceDisplayValue` | `forcedisplayvalue` | `boolean` | false | If declared, the label and value will be visually hidden and the displayValue will render 100% of the time. |
|
|
20
|
+
| `fullscreenBreakpoint` | `fullscreenbreakpoint` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint 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. |
|
|
21
|
+
| `largeFullscreenHeadline` | `largefullscreenheadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
22
22
|
| `layout` | `layout` | `'classic' \| 'emphasized' \| 'snowflake'` | "'classic'" | Determines the overall layout of the select component. |
|
|
23
|
-
| `matchWidth` | `
|
|
23
|
+
| `matchWidth` | `matchwidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
|
|
24
24
|
| `multiSelect` | `multiselect` | `boolean` | | Sets multi-select mode, allowing multiple options to be selected at once. |
|
|
25
25
|
| `name` | `name` | `string` | | The name for the select element. |
|
|
26
|
-
| `noCheckmark` | `
|
|
27
|
-
| `noFlip` | `
|
|
28
|
-
| `noValidate` | `
|
|
26
|
+
| `noCheckmark` | `nocheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
|
|
27
|
+
| `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`. |
|
|
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` | `
|
|
30
|
+
| `onDark` | `ondark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
|
|
31
|
+
| `optionSelected` | `optionselected` | `HTMLElement\|Array<HTMLElement>` | | Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true. |
|
|
32
32
|
| `placeholder` | `placeholder` | `string` | | Define custom placeholder text. |
|
|
33
33
|
| `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. |
|
|
34
34
|
| `required` | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
|
|
35
|
-
| `setCustomValidity` | `
|
|
36
|
-
| `setCustomValidityCustomError` | `
|
|
37
|
-
| `setCustomValidityValueMissing` | `
|
|
35
|
+
| `setCustomValidity` | `setcustomvalidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
36
|
+
| `setCustomValidityCustomError` | `setcustomvaliditycustomerror` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
37
|
+
| `setCustomValidityValueMissing` | `setcustomvalidityvaluemissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
38
38
|
| `shape` | `shape` | `'classic' \| 'pill' \| 'pill-left' \| 'pill-right' \| 'snowflake'` | | Determines the shape of the dropdown bib. |
|
|
39
39
|
| `shift` | `shift` | `boolean` | false | If set, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
40
40
|
| `size` | `size` | `'lg' \| 'xl'` | | Determines the size of the dropdown bib. Only the `emphasized` layout supports size=`xl`, while all other layouts support size=`lg`. |
|
|
41
|
-
| `typeaheadTimeoutMs` | `
|
|
41
|
+
| `typeaheadTimeoutMs` | `typeaheadtimeoutms` | `number` | "500" | Milliseconds of keyboard inactivity before the type-ahead buffer resets.<br />Increase for users who type slowly. |
|
|
42
42
|
| `validity` | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
43
43
|
| `value` | `value` | `string` | | Value selected for the component. 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` is cleared to `undefined` while `optionSelected` is cleared to `undefined` in single-select or `[]` in multiSelect. `hidden` options remain selectable by value. |
|
|
44
44
|
|
|
@@ -78,8 +78,11 @@ The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create
|
|
|
78
78
|
|
|
79
79
|
| Part | Description |
|
|
80
80
|
|-------------------|--------------------------------------------------|
|
|
81
|
+
| `displayValue` | Apply CSS to the custom displayValue container. |
|
|
82
|
+
| `dropdown` | Apply CSS to the underlying dropdown element. |
|
|
81
83
|
| `dropdownChevron` | Apply CSS to the collapsed/expanded state icon container. |
|
|
82
84
|
| `dropdownSize` | Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only). |
|
|
83
85
|
| `dropdownTrigger` | Apply CSS to the trigger content container. |
|
|
84
86
|
| `helpText` | Apply CSS to the help text. |
|
|
87
|
+
| `wrapper` | Apply CSS to the root wrapper element of the select. |
|
|
85
88
|
<!-- AURO-GENERATED-CONTENT:END -->
|