@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
|
@@ -7,14 +7,24 @@
|
|
|
7
7
|
* @slot subheader - Slot for the subheader content.
|
|
8
8
|
* @slot footer - Slot for the footer content.
|
|
9
9
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
10
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
11
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
12
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
10
13
|
*/
|
|
11
14
|
export class AuroBibtemplate extends LitElement {
|
|
12
15
|
static get styles(): import("lit").CSSResult[];
|
|
13
16
|
static get properties(): {
|
|
17
|
+
/**
|
|
18
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
19
|
+
*/
|
|
14
20
|
isFullscreen: {
|
|
15
21
|
type: BooleanConstructor;
|
|
22
|
+
attribute: string;
|
|
16
23
|
reflect: boolean;
|
|
17
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
27
|
+
*/
|
|
18
28
|
large: {
|
|
19
29
|
type: BooleanConstructor;
|
|
20
30
|
reflect: boolean;
|
|
@@ -24,6 +34,7 @@ export class AuroBibtemplate extends LitElement {
|
|
|
24
34
|
*/
|
|
25
35
|
showFooter: {
|
|
26
36
|
type: BooleanConstructor;
|
|
37
|
+
attribute: string;
|
|
27
38
|
reflect: boolean;
|
|
28
39
|
};
|
|
29
40
|
};
|
|
@@ -235,6 +235,9 @@ var headerVersion = '5.0.1';
|
|
|
235
235
|
* @slot subheader - Slot for the subheader content.
|
|
236
236
|
* @slot footer - Slot for the footer content.
|
|
237
237
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
238
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
239
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
240
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
238
241
|
*/
|
|
239
242
|
class AuroBibtemplate extends LitElement {
|
|
240
243
|
|
|
@@ -274,10 +277,19 @@ class AuroBibtemplate extends LitElement {
|
|
|
274
277
|
// function to define props used within the scope of this component
|
|
275
278
|
static get properties() {
|
|
276
279
|
return {
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
283
|
+
*/
|
|
277
284
|
isFullscreen: {
|
|
278
285
|
type: Boolean,
|
|
286
|
+
attribute: 'isfullscreen',
|
|
279
287
|
reflect: true
|
|
280
288
|
},
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
292
|
+
*/
|
|
281
293
|
large: {
|
|
282
294
|
type: Boolean,
|
|
283
295
|
reflect: true
|
|
@@ -288,6 +300,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
288
300
|
*/
|
|
289
301
|
showFooter: {
|
|
290
302
|
type: Boolean,
|
|
303
|
+
attribute: 'showfooter',
|
|
291
304
|
reflect: true
|
|
292
305
|
}
|
|
293
306
|
};
|
|
@@ -235,6 +235,9 @@ var headerVersion = '5.0.1';
|
|
|
235
235
|
* @slot subheader - Slot for the subheader content.
|
|
236
236
|
* @slot footer - Slot for the footer content.
|
|
237
237
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
238
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
239
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
240
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
238
241
|
*/
|
|
239
242
|
class AuroBibtemplate extends LitElement {
|
|
240
243
|
|
|
@@ -274,10 +277,19 @@ class AuroBibtemplate extends LitElement {
|
|
|
274
277
|
// function to define props used within the scope of this component
|
|
275
278
|
static get properties() {
|
|
276
279
|
return {
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
283
|
+
*/
|
|
277
284
|
isFullscreen: {
|
|
278
285
|
type: Boolean,
|
|
286
|
+
attribute: 'isfullscreen',
|
|
279
287
|
reflect: true
|
|
280
288
|
},
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
292
|
+
*/
|
|
281
293
|
large: {
|
|
282
294
|
type: Boolean,
|
|
283
295
|
reflect: true
|
|
@@ -288,6 +300,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
288
300
|
*/
|
|
289
301
|
showFooter: {
|
|
290
302
|
type: Boolean,
|
|
303
|
+
attribute: 'showfooter',
|
|
291
304
|
reflect: true
|
|
292
305
|
}
|
|
293
306
|
};
|
|
@@ -13,12 +13,12 @@ The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements..
|
|
|
13
13
|
| `disabled` | `disabled` | `boolean` | | If set, disables the checkbox group. |
|
|
14
14
|
| `error` | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
15
15
|
| `horizontal` | `horizontal` | `boolean` | | If set, checkboxes will be aligned horizontally. |
|
|
16
|
-
| `noValidate` | `
|
|
17
|
-
| `onDark` | `
|
|
16
|
+
| `noValidate` | `novalidate` | `boolean` | | If set, disables auto-validation on blur. |
|
|
17
|
+
| `onDark` | `ondark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
|
|
18
18
|
| `required` | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
|
|
19
|
-
| `setCustomValidity` | `
|
|
20
|
-
| `setCustomValidityCustomError` | `
|
|
21
|
-
| `setCustomValidityValueMissing` | `
|
|
19
|
+
| `setCustomValidity` | `setcustomvalidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
20
|
+
| `setCustomValidityCustomError` | `setcustomvaliditycustomerror` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
21
|
+
| `setCustomValidityValueMissing` | `setcustomvalidityvaluemissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
22
22
|
| `validity` | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
23
23
|
|
|
24
24
|
## Methods
|
|
@@ -33,7 +33,7 @@ The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements..
|
|
|
33
33
|
| Event | Type | Description |
|
|
34
34
|
|-----------------------------|--------------------|--------------------------------------------------|
|
|
35
35
|
| `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
|
|
36
|
-
| `input` | `CustomEvent<any>` |
|
|
36
|
+
| `input` | `CustomEvent<any>` | Notifies when the group's value changes due to a checkbox selection being added or removed. |
|
|
37
37
|
|
|
38
38
|
## Slots
|
|
39
39
|
|
|
@@ -42,7 +42,13 @@ The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements..
|
|
|
42
42
|
| `default` | The default slot for the checkbox items. |
|
|
43
43
|
| `helpText` | Allows for the helper text to be overridden. |
|
|
44
44
|
| `legend` | Allows for the legend to be overridden. |
|
|
45
|
-
| `optionalLabel` | Allows overriding the optional display text "(optional)", which appears next to the label. |
|
|
45
|
+
| `optionalLabel` | Allows overriding the optional display text "(optional)", which appears next to the label. |
|
|
46
|
+
|
|
47
|
+
## CSS Shadow Parts
|
|
48
|
+
|
|
49
|
+
| Part | Description |
|
|
50
|
+
|------------|--------------------------------------------------|
|
|
51
|
+
| `helpText` | Apply css to the help text element that displays helper or error messages. |
|
|
46
52
|
|
|
47
53
|
# auro-checkbox
|
|
48
54
|
|
|
@@ -58,7 +64,7 @@ The `auro-checkbox` element is for the purpose of allowing users to select one o
|
|
|
58
64
|
| `error` | `error` | `boolean` | | If set to true, the checkbox will be displayed with an error state. |
|
|
59
65
|
| `id` | `id` | `string` | | The id global attribute defines an identifier (ID) which must be unique in the whole document. |
|
|
60
66
|
| `name` | `name` | `string` | | Accepts any string and is used to identify related checkboxes when submitting form data. |
|
|
61
|
-
| `onDark` | `
|
|
67
|
+
| `onDark` | `ondark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
|
|
62
68
|
| `value` | `value` | `string` | | Sets the element's input value. Must be unique within an auro-checkbox-group element. |
|
|
63
69
|
|
|
64
70
|
## Methods
|
|
@@ -71,9 +77,9 @@ The `auro-checkbox` element is for the purpose of allowing users to select one o
|
|
|
71
77
|
|
|
72
78
|
| Event | Type | Description |
|
|
73
79
|
|-------------------------|--------------------|--------------------------------------------------|
|
|
74
|
-
| `auroCheckbox-focusin` | `CustomEvent<any>` |
|
|
75
|
-
| `auroCheckbox-focusout` | `CustomEvent<any>` |
|
|
76
|
-
| `auroCheckbox-input` | `CustomEvent<any>` |
|
|
80
|
+
| `auroCheckbox-focusin` | `CustomEvent<any>` | Notifies when the checkbox receives focus. |
|
|
81
|
+
| `auroCheckbox-focusout` | `CustomEvent<any>` | Notifies when the checkbox loses focus. |
|
|
82
|
+
| `auroCheckbox-input` | `CustomEvent<any>` | (Deprecated) Notifies when the checked value is changed by user interaction. |
|
|
77
83
|
| `change` | | (Deprecated) Notifies when checked value is changed. |
|
|
78
84
|
| `input` | | Notifies when when checked value is changed by user's interface. |
|
|
79
85
|
|
|
@@ -151,6 +151,9 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
151
151
|
*
|
|
152
152
|
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
153
153
|
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
154
|
+
* @event auroCheckbox-input - (Deprecated) Notifies when the checked value is changed by user interaction.
|
|
155
|
+
* @event auroCheckbox-focusin - Notifies when the checkbox receives focus.
|
|
156
|
+
* @event auroCheckbox-focusout - Notifies when the checkbox loses focus.
|
|
154
157
|
*/
|
|
155
158
|
/* eslint-enable jsdoc/no-undefined-types */
|
|
156
159
|
|
|
@@ -254,6 +257,7 @@ class AuroCheckbox extends i$2 {
|
|
|
254
257
|
*/
|
|
255
258
|
onDark: {
|
|
256
259
|
type: Boolean,
|
|
260
|
+
attribute: 'ondark',
|
|
257
261
|
reflect: true
|
|
258
262
|
},
|
|
259
263
|
|
|
@@ -1149,6 +1153,8 @@ class AuroHelpText extends i$2 {
|
|
|
1149
1153
|
super();
|
|
1150
1154
|
|
|
1151
1155
|
this.error = false;
|
|
1156
|
+
|
|
1157
|
+
/** @type {'default' | 'inverse'} */
|
|
1152
1158
|
this.appearance = "default";
|
|
1153
1159
|
this.onDark = false;
|
|
1154
1160
|
this.hasTextContent = false;
|
|
@@ -1169,8 +1175,8 @@ class AuroHelpText extends i$2 {
|
|
|
1169
1175
|
return {
|
|
1170
1176
|
|
|
1171
1177
|
/**
|
|
1172
|
-
*
|
|
1173
|
-
* @
|
|
1178
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1179
|
+
* @type {'default' | 'inverse'}
|
|
1174
1180
|
* @default 'default'
|
|
1175
1181
|
*/
|
|
1176
1182
|
appearance: {
|
|
@@ -1183,6 +1189,7 @@ class AuroHelpText extends i$2 {
|
|
|
1183
1189
|
*/
|
|
1184
1190
|
slotNodes: {
|
|
1185
1191
|
type: Boolean,
|
|
1192
|
+
attribute: 'slotnodes',
|
|
1186
1193
|
},
|
|
1187
1194
|
|
|
1188
1195
|
/**
|
|
@@ -1190,6 +1197,7 @@ class AuroHelpText extends i$2 {
|
|
|
1190
1197
|
*/
|
|
1191
1198
|
hasTextContent: {
|
|
1192
1199
|
type: Boolean,
|
|
1200
|
+
attribute: 'hastextcontent',
|
|
1193
1201
|
},
|
|
1194
1202
|
|
|
1195
1203
|
/**
|
|
@@ -1205,6 +1213,7 @@ class AuroHelpText extends i$2 {
|
|
|
1205
1213
|
*/
|
|
1206
1214
|
onDark: {
|
|
1207
1215
|
type: Boolean,
|
|
1216
|
+
attribute: 'ondark',
|
|
1208
1217
|
reflect: true
|
|
1209
1218
|
}
|
|
1210
1219
|
};
|
|
@@ -1275,7 +1284,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1284
|
}
|
|
1276
1285
|
}
|
|
1277
1286
|
|
|
1278
|
-
var formkitVersion = '
|
|
1287
|
+
var formkitVersion = '202608300032';
|
|
1279
1288
|
|
|
1280
1289
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1290
|
// See LICENSE in the project root for license information.
|
|
@@ -1285,11 +1294,14 @@ var formkitVersion = '202608261850';
|
|
|
1285
1294
|
* The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.
|
|
1286
1295
|
* @customElement auro-checkbox-group
|
|
1287
1296
|
*
|
|
1297
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1298
|
+
*
|
|
1288
1299
|
* @slot legend - Allows for the legend to be overridden.
|
|
1289
1300
|
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1290
1301
|
* @slot helpText - Allows for the helper text to be overridden.
|
|
1291
1302
|
* @slot default - The default slot for the checkbox items.
|
|
1292
1303
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
1304
|
+
* @event input - Notifies when the group's value changes due to a checkbox selection being added or removed.
|
|
1293
1305
|
*/
|
|
1294
1306
|
|
|
1295
1307
|
class AuroCheckboxGroup extends i$2 {
|
|
@@ -1402,6 +1414,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1402
1414
|
*/
|
|
1403
1415
|
noValidate: {
|
|
1404
1416
|
type: Boolean,
|
|
1417
|
+
attribute: 'novalidate',
|
|
1405
1418
|
reflect: true
|
|
1406
1419
|
},
|
|
1407
1420
|
|
|
@@ -1410,6 +1423,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1410
1423
|
*/
|
|
1411
1424
|
onDark: {
|
|
1412
1425
|
type: Boolean,
|
|
1426
|
+
attribute: 'ondark',
|
|
1413
1427
|
reflect: true
|
|
1414
1428
|
},
|
|
1415
1429
|
|
|
@@ -1425,21 +1439,24 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1425
1439
|
* Sets a custom help text message to display for all validityStates.
|
|
1426
1440
|
*/
|
|
1427
1441
|
setCustomValidity: {
|
|
1428
|
-
type: String
|
|
1442
|
+
type: String,
|
|
1443
|
+
attribute: 'setcustomvalidity'
|
|
1429
1444
|
},
|
|
1430
1445
|
|
|
1431
1446
|
/**
|
|
1432
1447
|
* Custom help text message to display when validity = `customError`.
|
|
1433
1448
|
*/
|
|
1434
1449
|
setCustomValidityCustomError: {
|
|
1435
|
-
type: String
|
|
1450
|
+
type: String,
|
|
1451
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1436
1452
|
},
|
|
1437
1453
|
|
|
1438
1454
|
/**
|
|
1439
1455
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1440
1456
|
*/
|
|
1441
1457
|
setCustomValidityValueMissing: {
|
|
1442
|
-
type: String
|
|
1458
|
+
type: String,
|
|
1459
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1443
1460
|
},
|
|
1444
1461
|
|
|
1445
1462
|
/**
|
|
@@ -151,6 +151,9 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
151
151
|
*
|
|
152
152
|
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
153
153
|
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
154
|
+
* @event auroCheckbox-input - (Deprecated) Notifies when the checked value is changed by user interaction.
|
|
155
|
+
* @event auroCheckbox-focusin - Notifies when the checkbox receives focus.
|
|
156
|
+
* @event auroCheckbox-focusout - Notifies when the checkbox loses focus.
|
|
154
157
|
*/
|
|
155
158
|
/* eslint-enable jsdoc/no-undefined-types */
|
|
156
159
|
|
|
@@ -254,6 +257,7 @@ class AuroCheckbox extends i$2 {
|
|
|
254
257
|
*/
|
|
255
258
|
onDark: {
|
|
256
259
|
type: Boolean,
|
|
260
|
+
attribute: 'ondark',
|
|
257
261
|
reflect: true
|
|
258
262
|
},
|
|
259
263
|
|
|
@@ -1149,6 +1153,8 @@ class AuroHelpText extends i$2 {
|
|
|
1149
1153
|
super();
|
|
1150
1154
|
|
|
1151
1155
|
this.error = false;
|
|
1156
|
+
|
|
1157
|
+
/** @type {'default' | 'inverse'} */
|
|
1152
1158
|
this.appearance = "default";
|
|
1153
1159
|
this.onDark = false;
|
|
1154
1160
|
this.hasTextContent = false;
|
|
@@ -1169,8 +1175,8 @@ class AuroHelpText extends i$2 {
|
|
|
1169
1175
|
return {
|
|
1170
1176
|
|
|
1171
1177
|
/**
|
|
1172
|
-
*
|
|
1173
|
-
* @
|
|
1178
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1179
|
+
* @type {'default' | 'inverse'}
|
|
1174
1180
|
* @default 'default'
|
|
1175
1181
|
*/
|
|
1176
1182
|
appearance: {
|
|
@@ -1183,6 +1189,7 @@ class AuroHelpText extends i$2 {
|
|
|
1183
1189
|
*/
|
|
1184
1190
|
slotNodes: {
|
|
1185
1191
|
type: Boolean,
|
|
1192
|
+
attribute: 'slotnodes',
|
|
1186
1193
|
},
|
|
1187
1194
|
|
|
1188
1195
|
/**
|
|
@@ -1190,6 +1197,7 @@ class AuroHelpText extends i$2 {
|
|
|
1190
1197
|
*/
|
|
1191
1198
|
hasTextContent: {
|
|
1192
1199
|
type: Boolean,
|
|
1200
|
+
attribute: 'hastextcontent',
|
|
1193
1201
|
},
|
|
1194
1202
|
|
|
1195
1203
|
/**
|
|
@@ -1205,6 +1213,7 @@ class AuroHelpText extends i$2 {
|
|
|
1205
1213
|
*/
|
|
1206
1214
|
onDark: {
|
|
1207
1215
|
type: Boolean,
|
|
1216
|
+
attribute: 'ondark',
|
|
1208
1217
|
reflect: true
|
|
1209
1218
|
}
|
|
1210
1219
|
};
|
|
@@ -1275,7 +1284,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1284
|
}
|
|
1276
1285
|
}
|
|
1277
1286
|
|
|
1278
|
-
var formkitVersion = '
|
|
1287
|
+
var formkitVersion = '202608300032';
|
|
1279
1288
|
|
|
1280
1289
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1290
|
// See LICENSE in the project root for license information.
|
|
@@ -1285,11 +1294,14 @@ var formkitVersion = '202608261850';
|
|
|
1285
1294
|
* The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.
|
|
1286
1295
|
* @customElement auro-checkbox-group
|
|
1287
1296
|
*
|
|
1297
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1298
|
+
*
|
|
1288
1299
|
* @slot legend - Allows for the legend to be overridden.
|
|
1289
1300
|
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1290
1301
|
* @slot helpText - Allows for the helper text to be overridden.
|
|
1291
1302
|
* @slot default - The default slot for the checkbox items.
|
|
1292
1303
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
1304
|
+
* @event input - Notifies when the group's value changes due to a checkbox selection being added or removed.
|
|
1293
1305
|
*/
|
|
1294
1306
|
|
|
1295
1307
|
class AuroCheckboxGroup extends i$2 {
|
|
@@ -1402,6 +1414,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1402
1414
|
*/
|
|
1403
1415
|
noValidate: {
|
|
1404
1416
|
type: Boolean,
|
|
1417
|
+
attribute: 'novalidate',
|
|
1405
1418
|
reflect: true
|
|
1406
1419
|
},
|
|
1407
1420
|
|
|
@@ -1410,6 +1423,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1410
1423
|
*/
|
|
1411
1424
|
onDark: {
|
|
1412
1425
|
type: Boolean,
|
|
1426
|
+
attribute: 'ondark',
|
|
1413
1427
|
reflect: true
|
|
1414
1428
|
},
|
|
1415
1429
|
|
|
@@ -1425,21 +1439,24 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1425
1439
|
* Sets a custom help text message to display for all validityStates.
|
|
1426
1440
|
*/
|
|
1427
1441
|
setCustomValidity: {
|
|
1428
|
-
type: String
|
|
1442
|
+
type: String,
|
|
1443
|
+
attribute: 'setcustomvalidity'
|
|
1429
1444
|
},
|
|
1430
1445
|
|
|
1431
1446
|
/**
|
|
1432
1447
|
* Custom help text message to display when validity = `customError`.
|
|
1433
1448
|
*/
|
|
1434
1449
|
setCustomValidityCustomError: {
|
|
1435
|
-
type: String
|
|
1450
|
+
type: String,
|
|
1451
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1436
1452
|
},
|
|
1437
1453
|
|
|
1438
1454
|
/**
|
|
1439
1455
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1440
1456
|
*/
|
|
1441
1457
|
setCustomValidityValueMissing: {
|
|
1442
|
-
type: String
|
|
1458
|
+
type: String,
|
|
1459
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1443
1460
|
},
|
|
1444
1461
|
|
|
1445
1462
|
/**
|
|
@@ -151,6 +151,9 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
151
151
|
*
|
|
152
152
|
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
153
153
|
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
154
|
+
* @event auroCheckbox-input - (Deprecated) Notifies when the checked value is changed by user interaction.
|
|
155
|
+
* @event auroCheckbox-focusin - Notifies when the checkbox receives focus.
|
|
156
|
+
* @event auroCheckbox-focusout - Notifies when the checkbox loses focus.
|
|
154
157
|
*/
|
|
155
158
|
/* eslint-enable jsdoc/no-undefined-types */
|
|
156
159
|
|
|
@@ -254,6 +257,7 @@ class AuroCheckbox extends i$2 {
|
|
|
254
257
|
*/
|
|
255
258
|
onDark: {
|
|
256
259
|
type: Boolean,
|
|
260
|
+
attribute: 'ondark',
|
|
257
261
|
reflect: true
|
|
258
262
|
},
|
|
259
263
|
|
|
@@ -1149,6 +1153,8 @@ class AuroHelpText extends i$2 {
|
|
|
1149
1153
|
super();
|
|
1150
1154
|
|
|
1151
1155
|
this.error = false;
|
|
1156
|
+
|
|
1157
|
+
/** @type {'default' | 'inverse'} */
|
|
1152
1158
|
this.appearance = "default";
|
|
1153
1159
|
this.onDark = false;
|
|
1154
1160
|
this.hasTextContent = false;
|
|
@@ -1169,8 +1175,8 @@ class AuroHelpText extends i$2 {
|
|
|
1169
1175
|
return {
|
|
1170
1176
|
|
|
1171
1177
|
/**
|
|
1172
|
-
*
|
|
1173
|
-
* @
|
|
1178
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1179
|
+
* @type {'default' | 'inverse'}
|
|
1174
1180
|
* @default 'default'
|
|
1175
1181
|
*/
|
|
1176
1182
|
appearance: {
|
|
@@ -1183,6 +1189,7 @@ class AuroHelpText extends i$2 {
|
|
|
1183
1189
|
*/
|
|
1184
1190
|
slotNodes: {
|
|
1185
1191
|
type: Boolean,
|
|
1192
|
+
attribute: 'slotnodes',
|
|
1186
1193
|
},
|
|
1187
1194
|
|
|
1188
1195
|
/**
|
|
@@ -1190,6 +1197,7 @@ class AuroHelpText extends i$2 {
|
|
|
1190
1197
|
*/
|
|
1191
1198
|
hasTextContent: {
|
|
1192
1199
|
type: Boolean,
|
|
1200
|
+
attribute: 'hastextcontent',
|
|
1193
1201
|
},
|
|
1194
1202
|
|
|
1195
1203
|
/**
|
|
@@ -1205,6 +1213,7 @@ class AuroHelpText extends i$2 {
|
|
|
1205
1213
|
*/
|
|
1206
1214
|
onDark: {
|
|
1207
1215
|
type: Boolean,
|
|
1216
|
+
attribute: 'ondark',
|
|
1208
1217
|
reflect: true
|
|
1209
1218
|
}
|
|
1210
1219
|
};
|
|
@@ -1275,7 +1284,7 @@ class AuroHelpText extends i$2 {
|
|
|
1275
1284
|
}
|
|
1276
1285
|
}
|
|
1277
1286
|
|
|
1278
|
-
var formkitVersion = '
|
|
1287
|
+
var formkitVersion = '202608300032';
|
|
1279
1288
|
|
|
1280
1289
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1281
1290
|
// See LICENSE in the project root for license information.
|
|
@@ -1285,11 +1294,14 @@ var formkitVersion = '202608261850';
|
|
|
1285
1294
|
* The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.
|
|
1286
1295
|
* @customElement auro-checkbox-group
|
|
1287
1296
|
*
|
|
1297
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
1298
|
+
*
|
|
1288
1299
|
* @slot legend - Allows for the legend to be overridden.
|
|
1289
1300
|
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
1290
1301
|
* @slot helpText - Allows for the helper text to be overridden.
|
|
1291
1302
|
* @slot default - The default slot for the checkbox items.
|
|
1292
1303
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
1304
|
+
* @event input - Notifies when the group's value changes due to a checkbox selection being added or removed.
|
|
1293
1305
|
*/
|
|
1294
1306
|
|
|
1295
1307
|
class AuroCheckboxGroup extends i$2 {
|
|
@@ -1402,6 +1414,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1402
1414
|
*/
|
|
1403
1415
|
noValidate: {
|
|
1404
1416
|
type: Boolean,
|
|
1417
|
+
attribute: 'novalidate',
|
|
1405
1418
|
reflect: true
|
|
1406
1419
|
},
|
|
1407
1420
|
|
|
@@ -1410,6 +1423,7 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1410
1423
|
*/
|
|
1411
1424
|
onDark: {
|
|
1412
1425
|
type: Boolean,
|
|
1426
|
+
attribute: 'ondark',
|
|
1413
1427
|
reflect: true
|
|
1414
1428
|
},
|
|
1415
1429
|
|
|
@@ -1425,21 +1439,24 @@ class AuroCheckboxGroup extends i$2 {
|
|
|
1425
1439
|
* Sets a custom help text message to display for all validityStates.
|
|
1426
1440
|
*/
|
|
1427
1441
|
setCustomValidity: {
|
|
1428
|
-
type: String
|
|
1442
|
+
type: String,
|
|
1443
|
+
attribute: 'setcustomvalidity'
|
|
1429
1444
|
},
|
|
1430
1445
|
|
|
1431
1446
|
/**
|
|
1432
1447
|
* Custom help text message to display when validity = `customError`.
|
|
1433
1448
|
*/
|
|
1434
1449
|
setCustomValidityCustomError: {
|
|
1435
|
-
type: String
|
|
1450
|
+
type: String,
|
|
1451
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
1436
1452
|
},
|
|
1437
1453
|
|
|
1438
1454
|
/**
|
|
1439
1455
|
* Custom help text message to display when validity = `valueMissing`.
|
|
1440
1456
|
*/
|
|
1441
1457
|
setCustomValidityValueMissing: {
|
|
1442
|
-
type: String
|
|
1458
|
+
type: String,
|
|
1459
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
1443
1460
|
},
|
|
1444
1461
|
|
|
1445
1462
|
/**
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
* The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.
|
|
3
3
|
* @customElement auro-checkbox-group
|
|
4
4
|
*
|
|
5
|
+
* @csspart helpText - Apply css to the help text element that displays helper or error messages.
|
|
6
|
+
*
|
|
5
7
|
* @slot legend - Allows for the legend to be overridden.
|
|
6
8
|
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
7
9
|
* @slot helpText - Allows for the helper text to be overridden.
|
|
8
10
|
* @slot default - The default slot for the checkbox items.
|
|
9
11
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
12
|
+
* @event input - Notifies when the group's value changes due to a checkbox selection being added or removed.
|
|
10
13
|
*/
|
|
11
14
|
export class AuroCheckboxGroup extends LitElement {
|
|
12
15
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -43,6 +46,7 @@ export class AuroCheckboxGroup extends LitElement {
|
|
|
43
46
|
*/
|
|
44
47
|
noValidate: {
|
|
45
48
|
type: BooleanConstructor;
|
|
49
|
+
attribute: string;
|
|
46
50
|
reflect: boolean;
|
|
47
51
|
};
|
|
48
52
|
/**
|
|
@@ -50,6 +54,7 @@ export class AuroCheckboxGroup extends LitElement {
|
|
|
50
54
|
*/
|
|
51
55
|
onDark: {
|
|
52
56
|
type: BooleanConstructor;
|
|
57
|
+
attribute: string;
|
|
53
58
|
reflect: boolean;
|
|
54
59
|
};
|
|
55
60
|
/**
|
|
@@ -64,18 +69,21 @@ export class AuroCheckboxGroup extends LitElement {
|
|
|
64
69
|
*/
|
|
65
70
|
setCustomValidity: {
|
|
66
71
|
type: StringConstructor;
|
|
72
|
+
attribute: string;
|
|
67
73
|
};
|
|
68
74
|
/**
|
|
69
75
|
* Custom help text message to display when validity = `customError`.
|
|
70
76
|
*/
|
|
71
77
|
setCustomValidityCustomError: {
|
|
72
78
|
type: StringConstructor;
|
|
79
|
+
attribute: string;
|
|
73
80
|
};
|
|
74
81
|
/**
|
|
75
82
|
* Custom help text message to display when validity = `valueMissing`.
|
|
76
83
|
*/
|
|
77
84
|
setCustomValidityValueMissing: {
|
|
78
85
|
type: StringConstructor;
|
|
86
|
+
attribute: string;
|
|
79
87
|
};
|
|
80
88
|
/**
|
|
81
89
|
* Specifies the `validityState` this element is in.
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @fires change - (Deprecated) Notifies when checked value is changed.
|
|
12
12
|
* @fires input - Notifies when when checked value is changed by user's interface.
|
|
13
|
+
* @event auroCheckbox-input - (Deprecated) Notifies when the checked value is changed by user interaction.
|
|
14
|
+
* @event auroCheckbox-focusin - Notifies when the checkbox receives focus.
|
|
15
|
+
* @event auroCheckbox-focusout - Notifies when the checkbox loses focus.
|
|
13
16
|
*/
|
|
14
17
|
export class AuroCheckbox extends LitElement {
|
|
15
18
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -68,6 +71,7 @@ export class AuroCheckbox extends LitElement {
|
|
|
68
71
|
*/
|
|
69
72
|
onDark: {
|
|
70
73
|
type: BooleanConstructor;
|
|
74
|
+
attribute: string;
|
|
71
75
|
reflect: boolean;
|
|
72
76
|
};
|
|
73
77
|
/**
|