@aurodesignsystem-dev/auro-formkit 0.0.0-pr832.1 → 0.0.0-pr832.2
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 +4 -3
- package/components/bibtemplate/dist/registered.js +4 -3
- package/components/combobox/README.md +2 -0
- package/components/combobox/demo/api.md +6 -0
- package/components/combobox/demo/api.min.js +35 -28
- package/components/combobox/demo/index.md +12 -0
- package/components/combobox/demo/index.min.js +35 -28
- package/components/combobox/demo/readme.md +2 -0
- package/components/combobox/dist/auro-combobox.d.ts +2 -0
- package/components/combobox/dist/index.js +28 -17
- package/components/combobox/dist/registered.js +28 -17
- package/components/counter/demo/api.md +9 -0
- package/components/counter/demo/api.min.js +6 -3
- package/components/counter/demo/index.md +6 -0
- package/components/counter/demo/index.min.js +6 -3
- package/components/counter/dist/auro-counter-group.d.ts +1 -0
- package/components/counter/dist/index.js +6 -3
- package/components/counter/dist/registered.js +6 -3
- package/components/datepicker/README.md +1 -0
- package/components/datepicker/demo/api.md +11 -0
- package/components/datepicker/demo/api.min.js +21 -9
- package/components/datepicker/demo/index.md +12 -0
- package/components/datepicker/demo/index.min.js +21 -9
- package/components/datepicker/demo/readme.md +1 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +1 -0
- package/components/datepicker/dist/index.js +21 -9
- package/components/datepicker/dist/registered.js +21 -9
- package/components/input/README.md +1 -0
- package/components/input/demo/api.md +14 -6
- package/components/input/demo/api.min.js +14 -6
- package/components/input/demo/index.md +7 -0
- package/components/input/demo/index.min.js +14 -6
- package/components/input/demo/readme.md +1 -0
- package/components/input/dist/auro-input.d.ts +2 -2
- package/components/input/dist/base-input.d.ts +3 -1
- package/components/input/dist/index.js +14 -6
- package/components/input/dist/registered.js +14 -6
- package/components/menu/demo/api.min.js +3 -7
- package/components/menu/demo/index.min.js +3 -7
- package/components/menu/dist/index.js +3 -7
- package/components/menu/dist/registered.js +3 -7
- package/components/select/README.md +1 -0
- package/components/select/demo/api.md +3 -0
- package/components/select/demo/api.min.js +22 -21
- package/components/select/demo/index.md +8 -0
- package/components/select/demo/index.min.js +22 -21
- package/components/select/demo/readme.md +1 -0
- package/components/select/dist/auro-select.d.ts +2 -1
- package/components/select/dist/index.js +15 -10
- package/components/select/dist/registered.js +15 -10
- package/package.json +1 -1
- package/components/menu/dist/styles/shapeSize-css.d.ts +0 -2
|
@@ -11165,7 +11165,7 @@ class CalendarUtilities {
|
|
|
11165
11165
|
|
|
11166
11166
|
var colorCss$3$2 = i$2`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
11167
11167
|
|
|
11168
|
-
var styleCss$4$1 = i$2`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
11168
|
+
var styleCss$4$1 = i$2`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
11169
11169
|
|
|
11170
11170
|
var tokenCss = i$2`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
11171
11171
|
|
|
@@ -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
|
|
|
@@ -23855,6 +23857,9 @@ let AuroElement$2 = class AuroElement extends i {
|
|
|
23855
23857
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23856
23858
|
* @attr id
|
|
23857
23859
|
*
|
|
23860
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23861
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23862
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23858
23863
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23859
23864
|
* @slot label - Sets the label text for the input.
|
|
23860
23865
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -24282,8 +24287,7 @@ class BaseInput extends AuroElement$2 {
|
|
|
24282
24287
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
24283
24288
|
*/
|
|
24284
24289
|
value: {
|
|
24285
|
-
type: String
|
|
24286
|
-
reflect: true
|
|
24290
|
+
type: String
|
|
24287
24291
|
},
|
|
24288
24292
|
|
|
24289
24293
|
/**
|
|
@@ -26791,7 +26795,7 @@ class AuroInput extends BaseInput {
|
|
|
26791
26795
|
/**
|
|
26792
26796
|
* Returns classmap configuration for html5 input labels in all layouts.
|
|
26793
26797
|
* @private
|
|
26794
|
-
* @returns {
|
|
26798
|
+
* @returns {Record<string, boolean>}
|
|
26795
26799
|
*/
|
|
26796
26800
|
get commonLabelClasses() {
|
|
26797
26801
|
return {
|
|
@@ -26805,7 +26809,7 @@ class AuroInput extends BaseInput {
|
|
|
26805
26809
|
/**
|
|
26806
26810
|
* Returns classmap configuration for html5 inputs in all layouts.
|
|
26807
26811
|
* @private
|
|
26808
|
-
* @returns {
|
|
26812
|
+
* @returns {Record<string, boolean>} - Returns classmap.
|
|
26809
26813
|
*/
|
|
26810
26814
|
get commonInputClasses() {
|
|
26811
26815
|
return {
|
|
@@ -26995,12 +26999,13 @@ class AuroInput extends BaseInput {
|
|
|
26995
26999
|
<${this.buttonTag}
|
|
26996
27000
|
@click="${this.handleClickClear}"
|
|
26997
27001
|
?onDark="${this.onDark}"
|
|
26998
|
-
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
26999
27002
|
class="notificationBtn clearBtn"
|
|
27000
27003
|
shape="circle"
|
|
27001
27004
|
size="sm"
|
|
27002
27005
|
variant="ghost">
|
|
27006
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
27003
27007
|
<${this.iconTag}
|
|
27008
|
+
aria-hidden="true"
|
|
27004
27009
|
?customColor="${this.onDark}"
|
|
27005
27010
|
category="interface"
|
|
27006
27011
|
name="x-lg"
|
|
@@ -27023,18 +27028,23 @@ class AuroInput extends BaseInput {
|
|
|
27023
27028
|
@click="${this.handleClickShowPassword}"
|
|
27024
27029
|
?onDark="${this.onDark}"
|
|
27025
27030
|
class="notificationBtn passwordBtn"
|
|
27026
|
-
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
27027
27031
|
shape="circle"
|
|
27028
27032
|
size="sm"
|
|
27029
27033
|
variant="ghost">
|
|
27034
|
+
<span>
|
|
27035
|
+
${this.showPassword ? u$3`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
27036
|
+
: u$3`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
27037
|
+
</span>
|
|
27030
27038
|
<${this.iconTag}
|
|
27031
27039
|
?customColor="${this.onDark}"
|
|
27040
|
+
aria-hidden="true"
|
|
27032
27041
|
?hidden=${!this.showPassword}
|
|
27033
27042
|
category="interface"
|
|
27034
27043
|
name="hide-password-stroke">
|
|
27035
27044
|
</${this.iconTag}>
|
|
27036
27045
|
<${this.iconTag}
|
|
27037
27046
|
?customColor="${this.onDark}"
|
|
27047
|
+
aria-hidden="true"
|
|
27038
27048
|
?hidden=${this.showPassword}
|
|
27039
27049
|
category="interface"
|
|
27040
27050
|
name="view-password-stroke">
|
|
@@ -28058,6 +28068,7 @@ var iconVersion = '8.0.1';
|
|
|
28058
28068
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
28059
28069
|
/**
|
|
28060
28070
|
* @slot helpText - Defines the content of the helpText.
|
|
28071
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
28061
28072
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
28062
28073
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
28063
28074
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29636,6 +29647,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29636
29647
|
.monthNames="${this.monthNames}"
|
|
29637
29648
|
part="calendar"
|
|
29638
29649
|
>
|
|
29650
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29639
29651
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29640
29652
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29641
29653
|
<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>
|
|
@@ -10906,7 +10906,7 @@ class CalendarUtilities {
|
|
|
10906
10906
|
|
|
10907
10907
|
var colorCss$3$2 = i$2`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
10908
10908
|
|
|
10909
|
-
var styleCss$4$1 = i$2`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10909
|
+
var styleCss$4$1 = i$2`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10910
10910
|
|
|
10911
10911
|
var tokenCss = i$2`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
10912
10912
|
|
|
@@ -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
|
|
|
@@ -23596,6 +23598,9 @@ let AuroElement$2 = class AuroElement extends i {
|
|
|
23596
23598
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23597
23599
|
* @attr id
|
|
23598
23600
|
*
|
|
23601
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23602
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23603
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23599
23604
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23600
23605
|
* @slot label - Sets the label text for the input.
|
|
23601
23606
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -24023,8 +24028,7 @@ class BaseInput extends AuroElement$2 {
|
|
|
24023
24028
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
24024
24029
|
*/
|
|
24025
24030
|
value: {
|
|
24026
|
-
type: String
|
|
24027
|
-
reflect: true
|
|
24031
|
+
type: String
|
|
24028
24032
|
},
|
|
24029
24033
|
|
|
24030
24034
|
/**
|
|
@@ -26532,7 +26536,7 @@ class AuroInput extends BaseInput {
|
|
|
26532
26536
|
/**
|
|
26533
26537
|
* Returns classmap configuration for html5 input labels in all layouts.
|
|
26534
26538
|
* @private
|
|
26535
|
-
* @returns {
|
|
26539
|
+
* @returns {Record<string, boolean>}
|
|
26536
26540
|
*/
|
|
26537
26541
|
get commonLabelClasses() {
|
|
26538
26542
|
return {
|
|
@@ -26546,7 +26550,7 @@ class AuroInput extends BaseInput {
|
|
|
26546
26550
|
/**
|
|
26547
26551
|
* Returns classmap configuration for html5 inputs in all layouts.
|
|
26548
26552
|
* @private
|
|
26549
|
-
* @returns {
|
|
26553
|
+
* @returns {Record<string, boolean>} - Returns classmap.
|
|
26550
26554
|
*/
|
|
26551
26555
|
get commonInputClasses() {
|
|
26552
26556
|
return {
|
|
@@ -26736,12 +26740,13 @@ class AuroInput extends BaseInput {
|
|
|
26736
26740
|
<${this.buttonTag}
|
|
26737
26741
|
@click="${this.handleClickClear}"
|
|
26738
26742
|
?onDark="${this.onDark}"
|
|
26739
|
-
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
26740
26743
|
class="notificationBtn clearBtn"
|
|
26741
26744
|
shape="circle"
|
|
26742
26745
|
size="sm"
|
|
26743
26746
|
variant="ghost">
|
|
26747
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
26744
26748
|
<${this.iconTag}
|
|
26749
|
+
aria-hidden="true"
|
|
26745
26750
|
?customColor="${this.onDark}"
|
|
26746
26751
|
category="interface"
|
|
26747
26752
|
name="x-lg"
|
|
@@ -26764,18 +26769,23 @@ class AuroInput extends BaseInput {
|
|
|
26764
26769
|
@click="${this.handleClickShowPassword}"
|
|
26765
26770
|
?onDark="${this.onDark}"
|
|
26766
26771
|
class="notificationBtn passwordBtn"
|
|
26767
|
-
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
26768
26772
|
shape="circle"
|
|
26769
26773
|
size="sm"
|
|
26770
26774
|
variant="ghost">
|
|
26775
|
+
<span>
|
|
26776
|
+
${this.showPassword ? u$3`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
26777
|
+
: u$3`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
26778
|
+
</span>
|
|
26771
26779
|
<${this.iconTag}
|
|
26772
26780
|
?customColor="${this.onDark}"
|
|
26781
|
+
aria-hidden="true"
|
|
26773
26782
|
?hidden=${!this.showPassword}
|
|
26774
26783
|
category="interface"
|
|
26775
26784
|
name="hide-password-stroke">
|
|
26776
26785
|
</${this.iconTag}>
|
|
26777
26786
|
<${this.iconTag}
|
|
26778
26787
|
?customColor="${this.onDark}"
|
|
26788
|
+
aria-hidden="true"
|
|
26779
26789
|
?hidden=${this.showPassword}
|
|
26780
26790
|
category="interface"
|
|
26781
26791
|
name="view-password-stroke">
|
|
@@ -27799,6 +27809,7 @@ var iconVersion = '8.0.1';
|
|
|
27799
27809
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
27800
27810
|
/**
|
|
27801
27811
|
* @slot helpText - Defines the content of the helpText.
|
|
27812
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
27802
27813
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
27803
27814
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
27804
27815
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29377,6 +29388,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29377
29388
|
.monthNames="${this.monthNames}"
|
|
29378
29389
|
part="calendar"
|
|
29379
29390
|
>
|
|
29391
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29380
29392
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29381
29393
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29382
29394
|
<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>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @slot helpText - Defines the content of the helpText.
|
|
3
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
3
4
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
4
5
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
5
6
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -10855,7 +10855,7 @@ class CalendarUtilities {
|
|
|
10855
10855
|
|
|
10856
10856
|
var colorCss$3$2 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
10857
10857
|
|
|
10858
|
-
var styleCss$4$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10858
|
+
var styleCss$4$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10859
10859
|
|
|
10860
10860
|
var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
10861
10861
|
|
|
@@ -12763,8 +12763,9 @@ class AuroBibtemplate extends LitElement {
|
|
|
12763
12763
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
12764
12764
|
<slot name="header"></slot>
|
|
12765
12765
|
</${this.headerTag}>
|
|
12766
|
-
<${this.buttonTag} id="closeButton"
|
|
12767
|
-
|
|
12766
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
12767
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
12768
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
12768
12769
|
</${this.buttonTag}>
|
|
12769
12770
|
</div>
|
|
12770
12771
|
<span class="subheader">
|
|
@@ -14197,6 +14198,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14197
14198
|
?large="${this.largeFullscreenHeadline}"
|
|
14198
14199
|
?isFullscreen="${this.isFullscreen}"
|
|
14199
14200
|
@close-click="${this.utilCal.requestDismiss}">
|
|
14201
|
+
<span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
|
|
14200
14202
|
|
|
14201
14203
|
<span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
|
|
14202
14204
|
|
|
@@ -23532,6 +23534,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
23532
23534
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23533
23535
|
* @attr id
|
|
23534
23536
|
*
|
|
23537
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23538
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23539
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23535
23540
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23536
23541
|
* @slot label - Sets the label text for the input.
|
|
23537
23542
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -23959,8 +23964,7 @@ class BaseInput extends AuroElement$2 {
|
|
|
23959
23964
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
23960
23965
|
*/
|
|
23961
23966
|
value: {
|
|
23962
|
-
type: String
|
|
23963
|
-
reflect: true
|
|
23967
|
+
type: String
|
|
23964
23968
|
},
|
|
23965
23969
|
|
|
23966
23970
|
/**
|
|
@@ -26468,7 +26472,7 @@ class AuroInput extends BaseInput {
|
|
|
26468
26472
|
/**
|
|
26469
26473
|
* Returns classmap configuration for html5 input labels in all layouts.
|
|
26470
26474
|
* @private
|
|
26471
|
-
* @returns {
|
|
26475
|
+
* @returns {Record<string, boolean>}
|
|
26472
26476
|
*/
|
|
26473
26477
|
get commonLabelClasses() {
|
|
26474
26478
|
return {
|
|
@@ -26482,7 +26486,7 @@ class AuroInput extends BaseInput {
|
|
|
26482
26486
|
/**
|
|
26483
26487
|
* Returns classmap configuration for html5 inputs in all layouts.
|
|
26484
26488
|
* @private
|
|
26485
|
-
* @returns {
|
|
26489
|
+
* @returns {Record<string, boolean>} - Returns classmap.
|
|
26486
26490
|
*/
|
|
26487
26491
|
get commonInputClasses() {
|
|
26488
26492
|
return {
|
|
@@ -26672,12 +26676,13 @@ class AuroInput extends BaseInput {
|
|
|
26672
26676
|
<${this.buttonTag}
|
|
26673
26677
|
@click="${this.handleClickClear}"
|
|
26674
26678
|
?onDark="${this.onDark}"
|
|
26675
|
-
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
26676
26679
|
class="notificationBtn clearBtn"
|
|
26677
26680
|
shape="circle"
|
|
26678
26681
|
size="sm"
|
|
26679
26682
|
variant="ghost">
|
|
26683
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
26680
26684
|
<${this.iconTag}
|
|
26685
|
+
aria-hidden="true"
|
|
26681
26686
|
?customColor="${this.onDark}"
|
|
26682
26687
|
category="interface"
|
|
26683
26688
|
name="x-lg"
|
|
@@ -26700,18 +26705,23 @@ class AuroInput extends BaseInput {
|
|
|
26700
26705
|
@click="${this.handleClickShowPassword}"
|
|
26701
26706
|
?onDark="${this.onDark}"
|
|
26702
26707
|
class="notificationBtn passwordBtn"
|
|
26703
|
-
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
26704
26708
|
shape="circle"
|
|
26705
26709
|
size="sm"
|
|
26706
26710
|
variant="ghost">
|
|
26711
|
+
<span>
|
|
26712
|
+
${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
26713
|
+
: html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
26714
|
+
</span>
|
|
26707
26715
|
<${this.iconTag}
|
|
26708
26716
|
?customColor="${this.onDark}"
|
|
26717
|
+
aria-hidden="true"
|
|
26709
26718
|
?hidden=${!this.showPassword}
|
|
26710
26719
|
category="interface"
|
|
26711
26720
|
name="hide-password-stroke">
|
|
26712
26721
|
</${this.iconTag}>
|
|
26713
26722
|
<${this.iconTag}
|
|
26714
26723
|
?customColor="${this.onDark}"
|
|
26724
|
+
aria-hidden="true"
|
|
26715
26725
|
?hidden=${this.showPassword}
|
|
26716
26726
|
category="interface"
|
|
26717
26727
|
name="view-password-stroke">
|
|
@@ -27735,6 +27745,7 @@ var iconVersion = '8.0.1';
|
|
|
27735
27745
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
27736
27746
|
/**
|
|
27737
27747
|
* @slot helpText - Defines the content of the helpText.
|
|
27748
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
27738
27749
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
27739
27750
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
27740
27751
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29313,6 +29324,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29313
29324
|
.monthNames="${this.monthNames}"
|
|
29314
29325
|
part="calendar"
|
|
29315
29326
|
>
|
|
29327
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29316
29328
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29317
29329
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29318
29330
|
<span slot="bib.fullscreen.fromStr">${this.value || html$1`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|
|
@@ -10855,7 +10855,7 @@ class CalendarUtilities {
|
|
|
10855
10855
|
|
|
10856
10856
|
var colorCss$3$2 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
10857
10857
|
|
|
10858
|
-
var styleCss$4$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10858
|
+
var styleCss$4$1 = css`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
10859
10859
|
|
|
10860
10860
|
var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
10861
10861
|
|
|
@@ -12763,8 +12763,9 @@ class AuroBibtemplate extends LitElement {
|
|
|
12763
12763
|
<${this.headerTag} class="header" display="${this.large ? 'display' : '600'}" level="3" size="none" id="header" no-margin-block>
|
|
12764
12764
|
<slot name="header"></slot>
|
|
12765
12765
|
</${this.headerTag}>
|
|
12766
|
-
<${this.buttonTag} id="closeButton"
|
|
12767
|
-
|
|
12766
|
+
<${this.buttonTag} id="closeButton" variant="ghost" shape="circle" size="sm" @click="${this.onCloseButtonClick}">
|
|
12767
|
+
<span><slot name="ariaLabel.close">Close</slot></span>
|
|
12768
|
+
<${this.iconTag} aria-hidden="true" category="interface" name="x-lg"></${this.iconTag}>
|
|
12768
12769
|
</${this.buttonTag}>
|
|
12769
12770
|
</div>
|
|
12770
12771
|
<span class="subheader">
|
|
@@ -14197,6 +14198,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14197
14198
|
?large="${this.largeFullscreenHeadline}"
|
|
14198
14199
|
?isFullscreen="${this.isFullscreen}"
|
|
14199
14200
|
@close-click="${this.utilCal.requestDismiss}">
|
|
14201
|
+
<span slot="ariaLabel.close">${this.slots["ariaLabel.bib.close"]}</span>
|
|
14200
14202
|
|
|
14201
14203
|
<span slot="header">${this.slots["bib.fullscreen.headline"]}</span>
|
|
14202
14204
|
|
|
@@ -23532,6 +23534,9 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
23532
23534
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
23533
23535
|
* @attr id
|
|
23534
23536
|
*
|
|
23537
|
+
* @slot ariaLabel.clear - Sets aria-label on clear button for screenreader to read
|
|
23538
|
+
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
23539
|
+
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
23535
23540
|
* @slot helpText - Sets the help text displayed below the input.
|
|
23536
23541
|
* @slot label - Sets the label text for the input.
|
|
23537
23542
|
* @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
@@ -23959,8 +23964,7 @@ class BaseInput extends AuroElement$2 {
|
|
|
23959
23964
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
23960
23965
|
*/
|
|
23961
23966
|
value: {
|
|
23962
|
-
type: String
|
|
23963
|
-
reflect: true
|
|
23967
|
+
type: String
|
|
23964
23968
|
},
|
|
23965
23969
|
|
|
23966
23970
|
/**
|
|
@@ -26468,7 +26472,7 @@ class AuroInput extends BaseInput {
|
|
|
26468
26472
|
/**
|
|
26469
26473
|
* Returns classmap configuration for html5 input labels in all layouts.
|
|
26470
26474
|
* @private
|
|
26471
|
-
* @returns {
|
|
26475
|
+
* @returns {Record<string, boolean>}
|
|
26472
26476
|
*/
|
|
26473
26477
|
get commonLabelClasses() {
|
|
26474
26478
|
return {
|
|
@@ -26482,7 +26486,7 @@ class AuroInput extends BaseInput {
|
|
|
26482
26486
|
/**
|
|
26483
26487
|
* Returns classmap configuration for html5 inputs in all layouts.
|
|
26484
26488
|
* @private
|
|
26485
|
-
* @returns {
|
|
26489
|
+
* @returns {Record<string, boolean>} - Returns classmap.
|
|
26486
26490
|
*/
|
|
26487
26491
|
get commonInputClasses() {
|
|
26488
26492
|
return {
|
|
@@ -26672,12 +26676,13 @@ class AuroInput extends BaseInput {
|
|
|
26672
26676
|
<${this.buttonTag}
|
|
26673
26677
|
@click="${this.handleClickClear}"
|
|
26674
26678
|
?onDark="${this.onDark}"
|
|
26675
|
-
aria-label="${i18n$1(this.lang, 'clearInput')}"
|
|
26676
26679
|
class="notificationBtn clearBtn"
|
|
26677
26680
|
shape="circle"
|
|
26678
26681
|
size="sm"
|
|
26679
26682
|
variant="ghost">
|
|
26683
|
+
<span><slot name="ariaLabel.clear">Clear Input</slot></span>
|
|
26680
26684
|
<${this.iconTag}
|
|
26685
|
+
aria-hidden="true"
|
|
26681
26686
|
?customColor="${this.onDark}"
|
|
26682
26687
|
category="interface"
|
|
26683
26688
|
name="x-lg"
|
|
@@ -26700,18 +26705,23 @@ class AuroInput extends BaseInput {
|
|
|
26700
26705
|
@click="${this.handleClickShowPassword}"
|
|
26701
26706
|
?onDark="${this.onDark}"
|
|
26702
26707
|
class="notificationBtn passwordBtn"
|
|
26703
|
-
aria-label="${this.showPassword ? i18n$1(this.lang, "hidePassword") : i18n$1(this.lang, "showPassword")}"
|
|
26704
26708
|
shape="circle"
|
|
26705
26709
|
size="sm"
|
|
26706
26710
|
variant="ghost">
|
|
26711
|
+
<span>
|
|
26712
|
+
${this.showPassword ? html$1`<slot name="ariaLabel.password.hide">Hide Password</slot>`
|
|
26713
|
+
: html$1`<slot name="ariaLabel.password.show">Show Password</slot>`}
|
|
26714
|
+
</span>
|
|
26707
26715
|
<${this.iconTag}
|
|
26708
26716
|
?customColor="${this.onDark}"
|
|
26717
|
+
aria-hidden="true"
|
|
26709
26718
|
?hidden=${!this.showPassword}
|
|
26710
26719
|
category="interface"
|
|
26711
26720
|
name="hide-password-stroke">
|
|
26712
26721
|
</${this.iconTag}>
|
|
26713
26722
|
<${this.iconTag}
|
|
26714
26723
|
?customColor="${this.onDark}"
|
|
26724
|
+
aria-hidden="true"
|
|
26715
26725
|
?hidden=${this.showPassword}
|
|
26716
26726
|
category="interface"
|
|
26717
26727
|
name="view-password-stroke">
|
|
@@ -27735,6 +27745,7 @@ var iconVersion = '8.0.1';
|
|
|
27735
27745
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
27736
27746
|
/**
|
|
27737
27747
|
* @slot helpText - Defines the content of the helpText.
|
|
27748
|
+
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
27738
27749
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
27739
27750
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
27740
27751
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
@@ -29313,6 +29324,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29313
29324
|
.monthNames="${this.monthNames}"
|
|
29314
29325
|
part="calendar"
|
|
29315
29326
|
>
|
|
29327
|
+
<slot name="ariaLabel.bib.close" slot="ariaLabel.close" @slotchange="${this.handleSlotToSlot}">Close</slot>
|
|
29316
29328
|
<slot slot="bib.fullscreen.headline" name="bib.fullscreen.headline" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29317
29329
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
29318
29330
|
<span slot="bib.fullscreen.fromStr">${this.value || html$1`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|