@vonage/vivid 4.30.1 → 5.0.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/custom-elements.json +129 -172
- package/lib/accordion-item/accordion-item.d.ts +42 -1
- package/lib/action-group/action-group.d.ts +42 -1
- package/lib/alert/alert.d.ts +84 -2
- package/lib/audio-player/audio-player.d.ts +42 -1
- package/lib/avatar/avatar.d.ts +42 -1
- package/lib/badge/badge.d.ts +42 -1
- package/lib/banner/banner.d.ts +126 -3
- package/lib/breadcrumb/breadcrumb.d.ts +42 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +42 -1
- package/lib/button/button.d.ts +126 -3
- package/lib/calendar-event/calendar-event.d.ts +42 -1
- package/lib/card/card.d.ts +42 -1
- package/lib/checkbox/checkbox.d.ts +252 -7
- package/lib/combobox/combobox.d.ts +252 -6
- package/lib/data-grid/data-grid-cell.d.ts +419 -2
- package/lib/data-grid/data-grid-row.d.ts +380 -1
- package/lib/date-picker/date-picker.d.ts +336 -8
- package/lib/date-range-picker/date-range-picker.d.ts +168 -4
- package/lib/date-time-picker/date-time-picker.d.ts +336 -8
- package/lib/dial-pad/dial-pad.d.ts +42 -1
- package/lib/dialog/dialog.d.ts +84 -2
- package/lib/divider/divider.d.ts +42 -1
- package/lib/fab/fab.d.ts +42 -1
- package/lib/file-picker/file-picker.d.ts +252 -6
- package/lib/file-picker/locale.d.ts +1 -0
- package/lib/header/header.d.ts +42 -1
- package/lib/menu/menu.d.ts +84 -2
- package/lib/menu-item/menu-item.d.ts +84 -2
- package/lib/nav/nav.d.ts +42 -1
- package/lib/nav-disclosure/nav-disclosure.d.ts +84 -2
- package/lib/nav-item/nav-item.d.ts +84 -2
- package/lib/note/note.d.ts +42 -1
- package/lib/number-field/number-field.d.ts +336 -8
- package/lib/option/option.d.ts +84 -2
- package/lib/pagination/pagination.d.ts +42 -1
- package/lib/progress/progress.d.ts +42 -1
- package/lib/progress-ring/progress-ring.d.ts +42 -1
- package/lib/radio/radio.d.ts +126 -4
- package/lib/radio-group/radio-group.d.ts +42 -1
- package/lib/range-slider/range-slider.d.ts +126 -3
- package/lib/rich-text-editor/menubar/menubar.d.ts +42 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +42 -1
- package/lib/searchable-select/option-tag.d.ts +42 -1
- package/lib/searchable-select/searchable-select.d.ts +336 -8
- package/lib/select/select.d.ts +294 -7
- package/lib/selectable-box/selectable-box.d.ts +42 -2
- package/lib/slider/slider.d.ts +126 -3
- package/lib/split-button/split-button.d.ts +126 -3
- package/lib/switch/switch.d.ts +84 -2
- package/lib/tab/tab.d.ts +126 -3
- package/lib/tab-panel/tab-panel.d.ts +42 -1
- package/lib/tag/tag.d.ts +126 -3
- package/lib/tag-group/tag-group.d.ts +42 -1
- package/lib/text-area/text-area.d.ts +294 -7
- package/lib/text-field/text-field.d.ts +336 -8
- package/lib/time-picker/time-picker.d.ts +168 -4
- package/lib/toggletip/locale.d.ts +3 -0
- package/lib/toggletip/toggletip.d.ts +430 -11
- package/lib/tooltip/tooltip.d.ts +42 -1
- package/lib/tree-item/tree-item.d.ts +84 -2
- package/lib/tree-view/tree-view.d.ts +42 -1
- package/lib/video-player/video-player.d.ts +42 -1
- package/locales/de-DE.cjs +8 -1
- package/locales/de-DE.js +8 -1
- package/locales/en-GB.cjs +8 -1
- package/locales/en-GB.js +8 -1
- package/locales/en-US.cjs +8 -1
- package/locales/en-US.js +8 -1
- package/locales/ja-JP.cjs +8 -1
- package/locales/ja-JP.js +8 -1
- package/locales/zh-CN.cjs +8 -1
- package/locales/zh-CN.js +8 -1
- package/package.json +1 -1
- package/shared/anchored.js +1 -1
- package/shared/aria/aria-mixin.d.ts +43 -2
- package/shared/aria/attribute-removal.d.ts +3 -0
- package/shared/aria/delegate-aria-behavior.d.ts +0 -3
- package/shared/aria/delegates-aria.d.ts +42 -1
- package/shared/aria/host-semantics.d.ts +42 -1
- package/shared/definition13.cjs +1 -1
- package/shared/definition13.js +1 -1
- package/shared/definition15.cjs +6 -2
- package/shared/definition15.js +6 -2
- package/shared/definition17.cjs +61 -78
- package/shared/definition17.js +61 -78
- package/shared/definition26.cjs +37 -2
- package/shared/definition26.js +37 -2
- package/shared/definition30.cjs +8 -4
- package/shared/definition30.js +8 -4
- package/shared/definition31.cjs +7 -7
- package/shared/definition31.js +7 -7
- package/shared/definition42.cjs +0 -4
- package/shared/definition42.js +0 -4
- package/shared/definition47.cjs +0 -8
- package/shared/definition47.js +1 -9
- package/shared/definition5.cjs +1 -1
- package/shared/definition5.js +1 -1
- package/shared/definition54.cjs +1 -1
- package/shared/definition54.js +1 -1
- package/shared/definition60.cjs +7 -6
- package/shared/definition60.js +7 -6
- package/shared/definition62.cjs +1 -1
- package/shared/definition62.js +1 -1
- package/shared/definition63.cjs +1 -2
- package/shared/definition63.js +1 -2
- package/shared/delegates-aria.cjs +4 -25
- package/shared/delegates-aria.js +4 -25
- package/shared/divider.cjs +8 -3
- package/shared/divider.js +8 -3
- package/shared/feedback/feedback-message.d.ts +42 -1
- package/shared/feedback/mixins.d.ts +84 -2
- package/shared/foundation/button/button.d.ts +84 -2
- package/shared/foundation/form-associated/form-associated.d.ts +84 -2
- package/shared/foundation/vivid-element/vivid-element.d.ts +43 -2
- package/shared/listbox.cjs +1 -1
- package/shared/listbox.js +1 -1
- package/shared/localization/Locale.d.ts +2 -0
- package/shared/option.cjs +15 -2
- package/shared/option.js +16 -3
- package/shared/patterns/affix.d.ts +84 -2
- package/shared/patterns/anchored.d.ts +84 -2
- package/shared/patterns/char-count/char-count.d.ts +42 -1
- package/shared/patterns/form-elements/form-element.d.ts +84 -2
- package/shared/patterns/form-elements/with-error-text.d.ts +126 -3
- package/shared/patterns/form-elements/with-success-text.d.ts +42 -1
- package/shared/patterns/linkable.d.ts +42 -1
- package/shared/patterns/localized.d.ts +42 -1
- package/shared/patterns/trapped-focus.d.ts +42 -1
- package/shared/picker-field/mixins/calendar-picker.d.ts +84 -2
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +84 -2
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +42 -1
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +168 -4
- package/shared/picker-field/mixins/single-date-picker.d.ts +252 -6
- package/shared/picker-field/mixins/single-value-picker.d.ts +84 -2
- package/shared/picker-field/mixins/time-selection-picker.d.ts +168 -4
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +168 -4
- package/shared/picker-field/picker-field.d.ts +252 -6
- package/shared/vivid-element.cjs +56 -5
- package/shared/vivid-element.js +56 -5
- package/vivid.api.json +2 -93
|
@@ -5,7 +5,6 @@ declare const TreeView_base: {
|
|
|
5
5
|
new (...args: any[]): {
|
|
6
6
|
_vividAriaBehaviour: "host";
|
|
7
7
|
connectedCallback(): void;
|
|
8
|
-
specialHandling: boolean;
|
|
9
8
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
10
9
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
11
10
|
disconnectedCallback(): void;
|
|
@@ -330,6 +329,48 @@ declare const TreeView_base: {
|
|
|
330
329
|
ariaDescription: string | null;
|
|
331
330
|
ariaRowIndexText: string | null;
|
|
332
331
|
ariaRelevant: string | null;
|
|
332
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
333
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
334
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
335
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
336
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
337
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
333
374
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
334
375
|
newPropertyName: string;
|
|
335
376
|
deprecatedPropertyName: string;
|
|
@@ -7,7 +7,6 @@ declare const VideoPlayer_base: {
|
|
|
7
7
|
new (...args: any[]): {
|
|
8
8
|
readonly locale: import("../../shared/localization/Locale").Locale;
|
|
9
9
|
connectedCallback(): void;
|
|
10
|
-
specialHandling: boolean;
|
|
11
10
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
12
11
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
13
12
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -333,6 +332,48 @@ declare const VideoPlayer_base: {
|
|
|
333
332
|
ariaDescription: string | null;
|
|
334
333
|
ariaRowIndexText: string | null;
|
|
335
334
|
ariaRelevant: string | null;
|
|
335
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
336
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
337
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
336
377
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
337
378
|
newPropertyName: string;
|
|
338
379
|
deprecatedPropertyName: string;
|
package/locales/de-DE.cjs
CHANGED
|
@@ -312,7 +312,8 @@ const deDE = {
|
|
|
312
312
|
maxFilesExceededError: "Sie können keine weiteren Dateien auswählen.",
|
|
313
313
|
fileTooBigError: "Die Datei ist zu groß ({{filesize}}MiB). Maximale Dateigröße: {{maxFilesize}}MiB.",
|
|
314
314
|
removeFileLabel: "Datei entfernen",
|
|
315
|
-
invalidFilesError: "Eine oder mehrere ausgewählte Dateien sind ungültig. Bitte laden Sie nur gültige Dateitypen innerhalb der Größenbeschränkung hoch."
|
|
315
|
+
invalidFilesError: "Eine oder mehrere ausgewählte Dateien sind ungültig. Bitte laden Sie nur gültige Dateitypen innerhalb der Größenbeschränkung hoch.",
|
|
316
|
+
uploadFilesLabel: "Dateien hochladen"
|
|
316
317
|
},
|
|
317
318
|
audioPlayer: {
|
|
318
319
|
playButtonLabel: "Abspielen",
|
|
@@ -454,6 +455,12 @@ const deDE = {
|
|
|
454
455
|
/* istanbul ignore next */
|
|
455
456
|
(label) => `Entfernen ${label}`
|
|
456
457
|
)
|
|
458
|
+
},
|
|
459
|
+
toggletip: {
|
|
460
|
+
anchorLabel: (
|
|
461
|
+
/* istanbul ignore next */
|
|
462
|
+
(ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen`
|
|
463
|
+
)
|
|
457
464
|
}
|
|
458
465
|
};
|
|
459
466
|
|
package/locales/de-DE.js
CHANGED
|
@@ -310,7 +310,8 @@ const deDE = {
|
|
|
310
310
|
maxFilesExceededError: "Sie können keine weiteren Dateien auswählen.",
|
|
311
311
|
fileTooBigError: "Die Datei ist zu groß ({{filesize}}MiB). Maximale Dateigröße: {{maxFilesize}}MiB.",
|
|
312
312
|
removeFileLabel: "Datei entfernen",
|
|
313
|
-
invalidFilesError: "Eine oder mehrere ausgewählte Dateien sind ungültig. Bitte laden Sie nur gültige Dateitypen innerhalb der Größenbeschränkung hoch."
|
|
313
|
+
invalidFilesError: "Eine oder mehrere ausgewählte Dateien sind ungültig. Bitte laden Sie nur gültige Dateitypen innerhalb der Größenbeschränkung hoch.",
|
|
314
|
+
uploadFilesLabel: "Dateien hochladen"
|
|
314
315
|
},
|
|
315
316
|
audioPlayer: {
|
|
316
317
|
playButtonLabel: "Abspielen",
|
|
@@ -452,6 +453,12 @@ const deDE = {
|
|
|
452
453
|
/* istanbul ignore next */
|
|
453
454
|
(label) => `Entfernen ${label}`
|
|
454
455
|
)
|
|
456
|
+
},
|
|
457
|
+
toggletip: {
|
|
458
|
+
anchorLabel: (
|
|
459
|
+
/* istanbul ignore next */
|
|
460
|
+
(ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen`
|
|
461
|
+
)
|
|
455
462
|
}
|
|
456
463
|
};
|
|
457
464
|
|
package/locales/en-GB.cjs
CHANGED
|
@@ -144,7 +144,8 @@ const enGB = {
|
|
|
144
144
|
maxFilesExceededError: "You can't select any more files.",
|
|
145
145
|
fileTooBigError: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",
|
|
146
146
|
removeFileLabel: "Remove file",
|
|
147
|
-
invalidFilesError: "One or more selected files are invalid. Please upload only valid file types under the size limit."
|
|
147
|
+
invalidFilesError: "One or more selected files are invalid. Please upload only valid file types under the size limit.",
|
|
148
|
+
uploadFilesLabel: "Upload files"
|
|
148
149
|
},
|
|
149
150
|
audioPlayer: {
|
|
150
151
|
playButtonLabel: "Play",
|
|
@@ -286,6 +287,12 @@ const enGB = {
|
|
|
286
287
|
/* istanbul ignore next */
|
|
287
288
|
(label) => `Remove ${label}`
|
|
288
289
|
)
|
|
290
|
+
},
|
|
291
|
+
toggletip: {
|
|
292
|
+
anchorLabel: (
|
|
293
|
+
/* istanbul ignore next */
|
|
294
|
+
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
295
|
+
)
|
|
289
296
|
}
|
|
290
297
|
};
|
|
291
298
|
|
package/locales/en-GB.js
CHANGED
|
@@ -142,7 +142,8 @@ const enGB = {
|
|
|
142
142
|
maxFilesExceededError: "You can't select any more files.",
|
|
143
143
|
fileTooBigError: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",
|
|
144
144
|
removeFileLabel: "Remove file",
|
|
145
|
-
invalidFilesError: "One or more selected files are invalid. Please upload only valid file types under the size limit."
|
|
145
|
+
invalidFilesError: "One or more selected files are invalid. Please upload only valid file types under the size limit.",
|
|
146
|
+
uploadFilesLabel: "Upload files"
|
|
146
147
|
},
|
|
147
148
|
audioPlayer: {
|
|
148
149
|
playButtonLabel: "Play",
|
|
@@ -284,6 +285,12 @@ const enGB = {
|
|
|
284
285
|
/* istanbul ignore next */
|
|
285
286
|
(label) => `Remove ${label}`
|
|
286
287
|
)
|
|
288
|
+
},
|
|
289
|
+
toggletip: {
|
|
290
|
+
anchorLabel: (
|
|
291
|
+
/* istanbul ignore next */
|
|
292
|
+
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
293
|
+
)
|
|
287
294
|
}
|
|
288
295
|
};
|
|
289
296
|
|
package/locales/en-US.cjs
CHANGED
|
@@ -312,7 +312,8 @@ const enUS = {
|
|
|
312
312
|
maxFilesExceededError: "You can't select any more files.",
|
|
313
313
|
fileTooBigError: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",
|
|
314
314
|
removeFileLabel: "Remove file",
|
|
315
|
-
invalidFilesError: "One or more selected files are invalid. Please, upload only valid file types under the size limit."
|
|
315
|
+
invalidFilesError: "One or more selected files are invalid. Please, upload only valid file types under the size limit.",
|
|
316
|
+
uploadFilesLabel: "Upload files"
|
|
316
317
|
},
|
|
317
318
|
audioPlayer: {
|
|
318
319
|
playButtonLabel: "Play",
|
|
@@ -454,6 +455,12 @@ const enUS = {
|
|
|
454
455
|
/* istanbul ignore next */
|
|
455
456
|
(label) => `Remove ${label}`
|
|
456
457
|
)
|
|
458
|
+
},
|
|
459
|
+
toggletip: {
|
|
460
|
+
anchorLabel: (
|
|
461
|
+
/* istanbul ignore next */
|
|
462
|
+
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
463
|
+
)
|
|
457
464
|
}
|
|
458
465
|
};
|
|
459
466
|
|
package/locales/en-US.js
CHANGED
|
@@ -310,7 +310,8 @@ const enUS = {
|
|
|
310
310
|
maxFilesExceededError: "You can't select any more files.",
|
|
311
311
|
fileTooBigError: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",
|
|
312
312
|
removeFileLabel: "Remove file",
|
|
313
|
-
invalidFilesError: "One or more selected files are invalid. Please, upload only valid file types under the size limit."
|
|
313
|
+
invalidFilesError: "One or more selected files are invalid. Please, upload only valid file types under the size limit.",
|
|
314
|
+
uploadFilesLabel: "Upload files"
|
|
314
315
|
},
|
|
315
316
|
audioPlayer: {
|
|
316
317
|
playButtonLabel: "Play",
|
|
@@ -452,6 +453,12 @@ const enUS = {
|
|
|
452
453
|
/* istanbul ignore next */
|
|
453
454
|
(label) => `Remove ${label}`
|
|
454
455
|
)
|
|
456
|
+
},
|
|
457
|
+
toggletip: {
|
|
458
|
+
anchorLabel: (
|
|
459
|
+
/* istanbul ignore next */
|
|
460
|
+
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
461
|
+
)
|
|
455
462
|
}
|
|
456
463
|
};
|
|
457
464
|
|
package/locales/ja-JP.cjs
CHANGED
|
@@ -311,7 +311,8 @@ const jaJP = {
|
|
|
311
311
|
maxFilesExceededError: "これ以上ファイルを選択できません。",
|
|
312
312
|
fileTooBigError: "ファイルが大きすぎます ({{filesize}}MiB)。最大ファイルサイズ: {{maxFilesize}}MiB。",
|
|
313
313
|
removeFileLabel: "ファイルを削除",
|
|
314
|
-
invalidFilesError: "選択したファイルの1つ以上が無効です。サイズ制限以下の有効なファイル形式のみをアップロードしてください。"
|
|
314
|
+
invalidFilesError: "選択したファイルの1つ以上が無効です。サイズ制限以下の有効なファイル形式のみをアップロードしてください。",
|
|
315
|
+
uploadFilesLabel: "ファイルをアップロード"
|
|
315
316
|
},
|
|
316
317
|
audioPlayer: {
|
|
317
318
|
playButtonLabel: "開始",
|
|
@@ -453,6 +454,12 @@ const jaJP = {
|
|
|
453
454
|
/* istanbul ignore next */
|
|
454
455
|
(label) => `削除する ${label}`
|
|
455
456
|
)
|
|
457
|
+
},
|
|
458
|
+
toggletip: {
|
|
459
|
+
anchorLabel: (
|
|
460
|
+
/* istanbul ignore next */
|
|
461
|
+
(ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示`
|
|
462
|
+
)
|
|
456
463
|
}
|
|
457
464
|
};
|
|
458
465
|
|
package/locales/ja-JP.js
CHANGED
|
@@ -309,7 +309,8 @@ const jaJP = {
|
|
|
309
309
|
maxFilesExceededError: "これ以上ファイルを選択できません。",
|
|
310
310
|
fileTooBigError: "ファイルが大きすぎます ({{filesize}}MiB)。最大ファイルサイズ: {{maxFilesize}}MiB。",
|
|
311
311
|
removeFileLabel: "ファイルを削除",
|
|
312
|
-
invalidFilesError: "選択したファイルの1つ以上が無効です。サイズ制限以下の有効なファイル形式のみをアップロードしてください。"
|
|
312
|
+
invalidFilesError: "選択したファイルの1つ以上が無効です。サイズ制限以下の有効なファイル形式のみをアップロードしてください。",
|
|
313
|
+
uploadFilesLabel: "ファイルをアップロード"
|
|
313
314
|
},
|
|
314
315
|
audioPlayer: {
|
|
315
316
|
playButtonLabel: "開始",
|
|
@@ -451,6 +452,12 @@ const jaJP = {
|
|
|
451
452
|
/* istanbul ignore next */
|
|
452
453
|
(label) => `削除する ${label}`
|
|
453
454
|
)
|
|
455
|
+
},
|
|
456
|
+
toggletip: {
|
|
457
|
+
anchorLabel: (
|
|
458
|
+
/* istanbul ignore next */
|
|
459
|
+
(ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示`
|
|
460
|
+
)
|
|
454
461
|
}
|
|
455
462
|
};
|
|
456
463
|
|
package/locales/zh-CN.cjs
CHANGED
|
@@ -313,7 +313,8 @@ const zhCN = {
|
|
|
313
313
|
maxFilesExceededError: "您不能再选择任何文件。",
|
|
314
314
|
fileTooBigError: "文件太大 ({{filesize}}MiB)。最大文件大小: {{maxFilesize}}MiB。",
|
|
315
315
|
removeFileLabel: "删除文件",
|
|
316
|
-
invalidFilesError: "所选的一个或多个文件无效。请仅上传大小限制内的有效文件类型。"
|
|
316
|
+
invalidFilesError: "所选的一个或多个文件无效。请仅上传大小限制内的有效文件类型。",
|
|
317
|
+
uploadFilesLabel: "上传文件"
|
|
317
318
|
},
|
|
318
319
|
audioPlayer: {
|
|
319
320
|
playButtonLabel: "草創",
|
|
@@ -455,6 +456,12 @@ const zhCN = {
|
|
|
455
456
|
/* istanbul ignore next */
|
|
456
457
|
(label) => `移除 ${label}`
|
|
457
458
|
)
|
|
459
|
+
},
|
|
460
|
+
toggletip: {
|
|
461
|
+
anchorLabel: (
|
|
462
|
+
/* istanbul ignore next */
|
|
463
|
+
(ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息`
|
|
464
|
+
)
|
|
458
465
|
}
|
|
459
466
|
};
|
|
460
467
|
|
package/locales/zh-CN.js
CHANGED
|
@@ -311,7 +311,8 @@ const zhCN = {
|
|
|
311
311
|
maxFilesExceededError: "您不能再选择任何文件。",
|
|
312
312
|
fileTooBigError: "文件太大 ({{filesize}}MiB)。最大文件大小: {{maxFilesize}}MiB。",
|
|
313
313
|
removeFileLabel: "删除文件",
|
|
314
|
-
invalidFilesError: "所选的一个或多个文件无效。请仅上传大小限制内的有效文件类型。"
|
|
314
|
+
invalidFilesError: "所选的一个或多个文件无效。请仅上传大小限制内的有效文件类型。",
|
|
315
|
+
uploadFilesLabel: "上传文件"
|
|
315
316
|
},
|
|
316
317
|
audioPlayer: {
|
|
317
318
|
playButtonLabel: "草創",
|
|
@@ -453,6 +454,12 @@ const zhCN = {
|
|
|
453
454
|
/* istanbul ignore next */
|
|
454
455
|
(label) => `移除 ${label}`
|
|
455
456
|
)
|
|
457
|
+
},
|
|
458
|
+
toggletip: {
|
|
459
|
+
anchorLabel: (
|
|
460
|
+
/* istanbul ignore next */
|
|
461
|
+
(ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息`
|
|
462
|
+
)
|
|
456
463
|
}
|
|
457
464
|
};
|
|
458
465
|
|
package/package.json
CHANGED
package/shared/anchored.js
CHANGED
|
@@ -6,11 +6,10 @@ export declare const ariaAttributeName: (ariaPropertyName: AriaPropertyName) =>
|
|
|
6
6
|
export type VividAriaBehaviour = 'default' | 'delegate' | 'host';
|
|
7
7
|
export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement>>(Base: T) => {
|
|
8
8
|
new (...args: any[]): {
|
|
9
|
-
specialHandling: boolean;
|
|
10
9
|
_vividAriaBehaviour: VividAriaBehaviour;
|
|
10
|
+
connectedCallback(): void;
|
|
11
11
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
12
12
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
13
|
-
connectedCallback(): void;
|
|
14
13
|
disconnectedCallback(): void;
|
|
15
14
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
16
15
|
accessKey: string;
|
|
@@ -333,6 +332,48 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
333
332
|
ariaDescription: string | null;
|
|
334
333
|
ariaRowIndexText: string | null;
|
|
335
334
|
ariaRelevant: string | null;
|
|
335
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
336
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
337
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
336
377
|
};
|
|
337
378
|
} & T;
|
|
338
379
|
export type AriaMixinElement = MixinType<typeof AriaMixin>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type AriaMixinElement, type AriaPropertyName } from './aria-mixin';
|
|
2
|
+
export declare const handleAriaPropertyChange: (element: AriaMixinElement, ariaProperty: AriaPropertyName) => void;
|
|
3
|
+
export declare const handleElementConnectedCallback: (element: AriaMixinElement) => void;
|
|
@@ -10,11 +10,9 @@ export declare class DelegateAriaBehavior<T> implements Behavior {
|
|
|
10
10
|
private target;
|
|
11
11
|
private readonly boundProperties;
|
|
12
12
|
private readonly forwardedProperties;
|
|
13
|
-
private readonly isMitigationDisabled;
|
|
14
13
|
constructor(target: HTMLElement, params: {
|
|
15
14
|
boundProperties: BoundAriaProperties<T>;
|
|
16
15
|
forwardedProperties: Set<AriaPropertyName>;
|
|
17
|
-
disableAccessibilityMitigation: boolean;
|
|
18
16
|
});
|
|
19
17
|
private source;
|
|
20
18
|
bind(source: DelegatesAriaElement): void;
|
|
@@ -26,6 +24,5 @@ export declare class DelegateAriaBehavior<T> implements Behavior {
|
|
|
26
24
|
private stopForwardingPropertiesToTarget;
|
|
27
25
|
private onSourceAriaPropertyChanged;
|
|
28
26
|
private forwardPropertyToTarget;
|
|
29
|
-
private mitigateAccessibilityIssues;
|
|
30
27
|
}
|
|
31
28
|
export {};
|
|
@@ -10,7 +10,6 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
10
10
|
new (...args: any[]): {
|
|
11
11
|
_vividAriaBehaviour: "delegate";
|
|
12
12
|
connectedCallback(): void;
|
|
13
|
-
specialHandling: boolean;
|
|
14
13
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
15
14
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
16
15
|
disconnectedCallback(): void;
|
|
@@ -335,6 +334,48 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
335
334
|
ariaDescription: string | null;
|
|
336
335
|
ariaRowIndexText: string | null;
|
|
337
336
|
ariaRelevant: string | null;
|
|
337
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
377
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
378
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
338
379
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
339
380
|
newPropertyName: string;
|
|
340
381
|
deprecatedPropertyName: string;
|
|
@@ -7,7 +7,6 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
7
7
|
new (...args: any[]): {
|
|
8
8
|
_vividAriaBehaviour: "host";
|
|
9
9
|
connectedCallback(): void;
|
|
10
|
-
specialHandling: boolean;
|
|
11
10
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
12
11
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
13
12
|
disconnectedCallback(): void;
|
|
@@ -332,6 +331,48 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
332
331
|
ariaDescription: string | null;
|
|
333
332
|
ariaRowIndexText: string | null;
|
|
334
333
|
ariaRelevant: string | null;
|
|
334
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
335
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
336
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
337
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
335
376
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
336
377
|
newPropertyName: string;
|
|
337
378
|
deprecatedPropertyName: string;
|
package/shared/definition13.cjs
CHANGED
package/shared/definition13.js
CHANGED
package/shared/definition15.cjs
CHANGED
|
@@ -92,7 +92,11 @@ class Checkbox extends delegatesAria.DelegatesAria(
|
|
|
92
92
|
this.proxy.readOnly = this.readOnly;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
ariaCheckedChanged(oldValue, newValue) {
|
|
99
|
+
super.ariaCheckedChanged(oldValue, newValue);
|
|
96
100
|
if (this.ariaChecked === "mixed") {
|
|
97
101
|
this.indeterminate = true;
|
|
98
102
|
} else {
|
|
@@ -169,7 +173,7 @@ const CheckboxTemplate = (context) => {
|
|
|
169
173
|
>
|
|
170
174
|
<div class="control">
|
|
171
175
|
${when.when(
|
|
172
|
-
(x) => x.checked,
|
|
176
|
+
(x) => x.checked && !x.indeterminate,
|
|
173
177
|
vividElement.html`<${iconTag} name="check-solid" class="icon"></${iconTag}>`
|
|
174
178
|
)}
|
|
175
179
|
${when.when(
|
package/shared/definition15.js
CHANGED
|
@@ -90,7 +90,11 @@ class Checkbox extends DelegatesAria(
|
|
|
90
90
|
this.proxy.readOnly = this.readOnly;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
ariaCheckedChanged(oldValue, newValue) {
|
|
97
|
+
super.ariaCheckedChanged(oldValue, newValue);
|
|
94
98
|
if (this.ariaChecked === "mixed") {
|
|
95
99
|
this.indeterminate = true;
|
|
96
100
|
} else {
|
|
@@ -167,7 +171,7 @@ const CheckboxTemplate = (context) => {
|
|
|
167
171
|
>
|
|
168
172
|
<div class="control">
|
|
169
173
|
${when(
|
|
170
|
-
(x) => x.checked,
|
|
174
|
+
(x) => x.checked && !x.indeterminate,
|
|
171
175
|
html`<${iconTag} name="check-solid" class="icon"></${iconTag}>`
|
|
172
176
|
)}
|
|
173
177
|
${when(
|