@xsolla/xui-rich-icon 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-rich-icon",
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",
@@ -10,8 +10,8 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-core": "0.119.0",
14
- "@xsolla/xui-primitives-core": "0.119.0"
13
+ "@xsolla/xui-core": "0.121.0",
14
+ "@xsolla/xui-primitives-core": "0.121.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",
@@ -1,72 +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_jsx_runtime from "react/jsx-runtime";
9
- import { Node } from "react";
10
- import { BoxProps, TextProps } from "@xsolla/xui-primitives-core";
11
- declare type RichIconVariant = "circle" | "rounded" | "square";
12
- declare type RichIconSize = "sm" | "md" | "lg" | "xl";
13
- declare type RichIconProps = {
14
- children: Node,
15
-
16
- /**
17
- * Shape variant of the icon
18
- * @default "rounded"
19
- */
20
- variant?: RichIconVariant,
21
-
22
- /**
23
- * Size variant
24
- * @default "m"
25
- */
26
- size?: RichIconSize,
27
- ...
28
- } & BoxProps;
29
- declare type RichIconIconProps = {
30
- /**
31
- * Source URL for an image
32
- */
33
- src?: string,
34
-
35
- /**
36
- * Custom component (e.g., Lucide icon)
37
- */
38
- component?: Node,
39
-
40
- /**
41
- * Color for the icon (if using component)
42
- */
43
- color?: string,
44
- ...
45
- } & BoxProps;
46
- declare type RichIconTextProps = {
47
- children: Node,
48
- ...
49
- } & TextProps;
50
- declare var RichIconRoot: (x: RichIconProps) => react_jsx_runtime.JSX.Element;
51
- declare var RichIconIcon: (
52
- x: RichIconIconProps
53
- ) => react_jsx_runtime.JSX.Element;
54
- declare var RichIconText: (
55
- x: RichIconTextProps
56
- ) => react_jsx_runtime.JSX.Element;
57
- declare var RichIcon: {
58
- ...(x: RichIconProps) => react_jsx_runtime.JSX.Element,
59
- ...{
60
- Icon: (x: RichIconIconProps) => react_jsx_runtime.JSX.Element,
61
- Text: (x: RichIconTextProps) => react_jsx_runtime.JSX.Element,
62
- ...
63
- },
64
- };
65
- export type {
66
- RichIconIconProps,
67
- RichIconProps,
68
- RichIconSize,
69
- RichIconTextProps,
70
- RichIconVariant,
71
- };
72
- declare export { RichIcon, RichIconIcon, RichIconRoot, RichIconText };
package/web/index.js.flow DELETED
@@ -1,72 +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_jsx_runtime from "react/jsx-runtime";
9
- import { Node } from "react";
10
- import { BoxProps, TextProps } from "@xsolla/xui-primitives-core";
11
- declare type RichIconVariant = "circle" | "rounded" | "square";
12
- declare type RichIconSize = "sm" | "md" | "lg" | "xl";
13
- declare type RichIconProps = {
14
- children: Node,
15
-
16
- /**
17
- * Shape variant of the icon
18
- * @default "rounded"
19
- */
20
- variant?: RichIconVariant,
21
-
22
- /**
23
- * Size variant
24
- * @default "m"
25
- */
26
- size?: RichIconSize,
27
- ...
28
- } & BoxProps;
29
- declare type RichIconIconProps = {
30
- /**
31
- * Source URL for an image
32
- */
33
- src?: string,
34
-
35
- /**
36
- * Custom component (e.g., Lucide icon)
37
- */
38
- component?: Node,
39
-
40
- /**
41
- * Color for the icon (if using component)
42
- */
43
- color?: string,
44
- ...
45
- } & BoxProps;
46
- declare type RichIconTextProps = {
47
- children: Node,
48
- ...
49
- } & TextProps;
50
- declare var RichIconRoot: (x: RichIconProps) => react_jsx_runtime.JSX.Element;
51
- declare var RichIconIcon: (
52
- x: RichIconIconProps
53
- ) => react_jsx_runtime.JSX.Element;
54
- declare var RichIconText: (
55
- x: RichIconTextProps
56
- ) => react_jsx_runtime.JSX.Element;
57
- declare var RichIcon: {
58
- ...(x: RichIconProps) => react_jsx_runtime.JSX.Element,
59
- ...{
60
- Icon: (x: RichIconIconProps) => react_jsx_runtime.JSX.Element,
61
- Text: (x: RichIconTextProps) => react_jsx_runtime.JSX.Element,
62
- ...
63
- },
64
- };
65
- export type {
66
- RichIconIconProps,
67
- RichIconProps,
68
- RichIconSize,
69
- RichIconTextProps,
70
- RichIconVariant,
71
- };
72
- declare export { RichIcon, RichIconIcon, RichIconRoot, RichIconText };