@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.98 → 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 +25 -14
- package/components/combobox/demo/index.md +12 -0
- package/components/combobox/demo/index.min.js +25 -14
- 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/select/README.md +1 -0
- package/components/select/demo/api.md +3 -0
- package/components/select/demo/api.min.js +7 -2
- package/components/select/demo/index.md +8 -0
- package/components/select/demo/index.min.js +7 -2
- 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
|
@@ -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>
|
|
@@ -24,6 +24,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
24
24
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark.html) -->
|
|
25
25
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark.html -->
|
|
26
26
|
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
27
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
27
28
|
<span slot="label">Date</span>
|
|
28
29
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
29
30
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -35,6 +36,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
35
36
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark.html) -->
|
|
36
37
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark.html -->
|
|
37
38
|
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
39
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
38
40
|
<span slot="label">Date</span>
|
|
39
41
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
40
42
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -49,6 +51,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
49
51
|
|
|
50
52
|
```html
|
|
51
53
|
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
54
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
52
55
|
<span slot="label">Date</span>
|
|
53
56
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
54
57
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -63,6 +66,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
63
66
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark-range.html) -->
|
|
64
67
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark-range.html -->
|
|
65
68
|
<auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
69
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
66
70
|
<span slot="label">Dates</span>
|
|
67
71
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
68
72
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -74,6 +78,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
74
78
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ondark-range.html) -->
|
|
75
79
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/ondark-range.html -->
|
|
76
80
|
<auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
81
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
77
82
|
<span slot="label">Dates</span>
|
|
78
83
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
79
84
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -88,6 +93,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
88
93
|
|
|
89
94
|
```html
|
|
90
95
|
<auro-datepicker range layout="snowflake" shape="snowflake" ondark placeholder="MM/DD">
|
|
96
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
91
97
|
<span slot="label">Dates</span>
|
|
92
98
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
93
99
|
<span slot="fromLabel">Choose a date</span>
|
|
@@ -103,6 +109,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
103
109
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
104
110
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
105
111
|
<auro-datepicker required="">
|
|
112
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
106
113
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
107
114
|
<span slot="fromLabel">Choose a date</span>
|
|
108
115
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -113,6 +120,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
113
120
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
|
|
114
121
|
<!-- The below content is automatically added from ./../apiExamples/onDark.html -->
|
|
115
122
|
<auro-datepicker onDark>
|
|
123
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
116
124
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
117
125
|
<span slot="fromLabel">Choose a date</span>
|
|
118
126
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -126,6 +134,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
126
134
|
|
|
127
135
|
```html
|
|
128
136
|
<auro-datepicker required="">
|
|
137
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
129
138
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
130
139
|
<span slot="fromLabel">Choose a date</span>
|
|
131
140
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -135,6 +144,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
135
144
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark.html) -->
|
|
136
145
|
<!-- The below content is automatically added from ./../apiExamples/onDark.html -->
|
|
137
146
|
<auro-datepicker onDark>
|
|
147
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
138
148
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
139
149
|
<span slot="fromLabel">Choose a date</span>
|
|
140
150
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -148,6 +158,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
148
158
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
149
159
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
150
160
|
<auro-datepicker range minDate="07/08/2025">
|
|
161
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
151
162
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
152
163
|
<span slot="fromLabel">Departure</span>
|
|
153
164
|
<span slot="toLabel">Return</span>
|
|
@@ -173,6 +184,7 @@ The `<auro-datepicker>` element should be used in situations where users may:
|
|
|
173
184
|
|
|
174
185
|
```html
|
|
175
186
|
<auro-datepicker range minDate="07/08/2025">
|
|
187
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
176
188
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
177
189
|
<span slot="fromLabel">Departure</span>
|
|
178
190
|
<span slot="toLabel">Return</span>
|
|
@@ -12814,8 +12814,9 @@ class AuroBibtemplate extends i {
|
|
|
12814
12814
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
12815
12815
|
<slot name="header"></slot>
|
|
12816
12816
|
</${this.headerTag}>
|
|
12817
|
-
<${this.buttonTag} id="closeButton"
|
|
12818
|
-
|
|
12817
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
12818
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
12819
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
12819
12820
|
</${this.buttonTag}>
|
|
12820
12821
|
</div>
|
|
12821
12822
|
<span class="subheader">
|
|
@@ -14248,6 +14249,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14248
14249
|
?large="${this.largeFullscreenHeadline}"
|
|
14249
14250
|
?isFullscreen="${this.isFullscreen}"
|
|
14250
14251
|
@close-click="${this.utilCal.requestDismiss}">
|
|
14252
|
+
<span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
|
|
14251
14253
|
|
|
14252
14254
|
<span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
|
|
14253
14255
|
|
|
@@ -23606,6 +23608,9 @@ let AuroElement$2 = class AuroElement extends i {
|
|
|
23606
23608
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23607
23609
|
* @attr id
|
|
23608
23610
|
*
|
|
23611
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23612
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23613
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23609
23614
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23610
23615
|
* @slot label - Sets the label text for the input.
|
|
23611
23616
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -24033,8 +24038,7 @@ class BaseInput extends AuroElement$2 {
|
|
|
24033
24038
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
24034
24039
|
*/
|
|
24035
24040
|
value: {
|
|
24036
|
-
type: String
|
|
24037
|
-
reflect: true
|
|
24041
|
+
type: String
|
|
24038
24042
|
},
|
|
24039
24043
|
|
|
24040
24044
|
/**
|
|
@@ -26746,12 +26750,13 @@ class AuroInput extends BaseInput {
|
|
|
26746
26750
|
<${this.buttonTag}
|
|
26747
26751
|
@click="${this.handleClickClear}"
|
|
26748
26752
|
?onDark="${this.onDark}"
|
|
26749
|
-
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
26750
26753
|
class="notificationBtn clearBtn"
|
|
26751
26754
|
shape="circle"
|
|
26752
26755
|
size="sm"
|
|
26753
26756
|
variant="ghost">
|
|
26757
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
26754
26758
|
<${this.iconTag}
|
|
26759
|
+
aria-hidden="true"
|
|
26755
26760
|
?customColor="${this.onDark}"
|
|
26756
26761
|
category="interface"
|
|
26757
26762
|
name="x-lg"
|
|
@@ -26774,18 +26779,23 @@ class AuroInput extends BaseInput {
|
|
|
26774
26779
|
@click="${this.handleClickShowPassword}"
|
|
26775
26780
|
?onDark="${this.onDark}"
|
|
26776
26781
|
class="notificationBtn passwordBtn"
|
|
26777
|
-
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
26778
26782
|
shape="circle"
|
|
26779
26783
|
size="sm"
|
|
26780
26784
|
variant="ghost">
|
|
26785
|
+
<span>
|
|
26786
|
+
${this.showPassword ? u$3`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
26787
|
+
: u$3`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
26788
|
+
</span>
|
|
26781
26789
|
<${this.iconTag}
|
|
26782
26790
|
?customColor="${this.onDark}"
|
|
26791
|
+
aria-hidden="true"
|
|
26783
26792
|
?hidden=${!this.showPassword}
|
|
26784
26793
|
category="interface"
|
|
26785
26794
|
name="hide-password-stroke">
|
|
26786
26795
|
</${this.iconTag}>
|
|
26787
26796
|
<${this.iconTag}
|
|
26788
26797
|
?customColor="${this.onDark}"
|
|
26798
|
+
aria-hidden="true"
|
|
26789
26799
|
?hidden=${this.showPassword}
|
|
26790
26800
|
category="interface"
|
|
26791
26801
|
name="view-password-stroke">
|
|
@@ -27809,6 +27819,7 @@ var iconVersion = '8.0.1';
|
|
|
27809
27819
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
27810
27820
|
/**
|
|
27811
27821
|
* @slot helpText - Defines the content of the helpText.
|
|
27822
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
27812
27823
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
27813
27824
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
27814
27825
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29387,6 +29398,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29387
29398
|
.monthNames="${this.monthNames}"
|
|
29388
29399
|
part="calendar"
|
|
29389
29400
|
>
|
|
29401
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29390
29402
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29391
29403
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29392
29404
|
<span slot="bib.fullscreen.fromStr">${this.value || u$3`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|
|
@@ -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>
|