@swc-react/tooltip 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 -2
  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 TooltipProxy: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  color?: string | undefined;
@@ -9,6 +10,7 @@ export declare const TooltipProxy: import("react").ComponentType<Partial<{
9
10
  'aria-modal'?: (boolean | "true" | "false") | undefined;
10
11
  accessKey?: string | undefined;
11
12
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
13
+ rel?: string | undefined;
12
14
  id?: string | undefined;
13
15
  className?: string | undefined;
14
16
  tabIndex?: number | undefined;
@@ -31,15 +33,18 @@ export declare const TooltipProxy: import("react").ComponentType<Partial<{
31
33
  defaultValue?: string | number | readonly string[] | undefined;
32
34
  suppressContentEditableWarning?: boolean | undefined;
33
35
  suppressHydrationWarning?: boolean | undefined;
36
+ autoFocus?: boolean | undefined;
34
37
  contextMenu?: string | undefined;
35
38
  placeholder?: string | undefined;
36
39
  spellCheck?: (boolean | "true" | "false") | undefined;
37
40
  radioGroup?: string | undefined;
38
41
  about?: string | undefined;
42
+ content?: string | undefined;
39
43
  datatype?: string | undefined;
40
44
  inlist?: any;
41
45
  property?: string | undefined;
42
46
  resource?: string | undefined;
47
+ rev?: string | undefined;
43
48
  typeof?: string | undefined;
44
49
  vocab?: string | undefined;
45
50
  autoCapitalize?: string | undefined;
@@ -57,13 +62,17 @@ export declare const TooltipProxy: import("react").ComponentType<Partial<{
57
62
  'aria-activedescendant'?: string | undefined;
58
63
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
59
64
  'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
65
+ 'aria-braillelabel'?: string | undefined;
66
+ 'aria-brailleroledescription'?: string | undefined;
60
67
  'aria-busy'?: (boolean | "true" | "false") | undefined;
61
68
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
62
69
  'aria-colcount'?: number | undefined;
63
70
  'aria-colindex'?: number | undefined;
71
+ 'aria-colindextext'?: string | undefined;
64
72
  'aria-colspan'?: number | undefined;
65
73
  'aria-controls'?: string | undefined;
66
74
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
75
+ 'aria-description'?: string | undefined;
67
76
  'aria-details'?: string | undefined;
68
77
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
69
78
  'aria-errormessage'?: string | undefined;
@@ -86,6 +95,7 @@ export declare const TooltipProxy: import("react").ComponentType<Partial<{
86
95
  'aria-roledescription'?: string | undefined;
87
96
  'aria-rowcount'?: number | undefined;
88
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
89
99
  'aria-rowspan'?: number | undefined;
90
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
91
101
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const TooltipProxy: 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("tooltip/src").TooltipProxy> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("tooltip/src").TooltipProxy> | undefined;
@@ -579,6 +589,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
579
589
  'aria-modal'?: (boolean | "true" | "false") | undefined;
580
590
  accessKey?: string | undefined;
581
591
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
592
+ rel?: string | undefined;
582
593
  id?: string | undefined;
583
594
  className?: string | undefined;
584
595
  tabIndex?: number | undefined;
@@ -601,15 +612,18 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
601
612
  defaultValue?: string | number | readonly string[] | undefined;
602
613
  suppressContentEditableWarning?: boolean | undefined;
603
614
  suppressHydrationWarning?: boolean | undefined;
615
+ autoFocus?: boolean | undefined;
604
616
  contextMenu?: string | undefined;
605
617
  placeholder?: string | undefined;
606
618
  spellCheck?: (boolean | "true" | "false") | undefined;
607
619
  radioGroup?: string | undefined;
608
620
  about?: string | undefined;
621
+ content?: string | undefined;
609
622
  datatype?: string | undefined;
610
623
  inlist?: any;
611
624
  property?: string | undefined;
612
625
  resource?: string | undefined;
626
+ rev?: string | undefined;
613
627
  typeof?: string | undefined;
614
628
  vocab?: string | undefined;
615
629
  autoCapitalize?: string | undefined;
@@ -627,13 +641,17 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
627
641
  'aria-activedescendant'?: string | undefined;
628
642
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
629
643
  'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
644
+ 'aria-braillelabel'?: string | undefined;
645
+ 'aria-brailleroledescription'?: string | undefined;
630
646
  'aria-busy'?: (boolean | "true" | "false") | undefined;
631
647
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
632
648
  'aria-colcount'?: number | undefined;
633
649
  'aria-colindex'?: number | undefined;
650
+ 'aria-colindextext'?: string | undefined;
634
651
  'aria-colspan'?: number | undefined;
635
652
  'aria-controls'?: string | undefined;
636
653
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
654
+ 'aria-description'?: string | undefined;
637
655
  'aria-details'?: string | undefined;
638
656
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
639
657
  'aria-errormessage'?: string | undefined;
@@ -656,6 +674,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
656
674
  'aria-roledescription'?: string | undefined;
657
675
  'aria-rowcount'?: number | undefined;
658
676
  'aria-rowindex'?: number | undefined;
677
+ 'aria-rowindextext'?: string | undefined;
659
678
  'aria-rowspan'?: number | undefined;
660
679
  'aria-selected'?: (boolean | "true" | "false") | undefined;
661
680
  'aria-setsize'?: number | undefined;
@@ -665,7 +684,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
665
684
  'aria-valuenow'?: number | undefined;
666
685
  'aria-valuetext'?: string | undefined;
667
686
  dangerouslySetInnerHTML?: {
668
- __html: string;
687
+ __html: string | TrustedHTML;
669
688
  } | undefined;
670
689
  onCopy?: import("react").ClipboardEventHandler<import("tooltip/src").Tooltip> | undefined;
671
690
  onCopyCapture?: import("react").ClipboardEventHandler<import("tooltip/src").Tooltip> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tooltip",
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/tooltip": "^0.34.0"
33
+ "@spectrum-web-components/tooltip": "^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
  }