@swc-react/tooltip 0.39.3 → 0.39.4

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 +5 -5
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -6,7 +6,9 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
6
6
  style?: import("react").CSSProperties | undefined;
7
7
  title?: string | undefined;
8
8
  accessKey?: string | undefined;
9
+ color?: string | undefined;
9
10
  content?: string | undefined;
11
+ translate?: "yes" | "no" | undefined;
10
12
  tabIndex?: number | undefined;
11
13
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
12
14
  rel?: string | undefined;
@@ -15,7 +17,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
15
17
  draggable?: (boolean | "true" | "false") | undefined;
16
18
  hidden?: boolean | undefined;
17
19
  lang?: string | undefined;
18
- translate?: "yes" | "no" | undefined;
19
20
  prefix?: string | undefined;
20
21
  children?: import("react").ReactNode;
21
22
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
@@ -43,7 +44,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
43
44
  autoCapitalize?: string | undefined;
44
45
  autoCorrect?: string | undefined;
45
46
  autoSave?: string | undefined;
46
- color?: string | undefined;
47
47
  itemProp?: string | undefined;
48
48
  itemScope?: boolean | undefined;
49
49
  itemType?: string | undefined;
@@ -73,7 +73,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
73
73
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
74
74
  'aria-flowto'?: string | undefined;
75
75
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
76
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
76
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
77
77
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
78
78
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
79
79
  'aria-keyshortcuts'?: string | undefined;
@@ -90,7 +90,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
90
90
  'aria-posinset'?: number | undefined;
91
91
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
92
92
  'aria-readonly'?: (boolean | "true" | "false") | undefined;
93
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
93
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
94
94
  'aria-required'?: (boolean | "true" | "false") | undefined;
95
95
  'aria-roledescription'?: string | undefined;
96
96
  'aria-rowcount'?: number | undefined;
@@ -281,6 +281,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
281
281
  (options?: ScrollToOptions | undefined): void;
282
282
  (x: number, y: number): void;
283
283
  };
284
+ offset: number;
284
285
  open: boolean;
285
286
  normalize: () => void;
286
287
  readonly renderOptions: import("lit-html").RenderOptions;
@@ -588,7 +589,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
588
589
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
589
590
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
590
591
  readonly dataset: DOMStringMap;
591
- offset: number;
592
592
  tipPadding?: number | undefined;
593
593
  selfManaged: boolean;
594
594
  overlayElement?: import("overlay/src").Overlay | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tooltip",
3
- "version": "0.39.3",
3
+ "version": "0.39.4",
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.39.3"
33
+ "@spectrum-web-components/tooltip": "^0.39.4"
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": "f745c90e8e9ea85ff10be025e058b14cc925ec9f"
44
44
  }