@xsolla/xui-toggletip 0.119.0 → 0.121.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-toggletip",
3
- "version": "0.119.0",
3
+ "version": "0.121.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,9 +13,9 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-button": "0.119.0",
17
- "@xsolla/xui-core": "0.119.0",
18
- "@xsolla/xui-primitives-core": "0.119.0"
16
+ "@xsolla/xui-button": "0.121.0",
17
+ "@xsolla/xui-core": "0.121.0",
18
+ "@xsolla/xui-primitives-core": "0.121.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": ">=16.8.0",
@@ -1,69 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import * as react from "react";
9
- import { Node } from "react";
10
- declare type ToggletipPlacement =
11
- | "top"
12
- | "top-left"
13
- | "top-right"
14
- | "bottom"
15
- | "bottom-left"
16
- | "bottom-right"
17
- | "left"
18
- | "right";
19
- declare interface ToggletipProps {
20
- /**
21
- * Trigger element.
22
- */
23
- children: Node;
24
-
25
- /**
26
- * The title of the component.
27
- */
28
- title?: Node;
29
-
30
- /**
31
- * The content of the tooltip.
32
- */
33
- content?: Node;
34
-
35
- /**
36
- * Buttons displayed in the footer.
37
- */
38
- footer?: Node;
39
-
40
- /**
41
- * Width for the component.
42
- * @default "288px"
43
- */
44
- width?: string;
45
-
46
- /**
47
- * Placement relative to control.
48
- * @default "top"
49
- */
50
- direction?: ToggletipPlacement;
51
-
52
- /**
53
- * Whether to change position automatically.
54
- */
55
- autoDirection?: boolean;
56
-
57
- /**
58
- * Distance from control.
59
- * @default 12
60
- */
61
- offset?: number;
62
- "data-testid"?: string;
63
- }
64
- declare var Toggletip: react.ForwardRefExoticComponent<{
65
- ...ToggletipProps,
66
- ...react.RefAttributes<any>,
67
- }>;
68
- export type { ToggletipPlacement, ToggletipProps };
69
- declare export { Toggletip };
package/web/index.js.flow DELETED
@@ -1,69 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import * as react from "react";
9
- import { Node } from "react";
10
- declare type ToggletipPlacement =
11
- | "top"
12
- | "top-left"
13
- | "top-right"
14
- | "bottom"
15
- | "bottom-left"
16
- | "bottom-right"
17
- | "left"
18
- | "right";
19
- declare interface ToggletipProps {
20
- /**
21
- * Trigger element.
22
- */
23
- children: Node;
24
-
25
- /**
26
- * The title of the component.
27
- */
28
- title?: Node;
29
-
30
- /**
31
- * The content of the tooltip.
32
- */
33
- content?: Node;
34
-
35
- /**
36
- * Buttons displayed in the footer.
37
- */
38
- footer?: Node;
39
-
40
- /**
41
- * Width for the component.
42
- * @default "288px"
43
- */
44
- width?: string;
45
-
46
- /**
47
- * Placement relative to control.
48
- * @default "top"
49
- */
50
- direction?: ToggletipPlacement;
51
-
52
- /**
53
- * Whether to change position automatically.
54
- */
55
- autoDirection?: boolean;
56
-
57
- /**
58
- * Distance from control.
59
- * @default 12
60
- */
61
- offset?: number;
62
- "data-testid"?: string;
63
- }
64
- declare var Toggletip: react.ForwardRefExoticComponent<{
65
- ...ToggletipProps,
66
- ...react.RefAttributes<any>,
67
- }>;
68
- export type { ToggletipPlacement, ToggletipProps };
69
- declare export { Toggletip };