@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
package/shared/delegates-aria.js
CHANGED
|
@@ -7,7 +7,6 @@ class DelegateAriaBehavior {
|
|
|
7
7
|
this.source = null;
|
|
8
8
|
this.bindingBehaviours = [];
|
|
9
9
|
this.onSourceAriaPropertyChanged = (source, property) => {
|
|
10
|
-
this.mitigateAccessibilityIssues(source);
|
|
11
10
|
if (!this.forwardedProperties.has(property)) {
|
|
12
11
|
return;
|
|
13
12
|
}
|
|
@@ -15,7 +14,6 @@ class DelegateAriaBehavior {
|
|
|
15
14
|
};
|
|
16
15
|
this.boundProperties = params.boundProperties;
|
|
17
16
|
this.forwardedProperties = params.forwardedProperties;
|
|
18
|
-
this.isMitigationDisabled = params.disableAccessibilityMitigation;
|
|
19
17
|
}
|
|
20
18
|
bind(source) {
|
|
21
19
|
this.source = source;
|
|
@@ -25,7 +23,6 @@ class DelegateAriaBehavior {
|
|
|
25
23
|
this.forwardedProperties,
|
|
26
24
|
this.target
|
|
27
25
|
);
|
|
28
|
-
this.mitigateAccessibilityIssues(source);
|
|
29
26
|
}
|
|
30
27
|
unbind() {
|
|
31
28
|
if (this.source === null) {
|
|
@@ -68,38 +65,20 @@ class DelegateAriaBehavior {
|
|
|
68
65
|
forwardPropertyToTarget(target, property, value) {
|
|
69
66
|
DOM.setAttribute(target, ariaAttributeName(property), value);
|
|
70
67
|
}
|
|
71
|
-
/**
|
|
72
|
-
* Sets role to presentation unless there are properties present that prohibit it.
|
|
73
|
-
* Using role="presentation" will cause non-global states or properties to be ignored.
|
|
74
|
-
* See: https://www.w3.org/TR/wai-aria-1.3/#conflict_resolution_presentation_none
|
|
75
|
-
*/
|
|
76
|
-
mitigateAccessibilityIssues(source) {
|
|
77
|
-
if (this.isMitigationDisabled) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
const hasProhibitedProperties = Boolean(
|
|
81
|
-
source.ariaLabel || source.ariaBrailleLabel || source.ariaChecked
|
|
82
|
-
);
|
|
83
|
-
if (hasProhibitedProperties) {
|
|
84
|
-
source.removeAttribute("role");
|
|
85
|
-
} else {
|
|
86
|
-
source.setAttribute("role", "presentation");
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
68
|
}
|
|
90
69
|
|
|
91
70
|
function delegateAria(boundProperties = {}, options = {}) {
|
|
92
71
|
const forwardedProperties = new Set(
|
|
93
|
-
(options.onlySpecified ? [] : ariaMixinProperties).filter(
|
|
72
|
+
(options.onlySpecified ? [] : ariaMixinProperties).filter(
|
|
73
|
+
(p) => !(p in boundProperties)
|
|
74
|
+
)
|
|
94
75
|
);
|
|
95
|
-
const disableAccessibilityMitigation = boundProperties.role instanceof Function;
|
|
96
76
|
return new AttachedBehaviorHTMLDirective(
|
|
97
77
|
"vvd-delegate-aria",
|
|
98
78
|
DelegateAriaBehavior,
|
|
99
79
|
{
|
|
100
80
|
boundProperties,
|
|
101
|
-
forwardedProperties
|
|
102
|
-
disableAccessibilityMitigation
|
|
81
|
+
forwardedProperties
|
|
103
82
|
}
|
|
104
83
|
);
|
|
105
84
|
}
|
package/shared/divider.cjs
CHANGED
|
@@ -27,14 +27,19 @@ const DividerRole = {
|
|
|
27
27
|
class Divider extends hostSemantics.HostSemantics(vividElement.VividElement) {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments);
|
|
30
|
+
/**
|
|
31
|
+
* The role of the element. This property will be removed
|
|
32
|
+
*
|
|
33
|
+
* @deprecated This property will be deprecated, as divider shouldn't be announced by screen readers. Please update your usages.
|
|
34
|
+
* @public
|
|
35
|
+
* @remarks
|
|
36
|
+
* HTML Attribute: role
|
|
37
|
+
*/
|
|
30
38
|
this.role = DividerRole.separator;
|
|
31
39
|
this.orientation = aria.Orientation.horizontal;
|
|
32
40
|
this.appearance = enums.Appearance.Ghost;
|
|
33
41
|
}
|
|
34
42
|
}
|
|
35
|
-
__decorateClass([
|
|
36
|
-
vividElement.attr
|
|
37
|
-
], Divider.prototype, "role");
|
|
38
43
|
__decorateClass([
|
|
39
44
|
vividElement.attr
|
|
40
45
|
], Divider.prototype, "orientation");
|
package/shared/divider.js
CHANGED
|
@@ -25,14 +25,19 @@ const DividerRole = {
|
|
|
25
25
|
class Divider extends HostSemantics(VividElement) {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments);
|
|
28
|
+
/**
|
|
29
|
+
* The role of the element. This property will be removed
|
|
30
|
+
*
|
|
31
|
+
* @deprecated This property will be deprecated, as divider shouldn't be announced by screen readers. Please update your usages.
|
|
32
|
+
* @public
|
|
33
|
+
* @remarks
|
|
34
|
+
* HTML Attribute: role
|
|
35
|
+
*/
|
|
28
36
|
this.role = DividerRole.separator;
|
|
29
37
|
this.orientation = Orientation.horizontal;
|
|
30
38
|
this.appearance = Appearance.Ghost;
|
|
31
39
|
}
|
|
32
40
|
}
|
|
33
|
-
__decorateClass([
|
|
34
|
-
attr
|
|
35
|
-
], Divider.prototype, "role");
|
|
36
41
|
__decorateClass([
|
|
37
42
|
attr
|
|
38
43
|
], Divider.prototype, "orientation");
|
|
@@ -4,7 +4,6 @@ declare const FeedbackMessage_base: {
|
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
readonly locale: import("../localization/Locale").Locale;
|
|
6
6
|
connectedCallback(): void;
|
|
7
|
-
specialHandling: boolean;
|
|
8
7
|
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
9
8
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
10
9
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -330,6 +329,48 @@ declare const FeedbackMessage_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;
|
|
@@ -14,7 +14,6 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
14
14
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
15
15
|
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
16
16
|
connectedCallback(): void;
|
|
17
|
-
specialHandling: boolean;
|
|
18
17
|
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
19
18
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
20
19
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -340,6 +339,48 @@ export declare const WithFeedback: <T extends Constructor<VividElement>>(Base: T
|
|
|
340
339
|
ariaDescription: string | null;
|
|
341
340
|
ariaRowIndexText: string | null;
|
|
342
341
|
ariaRelevant: string | null;
|
|
342
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
377
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
378
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
379
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
380
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
381
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
382
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
383
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
343
384
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
344
385
|
newPropertyName: string;
|
|
345
386
|
deprecatedPropertyName: string;
|
|
@@ -364,7 +405,6 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
364
405
|
};
|
|
365
406
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
366
407
|
connectedCallback(): void;
|
|
367
|
-
specialHandling: boolean;
|
|
368
408
|
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
369
409
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
370
410
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -690,6 +730,48 @@ export declare const WithLightDOMFeedback: <T extends Constructor<VividElement>>
|
|
|
690
730
|
ariaDescription: string | null;
|
|
691
731
|
ariaRowIndexText: string | null;
|
|
692
732
|
ariaRelevant: string | null;
|
|
733
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
734
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
735
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
736
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
737
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
738
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
739
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
740
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
741
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
742
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
743
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
744
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
745
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
746
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
747
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
748
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
749
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
750
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
751
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
752
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
753
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
754
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
755
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
756
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
757
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
758
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
759
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
760
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
761
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
762
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
763
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
764
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
765
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
766
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
767
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
768
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
769
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
770
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
771
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
772
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
773
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
774
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
693
775
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
694
776
|
newPropertyName: string;
|
|
695
777
|
deprecatedPropertyName: string;
|
|
@@ -3,7 +3,6 @@ declare const VividFoundationButton_base: {
|
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
_vividAriaBehaviour: "delegate";
|
|
5
5
|
connectedCallback(): void;
|
|
6
|
-
specialHandling: boolean;
|
|
7
6
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
8
7
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
9
8
|
disconnectedCallback(): void;
|
|
@@ -328,6 +327,48 @@ declare const VividFoundationButton_base: {
|
|
|
328
327
|
ariaDescription: string | null;
|
|
329
328
|
ariaRowIndexText: string | null;
|
|
330
329
|
ariaRelevant: string | null;
|
|
330
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
331
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
332
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
333
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
334
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
335
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
336
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
337
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
331
372
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
332
373
|
newPropertyName: string;
|
|
333
374
|
deprecatedPropertyName: string;
|
|
@@ -372,7 +413,6 @@ declare const VividFoundationButton_base: {
|
|
|
372
413
|
setFormValue(value: string | File | FormData | null, state?: string | File | FormData | null | undefined): void;
|
|
373
414
|
_keypressHandler(e: KeyboardEvent): void;
|
|
374
415
|
stopPropagation(e: Event): void;
|
|
375
|
-
specialHandling: boolean;
|
|
376
416
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
377
417
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
378
418
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -697,6 +737,48 @@ declare const VividFoundationButton_base: {
|
|
|
697
737
|
ariaDescription: string | null;
|
|
698
738
|
ariaRowIndexText: string | null;
|
|
699
739
|
ariaRelevant: string | null;
|
|
740
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
741
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
742
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
743
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
744
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
745
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
746
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
747
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
748
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
749
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
750
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
751
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
752
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
753
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
754
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
755
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
756
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
757
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
758
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
759
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
760
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
761
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
762
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
763
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
764
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
765
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
766
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
767
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
768
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
769
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
770
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
771
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
772
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
773
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
774
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
775
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
776
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
777
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
778
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
779
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
780
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
781
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
700
782
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
701
783
|
newPropertyName: string;
|
|
702
784
|
deprecatedPropertyName: string;
|
|
@@ -39,7 +39,6 @@ export declare const FormAssociated: <T extends Constructor<VividElement>>(Base:
|
|
|
39
39
|
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
40
40
|
_keypressHandler(e: KeyboardEvent): void;
|
|
41
41
|
stopPropagation(e: Event): void;
|
|
42
|
-
specialHandling: boolean;
|
|
43
42
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
44
43
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
45
44
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -364,6 +363,48 @@ export declare const FormAssociated: <T extends Constructor<VividElement>>(Base:
|
|
|
364
363
|
ariaDescription: string | null;
|
|
365
364
|
ariaRowIndexText: string | null;
|
|
366
365
|
ariaRelevant: string | null;
|
|
366
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
377
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
378
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
379
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
380
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
381
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
382
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
383
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
384
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
385
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
386
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
387
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
388
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
389
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
390
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
391
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
392
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
393
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
394
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
395
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
396
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
397
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
398
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
399
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
400
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
401
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
402
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
403
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
404
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
405
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
406
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
407
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
367
408
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
368
409
|
newPropertyName: string;
|
|
369
410
|
deprecatedPropertyName: string;
|
|
@@ -419,7 +460,6 @@ export declare const CheckableFormAssociated: <T extends Constructor<VividElemen
|
|
|
419
460
|
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
420
461
|
_keypressHandler(e: KeyboardEvent): void;
|
|
421
462
|
stopPropagation(e: Event): void;
|
|
422
|
-
specialHandling: boolean;
|
|
423
463
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
424
464
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
425
465
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
@@ -744,6 +784,48 @@ export declare const CheckableFormAssociated: <T extends Constructor<VividElemen
|
|
|
744
784
|
ariaDescription: string | null;
|
|
745
785
|
ariaRowIndexText: string | null;
|
|
746
786
|
ariaRelevant: string | null;
|
|
787
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
788
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
789
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
790
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
791
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
792
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
793
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
794
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
795
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
796
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
797
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
798
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
799
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
800
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
801
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
802
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
803
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
804
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
805
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
806
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
807
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
808
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
809
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
810
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
811
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
812
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
813
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
814
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
815
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
816
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
817
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
818
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
819
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
820
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
821
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
822
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
823
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
824
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
825
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
826
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
827
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
828
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
747
829
|
"__#1@#handleReplacedProp"(replacedProp: {
|
|
748
830
|
newPropertyName: string;
|
|
749
831
|
deprecatedPropertyName: string;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
declare const VividElement_base: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
|
-
specialHandling: boolean;
|
|
5
4
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
5
|
+
connectedCallback(): void;
|
|
6
6
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
7
7
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
8
|
-
connectedCallback(): void;
|
|
9
8
|
disconnectedCallback(): void;
|
|
10
9
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
11
10
|
accessKey: string;
|
|
@@ -328,6 +327,48 @@ declare const VividElement_base: {
|
|
|
328
327
|
ariaDescription: string | null;
|
|
329
328
|
ariaRowIndexText: string | null;
|
|
330
329
|
ariaRelevant: string | null;
|
|
330
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
331
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
332
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
333
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
334
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
335
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
336
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
337
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
338
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
339
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
340
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
341
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
342
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
343
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
344
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
345
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
346
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
347
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
348
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
349
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
350
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
351
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
352
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
353
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
354
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
355
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
356
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
357
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
358
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
359
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
360
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
361
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
362
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
363
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
364
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
365
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
366
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
367
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
368
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
331
372
|
};
|
|
332
373
|
} & {
|
|
333
374
|
new (...args: any[]): {
|
package/shared/listbox.cjs
CHANGED
|
@@ -124,7 +124,7 @@ const _Listbox = class _Listbox extends vividElement.VividElement {
|
|
|
124
124
|
*/
|
|
125
125
|
clickHandler(e) {
|
|
126
126
|
const captured = e.target.closest(
|
|
127
|
-
`option,[role=option]`
|
|
127
|
+
`option,[role=option],[data-vvd-component=option]`
|
|
128
128
|
);
|
|
129
129
|
if (captured && !captured.disabled) {
|
|
130
130
|
this.selectedIndex = this.options.indexOf(captured);
|
package/shared/listbox.js
CHANGED
|
@@ -122,7 +122,7 @@ const _Listbox = class _Listbox extends VividElement {
|
|
|
122
122
|
*/
|
|
123
123
|
clickHandler(e) {
|
|
124
124
|
const captured = e.target.closest(
|
|
125
|
-
`option,[role=option]`
|
|
125
|
+
`option,[role=option],[data-vvd-component=option]`
|
|
126
126
|
);
|
|
127
127
|
if (captured && !captured.disabled) {
|
|
128
128
|
this.selectedIndex = this.options.indexOf(captured);
|
|
@@ -22,6 +22,7 @@ import type { DataGridLocale } from '../../lib/data-grid/locale';
|
|
|
22
22
|
import type { PaginationLocale } from '../../lib/pagination/locale';
|
|
23
23
|
import type { TagLocale } from '../../lib/tag/locale';
|
|
24
24
|
import type { Connotation } from '../../lib/enums';
|
|
25
|
+
import type { ToggletipLocale } from '../../lib/toggletip/locale';
|
|
25
26
|
type ConnotationAnnoncementLocale = {
|
|
26
27
|
[key in Connotation as `${key}Icon`]: string;
|
|
27
28
|
};
|
|
@@ -54,5 +55,6 @@ export interface Locale {
|
|
|
54
55
|
dataGrid: DataGridLocale;
|
|
55
56
|
pagination: PaginationLocale;
|
|
56
57
|
tag: TagLocale;
|
|
58
|
+
toggletip: ToggletipLocale;
|
|
57
59
|
}
|
|
58
60
|
export {};
|
package/shared/option.cjs
CHANGED
|
@@ -16,7 +16,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
16
16
|
return result;
|
|
17
17
|
};
|
|
18
18
|
function isListboxOption(el) {
|
|
19
|
-
return dom.isHTMLElement(el) && (el.getAttribute("role") === "option" || el instanceof HTMLOptionElement);
|
|
19
|
+
return dom.isHTMLElement(el) && (el.getAttribute("role") === "option" || el instanceof HTMLOptionElement || el instanceof ListboxOption);
|
|
20
20
|
}
|
|
21
21
|
class ListboxOption extends hostSemantics.HostSemantics(
|
|
22
22
|
affix.AffixIconWithTrailing(vividElement.VividElement)
|
|
@@ -138,7 +138,20 @@ class ListboxOption extends hostSemantics.HostSemantics(
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
__decorateClass([
|
|
141
|
-
vividElement.
|
|
141
|
+
vividElement.attr({
|
|
142
|
+
converter: {
|
|
143
|
+
fromView: (value) => {
|
|
144
|
+
if (value === true || value === "true") {
|
|
145
|
+
return true;
|
|
146
|
+
}
|
|
147
|
+
if (value === false || value === "false") {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
return void 0;
|
|
151
|
+
},
|
|
152
|
+
toView: (value) => value
|
|
153
|
+
}
|
|
154
|
+
})
|
|
142
155
|
], ListboxOption.prototype, "checked", 2);
|
|
143
156
|
__decorateClass([
|
|
144
157
|
vividElement.attr({ attribute: "selected", mode: "boolean" })
|