@coldsurf/ocean-road 1.14.0 → 1.15.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/dist/index.d.ts +127 -106
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +104 -104
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +1 -1
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +32 -8
- package/dist/native.d.cts.map +1 -1
- package/dist/native.d.ts +32 -8
- package/dist/native.d.ts.map +1 -1
- package/dist/native.js +1 -1
- package/dist/native.js.map +1 -1
- package/dist/next.cjs +173 -175
- package/dist/next.cjs.map +1 -1
- package/dist/next.d.cts +25 -25
- package/dist/next.d.ts +4 -4
- package/dist/next.js +173 -175
- package/dist/next.js.map +1 -1
- package/package.json +2 -2
- package/src/base/text-input/text-input.tsx +2 -12
- package/src/base/text-input/text-input.types.ts +1 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as react21 from "react";
|
|
2
|
+
import * as react22 from "react";
|
|
3
|
+
import * as react67 from "react";
|
|
4
|
+
import * as react92 from "react";
|
|
5
|
+
import * as react86 from "react";
|
|
6
|
+
import * as react49 from "react";
|
|
7
7
|
import * as react44 from "react";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
8
|
+
import * as react52 from "react";
|
|
9
|
+
import * as react95 from "react";
|
|
10
|
+
import * as react77 from "react";
|
|
10
11
|
import * as react91 from "react";
|
|
11
|
-
import * as react54 from "react";
|
|
12
|
-
import * as react69 from "react";
|
|
13
|
-
import * as react71 from "react";
|
|
14
|
-
import * as react40 from "react";
|
|
15
|
-
import * as react45 from "react";
|
|
16
|
-
import * as react87 from "react";
|
|
17
12
|
import * as react75 from "react";
|
|
18
|
-
import * as
|
|
13
|
+
import * as react63 from "react";
|
|
19
14
|
import * as react23 from "react";
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
15
|
+
import * as react65 from "react";
|
|
16
|
+
import * as react50 from "react";
|
|
17
|
+
import * as react47 from "react";
|
|
18
|
+
import * as react45 from "react";
|
|
19
|
+
import * as react27 from "react";
|
|
20
|
+
import * as react60 from "react";
|
|
21
|
+
import * as react42 from "react";
|
|
22
|
+
import * as react89 from "react";
|
|
23
|
+
import * as react83 from "react";
|
|
24
|
+
import * as react85 from "react";
|
|
25
|
+
import * as react0 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";
|
|
@@ -102,6 +102,26 @@ declare const semantics: {
|
|
|
102
102
|
readonly fontWeight: "var(--typography-variant-label-font-weight)";
|
|
103
103
|
readonly lineHeight: "var(--typography-variant-label-line-height)";
|
|
104
104
|
};
|
|
105
|
+
readonly overline: {
|
|
106
|
+
readonly fontSize: "var(--typography-variant-overline-font-size)";
|
|
107
|
+
readonly fontWeight: "var(--typography-variant-overline-font-weight)";
|
|
108
|
+
readonly lineHeight: "var(--typography-variant-overline-line-height)";
|
|
109
|
+
};
|
|
110
|
+
readonly body3: {
|
|
111
|
+
readonly fontSize: "var(--typography-variant-body3-font-size)";
|
|
112
|
+
readonly fontWeight: "var(--typography-variant-body3-font-weight)";
|
|
113
|
+
readonly lineHeight: "var(--typography-variant-body3-line-height)";
|
|
114
|
+
};
|
|
115
|
+
readonly body4: {
|
|
116
|
+
readonly fontSize: "var(--typography-variant-body4-font-size)";
|
|
117
|
+
readonly fontWeight: "var(--typography-variant-body4-font-weight)";
|
|
118
|
+
readonly lineHeight: "var(--typography-variant-body4-line-height)";
|
|
119
|
+
};
|
|
120
|
+
readonly heading4: {
|
|
121
|
+
readonly fontSize: "var(--typography-variant-heading4-font-size)";
|
|
122
|
+
readonly fontWeight: "var(--typography-variant-heading4-font-weight)";
|
|
123
|
+
readonly lineHeight: "var(--typography-variant-heading4-line-height)";
|
|
124
|
+
};
|
|
105
125
|
};
|
|
106
126
|
};
|
|
107
127
|
declare const semanticVariables: {
|
|
@@ -156,11 +176,15 @@ declare const semanticVariables: {
|
|
|
156
176
|
};
|
|
157
177
|
declare const typography: {
|
|
158
178
|
readonly fontSize: {
|
|
179
|
+
readonly "2xs": "var(--typography-font-size-2xs)";
|
|
159
180
|
readonly xs: "var(--typography-font-size-xs)";
|
|
181
|
+
readonly xs2: "var(--typography-font-size-xs2)";
|
|
160
182
|
readonly sm: "var(--typography-font-size-sm)";
|
|
183
|
+
readonly sm2: "var(--typography-font-size-sm2)";
|
|
161
184
|
readonly md: "var(--typography-font-size-md)";
|
|
162
185
|
readonly lg: "var(--typography-font-size-lg)";
|
|
163
186
|
readonly xl: "var(--typography-font-size-xl)";
|
|
187
|
+
readonly xl2: "var(--typography-font-size-xl2)";
|
|
164
188
|
readonly "2xl": "var(--typography-font-size-2xl)";
|
|
165
189
|
readonly "3xl": "var(--typography-font-size-3xl)";
|
|
166
190
|
readonly "4xl": "var(--typography-font-size-4xl)";
|
|
@@ -200,7 +224,7 @@ declare const ColorSchemeProvider: ({
|
|
|
200
224
|
}: PropsWithChildren<{
|
|
201
225
|
colorScheme: ColorScheme;
|
|
202
226
|
id?: string;
|
|
203
|
-
}>) =>
|
|
227
|
+
}>) => react21.JSX.Element;
|
|
204
228
|
declare const useColorScheme: () => ThemeContextValue;
|
|
205
229
|
//# sourceMappingURL=ColorSchemeProvider.d.ts.map
|
|
206
230
|
//#endregion
|
|
@@ -210,34 +234,34 @@ type Props$8 = {
|
|
|
210
234
|
};
|
|
211
235
|
declare function GlobalStyle({
|
|
212
236
|
themeStorageItem
|
|
213
|
-
}: Props$8):
|
|
237
|
+
}: Props$8): react22.JSX.Element;
|
|
214
238
|
//#endregion
|
|
215
239
|
//#region src/base/button/button.types.d.ts
|
|
216
240
|
type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
|
|
217
241
|
//# sourceMappingURL=button.types.d.ts.map
|
|
218
242
|
//#endregion
|
|
219
243
|
//#region src/base/button/button.d.ts
|
|
220
|
-
declare const Button:
|
|
244
|
+
declare const Button: react67.ForwardRefExoticComponent<{
|
|
221
245
|
theme?: ButtonTheme;
|
|
222
246
|
variant?: ButtonTheme;
|
|
223
247
|
size?: "lg" | "md" | "sm";
|
|
224
|
-
leftIcon?: keyof typeof icons |
|
|
225
|
-
rightIcon?: keyof typeof icons |
|
|
248
|
+
leftIcon?: keyof typeof icons | react67.ReactElement;
|
|
249
|
+
rightIcon?: keyof typeof icons | react67.ReactElement;
|
|
226
250
|
textWeight?: "light" | "medium" | "bold";
|
|
227
251
|
} & {
|
|
228
|
-
children?:
|
|
229
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> &
|
|
252
|
+
children?: react67.ReactNode | undefined;
|
|
253
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & react67.RefAttributes<HTMLButtonElement>>;
|
|
230
254
|
//# sourceMappingURL=button.d.ts.map
|
|
231
255
|
//#endregion
|
|
232
256
|
//#region src/base/checkbox/checkbox.d.ts
|
|
233
|
-
declare const Checkbox:
|
|
257
|
+
declare const Checkbox: react92.MemoExoticComponent<react92.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "formAction"> & {
|
|
234
258
|
size?: "lg" | "md" | "sm";
|
|
235
259
|
labelText?: string;
|
|
236
|
-
} &
|
|
260
|
+
} & react92.RefAttributes<HTMLInputElement>>>;
|
|
237
261
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
238
262
|
//#endregion
|
|
239
263
|
//#region src/base/icon-button/icon-button.d.ts
|
|
240
|
-
declare const IconButton:
|
|
264
|
+
declare const IconButton: react86.ForwardRefExoticComponent<react86.ButtonHTMLAttributes<HTMLButtonElement> & react86.RefAttributes<HTMLButtonElement>>;
|
|
241
265
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
242
266
|
//#endregion
|
|
243
267
|
//#region src/base/icon-button/icon-button.types.d.ts
|
|
@@ -254,7 +278,7 @@ declare const Modal: ({
|
|
|
254
278
|
visible: boolean;
|
|
255
279
|
onClose: () => void;
|
|
256
280
|
zIndex?: number;
|
|
257
|
-
}>) =>
|
|
281
|
+
}>) => react49.JSX.Element;
|
|
258
282
|
//# sourceMappingURL=modal.d.ts.map
|
|
259
283
|
//#endregion
|
|
260
284
|
//#region src/base/spinner/spinner.types.d.ts
|
|
@@ -288,7 +312,7 @@ type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
|
|
|
288
312
|
as?: ElementType<any, keyof JSX.IntrinsicElements>;
|
|
289
313
|
numberOfLines?: number;
|
|
290
314
|
} & Pick<StyledTextContainerProps, 'variant' | 'size' | 'weight'>>;
|
|
291
|
-
declare const Text:
|
|
315
|
+
declare const Text: react52.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react52.RefAttributes<HTMLSpanElement>>;
|
|
292
316
|
//#endregion
|
|
293
317
|
//#region src/base/text-area/text-area.types.d.ts
|
|
294
318
|
type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
@@ -300,9 +324,20 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
300
324
|
//# sourceMappingURL=text-area.types.d.ts.map
|
|
301
325
|
//#endregion
|
|
302
326
|
//#region src/base/text-area/text-area.d.ts
|
|
303
|
-
declare const TextArea:
|
|
327
|
+
declare const TextArea: react95.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react95.RefAttributes<HTMLTextAreaElement>>;
|
|
304
328
|
//# sourceMappingURL=text-area.d.ts.map
|
|
305
329
|
//#endregion
|
|
330
|
+
//#region src/base/text-input/text-input.d.ts
|
|
331
|
+
declare const TextInput: react77.ForwardRefExoticComponent<react77.InputHTMLAttributes<HTMLInputElement> & {
|
|
332
|
+
label?: string;
|
|
333
|
+
labelStyle?: react77.CSSProperties;
|
|
334
|
+
isError?: boolean;
|
|
335
|
+
required?: boolean;
|
|
336
|
+
left?: react77.ReactNode;
|
|
337
|
+
right?: react77.ReactNode;
|
|
338
|
+
} & react77.RefAttributes<HTMLInputElement>>;
|
|
339
|
+
//# sourceMappingURL=text-input.d.ts.map
|
|
340
|
+
//#endregion
|
|
306
341
|
//#region src/base/text-input/text-input.types.d.ts
|
|
307
342
|
type TextInputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
308
343
|
label?: string;
|
|
@@ -312,23 +347,9 @@ type TextInputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
312
347
|
left?: ReactNode;
|
|
313
348
|
right?: ReactNode;
|
|
314
349
|
};
|
|
315
|
-
|
|
316
|
-
focus: () => void;
|
|
317
|
-
blur: () => void;
|
|
318
|
-
}
|
|
350
|
+
type TextInputRef = HTMLInputElement;
|
|
319
351
|
//# sourceMappingURL=text-input.types.d.ts.map
|
|
320
352
|
//#endregion
|
|
321
|
-
//#region src/base/text-input/text-input.d.ts
|
|
322
|
-
declare const TextInput: react91.ForwardRefExoticComponent<react91.InputHTMLAttributes<HTMLInputElement> & {
|
|
323
|
-
label?: string;
|
|
324
|
-
labelStyle?: react91.CSSProperties;
|
|
325
|
-
isError?: boolean;
|
|
326
|
-
required?: boolean;
|
|
327
|
-
left?: react91.ReactNode;
|
|
328
|
-
right?: react91.ReactNode;
|
|
329
|
-
} & react91.RefAttributes<TextInputRef>>;
|
|
330
|
-
//# sourceMappingURL=text-input.d.ts.map
|
|
331
|
-
//#endregion
|
|
332
353
|
//#region src/base/toast/toast.types.d.ts
|
|
333
354
|
type ToastProps = {
|
|
334
355
|
message: string;
|
|
@@ -345,7 +366,7 @@ declare const Toast: ({
|
|
|
345
366
|
message,
|
|
346
367
|
zIndex,
|
|
347
368
|
onClose
|
|
348
|
-
}: ToastProps) =>
|
|
369
|
+
}: ToastProps) => react91.JSX.Element;
|
|
349
370
|
//# sourceMappingURL=toast.d.ts.map
|
|
350
371
|
//#endregion
|
|
351
372
|
//#region src/base/switch/switch.d.ts
|
|
@@ -353,7 +374,7 @@ interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onC
|
|
|
353
374
|
checked: boolean;
|
|
354
375
|
onChange: (checked: boolean) => void;
|
|
355
376
|
}
|
|
356
|
-
declare const Switch:
|
|
377
|
+
declare const Switch: react75.ForwardRefExoticComponent<SwitchProps & react75.RefAttributes<HTMLButtonElement>>;
|
|
357
378
|
//#endregion
|
|
358
379
|
//#region src/base/badge/badge.d.ts
|
|
359
380
|
type Props$6 = {
|
|
@@ -362,7 +383,7 @@ type Props$6 = {
|
|
|
362
383
|
isHighlighted?: boolean;
|
|
363
384
|
children?: string | ReactElement;
|
|
364
385
|
};
|
|
365
|
-
declare const Badge:
|
|
386
|
+
declare const Badge: react63.ForwardRefExoticComponent<Props$6 & react63.RefAttributes<HTMLDivElement>>;
|
|
366
387
|
//#endregion
|
|
367
388
|
//#region src/utils/breakpoints.d.ts
|
|
368
389
|
declare const breakpoints: {
|
|
@@ -401,16 +422,16 @@ type GridCardListItemProps = WithId<{
|
|
|
401
422
|
//#endregion
|
|
402
423
|
//#region src/extensions/error-ui/index.d.ts
|
|
403
424
|
declare const ErrorUI: {
|
|
404
|
-
NetworkError:
|
|
425
|
+
NetworkError: react23.MemoExoticComponent<({
|
|
405
426
|
onClickRetry
|
|
406
427
|
}: {
|
|
407
428
|
onClickRetry: () => void;
|
|
408
|
-
}) =>
|
|
409
|
-
UnknownError:
|
|
429
|
+
}) => react23.JSX.Element>;
|
|
430
|
+
UnknownError: react23.MemoExoticComponent<({
|
|
410
431
|
onClickRetry
|
|
411
432
|
}: {
|
|
412
433
|
onClickRetry: () => void;
|
|
413
|
-
}) =>
|
|
434
|
+
}) => react23.JSX.Element>;
|
|
414
435
|
};
|
|
415
436
|
//# sourceMappingURL=index.d.ts.map
|
|
416
437
|
//#endregion
|
|
@@ -420,39 +441,39 @@ interface Props$5 {
|
|
|
420
441
|
type?: 'round' | 'square';
|
|
421
442
|
logoTheme: LogoTheme;
|
|
422
443
|
}
|
|
423
|
-
declare const AppLogo:
|
|
444
|
+
declare const AppLogo: react65.MemoExoticComponent<({
|
|
424
445
|
type,
|
|
425
446
|
logoTheme,
|
|
426
447
|
...otherProps
|
|
427
|
-
}: Props$5) =>
|
|
448
|
+
}: Props$5) => react65.JSX.Element>;
|
|
428
449
|
//#endregion
|
|
429
450
|
//#region src/extensions/app-store-button/app-store-button.d.ts
|
|
430
451
|
type Props$4 = {
|
|
431
452
|
store: 'app-store' | 'google-play';
|
|
432
453
|
};
|
|
433
|
-
declare const AppStoreButton:
|
|
454
|
+
declare const AppStoreButton: react50.MemoExoticComponent<({
|
|
434
455
|
store
|
|
435
|
-
}: Props$4) =>
|
|
456
|
+
}: Props$4) => react50.JSX.Element>;
|
|
436
457
|
//#endregion
|
|
437
458
|
//#region src/extensions/brand-icon/brand-icon.d.ts
|
|
438
459
|
interface Props$3 extends SVGProps<SVGSVGElement> {
|
|
439
460
|
brand: 'apple' | 'google' | 'android';
|
|
440
461
|
ref?: Ref<SVGSVGElement>;
|
|
441
462
|
}
|
|
442
|
-
declare const BrandIcon:
|
|
463
|
+
declare const BrandIcon: react47.MemoExoticComponent<({
|
|
443
464
|
brand,
|
|
444
465
|
...svgProps
|
|
445
|
-
}: Props$3) =>
|
|
466
|
+
}: Props$3) => react47.JSX.Element>;
|
|
446
467
|
//#endregion
|
|
447
468
|
//#region src/extensions/sns-icon/sns-icon.d.ts
|
|
448
469
|
interface Props$2 extends React.SVGProps<SVGSVGElement> {
|
|
449
470
|
social: 'instagram' | 'x' | 'facebook' | 'youtube';
|
|
450
471
|
ref?: Ref<SVGSVGElement>;
|
|
451
472
|
}
|
|
452
|
-
declare const SNSIcon:
|
|
473
|
+
declare const SNSIcon: react45.MemoExoticComponent<({
|
|
453
474
|
social,
|
|
454
475
|
...svgProps
|
|
455
|
-
}: Props$2) =>
|
|
476
|
+
}: Props$2) => react45.JSX.Element>;
|
|
456
477
|
//#endregion
|
|
457
478
|
//#region src/extensions/dropdown/dropdown.types.d.ts
|
|
458
479
|
type DropdownMenuItemRef = {
|
|
@@ -492,30 +513,30 @@ declare const Dropdown: {
|
|
|
492
513
|
as?: React.ElementType;
|
|
493
514
|
} & {
|
|
494
515
|
$isActive?: boolean;
|
|
495
|
-
},
|
|
516
|
+
}, react27.DetailedHTMLProps<react27.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
496
517
|
MenuItem: <DataItemT>(props: {
|
|
497
518
|
isCurrent: boolean;
|
|
498
|
-
icon?:
|
|
499
|
-
title:
|
|
519
|
+
icon?: react27.ReactNode;
|
|
520
|
+
title: react27.ReactNode;
|
|
500
521
|
dropdownData: DataItemT[];
|
|
501
|
-
renderDropdownItem: (item: DataItemT) =>
|
|
522
|
+
renderDropdownItem: (item: DataItemT) => react27.ReactNode;
|
|
502
523
|
backdrop?: boolean;
|
|
503
524
|
absolute?: boolean;
|
|
504
525
|
isLoading?: boolean;
|
|
505
526
|
onClose?: () => void;
|
|
506
|
-
onMouseEnter?: (e:
|
|
527
|
+
onMouseEnter?: (e: react27.MouseEvent<HTMLDivElement>, params: {
|
|
507
528
|
openDropdown: () => void;
|
|
508
529
|
}) => void;
|
|
509
|
-
onMouseLeave?: (e:
|
|
530
|
+
onMouseLeave?: (e: react27.MouseEvent<HTMLDivElement>, params: {
|
|
510
531
|
closeDropdown: () => void;
|
|
511
532
|
}) => void;
|
|
512
|
-
onClick?: (e:
|
|
533
|
+
onClick?: (e: react27.MouseEvent<HTMLDivElement>, params: {
|
|
513
534
|
openDropdown: () => void;
|
|
514
535
|
}) => void;
|
|
515
536
|
} & {
|
|
516
|
-
ref?:
|
|
537
|
+
ref?: react27.Ref<DropdownMenuItemRef>;
|
|
517
538
|
}) => JSX.Element;
|
|
518
|
-
Core:
|
|
539
|
+
Core: react27.MemoExoticComponent<react27.ForwardRefExoticComponent<DropdownCoreProps & react27.RefAttributes<DropdownMenuItemRef>>>;
|
|
519
540
|
Trigger: ({
|
|
520
541
|
renderTriggerNode,
|
|
521
542
|
triggerRef,
|
|
@@ -523,27 +544,27 @@ declare const Dropdown: {
|
|
|
523
544
|
backdrop,
|
|
524
545
|
zIndex,
|
|
525
546
|
edge
|
|
526
|
-
}:
|
|
547
|
+
}: react27.PropsWithChildren<{
|
|
527
548
|
renderTriggerNode: ({
|
|
528
549
|
openDropdown
|
|
529
550
|
}: {
|
|
530
551
|
openDropdown: () => void;
|
|
531
|
-
}) =>
|
|
552
|
+
}) => react27.ReactNode;
|
|
532
553
|
triggerRef: DropdownCoreProps["triggerRef"];
|
|
533
554
|
backdrop: DropdownCoreProps["backdrop"];
|
|
534
555
|
zIndex: DropdownCoreProps["zIndex"];
|
|
535
556
|
edge: DropdownCoreProps["edge"];
|
|
536
|
-
}>) =>
|
|
557
|
+
}>) => react27.JSX.Element;
|
|
537
558
|
};
|
|
538
559
|
//#endregion
|
|
539
560
|
//#region src/extensions/menu-item/menu-item.d.ts
|
|
540
|
-
declare const MenuItem:
|
|
561
|
+
declare const MenuItem: react60.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
|
|
541
562
|
isLoading?: boolean;
|
|
542
563
|
isCurrent?: boolean;
|
|
543
564
|
icon?: React.ReactNode;
|
|
544
565
|
} & {
|
|
545
|
-
children?:
|
|
546
|
-
} &
|
|
566
|
+
children?: react60.ReactNode | undefined;
|
|
567
|
+
} & react60.RefAttributes<HTMLDivElement>>;
|
|
547
568
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
548
569
|
//#endregion
|
|
549
570
|
//#region src/extensions/app-header/app-header.types.d.ts
|
|
@@ -571,12 +592,12 @@ declare function useIsMobileMenuOpen(): {
|
|
|
571
592
|
declare const AppHeader: {
|
|
572
593
|
useHeaderScrollAnimation: typeof useHeaderScrollAnimation;
|
|
573
594
|
useIsMobileMenuOpen: typeof useIsMobileMenuOpen;
|
|
574
|
-
AnimatedHeader:
|
|
595
|
+
AnimatedHeader: react42.MemoExoticComponent<({
|
|
575
596
|
animation,
|
|
576
597
|
children,
|
|
577
598
|
className,
|
|
578
599
|
zIndex
|
|
579
|
-
}: AnimatedHeaderProps) =>
|
|
600
|
+
}: AnimatedHeaderProps) => react42.JSX.Element>;
|
|
580
601
|
};
|
|
581
602
|
//# sourceMappingURL=index.d.ts.map
|
|
582
603
|
//#endregion
|
|
@@ -586,9 +607,9 @@ type Props$1 = {
|
|
|
586
607
|
setTheme: ReturnType<typeof useColorScheme>['setTheme'];
|
|
587
608
|
}) => void;
|
|
588
609
|
};
|
|
589
|
-
declare const ColorSchemeToggle:
|
|
610
|
+
declare const ColorSchemeToggle: react89.MemoExoticComponent<({
|
|
590
611
|
onToggle
|
|
591
|
-
}: Props$1) =>
|
|
612
|
+
}: Props$1) => react89.JSX.Element>;
|
|
592
613
|
//#endregion
|
|
593
614
|
//#region src/extensions/full-screen-modal/full-screen-modal.d.ts
|
|
594
615
|
type Props = PropsWithChildren<{
|
|
@@ -596,12 +617,12 @@ type Props = PropsWithChildren<{
|
|
|
596
617
|
onClose: () => void;
|
|
597
618
|
zIndex?: number;
|
|
598
619
|
}>;
|
|
599
|
-
declare const FullScreenModal:
|
|
620
|
+
declare const FullScreenModal: react83.MemoExoticComponent<({
|
|
600
621
|
visible,
|
|
601
622
|
onClose,
|
|
602
623
|
children,
|
|
603
624
|
zIndex
|
|
604
|
-
}: Props) =>
|
|
625
|
+
}: Props) => react83.JSX.Element>;
|
|
605
626
|
//#endregion
|
|
606
627
|
//#region src/extensions/accordion/accordion.d.ts
|
|
607
628
|
type AccordionProps<ItemT> = {
|
|
@@ -621,12 +642,12 @@ declare const Accordion: <ItemT extends {
|
|
|
621
642
|
renderTrigger,
|
|
622
643
|
renderExpanded,
|
|
623
644
|
customized
|
|
624
|
-
}: AccordionProps<ItemT>) =>
|
|
645
|
+
}: AccordionProps<ItemT>) => react85.JSX.Element;
|
|
625
646
|
//# sourceMappingURL=accordion.d.ts.map
|
|
626
647
|
//#endregion
|
|
627
648
|
//#region src/extensions/index.d.ts
|
|
628
649
|
declare const GridCardList: {
|
|
629
|
-
List:
|
|
650
|
+
List: react0.MemoExoticComponent<({
|
|
630
651
|
items,
|
|
631
652
|
renderItem,
|
|
632
653
|
onLoadMore,
|
|
@@ -637,15 +658,15 @@ declare const GridCardList: {
|
|
|
637
658
|
navigationComponent
|
|
638
659
|
}: {
|
|
639
660
|
items: GridCardListItemProps[];
|
|
640
|
-
renderItem: (item: GridCardListItemProps) =>
|
|
661
|
+
renderItem: (item: GridCardListItemProps) => react0.ReactNode;
|
|
641
662
|
onLoadMore: () => void;
|
|
642
663
|
headerText?: string;
|
|
643
664
|
hasNextPage?: boolean;
|
|
644
665
|
isEmpty?: boolean;
|
|
645
|
-
emptyComponent?:
|
|
646
|
-
navigationComponent?:
|
|
647
|
-
}) =>
|
|
648
|
-
MasonryList:
|
|
666
|
+
emptyComponent?: react0.ReactNode;
|
|
667
|
+
navigationComponent?: react0.ReactNode;
|
|
668
|
+
}) => react0.JSX.Element>;
|
|
669
|
+
MasonryList: react0.MemoExoticComponent<({
|
|
649
670
|
items,
|
|
650
671
|
renderItem,
|
|
651
672
|
onLoadMore,
|
|
@@ -656,15 +677,15 @@ declare const GridCardList: {
|
|
|
656
677
|
navigationComponent
|
|
657
678
|
}: {
|
|
658
679
|
items: GridCardListItemProps[];
|
|
659
|
-
renderItem: (item: GridCardListItemProps) =>
|
|
680
|
+
renderItem: (item: GridCardListItemProps) => react0.ReactNode;
|
|
660
681
|
onLoadMore: () => void;
|
|
661
682
|
headerText?: string;
|
|
662
683
|
hasNextPage?: boolean;
|
|
663
684
|
isEmpty?: boolean;
|
|
664
|
-
emptyComponent?:
|
|
665
|
-
navigationComponent?:
|
|
666
|
-
}) =>
|
|
667
|
-
Item:
|
|
685
|
+
emptyComponent?: react0.ReactNode;
|
|
686
|
+
navigationComponent?: react0.ReactNode;
|
|
687
|
+
}) => react0.JSX.Element>;
|
|
688
|
+
Item: react0.MemoExoticComponent<({
|
|
668
689
|
thumbnailUrl,
|
|
669
690
|
titleText,
|
|
670
691
|
subText,
|
|
@@ -673,8 +694,8 @@ declare const GridCardList: {
|
|
|
673
694
|
renderThumbnail,
|
|
674
695
|
isSubscribed,
|
|
675
696
|
onClick
|
|
676
|
-
}: GridCardListItemProps) =>
|
|
677
|
-
MasonryItem:
|
|
697
|
+
}: GridCardListItemProps) => react0.JSX.Element>;
|
|
698
|
+
MasonryItem: react0.MemoExoticComponent<({
|
|
678
699
|
isSubscribed,
|
|
679
700
|
thumbnailUrl,
|
|
680
701
|
titleText,
|
|
@@ -682,25 +703,25 @@ declare const GridCardList: {
|
|
|
682
703
|
bottomText,
|
|
683
704
|
rightBottomSlot,
|
|
684
705
|
renderThumbnail
|
|
685
|
-
}: GridCardListItemProps) =>
|
|
686
|
-
LoadMore:
|
|
706
|
+
}: GridCardListItemProps) => react0.JSX.Element>;
|
|
707
|
+
LoadMore: react0.MemoExoticComponent<({
|
|
687
708
|
onLoadMore
|
|
688
709
|
}: {
|
|
689
710
|
onLoadMore: () => void;
|
|
690
|
-
}) =>
|
|
691
|
-
Empty:
|
|
711
|
+
}) => react0.JSX.Element>;
|
|
712
|
+
Empty: react0.MemoExoticComponent<({
|
|
692
713
|
text
|
|
693
714
|
}: {
|
|
694
715
|
text: string;
|
|
695
|
-
}) =>
|
|
716
|
+
}) => react0.JSX.Element>;
|
|
696
717
|
ImageEmpty: _emotion_styled0.StyledComponent<{
|
|
697
718
|
theme?: _emotion_react0.Theme;
|
|
698
719
|
as?: React.ElementType;
|
|
699
|
-
},
|
|
720
|
+
}, react0.DetailedHTMLProps<react0.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
700
721
|
Image: _emotion_styled0.StyledComponent<{
|
|
701
722
|
theme?: _emotion_react0.Theme;
|
|
702
723
|
as?: React.ElementType;
|
|
703
|
-
},
|
|
724
|
+
}, react0.DetailedHTMLProps<react0.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
704
725
|
};
|
|
705
726
|
//#endregion
|
|
706
727
|
//#region src/constants.d.ts
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/GlobalStyle.tsx","../src/base/button/button.types.ts","../src/base/button/button.tsx","../src/base/checkbox/checkbox.tsx","../src/base/icon-button/icon-button.tsx","../src/base/icon-button/icon-button.types.ts","../src/base/modal/modal.tsx","../src/base/spinner/spinner.types.ts","../src/base/spinner/spinner.tsx","../src/base/text/text.styled.ts","../src/base/text/text.tsx","../src/base/text-area/text-area.types.ts","../src/base/text-area/text-area.tsx","../src/base/text-input/text-input.
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/GlobalStyle.tsx","../src/base/button/button.types.ts","../src/base/button/button.tsx","../src/base/checkbox/checkbox.tsx","../src/base/icon-button/icon-button.tsx","../src/base/icon-button/icon-button.types.ts","../src/base/modal/modal.tsx","../src/base/spinner/spinner.types.ts","../src/base/spinner/spinner.tsx","../src/base/text/text.styled.ts","../src/base/text/text.tsx","../src/base/text-area/text-area.types.ts","../src/base/text-area/text-area.tsx","../src/base/text-input/text-input.tsx","../src/base/text-input/text-input.types.ts","../src/base/toast/toast.types.ts","../src/base/toast/toast.tsx","../src/base/switch/switch.tsx","../src/base/badge/badge.tsx","../src/utils/breakpoints.ts","../src/utils/media.ts","../src/utils/with-id.ts","../src/extensions/grid-card-item/grid-card-item.tsx","../src/extensions/error-ui/index.ts","../src/extensions/app-logo/app-logo.tsx","../src/extensions/app-store-button/app-store-button.tsx","../src/extensions/brand-icon/brand-icon.tsx","../src/extensions/sns-icon/sns-icon.tsx","../src/extensions/dropdown/dropdown.types.ts","../src/extensions/dropdown/dropdown.tsx","../src/extensions/dropdown/index.ts","../src/extensions/menu-item/menu-item.tsx","../src/extensions/app-header/app-header.types.ts","../src/extensions/app-header/app-header.tsx","../src/extensions/app-header/app-header.hooks.ts","../src/extensions/app-header/index.ts","../src/extensions/color-scheme-toggle/color-scheme-toggle.tsx","../src/extensions/full-screen-modal/full-screen-modal.tsx","../src/extensions/accordion/accordion.tsx","../src/extensions/index.ts","../src/constants.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIY,iBAAA,UAA2B;KAC3B,qBAAA,UAA+B;KAC/B,sBAAA,UAAgC;;;;cCA/B,QAAQ;cACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MDHD,SAAA,UAAiB,EAAA,gDAA2B;MAC5C,SAAA,UAAqB,EAAA,gDAA+B;IACpD,CAAA;;;;MCAC,SAA6C,UAArC,EAAA,6CAAqC;IAC7C,CAAA;IACA,SAAA,KAAA,EAA8C;MAC9C,SAAmC,QAAA,EAAA,2CAAA;;;;ICKpC,SAAA,OAAW,EAAA;MAEA,SAAA,QAAA,EAAA,6CAAA;MAAA,SAAA,UAAA,EAAA,+CAAA;MAAQ,SAAA,UAAA,EAAA,+CAAA;IAAuB,CAAA;IAAsB,SAAA,KAAA,EAAA;MAI/D,SAGZ,QAAA,EAH4B,2CAG5B;MACY,SAGZ,UAH2B,EAAA,6CAG3B;MAEY,SAOZ,UAPyC,EAAA,6CAAK;IAalC,CAAA;IASA,SAAA,QAoBZ,EAAA;MAEI,SAAA,QAAiB,EAAA,8CAAA;MAAA,SAAA,UAAA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