@swc-react/tooltip 0.37.0 → 0.39.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 +11 -11
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -6,20 +6,22 @@ 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
+ content?: string | undefined;
10
+ tabIndex?: number | undefined;
11
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
12
+ rel?: string | undefined;
13
+ id?: string | undefined;
14
+ className?: string | undefined;
9
15
  draggable?: (boolean | "true" | "false") | undefined;
10
16
  hidden?: boolean | undefined;
11
17
  lang?: string | undefined;
12
18
  translate?: "yes" | "no" | undefined;
13
- className?: string | undefined;
14
- id?: string | undefined;
15
19
  prefix?: string | undefined;
16
20
  children?: import("react").ReactNode;
17
21
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
18
22
  inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
19
23
  nonce?: string | undefined;
20
- tabIndex?: number | undefined;
21
24
  'aria-describedby'?: string | undefined;
22
- content?: string | undefined;
23
25
  defaultChecked?: boolean | undefined;
24
26
  defaultValue?: string | number | readonly string[] | undefined;
25
27
  suppressContentEditableWarning?: boolean | undefined;
@@ -34,7 +36,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
34
36
  datatype?: string | undefined;
35
37
  inlist?: any;
36
38
  property?: string | undefined;
37
- rel?: string | undefined;
38
39
  resource?: string | undefined;
39
40
  rev?: string | undefined;
40
41
  typeof?: string | undefined;
@@ -54,7 +55,7 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
54
55
  is?: string | undefined;
55
56
  'aria-activedescendant'?: string | undefined;
56
57
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
57
- 'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
58
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
58
59
  'aria-braillelabel'?: string | undefined;
59
60
  'aria-brailleroledescription'?: string | undefined;
60
61
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -67,7 +68,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
67
68
  'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
68
69
  'aria-description'?: string | undefined;
69
70
  'aria-details'?: string | undefined;
70
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
71
71
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
72
72
  'aria-errormessage'?: string | undefined;
73
73
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
@@ -273,9 +273,9 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
273
273
  readonly attributes: NamedNodeMap;
274
274
  readonly localName: string;
275
275
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
276
- click: () => void;
277
276
  placement?: import("@floating-ui/utils").Placement | undefined;
278
277
  blur: () => void;
278
+ click: () => void;
279
279
  focus: (options?: FocusOptions | undefined) => void;
280
280
  scroll: {
281
281
  (options?: ScrollToOptions | undefined): void;
@@ -284,6 +284,9 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
284
284
  open: boolean;
285
285
  normalize: () => void;
286
286
  readonly renderOptions: import("lit-html").RenderOptions;
287
+ autofocus: boolean;
288
+ ariaHidden: string | null;
289
+ readonly childNodes: NodeListOf<ChildNode>;
287
290
  addEventListener: {
288
291
  <K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
289
292
  (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
@@ -387,7 +390,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
387
390
  toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
388
391
  webkitMatchesSelector: (selectors: string) => boolean;
389
392
  readonly baseURI: string;
390
- readonly childNodes: NodeListOf<ChildNode>;
391
393
  readonly firstChild: ChildNode | null;
392
394
  readonly isConnected: boolean;
393
395
  readonly lastChild: ChildNode | null;
@@ -442,7 +444,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
442
444
  ariaDisabled: string | null;
443
445
  ariaExpanded: string | null;
444
446
  ariaHasPopup: string | null;
445
- ariaHidden: string | null;
446
447
  ariaKeyShortcuts: string | null;
447
448
  ariaLabel: string | null;
448
449
  ariaLevel: string | null;
@@ -586,7 +587,6 @@ export declare const Tooltip: import("react").ComponentType<Partial<{
586
587
  onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
587
588
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
588
589
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
589
- autofocus: boolean;
590
590
  readonly dataset: DOMStringMap;
591
591
  offset: number;
592
592
  tipPadding?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tooltip",
3
- "version": "0.37.0",
3
+ "version": "0.39.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.37.0"
33
+ "@spectrum-web-components/tooltip": "^0.39.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": "d771f62f0d8063070af43283bb0fd5e3400bad06"
43
+ "gitHead": "1a4b3c2d32e51b7f22a7f1196c3c0270512e7c4c"
44
44
  }