@swc-react/popover 0.37.0 → 0.39.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 +14 -14
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -6,18 +6,21 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
6
6
|
style?: import("react").CSSProperties | undefined;
|
|
7
7
|
title?: string | undefined;
|
|
8
8
|
accessKey?: string | undefined;
|
|
9
|
+
tabIndex?: number | undefined;
|
|
10
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
11
|
+
rel?: string | undefined;
|
|
12
|
+
id?: string | undefined;
|
|
13
|
+
className?: string | undefined;
|
|
14
|
+
content?: string | undefined;
|
|
9
15
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
10
16
|
hidden?: boolean | undefined;
|
|
11
17
|
lang?: string | undefined;
|
|
12
18
|
translate?: "yes" | "no" | undefined;
|
|
13
|
-
className?: string | undefined;
|
|
14
|
-
id?: string | undefined;
|
|
15
19
|
prefix?: string | undefined;
|
|
16
20
|
children?: import("react").ReactNode;
|
|
17
21
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
18
|
-
inputMode?: "text" | "
|
|
22
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
19
23
|
nonce?: string | undefined;
|
|
20
|
-
tabIndex?: number | undefined;
|
|
21
24
|
'aria-describedby'?: string | undefined;
|
|
22
25
|
defaultChecked?: boolean | undefined;
|
|
23
26
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -30,11 +33,9 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
30
33
|
radioGroup?: string | undefined;
|
|
31
34
|
role?: import("react").AriaRole | undefined;
|
|
32
35
|
about?: string | undefined;
|
|
33
|
-
content?: string | undefined;
|
|
34
36
|
datatype?: string | undefined;
|
|
35
37
|
inlist?: any;
|
|
36
38
|
property?: string | undefined;
|
|
37
|
-
rel?: string | undefined;
|
|
38
39
|
resource?: string | undefined;
|
|
39
40
|
rev?: string | undefined;
|
|
40
41
|
typeof?: string | undefined;
|
|
@@ -64,10 +65,9 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
64
65
|
'aria-colindextext'?: string | undefined;
|
|
65
66
|
'aria-colspan'?: number | undefined;
|
|
66
67
|
'aria-controls'?: string | undefined;
|
|
67
|
-
'aria-current'?: boolean | "time" | "
|
|
68
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
68
69
|
'aria-description'?: string | undefined;
|
|
69
70
|
'aria-details'?: string | undefined;
|
|
70
|
-
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
71
71
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
72
72
|
'aria-errormessage'?: string | undefined;
|
|
73
73
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
@@ -274,7 +274,7 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
274
274
|
readonly localName: string;
|
|
275
275
|
dialog: boolean;
|
|
276
276
|
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
277
|
-
|
|
277
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
278
278
|
blur: () => void;
|
|
279
279
|
click: () => void;
|
|
280
280
|
focus: (options?: FocusOptions | undefined) => void;
|
|
@@ -282,9 +282,11 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
282
282
|
(options?: ScrollToOptions | undefined): void;
|
|
283
283
|
(x: number, y: number): void;
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
autofocus: boolean;
|
|
286
286
|
normalize: () => void;
|
|
287
|
-
|
|
287
|
+
ariaHidden: string | null;
|
|
288
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
289
|
+
open: boolean;
|
|
288
290
|
addEventListener: {
|
|
289
291
|
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
290
292
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
@@ -294,6 +296,7 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
294
296
|
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
295
297
|
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
296
298
|
};
|
|
299
|
+
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
297
300
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
298
301
|
isUpdatePending: boolean;
|
|
299
302
|
hasUpdated: boolean;
|
|
@@ -388,7 +391,6 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
388
391
|
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
389
392
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
390
393
|
readonly baseURI: string;
|
|
391
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
392
394
|
readonly firstChild: ChildNode | null;
|
|
393
395
|
readonly isConnected: boolean;
|
|
394
396
|
readonly lastChild: ChildNode | null;
|
|
@@ -443,7 +445,6 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
443
445
|
ariaDisabled: string | null;
|
|
444
446
|
ariaExpanded: string | null;
|
|
445
447
|
ariaHasPopup: string | null;
|
|
446
|
-
ariaHidden: string | null;
|
|
447
448
|
ariaKeyShortcuts: string | null;
|
|
448
449
|
ariaLabel: string | null;
|
|
449
450
|
ariaLevel: string | null;
|
|
@@ -587,7 +588,6 @@ export declare const Popover: import("react").ComponentType<Partial<{
|
|
|
587
588
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
588
589
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
589
590
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
590
|
-
autofocus: boolean;
|
|
591
591
|
readonly dataset: DOMStringMap;
|
|
592
592
|
tip: boolean;
|
|
593
593
|
tipElement: HTMLSpanElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/popover",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.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.39.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": "1a4b3c2d32e51b7f22a7f1196c3c0270512e7c4c"
|
|
44
44
|
}
|