@vonage/vivid 5.1.0 → 5.3.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/accordion-item/definition.cjs +2 -1
- package/accordion-item/definition.js +2 -1
- package/alert/index.cjs +1 -1
- package/alert/index.js +1 -1
- package/audio-player/definition.cjs +41 -6
- package/audio-player/definition.js +41 -6
- package/audio-player/index.cjs +27 -25
- package/audio-player/index.js +88 -62
- package/badge/index.cjs +2 -2
- package/badge/index.js +4 -4
- package/banner/index.cjs +3 -3
- package/banner/index.js +6 -6
- package/breadcrumb-item/index.cjs +1 -1
- package/breadcrumb-item/index.js +1 -1
- package/bundled/affix.cjs +7 -7
- package/bundled/affix.js +5 -5
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +6 -6
- package/bundled/attribute-binding-behaviour.cjs +1 -1
- package/bundled/attribute-binding-behaviour.js +15 -13
- package/bundled/base-color-picker.cjs +13 -0
- package/bundled/base-color-picker.js +194 -0
- package/bundled/button.cjs +1 -1
- package/bundled/button.js +2 -2
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +21 -21
- package/bundled/char-count.cjs +1 -1
- package/bundled/char-count.js +1 -1
- package/bundled/children.cjs +1 -1
- package/bundled/children.js +28 -20
- package/bundled/definition.cjs +3 -3
- package/bundled/definition.js +38 -38
- package/bundled/definition10.cjs +72 -18
- package/bundled/definition10.js +351 -65
- package/bundled/definition11.cjs +19 -10
- package/bundled/definition11.js +66 -37
- package/bundled/definition12.cjs +10 -1
- package/bundled/definition12.js +38 -14
- package/bundled/definition13.cjs +1 -73
- package/bundled/definition13.js +15 -354
- package/bundled/definition15.cjs +1 -1
- package/bundled/definition15.js +1 -1
- package/bundled/definition16.cjs +2 -2
- package/bundled/definition16.js +8 -8
- package/bundled/definition17.cjs +7 -7
- package/bundled/definition17.js +17 -17
- package/bundled/definition19.cjs +17 -14
- package/bundled/definition19.js +85 -77
- package/bundled/definition2.cjs +9 -5
- package/bundled/definition2.js +21 -17
- package/bundled/definition22.cjs +9 -9
- package/bundled/definition22.js +31 -31
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +1 -1
- package/bundled/definition6.cjs +6 -6
- package/bundled/definition6.js +34 -31
- package/bundled/definition7.cjs +1 -1
- package/bundled/definition7.js +6 -6
- package/bundled/definition8.cjs +2 -2
- package/bundled/definition8.js +4 -4
- package/bundled/definition9.cjs +1 -1
- package/bundled/definition9.js +1 -1
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +59 -46
- package/bundled/form-associated.cjs +1 -1
- package/bundled/form-associated.js +3 -3
- package/bundled/host-semantics.cjs +1 -1
- package/bundled/host-semantics.js +48 -34
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +43 -31
- package/bundled/mixins.cjs +18 -18
- package/bundled/mixins.js +99 -93
- package/bundled/normalize.cjs +1 -0
- package/bundled/normalize.js +7 -0
- package/bundled/picker-field.template.cjs +18 -13
- package/bundled/picker-field.template.js +45 -37
- package/bundled/ref.cjs +1 -1
- package/bundled/ref.js +8 -25
- package/bundled/repeat.cjs +1 -1
- package/bundled/repeat.js +459 -233
- package/bundled/slider.template.cjs +1 -1
- package/bundled/slider.template.js +2 -2
- package/bundled/slotted.cjs +1 -1
- package/bundled/slotted.js +62 -45
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +1 -1
- package/bundled/time-selection-picker.template.js +5 -5
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +2126 -1172
- package/bundled/when.cjs +1 -1
- package/bundled/when.js +8 -7
- package/bundled/with-contextual-help.cjs +1 -1
- package/bundled/with-contextual-help.js +17 -7
- package/calendar/definition.cjs +1 -1
- package/calendar/definition.js +2 -2
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +6 -6
- package/calendar-event/index.cjs +1 -1
- package/calendar-event/index.js +1 -1
- package/card/definition.cjs +10 -2
- package/card/definition.js +10 -2
- package/card/index.cjs +19 -11
- package/card/index.js +35 -27
- package/color-picker/definition.cjs +1079 -0
- package/color-picker/definition.js +1073 -0
- package/color-picker/index.cjs +127 -0
- package/color-picker/index.js +726 -0
- package/combobox/definition.cjs +13 -6
- package/combobox/definition.js +14 -7
- package/combobox/index.cjs +15 -11
- package/combobox/index.js +82 -75
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +1 -1
- package/custom-elements.json +1621 -325
- package/data-grid/definition.cjs +862 -27
- package/data-grid/definition.js +863 -28
- package/data-grid/index.cjs +25 -25
- package/data-grid/index.js +175 -168
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +2 -2
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +2 -2
- package/date-time-picker/index.cjs +1 -1
- package/date-time-picker/index.js +2 -2
- package/dial-pad/definition.cjs +55 -1
- package/dial-pad/definition.js +56 -2
- package/dial-pad/index.cjs +21 -18
- package/dial-pad/index.js +138 -104
- package/dialog/definition.cjs +4 -1
- package/dialog/definition.js +4 -1
- package/dialog/index.cjs +21 -18
- package/dialog/index.js +43 -40
- package/empty-state/definition.cjs +7 -2
- package/empty-state/definition.js +7 -2
- package/empty-state/index.cjs +10 -5
- package/empty-state/index.js +18 -13
- package/fab/index.cjs +2 -2
- package/fab/index.js +4 -4
- package/file-picker/definition.cjs +16 -7
- package/file-picker/definition.js +17 -8
- package/file-picker/index.cjs +12 -9
- package/file-picker/index.js +103 -93
- package/icon/definition.cjs +10 -6
- package/icon/definition.js +10 -6
- package/index.cjs +4 -0
- package/index.js +1 -0
- package/lib/accordion-item/accordion-item.d.ts +2 -2
- package/lib/action-group/action-group.d.ts +2 -2
- package/lib/alert/alert.d.ts +4 -4
- package/lib/audio-player/audio-player.d.ts +6 -2
- package/lib/avatar/avatar.d.ts +2 -2
- package/lib/badge/badge.d.ts +2 -2
- package/lib/banner/banner.d.ts +6 -6
- package/lib/breadcrumb/breadcrumb.d.ts +2 -2
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +2 -2
- package/lib/button/button.d.ts +6 -6
- package/lib/button/button.template.d.ts +2 -1
- package/lib/calendar/calendar.d.ts +1 -1
- package/lib/calendar-event/calendar-event.d.ts +2 -2
- package/lib/card/card.d.ts +2 -2
- package/lib/checkbox/checkbox.d.ts +12 -12
- package/lib/color-picker/color-picker.d.ts +2420 -0
- package/lib/color-picker/color-picker.template.d.ts +3 -0
- package/lib/color-picker/definition.d.ts +4 -0
- package/lib/color-picker/locale.d.ts +9 -0
- package/lib/combobox/combobox.d.ts +495 -78
- package/lib/components.d.ts +1 -0
- package/lib/data-grid/data-grid-cell.d.ts +4 -4
- package/lib/data-grid/data-grid-row.d.ts +3 -4
- package/lib/data-grid/data-grid.d.ts +1 -2
- package/lib/date-picker/date-picker.d.ts +906 -894
- package/lib/date-range-picker/date-range-picker.d.ts +596 -590
- package/lib/date-time-picker/date-time-picker.d.ts +907 -895
- package/lib/dial-pad/dial-pad.d.ts +3 -2
- package/lib/dial-pad/dial-pad.template.d.ts +1 -1
- package/lib/dial-pad/locale.d.ts +1 -0
- package/lib/dialog/dialog.d.ts +4 -4
- package/lib/divider/divider.d.ts +2 -2
- package/lib/fab/fab.d.ts +2 -2
- package/lib/file-picker/file-picker.d.ts +495 -78
- package/lib/header/header.d.ts +2 -2
- package/lib/menu/menu.d.ts +5 -4
- package/lib/menu-item/menu-item.d.ts +4 -4
- package/lib/nav/nav.d.ts +2 -2
- package/lib/nav-disclosure/nav-disclosure.d.ts +4 -4
- package/lib/nav-item/nav-item.d.ts +4 -4
- package/lib/note/note.d.ts +2 -2
- package/lib/number-field/number-field.d.ts +19 -18
- package/lib/option/option.d.ts +4 -4
- package/lib/pagination/pagination.d.ts +2 -2
- package/lib/progress/progress.d.ts +2 -2
- package/lib/progress-ring/progress-ring.d.ts +2 -2
- package/lib/radio/radio.d.ts +6 -6
- package/lib/radio-group/radio-group.d.ts +2 -2
- package/lib/range-slider/range-slider.d.ts +6 -6
- package/lib/rich-text-editor/menubar/menubar.d.ts +2 -2
- package/lib/rich-text-editor/rich-text-editor.d.ts +2 -2
- package/lib/searchable-select/option-tag.d.ts +2 -2
- package/lib/searchable-select/searchable-select.d.ts +521 -104
- package/lib/select/select.d.ts +484 -67
- package/lib/selectable-box/selectable-box.d.ts +2 -2
- package/lib/simple-color-picker/locale.d.ts +0 -1
- package/lib/simple-color-picker/simple-color-picker.d.ts +47 -821
- package/lib/slider/slider.d.ts +6 -6
- package/lib/split-button/split-button.d.ts +6 -6
- package/lib/switch/switch.d.ts +4 -4
- package/lib/tab/tab.d.ts +6 -6
- package/lib/tab-panel/tab-panel.d.ts +2 -2
- package/lib/tag/tag.d.ts +6 -6
- package/lib/tag-group/tag-group.d.ts +2 -2
- package/lib/tag-name-map.d.ts +2 -1
- package/lib/text-area/text-area.d.ts +17 -16
- package/lib/text-field/text-field.d.ts +19 -18
- package/lib/time-picker/time-picker.d.ts +579 -573
- package/lib/toggletip/toggletip.d.ts +4 -4
- package/lib/tooltip/tooltip.d.ts +2 -2
- package/lib/tree-item/tree-item.d.ts +4 -4
- package/lib/tree-view/tree-view.d.ts +2 -2
- package/lib/video-player/video-player.d.ts +2 -2
- package/locales/de-DE.cjs +15 -3
- package/locales/de-DE.js +15 -3
- package/locales/en-GB.cjs +15 -3
- package/locales/en-GB.js +15 -3
- package/locales/en-US.cjs +15 -3
- package/locales/en-US.js +15 -3
- package/locales/ja-JP.cjs +15 -3
- package/locales/ja-JP.js +15 -3
- package/locales/zh-CN.cjs +15 -3
- package/locales/zh-CN.js +15 -3
- package/menu/definition.cjs +8 -4
- package/menu/definition.js +9 -5
- package/note/index.cjs +2 -2
- package/note/index.js +4 -4
- package/number-field/definition.cjs +3 -3
- package/number-field/definition.js +4 -4
- package/number-field/index.cjs +8 -8
- package/number-field/index.js +41 -40
- package/option/index.cjs +1 -1
- package/option/index.js +1 -1
- package/package.json +5 -5
- package/pagination/definition.cjs +2 -1
- package/pagination/definition.js +2 -1
- package/pagination/index.cjs +12 -12
- package/pagination/index.js +59 -59
- package/progress/index.cjs +1 -1
- package/progress/index.js +1 -1
- package/radio/definition.cjs +9 -9
- package/radio/definition.js +10 -10
- package/radio-group/definition.cjs +2 -1
- package/radio-group/definition.js +2 -1
- package/radio-group/index.cjs +5 -5
- package/radio-group/index.js +80 -77
- package/range-slider/index.cjs +1 -1
- package/range-slider/index.js +1 -1
- package/rich-text-editor/definition.cjs +1 -1
- package/rich-text-editor/definition.js +2 -2
- package/rich-text-editor/index.cjs +2 -2
- package/rich-text-editor/index.js +3 -3
- package/searchable-select/definition.cjs +30 -21
- package/searchable-select/definition.js +31 -22
- package/searchable-select/index.cjs +28 -25
- package/searchable-select/index.js +149 -140
- package/select/definition.cjs +15 -7
- package/select/definition.js +16 -8
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +3 -3
- package/selectable-box/index.js +20 -20
- package/shared/aria/aria-change-subscription.d.ts +0 -1
- package/shared/aria/aria-mixin.d.ts +2 -2
- package/shared/aria/delegate-aria-behavior.d.ts +5 -10
- package/shared/aria/delegates-aria.d.ts +3 -3
- package/shared/aria/host-semantics-behavior.d.ts +5 -8
- package/shared/aria/host-semantics.d.ts +3 -3
- package/shared/color-picker/base-color-picker.d.ts +436 -0
- package/shared/color-picker/index.d.ts +1 -0
- package/shared/color-picker/locale.d.ts +3 -0
- package/shared/color-picker/utils.d.ts +1 -0
- package/shared/deprecation/replaced-props.d.ts +317 -2
- package/shared/design-system/defineVividComponent.d.ts +2 -2
- package/shared/feedback/feedback-message.d.ts +2 -2
- package/shared/feedback/mixins.d.ts +4 -4
- package/shared/foundation/button/button.d.ts +4 -4
- package/shared/foundation/form-associated/form-associated.d.ts +4 -4
- package/shared/foundation/vivid-element/vivid-element.d.ts +335 -8
- package/shared/localization/Locale.d.ts +4 -0
- package/shared/patterns/affix.d.ts +4 -4
- package/shared/patterns/anchored.d.ts +4 -4
- package/shared/patterns/char-count/char-count.d.ts +2 -2
- package/shared/patterns/form-elements/form-element.d.ts +4 -4
- package/shared/patterns/form-elements/index.d.ts +1 -0
- package/shared/patterns/form-elements/with-contextual-help.d.ts +7 -6
- package/shared/patterns/form-elements/with-error-text.d.ts +6 -6
- package/shared/patterns/form-elements/with-success-text.d.ts +2 -2
- package/shared/patterns/linkable.d.ts +2 -2
- package/shared/patterns/localized.d.ts +2 -2
- package/shared/patterns/trapped-focus.d.ts +2 -2
- package/shared/picker-field/mixins/calendar-picker.d.ts +454 -451
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +454 -451
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +2 -2
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +600 -594
- package/shared/picker-field/mixins/single-date-picker.d.ts +746 -737
- package/shared/picker-field/mixins/single-value-picker.d.ts +451 -448
- package/shared/picker-field/mixins/time-selection-picker.d.ts +580 -574
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +579 -573
- package/shared/picker-field/picker-field.d.ts +495 -78
- package/shared/templating/attribute-binding-behaviour.d.ts +3 -4
- package/shared/templating/render-in-light-dom.d.ts +13 -12
- package/side-drawer/index.cjs +1 -1
- package/side-drawer/index.js +1 -1
- package/simple-color-picker/definition.cjs +28 -215
- package/simple-color-picker/definition.js +29 -216
- package/simple-color-picker/index.cjs +9 -21
- package/simple-color-picker/index.js +71 -185
- 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/switch/index.cjs +2 -2
- package/switch/index.js +4 -4
- package/tabs/definition.cjs +1 -1
- package/tabs/definition.js +2 -2
- package/tabs/index.cjs +2 -2
- package/tabs/index.js +16 -16
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text-area/definition.cjs +1 -1
- package/text-area/definition.js +1 -1
- package/text-area/index.cjs +3 -3
- package/text-area/index.js +9 -9
- package/text-field/definition.cjs +3 -3
- package/text-field/definition.js +4 -4
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +1 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +2 -2
- package/toggletip/definition.cjs +1 -1
- package/toggletip/definition.js +2 -2
- package/tree-view/definition.cjs +1 -1
- package/tree-view/definition.js +2 -2
- package/tree-view/index.cjs +2 -2
- package/tree-view/index.js +6 -6
- package/unbundled/_commonjsHelpers.cjs +36 -0
- package/unbundled/_commonjsHelpers.js +32 -0
- package/unbundled/affix.cjs +1 -1
- package/unbundled/affix.js +1 -1
- package/unbundled/attribute-binding-behaviour.cjs +11 -10
- package/unbundled/attribute-binding-behaviour.js +11 -10
- package/unbundled/base-color-picker.cjs +278 -0
- package/unbundled/base-color-picker.js +275 -0
- package/unbundled/button.cjs +1 -1
- package/unbundled/button.js +2 -2
- package/unbundled/calendar-picker.template.cjs +3 -3
- package/unbundled/calendar-picker.template.js +4 -4
- package/unbundled/definition2.cjs +1 -1
- package/unbundled/definition2.js +2 -2
- package/unbundled/definition3.cjs +2 -1
- package/unbundled/definition3.js +2 -1
- package/unbundled/delegates-aria.cjs +67 -33
- package/unbundled/delegates-aria.js +69 -35
- package/unbundled/form-associated.cjs +2 -2
- package/unbundled/form-associated.js +3 -3
- package/unbundled/host-semantics.cjs +47 -22
- package/unbundled/host-semantics.js +48 -23
- package/unbundled/mixins.cjs +34 -27
- package/unbundled/mixins.js +35 -28
- package/unbundled/picker-field.template.cjs +13 -5
- package/unbundled/picker-field.template.js +14 -6
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +4 -4
- package/unbundled/time-selection-picker.template.js +5 -5
- package/unbundled/vivid-element.cjs +22 -15
- package/unbundled/vivid-element.js +23 -15
- package/unbundled/with-contextual-help.cjs +11 -0
- package/unbundled/with-contextual-help.js +11 -0
- package/video-player/definition.cjs +69007 -1
- package/video-player/definition.js +69007 -1
- package/video-player/index.cjs +35 -35
- package/video-player/index.js +1358 -1384
- package/visually-hidden/index.cjs +1 -1
- package/visually-hidden/index.js +1 -1
- package/vivid.api.json +347 -69
|
@@ -5,10 +5,10 @@ declare const Toggletip_base: {
|
|
|
5
5
|
readonly locale: import("../../shared/localization/Locale").Locale;
|
|
6
6
|
connectedCallback(): void;
|
|
7
7
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
8
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
8
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
9
9
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
10
10
|
disconnectedCallback(): void;
|
|
11
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
11
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
12
12
|
accessKey: string;
|
|
13
13
|
readonly accessKeyLabel: string;
|
|
14
14
|
autocapitalize: string;
|
|
@@ -391,9 +391,9 @@ declare const Toggletip_base: {
|
|
|
391
391
|
connectedCallback(): void;
|
|
392
392
|
disconnectedCallback(): void;
|
|
393
393
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
394
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
394
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
395
395
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
396
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
396
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
397
397
|
accessKey: string;
|
|
398
398
|
readonly accessKeyLabel: string;
|
|
399
399
|
autocapitalize: string;
|
package/lib/tooltip/tooltip.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ declare const Tooltip_base: {
|
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
disconnectedCallback(): void;
|
|
16
16
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
17
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
17
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
18
18
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
19
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
19
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
20
20
|
accessKey: string;
|
|
21
21
|
readonly accessKeyLabel: string;
|
|
22
22
|
autocapitalize: string;
|
|
@@ -4,10 +4,10 @@ declare const TreeItem_base: {
|
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
_vividAriaBehaviour: "host";
|
|
6
6
|
connectedCallback(): void;
|
|
7
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
7
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
8
8
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
9
9
|
disconnectedCallback(): void;
|
|
10
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
10
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
11
11
|
accessKey: string;
|
|
12
12
|
readonly accessKeyLabel: string;
|
|
13
13
|
autocapitalize: string;
|
|
@@ -382,10 +382,10 @@ declare const TreeItem_base: {
|
|
|
382
382
|
iconSlottedContent?: HTMLElement[] | undefined;
|
|
383
383
|
connectedCallback(): void;
|
|
384
384
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
385
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
385
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
386
386
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
387
387
|
disconnectedCallback(): void;
|
|
388
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
388
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
389
389
|
accessKey: string;
|
|
390
390
|
readonly accessKeyLabel: string;
|
|
391
391
|
autocapitalize: string;
|
|
@@ -5,10 +5,10 @@ declare const TreeView_base: {
|
|
|
5
5
|
new (...args: any[]): {
|
|
6
6
|
_vividAriaBehaviour: "host";
|
|
7
7
|
connectedCallback(): void;
|
|
8
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
8
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
9
9
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
10
10
|
disconnectedCallback(): void;
|
|
11
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
11
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
12
12
|
accessKey: string;
|
|
13
13
|
readonly accessKeyLabel: string;
|
|
14
14
|
autocapitalize: string;
|
|
@@ -8,10 +8,10 @@ declare const VideoPlayer_base: {
|
|
|
8
8
|
readonly locale: import("../../shared/localization/Locale").Locale;
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
11
|
-
readonly $fastController: import("@microsoft/fast-element").
|
|
11
|
+
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
12
12
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
13
13
|
disconnectedCallback(): void;
|
|
14
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
14
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
15
15
|
accessKey: string;
|
|
16
16
|
readonly accessKeyLabel: string;
|
|
17
17
|
autocapitalize: string;
|
package/locales/de-DE.cjs
CHANGED
|
@@ -369,7 +369,8 @@ const deDE = {
|
|
|
369
369
|
digitNineLabel: "9 WXYZ",
|
|
370
370
|
digitAsteriskLabel: "*",
|
|
371
371
|
digitZeroLabel: "0",
|
|
372
|
-
digitHashtagLabel: "#"
|
|
372
|
+
digitHashtagLabel: "#",
|
|
373
|
+
errorLabel: "Fehler:"
|
|
373
374
|
},
|
|
374
375
|
tab: {
|
|
375
376
|
dismissButtonLabel: "Drücken Sie die ENTF-Taste, um diese Registerkarte zu schließen"
|
|
@@ -462,8 +463,7 @@ const deDE = {
|
|
|
462
463
|
(ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen`
|
|
463
464
|
)
|
|
464
465
|
},
|
|
465
|
-
|
|
466
|
-
colorPaletteLabel: "Farbpalette",
|
|
466
|
+
baseColorPicker: {
|
|
467
467
|
colorSwatchLabel: (
|
|
468
468
|
/* istanbul ignore next */
|
|
469
469
|
(value, label, selected) => {
|
|
@@ -472,6 +472,18 @@ const deDE = {
|
|
|
472
472
|
return swatchLabel;
|
|
473
473
|
}
|
|
474
474
|
)
|
|
475
|
+
},
|
|
476
|
+
simpleColorPicker: {
|
|
477
|
+
colorPaletteLabel: "Farbpalette"
|
|
478
|
+
},
|
|
479
|
+
colorPicker: {
|
|
480
|
+
popupLabel: "Farbwähler",
|
|
481
|
+
swatchesLabel: "Gespeicherte Farben:",
|
|
482
|
+
pickerButtonLabel: "Farbwähler öffnen",
|
|
483
|
+
saveButtonLabel: "Aktuelle Farbe speichern",
|
|
484
|
+
closeButtonLabel: "Farbwähler schließen",
|
|
485
|
+
copyButtonLabel: "Farbe in die Zwischenablage kopieren",
|
|
486
|
+
copyErrorText: "Kopieren fehlgeschlagen. Zugriff auf die Zwischenablage wurde blockiert. Versuchen Sie es erneut."
|
|
475
487
|
}
|
|
476
488
|
};
|
|
477
489
|
|
package/locales/de-DE.js
CHANGED
|
@@ -367,7 +367,8 @@ const deDE = {
|
|
|
367
367
|
digitNineLabel: "9 WXYZ",
|
|
368
368
|
digitAsteriskLabel: "*",
|
|
369
369
|
digitZeroLabel: "0",
|
|
370
|
-
digitHashtagLabel: "#"
|
|
370
|
+
digitHashtagLabel: "#",
|
|
371
|
+
errorLabel: "Fehler:"
|
|
371
372
|
},
|
|
372
373
|
tab: {
|
|
373
374
|
dismissButtonLabel: "Drücken Sie die ENTF-Taste, um diese Registerkarte zu schließen"
|
|
@@ -460,8 +461,7 @@ const deDE = {
|
|
|
460
461
|
(ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen`
|
|
461
462
|
)
|
|
462
463
|
},
|
|
463
|
-
|
|
464
|
-
colorPaletteLabel: "Farbpalette",
|
|
464
|
+
baseColorPicker: {
|
|
465
465
|
colorSwatchLabel: (
|
|
466
466
|
/* istanbul ignore next */
|
|
467
467
|
(value, label, selected) => {
|
|
@@ -470,6 +470,18 @@ const deDE = {
|
|
|
470
470
|
return swatchLabel;
|
|
471
471
|
}
|
|
472
472
|
)
|
|
473
|
+
},
|
|
474
|
+
simpleColorPicker: {
|
|
475
|
+
colorPaletteLabel: "Farbpalette"
|
|
476
|
+
},
|
|
477
|
+
colorPicker: {
|
|
478
|
+
popupLabel: "Farbwähler",
|
|
479
|
+
swatchesLabel: "Gespeicherte Farben:",
|
|
480
|
+
pickerButtonLabel: "Farbwähler öffnen",
|
|
481
|
+
saveButtonLabel: "Aktuelle Farbe speichern",
|
|
482
|
+
closeButtonLabel: "Farbwähler schließen",
|
|
483
|
+
copyButtonLabel: "Farbe in die Zwischenablage kopieren",
|
|
484
|
+
copyErrorText: "Kopieren fehlgeschlagen. Zugriff auf die Zwischenablage wurde blockiert. Versuchen Sie es erneut."
|
|
473
485
|
}
|
|
474
486
|
};
|
|
475
487
|
|
package/locales/en-GB.cjs
CHANGED
|
@@ -201,7 +201,8 @@ const enGB = {
|
|
|
201
201
|
digitNineLabel: "9 WXYZ",
|
|
202
202
|
digitAsteriskLabel: "*",
|
|
203
203
|
digitZeroLabel: "0",
|
|
204
|
-
digitHashtagLabel: "#"
|
|
204
|
+
digitHashtagLabel: "#",
|
|
205
|
+
errorLabel: "Error:"
|
|
205
206
|
},
|
|
206
207
|
tab: {
|
|
207
208
|
dismissButtonLabel: "Press the DELETE key to close this tab"
|
|
@@ -294,8 +295,7 @@ const enGB = {
|
|
|
294
295
|
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
295
296
|
)
|
|
296
297
|
},
|
|
297
|
-
|
|
298
|
-
colorPaletteLabel: "Color palette",
|
|
298
|
+
baseColorPicker: {
|
|
299
299
|
colorSwatchLabel: (
|
|
300
300
|
/* istanbul ignore next */
|
|
301
301
|
(value, label, selected) => {
|
|
@@ -304,6 +304,18 @@ const enGB = {
|
|
|
304
304
|
return swatchLabel;
|
|
305
305
|
}
|
|
306
306
|
)
|
|
307
|
+
},
|
|
308
|
+
simpleColorPicker: {
|
|
309
|
+
colorPaletteLabel: "Colour palette"
|
|
310
|
+
},
|
|
311
|
+
colorPicker: {
|
|
312
|
+
popupLabel: "Colour Picker",
|
|
313
|
+
swatchesLabel: "Saved colours:",
|
|
314
|
+
pickerButtonLabel: "Open Colour Picker",
|
|
315
|
+
saveButtonLabel: "Save current colour",
|
|
316
|
+
closeButtonLabel: "Close Colour Picker",
|
|
317
|
+
copyButtonLabel: "Copy Colour to Clipboard",
|
|
318
|
+
copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
|
|
307
319
|
}
|
|
308
320
|
};
|
|
309
321
|
|
package/locales/en-GB.js
CHANGED
|
@@ -199,7 +199,8 @@ const enGB = {
|
|
|
199
199
|
digitNineLabel: "9 WXYZ",
|
|
200
200
|
digitAsteriskLabel: "*",
|
|
201
201
|
digitZeroLabel: "0",
|
|
202
|
-
digitHashtagLabel: "#"
|
|
202
|
+
digitHashtagLabel: "#",
|
|
203
|
+
errorLabel: "Error:"
|
|
203
204
|
},
|
|
204
205
|
tab: {
|
|
205
206
|
dismissButtonLabel: "Press the DELETE key to close this tab"
|
|
@@ -292,8 +293,7 @@ const enGB = {
|
|
|
292
293
|
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
293
294
|
)
|
|
294
295
|
},
|
|
295
|
-
|
|
296
|
-
colorPaletteLabel: "Color palette",
|
|
296
|
+
baseColorPicker: {
|
|
297
297
|
colorSwatchLabel: (
|
|
298
298
|
/* istanbul ignore next */
|
|
299
299
|
(value, label, selected) => {
|
|
@@ -302,6 +302,18 @@ const enGB = {
|
|
|
302
302
|
return swatchLabel;
|
|
303
303
|
}
|
|
304
304
|
)
|
|
305
|
+
},
|
|
306
|
+
simpleColorPicker: {
|
|
307
|
+
colorPaletteLabel: "Colour palette"
|
|
308
|
+
},
|
|
309
|
+
colorPicker: {
|
|
310
|
+
popupLabel: "Colour Picker",
|
|
311
|
+
swatchesLabel: "Saved colours:",
|
|
312
|
+
pickerButtonLabel: "Open Colour Picker",
|
|
313
|
+
saveButtonLabel: "Save current colour",
|
|
314
|
+
closeButtonLabel: "Close Colour Picker",
|
|
315
|
+
copyButtonLabel: "Copy Colour to Clipboard",
|
|
316
|
+
copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
|
|
305
317
|
}
|
|
306
318
|
};
|
|
307
319
|
|
package/locales/en-US.cjs
CHANGED
|
@@ -369,7 +369,8 @@ const enUS = {
|
|
|
369
369
|
digitNineLabel: "9 WXYZ",
|
|
370
370
|
digitAsteriskLabel: "*",
|
|
371
371
|
digitZeroLabel: "0",
|
|
372
|
-
digitHashtagLabel: "#"
|
|
372
|
+
digitHashtagLabel: "#",
|
|
373
|
+
errorLabel: "Error:"
|
|
373
374
|
},
|
|
374
375
|
tab: {
|
|
375
376
|
dismissButtonLabel: "Press the DELETE key to close this tab"
|
|
@@ -462,8 +463,7 @@ const enUS = {
|
|
|
462
463
|
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
463
464
|
)
|
|
464
465
|
},
|
|
465
|
-
|
|
466
|
-
colorPaletteLabel: "Color palette",
|
|
466
|
+
baseColorPicker: {
|
|
467
467
|
colorSwatchLabel: (
|
|
468
468
|
/* istanbul ignore next */
|
|
469
469
|
(value, label, selected) => {
|
|
@@ -472,6 +472,18 @@ const enUS = {
|
|
|
472
472
|
return swatchLabel;
|
|
473
473
|
}
|
|
474
474
|
)
|
|
475
|
+
},
|
|
476
|
+
simpleColorPicker: {
|
|
477
|
+
colorPaletteLabel: "Color palette"
|
|
478
|
+
},
|
|
479
|
+
colorPicker: {
|
|
480
|
+
popupLabel: "Color Picker",
|
|
481
|
+
swatchesLabel: "Saved colors:",
|
|
482
|
+
pickerButtonLabel: "Open Color Picker",
|
|
483
|
+
saveButtonLabel: "Save current color",
|
|
484
|
+
closeButtonLabel: "Close Color Picker",
|
|
485
|
+
copyButtonLabel: "Copy Color to Clipboard",
|
|
486
|
+
copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
|
|
475
487
|
}
|
|
476
488
|
};
|
|
477
489
|
|
package/locales/en-US.js
CHANGED
|
@@ -367,7 +367,8 @@ const enUS = {
|
|
|
367
367
|
digitNineLabel: "9 WXYZ",
|
|
368
368
|
digitAsteriskLabel: "*",
|
|
369
369
|
digitZeroLabel: "0",
|
|
370
|
-
digitHashtagLabel: "#"
|
|
370
|
+
digitHashtagLabel: "#",
|
|
371
|
+
errorLabel: "Error:"
|
|
371
372
|
},
|
|
372
373
|
tab: {
|
|
373
374
|
dismissButtonLabel: "Press the DELETE key to close this tab"
|
|
@@ -460,8 +461,7 @@ const enUS = {
|
|
|
460
461
|
(ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
|
|
461
462
|
)
|
|
462
463
|
},
|
|
463
|
-
|
|
464
|
-
colorPaletteLabel: "Color palette",
|
|
464
|
+
baseColorPicker: {
|
|
465
465
|
colorSwatchLabel: (
|
|
466
466
|
/* istanbul ignore next */
|
|
467
467
|
(value, label, selected) => {
|
|
@@ -470,6 +470,18 @@ const enUS = {
|
|
|
470
470
|
return swatchLabel;
|
|
471
471
|
}
|
|
472
472
|
)
|
|
473
|
+
},
|
|
474
|
+
simpleColorPicker: {
|
|
475
|
+
colorPaletteLabel: "Color palette"
|
|
476
|
+
},
|
|
477
|
+
colorPicker: {
|
|
478
|
+
popupLabel: "Color Picker",
|
|
479
|
+
swatchesLabel: "Saved colors:",
|
|
480
|
+
pickerButtonLabel: "Open Color Picker",
|
|
481
|
+
saveButtonLabel: "Save current color",
|
|
482
|
+
closeButtonLabel: "Close Color Picker",
|
|
483
|
+
copyButtonLabel: "Copy Color to Clipboard",
|
|
484
|
+
copyErrorText: "Copy failed. Clipboard access was blocked. Try again."
|
|
473
485
|
}
|
|
474
486
|
};
|
|
475
487
|
|
package/locales/ja-JP.cjs
CHANGED
|
@@ -368,7 +368,8 @@ const jaJP = {
|
|
|
368
368
|
digitNineLabel: "9 WXYZ",
|
|
369
369
|
digitAsteriskLabel: "*",
|
|
370
370
|
digitZeroLabel: "0",
|
|
371
|
-
digitHashtagLabel: "#"
|
|
371
|
+
digitHashtagLabel: "#",
|
|
372
|
+
errorLabel: "エラー:"
|
|
372
373
|
},
|
|
373
374
|
tab: {
|
|
374
375
|
dismissButtonLabel: "このタブを閉じるにはDELETEキーを押してください"
|
|
@@ -461,8 +462,7 @@ const jaJP = {
|
|
|
461
462
|
(ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示`
|
|
462
463
|
)
|
|
463
464
|
},
|
|
464
|
-
|
|
465
|
-
colorPaletteLabel: "カラーパレット",
|
|
465
|
+
baseColorPicker: {
|
|
466
466
|
colorSwatchLabel: (
|
|
467
467
|
/* istanbul ignore next */
|
|
468
468
|
(value, label, selected) => {
|
|
@@ -471,6 +471,18 @@ const jaJP = {
|
|
|
471
471
|
return swatchLabel;
|
|
472
472
|
}
|
|
473
473
|
)
|
|
474
|
+
},
|
|
475
|
+
simpleColorPicker: {
|
|
476
|
+
colorPaletteLabel: "カラーパレット"
|
|
477
|
+
},
|
|
478
|
+
colorPicker: {
|
|
479
|
+
popupLabel: "カラーピッカー",
|
|
480
|
+
swatchesLabel: "保存された色:",
|
|
481
|
+
pickerButtonLabel: "カラーピッカーを開く",
|
|
482
|
+
saveButtonLabel: "現在の色を保存",
|
|
483
|
+
closeButtonLabel: "カラーピッカーを閉じる",
|
|
484
|
+
copyButtonLabel: "色をクリップボードにコピー",
|
|
485
|
+
copyErrorText: "コピーに失敗しました。クリップボードへのアクセスがブロックされました。もう一度お試しください。"
|
|
474
486
|
}
|
|
475
487
|
};
|
|
476
488
|
|
package/locales/ja-JP.js
CHANGED
|
@@ -366,7 +366,8 @@ const jaJP = {
|
|
|
366
366
|
digitNineLabel: "9 WXYZ",
|
|
367
367
|
digitAsteriskLabel: "*",
|
|
368
368
|
digitZeroLabel: "0",
|
|
369
|
-
digitHashtagLabel: "#"
|
|
369
|
+
digitHashtagLabel: "#",
|
|
370
|
+
errorLabel: "エラー:"
|
|
370
371
|
},
|
|
371
372
|
tab: {
|
|
372
373
|
dismissButtonLabel: "このタブを閉じるにはDELETEキーを押してください"
|
|
@@ -459,8 +460,7 @@ const jaJP = {
|
|
|
459
460
|
(ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示`
|
|
460
461
|
)
|
|
461
462
|
},
|
|
462
|
-
|
|
463
|
-
colorPaletteLabel: "カラーパレット",
|
|
463
|
+
baseColorPicker: {
|
|
464
464
|
colorSwatchLabel: (
|
|
465
465
|
/* istanbul ignore next */
|
|
466
466
|
(value, label, selected) => {
|
|
@@ -469,6 +469,18 @@ const jaJP = {
|
|
|
469
469
|
return swatchLabel;
|
|
470
470
|
}
|
|
471
471
|
)
|
|
472
|
+
},
|
|
473
|
+
simpleColorPicker: {
|
|
474
|
+
colorPaletteLabel: "カラーパレット"
|
|
475
|
+
},
|
|
476
|
+
colorPicker: {
|
|
477
|
+
popupLabel: "カラーピッカー",
|
|
478
|
+
swatchesLabel: "保存された色:",
|
|
479
|
+
pickerButtonLabel: "カラーピッカーを開く",
|
|
480
|
+
saveButtonLabel: "現在の色を保存",
|
|
481
|
+
closeButtonLabel: "カラーピッカーを閉じる",
|
|
482
|
+
copyButtonLabel: "色をクリップボードにコピー",
|
|
483
|
+
copyErrorText: "コピーに失敗しました。クリップボードへのアクセスがブロックされました。もう一度お試しください。"
|
|
472
484
|
}
|
|
473
485
|
};
|
|
474
486
|
|
package/locales/zh-CN.cjs
CHANGED
|
@@ -370,7 +370,8 @@ const zhCN = {
|
|
|
370
370
|
digitNineLabel: "9 WXYZ",
|
|
371
371
|
digitAsteriskLabel: "*",
|
|
372
372
|
digitZeroLabel: "0",
|
|
373
|
-
digitHashtagLabel: "#"
|
|
373
|
+
digitHashtagLabel: "#",
|
|
374
|
+
errorLabel: "错误:"
|
|
374
375
|
},
|
|
375
376
|
tab: {
|
|
376
377
|
dismissButtonLabel: "按 DELETE 键关闭此选项卡"
|
|
@@ -463,8 +464,7 @@ const zhCN = {
|
|
|
463
464
|
(ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息`
|
|
464
465
|
)
|
|
465
466
|
},
|
|
466
|
-
|
|
467
|
-
colorPaletteLabel: "调色板",
|
|
467
|
+
baseColorPicker: {
|
|
468
468
|
colorSwatchLabel: (
|
|
469
469
|
/* istanbul ignore next */
|
|
470
470
|
(value, label, selected) => {
|
|
@@ -473,6 +473,18 @@ const zhCN = {
|
|
|
473
473
|
return swatchLabel;
|
|
474
474
|
}
|
|
475
475
|
)
|
|
476
|
+
},
|
|
477
|
+
simpleColorPicker: {
|
|
478
|
+
colorPaletteLabel: "调色板"
|
|
479
|
+
},
|
|
480
|
+
colorPicker: {
|
|
481
|
+
popupLabel: "颜色选择器",
|
|
482
|
+
swatchesLabel: "已保存的颜色",
|
|
483
|
+
pickerButtonLabel: "打开颜色选择器",
|
|
484
|
+
saveButtonLabel: "保存当前颜色",
|
|
485
|
+
closeButtonLabel: "关闭颜色选择器",
|
|
486
|
+
copyButtonLabel: "将颜色复制到剪贴板",
|
|
487
|
+
copyErrorText: "复制失败。剪贴板访问已被阻止。请重试。"
|
|
476
488
|
}
|
|
477
489
|
};
|
|
478
490
|
|
package/locales/zh-CN.js
CHANGED
|
@@ -368,7 +368,8 @@ const zhCN = {
|
|
|
368
368
|
digitNineLabel: "9 WXYZ",
|
|
369
369
|
digitAsteriskLabel: "*",
|
|
370
370
|
digitZeroLabel: "0",
|
|
371
|
-
digitHashtagLabel: "#"
|
|
371
|
+
digitHashtagLabel: "#",
|
|
372
|
+
errorLabel: "错误:"
|
|
372
373
|
},
|
|
373
374
|
tab: {
|
|
374
375
|
dismissButtonLabel: "按 DELETE 键关闭此选项卡"
|
|
@@ -461,8 +462,7 @@ const zhCN = {
|
|
|
461
462
|
(ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息`
|
|
462
463
|
)
|
|
463
464
|
},
|
|
464
|
-
|
|
465
|
-
colorPaletteLabel: "调色板",
|
|
465
|
+
baseColorPicker: {
|
|
466
466
|
colorSwatchLabel: (
|
|
467
467
|
/* istanbul ignore next */
|
|
468
468
|
(value, label, selected) => {
|
|
@@ -471,6 +471,18 @@ const zhCN = {
|
|
|
471
471
|
return swatchLabel;
|
|
472
472
|
}
|
|
473
473
|
)
|
|
474
|
+
},
|
|
475
|
+
simpleColorPicker: {
|
|
476
|
+
colorPaletteLabel: "调色板"
|
|
477
|
+
},
|
|
478
|
+
colorPicker: {
|
|
479
|
+
popupLabel: "颜色选择器",
|
|
480
|
+
swatchesLabel: "已保存的颜色",
|
|
481
|
+
pickerButtonLabel: "打开颜色选择器",
|
|
482
|
+
saveButtonLabel: "保存当前颜色",
|
|
483
|
+
closeButtonLabel: "关闭颜色选择器",
|
|
484
|
+
copyButtonLabel: "将颜色复制到剪贴板",
|
|
485
|
+
copyErrorText: "复制失败。剪贴板访问已被阻止。请重试。"
|
|
474
486
|
}
|
|
475
487
|
};
|
|
476
488
|
|
package/menu/definition.cjs
CHANGED
|
@@ -12,7 +12,7 @@ const delegatesAria = require('../unbundled/delegates-aria.cjs');
|
|
|
12
12
|
const divider = require('../unbundled/divider.cjs');
|
|
13
13
|
const index = require('../unbundled/index.cjs');
|
|
14
14
|
|
|
15
|
-
const styles = ":host{display:var(--_popup-display, inline)}:host([slotted-anchor]){--_popup-display: contents}.base{display:flex;overflow:hidden auto;box-sizing:border-box;flex-direction:column;padding:4px;gap:8px;inline-size:max-content;max-block-size:var(--menu-block-size, 408px);min-inline-size:var(--menu-min-inline-size)}@media not all and (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size, 300px)}}@media (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size)}}::slotted(a){color:var(--vvd-color-canvas-text);text-decoration:none}::slotted(a[data-vvd-component=menuitem]:focus-visible){box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent;display:block}.header{padding
|
|
15
|
+
const styles = ":host{display:var(--_popup-display, inline)}:host([slotted-anchor]){--_popup-display: contents}.base{display:flex;overflow:hidden auto;box-sizing:border-box;flex-direction:column;padding:4px;gap:8px;inline-size:max-content;max-block-size:var(--menu-block-size, 408px);min-inline-size:var(--menu-min-inline-size)}@media not all and (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size, 300px)}}@media (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size)}}::slotted(a){color:var(--vvd-color-canvas-text);text-decoration:none}::slotted(a[data-vvd-component=menuitem]:focus-visible){box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent;display:block}.header{padding:4px}.hide-header .header{display:none}.body{display:flex;flex-direction:column;row-gap:1px}.hide-body .body{display:none}.action-items{display:flex;justify-content:flex-end;gap:8px;padding-block-end:4px;padding-inline:12px}.hide-actions .action-items{display:none}";
|
|
16
16
|
|
|
17
17
|
var __defProp = Object.defineProperty;
|
|
18
18
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -30,6 +30,7 @@ const isMenuItemElement = (el) => el instanceof menuItem_definition.MenuItem ? t
|
|
|
30
30
|
class Menu extends anchored.Anchored(delegatesAria.DelegatesAria(vividElement.VividElement)) {
|
|
31
31
|
constructor() {
|
|
32
32
|
super(...arguments);
|
|
33
|
+
this.offset = null;
|
|
33
34
|
this.expandedItem = null;
|
|
34
35
|
/**
|
|
35
36
|
* The index of the focusable element in the items array
|
|
@@ -104,7 +105,7 @@ class Menu extends anchored.Anchored(delegatesAria.DelegatesAria(vividElement.Vi
|
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
106
107
|
const newValue = !this.open;
|
|
107
|
-
fastElement.
|
|
108
|
+
fastElement.Updates.enqueue(() => this.open = newValue);
|
|
108
109
|
};
|
|
109
110
|
this._onFocusout = (e) => {
|
|
110
111
|
const focusTarget = e.relatedTarget;
|
|
@@ -127,7 +128,7 @@ class Menu extends anchored.Anchored(delegatesAria.DelegatesAria(vividElement.Vi
|
|
|
127
128
|
*/
|
|
128
129
|
connectedCallback() {
|
|
129
130
|
super.connectedCallback();
|
|
130
|
-
fastElement.
|
|
131
|
+
fastElement.Updates.enqueue(() => {
|
|
131
132
|
this.setItems();
|
|
132
133
|
});
|
|
133
134
|
}
|
|
@@ -285,6 +286,9 @@ class Menu extends anchored.Anchored(delegatesAria.DelegatesAria(vividElement.Vi
|
|
|
285
286
|
return true;
|
|
286
287
|
}
|
|
287
288
|
}
|
|
289
|
+
__decorateClass([
|
|
290
|
+
fastElement.attr({ attribute: "offset", converter: fastElement.nullableNumberConverter })
|
|
291
|
+
], Menu.prototype, "offset");
|
|
288
292
|
__decorateClass([
|
|
289
293
|
fastElement.observable
|
|
290
294
|
], Menu.prototype, "items");
|
|
@@ -346,7 +350,7 @@ const MenuTemplate = (context) => {
|
|
|
346
350
|
:open=${(x) => x.open}
|
|
347
351
|
:anchor=${(x) => x._anchorEl}
|
|
348
352
|
:strategy="${(x) => x.positionStrategy}"
|
|
349
|
-
:offset=${(x) => x._popupOffset}
|
|
353
|
+
:offset=${(x) => x.offset || x._popupOffset}
|
|
350
354
|
@keydown="${(x, c) => handleEscapeKey(x, c.event)}"
|
|
351
355
|
@vwc-popup:open="${(x, c) => handlePopupEvents(x, c.event, true)}"
|
|
352
356
|
@vwc-popup:close="${(x, c) => handlePopupEvents(x, c.event, false)}"
|
package/menu/definition.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { P as Popup, p as popupDefinition } from '../unbundled/definition4.js';
|
|
2
2
|
import { M as MenuItem, a as MenuItemRole, m as menuItemDefinition, b as menuName } from '../unbundled/definition2.js';
|
|
3
3
|
import { V as VividElement, d as defineVividComponent, c as createRegisterFunction } from '../unbundled/vivid-element.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Updates, attr, nullableNumberConverter, observable, ref, slotted, html } from '@microsoft/fast-element';
|
|
5
5
|
import { keyHome, keyEnd, keyArrowUp, keyArrowDown, classNames } from '@microsoft/fast-web-utilities';
|
|
6
6
|
import { A as Anchored, a as anchorSlotTemplateFactory } from '../unbundled/anchored.js';
|
|
7
7
|
import { D as DelegatesAria, d as delegateAria } from '../unbundled/delegates-aria.js';
|
|
8
8
|
import { D as Divider } from '../unbundled/divider.js';
|
|
9
9
|
import { h as handleEscapeKeyAndStopPropogation } from '../unbundled/index.js';
|
|
10
10
|
|
|
11
|
-
const styles = ":host{display:var(--_popup-display, inline)}:host([slotted-anchor]){--_popup-display: contents}.base{display:flex;overflow:hidden auto;box-sizing:border-box;flex-direction:column;padding:4px;gap:8px;inline-size:max-content;max-block-size:var(--menu-block-size, 408px);min-inline-size:var(--menu-min-inline-size)}@media not all and (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size, 300px)}}@media (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size)}}::slotted(a){color:var(--vvd-color-canvas-text);text-decoration:none}::slotted(a[data-vvd-component=menuitem]:focus-visible){box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent;display:block}.header{padding
|
|
11
|
+
const styles = ":host{display:var(--_popup-display, inline)}:host([slotted-anchor]){--_popup-display: contents}.base{display:flex;overflow:hidden auto;box-sizing:border-box;flex-direction:column;padding:4px;gap:8px;inline-size:max-content;max-block-size:var(--menu-block-size, 408px);min-inline-size:var(--menu-min-inline-size)}@media not all and (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size, 300px)}}@media (width >= 600px){.base{max-inline-size:var(--menu-max-inline-size)}}::slotted(a){color:var(--vvd-color-canvas-text);text-decoration:none}::slotted(a[data-vvd-component=menuitem]:focus-visible){box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent;display:block}.header{padding:4px}.hide-header .header{display:none}.body{display:flex;flex-direction:column;row-gap:1px}.hide-body .body{display:none}.action-items{display:flex;justify-content:flex-end;gap:8px;padding-block-end:4px;padding-inline:12px}.hide-actions .action-items{display:none}";
|
|
12
12
|
|
|
13
13
|
var __defProp = Object.defineProperty;
|
|
14
14
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -26,6 +26,7 @@ const isMenuItemElement = (el) => el instanceof MenuItem ? true : Boolean(el.rol
|
|
|
26
26
|
class Menu extends Anchored(DelegatesAria(VividElement)) {
|
|
27
27
|
constructor() {
|
|
28
28
|
super(...arguments);
|
|
29
|
+
this.offset = null;
|
|
29
30
|
this.expandedItem = null;
|
|
30
31
|
/**
|
|
31
32
|
* The index of the focusable element in the items array
|
|
@@ -100,7 +101,7 @@ class Menu extends Anchored(DelegatesAria(VividElement)) {
|
|
|
100
101
|
return;
|
|
101
102
|
}
|
|
102
103
|
const newValue = !this.open;
|
|
103
|
-
|
|
104
|
+
Updates.enqueue(() => this.open = newValue);
|
|
104
105
|
};
|
|
105
106
|
this._onFocusout = (e) => {
|
|
106
107
|
const focusTarget = e.relatedTarget;
|
|
@@ -123,7 +124,7 @@ class Menu extends Anchored(DelegatesAria(VividElement)) {
|
|
|
123
124
|
*/
|
|
124
125
|
connectedCallback() {
|
|
125
126
|
super.connectedCallback();
|
|
126
|
-
|
|
127
|
+
Updates.enqueue(() => {
|
|
127
128
|
this.setItems();
|
|
128
129
|
});
|
|
129
130
|
}
|
|
@@ -281,6 +282,9 @@ class Menu extends Anchored(DelegatesAria(VividElement)) {
|
|
|
281
282
|
return true;
|
|
282
283
|
}
|
|
283
284
|
}
|
|
285
|
+
__decorateClass([
|
|
286
|
+
attr({ attribute: "offset", converter: nullableNumberConverter })
|
|
287
|
+
], Menu.prototype, "offset");
|
|
284
288
|
__decorateClass([
|
|
285
289
|
observable
|
|
286
290
|
], Menu.prototype, "items");
|
|
@@ -342,7 +346,7 @@ const MenuTemplate = (context) => {
|
|
|
342
346
|
:open=${(x) => x.open}
|
|
343
347
|
:anchor=${(x) => x._anchorEl}
|
|
344
348
|
:strategy="${(x) => x.positionStrategy}"
|
|
345
|
-
:offset=${(x) => x._popupOffset}
|
|
349
|
+
:offset=${(x) => x.offset || x._popupOffset}
|
|
346
350
|
@keydown="${(x, c) => handleEscapeKey(x, c.event)}"
|
|
347
351
|
@vwc-popup:open="${(x, c) => handlePopupEvents(x, c.event, true)}"
|
|
348
352
|
@vwc-popup:close="${(x, c) => handlePopupEvents(x, c.event, false)}"
|
package/note/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";const s=require("../bundled/definition2.cjs"),n=require("../bundled/vivid-element.cjs"),i=require("../bundled/affix.cjs"),d=require("../bundled/
|
|
1
|
+
"use strict";const s=require("../bundled/definition2.cjs"),n=require("../bundled/vivid-element.cjs"),i=require("../bundled/affix.cjs"),d=require("../bundled/when.cjs"),f=require("../bundled/class-names.cjs"),m=".base.connotation-success{--_connotation-color-intermediate: var(--vvd-note-success-intermediate, var(--vvd-color-success-500));--_connotation-color-faint: var(--vvd-note-success-faint, var(--vvd-color-success-50));--_connotation-color-fierce: var(--vvd-note-success-fierce, var(--vvd-color-success-700))}.base.connotation-information{--_connotation-color-intermediate: var(--vvd-note-information-intermediate, var(--vvd-color-information-500));--_connotation-color-faint: var(--vvd-note-information-faint, var(--vvd-color-information-50));--_connotation-color-fierce: var(--vvd-note-information-fierce, var(--vvd-color-information-700))}.base.connotation-alert{--_connotation-color-intermediate: var(--vvd-note-alert-intermediate, var(--vvd-color-alert-500));--_connotation-color-faint: var(--vvd-note-alert-faint, var(--vvd-color-alert-50));--_connotation-color-fierce: var(--vvd-note-alert-fierce, var(--vvd-color-alert-700))}.base.connotation-warning{--_connotation-color-intermediate: var(--vvd-note-warning-intermediate, var(--vvd-color-warning-300));--_connotation-color-faint: var(--vvd-note-warning-faint, var(--vvd-color-warning-50));--_connotation-color-fierce: var(--vvd-note-warning-fierce, var(--vvd-color-warning-700))}.base.connotation-announcement{--_connotation-color-intermediate: var(--vvd-note-announcement-intermediate, var(--vvd-color-announcement-500));--_connotation-color-faint: var(--vvd-note-announcement-faint, var(--vvd-color-announcement-50));--_connotation-color-fierce: var(--vvd-note-announcement-fierce, var(--vvd-color-announcement-700))}.base:not(.connotation-success,.connotation-information,.connotation-alert,.connotation-warning,.connotation-announcement){--_connotation-color-intermediate: var(--vvd-note-accent-intermediate, var(--vvd-color-neutral-500));--_connotation-color-faint: var(--vvd-note-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-fierce: var(--vvd-note-accent-fierce, var(--vvd-color-neutral-700))}.base{--_appearance-color-text: var(--_connotation-color-fierce);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: var(--_connotation-color-intermediate)}.base{display:flex;align-items:flex-start;padding:calc(1px*(20 + 4*clamp(-1,var(--vvd-size-density, 0),2)));border-radius:8px;background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);color:var(--vvd-color-canvas-text);column-gap:16px}@supports (contain: content){.base{contain:content}}@supports not (contain: content){.base{overflow:hidden}}slot[name=icon]{color:var(--_appearance-color-outline);font-size:calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2)))}.text{display:flex;min-height:24px;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:center;gap:4px;text-align:start}.text .headline{font:var(--vvd-typography-base-bold)}.text .message{font:var(--vvd-typography-base)}";var p=Object.defineProperty,l=(o,a,t,h)=>{for(var e=void 0,r=o.length-1,v;r>=0;r--)(v=o[r])&&(e=v(a,t,e)||e);return e&&p(a,t,e),e};class c extends i.AffixIcon(n.VividElement){}l([n.attr],c.prototype,"headline");l([n.attr],c.prototype,"connotation");const u=({connotation:o})=>f.classNames("base",`connotation-${o}`);function _(){return n.html`<div class="headline">${o=>o.headline}</div>`}const x=o=>{const a=i.affixIconTemplateFactory(o);return n.html`
|
|
2
2
|
<div class="${u}">
|
|
3
3
|
${t=>a(t.icon,i.IconWrapper.Slot)}
|
|
4
4
|
<div class="text">
|
|
5
|
-
${
|
|
5
|
+
${d.when(t=>t.headline,_())}
|
|
6
6
|
<slot class="message"></slot>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|