@swc-react/top-nav 0.35.1-rc.26 → 0.36.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 +13 -13
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export declare const TopNav: import("react").ComponentType<Partial<{
|
|
|
10
10
|
rel?: string | undefined;
|
|
11
11
|
id?: string | undefined;
|
|
12
12
|
className?: string | undefined;
|
|
13
|
+
role?: import("react").AriaRole | undefined;
|
|
14
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
13
15
|
accessKey?: string | undefined;
|
|
14
16
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
17
|
hidden?: boolean | undefined;
|
|
@@ -20,8 +22,6 @@ export declare const TopNav: import("react").ComponentType<Partial<{
|
|
|
20
22
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
21
23
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
22
24
|
nonce?: string | undefined;
|
|
23
|
-
role?: import("react").AriaRole | undefined;
|
|
24
|
-
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
25
25
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
26
26
|
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
27
27
|
'aria-controls'?: string | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
|
|
|
59
59
|
is?: string | undefined;
|
|
60
60
|
'aria-activedescendant'?: string | undefined;
|
|
61
61
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
62
|
-
'aria-autocomplete'?: "both" | "
|
|
62
|
+
'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
|
|
63
63
|
'aria-braillelabel'?: string | undefined;
|
|
64
64
|
'aria-brailleroledescription'?: string | undefined;
|
|
65
65
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
@@ -286,13 +286,14 @@ export declare const TopNav: import("react").ComponentType<Partial<{
|
|
|
286
286
|
normalize: () => void;
|
|
287
287
|
ariaHidden: string | null;
|
|
288
288
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
289
|
+
selected: string | undefined;
|
|
290
|
+
connectedCallback: () => void;
|
|
291
|
+
disconnectedCallback: () => void;
|
|
289
292
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
290
293
|
isUpdatePending: boolean;
|
|
291
294
|
hasUpdated: boolean;
|
|
292
295
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
293
296
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
294
|
-
connectedCallback: () => void;
|
|
295
|
-
disconnectedCallback: () => void;
|
|
296
297
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
297
298
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
298
299
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -587,7 +588,6 @@ export declare const TopNav: import("react").ComponentType<Partial<{
|
|
|
587
588
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
588
589
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
589
590
|
readonly dataset: DOMStringMap;
|
|
590
|
-
selected: string | undefined;
|
|
591
591
|
isLTR: boolean;
|
|
592
592
|
hasVisibleFocusInTree: () => boolean;
|
|
593
593
|
quiet: boolean;
|
|
@@ -604,6 +604,8 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
|
|
|
604
604
|
rel?: string | undefined;
|
|
605
605
|
id?: string | undefined;
|
|
606
606
|
className?: string | undefined;
|
|
607
|
+
role?: import("react").AriaRole | undefined;
|
|
608
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
607
609
|
accessKey?: string | undefined;
|
|
608
610
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
609
611
|
hidden?: boolean | undefined;
|
|
@@ -614,8 +616,6 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
|
|
|
614
616
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
615
617
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
616
618
|
nonce?: string | undefined;
|
|
617
|
-
role?: import("react").AriaRole | undefined;
|
|
618
|
-
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
619
619
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
620
620
|
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
621
621
|
'aria-controls'?: string | undefined;
|
|
@@ -653,7 +653,7 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
|
|
|
653
653
|
is?: string | undefined;
|
|
654
654
|
'aria-activedescendant'?: string | undefined;
|
|
655
655
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
656
|
-
'aria-autocomplete'?: "both" | "
|
|
656
|
+
'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
|
|
657
657
|
'aria-braillelabel'?: string | undefined;
|
|
658
658
|
'aria-brailleroledescription'?: string | undefined;
|
|
659
659
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
@@ -884,13 +884,15 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
|
|
|
884
884
|
target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
|
|
885
885
|
ariaHidden: string | null;
|
|
886
886
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
887
|
+
selected: boolean;
|
|
888
|
+
value: string;
|
|
889
|
+
connectedCallback: () => void;
|
|
890
|
+
disconnectedCallback: () => void;
|
|
887
891
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
888
892
|
isUpdatePending: boolean;
|
|
889
893
|
hasUpdated: boolean;
|
|
890
894
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
891
895
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
892
|
-
connectedCallback: () => void;
|
|
893
|
-
disconnectedCallback: () => void;
|
|
894
896
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
895
897
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
896
898
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -1185,8 +1187,6 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
|
|
|
1185
1187
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1186
1188
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1187
1189
|
readonly dataset: DOMStringMap;
|
|
1188
|
-
selected: boolean;
|
|
1189
|
-
value: string;
|
|
1190
1190
|
isLTR: boolean;
|
|
1191
1191
|
hasVisibleFocusInTree: () => boolean;
|
|
1192
1192
|
readonly focusElement: HTMLAnchorElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/top-nav",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.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/top-nav": "^0.
|
|
33
|
+
"@spectrum-web-components/top-nav": "^0.36.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": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|