@xsolla/xui-rich-icon 0.221.1 → 0.223.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/native/index.d.mts +7 -7
- package/native/index.d.ts +7 -7
- package/package.json +3 -3
- package/web/index.d.mts +7 -7
- package/web/index.d.ts +7 -7
package/native/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { BoxProps, TextProps } from '@xsolla/xui-primitives-core';
|
|
4
4
|
import { ThemeOverrideProps } from '@xsolla/xui-core';
|
|
@@ -39,12 +39,12 @@ interface RichIconTextProps extends TextProps, ThemeOverrideProps {
|
|
|
39
39
|
testID?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) =>
|
|
43
|
-
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
44
|
-
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
45
|
-
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) =>
|
|
46
|
-
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
47
|
-
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
42
|
+
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element;
|
|
43
|
+
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
44
|
+
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
45
|
+
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element) & {
|
|
46
|
+
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
47
|
+
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { RichIcon, RichIconIcon, type RichIconIconProps, type RichIconProps, RichIconRoot, type RichIconSize, RichIconText, type RichIconTextProps, type RichIconVariant };
|
package/native/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { BoxProps, TextProps } from '@xsolla/xui-primitives-core';
|
|
4
4
|
import { ThemeOverrideProps } from '@xsolla/xui-core';
|
|
@@ -39,12 +39,12 @@ interface RichIconTextProps extends TextProps, ThemeOverrideProps {
|
|
|
39
39
|
testID?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) =>
|
|
43
|
-
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
44
|
-
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
45
|
-
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) =>
|
|
46
|
-
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
47
|
-
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
42
|
+
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element;
|
|
43
|
+
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
44
|
+
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
45
|
+
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element) & {
|
|
46
|
+
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
47
|
+
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { RichIcon, RichIconIcon, type RichIconIconProps, type RichIconProps, RichIconRoot, type RichIconSize, RichIconText, type RichIconTextProps, type RichIconVariant };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-rich-icon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.223.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.
|
|
14
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-core": "0.223.0",
|
|
14
|
+
"@xsolla/xui-primitives-core": "0.223.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": ">=16.8.0",
|
package/web/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { BoxProps, TextProps } from '@xsolla/xui-primitives-core';
|
|
4
4
|
import { ThemeOverrideProps } from '@xsolla/xui-core';
|
|
@@ -39,12 +39,12 @@ interface RichIconTextProps extends TextProps, ThemeOverrideProps {
|
|
|
39
39
|
testID?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) =>
|
|
43
|
-
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
44
|
-
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
45
|
-
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) =>
|
|
46
|
-
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
47
|
-
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
42
|
+
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element;
|
|
43
|
+
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
44
|
+
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
45
|
+
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element) & {
|
|
46
|
+
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
47
|
+
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { RichIcon, RichIconIcon, type RichIconIconProps, type RichIconProps, RichIconRoot, type RichIconSize, RichIconText, type RichIconTextProps, type RichIconVariant };
|
package/web/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { BoxProps, TextProps } from '@xsolla/xui-primitives-core';
|
|
4
4
|
import { ThemeOverrideProps } from '@xsolla/xui-core';
|
|
@@ -39,12 +39,12 @@ interface RichIconTextProps extends TextProps, ThemeOverrideProps {
|
|
|
39
39
|
testID?: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) =>
|
|
43
|
-
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
44
|
-
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
45
|
-
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) =>
|
|
46
|
-
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) =>
|
|
47
|
-
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) =>
|
|
42
|
+
declare const RichIconRoot: ({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element;
|
|
43
|
+
declare const RichIconIcon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
44
|
+
declare const RichIconText: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
45
|
+
declare const RichIcon: (({ children, variant, size, ...props }: RichIconProps) => react.JSX.Element) & {
|
|
46
|
+
Icon: ({ src, component, color, children, testID, themeMode, themeProductContext, ...props }: RichIconIconProps) => react.JSX.Element;
|
|
47
|
+
Text: ({ children, testID, themeMode, themeProductContext, ...props }: RichIconTextProps) => react.JSX.Element;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { RichIcon, RichIconIcon, type RichIconIconProps, type RichIconProps, RichIconRoot, type RichIconSize, RichIconText, type RichIconTextProps, type RichIconVariant };
|