@coldsurf/ocean-road 1.15.1 → 1.16.0-alpha.1
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/dist/index.d.ts +279 -102
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +41 -41
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +197 -19
- package/dist/native.d.cts.map +1 -1
- package/dist/native.d.ts +198 -20
- package/dist/native.d.ts.map +1 -1
- package/dist/native.js +43 -43
- package/dist/native.js.map +1 -1
- package/dist/next.cjs +131 -131
- package/dist/next.cjs.map +1 -1
- package/dist/next.d.cts +5 -5
- package/dist/next.d.cts.map +1 -1
- package/dist/next.d.ts.map +1 -1
- package/dist/next.js +131 -131
- package/dist/next.js.map +1 -1
- package/package.json +18 -25
- package/src/contexts/ColorSchemeProvider.tsx +3 -3
- package/src/extensions/dropdown/dropdown.menu-item.tsx +0 -3
- package/src/extensions/dropdown/dropdown.tsx +18 -27
- package/src/native/button/button.styled.tsx +1 -2
- package/src/native/icon-button/icon-button.utils.ts +5 -5
- package/src/native/text-input/text-input.tsx +1 -2
- package/src/native/toast/toast.styled.ts +6 -6
- package/src/tokens/tokens.ts +4 -4
- package/src/tokens/tokens.types.ts +3 -3
- package/tokens/css/color/variables-dark.css +19 -0
- package/tokens/css/color/variables-light.css +19 -0
- package/tokens/css/color/variables.css +139 -0
- package/tokens/css/typography/variables.css +59 -0
- package/tokens/js/color/variables-theme.d.ts +47 -0
- package/tokens/js/color/variables-theme.js +293 -0
- package/tokens/js/color/variables.d.ts +185 -0
- package/tokens/js/color/variables.js +2539 -0
- package/tokens/js/semantic/theme-variables.d.ts +51 -0
- package/tokens/js/semantic/theme-variables.js +53 -0
- package/tokens/js/semantic/theme-variables.mjs +51 -0
- package/tokens/js/semantic/variables.d.ts +82 -0
- package/tokens/js/semantic/variables.js +84 -0
- package/tokens/js/semantic/variables.mjs +82 -0
- package/tokens/js/typography/variables.d.ts +28 -0
- package/tokens/js/typography/variables.js +30 -0
- package/tokens/js/typography/variables.mjs +28 -0
- package/tokens/json/color/variables-dark.json +14 -0
- package/tokens/json/color/variables-light.json +14 -0
- package/tokens/json/color/variables.json +134 -0
- package/tokens/json/typography/variables.json +54 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,42 +1,220 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as react80 from "react";
|
|
4
|
-
import * as react70 from "react";
|
|
5
|
-
import * as react59 from "react";
|
|
6
|
-
import * as react79 from "react";
|
|
7
|
-
import * as react87 from "react";
|
|
8
|
-
import * as react85 from "react";
|
|
9
|
-
import * as react48 from "react";
|
|
10
|
-
import * as react88 from "react";
|
|
11
|
-
import * as react65 from "react";
|
|
12
|
-
import * as react77 from "react";
|
|
1
|
+
import * as react0$1 from "react";
|
|
2
|
+
import * as react0 from "react";
|
|
13
3
|
import * as react46 from "react";
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
4
|
+
import * as react81 from "react";
|
|
5
|
+
import * as react78 from "react";
|
|
16
6
|
import * as react75 from "react";
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
7
|
+
import * as react53 from "react";
|
|
8
|
+
import * as react51 from "react";
|
|
9
|
+
import * as react57 from "react";
|
|
10
|
+
import * as react67 from "react";
|
|
11
|
+
import * as react62 from "react";
|
|
12
|
+
import * as react73 from "react";
|
|
22
13
|
import * as react44 from "react";
|
|
14
|
+
import * as react40 from "react";
|
|
15
|
+
import * as react87 from "react";
|
|
23
16
|
import * as react54 from "react";
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
17
|
+
import * as react91 from "react";
|
|
18
|
+
import * as react65 from "react";
|
|
19
|
+
import * as react23 from "react";
|
|
20
|
+
import * as react84 from "react";
|
|
21
|
+
import * as react38 from "react";
|
|
22
|
+
import * as react95 from "react";
|
|
23
|
+
import * as react76 from "react";
|
|
24
|
+
import * as react56 from "react";
|
|
25
|
+
import * as react1 from "react";
|
|
26
26
|
import { ButtonHTMLAttributes, CSSProperties, ComponentPropsWithRef, DetailedHTMLProps, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEventHandler, PropsWithChildren, ReactElement, ReactNode, Ref, RefObject, SVGProps, TextareaHTMLAttributes } from "react";
|
|
27
27
|
import * as _emotion_react1 from "@emotion/react";
|
|
28
28
|
import * as _emotion_react0 from "@emotion/react";
|
|
29
29
|
import { SerializedStyles } from "@emotion/react";
|
|
30
30
|
import * as _emotion_styled1 from "@emotion/styled";
|
|
31
31
|
import * as _emotion_styled0 from "@emotion/styled";
|
|
32
|
-
import darkColorDesignTokens from "
|
|
33
|
-
import lightColorDesignTokens from "
|
|
34
|
-
import colorDesignTokens from "@coldsurfers/ocean-road-design-tokens/js/color/variables";
|
|
32
|
+
import darkColorDesignTokens from "../../tokens/json/color/variables-dark.json";
|
|
33
|
+
import lightColorDesignTokens from "../../tokens/json/color/variables-light.json";
|
|
35
34
|
import { icons } from "lucide-react";
|
|
36
35
|
import { MotionProps } from "framer-motion";
|
|
37
36
|
|
|
37
|
+
//#region tokens/js/color/variables.d.ts
|
|
38
|
+
declare interface DesignToken {
|
|
39
|
+
value: any;
|
|
40
|
+
name?: string;
|
|
41
|
+
comment?: string;
|
|
42
|
+
themeable?: boolean;
|
|
43
|
+
attributes?: {
|
|
44
|
+
category?: string;
|
|
45
|
+
type?: string;
|
|
46
|
+
item?: string;
|
|
47
|
+
subitem?: string;
|
|
48
|
+
state?: string;
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
};
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}
|
|
53
|
+
declare const tokens: {
|
|
54
|
+
"oc": {
|
|
55
|
+
"white": DesignToken;
|
|
56
|
+
"black": DesignToken;
|
|
57
|
+
"gray": {
|
|
58
|
+
"0": DesignToken;
|
|
59
|
+
"1": DesignToken;
|
|
60
|
+
"2": DesignToken;
|
|
61
|
+
"3": DesignToken;
|
|
62
|
+
"4": DesignToken;
|
|
63
|
+
"5": DesignToken;
|
|
64
|
+
"6": DesignToken;
|
|
65
|
+
"7": DesignToken;
|
|
66
|
+
"8": DesignToken;
|
|
67
|
+
"9": DesignToken;
|
|
68
|
+
};
|
|
69
|
+
"red": {
|
|
70
|
+
"0": DesignToken;
|
|
71
|
+
"1": DesignToken;
|
|
72
|
+
"2": DesignToken;
|
|
73
|
+
"3": DesignToken;
|
|
74
|
+
"4": DesignToken;
|
|
75
|
+
"5": DesignToken;
|
|
76
|
+
"6": DesignToken;
|
|
77
|
+
"7": DesignToken;
|
|
78
|
+
"8": DesignToken;
|
|
79
|
+
"9": DesignToken;
|
|
80
|
+
};
|
|
81
|
+
"pink": {
|
|
82
|
+
"0": DesignToken;
|
|
83
|
+
"1": DesignToken;
|
|
84
|
+
"2": DesignToken;
|
|
85
|
+
"3": DesignToken;
|
|
86
|
+
"4": DesignToken;
|
|
87
|
+
"5": DesignToken;
|
|
88
|
+
"6": DesignToken;
|
|
89
|
+
"7": DesignToken;
|
|
90
|
+
"8": DesignToken;
|
|
91
|
+
"9": DesignToken;
|
|
92
|
+
};
|
|
93
|
+
"grape": {
|
|
94
|
+
"0": DesignToken;
|
|
95
|
+
"1": DesignToken;
|
|
96
|
+
"2": DesignToken;
|
|
97
|
+
"3": DesignToken;
|
|
98
|
+
"4": DesignToken;
|
|
99
|
+
"5": DesignToken;
|
|
100
|
+
"6": DesignToken;
|
|
101
|
+
"7": DesignToken;
|
|
102
|
+
"8": DesignToken;
|
|
103
|
+
"9": DesignToken;
|
|
104
|
+
};
|
|
105
|
+
"violet": {
|
|
106
|
+
"0": DesignToken;
|
|
107
|
+
"1": DesignToken;
|
|
108
|
+
"2": DesignToken;
|
|
109
|
+
"3": DesignToken;
|
|
110
|
+
"4": DesignToken;
|
|
111
|
+
"5": DesignToken;
|
|
112
|
+
"6": DesignToken;
|
|
113
|
+
"7": DesignToken;
|
|
114
|
+
"8": DesignToken;
|
|
115
|
+
"9": DesignToken;
|
|
116
|
+
};
|
|
117
|
+
"indigo": {
|
|
118
|
+
"0": DesignToken;
|
|
119
|
+
"1": DesignToken;
|
|
120
|
+
"2": DesignToken;
|
|
121
|
+
"3": DesignToken;
|
|
122
|
+
"4": DesignToken;
|
|
123
|
+
"5": DesignToken;
|
|
124
|
+
"6": DesignToken;
|
|
125
|
+
"7": DesignToken;
|
|
126
|
+
"8": DesignToken;
|
|
127
|
+
"9": DesignToken;
|
|
128
|
+
};
|
|
129
|
+
"blue": {
|
|
130
|
+
"0": DesignToken;
|
|
131
|
+
"1": DesignToken;
|
|
132
|
+
"2": DesignToken;
|
|
133
|
+
"3": DesignToken;
|
|
134
|
+
"4": DesignToken;
|
|
135
|
+
"5": DesignToken;
|
|
136
|
+
"6": DesignToken;
|
|
137
|
+
"7": DesignToken;
|
|
138
|
+
"8": DesignToken;
|
|
139
|
+
"9": DesignToken;
|
|
140
|
+
};
|
|
141
|
+
"cyan": {
|
|
142
|
+
"0": DesignToken;
|
|
143
|
+
"1": DesignToken;
|
|
144
|
+
"2": DesignToken;
|
|
145
|
+
"3": DesignToken;
|
|
146
|
+
"4": DesignToken;
|
|
147
|
+
"5": DesignToken;
|
|
148
|
+
"6": DesignToken;
|
|
149
|
+
"7": DesignToken;
|
|
150
|
+
"8": DesignToken;
|
|
151
|
+
"9": DesignToken;
|
|
152
|
+
};
|
|
153
|
+
"teal": {
|
|
154
|
+
"0": DesignToken;
|
|
155
|
+
"1": DesignToken;
|
|
156
|
+
"2": DesignToken;
|
|
157
|
+
"3": DesignToken;
|
|
158
|
+
"4": DesignToken;
|
|
159
|
+
"5": DesignToken;
|
|
160
|
+
"6": DesignToken;
|
|
161
|
+
"7": DesignToken;
|
|
162
|
+
"8": DesignToken;
|
|
163
|
+
"9": DesignToken;
|
|
164
|
+
};
|
|
165
|
+
"green": {
|
|
166
|
+
"0": DesignToken;
|
|
167
|
+
"1": DesignToken;
|
|
168
|
+
"2": DesignToken;
|
|
169
|
+
"3": DesignToken;
|
|
170
|
+
"4": DesignToken;
|
|
171
|
+
"5": DesignToken;
|
|
172
|
+
"6": DesignToken;
|
|
173
|
+
"7": DesignToken;
|
|
174
|
+
"8": DesignToken;
|
|
175
|
+
"9": DesignToken;
|
|
176
|
+
};
|
|
177
|
+
"lime": {
|
|
178
|
+
"0": DesignToken;
|
|
179
|
+
"1": DesignToken;
|
|
180
|
+
"2": DesignToken;
|
|
181
|
+
"3": DesignToken;
|
|
182
|
+
"4": DesignToken;
|
|
183
|
+
"5": DesignToken;
|
|
184
|
+
"6": DesignToken;
|
|
185
|
+
"7": DesignToken;
|
|
186
|
+
"8": DesignToken;
|
|
187
|
+
"9": DesignToken;
|
|
188
|
+
};
|
|
189
|
+
"yellow": {
|
|
190
|
+
"0": DesignToken;
|
|
191
|
+
"1": DesignToken;
|
|
192
|
+
"2": DesignToken;
|
|
193
|
+
"3": DesignToken;
|
|
194
|
+
"4": DesignToken;
|
|
195
|
+
"5": DesignToken;
|
|
196
|
+
"6": DesignToken;
|
|
197
|
+
"7": DesignToken;
|
|
198
|
+
"8": DesignToken;
|
|
199
|
+
"9": DesignToken;
|
|
200
|
+
};
|
|
201
|
+
"orange": {
|
|
202
|
+
"0": DesignToken;
|
|
203
|
+
"1": DesignToken;
|
|
204
|
+
"2": DesignToken;
|
|
205
|
+
"3": DesignToken;
|
|
206
|
+
"4": DesignToken;
|
|
207
|
+
"5": DesignToken;
|
|
208
|
+
"6": DesignToken;
|
|
209
|
+
"7": DesignToken;
|
|
210
|
+
"8": DesignToken;
|
|
211
|
+
"9": DesignToken;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
//#endregion
|
|
38
216
|
//#region src/tokens/tokens.types.d.ts
|
|
39
|
-
type ColorDesignTokens = typeof
|
|
217
|
+
type ColorDesignTokens = typeof tokens;
|
|
40
218
|
type DarkColorDesignTokens = typeof darkColorDesignTokens;
|
|
41
219
|
type LightColorDesignTokens = typeof lightColorDesignTokens;
|
|
42
220
|
//# sourceMappingURL=tokens.types.d.ts.map
|
|
@@ -224,7 +402,7 @@ declare const ColorSchemeProvider: ({
|
|
|
224
402
|
}: PropsWithChildren<{
|
|
225
403
|
colorScheme: ColorScheme;
|
|
226
404
|
id?: string;
|
|
227
|
-
}>) =>
|
|
405
|
+
}>) => react0$1.JSX.Element;
|
|
228
406
|
declare const useColorScheme: () => ThemeContextValue;
|
|
229
407
|
//# sourceMappingURL=ColorSchemeProvider.d.ts.map
|
|
230
408
|
//#endregion
|
|
@@ -234,34 +412,34 @@ type Props$8 = {
|
|
|
234
412
|
};
|
|
235
413
|
declare function GlobalStyle({
|
|
236
414
|
themeStorageItem
|
|
237
|
-
}: Props$8):
|
|
415
|
+
}: Props$8): react0.JSX.Element;
|
|
238
416
|
//#endregion
|
|
239
417
|
//#region src/base/button/button.types.d.ts
|
|
240
418
|
type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
|
|
241
419
|
//# sourceMappingURL=button.types.d.ts.map
|
|
242
420
|
//#endregion
|
|
243
421
|
//#region src/base/button/button.d.ts
|
|
244
|
-
declare const Button:
|
|
422
|
+
declare const Button: react46.ForwardRefExoticComponent<{
|
|
245
423
|
theme?: ButtonTheme;
|
|
246
424
|
variant?: ButtonTheme;
|
|
247
425
|
size?: "lg" | "md" | "sm";
|
|
248
|
-
leftIcon?: keyof typeof icons |
|
|
249
|
-
rightIcon?: keyof typeof icons |
|
|
426
|
+
leftIcon?: keyof typeof icons | react46.ReactElement;
|
|
427
|
+
rightIcon?: keyof typeof icons | react46.ReactElement;
|
|
250
428
|
textWeight?: "light" | "medium" | "bold";
|
|
251
429
|
} & {
|
|
252
|
-
children?:
|
|
253
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> &
|
|
430
|
+
children?: react46.ReactNode | undefined;
|
|
431
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & react46.RefAttributes<HTMLButtonElement>>;
|
|
254
432
|
//# sourceMappingURL=button.d.ts.map
|
|
255
433
|
//#endregion
|
|
256
434
|
//#region src/base/checkbox/checkbox.d.ts
|
|
257
|
-
declare const Checkbox:
|
|
435
|
+
declare const Checkbox: react81.MemoExoticComponent<react81.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "formAction"> & {
|
|
258
436
|
size?: "lg" | "md" | "sm";
|
|
259
437
|
labelText?: string;
|
|
260
|
-
} &
|
|
438
|
+
} & react81.RefAttributes<HTMLInputElement>>>;
|
|
261
439
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
262
440
|
//#endregion
|
|
263
441
|
//#region src/base/icon-button/icon-button.d.ts
|
|
264
|
-
declare const IconButton:
|
|
442
|
+
declare const IconButton: react78.ForwardRefExoticComponent<react78.ButtonHTMLAttributes<HTMLButtonElement> & react78.RefAttributes<HTMLButtonElement>>;
|
|
265
443
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
266
444
|
//#endregion
|
|
267
445
|
//#region src/base/icon-button/icon-button.types.d.ts
|
|
@@ -278,7 +456,7 @@ declare const Modal: ({
|
|
|
278
456
|
visible: boolean;
|
|
279
457
|
onClose: () => void;
|
|
280
458
|
zIndex?: number;
|
|
281
|
-
}>) =>
|
|
459
|
+
}>) => react75.JSX.Element;
|
|
282
460
|
//# sourceMappingURL=modal.d.ts.map
|
|
283
461
|
//#endregion
|
|
284
462
|
//#region src/base/spinner/spinner.types.d.ts
|
|
@@ -293,7 +471,7 @@ type Props$7 = {
|
|
|
293
471
|
declare const Spinner: ({
|
|
294
472
|
variant,
|
|
295
473
|
className
|
|
296
|
-
}: Props$7) =>
|
|
474
|
+
}: Props$7) => react53.JSX.Element;
|
|
297
475
|
//#endregion
|
|
298
476
|
//#region src/base/text/text.styled.d.ts
|
|
299
477
|
type TextVariant = 'heading1' | 'heading2' | 'heading3' | 'body1' | 'body2' | 'caption' | 'label';
|
|
@@ -312,7 +490,7 @@ type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
|
|
|
312
490
|
as?: ElementType<any, keyof JSX.IntrinsicElements>;
|
|
313
491
|
numberOfLines?: number;
|
|
314
492
|
} & Pick<StyledTextContainerProps, 'variant' | 'size' | 'weight'>>;
|
|
315
|
-
declare const Text:
|
|
493
|
+
declare const Text: react51.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react51.RefAttributes<HTMLSpanElement>>;
|
|
316
494
|
//#endregion
|
|
317
495
|
//#region src/base/text-area/text-area.types.d.ts
|
|
318
496
|
type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
@@ -324,18 +502,18 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
324
502
|
//# sourceMappingURL=text-area.types.d.ts.map
|
|
325
503
|
//#endregion
|
|
326
504
|
//#region src/base/text-area/text-area.d.ts
|
|
327
|
-
declare const TextArea:
|
|
505
|
+
declare const TextArea: react57.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react57.RefAttributes<HTMLTextAreaElement>>;
|
|
328
506
|
//# sourceMappingURL=text-area.d.ts.map
|
|
329
507
|
//#endregion
|
|
330
508
|
//#region src/base/text-input/text-input.d.ts
|
|
331
|
-
declare const TextInput:
|
|
509
|
+
declare const TextInput: react67.ForwardRefExoticComponent<react67.InputHTMLAttributes<HTMLInputElement> & {
|
|
332
510
|
label?: string;
|
|
333
|
-
labelStyle?:
|
|
511
|
+
labelStyle?: react67.CSSProperties;
|
|
334
512
|
isError?: boolean;
|
|
335
513
|
required?: boolean;
|
|
336
|
-
left?:
|
|
337
|
-
right?:
|
|
338
|
-
} &
|
|
514
|
+
left?: react67.ReactNode;
|
|
515
|
+
right?: react67.ReactNode;
|
|
516
|
+
} & react67.RefAttributes<HTMLInputElement>>;
|
|
339
517
|
//# sourceMappingURL=text-input.d.ts.map
|
|
340
518
|
//#endregion
|
|
341
519
|
//#region src/base/text-input/text-input.types.d.ts
|
|
@@ -366,7 +544,7 @@ declare const Toast: ({
|
|
|
366
544
|
message,
|
|
367
545
|
zIndex,
|
|
368
546
|
onClose
|
|
369
|
-
}: ToastProps) =>
|
|
547
|
+
}: ToastProps) => react62.JSX.Element;
|
|
370
548
|
//# sourceMappingURL=toast.d.ts.map
|
|
371
549
|
//#endregion
|
|
372
550
|
//#region src/base/switch/switch.d.ts
|
|
@@ -374,7 +552,7 @@ interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onC
|
|
|
374
552
|
checked: boolean;
|
|
375
553
|
onChange: (checked: boolean) => void;
|
|
376
554
|
}
|
|
377
|
-
declare const Switch:
|
|
555
|
+
declare const Switch: react73.ForwardRefExoticComponent<SwitchProps & react73.RefAttributes<HTMLButtonElement>>;
|
|
378
556
|
//#endregion
|
|
379
557
|
//#region src/base/badge/badge.d.ts
|
|
380
558
|
type Props$6 = {
|
|
@@ -383,7 +561,7 @@ type Props$6 = {
|
|
|
383
561
|
isHighlighted?: boolean;
|
|
384
562
|
children?: string | ReactElement;
|
|
385
563
|
};
|
|
386
|
-
declare const Badge:
|
|
564
|
+
declare const Badge: react44.ForwardRefExoticComponent<Props$6 & react44.RefAttributes<HTMLDivElement>>;
|
|
387
565
|
//#endregion
|
|
388
566
|
//#region src/utils/breakpoints.d.ts
|
|
389
567
|
declare const breakpoints: {
|
|
@@ -422,16 +600,16 @@ type GridCardListItemProps = WithId<{
|
|
|
422
600
|
//#endregion
|
|
423
601
|
//#region src/extensions/error-ui/index.d.ts
|
|
424
602
|
declare const ErrorUI: {
|
|
425
|
-
NetworkError:
|
|
603
|
+
NetworkError: react40.MemoExoticComponent<({
|
|
426
604
|
onClickRetry
|
|
427
605
|
}: {
|
|
428
606
|
onClickRetry: () => void;
|
|
429
|
-
}) =>
|
|
430
|
-
UnknownError:
|
|
607
|
+
}) => react40.JSX.Element>;
|
|
608
|
+
UnknownError: react40.MemoExoticComponent<({
|
|
431
609
|
onClickRetry
|
|
432
610
|
}: {
|
|
433
611
|
onClickRetry: () => void;
|
|
434
|
-
}) =>
|
|
612
|
+
}) => react40.JSX.Element>;
|
|
435
613
|
};
|
|
436
614
|
//# sourceMappingURL=index.d.ts.map
|
|
437
615
|
//#endregion
|
|
@@ -441,39 +619,39 @@ interface Props$5 {
|
|
|
441
619
|
type?: 'round' | 'square';
|
|
442
620
|
logoTheme: LogoTheme;
|
|
443
621
|
}
|
|
444
|
-
declare const AppLogo:
|
|
622
|
+
declare const AppLogo: react87.MemoExoticComponent<({
|
|
445
623
|
type,
|
|
446
624
|
logoTheme,
|
|
447
625
|
...otherProps
|
|
448
|
-
}: Props$5) =>
|
|
626
|
+
}: Props$5) => react87.JSX.Element>;
|
|
449
627
|
//#endregion
|
|
450
628
|
//#region src/extensions/app-store-button/app-store-button.d.ts
|
|
451
629
|
type Props$4 = {
|
|
452
630
|
store: 'app-store' | 'google-play';
|
|
453
631
|
};
|
|
454
|
-
declare const AppStoreButton:
|
|
632
|
+
declare const AppStoreButton: react54.MemoExoticComponent<({
|
|
455
633
|
store
|
|
456
|
-
}: Props$4) =>
|
|
634
|
+
}: Props$4) => react54.JSX.Element>;
|
|
457
635
|
//#endregion
|
|
458
636
|
//#region src/extensions/brand-icon/brand-icon.d.ts
|
|
459
637
|
interface Props$3 extends SVGProps<SVGSVGElement> {
|
|
460
638
|
brand: 'apple' | 'google' | 'android';
|
|
461
639
|
ref?: Ref<SVGSVGElement>;
|
|
462
640
|
}
|
|
463
|
-
declare const BrandIcon:
|
|
641
|
+
declare const BrandIcon: react91.MemoExoticComponent<({
|
|
464
642
|
brand,
|
|
465
643
|
...svgProps
|
|
466
|
-
}: Props$3) =>
|
|
644
|
+
}: Props$3) => react91.JSX.Element>;
|
|
467
645
|
//#endregion
|
|
468
646
|
//#region src/extensions/sns-icon/sns-icon.d.ts
|
|
469
647
|
interface Props$2 extends React.SVGProps<SVGSVGElement> {
|
|
470
648
|
social: 'instagram' | 'x' | 'facebook' | 'youtube';
|
|
471
649
|
ref?: Ref<SVGSVGElement>;
|
|
472
650
|
}
|
|
473
|
-
declare const SNSIcon:
|
|
651
|
+
declare const SNSIcon: react65.MemoExoticComponent<({
|
|
474
652
|
social,
|
|
475
653
|
...svgProps
|
|
476
|
-
}: Props$2) =>
|
|
654
|
+
}: Props$2) => react65.JSX.Element>;
|
|
477
655
|
//#endregion
|
|
478
656
|
//#region src/extensions/dropdown/dropdown.types.d.ts
|
|
479
657
|
type DropdownMenuItemRef = {
|
|
@@ -513,31 +691,30 @@ declare const Dropdown: {
|
|
|
513
691
|
as?: React.ElementType;
|
|
514
692
|
} & {
|
|
515
693
|
$isActive?: boolean;
|
|
516
|
-
},
|
|
694
|
+
}, react23.DetailedHTMLProps<react23.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
517
695
|
MenuItem: <DataItemT>(props: {
|
|
518
696
|
isCurrent: boolean;
|
|
519
|
-
icon?:
|
|
520
|
-
title:
|
|
697
|
+
icon?: react23.ReactNode;
|
|
698
|
+
title: react23.ReactNode;
|
|
521
699
|
dropdownData: DataItemT[];
|
|
522
|
-
renderDropdownItem: (item: DataItemT) =>
|
|
700
|
+
renderDropdownItem: (item: DataItemT) => react23.ReactNode;
|
|
523
701
|
backdrop?: boolean;
|
|
524
702
|
absolute?: boolean;
|
|
525
703
|
isLoading?: boolean;
|
|
526
704
|
onClose?: () => void;
|
|
527
|
-
onMouseEnter?: (e:
|
|
705
|
+
onMouseEnter?: (e: react23.MouseEvent<HTMLDivElement>, params: {
|
|
528
706
|
openDropdown: () => void;
|
|
529
707
|
}) => void;
|
|
530
|
-
onMouseLeave?: (e:
|
|
708
|
+
onMouseLeave?: (e: react23.MouseEvent<HTMLDivElement>, params: {
|
|
531
709
|
closeDropdown: () => void;
|
|
532
710
|
}) => void;
|
|
533
|
-
onClick?: (e:
|
|
711
|
+
onClick?: (e: react23.MouseEvent<HTMLDivElement>, params: {
|
|
534
712
|
openDropdown: () => void;
|
|
535
713
|
}) => void;
|
|
536
|
-
zIndex?: number;
|
|
537
714
|
} & {
|
|
538
|
-
ref?:
|
|
715
|
+
ref?: react23.Ref<DropdownMenuItemRef>;
|
|
539
716
|
}) => JSX.Element;
|
|
540
|
-
Core:
|
|
717
|
+
Core: react23.MemoExoticComponent<react23.ForwardRefExoticComponent<DropdownCoreProps & react23.RefAttributes<DropdownMenuItemRef>>>;
|
|
541
718
|
Trigger: ({
|
|
542
719
|
renderTriggerNode,
|
|
543
720
|
triggerRef,
|
|
@@ -545,27 +722,27 @@ declare const Dropdown: {
|
|
|
545
722
|
backdrop,
|
|
546
723
|
zIndex,
|
|
547
724
|
edge
|
|
548
|
-
}:
|
|
725
|
+
}: react23.PropsWithChildren<{
|
|
549
726
|
renderTriggerNode: ({
|
|
550
727
|
openDropdown
|
|
551
728
|
}: {
|
|
552
729
|
openDropdown: () => void;
|
|
553
|
-
}) =>
|
|
730
|
+
}) => react23.ReactNode;
|
|
554
731
|
triggerRef: DropdownCoreProps["triggerRef"];
|
|
555
732
|
backdrop: DropdownCoreProps["backdrop"];
|
|
556
733
|
zIndex: DropdownCoreProps["zIndex"];
|
|
557
734
|
edge: DropdownCoreProps["edge"];
|
|
558
|
-
}>) =>
|
|
735
|
+
}>) => react23.JSX.Element;
|
|
559
736
|
};
|
|
560
737
|
//#endregion
|
|
561
738
|
//#region src/extensions/menu-item/menu-item.d.ts
|
|
562
|
-
declare const MenuItem:
|
|
739
|
+
declare const MenuItem: react84.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
|
|
563
740
|
isLoading?: boolean;
|
|
564
741
|
isCurrent?: boolean;
|
|
565
742
|
icon?: React.ReactNode;
|
|
566
743
|
} & {
|
|
567
|
-
children?:
|
|
568
|
-
} &
|
|
744
|
+
children?: react84.ReactNode | undefined;
|
|
745
|
+
} & react84.RefAttributes<HTMLDivElement>>;
|
|
569
746
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
570
747
|
//#endregion
|
|
571
748
|
//#region src/extensions/app-header/app-header.types.d.ts
|
|
@@ -593,12 +770,12 @@ declare function useIsMobileMenuOpen(): {
|
|
|
593
770
|
declare const AppHeader: {
|
|
594
771
|
useHeaderScrollAnimation: typeof useHeaderScrollAnimation;
|
|
595
772
|
useIsMobileMenuOpen: typeof useIsMobileMenuOpen;
|
|
596
|
-
AnimatedHeader:
|
|
773
|
+
AnimatedHeader: react38.MemoExoticComponent<({
|
|
597
774
|
animation,
|
|
598
775
|
children,
|
|
599
776
|
className,
|
|
600
777
|
zIndex
|
|
601
|
-
}: AnimatedHeaderProps) =>
|
|
778
|
+
}: AnimatedHeaderProps) => react38.JSX.Element>;
|
|
602
779
|
};
|
|
603
780
|
//# sourceMappingURL=index.d.ts.map
|
|
604
781
|
//#endregion
|
|
@@ -608,9 +785,9 @@ type Props$1 = {
|
|
|
608
785
|
setTheme: ReturnType<typeof useColorScheme>['setTheme'];
|
|
609
786
|
}) => void;
|
|
610
787
|
};
|
|
611
|
-
declare const ColorSchemeToggle:
|
|
788
|
+
declare const ColorSchemeToggle: react95.MemoExoticComponent<({
|
|
612
789
|
onToggle
|
|
613
|
-
}: Props$1) =>
|
|
790
|
+
}: Props$1) => react95.JSX.Element>;
|
|
614
791
|
//#endregion
|
|
615
792
|
//#region src/extensions/full-screen-modal/full-screen-modal.d.ts
|
|
616
793
|
type Props = PropsWithChildren<{
|
|
@@ -618,12 +795,12 @@ type Props = PropsWithChildren<{
|
|
|
618
795
|
onClose: () => void;
|
|
619
796
|
zIndex?: number;
|
|
620
797
|
}>;
|
|
621
|
-
declare const FullScreenModal:
|
|
798
|
+
declare const FullScreenModal: react76.MemoExoticComponent<({
|
|
622
799
|
visible,
|
|
623
800
|
onClose,
|
|
624
801
|
children,
|
|
625
802
|
zIndex
|
|
626
|
-
}: Props) =>
|
|
803
|
+
}: Props) => react76.JSX.Element>;
|
|
627
804
|
//#endregion
|
|
628
805
|
//#region src/extensions/accordion/accordion.d.ts
|
|
629
806
|
type AccordionProps<ItemT> = {
|
|
@@ -643,12 +820,12 @@ declare const Accordion: <ItemT extends {
|
|
|
643
820
|
renderTrigger,
|
|
644
821
|
renderExpanded,
|
|
645
822
|
customized
|
|
646
|
-
}: AccordionProps<ItemT>) =>
|
|
823
|
+
}: AccordionProps<ItemT>) => react56.JSX.Element;
|
|
647
824
|
//# sourceMappingURL=accordion.d.ts.map
|
|
648
825
|
//#endregion
|
|
649
826
|
//#region src/extensions/index.d.ts
|
|
650
827
|
declare const GridCardList: {
|
|
651
|
-
List:
|
|
828
|
+
List: react1.MemoExoticComponent<({
|
|
652
829
|
items,
|
|
653
830
|
renderItem,
|
|
654
831
|
onLoadMore,
|
|
@@ -659,15 +836,15 @@ declare const GridCardList: {
|
|
|
659
836
|
navigationComponent
|
|
660
837
|
}: {
|
|
661
838
|
items: GridCardListItemProps[];
|
|
662
|
-
renderItem: (item: GridCardListItemProps) =>
|
|
839
|
+
renderItem: (item: GridCardListItemProps) => react1.ReactNode;
|
|
663
840
|
onLoadMore: () => void;
|
|
664
841
|
headerText?: string;
|
|
665
842
|
hasNextPage?: boolean;
|
|
666
843
|
isEmpty?: boolean;
|
|
667
|
-
emptyComponent?:
|
|
668
|
-
navigationComponent?:
|
|
669
|
-
}) =>
|
|
670
|
-
MasonryList:
|
|
844
|
+
emptyComponent?: react1.ReactNode;
|
|
845
|
+
navigationComponent?: react1.ReactNode;
|
|
846
|
+
}) => react1.JSX.Element>;
|
|
847
|
+
MasonryList: react1.MemoExoticComponent<({
|
|
671
848
|
items,
|
|
672
849
|
renderItem,
|
|
673
850
|
onLoadMore,
|
|
@@ -678,15 +855,15 @@ declare const GridCardList: {
|
|
|
678
855
|
navigationComponent
|
|
679
856
|
}: {
|
|
680
857
|
items: GridCardListItemProps[];
|
|
681
|
-
renderItem: (item: GridCardListItemProps) =>
|
|
858
|
+
renderItem: (item: GridCardListItemProps) => react1.ReactNode;
|
|
682
859
|
onLoadMore: () => void;
|
|
683
860
|
headerText?: string;
|
|
684
861
|
hasNextPage?: boolean;
|
|
685
862
|
isEmpty?: boolean;
|
|
686
|
-
emptyComponent?:
|
|
687
|
-
navigationComponent?:
|
|
688
|
-
}) =>
|
|
689
|
-
Item:
|
|
863
|
+
emptyComponent?: react1.ReactNode;
|
|
864
|
+
navigationComponent?: react1.ReactNode;
|
|
865
|
+
}) => react1.JSX.Element>;
|
|
866
|
+
Item: react1.MemoExoticComponent<({
|
|
690
867
|
thumbnailUrl,
|
|
691
868
|
titleText,
|
|
692
869
|
subText,
|
|
@@ -695,8 +872,8 @@ declare const GridCardList: {
|
|
|
695
872
|
renderThumbnail,
|
|
696
873
|
isSubscribed,
|
|
697
874
|
onClick
|
|
698
|
-
}: GridCardListItemProps) =>
|
|
699
|
-
MasonryItem:
|
|
875
|
+
}: GridCardListItemProps) => react1.JSX.Element>;
|
|
876
|
+
MasonryItem: react1.MemoExoticComponent<({
|
|
700
877
|
isSubscribed,
|
|
701
878
|
thumbnailUrl,
|
|
702
879
|
titleText,
|
|
@@ -704,25 +881,25 @@ declare const GridCardList: {
|
|
|
704
881
|
bottomText,
|
|
705
882
|
rightBottomSlot,
|
|
706
883
|
renderThumbnail
|
|
707
|
-
}: GridCardListItemProps) =>
|
|
708
|
-
LoadMore:
|
|
884
|
+
}: GridCardListItemProps) => react1.JSX.Element>;
|
|
885
|
+
LoadMore: react1.MemoExoticComponent<({
|
|
709
886
|
onLoadMore
|
|
710
887
|
}: {
|
|
711
888
|
onLoadMore: () => void;
|
|
712
|
-
}) =>
|
|
713
|
-
Empty:
|
|
889
|
+
}) => react1.JSX.Element>;
|
|
890
|
+
Empty: react1.MemoExoticComponent<({
|
|
714
891
|
text
|
|
715
892
|
}: {
|
|
716
893
|
text: string;
|
|
717
|
-
}) =>
|
|
894
|
+
}) => react1.JSX.Element>;
|
|
718
895
|
ImageEmpty: _emotion_styled0.StyledComponent<{
|
|
719
896
|
theme?: _emotion_react0.Theme;
|
|
720
897
|
as?: React.ElementType;
|
|
721
|
-
},
|
|
898
|
+
}, react1.DetailedHTMLProps<react1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
722
899
|
Image: _emotion_styled0.StyledComponent<{
|
|
723
900
|
theme?: _emotion_react0.Theme;
|
|
724
901
|
as?: React.ElementType;
|
|
725
|
-
},
|
|
902
|
+
}, react1.DetailedHTMLProps<react1.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
726
903
|
};
|
|
727
904
|
//#endregion
|
|
728
905
|
//#region src/constants.d.ts
|