@swc-react/top-nav 0.34.0 → 0.35.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 +21 -3
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const TopNav: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
@@ -6,6 +7,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
6
7
  title?: string | undefined;
7
8
  tabIndex?: number | undefined;
8
9
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
10
+ rel?: string | undefined;
9
11
  id?: string | undefined;
10
12
  className?: string | undefined;
11
13
  role?: import("react").AriaRole | undefined;
@@ -28,15 +30,18 @@ export declare const TopNav: import("react").ComponentType<Partial<{
28
30
  defaultValue?: string | number | readonly string[] | undefined;
29
31
  suppressContentEditableWarning?: boolean | undefined;
30
32
  suppressHydrationWarning?: boolean | undefined;
33
+ autoFocus?: boolean | undefined;
31
34
  contextMenu?: string | undefined;
32
35
  placeholder?: string | undefined;
33
36
  spellCheck?: (boolean | "true" | "false") | undefined;
34
37
  radioGroup?: string | undefined;
35
38
  about?: string | undefined;
39
+ content?: string | undefined;
36
40
  datatype?: string | undefined;
37
41
  inlist?: any;
38
42
  property?: string | undefined;
39
43
  resource?: string | undefined;
44
+ rev?: string | undefined;
40
45
  typeof?: string | undefined;
41
46
  vocab?: string | undefined;
42
47
  autoCapitalize?: string | undefined;
@@ -55,13 +60,17 @@ export declare const TopNav: import("react").ComponentType<Partial<{
55
60
  'aria-activedescendant'?: string | undefined;
56
61
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
57
62
  'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
63
+ 'aria-braillelabel'?: string | undefined;
64
+ 'aria-brailleroledescription'?: string | undefined;
58
65
  'aria-busy'?: (boolean | "true" | "false") | undefined;
59
66
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
60
67
  'aria-colcount'?: number | undefined;
61
68
  'aria-colindex'?: number | undefined;
69
+ 'aria-colindextext'?: string | undefined;
62
70
  'aria-colspan'?: number | undefined;
63
71
  'aria-current'?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
64
72
  'aria-describedby'?: string | undefined;
73
+ 'aria-description'?: string | undefined;
65
74
  'aria-details'?: string | undefined;
66
75
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
67
76
  'aria-errormessage'?: string | undefined;
@@ -87,6 +96,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
87
96
  'aria-roledescription'?: string | undefined;
88
97
  'aria-rowcount'?: number | undefined;
89
98
  'aria-rowindex'?: number | undefined;
99
+ 'aria-rowindextext'?: string | undefined;
90
100
  'aria-rowspan'?: number | undefined;
91
101
  'aria-setsize'?: number | undefined;
92
102
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
@@ -95,7 +105,7 @@ export declare const TopNav: import("react").ComponentType<Partial<{
95
105
  'aria-valuenow'?: number | undefined;
96
106
  'aria-valuetext'?: string | undefined;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("top-nav/src").TopNav> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("top-nav/src").TopNav> | undefined;
@@ -591,6 +601,7 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
591
601
  title?: string | undefined;
592
602
  tabIndex?: number | undefined;
593
603
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
604
+ rel?: string | undefined;
594
605
  id?: string | undefined;
595
606
  className?: string | undefined;
596
607
  role?: import("react").AriaRole | undefined;
@@ -613,15 +624,18 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
613
624
  defaultValue?: string | number | readonly string[] | undefined;
614
625
  suppressContentEditableWarning?: boolean | undefined;
615
626
  suppressHydrationWarning?: boolean | undefined;
627
+ autoFocus?: boolean | undefined;
616
628
  contextMenu?: string | undefined;
617
629
  placeholder?: string | undefined;
618
630
  spellCheck?: (boolean | "true" | "false") | undefined;
619
631
  radioGroup?: string | undefined;
620
632
  about?: string | undefined;
633
+ content?: string | undefined;
621
634
  datatype?: string | undefined;
622
635
  inlist?: any;
623
636
  property?: string | undefined;
624
637
  resource?: string | undefined;
638
+ rev?: string | undefined;
625
639
  typeof?: string | undefined;
626
640
  vocab?: string | undefined;
627
641
  autoCapitalize?: string | undefined;
@@ -640,13 +654,17 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
640
654
  'aria-activedescendant'?: string | undefined;
641
655
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
642
656
  'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
657
+ 'aria-braillelabel'?: string | undefined;
658
+ 'aria-brailleroledescription'?: string | undefined;
643
659
  'aria-busy'?: (boolean | "true" | "false") | undefined;
644
660
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
645
661
  'aria-colcount'?: number | undefined;
646
662
  'aria-colindex'?: number | undefined;
663
+ 'aria-colindextext'?: string | undefined;
647
664
  'aria-colspan'?: number | undefined;
648
665
  'aria-current'?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
649
666
  'aria-describedby'?: string | undefined;
667
+ 'aria-description'?: string | undefined;
650
668
  'aria-details'?: string | undefined;
651
669
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
652
670
  'aria-errormessage'?: string | undefined;
@@ -672,6 +690,7 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
672
690
  'aria-roledescription'?: string | undefined;
673
691
  'aria-rowcount'?: number | undefined;
674
692
  'aria-rowindex'?: number | undefined;
693
+ 'aria-rowindextext'?: string | undefined;
675
694
  'aria-rowspan'?: number | undefined;
676
695
  'aria-setsize'?: number | undefined;
677
696
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
@@ -680,7 +699,7 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
680
699
  'aria-valuenow'?: number | undefined;
681
700
  'aria-valuetext'?: string | undefined;
682
701
  dangerouslySetInnerHTML?: {
683
- __html: string;
702
+ __html: string | TrustedHTML;
684
703
  } | undefined;
685
704
  onCopy?: import("react").ClipboardEventHandler<import("top-nav/src").TopNavItem> | undefined;
686
705
  onCopyCapture?: import("react").ClipboardEventHandler<import("top-nav/src").TopNavItem> | undefined;
@@ -863,7 +882,6 @@ export declare const TopNavItem: import("react").ComponentType<Partial<{
863
882
  download?: string | undefined;
864
883
  href?: string | undefined;
865
884
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
866
- rel?: string | undefined;
867
885
  ariaHidden: string | null;
868
886
  readonly childNodes: NodeListOf<ChildNode>;
869
887
  selected: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/top-nav",
3
- "version": "0.34.0",
3
+ "version": "0.35.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.34.0"
33
+ "@spectrum-web-components/top-nav": "^0.35.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": "f9b3294d67cdd52b2c36897cdc1c20ceaeb019cf"
43
+ "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
44
44
  }