creactive 0.0.78 → 0.0.80
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/build/classic.js +24 -1733
- package/build/classic.js.LICENSE.txt +0 -15
- package/build/components/view/constants/flex.d.ts +58 -0
- package/build/components/view/constants/index.d.ts +3 -1
- package/build/components/view/constants/spacing.d.ts +144 -0
- package/build/components/view/constants/tag.d.ts +25 -5
- package/build/components/view/view.types.d.ts +103 -1
- package/build/constants/index.d.ts +1 -1
- package/build/constants/theme/index.d.ts +1 -0
- package/build/constants/theme/spacing.d.ts +16 -0
- package/build/contexts/theme/theme.types.d.ts +60 -0
- package/build/default.js +2 -530
- package/build/default.js.LICENSE.txt +0 -15
- package/build/hooks/use-theme-style-sheet.d.ts +288 -0
- package/build/index.d.ts +0 -2
- package/package.json +3 -5
- package/build/contexts/theme/wrapper.d.ts +0 -2
- package/build/helpers/index.d.ts +0 -3
- package/build/helpers/storybook/constants/control.d.ts +0 -22
- package/build/helpers/storybook/constants/index.d.ts +0 -1
- package/build/helpers/storybook/control.d.ts +0 -87
- package/build/helpers/storybook/index.d.ts +0 -1
- package/build/helpers/style/index.d.ts +0 -2
- package/build/helpers/style/style.d.ts +0 -2
- package/build/helpers/style/style.types.d.ts +0 -10
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/*!
|
|
8
|
-
* The buffer module from node.js, for the browser.
|
|
9
|
-
*
|
|
10
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
11
|
-
* @license MIT
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
15
|
-
|
|
16
1
|
/**
|
|
17
2
|
* @license React
|
|
18
3
|
* react-jsx-runtime.production.min.js
|
|
@@ -113,4 +113,292 @@ export declare const useThemeStyleSheet: () => {
|
|
|
113
113
|
fontSizeBaseX5L: {
|
|
114
114
|
fontSize: number;
|
|
115
115
|
};
|
|
116
|
+
marginTopBaseX2S: {
|
|
117
|
+
marginTop: number;
|
|
118
|
+
};
|
|
119
|
+
paddingTopBaseX2S: {
|
|
120
|
+
paddingTop: number;
|
|
121
|
+
};
|
|
122
|
+
marginLeftBaseX2S: {
|
|
123
|
+
marginLeft: number;
|
|
124
|
+
};
|
|
125
|
+
paddingLeftBaseX2S: {
|
|
126
|
+
paddingLeft: number;
|
|
127
|
+
};
|
|
128
|
+
marginRightBaseX2S: {
|
|
129
|
+
marginRight: number;
|
|
130
|
+
};
|
|
131
|
+
paddingRightBaseX2S: {
|
|
132
|
+
paddingRight: number;
|
|
133
|
+
};
|
|
134
|
+
marginBottomBaseX2S: {
|
|
135
|
+
marginBottom: number;
|
|
136
|
+
};
|
|
137
|
+
paddingBottomBaseX2S: {
|
|
138
|
+
paddingBottom: number;
|
|
139
|
+
};
|
|
140
|
+
marginTopBaseXS: {
|
|
141
|
+
marginTop: number;
|
|
142
|
+
};
|
|
143
|
+
paddingTopBaseXS: {
|
|
144
|
+
paddingTop: number;
|
|
145
|
+
};
|
|
146
|
+
marginLeftBaseXS: {
|
|
147
|
+
marginLeft: number;
|
|
148
|
+
};
|
|
149
|
+
paddingLeftBaseXS: {
|
|
150
|
+
paddingLeft: number;
|
|
151
|
+
};
|
|
152
|
+
marginRightBaseXS: {
|
|
153
|
+
marginRight: number;
|
|
154
|
+
};
|
|
155
|
+
paddingRightBaseXS: {
|
|
156
|
+
paddingRight: number;
|
|
157
|
+
};
|
|
158
|
+
marginBottomBaseXS: {
|
|
159
|
+
marginBottom: number;
|
|
160
|
+
};
|
|
161
|
+
paddingBottomBaseXS: {
|
|
162
|
+
paddingBottom: number;
|
|
163
|
+
};
|
|
164
|
+
marginTopBaseSM: {
|
|
165
|
+
marginTop: number;
|
|
166
|
+
};
|
|
167
|
+
paddingTopBaseSM: {
|
|
168
|
+
paddingTop: number;
|
|
169
|
+
};
|
|
170
|
+
marginLeftBaseSM: {
|
|
171
|
+
marginLeft: number;
|
|
172
|
+
};
|
|
173
|
+
paddingLeftBaseSM: {
|
|
174
|
+
paddingLeft: number;
|
|
175
|
+
};
|
|
176
|
+
marginRightBaseSM: {
|
|
177
|
+
marginRight: number;
|
|
178
|
+
};
|
|
179
|
+
paddingRightBaseSM: {
|
|
180
|
+
paddingRight: number;
|
|
181
|
+
};
|
|
182
|
+
marginBottomBaseSM: {
|
|
183
|
+
marginBottom: number;
|
|
184
|
+
};
|
|
185
|
+
paddingBottomBaseSM: {
|
|
186
|
+
paddingBottom: number;
|
|
187
|
+
};
|
|
188
|
+
marginTopBaseMD: {
|
|
189
|
+
marginTop: number;
|
|
190
|
+
};
|
|
191
|
+
paddingTopBaseMD: {
|
|
192
|
+
paddingTop: number;
|
|
193
|
+
};
|
|
194
|
+
marginLeftBaseMD: {
|
|
195
|
+
marginLeft: number;
|
|
196
|
+
};
|
|
197
|
+
paddingLeftBaseMD: {
|
|
198
|
+
paddingLeft: number;
|
|
199
|
+
};
|
|
200
|
+
marginRightBaseMD: {
|
|
201
|
+
marginRight: number;
|
|
202
|
+
};
|
|
203
|
+
paddingRightBaseMD: {
|
|
204
|
+
paddingRight: number;
|
|
205
|
+
};
|
|
206
|
+
marginBottomBaseMD: {
|
|
207
|
+
marginBottom: number;
|
|
208
|
+
};
|
|
209
|
+
paddingBottomBaseMD: {
|
|
210
|
+
paddingBottom: number;
|
|
211
|
+
};
|
|
212
|
+
marginTopBaseLG: {
|
|
213
|
+
marginTop: number;
|
|
214
|
+
};
|
|
215
|
+
paddingTopBaseLG: {
|
|
216
|
+
paddingTop: number;
|
|
217
|
+
};
|
|
218
|
+
marginLeftBaseLG: {
|
|
219
|
+
marginLeft: number;
|
|
220
|
+
};
|
|
221
|
+
paddingLeftBaseLG: {
|
|
222
|
+
paddingLeft: number;
|
|
223
|
+
};
|
|
224
|
+
marginRightBaseLG: {
|
|
225
|
+
marginRight: number;
|
|
226
|
+
};
|
|
227
|
+
paddingRightBaseLG: {
|
|
228
|
+
paddingRight: number;
|
|
229
|
+
};
|
|
230
|
+
marginBottomBaseLG: {
|
|
231
|
+
marginBottom: number;
|
|
232
|
+
};
|
|
233
|
+
paddingBottomBaseLG: {
|
|
234
|
+
paddingBottom: number;
|
|
235
|
+
};
|
|
236
|
+
marginTopBaseXL: {
|
|
237
|
+
marginTop: number;
|
|
238
|
+
};
|
|
239
|
+
paddingTopBaseXL: {
|
|
240
|
+
paddingTop: number;
|
|
241
|
+
};
|
|
242
|
+
marginLeftBaseXL: {
|
|
243
|
+
marginLeft: number;
|
|
244
|
+
};
|
|
245
|
+
paddingLeftBaseXL: {
|
|
246
|
+
paddingLeft: number;
|
|
247
|
+
};
|
|
248
|
+
marginRightBaseXL: {
|
|
249
|
+
marginRight: number;
|
|
250
|
+
};
|
|
251
|
+
paddingRightBaseXL: {
|
|
252
|
+
paddingRight: number;
|
|
253
|
+
};
|
|
254
|
+
marginBottomBaseXL: {
|
|
255
|
+
marginBottom: number;
|
|
256
|
+
};
|
|
257
|
+
paddingBottomBaseXL: {
|
|
258
|
+
paddingBottom: number;
|
|
259
|
+
};
|
|
260
|
+
marginTopBaseX2L: {
|
|
261
|
+
marginTop: number;
|
|
262
|
+
};
|
|
263
|
+
paddingTopBaseX2L: {
|
|
264
|
+
paddingTop: number;
|
|
265
|
+
};
|
|
266
|
+
marginLeftBaseX2L: {
|
|
267
|
+
marginLeft: number;
|
|
268
|
+
};
|
|
269
|
+
paddingLeftBaseX2L: {
|
|
270
|
+
paddingLeft: number;
|
|
271
|
+
};
|
|
272
|
+
marginRightBaseX2L: {
|
|
273
|
+
marginRight: number;
|
|
274
|
+
};
|
|
275
|
+
paddingRightBaseX2L: {
|
|
276
|
+
paddingRight: number;
|
|
277
|
+
};
|
|
278
|
+
marginBottomBaseX2L: {
|
|
279
|
+
marginBottom: number;
|
|
280
|
+
};
|
|
281
|
+
paddingBottomBaseX2L: {
|
|
282
|
+
paddingBottom: number;
|
|
283
|
+
};
|
|
284
|
+
marginTopBaseX3L: {
|
|
285
|
+
marginTop: number;
|
|
286
|
+
};
|
|
287
|
+
paddingTopBaseX3L: {
|
|
288
|
+
paddingTop: number;
|
|
289
|
+
};
|
|
290
|
+
marginLeftBaseX3L: {
|
|
291
|
+
marginLeft: number;
|
|
292
|
+
};
|
|
293
|
+
paddingLeftBaseX3L: {
|
|
294
|
+
paddingLeft: number;
|
|
295
|
+
};
|
|
296
|
+
marginRightBaseX3L: {
|
|
297
|
+
marginRight: number;
|
|
298
|
+
};
|
|
299
|
+
paddingRightBaseX3L: {
|
|
300
|
+
paddingRight: number;
|
|
301
|
+
};
|
|
302
|
+
marginBottomBaseX3L: {
|
|
303
|
+
marginBottom: number;
|
|
304
|
+
};
|
|
305
|
+
paddingBottomBaseX3L: {
|
|
306
|
+
paddingBottom: number;
|
|
307
|
+
};
|
|
308
|
+
marginTopBaseX4L: {
|
|
309
|
+
marginTop: number;
|
|
310
|
+
};
|
|
311
|
+
paddingTopBaseX4L: {
|
|
312
|
+
paddingTop: number;
|
|
313
|
+
};
|
|
314
|
+
marginLeftBaseX4L: {
|
|
315
|
+
marginLeft: number;
|
|
316
|
+
};
|
|
317
|
+
paddingLeftBaseX4L: {
|
|
318
|
+
paddingLeft: number;
|
|
319
|
+
};
|
|
320
|
+
marginRightBaseX4L: {
|
|
321
|
+
marginRight: number;
|
|
322
|
+
};
|
|
323
|
+
paddingRightBaseX4L: {
|
|
324
|
+
paddingRight: number;
|
|
325
|
+
};
|
|
326
|
+
marginBottomBaseX4L: {
|
|
327
|
+
marginBottom: number;
|
|
328
|
+
};
|
|
329
|
+
paddingBottomBaseX4L: {
|
|
330
|
+
paddingBottom: number;
|
|
331
|
+
};
|
|
332
|
+
marginTopBaseX5L: {
|
|
333
|
+
marginTop: number;
|
|
334
|
+
};
|
|
335
|
+
paddingTopBaseX5L: {
|
|
336
|
+
paddingTop: number;
|
|
337
|
+
};
|
|
338
|
+
marginLeftBaseX5L: {
|
|
339
|
+
marginLeft: number;
|
|
340
|
+
};
|
|
341
|
+
paddingLeftBaseX5L: {
|
|
342
|
+
paddingLeft: number;
|
|
343
|
+
};
|
|
344
|
+
marginRightBaseX5L: {
|
|
345
|
+
marginRight: number;
|
|
346
|
+
};
|
|
347
|
+
paddingRightBaseX5L: {
|
|
348
|
+
paddingRight: number;
|
|
349
|
+
};
|
|
350
|
+
marginBottomBaseX5L: {
|
|
351
|
+
marginBottom: number;
|
|
352
|
+
};
|
|
353
|
+
paddingBottomBaseX5L: {
|
|
354
|
+
paddingBottom: number;
|
|
355
|
+
};
|
|
356
|
+
marginTopBaseX6L: {
|
|
357
|
+
marginTop: number;
|
|
358
|
+
};
|
|
359
|
+
paddingTopBaseX6L: {
|
|
360
|
+
paddingTop: number;
|
|
361
|
+
};
|
|
362
|
+
marginLeftBaseX6L: {
|
|
363
|
+
marginLeft: number;
|
|
364
|
+
};
|
|
365
|
+
paddingLeftBaseX6L: {
|
|
366
|
+
paddingLeft: number;
|
|
367
|
+
};
|
|
368
|
+
marginRightBaseX6L: {
|
|
369
|
+
marginRight: number;
|
|
370
|
+
};
|
|
371
|
+
paddingRightBaseX6L: {
|
|
372
|
+
paddingRight: number;
|
|
373
|
+
};
|
|
374
|
+
marginBottomBaseX6L: {
|
|
375
|
+
marginBottom: number;
|
|
376
|
+
};
|
|
377
|
+
paddingBottomBaseX6L: {
|
|
378
|
+
paddingBottom: number;
|
|
379
|
+
};
|
|
380
|
+
marginTopBaseX7L: {
|
|
381
|
+
marginTop: number;
|
|
382
|
+
};
|
|
383
|
+
paddingTopBaseX7L: {
|
|
384
|
+
paddingTop: number;
|
|
385
|
+
};
|
|
386
|
+
marginLeftBaseX7L: {
|
|
387
|
+
marginLeft: number;
|
|
388
|
+
};
|
|
389
|
+
paddingLeftBaseX7L: {
|
|
390
|
+
paddingLeft: number;
|
|
391
|
+
};
|
|
392
|
+
marginRightBaseX7L: {
|
|
393
|
+
marginRight: number;
|
|
394
|
+
};
|
|
395
|
+
paddingRightBaseX7L: {
|
|
396
|
+
paddingRight: number;
|
|
397
|
+
};
|
|
398
|
+
marginBottomBaseX7L: {
|
|
399
|
+
marginBottom: number;
|
|
400
|
+
};
|
|
401
|
+
paddingBottomBaseX7L: {
|
|
402
|
+
paddingBottom: number;
|
|
403
|
+
};
|
|
116
404
|
};
|
package/build/index.d.ts
CHANGED
|
@@ -10,6 +10,4 @@ export { Media, MediaContextProvider, useMediaContext } from './contexts/media';
|
|
|
10
10
|
export type { MediaComponent, MediaContextProviderComponent, MediaContextValue, MediaProps, } from './contexts/media';
|
|
11
11
|
export { ThemeContextProvider, useThemeContext } from './contexts/theme';
|
|
12
12
|
export type { ThemeColorRGB, ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, ThemeFontWeight, } from './contexts/theme';
|
|
13
|
-
export { renderStyle } from './helpers/style';
|
|
14
|
-
export type { RenderStyleHelper } from './helpers/style';
|
|
15
13
|
export { useThemeStyleSheet } from './hooks/use-theme-style-sheet';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "creactive",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.80",
|
|
4
4
|
"main": "build/default.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"build/**"
|
|
@@ -15,14 +15,13 @@
|
|
|
15
15
|
"test:web": "jest",
|
|
16
16
|
"lint": "expo lint",
|
|
17
17
|
"build": "npm run build:default && npm run build:classic && npm run build:types",
|
|
18
|
-
"build:default": "webpack --mode
|
|
19
|
-
"build:classic": "webpack --mode
|
|
18
|
+
"build:default": "webpack --mode production",
|
|
19
|
+
"build:classic": "webpack --mode production",
|
|
20
20
|
"build:types": "tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json",
|
|
21
21
|
"prepublishOnly": "npm run build && node scripts/update-package.js build/default.js",
|
|
22
22
|
"postpublish": "node scripts/update-package.js .storybook"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@emotion/react": ">= 11 < 12",
|
|
26
25
|
"@emotion/styled": ">= 11 < 12",
|
|
27
26
|
"react": ">= 18 < 19",
|
|
28
27
|
"react-dom": ">= 18 < 19",
|
|
@@ -34,7 +33,6 @@
|
|
|
34
33
|
"@babel/preset-env": "^7.26.9",
|
|
35
34
|
"@babel/preset-react": "^7.26.3",
|
|
36
35
|
"@babel/preset-typescript": "^7.27.0",
|
|
37
|
-
"@emotion/react": "^11.14.0",
|
|
38
36
|
"@emotion/styled": "^11.14.0",
|
|
39
37
|
"@faker-js/faker": "^9.2.0",
|
|
40
38
|
"@react-native-async-storage/async-storage": "^1.23.1",
|
package/build/helpers/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Storybook control type enum for control helper.
|
|
3
|
-
* Should be used to build control instead of literal values.
|
|
4
|
-
* Feel free to extend this enum with new control types if required.
|
|
5
|
-
*/
|
|
6
|
-
export declare const enum StorybookControlType {
|
|
7
|
-
SELECT = "select",
|
|
8
|
-
TEXT = "text",
|
|
9
|
-
NUMBER = "number"
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Storybook control undefined option.
|
|
13
|
-
* Optional enum controls are supposed to have undefined value option.
|
|
14
|
-
* This option is supposed to be mapped to undefined value in control mapping.
|
|
15
|
-
*/
|
|
16
|
-
export declare const STORYBOOK_CONTROL_UNDEFINED_OPTION = "-";
|
|
17
|
-
/**
|
|
18
|
-
* Storybook control numeric enum flag.
|
|
19
|
-
* We pass this flag throug storybook inside control object.
|
|
20
|
-
* Allows to handle this flag later, inside decorator if we need.
|
|
21
|
-
*/
|
|
22
|
-
export declare const STORYBOOK_CONTROL_NUMERIC_ENUM_FLAG = "isCreactiveStorybookNumericEnum";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './control';
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import type { Decorator, StoryContext } from '@storybook/react';
|
|
2
|
-
import { StorybookControlType } from './constants';
|
|
3
|
-
/**
|
|
4
|
-
* Modifies context arguments to handle numeric enum controls.
|
|
5
|
-
* Numeric enum values are passed as strings by storybook controls.
|
|
6
|
-
* Seems like this happens because of select control implementation.
|
|
7
|
-
* This method is exported for test here, but should not be exported ouside.
|
|
8
|
-
*/
|
|
9
|
-
export declare const modifyContextNumericEnumControls: (context: StoryContext) => {
|
|
10
|
-
args: {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
};
|
|
13
|
-
loaded: Record<string, any>;
|
|
14
|
-
abortSignal: AbortSignal;
|
|
15
|
-
canvasElement: HTMLElement;
|
|
16
|
-
hooks: unknown;
|
|
17
|
-
originalStoryFn: import("@storybook/csf").StoryFn<import("@storybook/react").ReactRenderer, import("@storybook/csf").Args>;
|
|
18
|
-
viewMode: import("@storybook/csf").ViewMode;
|
|
19
|
-
step: import("@storybook/csf").StepFunction<import("@storybook/react").ReactRenderer, import("@storybook/csf").StrictArgs>;
|
|
20
|
-
context: StoryContext;
|
|
21
|
-
canvas: import("@storybook/csf").Canvas;
|
|
22
|
-
mount: (ui?: JSX.Element) => Promise<import("@storybook/csf").Canvas>;
|
|
23
|
-
component?: import("react").ComponentType<any>;
|
|
24
|
-
subcomponents?: Record<string, import("react").ComponentType<any>>;
|
|
25
|
-
parameters: import("@storybook/csf").Parameters;
|
|
26
|
-
initialArgs: import("@storybook/csf").StrictArgs;
|
|
27
|
-
argTypes: import("@storybook/csf").StrictArgTypes<import("@storybook/csf").StrictArgs>;
|
|
28
|
-
componentId: import("@storybook/csf").ComponentId;
|
|
29
|
-
title: import("@storybook/csf").ComponentTitle;
|
|
30
|
-
kind: import("@storybook/csf").ComponentTitle;
|
|
31
|
-
id: import("@storybook/csf").StoryId;
|
|
32
|
-
name: import("@storybook/csf").StoryName;
|
|
33
|
-
story: import("@storybook/csf").StoryName;
|
|
34
|
-
tags: import("@storybook/csf").Tag[];
|
|
35
|
-
globals: import("@storybook/csf").Globals;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Storybook control helpers.
|
|
39
|
-
* Collected into a single class for convenient import.
|
|
40
|
-
* Helps to build storybook control objects for components stories.
|
|
41
|
-
*/
|
|
42
|
-
export declare const StorybookControl: {
|
|
43
|
-
/**
|
|
44
|
-
* Builds a story object form provided numeric enum.
|
|
45
|
-
* Numeric enum will be mapped to storybook select control.
|
|
46
|
-
*
|
|
47
|
-
* @param target - target numeric enum for control
|
|
48
|
-
* @param isOptional - whether control is optional
|
|
49
|
-
*/
|
|
50
|
-
fromNumericEnum(target: Record<string, number>, isOptional?: boolean): {
|
|
51
|
-
control: {
|
|
52
|
-
isCreactiveStorybookNumericEnum: boolean;
|
|
53
|
-
type: StorybookControlType;
|
|
54
|
-
labels: Record<number, string>;
|
|
55
|
-
};
|
|
56
|
-
options: number[];
|
|
57
|
-
defaultValue: number;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Builds a story object for numeric input control.
|
|
61
|
-
* Numeric input will be mapped to storybook number control.
|
|
62
|
-
*
|
|
63
|
-
* @param defaultValue - can be provided to set default value
|
|
64
|
-
*/
|
|
65
|
-
forNumber(defaultValue?: number): {
|
|
66
|
-
control: {
|
|
67
|
-
type: StorybookControlType;
|
|
68
|
-
};
|
|
69
|
-
defaultValue: number;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Returns default children control.
|
|
73
|
-
* Keeps storybook control factory logic together.
|
|
74
|
-
* Also allows to avoid faker import in every story file.
|
|
75
|
-
*/
|
|
76
|
-
forChildren(): {
|
|
77
|
-
control: {
|
|
78
|
-
type: StorybookControlType;
|
|
79
|
-
};
|
|
80
|
-
defaultValue: string;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Returns decorator for storybook stories.
|
|
84
|
-
* This decorator should apply some context modifications.
|
|
85
|
-
*/
|
|
86
|
-
getDecorator(): Decorator;
|
|
87
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { StorybookControl } from './control';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ComponentType, JSX } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Rendering style node (for web platform server side rendering) helper.
|
|
4
|
-
* Using this helper on native platform makes no sense and will throw an error!
|
|
5
|
-
* You are supposed to use it only for server side rendering.
|
|
6
|
-
*
|
|
7
|
-
* @see https://necolas.github.io/react-native-web/docs/rendering/
|
|
8
|
-
* @see https://docs.expo.dev/guides/using-nextjs/
|
|
9
|
-
*/
|
|
10
|
-
export type RenderStyleHelper = (component: ComponentType, key?: string) => JSX.Element;
|