@vonage/vivid 4.25.0 → 4.26.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 +1496 -386
- package/lib/accordion-item/accordion-item.d.ts +1 -1
- package/lib/action-group/action-group.d.ts +1 -1
- package/lib/alert/alert.d.ts +2 -2
- package/lib/audio-player/audio-player.d.ts +1 -1
- package/lib/badge/badge.d.ts +1 -1
- package/lib/banner/banner.d.ts +3 -3
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/lib/button/button.d.ts +3 -3
- package/lib/calendar/calendar.d.ts +2 -0
- package/lib/calendar-event/calendar-event.d.ts +1 -1
- package/lib/card/card.d.ts +1 -1
- package/lib/checkbox/checkbox.d.ts +3 -3
- package/lib/combobox/combobox.d.ts +3 -3
- package/lib/data-grid/data-grid-cell.d.ts +4 -2
- package/lib/data-grid/data-grid-row.d.ts +1 -0
- package/lib/data-grid/data-grid.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-range-picker/date-range-picker.d.ts +2 -2
- package/lib/date-time-picker/date-time-picker.d.ts +4 -4
- package/lib/dial-pad/dial-pad.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +3 -2
- package/lib/divider/divider.d.ts +1 -1
- package/lib/fab/fab.d.ts +1 -1
- package/lib/file-picker/file-picker.d.ts +3 -3
- package/lib/header/header.d.ts +1 -1
- package/lib/menu/menu.d.ts +1 -1
- package/lib/menu-item/menu-item.d.ts +2 -2
- package/lib/nav/nav.d.ts +1 -1
- package/lib/nav-disclosure/nav-disclosure.d.ts +2 -2
- package/lib/nav-item/nav-item.d.ts +2 -2
- package/lib/note/note.d.ts +1 -1
- package/lib/number-field/locale.d.ts +3 -2
- package/lib/number-field/number-field.d.ts +5 -5
- package/lib/option/option.d.ts +2 -2
- package/lib/pagination/locale.d.ts +5 -0
- package/lib/pagination/pagination.d.ts +341 -2
- package/lib/popup/popup.d.ts +1 -0
- package/lib/progress/progress.d.ts +1 -1
- package/lib/progress-ring/progress-ring.d.ts +1 -1
- package/lib/radio-group/radio-group.d.ts +1 -1
- package/lib/range-slider/range-slider.d.ts +1 -1
- package/lib/rich-text-editor/menubar/menubar.d.ts +1 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +1 -1
- package/lib/searchable-select/option-tag.d.ts +1 -1
- package/lib/searchable-select/searchable-select.d.ts +5 -5
- package/lib/select/select.d.ts +4 -4
- package/lib/selectable-box/selectable-box.d.ts +1 -1
- package/lib/slider/slider.d.ts +2 -2
- package/lib/split-button/split-button.d.ts +3 -3
- package/lib/switch/switch.d.ts +1 -1
- package/lib/tab/tab.d.ts +3 -3
- package/lib/tab-panel/tab-panel.d.ts +1 -1
- package/lib/tag/tag.d.ts +2 -2
- package/lib/tag-group/tag-group.d.ts +1 -1
- package/lib/text-area/text-area.d.ts +4 -4
- package/lib/text-field/text-field.d.ts +5 -5
- package/lib/time-picker/time-picker.d.ts +2 -2
- package/lib/tree-item/tree-item.d.ts +2 -2
- package/lib/tree-view/tree-view.d.ts +1 -1
- package/lib/video-player/video-player.d.ts +1 -1
- package/locales/de-DE.cjs +21 -3
- package/locales/de-DE.js +21 -3
- package/locales/en-GB.cjs +21 -3
- package/locales/en-GB.js +21 -3
- package/locales/en-US.cjs +21 -3
- package/locales/en-US.js +21 -3
- package/locales/ja-JP.cjs +21 -3
- package/locales/ja-JP.js +21 -3
- package/locales/zh-CN.cjs +21 -3
- package/locales/zh-CN.js +21 -3
- package/package.json +1 -1
- package/shared/aria/delegates-aria.d.ts +1 -1
- package/shared/aria/host-semantics.d.ts +1 -1
- package/shared/definition.cjs +19 -3
- package/shared/definition.js +20 -4
- package/shared/definition11.cjs +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition13.cjs +25 -0
- package/shared/definition13.js +26 -1
- package/shared/definition15.cjs +1 -1
- package/shared/definition15.js +1 -1
- package/shared/definition16.cjs +1 -1
- package/shared/definition16.js +1 -1
- package/shared/definition17.cjs +601 -521
- package/shared/definition17.js +599 -519
- package/shared/definition21.cjs +2 -2
- package/shared/definition21.js +2 -2
- package/shared/definition22.cjs +9 -3
- package/shared/definition22.js +9 -3
- package/shared/definition28.cjs +1 -1
- package/shared/definition28.js +1 -1
- package/shared/definition3.cjs +1 -1
- package/shared/definition3.js +1 -1
- package/shared/definition31.cjs +1 -1
- package/shared/definition31.js +1 -1
- package/shared/definition32.cjs +1 -1
- package/shared/definition32.js +1 -1
- package/shared/definition36.cjs +40 -29
- package/shared/definition36.js +33 -22
- package/shared/definition38.cjs +30 -23
- package/shared/definition38.js +30 -23
- package/shared/definition42.cjs +2 -2
- package/shared/definition42.js +2 -2
- package/shared/definition45.cjs +2 -2
- package/shared/definition45.js +2 -2
- package/shared/definition46.cjs +1 -1
- package/shared/definition46.js +1 -1
- package/shared/definition49.cjs +2 -2
- package/shared/definition49.js +2 -2
- package/shared/definition63.cjs +2 -2
- package/shared/definition63.js +2 -2
- package/shared/definition67.cjs +9 -1
- package/shared/definition67.js +10 -2
- package/shared/feedback/feedback-message.d.ts +1 -1
- package/shared/feedback/mixins.d.ts +2 -2
- package/shared/foundation/button/button.d.ts +1 -1
- package/shared/foundation/vivid-element/vivid-element.d.ts +2 -0
- package/shared/key-codes.js +1 -1
- package/shared/localization/Locale.d.ts +2 -0
- package/shared/mixins.cjs +4 -1
- package/shared/mixins.js +4 -1
- package/shared/patterns/affix.d.ts +2 -2
- package/shared/patterns/char-count/char-count.d.ts +1 -1
- package/shared/patterns/form-elements/with-success-text.d.ts +1 -1
- package/shared/patterns/linkable.d.ts +1 -1
- package/shared/patterns/localized.d.ts +1 -1
- package/shared/patterns/trapped-focus.d.ts +1 -1
- package/shared/picker-field/mixins/calendar-picker.d.ts +1 -1
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +1 -1
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +1 -1
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +2 -2
- package/shared/picker-field/mixins/single-date-picker.d.ts +3 -3
- package/shared/picker-field/mixins/single-value-picker.d.ts +1 -1
- package/shared/picker-field/mixins/time-selection-picker.d.ts +2 -2
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +2 -2
- package/shared/picker-field/picker-field.d.ts +3 -3
- package/shared/picker-field.template.cjs +13 -13
- package/shared/picker-field.template.js +13 -13
- package/shared/vivid-element.cjs +11 -1
- package/shared/vivid-element.js +11 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/vivid.api.json +154 -66
|
@@ -2,11 +2,11 @@ import { VividElement } from '../../../foundation/vivid-element/vivid-element';
|
|
|
2
2
|
declare const InlineTimePicker_base: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
readonly locale: import("../../../localization/Locale").Locale;
|
|
5
|
+
connectedCallback(): void;
|
|
5
6
|
specialHandling: boolean;
|
|
6
7
|
_vividAriaBehaviour: import("../../../aria/aria-mixin").VividAriaBehaviour;
|
|
7
8
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
8
9
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
9
|
-
connectedCallback(): void;
|
|
10
10
|
disconnectedCallback(): void;
|
|
11
11
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
12
12
|
accessKey: string;
|
|
@@ -99,11 +99,11 @@ export declare const MinMaxCalendarPicker: <T_5 extends AbstractConstructor<{
|
|
|
99
99
|
};
|
|
100
100
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
101
101
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
102
|
+
connectedCallback(): void;
|
|
102
103
|
specialHandling: boolean;
|
|
103
104
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
104
105
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
105
106
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
106
|
-
connectedCallback(): void;
|
|
107
107
|
disconnectedCallback(): void;
|
|
108
108
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
109
109
|
accessKey: string;
|
|
@@ -910,11 +910,11 @@ export declare const MinMaxCalendarPicker: <T_5 extends AbstractConstructor<{
|
|
|
910
910
|
};
|
|
911
911
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
912
912
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
913
|
+
connectedCallback(): void;
|
|
913
914
|
specialHandling: boolean;
|
|
914
915
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
915
916
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
916
917
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
917
|
-
connectedCallback(): void;
|
|
918
918
|
disconnectedCallback(): void;
|
|
919
919
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
920
920
|
accessKey: string;
|
|
@@ -98,11 +98,11 @@ export declare const SingleDatePickerMixin: <T_6 extends AbstractConstructor<{
|
|
|
98
98
|
};
|
|
99
99
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
100
100
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
101
|
+
connectedCallback(): void;
|
|
101
102
|
specialHandling: boolean;
|
|
102
103
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
103
104
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
104
105
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
105
|
-
connectedCallback(): void;
|
|
106
106
|
disconnectedCallback(): void;
|
|
107
107
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
108
108
|
accessKey: string;
|
|
@@ -869,11 +869,11 @@ export declare const SingleDatePickerMixin: <T_6 extends AbstractConstructor<{
|
|
|
869
869
|
};
|
|
870
870
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
871
871
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
872
|
+
connectedCallback(): void;
|
|
872
873
|
specialHandling: boolean;
|
|
873
874
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
874
875
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
875
876
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
876
|
-
connectedCallback(): void;
|
|
877
877
|
disconnectedCallback(): void;
|
|
878
878
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
879
879
|
accessKey: string;
|
|
@@ -1678,11 +1678,11 @@ export declare const SingleDatePickerMixin: <T_6 extends AbstractConstructor<{
|
|
|
1678
1678
|
};
|
|
1679
1679
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
1680
1680
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
1681
|
+
connectedCallback(): void;
|
|
1681
1682
|
specialHandling: boolean;
|
|
1682
1683
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
1683
1684
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
1684
1685
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
1685
|
-
connectedCallback(): void;
|
|
1686
1686
|
disconnectedCallback(): void;
|
|
1687
1687
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
1688
1688
|
accessKey: string;
|
|
@@ -62,11 +62,11 @@ export declare const SingleValuePicker: <T extends AbstractConstructor<PickerFie
|
|
|
62
62
|
};
|
|
63
63
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
64
64
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
65
|
+
connectedCallback(): void;
|
|
65
66
|
specialHandling: boolean;
|
|
66
67
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
67
68
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
68
69
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
69
|
-
connectedCallback(): void;
|
|
70
70
|
disconnectedCallback(): void;
|
|
71
71
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
72
72
|
accessKey: string;
|
|
@@ -64,11 +64,11 @@ export declare const TimeSelectionPicker: <T_5 extends AbstractConstructor<{
|
|
|
64
64
|
};
|
|
65
65
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
66
66
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
67
|
+
connectedCallback(): void;
|
|
67
68
|
specialHandling: boolean;
|
|
68
69
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
69
70
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
70
71
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
71
|
-
connectedCallback(): void;
|
|
72
72
|
disconnectedCallback(): void;
|
|
73
73
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
74
74
|
accessKey: string;
|
|
@@ -853,11 +853,11 @@ export declare const TimeSelectionPicker: <T_5 extends AbstractConstructor<{
|
|
|
853
853
|
};
|
|
854
854
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
855
855
|
_getFeedbackTemplate(ctx: import("../../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
856
|
+
connectedCallback(): void;
|
|
856
857
|
specialHandling: boolean;
|
|
857
858
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
858
859
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
859
860
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
860
|
-
connectedCallback(): void;
|
|
861
861
|
disconnectedCallback(): void;
|
|
862
862
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
863
863
|
accessKey: string;
|
|
@@ -81,11 +81,11 @@ export declare const TimeSelectionPickerTemplate: (context: VividElementDefiniti
|
|
|
81
81
|
};
|
|
82
82
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
83
83
|
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
84
|
+
connectedCallback(): void;
|
|
84
85
|
specialHandling: boolean;
|
|
85
86
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
86
87
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
87
88
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
88
|
-
connectedCallback(): void;
|
|
89
89
|
disconnectedCallback(): void;
|
|
90
90
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
91
91
|
accessKey: string;
|
|
@@ -851,11 +851,11 @@ export declare const TimeSelectionPickerTemplate: (context: VividElementDefiniti
|
|
|
851
851
|
};
|
|
852
852
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
853
853
|
_getFeedbackTemplate(ctx: VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
854
|
+
connectedCallback(): void;
|
|
854
855
|
specialHandling: boolean;
|
|
855
856
|
_vividAriaBehaviour: import("../../aria/aria-mixin").VividAriaBehaviour;
|
|
856
857
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
857
858
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
858
|
-
connectedCallback(): void;
|
|
859
859
|
disconnectedCallback(): void;
|
|
860
860
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
861
861
|
accessKey: string;
|
|
@@ -10,11 +10,11 @@ declare const PickerField_base: {
|
|
|
10
10
|
};
|
|
11
11
|
_slottedHelperTextFeedbackType(): "none" | "helper";
|
|
12
12
|
_getFeedbackTemplate(ctx: import("../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
13
|
+
connectedCallback(): void;
|
|
13
14
|
specialHandling: boolean;
|
|
14
15
|
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
15
16
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
16
17
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
17
|
-
connectedCallback(): void;
|
|
18
18
|
disconnectedCallback(): void;
|
|
19
19
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
20
20
|
accessKey: string;
|
|
@@ -1101,11 +1101,11 @@ declare const PickerField_base: {
|
|
|
1101
1101
|
} & {
|
|
1102
1102
|
new (...args: any[]): {
|
|
1103
1103
|
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
1104
|
+
connectedCallback(): void;
|
|
1104
1105
|
specialHandling: boolean;
|
|
1105
1106
|
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
1106
1107
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
1107
1108
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
1108
|
-
connectedCallback(): void;
|
|
1109
1109
|
disconnectedCallback(): void;
|
|
1110
1110
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
1111
1111
|
accessKey: string;
|
|
@@ -1438,11 +1438,11 @@ declare const PickerField_base: {
|
|
|
1438
1438
|
} & {
|
|
1439
1439
|
new (...args: any[]): {
|
|
1440
1440
|
readonly locale: import("../localization/Locale").Locale;
|
|
1441
|
+
connectedCallback(): void;
|
|
1441
1442
|
specialHandling: boolean;
|
|
1442
1443
|
_vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
|
|
1443
1444
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
1444
1445
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
1445
|
-
connectedCallback(): void;
|
|
1446
1446
|
disconnectedCallback(): void;
|
|
1447
1447
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
1448
1448
|
accessKey: string;
|
|
@@ -213,7 +213,6 @@ class PickerField extends mixins.WithFeedback(
|
|
|
213
213
|
* @internal
|
|
214
214
|
*/
|
|
215
215
|
_onClearClick() {
|
|
216
|
-
this._closePopup();
|
|
217
216
|
this.$emit("clear-click");
|
|
218
217
|
}
|
|
219
218
|
}
|
|
@@ -234,18 +233,18 @@ const PickerFieldTemplate = (context, popupContentTemplate, { withSeparator, pad
|
|
|
234
233
|
return vividElement.html`
|
|
235
234
|
<div class='base' @keydown='${(x, { event }) => x._onBaseKeyDown(event)}'>
|
|
236
235
|
<${textFieldTag} id='text-field'
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
236
|
+
${ref.ref("_textFieldEl")}
|
|
237
|
+
class='control'
|
|
238
|
+
label='${(x) => x.label}'
|
|
239
|
+
helper-text='${(x) => x.helperText}'
|
|
240
|
+
error-text='${(x) => x.errorValidationMessage}'
|
|
241
|
+
placeholder='${(x) => x._textFieldPlaceholder}'
|
|
242
|
+
size='${(x) => x._textFieldSize}'
|
|
243
|
+
current-value='${(x) => x._presentationValue}'
|
|
244
|
+
?disabled='${(x) => x.disabled}'
|
|
245
|
+
?readonly='${(x) => x.readOnly}'
|
|
246
|
+
@input='${(x, c) => x._onTextFieldInput(c.event)}'
|
|
247
|
+
@change='${(x) => x._onTextFieldChange()}'
|
|
249
248
|
>
|
|
250
249
|
<slot
|
|
251
250
|
slot='${(x) => x._helperTextSlottedContent?.length ? "helper-text" : void 0}'
|
|
@@ -267,6 +266,7 @@ const PickerFieldTemplate = (context, popupContentTemplate, { withSeparator, pad
|
|
|
267
266
|
<${popupTag}
|
|
268
267
|
?open='${(x) => x._popupOpen}'
|
|
269
268
|
:anchor='${(x) => x._textFieldEl}'
|
|
269
|
+
offset='${(x) => x._helperTextSlottedContent?.length || x.helperText || x.errorValidationMessage ? 8 : null}'
|
|
270
270
|
placement='bottom-start'
|
|
271
271
|
class='popup'>
|
|
272
272
|
<div class="${() => classNames.classNames("dialog", [
|
|
@@ -211,7 +211,6 @@ class PickerField extends WithFeedback(
|
|
|
211
211
|
* @internal
|
|
212
212
|
*/
|
|
213
213
|
_onClearClick() {
|
|
214
|
-
this._closePopup();
|
|
215
214
|
this.$emit("clear-click");
|
|
216
215
|
}
|
|
217
216
|
}
|
|
@@ -232,18 +231,18 @@ const PickerFieldTemplate = (context, popupContentTemplate, { withSeparator, pad
|
|
|
232
231
|
return html`
|
|
233
232
|
<div class='base' @keydown='${(x, { event }) => x._onBaseKeyDown(event)}'>
|
|
234
233
|
<${textFieldTag} id='text-field'
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
234
|
+
${ref("_textFieldEl")}
|
|
235
|
+
class='control'
|
|
236
|
+
label='${(x) => x.label}'
|
|
237
|
+
helper-text='${(x) => x.helperText}'
|
|
238
|
+
error-text='${(x) => x.errorValidationMessage}'
|
|
239
|
+
placeholder='${(x) => x._textFieldPlaceholder}'
|
|
240
|
+
size='${(x) => x._textFieldSize}'
|
|
241
|
+
current-value='${(x) => x._presentationValue}'
|
|
242
|
+
?disabled='${(x) => x.disabled}'
|
|
243
|
+
?readonly='${(x) => x.readOnly}'
|
|
244
|
+
@input='${(x, c) => x._onTextFieldInput(c.event)}'
|
|
245
|
+
@change='${(x) => x._onTextFieldChange()}'
|
|
247
246
|
>
|
|
248
247
|
<slot
|
|
249
248
|
slot='${(x) => x._helperTextSlottedContent?.length ? "helper-text" : void 0}'
|
|
@@ -265,6 +264,7 @@ const PickerFieldTemplate = (context, popupContentTemplate, { withSeparator, pad
|
|
|
265
264
|
<${popupTag}
|
|
266
265
|
?open='${(x) => x._popupOpen}'
|
|
267
266
|
:anchor='${(x) => x._textFieldEl}'
|
|
267
|
+
offset='${(x) => x._helperTextSlottedContent?.length || x.helperText || x.errorValidationMessage ? 8 : null}'
|
|
268
268
|
placement='bottom-start'
|
|
269
269
|
class='popup'>
|
|
270
270
|
<div class="${() => classNames("dialog", [
|
package/shared/vivid-element.cjs
CHANGED
|
@@ -2541,6 +2541,7 @@ const createRegisterFunction = (definition) => (prefix = "vwc") => {
|
|
|
2541
2541
|
const registerComponent = (componentDefinition) => {
|
|
2542
2542
|
const tag = prefixed(componentDefinition.name);
|
|
2543
2543
|
let type = componentDefinition.type;
|
|
2544
|
+
type.componentName = componentDefinition.name;
|
|
2544
2545
|
if (registeredTags.has(tag)) {
|
|
2545
2546
|
return;
|
|
2546
2547
|
} else if (tagByType.has(type) && tagByType.get(type) !== tag) {
|
|
@@ -2733,7 +2734,16 @@ const ReplacedPropHandling = (Base) => {
|
|
|
2733
2734
|
|
|
2734
2735
|
class VividElement extends AriaMixin(ReplacedPropHandling(FASTElement)) {
|
|
2735
2736
|
static {
|
|
2736
|
-
this.VIVID_VERSION = "4.
|
|
2737
|
+
this.VIVID_VERSION = "4.26.0";
|
|
2738
|
+
}
|
|
2739
|
+
/**
|
|
2740
|
+
* Add data-vvd-component attribute with component name globally,
|
|
2741
|
+
* for referring to the elements in CSS, testing or debugging
|
|
2742
|
+
*/
|
|
2743
|
+
connectedCallback() {
|
|
2744
|
+
super.connectedCallback();
|
|
2745
|
+
const name = this.constructor.componentName;
|
|
2746
|
+
this.setAttribute("data-vvd-component", name);
|
|
2737
2747
|
}
|
|
2738
2748
|
}
|
|
2739
2749
|
|
package/shared/vivid-element.js
CHANGED
|
@@ -2539,6 +2539,7 @@ const createRegisterFunction = (definition) => (prefix = "vwc") => {
|
|
|
2539
2539
|
const registerComponent = (componentDefinition) => {
|
|
2540
2540
|
const tag = prefixed(componentDefinition.name);
|
|
2541
2541
|
let type = componentDefinition.type;
|
|
2542
|
+
type.componentName = componentDefinition.name;
|
|
2542
2543
|
if (registeredTags.has(tag)) {
|
|
2543
2544
|
return;
|
|
2544
2545
|
} else if (tagByType.has(type) && tagByType.get(type) !== tag) {
|
|
@@ -2731,7 +2732,16 @@ const ReplacedPropHandling = (Base) => {
|
|
|
2731
2732
|
|
|
2732
2733
|
class VividElement extends AriaMixin(ReplacedPropHandling(FASTElement)) {
|
|
2733
2734
|
static {
|
|
2734
|
-
this.VIVID_VERSION = "4.
|
|
2735
|
+
this.VIVID_VERSION = "4.26.0";
|
|
2736
|
+
}
|
|
2737
|
+
/**
|
|
2738
|
+
* Add data-vvd-component attribute with component name globally,
|
|
2739
|
+
* for referring to the elements in CSS, testing or debugging
|
|
2740
|
+
*/
|
|
2741
|
+
connectedCallback() {
|
|
2742
|
+
super.connectedCallback();
|
|
2743
|
+
const name = this.constructor.componentName;
|
|
2744
|
+
this.setAttribute("data-vvd-component", name);
|
|
2735
2745
|
}
|
|
2736
2746
|
}
|
|
2737
2747
|
|
package/styles/core/all.css
CHANGED
package/styles/core/theme.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Wed, 18 Jun 2025 09:28:14 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|