@vonage/vivid 5.31.0 → 5.32.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/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +25 -26
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +5 -5
- package/bundled/char-count.cjs +2 -2
- package/bundled/char-count.js +2 -3
- package/bundled/definition4.cjs +17 -10
- package/bundled/definition4.js +17 -10
- package/bundled/form-element.cjs +1 -1
- package/bundled/form-element.js +3 -4
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +11 -10
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +12 -17
- package/bundled/time-selection-picker.template.cjs +1 -1
- package/bundled/time-selection-picker.template.js +7 -9
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +10 -8
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +7 -9
- package/custom-elements.json +4955 -6650
- package/lib/accordion-item/accordion-item.d.ts +13 -7
- package/lib/action-group/action-group.d.ts +13 -7
- package/lib/alert/alert.d.ts +26 -14
- package/lib/audio-player/audio-player.d.ts +13 -7
- package/lib/avatar/avatar.d.ts +13 -7
- package/lib/badge/badge.d.ts +13 -7
- package/lib/banner/banner.d.ts +39 -21
- package/lib/breadcrumb/breadcrumb.d.ts +13 -7
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
- package/lib/button/button.d.ts +39 -21
- package/lib/calendar-event/calendar-event.d.ts +13 -7
- package/lib/card/card.d.ts +13 -7
- package/lib/checkbox/checkbox.d.ts +84 -48
- package/lib/color-picker/color-picker.d.ts +98 -56
- package/lib/combobox/combobox.d.ts +98 -56
- package/lib/country-group/country-group.d.ts +26 -14
- package/lib/data-grid/data-grid-cell.d.ts +26 -14
- package/lib/data-grid/data-grid-row.d.ts +13 -7
- package/lib/date-picker/date-picker.d.ts +162 -114
- package/lib/date-range-picker/date-range-picker.d.ts +82 -58
- package/lib/date-time-picker/date-time-picker.d.ts +164 -116
- package/lib/dial-pad/dial-pad.d.ts +13 -7
- package/lib/dialog/dialog.d.ts +26 -14
- package/lib/divider/divider.d.ts +13 -7
- package/lib/fab/fab.d.ts +13 -7
- package/lib/file-picker/file-picker.d.ts +98 -56
- package/lib/header/header.d.ts +13 -7
- package/lib/listbox/listbox.d.ts +41 -23
- package/lib/menu/menu.d.ts +30 -18
- package/lib/menu-item/menu-item.d.ts +39 -21
- package/lib/nav/nav.d.ts +13 -7
- package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
- package/lib/nav-item/nav-item.d.ts +28 -16
- package/lib/note/note.d.ts +13 -7
- package/lib/number-field/number-field.d.ts +124 -70
- package/lib/optgroup/optgroup.d.ts +13 -7
- package/lib/option/option.d.ts +26 -14
- package/lib/pagination/pagination.d.ts +13 -7
- package/lib/popover/popover.d.ts +26 -14
- package/lib/progress/progress.d.ts +13 -7
- package/lib/progress-ring/progress-ring.d.ts +13 -7
- package/lib/radio/radio.d.ts +45 -27
- package/lib/radio-group/radio-group.d.ts +13 -7
- package/lib/range-slider/range-slider.d.ts +40 -22
- package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
- package/lib/searchable-select/option-tag.d.ts +13 -7
- package/lib/searchable-select/searchable-select.d.ts +124 -70
- package/lib/select/select.d.ts +124 -70
- package/lib/selectable-box/selectable-box.d.ts +13 -7
- package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
- package/lib/slider/slider.d.ts +39 -21
- package/lib/split-button/split-button.d.ts +39 -21
- package/lib/status/status.d.ts +13 -7
- package/lib/switch/switch.d.ts +26 -14
- package/lib/tab/tab.d.ts +39 -21
- package/lib/tab-panel/tab-panel.d.ts +13 -7
- package/lib/table/table-cell.d.ts +13 -7
- package/lib/table/table-header-cell.d.ts +13 -7
- package/lib/table/table-row.d.ts +13 -7
- package/lib/table/table-sorting-button.d.ts +26 -14
- package/lib/tag/tag.d.ts +39 -21
- package/lib/tag-group/tag-group.d.ts +13 -7
- package/lib/text-area/text-area.d.ts +112 -64
- package/lib/text-field/text-field.d.ts +125 -71
- package/lib/time-picker/time-picker.d.ts +82 -58
- package/lib/toggletip/toggletip.d.ts +30 -18
- package/lib/tooltip/tooltip.d.ts +30 -18
- package/lib/tree-item/tree-item.d.ts +26 -14
- package/lib/tree-view/tree-view.d.ts +13 -7
- package/lib/video-player/video-player.d.ts +13 -7
- package/listbox/index.cjs +1 -1
- package/listbox/index.js +3 -4
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +5 -1
- package/package.json +7 -7
- package/shared/aria/aria-mixin.d.ts +11 -5
- package/shared/aria/delegates-aria.d.ts +13 -7
- package/shared/aria/host-semantics.d.ts +13 -7
- package/shared/color-picker/base-color-picker.d.ts +14 -8
- package/shared/deprecation/replaced-props.d.ts +12 -6
- package/shared/feedback/feedback-message.d.ts +13 -7
- package/shared/feedback/mixins.d.ts +26 -14
- package/shared/foundation/button/button.d.ts +26 -14
- package/shared/foundation/form-associated/form-associated.d.ts +26 -14
- package/shared/foundation/vivid-element/vivid-element.d.ts +35 -17
- package/shared/framework/reactive-controller.d.ts +12 -6
- package/shared/listbox/with-options-filter.d.ts +14 -8
- package/shared/listbox/with-options.d.ts +28 -16
- package/shared/patterns/affix.d.ts +26 -14
- package/shared/patterns/anchored.d.ts +34 -22
- package/shared/patterns/char-count/char-count.d.ts +14 -8
- package/shared/patterns/form-elements/form-element.d.ts +14 -8
- package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
- package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
- package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
- package/shared/patterns/kbd-shortcut.d.ts +13 -7
- package/shared/patterns/linkable.d.ts +13 -7
- package/shared/patterns/localized.d.ts +30 -18
- package/shared/patterns/trapped-focus.d.ts +13 -7
- package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
- package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
- package/shared/picker-field/picker-field.d.ts +98 -57
- package/unbundled/anchored.cjs +39 -37
- package/unbundled/anchored.js +39 -37
- package/unbundled/calendar-picker.template.cjs +7 -5
- package/unbundled/calendar-picker.template.js +7 -5
- package/unbundled/char-count.cjs +3 -9
- package/unbundled/char-count.js +3 -9
- package/unbundled/definition5.cjs +17 -10
- package/unbundled/definition5.js +17 -10
- package/unbundled/definition50.cjs +3 -4
- package/unbundled/definition50.js +3 -4
- package/unbundled/definition52.cjs +6 -2
- package/unbundled/definition52.js +6 -2
- package/unbundled/form-element.cjs +3 -4
- package/unbundled/form-element.js +3 -4
- package/unbundled/localized.cjs +15 -11
- package/unbundled/localized.js +15 -11
- package/unbundled/picker-field.template.cjs +22 -24
- package/unbundled/picker-field.template.js +22 -24
- package/unbundled/time-selection-picker.template.cjs +10 -10
- package/unbundled/time-selection-picker.template.js +10 -10
- package/unbundled/vivid-element.cjs +12 -8
- package/unbundled/vivid-element.js +12 -8
- package/unbundled/with-error-text.cjs +11 -10
- package/unbundled/with-error-text.js +11 -10
- package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +0 -1
package/nav-item/index.js
CHANGED
|
@@ -6,7 +6,11 @@ import { a as l, i as u, t as d } from "../bundled/affix.js";
|
|
|
6
6
|
import { t as f } from "../bundled/component-enum.js";
|
|
7
7
|
import { t as p } from "../bundled/linkable.js";
|
|
8
8
|
//#region src/lib/nav-item/nav-item.scss?inline
|
|
9
|
-
var m = ".control{box-sizing:border-box;background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);font:var(--vvd-typography-base);hyphens:auto;inline-size:100%;min-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));vertical-align:middle;border-radius:8px;align-items:center;gap:12px;text-decoration:none;display:inline-flex}.control.current{color:var(--_appearance-color-text)}@supports not (color:color-mix(in srgb, var(--one-color), var(--second-color))){.control.current{background-color:var(--_connotation-color-primary)}}.control.current:focus-visible{outline:none;position:relative}.control.current:focus-visible:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,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));border-radius:var(--focus-border-radius,inherit);block-size:calc(100% + var(--focus-block-size-addition,4px));content:\"\";inline-size:calc(100% + var(--focus-block-size-addition,4px));display:block;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%)}.control.icon-only{block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));inline-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));place-content:center;display:flex;position:relative}.control.icon-only slot[name=meta]{display:block;position:absolute;inset-block-start:calc((calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) - 20px) / 2);inset-inline-end:calc((calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) - 20px) / 2);transform:translate(50%,-50%)}.control:not(.icon-only){padding-block:10px;padding-inline:16px}.control:not(.current){color:var(--vvd-color-canvas-text);--focus-stroke-gap-color:transparent}.control:not(.current):focus-visible{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,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))}:host(:dir(rtl)) .icon-only slot[name=meta]{transform:translate(-50%,-50%)}slot[name=icon]{font-size:20px;line-height:1}", h = f(["accent", "cta"], "accent"), g = f([
|
|
9
|
+
var m = ".control.appearance-subtle{--_appearance-idle-fill:transparent;--_appearance-hover-fill:var(--_connotation-color-faint);--_appearance-active-fill:var(--_connotation-color-soft);--_appearance-disabled-fill:transparent;--_appearance-selected-fill:var(--_connotation-color-dim);--_appearance-selected-text:var(--vvd-color-canvas-text);--_appearance-selectedAndHover-fill:var(--_connotation-color-pale);--_appearance-selectedAndHover-text:var(--vvd-color-canvas-text)}.control{box-sizing:border-box;background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);font:var(--vvd-typography-base);hyphens:auto;inline-size:100%;min-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));vertical-align:middle;border-radius:8px;align-items:center;gap:12px;text-decoration:none;display:inline-flex}.control.current{color:var(--_appearance-color-text)}@supports not (color:color-mix(in srgb, var(--one-color), var(--second-color))){.control.current{background-color:var(--_connotation-color-primary)}}.control.current:focus-visible{outline:none;position:relative}.control.current:focus-visible:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,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));border-radius:var(--focus-border-radius,inherit);block-size:calc(100% + var(--focus-block-size-addition,4px));content:\"\";inline-size:calc(100% + var(--focus-block-size-addition,4px));display:block;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%)}.control.icon-only{block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));inline-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));place-content:center;display:flex;position:relative}.control.icon-only slot[name=meta]{display:block;position:absolute;inset-block-start:calc((calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) - 20px) / 2);inset-inline-end:calc((calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) - 20px) / 2);transform:translate(50%,-50%)}.control:not(.icon-only){padding-block:10px;padding-inline:16px}.control:not(.current){color:var(--vvd-color-canvas-text);--focus-stroke-gap-color:transparent}.control:not(.current):focus-visible{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,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))}:host(:dir(rtl)) .icon-only slot[name=meta]{transform:translate(-50%,-50%)}slot[name=icon]{font-size:20px;line-height:1}", h = f(["accent", "cta"], "accent"), g = f([
|
|
10
|
+
"ghost",
|
|
11
|
+
"ghost-light",
|
|
12
|
+
"subtle"
|
|
13
|
+
], "ghost"), _ = class extends d(p(i)) {
|
|
10
14
|
constructor(...e) {
|
|
11
15
|
super(...e), this.current = !1;
|
|
12
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.32.0",
|
|
4
4
|
"homepage": "https://apps.vivid.vonage.com",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/Vonage/vivid-3/issues"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"sass": "^1.105.1",
|
|
83
83
|
"stylelint": "^16.26.1",
|
|
84
84
|
"tsx": "^4.23.15",
|
|
85
|
-
"typescript": "
|
|
85
|
+
"typescript": "6.0.3",
|
|
86
86
|
"vite": "^8.3.4",
|
|
87
87
|
"vite-plugin-dts": "^4.5.4",
|
|
88
88
|
"vite-plugin-static-copy": "^3.4.0",
|
|
@@ -98,20 +98,20 @@
|
|
|
98
98
|
"@repo/metadata-extractor": "1.0.0",
|
|
99
99
|
"@repo/sass": "1.0.0",
|
|
100
100
|
"@repo/stylelint-config": "1.0.0",
|
|
101
|
-
"@repo/styles": "1.0.0",
|
|
102
101
|
"@repo/tokens": "1.0.0",
|
|
103
|
-
"@repo/
|
|
102
|
+
"@repo/styles": "1.0.0",
|
|
104
103
|
"@repo/typescript-config": "1.0.0",
|
|
105
104
|
"@repo/vite-config": "1.0.0",
|
|
106
105
|
"@repo/vitest-config": "1.0.0",
|
|
107
|
-
"@
|
|
108
|
-
"@
|
|
106
|
+
"@vonage/vivid-icons": "4.13.0",
|
|
107
|
+
"@repo/tools": "1.0.0",
|
|
108
|
+
"@repo/vvd-jsx": "1.0.0"
|
|
109
109
|
},
|
|
110
110
|
"customElements": "custom-elements.json",
|
|
111
111
|
"scripts": {
|
|
112
112
|
"prebuild": "cem analyze --config ./cem.config.mjs",
|
|
113
113
|
"build": "vite build && vite build -c ./vite.config.bundled.ts",
|
|
114
|
-
"postbuild": "api-extractor run -c ./dist/api-extractor.json && pnpm run extract-metadata && move-manifest-to-dist .",
|
|
114
|
+
"postbuild": "api-extractor run -c ./dist/api-extractor.json --typescript-compiler-folder ./node_modules/typescript && pnpm run extract-metadata && move-manifest-to-dist .",
|
|
115
115
|
"dev": "WATCH_MODE=true vite build -w -c ./vite.config.ts",
|
|
116
116
|
"dev:bundled": "WATCH_MODE=true vite build -w -c ./vite.config.bundled.ts",
|
|
117
117
|
"extract-metadata": "extract-metadata | pnpm prettier --stdin-filepath metadata.json > metadata.json",
|
|
@@ -22,7 +22,7 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
22
22
|
autocorrect: boolean;
|
|
23
23
|
dir: string;
|
|
24
24
|
draggable: boolean;
|
|
25
|
-
hidden: boolean;
|
|
25
|
+
hidden: boolean | "until-found";
|
|
26
26
|
inert: boolean;
|
|
27
27
|
innerText: string;
|
|
28
28
|
lang: string;
|
|
@@ -40,8 +40,8 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
40
40
|
attachInternals(): ElementInternals;
|
|
41
41
|
click(): void;
|
|
42
42
|
hidePopover(): void;
|
|
43
|
-
showPopover(): void;
|
|
44
|
-
togglePopover(options?: boolean): boolean;
|
|
43
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
44
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
45
45
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
46
46
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
47
47
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -55,6 +55,7 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
55
55
|
readonly clientTop: number;
|
|
56
56
|
readonly clientWidth: number;
|
|
57
57
|
readonly currentCSSZoom: number;
|
|
58
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
58
59
|
id: string;
|
|
59
60
|
innerHTML: string;
|
|
60
61
|
readonly localName: string;
|
|
@@ -105,6 +106,9 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
105
106
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
106
107
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
107
108
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
109
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
110
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
111
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
108
112
|
matches(selectors: string): boolean;
|
|
109
113
|
releasePointerCapture(pointerId: number): void;
|
|
110
114
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -240,6 +244,7 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
240
244
|
readonly firstElementChild: Element | null;
|
|
241
245
|
readonly lastElementChild: Element | null;
|
|
242
246
|
append(...nodes: (Node | string)[]): void;
|
|
247
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
243
248
|
prepend(...nodes: (Node | string)[]): void;
|
|
244
249
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
245
250
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -276,6 +281,7 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
276
281
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
282
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
278
283
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
285
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
286
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
287
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -297,7 +303,7 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
297
303
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
298
304
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
299
305
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
306
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
301
307
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
308
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
303
309
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -362,7 +368,7 @@ export declare const AriaMixin: <T extends Constructor<FASTElement & HTMLElement
|
|
|
362
368
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
363
369
|
autofocus: boolean;
|
|
364
370
|
readonly dataset: DOMStringMap;
|
|
365
|
-
nonce
|
|
371
|
+
nonce: string;
|
|
366
372
|
tabIndex: number;
|
|
367
373
|
blur(): void;
|
|
368
374
|
focus(options?: FocusOptions): void;
|
|
@@ -21,7 +21,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
21
21
|
autocorrect: boolean;
|
|
22
22
|
dir: string;
|
|
23
23
|
draggable: boolean;
|
|
24
|
-
hidden: boolean;
|
|
24
|
+
hidden: boolean | "until-found";
|
|
25
25
|
inert: boolean;
|
|
26
26
|
innerText: string;
|
|
27
27
|
lang: string;
|
|
@@ -39,8 +39,8 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
39
39
|
attachInternals(): ElementInternals;
|
|
40
40
|
click(): void;
|
|
41
41
|
hidePopover(): void;
|
|
42
|
-
showPopover(): void;
|
|
43
|
-
togglePopover(options?: boolean): boolean;
|
|
42
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
43
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
44
44
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
45
45
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
46
46
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -54,6 +54,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
54
54
|
readonly clientTop: number;
|
|
55
55
|
readonly clientWidth: number;
|
|
56
56
|
readonly currentCSSZoom: number;
|
|
57
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
57
58
|
id: string;
|
|
58
59
|
innerHTML: string;
|
|
59
60
|
readonly localName: string;
|
|
@@ -104,6 +105,9 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
104
105
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
105
106
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
106
107
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
108
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
109
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
110
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
107
111
|
matches(selectors: string): boolean;
|
|
108
112
|
releasePointerCapture(pointerId: number): void;
|
|
109
113
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -239,6 +243,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
239
243
|
readonly firstElementChild: Element | null;
|
|
240
244
|
readonly lastElementChild: Element | null;
|
|
241
245
|
append(...nodes: (Node | string)[]): void;
|
|
246
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
242
247
|
prepend(...nodes: (Node | string)[]): void;
|
|
243
248
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
244
249
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -275,6 +280,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
275
280
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
281
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
282
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
284
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
285
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
286
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -296,7 +302,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
296
302
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
297
303
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
298
304
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
305
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
300
306
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
307
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
302
308
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -361,7 +367,7 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
361
367
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
362
368
|
autofocus: boolean;
|
|
363
369
|
readonly dataset: DOMStringMap;
|
|
364
|
-
nonce
|
|
370
|
+
nonce: string;
|
|
365
371
|
tabIndex: number;
|
|
366
372
|
blur(): void;
|
|
367
373
|
ariaControls: string | null;
|
|
@@ -420,13 +426,13 @@ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base:
|
|
|
420
426
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
421
427
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
422
428
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
423
|
-
|
|
429
|
+
_handleReplacedProp(replacedProp: {
|
|
424
430
|
newPropertyName: string;
|
|
425
431
|
deprecatedPropertyName: string;
|
|
426
432
|
fromDeprecated: (v: any) => any;
|
|
427
433
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
428
434
|
}): void;
|
|
429
|
-
|
|
435
|
+
_controllers: Set<import('../framework/reactive-controller').ReactiveController>;
|
|
430
436
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
431
437
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
432
438
|
};
|
|
@@ -18,7 +18,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
18
18
|
autocorrect: boolean;
|
|
19
19
|
dir: string;
|
|
20
20
|
draggable: boolean;
|
|
21
|
-
hidden: boolean;
|
|
21
|
+
hidden: boolean | "until-found";
|
|
22
22
|
inert: boolean;
|
|
23
23
|
innerText: string;
|
|
24
24
|
lang: string;
|
|
@@ -36,8 +36,8 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
36
36
|
attachInternals(): ElementInternals;
|
|
37
37
|
click(): void;
|
|
38
38
|
hidePopover(): void;
|
|
39
|
-
showPopover(): void;
|
|
40
|
-
togglePopover(options?: boolean): boolean;
|
|
39
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
40
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
41
41
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
42
42
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
43
43
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -51,6 +51,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
51
51
|
readonly clientTop: number;
|
|
52
52
|
readonly clientWidth: number;
|
|
53
53
|
readonly currentCSSZoom: number;
|
|
54
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
54
55
|
id: string;
|
|
55
56
|
innerHTML: string;
|
|
56
57
|
readonly localName: string;
|
|
@@ -101,6 +102,9 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
101
102
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
102
103
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
103
104
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
105
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
106
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
107
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
104
108
|
matches(selectors: string): boolean;
|
|
105
109
|
releasePointerCapture(pointerId: number): void;
|
|
106
110
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -236,6 +240,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
236
240
|
readonly firstElementChild: Element | null;
|
|
237
241
|
readonly lastElementChild: Element | null;
|
|
238
242
|
append(...nodes: (Node | string)[]): void;
|
|
243
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
239
244
|
prepend(...nodes: (Node | string)[]): void;
|
|
240
245
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
241
246
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -272,6 +277,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
272
277
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
278
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
274
279
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
281
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
282
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
283
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -293,7 +299,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
293
299
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
294
300
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
295
301
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
302
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
297
303
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
304
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
299
305
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -358,7 +364,7 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
358
364
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
359
365
|
autofocus: boolean;
|
|
360
366
|
readonly dataset: DOMStringMap;
|
|
361
|
-
nonce
|
|
367
|
+
nonce: string;
|
|
362
368
|
tabIndex: number;
|
|
363
369
|
blur(): void;
|
|
364
370
|
ariaControls: string | null;
|
|
@@ -417,13 +423,13 @@ export declare const HostSemantics: <T extends Constructor<VividElement>>(Base:
|
|
|
417
423
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
418
424
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
419
425
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
420
|
-
|
|
426
|
+
_handleReplacedProp(replacedProp: {
|
|
421
427
|
newPropertyName: string;
|
|
422
428
|
deprecatedPropertyName: string;
|
|
423
429
|
fromDeprecated: (v: any) => any;
|
|
424
430
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
425
431
|
}): void;
|
|
426
|
-
|
|
432
|
+
_controllers: Set<import('../framework/reactive-controller').ReactiveController>;
|
|
427
433
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
428
434
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
429
435
|
};
|
|
@@ -34,7 +34,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
34
34
|
autocorrect: boolean;
|
|
35
35
|
dir: string;
|
|
36
36
|
draggable: boolean;
|
|
37
|
-
hidden: boolean;
|
|
37
|
+
hidden: boolean | "until-found";
|
|
38
38
|
inert: boolean;
|
|
39
39
|
innerText: string;
|
|
40
40
|
lang: string;
|
|
@@ -52,8 +52,8 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
52
52
|
attachInternals(): ElementInternals;
|
|
53
53
|
click(): void;
|
|
54
54
|
hidePopover(): void;
|
|
55
|
-
showPopover(): void;
|
|
56
|
-
togglePopover(options?: boolean): boolean;
|
|
55
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
56
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
57
57
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
58
58
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
59
59
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -67,6 +67,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
67
67
|
readonly clientTop: number;
|
|
68
68
|
readonly clientWidth: number;
|
|
69
69
|
readonly currentCSSZoom: number;
|
|
70
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
70
71
|
id: string;
|
|
71
72
|
innerHTML: string;
|
|
72
73
|
readonly localName: string;
|
|
@@ -117,6 +118,9 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
117
118
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
118
119
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
119
120
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
121
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
122
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
123
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
120
124
|
matches(selectors: string): boolean;
|
|
121
125
|
releasePointerCapture(pointerId: number): void;
|
|
122
126
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -252,6 +256,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
252
256
|
readonly firstElementChild: Element | null;
|
|
253
257
|
readonly lastElementChild: Element | null;
|
|
254
258
|
append(...nodes: (Node | string)[]): void;
|
|
259
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
255
260
|
prepend(...nodes: (Node | string)[]): void;
|
|
256
261
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
257
262
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -288,6 +293,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
288
293
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
294
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
290
295
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
297
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
298
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
299
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -309,7 +315,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
309
315
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
310
316
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
311
317
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
318
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
313
319
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
320
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
315
321
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -374,7 +380,7 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
374
380
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
375
381
|
autofocus: boolean;
|
|
376
382
|
readonly dataset: DOMStringMap;
|
|
377
|
-
nonce
|
|
383
|
+
nonce: string;
|
|
378
384
|
tabIndex: number;
|
|
379
385
|
blur(): void;
|
|
380
386
|
ariaControls: string | null;
|
|
@@ -433,20 +439,20 @@ export declare const BaseColorPicker: <T extends Constructor<VividElement>>(Base
|
|
|
433
439
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
434
440
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
435
441
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
436
|
-
|
|
442
|
+
_handleReplacedProp(replacedProp: {
|
|
437
443
|
newPropertyName: string;
|
|
438
444
|
deprecatedPropertyName: string;
|
|
439
445
|
fromDeprecated: (v: any) => any;
|
|
440
446
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
441
447
|
}): void;
|
|
442
|
-
|
|
448
|
+
_controllers: Set<import('../framework/reactive-controller').ReactiveController>;
|
|
443
449
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
444
450
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
445
451
|
label?: string;
|
|
446
452
|
errorValidationMessage: string;
|
|
447
453
|
forceErrorDisplay: boolean;
|
|
448
454
|
hasBeenTouched: boolean;
|
|
449
|
-
|
|
455
|
+
_handleInvalidEvent: () => void;
|
|
450
456
|
formResetCallback: (() => void) & (() => void);
|
|
451
457
|
validate: (() => void) & ((anchor?: HTMLElement) => void);
|
|
452
458
|
get validity(): ValidityState;
|
|
@@ -9,7 +9,7 @@ type ReplacedPropConfiguration<PropertyT, DeprecatedT> = {
|
|
|
9
9
|
export declare const replaces: <PropertyT, DeprecatedT = PropertyT>(config: Omit<ReplacedPropConfiguration<PropertyT, DeprecatedT>, "newPropertyName">) => ($target: object, $prop: string) => void;
|
|
10
10
|
export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(Base: T) => {
|
|
11
11
|
new (...args: any[]): {
|
|
12
|
-
|
|
12
|
+
_handleReplacedProp(replacedProp: ReplacedPropConfiguration<any, any>): void;
|
|
13
13
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
14
14
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
15
15
|
connectedCallback(): void;
|
|
@@ -21,7 +21,7 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
21
21
|
autocorrect: boolean;
|
|
22
22
|
dir: string;
|
|
23
23
|
draggable: boolean;
|
|
24
|
-
hidden: boolean;
|
|
24
|
+
hidden: boolean | "until-found";
|
|
25
25
|
inert: boolean;
|
|
26
26
|
innerText: string;
|
|
27
27
|
lang: string;
|
|
@@ -39,8 +39,8 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
39
39
|
attachInternals(): ElementInternals;
|
|
40
40
|
click(): void;
|
|
41
41
|
hidePopover(): void;
|
|
42
|
-
showPopover(): void;
|
|
43
|
-
togglePopover(options?: boolean): boolean;
|
|
42
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
43
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
44
44
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
45
45
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
46
46
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -54,6 +54,7 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
54
54
|
readonly clientTop: number;
|
|
55
55
|
readonly clientWidth: number;
|
|
56
56
|
readonly currentCSSZoom: number;
|
|
57
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
57
58
|
id: string;
|
|
58
59
|
innerHTML: string;
|
|
59
60
|
readonly localName: string;
|
|
@@ -104,6 +105,9 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
104
105
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
105
106
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
106
107
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
108
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
109
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
110
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
107
111
|
matches(selectors: string): boolean;
|
|
108
112
|
releasePointerCapture(pointerId: number): void;
|
|
109
113
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -239,6 +243,7 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
239
243
|
readonly firstElementChild: Element | null;
|
|
240
244
|
readonly lastElementChild: Element | null;
|
|
241
245
|
append(...nodes: (Node | string)[]): void;
|
|
246
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
242
247
|
prepend(...nodes: (Node | string)[]): void;
|
|
243
248
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
244
249
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -275,6 +280,7 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
275
280
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
281
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
282
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
284
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
285
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
286
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -296,7 +302,7 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
296
302
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
297
303
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
298
304
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
305
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
300
306
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
307
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
302
308
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -361,7 +367,7 @@ export declare const ReplacedPropHandling: <T extends Constructor<FASTElement>>(
|
|
|
361
367
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
362
368
|
autofocus: boolean;
|
|
363
369
|
readonly dataset: DOMStringMap;
|
|
364
|
-
nonce
|
|
370
|
+
nonce: string;
|
|
365
371
|
tabIndex: number;
|
|
366
372
|
blur(): void;
|
|
367
373
|
focus(options?: FocusOptions): void;
|
|
@@ -16,7 +16,7 @@ declare const FeedbackMessage_base: {
|
|
|
16
16
|
autocorrect: boolean;
|
|
17
17
|
dir: string;
|
|
18
18
|
draggable: boolean;
|
|
19
|
-
hidden: boolean;
|
|
19
|
+
hidden: boolean | "until-found";
|
|
20
20
|
inert: boolean;
|
|
21
21
|
innerText: string;
|
|
22
22
|
lang: string;
|
|
@@ -34,8 +34,8 @@ declare const FeedbackMessage_base: {
|
|
|
34
34
|
attachInternals(): ElementInternals;
|
|
35
35
|
click(): void;
|
|
36
36
|
hidePopover(): void;
|
|
37
|
-
showPopover(): void;
|
|
38
|
-
togglePopover(options?: boolean): boolean;
|
|
37
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
38
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
39
39
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
40
40
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
41
41
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -49,6 +49,7 @@ declare const FeedbackMessage_base: {
|
|
|
49
49
|
readonly clientTop: number;
|
|
50
50
|
readonly clientWidth: number;
|
|
51
51
|
readonly currentCSSZoom: number;
|
|
52
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
52
53
|
id: string;
|
|
53
54
|
innerHTML: string;
|
|
54
55
|
readonly localName: string;
|
|
@@ -99,6 +100,9 @@ declare const FeedbackMessage_base: {
|
|
|
99
100
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
100
101
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
101
102
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
103
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
104
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
105
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
102
106
|
matches(selectors: string): boolean;
|
|
103
107
|
releasePointerCapture(pointerId: number): void;
|
|
104
108
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -234,6 +238,7 @@ declare const FeedbackMessage_base: {
|
|
|
234
238
|
readonly firstElementChild: Element | null;
|
|
235
239
|
readonly lastElementChild: Element | null;
|
|
236
240
|
append(...nodes: (Node | string)[]): void;
|
|
241
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
237
242
|
prepend(...nodes: (Node | string)[]): void;
|
|
238
243
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
239
244
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -270,6 +275,7 @@ declare const FeedbackMessage_base: {
|
|
|
270
275
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
276
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
272
277
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
279
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
280
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
275
281
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -291,7 +297,7 @@ declare const FeedbackMessage_base: {
|
|
|
291
297
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
292
298
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
293
299
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
294
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
300
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
295
301
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
302
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
297
303
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -356,7 +362,7 @@ declare const FeedbackMessage_base: {
|
|
|
356
362
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
357
363
|
autofocus: boolean;
|
|
358
364
|
readonly dataset: DOMStringMap;
|
|
359
|
-
nonce
|
|
365
|
+
nonce: string;
|
|
360
366
|
tabIndex: number;
|
|
361
367
|
blur(): void;
|
|
362
368
|
ariaControls: string | null;
|
|
@@ -415,13 +421,13 @@ declare const FeedbackMessage_base: {
|
|
|
415
421
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
416
422
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
417
423
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
418
|
-
|
|
424
|
+
_handleReplacedProp(replacedProp: {
|
|
419
425
|
newPropertyName: string;
|
|
420
426
|
deprecatedPropertyName: string;
|
|
421
427
|
fromDeprecated: (v: any) => any;
|
|
422
428
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
423
429
|
}): void;
|
|
424
|
-
|
|
430
|
+
_controllers: Set<import('../framework/reactive-controller').ReactiveController>;
|
|
425
431
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
426
432
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
427
433
|
};
|