@aurodesignsystem-dev/auro-formkit 0.0.0-pr1269.7 → 0.0.0-pr1269.8
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/checkbox/demo/api.min.js +59 -12
- package/components/checkbox/demo/index.min.js +59 -12
- package/components/checkbox/dist/auro-checkbox.d.ts +44 -0
- package/components/checkbox/dist/index.js +59 -12
- package/components/checkbox/dist/registered.js +59 -12
- package/components/combobox/demo/api.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/package.json +1 -1
|
@@ -172,6 +172,9 @@ class AuroCheckbox extends i$2 {
|
|
|
172
172
|
this.error = false;
|
|
173
173
|
this.onDark = false;
|
|
174
174
|
this.touched = false;
|
|
175
|
+
this.tabIndex = 0;
|
|
176
|
+
this.ariaChecked = 'false';
|
|
177
|
+
this.role = 'checkbox';
|
|
175
178
|
|
|
176
179
|
/**
|
|
177
180
|
* @private
|
|
@@ -268,6 +271,55 @@ class AuroCheckbox extends i$2 {
|
|
|
268
271
|
attribute: false
|
|
269
272
|
},
|
|
270
273
|
|
|
274
|
+
/**
|
|
275
|
+
* The tabindex attribute for the checkbox.
|
|
276
|
+
* @private
|
|
277
|
+
*/
|
|
278
|
+
tabIndex: {
|
|
279
|
+
type: Number,
|
|
280
|
+
reflect: true,
|
|
281
|
+
attribute: 'tabindex'
|
|
282
|
+
},
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* The aria-checked attribute for the checkbox.
|
|
286
|
+
* @private
|
|
287
|
+
*/
|
|
288
|
+
ariaChecked: {
|
|
289
|
+
type: String,
|
|
290
|
+
reflect: true,
|
|
291
|
+
attribute: 'aria-checked'
|
|
292
|
+
},
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* The role attribute for the checkbox.
|
|
296
|
+
* @private
|
|
297
|
+
*/
|
|
298
|
+
role: {
|
|
299
|
+
type: String,
|
|
300
|
+
reflect: true
|
|
301
|
+
},
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* The aria-label attribute for the checkbox.
|
|
305
|
+
* @private
|
|
306
|
+
*/
|
|
307
|
+
ariaLabel: {
|
|
308
|
+
type: String,
|
|
309
|
+
reflect: true,
|
|
310
|
+
attribute: 'aria-label'
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* The aria-disabled attribute for the checkbox.
|
|
315
|
+
* @private
|
|
316
|
+
*/
|
|
317
|
+
ariaDisabled: {
|
|
318
|
+
type: String,
|
|
319
|
+
reflect: true,
|
|
320
|
+
attribute: 'aria-disabled'
|
|
321
|
+
},
|
|
322
|
+
|
|
271
323
|
};
|
|
272
324
|
}
|
|
273
325
|
|
|
@@ -361,8 +413,7 @@ class AuroCheckbox extends i$2 {
|
|
|
361
413
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
362
414
|
|
|
363
415
|
// Set initial ARIA state
|
|
364
|
-
this.
|
|
365
|
-
this.setAttribute('tabindex', '0');
|
|
416
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
366
417
|
|
|
367
418
|
// Set accessible name from slot content, but only if consumer hasn't provided an explicit aria-label
|
|
368
419
|
const hasExplicitAriaLabel = this.hasAttribute('aria-label');
|
|
@@ -375,7 +426,7 @@ class AuroCheckbox extends i$2 {
|
|
|
375
426
|
join('').
|
|
376
427
|
trim();
|
|
377
428
|
if (text) {
|
|
378
|
-
this.
|
|
429
|
+
this.ariaLabel = text;
|
|
379
430
|
}
|
|
380
431
|
};
|
|
381
432
|
|
|
@@ -412,8 +463,8 @@ class AuroCheckbox extends i$2 {
|
|
|
412
463
|
connectedCallback() {
|
|
413
464
|
super.connectedCallback();
|
|
414
465
|
|
|
415
|
-
//
|
|
416
|
-
this.
|
|
466
|
+
// Role is set via property to prevent consumers from breaking a11y
|
|
467
|
+
this.role = 'checkbox';
|
|
417
468
|
|
|
418
469
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
419
470
|
this.addEventListener('keydown', this.handleKeyDown);
|
|
@@ -435,15 +486,11 @@ class AuroCheckbox extends i$2 {
|
|
|
435
486
|
super.updated(changedProperties);
|
|
436
487
|
|
|
437
488
|
if (changedProperties.has('checked')) {
|
|
438
|
-
this.
|
|
489
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
439
490
|
}
|
|
440
491
|
|
|
441
492
|
if (changedProperties.has('disabled')) {
|
|
442
|
-
|
|
443
|
-
this.setAttribute('aria-disabled', 'true');
|
|
444
|
-
} else {
|
|
445
|
-
this.removeAttribute('aria-disabled');
|
|
446
|
-
}
|
|
493
|
+
this.ariaDisabled = this.disabled ? 'true' : undefined;
|
|
447
494
|
}
|
|
448
495
|
}
|
|
449
496
|
|
|
@@ -1650,7 +1697,7 @@ class AuroHelpText extends i$2 {
|
|
|
1650
1697
|
}
|
|
1651
1698
|
}
|
|
1652
1699
|
|
|
1653
|
-
var formkitVersion = '
|
|
1700
|
+
var formkitVersion = '202601212058';
|
|
1654
1701
|
|
|
1655
1702
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1656
1703
|
// See LICENSE in the project root for license information.
|
|
@@ -164,6 +164,9 @@ class AuroCheckbox extends i$2 {
|
|
|
164
164
|
this.error = false;
|
|
165
165
|
this.onDark = false;
|
|
166
166
|
this.touched = false;
|
|
167
|
+
this.tabIndex = 0;
|
|
168
|
+
this.ariaChecked = 'false';
|
|
169
|
+
this.role = 'checkbox';
|
|
167
170
|
|
|
168
171
|
/**
|
|
169
172
|
* @private
|
|
@@ -260,6 +263,55 @@ class AuroCheckbox extends i$2 {
|
|
|
260
263
|
attribute: false
|
|
261
264
|
},
|
|
262
265
|
|
|
266
|
+
/**
|
|
267
|
+
* The tabindex attribute for the checkbox.
|
|
268
|
+
* @private
|
|
269
|
+
*/
|
|
270
|
+
tabIndex: {
|
|
271
|
+
type: Number,
|
|
272
|
+
reflect: true,
|
|
273
|
+
attribute: 'tabindex'
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* The aria-checked attribute for the checkbox.
|
|
278
|
+
* @private
|
|
279
|
+
*/
|
|
280
|
+
ariaChecked: {
|
|
281
|
+
type: String,
|
|
282
|
+
reflect: true,
|
|
283
|
+
attribute: 'aria-checked'
|
|
284
|
+
},
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The role attribute for the checkbox.
|
|
288
|
+
* @private
|
|
289
|
+
*/
|
|
290
|
+
role: {
|
|
291
|
+
type: String,
|
|
292
|
+
reflect: true
|
|
293
|
+
},
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* The aria-label attribute for the checkbox.
|
|
297
|
+
* @private
|
|
298
|
+
*/
|
|
299
|
+
ariaLabel: {
|
|
300
|
+
type: String,
|
|
301
|
+
reflect: true,
|
|
302
|
+
attribute: 'aria-label'
|
|
303
|
+
},
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* The aria-disabled attribute for the checkbox.
|
|
307
|
+
* @private
|
|
308
|
+
*/
|
|
309
|
+
ariaDisabled: {
|
|
310
|
+
type: String,
|
|
311
|
+
reflect: true,
|
|
312
|
+
attribute: 'aria-disabled'
|
|
313
|
+
},
|
|
314
|
+
|
|
263
315
|
};
|
|
264
316
|
}
|
|
265
317
|
|
|
@@ -353,8 +405,7 @@ class AuroCheckbox extends i$2 {
|
|
|
353
405
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
354
406
|
|
|
355
407
|
// Set initial ARIA state
|
|
356
|
-
this.
|
|
357
|
-
this.setAttribute('tabindex', '0');
|
|
408
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
358
409
|
|
|
359
410
|
// Set accessible name from slot content, but only if consumer hasn't provided an explicit aria-label
|
|
360
411
|
const hasExplicitAriaLabel = this.hasAttribute('aria-label');
|
|
@@ -367,7 +418,7 @@ class AuroCheckbox extends i$2 {
|
|
|
367
418
|
join('').
|
|
368
419
|
trim();
|
|
369
420
|
if (text) {
|
|
370
|
-
this.
|
|
421
|
+
this.ariaLabel = text;
|
|
371
422
|
}
|
|
372
423
|
};
|
|
373
424
|
|
|
@@ -404,8 +455,8 @@ class AuroCheckbox extends i$2 {
|
|
|
404
455
|
connectedCallback() {
|
|
405
456
|
super.connectedCallback();
|
|
406
457
|
|
|
407
|
-
//
|
|
408
|
-
this.
|
|
458
|
+
// Role is set via property to prevent consumers from breaking a11y
|
|
459
|
+
this.role = 'checkbox';
|
|
409
460
|
|
|
410
461
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
411
462
|
this.addEventListener('keydown', this.handleKeyDown);
|
|
@@ -427,15 +478,11 @@ class AuroCheckbox extends i$2 {
|
|
|
427
478
|
super.updated(changedProperties);
|
|
428
479
|
|
|
429
480
|
if (changedProperties.has('checked')) {
|
|
430
|
-
this.
|
|
481
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
431
482
|
}
|
|
432
483
|
|
|
433
484
|
if (changedProperties.has('disabled')) {
|
|
434
|
-
|
|
435
|
-
this.setAttribute('aria-disabled', 'true');
|
|
436
|
-
} else {
|
|
437
|
-
this.removeAttribute('aria-disabled');
|
|
438
|
-
}
|
|
485
|
+
this.ariaDisabled = this.disabled ? 'true' : undefined;
|
|
439
486
|
}
|
|
440
487
|
}
|
|
441
488
|
|
|
@@ -1642,7 +1689,7 @@ class AuroHelpText extends i$2 {
|
|
|
1642
1689
|
}
|
|
1643
1690
|
}
|
|
1644
1691
|
|
|
1645
|
-
var formkitVersion = '
|
|
1692
|
+
var formkitVersion = '202601212058';
|
|
1646
1693
|
|
|
1647
1694
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1648
1695
|
// See LICENSE in the project root for license information.
|
|
@@ -79,6 +79,50 @@ export class AuroCheckbox extends LitElement {
|
|
|
79
79
|
reflect: boolean;
|
|
80
80
|
attribute: boolean;
|
|
81
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* The tabindex attribute for the checkbox.
|
|
84
|
+
* @private
|
|
85
|
+
*/
|
|
86
|
+
tabIndex: {
|
|
87
|
+
type: NumberConstructor;
|
|
88
|
+
reflect: boolean;
|
|
89
|
+
attribute: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* The aria-checked attribute for the checkbox.
|
|
93
|
+
* @private
|
|
94
|
+
*/
|
|
95
|
+
ariaChecked: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
reflect: boolean;
|
|
98
|
+
attribute: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* The role attribute for the checkbox.
|
|
102
|
+
* @private
|
|
103
|
+
*/
|
|
104
|
+
role: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
reflect: boolean;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* The aria-label attribute for the checkbox.
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
ariaLabel: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
reflect: boolean;
|
|
115
|
+
attribute: string;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* The aria-disabled attribute for the checkbox.
|
|
119
|
+
* @private
|
|
120
|
+
*/
|
|
121
|
+
ariaDisabled: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
reflect: boolean;
|
|
124
|
+
attribute: string;
|
|
125
|
+
};
|
|
82
126
|
};
|
|
83
127
|
/**
|
|
84
128
|
* This will register this element with the browser.
|
|
@@ -124,6 +124,9 @@ class AuroCheckbox extends LitElement {
|
|
|
124
124
|
this.error = false;
|
|
125
125
|
this.onDark = false;
|
|
126
126
|
this.touched = false;
|
|
127
|
+
this.tabIndex = 0;
|
|
128
|
+
this.ariaChecked = 'false';
|
|
129
|
+
this.role = 'checkbox';
|
|
127
130
|
|
|
128
131
|
/**
|
|
129
132
|
* @private
|
|
@@ -220,6 +223,55 @@ class AuroCheckbox extends LitElement {
|
|
|
220
223
|
attribute: false
|
|
221
224
|
},
|
|
222
225
|
|
|
226
|
+
/**
|
|
227
|
+
* The tabindex attribute for the checkbox.
|
|
228
|
+
* @private
|
|
229
|
+
*/
|
|
230
|
+
tabIndex: {
|
|
231
|
+
type: Number,
|
|
232
|
+
reflect: true,
|
|
233
|
+
attribute: 'tabindex'
|
|
234
|
+
},
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The aria-checked attribute for the checkbox.
|
|
238
|
+
* @private
|
|
239
|
+
*/
|
|
240
|
+
ariaChecked: {
|
|
241
|
+
type: String,
|
|
242
|
+
reflect: true,
|
|
243
|
+
attribute: 'aria-checked'
|
|
244
|
+
},
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* The role attribute for the checkbox.
|
|
248
|
+
* @private
|
|
249
|
+
*/
|
|
250
|
+
role: {
|
|
251
|
+
type: String,
|
|
252
|
+
reflect: true
|
|
253
|
+
},
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The aria-label attribute for the checkbox.
|
|
257
|
+
* @private
|
|
258
|
+
*/
|
|
259
|
+
ariaLabel: {
|
|
260
|
+
type: String,
|
|
261
|
+
reflect: true,
|
|
262
|
+
attribute: 'aria-label'
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* The aria-disabled attribute for the checkbox.
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
ariaDisabled: {
|
|
270
|
+
type: String,
|
|
271
|
+
reflect: true,
|
|
272
|
+
attribute: 'aria-disabled'
|
|
273
|
+
},
|
|
274
|
+
|
|
223
275
|
};
|
|
224
276
|
}
|
|
225
277
|
|
|
@@ -313,8 +365,7 @@ class AuroCheckbox extends LitElement {
|
|
|
313
365
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
314
366
|
|
|
315
367
|
// Set initial ARIA state
|
|
316
|
-
this.
|
|
317
|
-
this.setAttribute('tabindex', '0');
|
|
368
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
318
369
|
|
|
319
370
|
// Set accessible name from slot content, but only if consumer hasn't provided an explicit aria-label
|
|
320
371
|
const hasExplicitAriaLabel = this.hasAttribute('aria-label');
|
|
@@ -327,7 +378,7 @@ class AuroCheckbox extends LitElement {
|
|
|
327
378
|
join('').
|
|
328
379
|
trim();
|
|
329
380
|
if (text) {
|
|
330
|
-
this.
|
|
381
|
+
this.ariaLabel = text;
|
|
331
382
|
}
|
|
332
383
|
};
|
|
333
384
|
|
|
@@ -364,8 +415,8 @@ class AuroCheckbox extends LitElement {
|
|
|
364
415
|
connectedCallback() {
|
|
365
416
|
super.connectedCallback();
|
|
366
417
|
|
|
367
|
-
//
|
|
368
|
-
this.
|
|
418
|
+
// Role is set via property to prevent consumers from breaking a11y
|
|
419
|
+
this.role = 'checkbox';
|
|
369
420
|
|
|
370
421
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
371
422
|
this.addEventListener('keydown', this.handleKeyDown);
|
|
@@ -387,15 +438,11 @@ class AuroCheckbox extends LitElement {
|
|
|
387
438
|
super.updated(changedProperties);
|
|
388
439
|
|
|
389
440
|
if (changedProperties.has('checked')) {
|
|
390
|
-
this.
|
|
441
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
391
442
|
}
|
|
392
443
|
|
|
393
444
|
if (changedProperties.has('disabled')) {
|
|
394
|
-
|
|
395
|
-
this.setAttribute('aria-disabled', 'true');
|
|
396
|
-
} else {
|
|
397
|
-
this.removeAttribute('aria-disabled');
|
|
398
|
-
}
|
|
445
|
+
this.ariaDisabled = this.disabled ? 'true' : undefined;
|
|
399
446
|
}
|
|
400
447
|
}
|
|
401
448
|
|
|
@@ -1595,7 +1642,7 @@ class AuroHelpText extends LitElement {
|
|
|
1595
1642
|
}
|
|
1596
1643
|
}
|
|
1597
1644
|
|
|
1598
|
-
var formkitVersion = '
|
|
1645
|
+
var formkitVersion = '202601212058';
|
|
1599
1646
|
|
|
1600
1647
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1601
1648
|
// See LICENSE in the project root for license information.
|
|
@@ -124,6 +124,9 @@ class AuroCheckbox extends LitElement {
|
|
|
124
124
|
this.error = false;
|
|
125
125
|
this.onDark = false;
|
|
126
126
|
this.touched = false;
|
|
127
|
+
this.tabIndex = 0;
|
|
128
|
+
this.ariaChecked = 'false';
|
|
129
|
+
this.role = 'checkbox';
|
|
127
130
|
|
|
128
131
|
/**
|
|
129
132
|
* @private
|
|
@@ -220,6 +223,55 @@ class AuroCheckbox extends LitElement {
|
|
|
220
223
|
attribute: false
|
|
221
224
|
},
|
|
222
225
|
|
|
226
|
+
/**
|
|
227
|
+
* The tabindex attribute for the checkbox.
|
|
228
|
+
* @private
|
|
229
|
+
*/
|
|
230
|
+
tabIndex: {
|
|
231
|
+
type: Number,
|
|
232
|
+
reflect: true,
|
|
233
|
+
attribute: 'tabindex'
|
|
234
|
+
},
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The aria-checked attribute for the checkbox.
|
|
238
|
+
* @private
|
|
239
|
+
*/
|
|
240
|
+
ariaChecked: {
|
|
241
|
+
type: String,
|
|
242
|
+
reflect: true,
|
|
243
|
+
attribute: 'aria-checked'
|
|
244
|
+
},
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* The role attribute for the checkbox.
|
|
248
|
+
* @private
|
|
249
|
+
*/
|
|
250
|
+
role: {
|
|
251
|
+
type: String,
|
|
252
|
+
reflect: true
|
|
253
|
+
},
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The aria-label attribute for the checkbox.
|
|
257
|
+
* @private
|
|
258
|
+
*/
|
|
259
|
+
ariaLabel: {
|
|
260
|
+
type: String,
|
|
261
|
+
reflect: true,
|
|
262
|
+
attribute: 'aria-label'
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* The aria-disabled attribute for the checkbox.
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
ariaDisabled: {
|
|
270
|
+
type: String,
|
|
271
|
+
reflect: true,
|
|
272
|
+
attribute: 'aria-disabled'
|
|
273
|
+
},
|
|
274
|
+
|
|
223
275
|
};
|
|
224
276
|
}
|
|
225
277
|
|
|
@@ -313,8 +365,7 @@ class AuroCheckbox extends LitElement {
|
|
|
313
365
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
314
366
|
|
|
315
367
|
// Set initial ARIA state
|
|
316
|
-
this.
|
|
317
|
-
this.setAttribute('tabindex', '0');
|
|
368
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
318
369
|
|
|
319
370
|
// Set accessible name from slot content, but only if consumer hasn't provided an explicit aria-label
|
|
320
371
|
const hasExplicitAriaLabel = this.hasAttribute('aria-label');
|
|
@@ -327,7 +378,7 @@ class AuroCheckbox extends LitElement {
|
|
|
327
378
|
join('').
|
|
328
379
|
trim();
|
|
329
380
|
if (text) {
|
|
330
|
-
this.
|
|
381
|
+
this.ariaLabel = text;
|
|
331
382
|
}
|
|
332
383
|
};
|
|
333
384
|
|
|
@@ -364,8 +415,8 @@ class AuroCheckbox extends LitElement {
|
|
|
364
415
|
connectedCallback() {
|
|
365
416
|
super.connectedCallback();
|
|
366
417
|
|
|
367
|
-
//
|
|
368
|
-
this.
|
|
418
|
+
// Role is set via property to prevent consumers from breaking a11y
|
|
419
|
+
this.role = 'checkbox';
|
|
369
420
|
|
|
370
421
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
371
422
|
this.addEventListener('keydown', this.handleKeyDown);
|
|
@@ -387,15 +438,11 @@ class AuroCheckbox extends LitElement {
|
|
|
387
438
|
super.updated(changedProperties);
|
|
388
439
|
|
|
389
440
|
if (changedProperties.has('checked')) {
|
|
390
|
-
this.
|
|
441
|
+
this.ariaChecked = this.checked ? 'true' : 'false';
|
|
391
442
|
}
|
|
392
443
|
|
|
393
444
|
if (changedProperties.has('disabled')) {
|
|
394
|
-
|
|
395
|
-
this.setAttribute('aria-disabled', 'true');
|
|
396
|
-
} else {
|
|
397
|
-
this.removeAttribute('aria-disabled');
|
|
398
|
-
}
|
|
445
|
+
this.ariaDisabled = this.disabled ? 'true' : undefined;
|
|
399
446
|
}
|
|
400
447
|
}
|
|
401
448
|
|
|
@@ -1595,7 +1642,7 @@ class AuroHelpText extends LitElement {
|
|
|
1595
1642
|
}
|
|
1596
1643
|
}
|
|
1597
1644
|
|
|
1598
|
-
var formkitVersion = '
|
|
1645
|
+
var formkitVersion = '202601212058';
|
|
1599
1646
|
|
|
1600
1647
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1601
1648
|
// See LICENSE in the project root for license information.
|
|
@@ -4303,7 +4303,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4303
4303
|
}
|
|
4304
4304
|
};
|
|
4305
4305
|
|
|
4306
|
-
var formkitVersion$2 = '
|
|
4306
|
+
var formkitVersion$2 = '202601212058';
|
|
4307
4307
|
|
|
4308
4308
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4309
4309
|
static get properties() {
|
|
@@ -11928,7 +11928,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
11928
11928
|
}
|
|
11929
11929
|
};
|
|
11930
11930
|
|
|
11931
|
-
var formkitVersion$1 = '
|
|
11931
|
+
var formkitVersion$1 = '202601212058';
|
|
11932
11932
|
|
|
11933
11933
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11934
11934
|
// See LICENSE in the project root for license information.
|
|
@@ -12918,7 +12918,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
12918
12918
|
}
|
|
12919
12919
|
}
|
|
12920
12920
|
|
|
12921
|
-
var formkitVersion = '
|
|
12921
|
+
var formkitVersion = '202601212058';
|
|
12922
12922
|
|
|
12923
12923
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12924
12924
|
|
|
@@ -4175,7 +4175,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
4175
4175
|
}
|
|
4176
4176
|
};
|
|
4177
4177
|
|
|
4178
|
-
var formkitVersion$2 = '
|
|
4178
|
+
var formkitVersion$2 = '202601212058';
|
|
4179
4179
|
|
|
4180
4180
|
let AuroElement$2 = class AuroElement extends i$3 {
|
|
4181
4181
|
static get properties() {
|
|
@@ -11800,7 +11800,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
11800
11800
|
}
|
|
11801
11801
|
};
|
|
11802
11802
|
|
|
11803
|
-
var formkitVersion$1 = '
|
|
11803
|
+
var formkitVersion$1 = '202601212058';
|
|
11804
11804
|
|
|
11805
11805
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11806
11806
|
// See LICENSE in the project root for license information.
|
|
@@ -12790,7 +12790,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
12790
12790
|
}
|
|
12791
12791
|
}
|
|
12792
12792
|
|
|
12793
|
-
var formkitVersion = '
|
|
12793
|
+
var formkitVersion = '202601212058';
|
|
12794
12794
|
|
|
12795
12795
|
var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12796
12796
|
|
|
@@ -4089,7 +4089,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
};
|
|
4091
4091
|
|
|
4092
|
-
var formkitVersion$2 = '
|
|
4092
|
+
var formkitVersion$2 = '202601212058';
|
|
4093
4093
|
|
|
4094
4094
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4095
4095
|
static get properties() {
|
|
@@ -11707,7 +11707,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
11707
11707
|
}
|
|
11708
11708
|
};
|
|
11709
11709
|
|
|
11710
|
-
var formkitVersion$1 = '
|
|
11710
|
+
var formkitVersion$1 = '202601212058';
|
|
11711
11711
|
|
|
11712
11712
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11713
11713
|
// See LICENSE in the project root for license information.
|
|
@@ -12697,7 +12697,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12697
12697
|
}
|
|
12698
12698
|
}
|
|
12699
12699
|
|
|
12700
|
-
var formkitVersion = '
|
|
12700
|
+
var formkitVersion = '202601212058';
|
|
12701
12701
|
|
|
12702
12702
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12703
12703
|
|
|
@@ -4089,7 +4089,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
};
|
|
4091
4091
|
|
|
4092
|
-
var formkitVersion$2 = '
|
|
4092
|
+
var formkitVersion$2 = '202601212058';
|
|
4093
4093
|
|
|
4094
4094
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4095
4095
|
static get properties() {
|
|
@@ -11707,7 +11707,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
11707
11707
|
}
|
|
11708
11708
|
};
|
|
11709
11709
|
|
|
11710
|
-
var formkitVersion$1 = '
|
|
11710
|
+
var formkitVersion$1 = '202601212058';
|
|
11711
11711
|
|
|
11712
11712
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11713
11713
|
// See LICENSE in the project root for license information.
|
|
@@ -12697,7 +12697,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12697
12697
|
}
|
|
12698
12698
|
}
|
|
12699
12699
|
|
|
12700
|
-
var formkitVersion = '
|
|
12700
|
+
var formkitVersion = '202601212058';
|
|
12701
12701
|
|
|
12702
12702
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12703
12703
|
|
|
@@ -1437,7 +1437,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
var formkitVersion$1 = '
|
|
1440
|
+
var formkitVersion$1 = '202601212058';
|
|
1441
1441
|
|
|
1442
1442
|
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1443
1443
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -4972,7 +4972,7 @@ class AuroHelpText extends i$2 {
|
|
|
4972
4972
|
}
|
|
4973
4973
|
}
|
|
4974
4974
|
|
|
4975
|
-
var formkitVersion = '
|
|
4975
|
+
var formkitVersion = '202601212058';
|
|
4976
4976
|
|
|
4977
4977
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
4978
4978
|
static get properties() {
|
|
@@ -1437,7 +1437,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
var formkitVersion$1 = '
|
|
1440
|
+
var formkitVersion$1 = '202601212058';
|
|
1441
1441
|
|
|
1442
1442
|
/* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
|
|
1443
1443
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -4972,7 +4972,7 @@ class AuroHelpText extends i$2 {
|
|
|
4972
4972
|
}
|
|
4973
4973
|
}
|
|
4974
4974
|
|
|
4975
|
-
var formkitVersion = '
|
|
4975
|
+
var formkitVersion = '202601212058';
|
|
4976
4976
|
|
|
4977
4977
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
4978
4978
|
static get properties() {
|