@swc-react/top-nav 0.39.3 → 0.40.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 +3 -2
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -26,6 +26,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
26
26
  'aria-orientation'?: "vertical" | "horizontal" | undefined;
27
27
  'aria-controls'?: string | undefined;
28
28
  'aria-labelledby'?: string | undefined;
29
+ 'aria-label'?: string | undefined;
29
30
  defaultChecked?: boolean | undefined;
30
31
  defaultValue?: string | number | readonly string[] | undefined;
31
32
  suppressContentEditableWarning?: boolean | undefined;
@@ -80,7 +81,6 @@ export declare const TopNav: import("react").ComponentType<Partial<{
80
81
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
81
82
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
82
83
  'aria-keyshortcuts'?: string | undefined;
83
- 'aria-label'?: string | undefined;
84
84
  'aria-level'?: number | undefined;
85
85
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
86
86
  'aria-modal'?: (boolean | "true" | "false") | undefined;
@@ -273,6 +273,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
273
273
  readonly attributes: NamedNodeMap;
274
274
  readonly localName: string;
275
275
  size: import("@spectrum-web-components/base").ElementSize;
276
+ label: string;
276
277
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
277
278
  readonly renderOptions: import("lit-html").RenderOptions;
278
279
  blur: () => void;
@@ -620,6 +621,7 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
620
621
  'aria-orientation'?: "vertical" | "horizontal" | undefined;
621
622
  'aria-controls'?: string | undefined;
622
623
  'aria-labelledby'?: string | undefined;
624
+ 'aria-label'?: string | undefined;
623
625
  defaultChecked?: boolean | undefined;
624
626
  defaultValue?: string | number | readonly string[] | undefined;
625
627
  suppressContentEditableWarning?: boolean | undefined;
@@ -674,7 +676,6 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
674
676
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
675
677
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
676
678
  'aria-keyshortcuts'?: string | undefined;
677
- 'aria-label'?: string | undefined;
678
679
  'aria-level'?: number | undefined;
679
680
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
680
681
  'aria-modal'?: (boolean | "true" | "false") | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/top-nav",
3
- "version": "0.39.3",
3
+ "version": "0.40.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.39.3"
33
+ "@spectrum-web-components/top-nav": "^0.40.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": "d7840b3a9b99db4de62c44e3fb91b69dec7319af"
43
+ "gitHead": "24d5569a839da94892ecfd125428779587ffb1f5"
44
44
  }