@swc-react/popover 0.32.1-overlay.41 → 0.33.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/next.d.ts +11 -11
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -6,11 +6,13 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
6
6
|
slot?: string | undefined;
|
|
7
7
|
style?: import("react").CSSProperties | undefined;
|
|
8
8
|
title?: string | undefined;
|
|
9
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
10
|
+
accessKey?: string | undefined;
|
|
11
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
9
12
|
defaultChecked?: boolean | undefined;
|
|
10
13
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
11
14
|
suppressContentEditableWarning?: boolean | undefined;
|
|
12
15
|
suppressHydrationWarning?: boolean | undefined;
|
|
13
|
-
accessKey?: string | undefined;
|
|
14
16
|
className?: string | undefined;
|
|
15
17
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
16
18
|
contextMenu?: string | undefined;
|
|
@@ -43,18 +45,18 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
43
45
|
results?: number | undefined;
|
|
44
46
|
security?: string | undefined;
|
|
45
47
|
unselectable?: "on" | "off" | undefined;
|
|
46
|
-
inputMode?: "
|
|
48
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
47
49
|
is?: string | undefined;
|
|
48
50
|
'aria-activedescendant'?: string | undefined;
|
|
49
51
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
50
|
-
'aria-autocomplete'?: "
|
|
52
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
|
|
51
53
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
52
54
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
53
55
|
'aria-colcount'?: number | undefined;
|
|
54
56
|
'aria-colindex'?: number | undefined;
|
|
55
57
|
'aria-colspan'?: number | undefined;
|
|
56
58
|
'aria-controls'?: string | undefined;
|
|
57
|
-
'aria-current'?: boolean | "time" | "
|
|
59
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
58
60
|
'aria-describedby'?: string | undefined;
|
|
59
61
|
'aria-details'?: string | undefined;
|
|
60
62
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -64,14 +66,12 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
64
66
|
'aria-flowto'?: string | undefined;
|
|
65
67
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
66
68
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
67
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
68
69
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
69
70
|
'aria-keyshortcuts'?: string | undefined;
|
|
70
71
|
'aria-label'?: string | undefined;
|
|
71
72
|
'aria-labelledby'?: string | undefined;
|
|
72
73
|
'aria-level'?: number | undefined;
|
|
73
74
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
74
|
-
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
75
75
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
76
76
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
77
77
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
@@ -272,9 +272,11 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
272
272
|
(options?: ScrollToOptions | undefined): void;
|
|
273
273
|
(x: number, y: number): void;
|
|
274
274
|
};
|
|
275
|
-
|
|
275
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
276
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
277
|
+
placement: import("overlay/src/overlay-types").Placement;
|
|
278
|
+
remove: () => void;
|
|
276
279
|
tip: boolean;
|
|
277
|
-
tipElement: HTMLSpanElement;
|
|
278
280
|
normalize: () => void;
|
|
279
281
|
readonly accessKeyLabel: string;
|
|
280
282
|
autocapitalize: string;
|
|
@@ -448,11 +450,9 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
448
450
|
ariaValueMin: string | null;
|
|
449
451
|
ariaValueNow: string | null;
|
|
450
452
|
ariaValueText: string | null;
|
|
451
|
-
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
452
453
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
453
454
|
after: (...nodes: (string | Node)[]) => void;
|
|
454
455
|
before: (...nodes: (string | Node)[]) => void;
|
|
455
|
-
remove: () => void;
|
|
456
456
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
457
457
|
innerHTML: string;
|
|
458
458
|
readonly nextElementSibling: Element | null;
|
|
@@ -570,9 +570,9 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
570
570
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
571
571
|
autofocus: boolean;
|
|
572
572
|
readonly dataset: DOMStringMap;
|
|
573
|
-
readonly renderOptions: import("lit-html").RenderOptions;
|
|
574
573
|
connectedCallback: () => void;
|
|
575
574
|
disconnectedCallback: () => void;
|
|
575
|
+
onOverlayQuery: (event: CustomEvent<import("overlay/src/overlay-types").OverlayDisplayQueryDetail>) => void;
|
|
576
576
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
577
577
|
isUpdatePending: boolean;
|
|
578
578
|
hasUpdated: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/popover",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit-labs/react": "^1.1.1",
|
|
33
|
-
"@spectrum-web-components/popover": "^0.
|
|
33
|
+
"@spectrum-web-components/popover": "^0.33.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0f46cf0508f39ec42ce8c52b1e6f0055bacb4f00"
|
|
44
44
|
}
|