@khanacademy/wonder-blocks-birthday-picker 3.0.14 → 3.1.0
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/CHANGELOG.md +6 -0
- package/dist/es/index.js +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -153,6 +153,7 @@ class BirthdayPicker extends React.Component {
|
|
|
153
153
|
} = this.state;
|
|
154
154
|
const minWidth = this.getMonthYearWidth(monthYearOnly);
|
|
155
155
|
return React.createElement(SingleSelect, {
|
|
156
|
+
"aria-label": this.labels.month,
|
|
156
157
|
"aria-invalid": !!this.state.error,
|
|
157
158
|
error: !!this.state.error,
|
|
158
159
|
disabled: disabled,
|
|
@@ -184,6 +185,7 @@ class BirthdayPicker extends React.Component {
|
|
|
184
185
|
return React.createElement(React.Fragment, null, React.createElement(Strut, {
|
|
185
186
|
size: spacing.xSmall_8
|
|
186
187
|
}), React.createElement(SingleSelect, {
|
|
188
|
+
"aria-label": this.labels.day,
|
|
187
189
|
"aria-invalid": !!this.state.error,
|
|
188
190
|
error: !!this.state.error,
|
|
189
191
|
disabled: disabled,
|
|
@@ -214,6 +216,7 @@ class BirthdayPicker extends React.Component {
|
|
|
214
216
|
} = this.state;
|
|
215
217
|
const minWidth = this.getMonthYearWidth(monthYearOnly);
|
|
216
218
|
return React.createElement(SingleSelect, {
|
|
219
|
+
"aria-label": this.labels.year,
|
|
217
220
|
"aria-invalid": !!this.state.error,
|
|
218
221
|
error: !!this.state.error,
|
|
219
222
|
disabled: disabled,
|
package/dist/index.js
CHANGED
|
@@ -180,6 +180,7 @@ class BirthdayPicker extends React__namespace.Component {
|
|
|
180
180
|
} = this.state;
|
|
181
181
|
const minWidth = this.getMonthYearWidth(monthYearOnly);
|
|
182
182
|
return React__namespace.createElement(wonderBlocksDropdown.SingleSelect, {
|
|
183
|
+
"aria-label": this.labels.month,
|
|
183
184
|
"aria-invalid": !!this.state.error,
|
|
184
185
|
error: !!this.state.error,
|
|
185
186
|
disabled: disabled,
|
|
@@ -211,6 +212,7 @@ class BirthdayPicker extends React__namespace.Component {
|
|
|
211
212
|
return React__namespace.createElement(React__namespace.Fragment, null, React__namespace.createElement(wonderBlocksLayout.Strut, {
|
|
212
213
|
size: wonderBlocksTokens.spacing.xSmall_8
|
|
213
214
|
}), React__namespace.createElement(wonderBlocksDropdown.SingleSelect, {
|
|
215
|
+
"aria-label": this.labels.day,
|
|
214
216
|
"aria-invalid": !!this.state.error,
|
|
215
217
|
error: !!this.state.error,
|
|
216
218
|
disabled: disabled,
|
|
@@ -241,6 +243,7 @@ class BirthdayPicker extends React__namespace.Component {
|
|
|
241
243
|
} = this.state;
|
|
242
244
|
const minWidth = this.getMonthYearWidth(monthYearOnly);
|
|
243
245
|
return React__namespace.createElement(wonderBlocksDropdown.SingleSelect, {
|
|
246
|
+
"aria-label": this.labels.year,
|
|
244
247
|
"aria-invalid": !!this.state.error,
|
|
245
248
|
error: !!this.state.error,
|
|
246
249
|
disabled: disabled,
|