@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.97 → 0.0.0-pr624.99
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/index.js +3 -2
- package/components/bibtemplate/dist/registered.js +3 -2
- package/components/combobox/README.md +2 -0
- package/components/combobox/demo/api.md +6 -0
- package/components/combobox/demo/api.min.js +26 -15
- package/components/combobox/demo/index.md +12 -0
- package/components/combobox/demo/index.min.js +26 -15
- package/components/combobox/demo/readme.md +2 -0
- package/components/combobox/dist/auro-combobox.d.ts +2 -0
- package/components/combobox/dist/index.js +25 -14
- package/components/combobox/dist/registered.js +25 -14
- package/components/counter/demo/api.md +9 -0
- package/components/counter/demo/api.min.js +5 -2
- package/components/counter/demo/index.md +6 -0
- package/components/counter/demo/index.min.js +5 -2
- package/components/counter/dist/auro-counter-group.d.ts +1 -0
- package/components/counter/dist/index.js +5 -2
- package/components/counter/dist/registered.js +5 -2
- package/components/datepicker/README.md +1 -0
- package/components/datepicker/demo/api.md +11 -0
- package/components/datepicker/demo/api.min.js +18 -6
- package/components/datepicker/demo/index.md +12 -0
- package/components/datepicker/demo/index.min.js +18 -6
- package/components/datepicker/demo/readme.md +1 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +1 -0
- package/components/datepicker/dist/index.js +18 -6
- package/components/datepicker/dist/registered.js +18 -6
- package/components/input/README.md +1 -0
- package/components/input/demo/api.md +14 -6
- package/components/input/demo/api.min.js +12 -4
- package/components/input/demo/index.md +7 -0
- package/components/input/demo/index.min.js +12 -4
- package/components/input/demo/readme.md +1 -0
- package/components/input/dist/base-input.d.ts +3 -1
- package/components/input/dist/index.js +12 -4
- package/components/input/dist/registered.js +12 -4
- package/components/menu/demo/api.min.js +1 -1
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/select/README.md +1 -0
- package/components/select/demo/api.md +3 -0
- package/components/select/demo/api.min.js +8 -3
- package/components/select/demo/index.md +8 -0
- package/components/select/demo/index.min.js +8 -3
- package/components/select/demo/readme.md +1 -0
- package/components/select/dist/auro-select.d.ts +1 -0
- package/components/select/dist/index.js +7 -2
- package/components/select/dist/registered.js +7 -2
- package/package.json +1 -1
|
@@ -10207,6 +10207,9 @@ let AuroElement$2$1 = class AuroElement extends LitElement {
|
|
|
10207
10207
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10208
10208
|
* @attr id
|
|
10209
10209
|
*
|
|
10210
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
10211
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
10212
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
10210
10213
|
* @slot helpText - Sets the help text displayed below the input.
|
|
10211
10214
|
* @slot label - Sets the label text for the input.
|
|
10212
10215
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -10634,8 +10637,7 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10634
10637
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
10635
10638
|
*/
|
|
10636
10639
|
value: {
|
|
10637
|
-
type: String
|
|
10638
|
-
reflect: true
|
|
10640
|
+
type: String
|
|
10639
10641
|
},
|
|
10640
10642
|
|
|
10641
10643
|
/**
|
|
@@ -13347,12 +13349,13 @@ class AuroInput extends BaseInput {
|
|
|
13347
13349
|
<${this.buttonTag}
|
|
13348
13350
|
@click="${this.handleClickClear}"
|
|
13349
13351
|
?onDark="${this.onDark}"
|
|
13350
|
-
aria-label="${i18n(this.lang, 'clearInput')}"
|
|
13351
13352
|
class="notificationBtn clearBtn"
|
|
13352
13353
|
shape="circle"
|
|
13353
13354
|
size="sm"
|
|
13354
13355
|
variant="ghost">
|
|
13356
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
13355
13357
|
<${this.iconTag}
|
|
13358
|
+
aria-hidden="true"
|
|
13356
13359
|
?customColor="${this.onDark}"
|
|
13357
13360
|
category="interface"
|
|
13358
13361
|
name="x-lg"
|
|
@@ -13375,18 +13378,23 @@ class AuroInput extends BaseInput {
|
|
|
13375
13378
|
@click="${this.handleClickShowPassword}"
|
|
13376
13379
|
?onDark="${this.onDark}"
|
|
13377
13380
|
class="notificationBtn passwordBtn"
|
|
13378
|
-
aria-label="${this.showPassword ? i18n(this.lang, "hidePassword") : i18n(this.lang, "showPassword")}"
|
|
13379
13381
|
shape="circle"
|
|
13380
13382
|
size="sm"
|
|
13381
13383
|
variant="ghost">
|
|
13384
|
+
<span>
|
|
13385
|
+
${this.showPassword ? html`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
13386
|
+
: html`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
13387
|
+
</span>
|
|
13382
13388
|
<${this.iconTag}
|
|
13383
13389
|
?customColor="${this.onDark}"
|
|
13390
|
+
aria-hidden="true"
|
|
13384
13391
|
?hidden=${!this.showPassword}
|
|
13385
13392
|
category="interface"
|
|
13386
13393
|
name="hide-password-stroke">
|
|
13387
13394
|
</${this.iconTag}>
|
|
13388
13395
|
<${this.iconTag}
|
|
13389
13396
|
?customColor="${this.onDark}"
|
|
13397
|
+
aria-hidden="true"
|
|
13390
13398
|
?hidden=${this.showPassword}
|
|
13391
13399
|
category="interface"
|
|
13392
13400
|
name="view-password-stroke">
|
|
@@ -15508,8 +15516,9 @@ class AuroBibtemplate extends LitElement {
|
|
|
15508
15516
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
15509
15517
|
<slot name="header"></slot>
|
|
15510
15518
|
</${this.headerTag}>
|
|
15511
|
-
<${this.buttonTag} id="closeButton"
|
|
15512
|
-
|
|
15519
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
15520
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
15521
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
15513
15522
|
</${this.buttonTag}>
|
|
15514
15523
|
</div>
|
|
15515
15524
|
<span class="subheader">
|
|
@@ -15845,6 +15854,8 @@ class AuroHelpText extends LitElement {
|
|
|
15845
15854
|
/**
|
|
15846
15855
|
* @slot - Default slot for the menu content.
|
|
15847
15856
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
15857
|
+
* @slot ariaLabel.input.clear - Sets aria-label on clear button
|
|
15858
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
15848
15859
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options
|
|
15849
15860
|
* @slot label - Defines the content of the label.
|
|
15850
15861
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -16664,9 +16675,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16664
16675
|
if (this.dropdown.isBibFullscreen) {
|
|
16665
16676
|
|
|
16666
16677
|
// when focus is on the input, move focus back to close button with Tab key
|
|
16667
|
-
if (document.activeElement.shadowRoot.activeElement === this.inputInBib
|
|
16668
|
-
this.inputInBib.shadowRoot.activeElement.tagName !== 'INPUT' &&
|
|
16669
|
-
!evt.shiftKey) {
|
|
16678
|
+
if (document.activeElement.shadowRoot.activeElement === this.inputInBib) {
|
|
16670
16679
|
evt.preventDefault();
|
|
16671
16680
|
this.dropdown.focus();
|
|
16672
16681
|
}
|
|
@@ -16845,13 +16854,13 @@ class AuroCombobox extends AuroElement {
|
|
|
16845
16854
|
|
|
16846
16855
|
this.handleMenuOptions();
|
|
16847
16856
|
break;
|
|
16857
|
+
|
|
16858
|
+
// Programmatically inject as the slot cannot be carried over to bibtemplate.
|
|
16859
|
+
// It's because the bib is/will be separated from dropdown to body.
|
|
16848
16860
|
case 'label':
|
|
16849
|
-
|
|
16850
|
-
// It's because the bib is/will be separated from dropdown to body.
|
|
16851
|
-
this.transportAssignedNodes(event.target, this.inputInBib, "label");
|
|
16852
|
-
break;
|
|
16861
|
+
case 'ariaLabel.input.clear':
|
|
16853
16862
|
case 'optionalLabel':
|
|
16854
|
-
this.transportAssignedNodes(event.target, this.inputInBib,
|
|
16863
|
+
this.transportAssignedNodes(event.target, this.inputInBib, event.target.name);
|
|
16855
16864
|
break;
|
|
16856
16865
|
case 'bib.fullscreen.headline':
|
|
16857
16866
|
this.transportAssignedNodes(event.target, this.bibtemplate, 'header');
|
|
@@ -16922,6 +16931,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16922
16931
|
shape="${this.shape}"
|
|
16923
16932
|
size="${this.size}"
|
|
16924
16933
|
slot="trigger">
|
|
16934
|
+
<slot name="ariaLabel.input.clear" slot="ariaLabel.clear" @slotchange="${this.handleSlotChange}"></slot>
|
|
16925
16935
|
<slot name="label" slot="label" @slotchange="${this.handleSlotChange}"></slot>
|
|
16926
16936
|
<slot name="optionalLabel" slot="optionalLabel" @slotchange="${this.handleSlotChange}"> (optional)</slot>
|
|
16927
16937
|
<slot name="displayValue" slot="displayValue"></slot>
|
|
@@ -16929,6 +16939,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16929
16939
|
|
|
16930
16940
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
16931
16941
|
<slot name="bib.fullscreen.headline" slot="header"></slot>
|
|
16942
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
|
|
16932
16943
|
<slot></slot>
|
|
16933
16944
|
<${this.inputTag}
|
|
16934
16945
|
id="inputInBib"
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
| Name | Description |
|
|
79
79
|
|---------------------------|--------------------------------------------------|
|
|
80
|
+
| `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
|
|
80
81
|
| `bib.fullscreen.footer` | Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true. |
|
|
81
82
|
| `bib.fullscreen.headline` | Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required. |
|
|
82
83
|
| [default](#default) | Slot for counter elements. |
|
|
@@ -296,6 +297,7 @@ counter.addEventListener('input', (event) => {
|
|
|
296
297
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-value-text.html -->
|
|
297
298
|
<div style="max-width: 350px;">
|
|
298
299
|
<auro-counter-group isDropdown>
|
|
300
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
299
301
|
<span slot="bib.fullscreen.headline">Passengers</span>
|
|
300
302
|
<div slot="valueText">Custom value text</div>
|
|
301
303
|
<div slot="label"></div>
|
|
@@ -323,6 +325,7 @@ counter.addEventListener('input', (event) => {
|
|
|
323
325
|
```html
|
|
324
326
|
<div style="max-width: 350px;">
|
|
325
327
|
<auro-counter-group isDropdown>
|
|
328
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
326
329
|
<span slot="bib.fullscreen.headline">Passengers</span>
|
|
327
330
|
<div slot="valueText">Custom value text</div>
|
|
328
331
|
<div slot="label"></div>
|
|
@@ -391,6 +394,7 @@ A counter dropdown with counters in an errored state will display the errors for
|
|
|
391
394
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-error-basic.html) -->
|
|
392
395
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-error-basic.html -->
|
|
393
396
|
<auro-counter-group isDropdown>
|
|
397
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
394
398
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
395
399
|
<div slot="label">Passengers</div>
|
|
396
400
|
<auro-counter error="Cannot have less than 1 adult passenger">
|
|
@@ -411,6 +415,7 @@ A counter dropdown with counters in an errored state will display the errors for
|
|
|
411
415
|
|
|
412
416
|
```html
|
|
413
417
|
<auro-counter-group isDropdown>
|
|
418
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
414
419
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
415
420
|
<div slot="label">Passengers</div>
|
|
416
421
|
<auro-counter error="Cannot have less than 1 adult passenger">
|
|
@@ -434,6 +439,7 @@ The error message for a dropdown counter with errored counters can also be overr
|
|
|
434
439
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-error-custom.html) -->
|
|
435
440
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-error-custom.html -->
|
|
436
441
|
<auro-counter-group error="Please select the appropriate number of passengers" isDropdown>
|
|
442
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
437
443
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
438
444
|
<div slot="label">Passengers</div>
|
|
439
445
|
<auro-counter error="Cannot have less than 1 adult passenger">
|
|
@@ -454,6 +460,7 @@ The error message for a dropdown counter with errored counters can also be overr
|
|
|
454
460
|
|
|
455
461
|
```html
|
|
456
462
|
<auro-counter-group error="Please select the appropriate number of passengers" isDropdown>
|
|
463
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
457
464
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
458
465
|
<div slot="label">Passengers</div>
|
|
459
466
|
<auro-counter error="Cannot have less than 1 adult passenger">
|
|
@@ -664,6 +671,7 @@ You can also set `bib.fullscreen.footer` slot to add any additional options on f
|
|
|
664
671
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-mobile-properties.html -->
|
|
665
672
|
<div style="max-width: 350px;">
|
|
666
673
|
<auro-counter-group id="dropdownCouterExample" isDropdown fullscreenBreakpoint="lg">
|
|
674
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
667
675
|
<span slot="label">Passengers</span>
|
|
668
676
|
<span slot="bib.fullscreen.headline">Passengers</span>
|
|
669
677
|
<div slot="helpText">This is help text</div>
|
|
@@ -695,6 +703,7 @@ You can also set `bib.fullscreen.footer` slot to add any additional options on f
|
|
|
695
703
|
```html
|
|
696
704
|
<div style="max-width: 350px;">
|
|
697
705
|
<auro-counter-group id="dropdownCouterExample" isDropdown fullscreenBreakpoint="lg">
|
|
706
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
698
707
|
<span slot="label">Passengers</span>
|
|
699
708
|
<span slot="bib.fullscreen.headline">Passengers</span>
|
|
700
709
|
<div slot="helpText">This is help text</div>
|
|
@@ -9389,8 +9389,9 @@ class AuroBibtemplate extends i$2 {
|
|
|
9389
9389
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9390
9390
|
<slot name="header"></slot>
|
|
9391
9391
|
</${this.headerTag}>
|
|
9392
|
-
<${this.buttonTag} id="closeButton"
|
|
9393
|
-
|
|
9392
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9393
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
9394
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
9394
9395
|
</${this.buttonTag}>
|
|
9395
9396
|
</div>
|
|
9396
9397
|
<span class="subheader">
|
|
@@ -9582,6 +9583,7 @@ class AuroElement extends i$2 {
|
|
|
9582
9583
|
* @element auro-counter-group
|
|
9583
9584
|
* @extends LitElement
|
|
9584
9585
|
* @slot default - Slot for counter elements.
|
|
9586
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
9585
9587
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
9586
9588
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
9587
9589
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -10269,6 +10271,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10269
10271
|
renderBibTemplate() {
|
|
10270
10272
|
return u`
|
|
10271
10273
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
10274
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
|
|
10272
10275
|
${this.renderCounterGroup(true)}
|
|
10273
10276
|
</${this.bibtemplateTag}>
|
|
10274
10277
|
`;
|
|
@@ -260,6 +260,7 @@ When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
|
260
260
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-basic.html) -->
|
|
261
261
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-basic.html -->
|
|
262
262
|
<auro-counter-group isDropdown>
|
|
263
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
263
264
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
264
265
|
<div slot="label">Passengers</div>
|
|
265
266
|
<auro-counter>
|
|
@@ -295,6 +296,7 @@ When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
|
295
296
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-snowflake.html -->
|
|
296
297
|
<!-- Example of counter-group properties -->
|
|
297
298
|
<auro-counter-group max="10" min="2" isDropdown layout="snowflake">
|
|
299
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
298
300
|
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
299
301
|
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
300
302
|
<div slot="label">Snowflake Dropdown Group</div>
|
|
@@ -313,6 +315,7 @@ When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
|
313
315
|
<!-- The below content is automatically added from ./../apiExamples/onDark-dropdown-snowflake.html -->
|
|
314
316
|
<!-- Example of counter-group properties -->
|
|
315
317
|
<auro-counter-group max="10" min="2" isDropdown layout="snowflake" ondark>
|
|
318
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
316
319
|
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
317
320
|
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
318
321
|
<div slot="label">Snowflake Dropdown Group</div>
|
|
@@ -332,6 +335,7 @@ When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
|
332
335
|
<!-- The below code snippet is automatically added from ./../apiExamples/dropdown-basic.html -->
|
|
333
336
|
```html
|
|
334
337
|
<auro-counter-group isDropdown>
|
|
338
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
335
339
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
336
340
|
<div slot="label">Passengers</div>
|
|
337
341
|
<auro-counter>
|
|
@@ -364,6 +368,7 @@ When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
|
364
368
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-snowflake.html -->
|
|
365
369
|
<!-- Example of counter-group properties -->
|
|
366
370
|
<auro-counter-group max="10" min="2" isDropdown layout="snowflake">
|
|
371
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
367
372
|
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
368
373
|
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
369
374
|
<div slot="label">Snowflake Dropdown Group</div>
|
|
@@ -380,6 +385,7 @@ When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
|
380
385
|
<!-- The below content is automatically added from ./../apiExamples/onDark-dropdown-snowflake.html -->
|
|
381
386
|
<!-- Example of counter-group properties -->
|
|
382
387
|
<auro-counter-group max="10" min="2" isDropdown layout="snowflake" ondark>
|
|
388
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
383
389
|
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
384
390
|
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
385
391
|
<div slot="label">Snowflake Dropdown Group</div>
|
|
@@ -9389,8 +9389,9 @@ class AuroBibtemplate extends i$2 {
|
|
|
9389
9389
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9390
9390
|
<slot name="header"></slot>
|
|
9391
9391
|
</${this.headerTag}>
|
|
9392
|
-
<${this.buttonTag} id="closeButton"
|
|
9393
|
-
|
|
9392
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9393
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
9394
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
9394
9395
|
</${this.buttonTag}>
|
|
9395
9396
|
</div>
|
|
9396
9397
|
<span class="subheader">
|
|
@@ -9582,6 +9583,7 @@ class AuroElement extends i$2 {
|
|
|
9582
9583
|
* @element auro-counter-group
|
|
9583
9584
|
* @extends LitElement
|
|
9584
9585
|
* @slot default - Slot for counter elements.
|
|
9586
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
9585
9587
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
9586
9588
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
9587
9589
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -10269,6 +10271,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10269
10271
|
renderBibTemplate() {
|
|
10270
10272
|
return u`
|
|
10271
10273
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
10274
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
|
|
10272
10275
|
${this.renderCounterGroup(true)}
|
|
10273
10276
|
</${this.bibtemplateTag}>
|
|
10274
10277
|
`;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @element auro-counter-group
|
|
8
8
|
* @extends LitElement
|
|
9
9
|
* @slot default - Slot for counter elements.
|
|
10
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
10
11
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
11
12
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
12
13
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -9342,8 +9342,9 @@ class AuroBibtemplate extends LitElement {
|
|
|
9342
9342
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9343
9343
|
<slot name="header"></slot>
|
|
9344
9344
|
</${this.headerTag}>
|
|
9345
|
-
<${this.buttonTag} id="closeButton"
|
|
9346
|
-
|
|
9345
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9346
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
9347
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
9347
9348
|
</${this.buttonTag}>
|
|
9348
9349
|
</div>
|
|
9349
9350
|
<span class="subheader">
|
|
@@ -9535,6 +9536,7 @@ class AuroElement extends LitElement {
|
|
|
9535
9536
|
* @element auro-counter-group
|
|
9536
9537
|
* @extends LitElement
|
|
9537
9538
|
* @slot default - Slot for counter elements.
|
|
9539
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
9538
9540
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
9539
9541
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
9540
9542
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -10222,6 +10224,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10222
10224
|
renderBibTemplate() {
|
|
10223
10225
|
return html$1`
|
|
10224
10226
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
10227
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
|
|
10225
10228
|
${this.renderCounterGroup(true)}
|
|
10226
10229
|
</${this.bibtemplateTag}>
|
|
10227
10230
|
`;
|
|
@@ -9342,8 +9342,9 @@ class AuroBibtemplate extends LitElement {
|
|
|
9342
9342
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
9343
9343
|
<slot name="header"></slot>
|
|
9344
9344
|
</${this.headerTag}>
|
|
9345
|
-
<${this.buttonTag} id="closeButton"
|
|
9346
|
-
|
|
9345
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
9346
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
9347
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
9347
9348
|
</${this.buttonTag}>
|
|
9348
9349
|
</div>
|
|
9349
9350
|
<span class="subheader">
|
|
@@ -9535,6 +9536,7 @@ class AuroElement extends LitElement {
|
|
|
9535
9536
|
* @element auro-counter-group
|
|
9536
9537
|
* @extends LitElement
|
|
9537
9538
|
* @slot default - Slot for counter elements.
|
|
9539
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
9538
9540
|
* @slot bib.fullscreen.headline - Defines the headline to display above menu-options. Only used when `isDropdown` is true. Required.
|
|
9539
9541
|
* @slot bib.fullscreen.footer - Defines the footer to display at the bottom of fullscreen bib. Only used when `isDropdown` is true.
|
|
9540
9542
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
@@ -10222,6 +10224,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10222
10224
|
renderBibTemplate() {
|
|
10223
10225
|
return html$1`
|
|
10224
10226
|
<${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}">
|
|
10227
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close">Close</slot>
|
|
10225
10228
|
${this.renderCounterGroup(true)}
|
|
10226
10229
|
</${this.bibtemplateTag}>
|
|
10227
10230
|
`;
|
|
@@ -84,6 +84,7 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
86
|
<auro-datepicker required="">
|
|
87
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
87
88
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
88
89
|
<span slot="fromLabel">Choose a date</span>
|
|
89
90
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
|
|
76
76
|
| Name | Description |
|
|
77
77
|
|----------------------------|--------------------------------------------------|
|
|
78
|
+
| `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
|
|
78
79
|
| `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
|
|
79
80
|
| `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
|
|
80
81
|
| `date_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot. |
|
|
@@ -104,6 +105,7 @@
|
|
|
104
105
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
105
106
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
106
107
|
<auro-datepicker required="">
|
|
108
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
107
109
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
108
110
|
<span slot="fromLabel">Choose a date</span>
|
|
109
111
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -117,6 +119,7 @@
|
|
|
117
119
|
|
|
118
120
|
```html
|
|
119
121
|
<auro-datepicker required="">
|
|
122
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
120
123
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
121
124
|
<span slot="fromLabel">Choose a date</span>
|
|
122
125
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -133,6 +136,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
133
136
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
134
137
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
135
138
|
<auro-datepicker range minDate="07/08/2025">
|
|
139
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
136
140
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
137
141
|
<span slot="fromLabel">Departure</span>
|
|
138
142
|
<span slot="toLabel">Return</span>
|
|
@@ -147,6 +151,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
147
151
|
|
|
148
152
|
```html
|
|
149
153
|
<auro-datepicker range minDate="07/08/2025">
|
|
154
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
150
155
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
151
156
|
<span slot="fromLabel">Departure</span>
|
|
152
157
|
<span slot="toLabel">Return</span>
|
|
@@ -911,6 +916,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
911
916
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
912
917
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
913
918
|
<auro-datepicker required="">
|
|
919
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
914
920
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
915
921
|
<span slot="fromLabel">Choose a date</span>
|
|
916
922
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -924,6 +930,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
924
930
|
|
|
925
931
|
```html
|
|
926
932
|
<auro-datepicker required="">
|
|
933
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
927
934
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
928
935
|
<span slot="fromLabel">Choose a date</span>
|
|
929
936
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -972,6 +979,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
972
979
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
973
980
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
974
981
|
<auro-datepicker required="">
|
|
982
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
975
983
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
976
984
|
<span slot="fromLabel">Choose a date</span>
|
|
977
985
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -985,6 +993,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
985
993
|
|
|
986
994
|
```html
|
|
987
995
|
<auro-datepicker required="">
|
|
996
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
988
997
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
989
998
|
<span slot="fromLabel">Choose a date</span>
|
|
990
999
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -1001,6 +1010,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1001
1010
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
1002
1011
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
1003
1012
|
<auro-datepicker range minDate="07/08/2025">
|
|
1013
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
1004
1014
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1005
1015
|
<span slot="fromLabel">Departure</span>
|
|
1006
1016
|
<span slot="toLabel">Return</span>
|
|
@@ -1015,6 +1025,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1015
1025
|
|
|
1016
1026
|
```html
|
|
1017
1027
|
<auro-datepicker range minDate="07/08/2025">
|
|
1028
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
1018
1029
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1019
1030
|
<span slot="fromLabel">Departure</span>
|
|
1020
1031
|
<span slot="toLabel">Return</span>
|
|
@@ -13073,8 +13073,9 @@ class AuroBibtemplate extends i {
|
|
|
13073
13073
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
13074
13074
|
<slot name="header"></slot>
|
|
13075
13075
|
</${this.headerTag}>
|
|
13076
|
-
<${this.buttonTag} id="closeButton"
|
|
13077
|
-
|
|
13076
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
13077
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
13078
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
13078
13079
|
</${this.buttonTag}>
|
|
13079
13080
|
</div>
|
|
13080
13081
|
<span class="subheader">
|
|
@@ -14507,6 +14508,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14507
14508
|
?large="${this.largeFullscreenHeadline}"
|
|
14508
14509
|
?isFullscreen="${this.isFullscreen}"
|
|
14509
14510
|
@close-click="${this.utilCal.requestDismiss}">
|
|
14511
|
+
<span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
|
|
14510
14512
|
|
|
14511
14513
|
<span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
|
|
14512
14514
|
|
|
@@ -23865,6 +23867,9 @@ let AuroElement$2 = class AuroElement extends i {
|
|
|
23865
23867
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23866
23868
|
* @attr id
|
|
23867
23869
|
*
|
|
23870
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23871
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23872
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23868
23873
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23869
23874
|
* @slot label - Sets the label text for the input.
|
|
23870
23875
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -24292,8 +24297,7 @@ class BaseInput extends AuroElement$2 {
|
|
|
24292
24297
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
24293
24298
|
*/
|
|
24294
24299
|
value: {
|
|
24295
|
-
type: String
|
|
24296
|
-
reflect: true
|
|
24300
|
+
type: String
|
|
24297
24301
|
},
|
|
24298
24302
|
|
|
24299
24303
|
/**
|
|
@@ -27005,12 +27009,13 @@ class AuroInput extends BaseInput {
|
|
|
27005
27009
|
<${this.buttonTag}
|
|
27006
27010
|
@click="${this.handleClickClear}"
|
|
27007
27011
|
?onDark="${this.onDark}"
|
|
27008
|
-
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
27009
27012
|
class="notificationBtn clearBtn"
|
|
27010
27013
|
shape="circle"
|
|
27011
27014
|
size="sm"
|
|
27012
27015
|
variant="ghost">
|
|
27016
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
27013
27017
|
<${this.iconTag}
|
|
27018
|
+
aria-hidden="true"
|
|
27014
27019
|
?customColor="${this.onDark}"
|
|
27015
27020
|
category="interface"
|
|
27016
27021
|
name="x-lg"
|
|
@@ -27033,18 +27038,23 @@ class AuroInput extends BaseInput {
|
|
|
27033
27038
|
@click="${this.handleClickShowPassword}"
|
|
27034
27039
|
?onDark="${this.onDark}"
|
|
27035
27040
|
class="notificationBtn passwordBtn"
|
|
27036
|
-
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
27037
27041
|
shape="circle"
|
|
27038
27042
|
size="sm"
|
|
27039
27043
|
variant="ghost">
|
|
27044
|
+
<span>
|
|
27045
|
+
${this.showPassword ? u$3`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
27046
|
+
: u$3`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
27047
|
+
</span>
|
|
27040
27048
|
<${this.iconTag}
|
|
27041
27049
|
?customColor="${this.onDark}"
|
|
27050
|
+
aria-hidden="true"
|
|
27042
27051
|
?hidden=${!this.showPassword}
|
|
27043
27052
|
category="interface"
|
|
27044
27053
|
name="hide-password-stroke">
|
|
27045
27054
|
</${this.iconTag}>
|
|
27046
27055
|
<${this.iconTag}
|
|
27047
27056
|
?customColor="${this.onDark}"
|
|
27057
|
+
aria-hidden="true"
|
|
27048
27058
|
?hidden=${this.showPassword}
|
|
27049
27059
|
category="interface"
|
|
27050
27060
|
name="view-password-stroke">
|
|
@@ -28068,6 +28078,7 @@ var iconVersion = '8.0.1';
|
|
|
28068
28078
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
28069
28079
|
/**
|
|
28070
28080
|
* @slot helpText - Defines the content of the helpText.
|
|
28081
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
28071
28082
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
28072
28083
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
28073
28084
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29646,6 +29657,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29646
29657
|
.monthNames="${this.monthNames}"
|
|
29647
29658
|
part="calendar"
|
|
29648
29659
|
>
|
|
29660
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29649
29661
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29650
29662
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29651
29663
|
<span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|