@xsolla/xui-primitives-core 0.188.0 → 0.188.2
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/index.d.mts +0 -8
- package/index.d.ts +0 -8
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
interface TestIDProps {
|
|
4
|
-
/** Test ID for testing frameworks */
|
|
5
4
|
testID?: string;
|
|
6
5
|
}
|
|
7
6
|
interface BoxProps {
|
|
@@ -110,7 +109,6 @@ interface BoxProps {
|
|
|
110
109
|
onError?: (e: any) => void;
|
|
111
110
|
/** Image load success handler. Only used when as="img". */
|
|
112
111
|
onLoad?: (e: any) => void;
|
|
113
|
-
/** HTML id attribute */
|
|
114
112
|
id?: string;
|
|
115
113
|
/** Button type attribute (only used when as="button") */
|
|
116
114
|
type?: "button" | "submit" | "reset";
|
|
@@ -131,7 +129,6 @@ interface TextProps {
|
|
|
131
129
|
className?: string;
|
|
132
130
|
id?: string;
|
|
133
131
|
role?: string;
|
|
134
|
-
/** Test ID for testing frameworks */
|
|
135
132
|
testID?: string;
|
|
136
133
|
/** Test ID for testing frameworks (web) */
|
|
137
134
|
"data-testid"?: string;
|
|
@@ -148,7 +145,6 @@ interface SpinnerProps {
|
|
|
148
145
|
"aria-live"?: "polite" | "assertive" | "off";
|
|
149
146
|
/** ID of element that describes this spinner */
|
|
150
147
|
"aria-describedby"?: string;
|
|
151
|
-
/** Test ID for testing frameworks */
|
|
152
148
|
testID?: string;
|
|
153
149
|
}
|
|
154
150
|
interface IconProps {
|
|
@@ -156,7 +152,6 @@ interface IconProps {
|
|
|
156
152
|
color?: string;
|
|
157
153
|
size?: number | string;
|
|
158
154
|
children?: React.ReactNode;
|
|
159
|
-
/** Test ID for testing frameworks */
|
|
160
155
|
testID?: string;
|
|
161
156
|
/** Test ID for testing frameworks (web) */
|
|
162
157
|
"data-testid"?: string;
|
|
@@ -167,7 +162,6 @@ interface DividerProps {
|
|
|
167
162
|
width?: number | string;
|
|
168
163
|
vertical?: boolean;
|
|
169
164
|
dashStroke?: boolean;
|
|
170
|
-
/** Test ID for testing frameworks */
|
|
171
165
|
testID?: string;
|
|
172
166
|
/** Test ID for testing frameworks (web) */
|
|
173
167
|
"data-testid"?: string;
|
|
@@ -201,14 +195,12 @@ interface InputPrimitiveProps {
|
|
|
201
195
|
"aria-label"?: string;
|
|
202
196
|
"aria-disabled"?: boolean;
|
|
203
197
|
"data-testid"?: string;
|
|
204
|
-
/** Test ID for testing frameworks */
|
|
205
198
|
testID?: string;
|
|
206
199
|
}
|
|
207
200
|
interface TextAreaPrimitiveProps extends Omit<InputPrimitiveProps, "onKeyDown" | "secureTextEntry"> {
|
|
208
201
|
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
209
202
|
rows?: number;
|
|
210
203
|
autoSize?: boolean;
|
|
211
|
-
/** Test ID for testing frameworks */
|
|
212
204
|
testID?: string;
|
|
213
205
|
}
|
|
214
206
|
interface LinearGradientProps {
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
interface TestIDProps {
|
|
4
|
-
/** Test ID for testing frameworks */
|
|
5
4
|
testID?: string;
|
|
6
5
|
}
|
|
7
6
|
interface BoxProps {
|
|
@@ -110,7 +109,6 @@ interface BoxProps {
|
|
|
110
109
|
onError?: (e: any) => void;
|
|
111
110
|
/** Image load success handler. Only used when as="img". */
|
|
112
111
|
onLoad?: (e: any) => void;
|
|
113
|
-
/** HTML id attribute */
|
|
114
112
|
id?: string;
|
|
115
113
|
/** Button type attribute (only used when as="button") */
|
|
116
114
|
type?: "button" | "submit" | "reset";
|
|
@@ -131,7 +129,6 @@ interface TextProps {
|
|
|
131
129
|
className?: string;
|
|
132
130
|
id?: string;
|
|
133
131
|
role?: string;
|
|
134
|
-
/** Test ID for testing frameworks */
|
|
135
132
|
testID?: string;
|
|
136
133
|
/** Test ID for testing frameworks (web) */
|
|
137
134
|
"data-testid"?: string;
|
|
@@ -148,7 +145,6 @@ interface SpinnerProps {
|
|
|
148
145
|
"aria-live"?: "polite" | "assertive" | "off";
|
|
149
146
|
/** ID of element that describes this spinner */
|
|
150
147
|
"aria-describedby"?: string;
|
|
151
|
-
/** Test ID for testing frameworks */
|
|
152
148
|
testID?: string;
|
|
153
149
|
}
|
|
154
150
|
interface IconProps {
|
|
@@ -156,7 +152,6 @@ interface IconProps {
|
|
|
156
152
|
color?: string;
|
|
157
153
|
size?: number | string;
|
|
158
154
|
children?: React.ReactNode;
|
|
159
|
-
/** Test ID for testing frameworks */
|
|
160
155
|
testID?: string;
|
|
161
156
|
/** Test ID for testing frameworks (web) */
|
|
162
157
|
"data-testid"?: string;
|
|
@@ -167,7 +162,6 @@ interface DividerProps {
|
|
|
167
162
|
width?: number | string;
|
|
168
163
|
vertical?: boolean;
|
|
169
164
|
dashStroke?: boolean;
|
|
170
|
-
/** Test ID for testing frameworks */
|
|
171
165
|
testID?: string;
|
|
172
166
|
/** Test ID for testing frameworks (web) */
|
|
173
167
|
"data-testid"?: string;
|
|
@@ -201,14 +195,12 @@ interface InputPrimitiveProps {
|
|
|
201
195
|
"aria-label"?: string;
|
|
202
196
|
"aria-disabled"?: boolean;
|
|
203
197
|
"data-testid"?: string;
|
|
204
|
-
/** Test ID for testing frameworks */
|
|
205
198
|
testID?: string;
|
|
206
199
|
}
|
|
207
200
|
interface TextAreaPrimitiveProps extends Omit<InputPrimitiveProps, "onKeyDown" | "secureTextEntry"> {
|
|
208
201
|
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
209
202
|
rows?: number;
|
|
210
203
|
autoSize?: boolean;
|
|
211
|
-
/** Test ID for testing frameworks */
|
|
212
204
|
testID?: string;
|
|
213
205
|
}
|
|
214
206
|
interface LinearGradientProps {
|