@swc-react/top-nav 0.36.0 → 0.38.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.
Files changed (2) hide show
  1. package/next.d.ts +13 -13
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -10,8 +10,6 @@ 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;
15
13
  accessKey?: string | undefined;
16
14
  draggable?: (boolean | "true" | "false") | undefined;
17
15
  hidden?: boolean | undefined;
@@ -22,6 +20,8 @@ export declare const TopNav: import("react").ComponentType<Partial<{
22
20
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
23
21
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
24
22
  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" | "list" | "none" | "inline" | undefined;
62
+ 'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
63
63
  'aria-braillelabel'?: string | undefined;
64
64
  'aria-brailleroledescription'?: string | undefined;
65
65
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -286,14 +286,13 @@ 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;
292
289
  readonly renderRoot: HTMLElement | ShadowRoot;
293
290
  isUpdatePending: boolean;
294
291
  hasUpdated: boolean;
295
292
  addController: (controller: import("lit").ReactiveController) => void;
296
293
  removeController: (controller: import("lit").ReactiveController) => void;
294
+ connectedCallback: () => void;
295
+ disconnectedCallback: () => void;
297
296
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
298
297
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
299
298
  readonly updateComplete: Promise<boolean>;
@@ -588,6 +587,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
588
587
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
589
588
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
590
589
  readonly dataset: DOMStringMap;
590
+ selected: string | undefined;
591
591
  isLTR: boolean;
592
592
  hasVisibleFocusInTree: () => boolean;
593
593
  quiet: boolean;
@@ -604,8 +604,6 @@ 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;
609
607
  accessKey?: string | undefined;
610
608
  draggable?: (boolean | "true" | "false") | undefined;
611
609
  hidden?: boolean | undefined;
@@ -616,6 +614,8 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
616
614
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
617
615
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
618
616
  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" | "list" | "none" | "inline" | undefined;
656
+ 'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
657
657
  'aria-braillelabel'?: string | undefined;
658
658
  'aria-brailleroledescription'?: string | undefined;
659
659
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -884,15 +884,13 @@ 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;
891
887
  readonly renderRoot: HTMLElement | ShadowRoot;
892
888
  isUpdatePending: boolean;
893
889
  hasUpdated: boolean;
894
890
  addController: (controller: import("lit").ReactiveController) => void;
895
891
  removeController: (controller: import("lit").ReactiveController) => void;
892
+ connectedCallback: () => void;
893
+ disconnectedCallback: () => void;
896
894
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
897
895
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
898
896
  readonly updateComplete: Promise<boolean>;
@@ -1187,6 +1185,8 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
1187
1185
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1188
1186
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1189
1187
  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.36.0",
3
+ "version": "0.38.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.36.0"
33
+ "@spectrum-web-components/top-nav": "^0.38.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": "a532ff8a410abeefb54d9638a2316ae82570566e"
43
+ "gitHead": "9a099b7543672f2fd4030833ab813b16c2cad62e"
44
44
  }