@coldsurf/ocean-road 1.13.2 → 1.13.4
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 +73 -73
- package/dist/native.d.cts +16 -16
- package/dist/native.d.cts.map +1 -1
- package/dist/native.d.ts +24 -24
- package/dist/native.d.ts.map +1 -1
- package/dist/next.d.cts +6 -6
- package/dist/next.d.ts +21 -21
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import * as react0$1 from "react";
|
|
2
2
|
import * as react0 from "react";
|
|
3
|
-
import * as react44 from "react";
|
|
4
|
-
import * as react68 from "react";
|
|
5
|
-
import * as react94 from "react";
|
|
6
|
-
import * as react84 from "react";
|
|
7
|
-
import * as react61 from "react";
|
|
8
|
-
import * as react88 from "react";
|
|
9
3
|
import * as react63 from "react";
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
4
|
+
import * as react58 from "react";
|
|
5
|
+
import * as react92 from "react";
|
|
6
|
+
import * as react88 from "react";
|
|
7
|
+
import * as react96 from "react";
|
|
8
|
+
import * as react46 from "react";
|
|
9
|
+
import * as react56 from "react";
|
|
10
|
+
import * as react75 from "react";
|
|
11
|
+
import * as react91 from "react";
|
|
12
|
+
import * as react68 from "react";
|
|
13
|
+
import * as react52 from "react";
|
|
14
|
+
import * as react40 from "react";
|
|
15
|
+
import * as react48 from "react";
|
|
16
|
+
import * as react50 from "react";
|
|
17
|
+
import * as react44 from "react";
|
|
18
|
+
import * as react54 from "react";
|
|
14
19
|
import * as react23 from "react";
|
|
15
|
-
import * as react82 from "react";
|
|
16
|
-
import * as react90 from "react";
|
|
17
|
-
import * as react49 from "react";
|
|
18
20
|
import * as react72 from "react";
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as react80 from "react";
|
|
24
|
-
import * as react71 from "react";
|
|
21
|
+
import * as react38 from "react";
|
|
22
|
+
import * as react70 from "react";
|
|
23
|
+
import * as react61 from "react";
|
|
24
|
+
import * as react95 from "react";
|
|
25
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";
|
|
@@ -157,27 +157,27 @@ type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'i
|
|
|
157
157
|
//# sourceMappingURL=button.types.d.ts.map
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region src/base/button/button.d.ts
|
|
160
|
-
declare const Button:
|
|
160
|
+
declare const Button: react63.ForwardRefExoticComponent<{
|
|
161
161
|
theme?: ButtonTheme;
|
|
162
162
|
variant?: ButtonTheme;
|
|
163
163
|
size?: "lg" | "md" | "sm";
|
|
164
|
-
leftIcon?: keyof typeof icons |
|
|
165
|
-
rightIcon?: keyof typeof icons |
|
|
164
|
+
leftIcon?: keyof typeof icons | react63.ReactElement;
|
|
165
|
+
rightIcon?: keyof typeof icons | react63.ReactElement;
|
|
166
166
|
textWeight?: "light" | "medium" | "bold";
|
|
167
167
|
} & {
|
|
168
|
-
children?:
|
|
169
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> &
|
|
168
|
+
children?: react63.ReactNode | undefined;
|
|
169
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & react63.RefAttributes<HTMLButtonElement>>;
|
|
170
170
|
//# sourceMappingURL=button.d.ts.map
|
|
171
171
|
//#endregion
|
|
172
172
|
//#region src/base/checkbox/checkbox.d.ts
|
|
173
|
-
declare const Checkbox:
|
|
173
|
+
declare const Checkbox: react58.MemoExoticComponent<react58.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "formAction"> & {
|
|
174
174
|
size?: "lg" | "md" | "sm";
|
|
175
175
|
labelText?: string;
|
|
176
|
-
} &
|
|
176
|
+
} & react58.RefAttributes<HTMLInputElement>>>;
|
|
177
177
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region src/base/icon-button/icon-button.d.ts
|
|
180
|
-
declare const IconButton:
|
|
180
|
+
declare const IconButton: react92.ForwardRefExoticComponent<react92.ButtonHTMLAttributes<HTMLButtonElement> & react92.RefAttributes<HTMLButtonElement>>;
|
|
181
181
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region src/base/icon-button/icon-button.types.d.ts
|
|
@@ -194,7 +194,7 @@ declare const Modal: ({
|
|
|
194
194
|
visible: boolean;
|
|
195
195
|
onClose: () => void;
|
|
196
196
|
zIndex?: number;
|
|
197
|
-
}>) =>
|
|
197
|
+
}>) => react88.JSX.Element;
|
|
198
198
|
//# sourceMappingURL=modal.d.ts.map
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region src/base/spinner/spinner.types.d.ts
|
|
@@ -209,7 +209,7 @@ type Props$7 = {
|
|
|
209
209
|
declare const Spinner: ({
|
|
210
210
|
variant,
|
|
211
211
|
className
|
|
212
|
-
}: Props$7) =>
|
|
212
|
+
}: Props$7) => react96.JSX.Element;
|
|
213
213
|
//#endregion
|
|
214
214
|
//#region src/base/text/text.d.ts
|
|
215
215
|
type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
|
|
@@ -217,7 +217,7 @@ type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
|
|
|
217
217
|
as?: ElementType<any, keyof JSX.IntrinsicElements>;
|
|
218
218
|
numberOfLines?: number;
|
|
219
219
|
}>;
|
|
220
|
-
declare const Text:
|
|
220
|
+
declare const Text: react46.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react46.RefAttributes<HTMLSpanElement>>;
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/base/text-area/text-area.types.d.ts
|
|
223
223
|
type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
@@ -229,7 +229,7 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
229
229
|
//# sourceMappingURL=text-area.types.d.ts.map
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/base/text-area/text-area.d.ts
|
|
232
|
-
declare const TextArea:
|
|
232
|
+
declare const TextArea: react56.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react56.RefAttributes<HTMLTextAreaElement>>;
|
|
233
233
|
//# sourceMappingURL=text-area.d.ts.map
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region src/base/text-input/text-input.types.d.ts
|
|
@@ -248,14 +248,14 @@ interface TextInputRef {
|
|
|
248
248
|
//# sourceMappingURL=text-input.types.d.ts.map
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/base/text-input/text-input.d.ts
|
|
251
|
-
declare const TextInput:
|
|
251
|
+
declare const TextInput: react75.ForwardRefExoticComponent<react75.InputHTMLAttributes<HTMLInputElement> & {
|
|
252
252
|
label?: string;
|
|
253
|
-
labelStyle?:
|
|
253
|
+
labelStyle?: react75.CSSProperties;
|
|
254
254
|
isError?: boolean;
|
|
255
255
|
required?: boolean;
|
|
256
|
-
left?:
|
|
257
|
-
right?:
|
|
258
|
-
} &
|
|
256
|
+
left?: react75.ReactNode;
|
|
257
|
+
right?: react75.ReactNode;
|
|
258
|
+
} & react75.RefAttributes<TextInputRef>>;
|
|
259
259
|
//# sourceMappingURL=text-input.d.ts.map
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/base/toast/toast.types.d.ts
|
|
@@ -274,7 +274,7 @@ declare const Toast: ({
|
|
|
274
274
|
message,
|
|
275
275
|
zIndex,
|
|
276
276
|
onClose
|
|
277
|
-
}: ToastProps) =>
|
|
277
|
+
}: ToastProps) => react91.JSX.Element;
|
|
278
278
|
//# sourceMappingURL=toast.d.ts.map
|
|
279
279
|
//#endregion
|
|
280
280
|
//#region src/base/switch/switch.d.ts
|
|
@@ -282,7 +282,7 @@ interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onC
|
|
|
282
282
|
checked: boolean;
|
|
283
283
|
onChange: (checked: boolean) => void;
|
|
284
284
|
}
|
|
285
|
-
declare const Switch:
|
|
285
|
+
declare const Switch: react68.ForwardRefExoticComponent<SwitchProps & react68.RefAttributes<HTMLButtonElement>>;
|
|
286
286
|
//#endregion
|
|
287
287
|
//#region src/base/badge/badge.d.ts
|
|
288
288
|
type Props$6 = {
|
|
@@ -291,7 +291,7 @@ type Props$6 = {
|
|
|
291
291
|
isHighlighted?: boolean;
|
|
292
292
|
children?: string | ReactElement;
|
|
293
293
|
};
|
|
294
|
-
declare const Badge:
|
|
294
|
+
declare const Badge: react52.ForwardRefExoticComponent<Props$6 & react52.RefAttributes<HTMLDivElement>>;
|
|
295
295
|
//#endregion
|
|
296
296
|
//#region src/utils/breakpoints.d.ts
|
|
297
297
|
declare const breakpoints: {
|
|
@@ -330,16 +330,16 @@ type GridCardListItemProps = WithId<{
|
|
|
330
330
|
//#endregion
|
|
331
331
|
//#region src/extensions/error-ui/index.d.ts
|
|
332
332
|
declare const ErrorUI: {
|
|
333
|
-
NetworkError:
|
|
333
|
+
NetworkError: react40.MemoExoticComponent<({
|
|
334
334
|
onClickRetry
|
|
335
335
|
}: {
|
|
336
336
|
onClickRetry: () => void;
|
|
337
|
-
}) =>
|
|
338
|
-
UnknownError:
|
|
337
|
+
}) => react40.JSX.Element>;
|
|
338
|
+
UnknownError: react40.MemoExoticComponent<({
|
|
339
339
|
onClickRetry
|
|
340
340
|
}: {
|
|
341
341
|
onClickRetry: () => void;
|
|
342
|
-
}) =>
|
|
342
|
+
}) => react40.JSX.Element>;
|
|
343
343
|
};
|
|
344
344
|
//# sourceMappingURL=index.d.ts.map
|
|
345
345
|
//#endregion
|
|
@@ -349,39 +349,39 @@ interface Props$5 {
|
|
|
349
349
|
type?: 'round' | 'square';
|
|
350
350
|
logoTheme: LogoTheme;
|
|
351
351
|
}
|
|
352
|
-
declare const AppLogo:
|
|
352
|
+
declare const AppLogo: react48.MemoExoticComponent<({
|
|
353
353
|
type,
|
|
354
354
|
logoTheme,
|
|
355
355
|
...otherProps
|
|
356
|
-
}: Props$5) =>
|
|
356
|
+
}: Props$5) => react48.JSX.Element>;
|
|
357
357
|
//#endregion
|
|
358
358
|
//#region src/extensions/app-store-button/app-store-button.d.ts
|
|
359
359
|
type Props$4 = {
|
|
360
360
|
store: 'app-store' | 'google-play';
|
|
361
361
|
};
|
|
362
|
-
declare const AppStoreButton:
|
|
362
|
+
declare const AppStoreButton: react50.MemoExoticComponent<({
|
|
363
363
|
store
|
|
364
|
-
}: Props$4) =>
|
|
364
|
+
}: Props$4) => react50.JSX.Element>;
|
|
365
365
|
//#endregion
|
|
366
366
|
//#region src/extensions/brand-icon/brand-icon.d.ts
|
|
367
367
|
interface Props$3 extends SVGProps<SVGSVGElement> {
|
|
368
368
|
brand: 'apple' | 'google' | 'android';
|
|
369
369
|
ref?: Ref<SVGSVGElement>;
|
|
370
370
|
}
|
|
371
|
-
declare const BrandIcon:
|
|
371
|
+
declare const BrandIcon: react44.MemoExoticComponent<({
|
|
372
372
|
brand,
|
|
373
373
|
...svgProps
|
|
374
|
-
}: Props$3) =>
|
|
374
|
+
}: Props$3) => react44.JSX.Element>;
|
|
375
375
|
//#endregion
|
|
376
376
|
//#region src/extensions/sns-icon/sns-icon.d.ts
|
|
377
377
|
interface Props$2 extends React.SVGProps<SVGSVGElement> {
|
|
378
378
|
social: 'instagram' | 'x' | 'facebook' | 'youtube';
|
|
379
379
|
ref?: Ref<SVGSVGElement>;
|
|
380
380
|
}
|
|
381
|
-
declare const SNSIcon:
|
|
381
|
+
declare const SNSIcon: react54.MemoExoticComponent<({
|
|
382
382
|
social,
|
|
383
383
|
...svgProps
|
|
384
|
-
}: Props$2) =>
|
|
384
|
+
}: Props$2) => react54.JSX.Element>;
|
|
385
385
|
//#endregion
|
|
386
386
|
//#region src/extensions/dropdown/dropdown.types.d.ts
|
|
387
387
|
type DropdownMenuItemRef = {
|
|
@@ -421,30 +421,30 @@ declare const Dropdown: {
|
|
|
421
421
|
as?: React.ElementType;
|
|
422
422
|
} & {
|
|
423
423
|
$isActive?: boolean;
|
|
424
|
-
},
|
|
424
|
+
}, react23.DetailedHTMLProps<react23.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
425
425
|
MenuItem: <DataItemT>(props: {
|
|
426
426
|
isCurrent: boolean;
|
|
427
|
-
icon?:
|
|
428
|
-
title:
|
|
427
|
+
icon?: react23.ReactNode;
|
|
428
|
+
title: react23.ReactNode;
|
|
429
429
|
dropdownData: DataItemT[];
|
|
430
|
-
renderDropdownItem: (item: DataItemT) =>
|
|
430
|
+
renderDropdownItem: (item: DataItemT) => react23.ReactNode;
|
|
431
431
|
backdrop?: boolean;
|
|
432
432
|
absolute?: boolean;
|
|
433
433
|
isLoading?: boolean;
|
|
434
434
|
onClose?: () => void;
|
|
435
|
-
onMouseEnter?: (e:
|
|
435
|
+
onMouseEnter?: (e: react23.MouseEvent<HTMLDivElement>, params: {
|
|
436
436
|
openDropdown: () => void;
|
|
437
437
|
}) => void;
|
|
438
|
-
onMouseLeave?: (e:
|
|
438
|
+
onMouseLeave?: (e: react23.MouseEvent<HTMLDivElement>, params: {
|
|
439
439
|
closeDropdown: () => void;
|
|
440
440
|
}) => void;
|
|
441
|
-
onClick?: (e:
|
|
441
|
+
onClick?: (e: react23.MouseEvent<HTMLDivElement>, params: {
|
|
442
442
|
openDropdown: () => void;
|
|
443
443
|
}) => void;
|
|
444
444
|
} & {
|
|
445
|
-
ref?:
|
|
445
|
+
ref?: react23.Ref<DropdownMenuItemRef>;
|
|
446
446
|
}) => JSX.Element;
|
|
447
|
-
Core:
|
|
447
|
+
Core: react23.MemoExoticComponent<react23.ForwardRefExoticComponent<DropdownCoreProps & react23.RefAttributes<DropdownMenuItemRef>>>;
|
|
448
448
|
Trigger: ({
|
|
449
449
|
renderTriggerNode,
|
|
450
450
|
triggerRef,
|
|
@@ -452,27 +452,27 @@ declare const Dropdown: {
|
|
|
452
452
|
backdrop,
|
|
453
453
|
zIndex,
|
|
454
454
|
edge
|
|
455
|
-
}:
|
|
455
|
+
}: react23.PropsWithChildren<{
|
|
456
456
|
renderTriggerNode: ({
|
|
457
457
|
openDropdown
|
|
458
458
|
}: {
|
|
459
459
|
openDropdown: () => void;
|
|
460
|
-
}) =>
|
|
460
|
+
}) => react23.ReactNode;
|
|
461
461
|
triggerRef: DropdownCoreProps["triggerRef"];
|
|
462
462
|
backdrop: DropdownCoreProps["backdrop"];
|
|
463
463
|
zIndex: DropdownCoreProps["zIndex"];
|
|
464
464
|
edge: DropdownCoreProps["edge"];
|
|
465
|
-
}>) =>
|
|
465
|
+
}>) => react23.JSX.Element;
|
|
466
466
|
};
|
|
467
467
|
//#endregion
|
|
468
468
|
//#region src/extensions/menu-item/menu-item.d.ts
|
|
469
|
-
declare const MenuItem:
|
|
469
|
+
declare const MenuItem: react72.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
|
|
470
470
|
isLoading?: boolean;
|
|
471
471
|
isCurrent?: boolean;
|
|
472
472
|
icon?: React.ReactNode;
|
|
473
473
|
} & {
|
|
474
|
-
children?:
|
|
475
|
-
} &
|
|
474
|
+
children?: react72.ReactNode | undefined;
|
|
475
|
+
} & react72.RefAttributes<HTMLDivElement>>;
|
|
476
476
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
477
477
|
//#endregion
|
|
478
478
|
//#region src/extensions/app-header/app-header.types.d.ts
|
|
@@ -500,12 +500,12 @@ declare function useIsMobileMenuOpen(): {
|
|
|
500
500
|
declare const AppHeader: {
|
|
501
501
|
useHeaderScrollAnimation: typeof useHeaderScrollAnimation;
|
|
502
502
|
useIsMobileMenuOpen: typeof useIsMobileMenuOpen;
|
|
503
|
-
AnimatedHeader:
|
|
503
|
+
AnimatedHeader: react38.MemoExoticComponent<({
|
|
504
504
|
animation,
|
|
505
505
|
children,
|
|
506
506
|
className,
|
|
507
507
|
zIndex
|
|
508
|
-
}: AnimatedHeaderProps) =>
|
|
508
|
+
}: AnimatedHeaderProps) => react38.JSX.Element>;
|
|
509
509
|
};
|
|
510
510
|
//# sourceMappingURL=index.d.ts.map
|
|
511
511
|
//#endregion
|
|
@@ -515,9 +515,9 @@ type Props$1 = {
|
|
|
515
515
|
setTheme: ReturnType<typeof useColorScheme>['setTheme'];
|
|
516
516
|
}) => void;
|
|
517
517
|
};
|
|
518
|
-
declare const ColorSchemeToggle:
|
|
518
|
+
declare const ColorSchemeToggle: react70.MemoExoticComponent<({
|
|
519
519
|
onToggle
|
|
520
|
-
}: Props$1) =>
|
|
520
|
+
}: Props$1) => react70.JSX.Element>;
|
|
521
521
|
//#endregion
|
|
522
522
|
//#region src/extensions/full-screen-modal/full-screen-modal.d.ts
|
|
523
523
|
type Props = PropsWithChildren<{
|
|
@@ -525,12 +525,12 @@ type Props = PropsWithChildren<{
|
|
|
525
525
|
onClose: () => void;
|
|
526
526
|
zIndex?: number;
|
|
527
527
|
}>;
|
|
528
|
-
declare const FullScreenModal:
|
|
528
|
+
declare const FullScreenModal: react61.MemoExoticComponent<({
|
|
529
529
|
visible,
|
|
530
530
|
onClose,
|
|
531
531
|
children,
|
|
532
532
|
zIndex
|
|
533
|
-
}: Props) =>
|
|
533
|
+
}: Props) => react61.JSX.Element>;
|
|
534
534
|
//#endregion
|
|
535
535
|
//#region src/extensions/accordion/accordion.d.ts
|
|
536
536
|
type AccordionProps<ItemT> = {
|
|
@@ -550,7 +550,7 @@ declare const Accordion: <ItemT extends {
|
|
|
550
550
|
renderTrigger,
|
|
551
551
|
renderExpanded,
|
|
552
552
|
customized
|
|
553
|
-
}: AccordionProps<ItemT>) =>
|
|
553
|
+
}: AccordionProps<ItemT>) => react95.JSX.Element;
|
|
554
554
|
//# sourceMappingURL=accordion.d.ts.map
|
|
555
555
|
//#endregion
|
|
556
556
|
//#region src/extensions/index.d.ts
|
package/dist/native.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as lucide_react0 from "lucide-react";
|
|
2
2
|
import { icons } from "lucide-react";
|
|
3
3
|
import * as react16 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react8 from "react";
|
|
5
5
|
import * as react15 from "react";
|
|
6
6
|
import * as react13 from "react";
|
|
7
7
|
import * as react0$1 from "react";
|
|
8
|
-
import * as react2 from "react";
|
|
9
|
-
import * as react4 from "react";
|
|
10
8
|
import * as react1 from "react";
|
|
11
|
-
import * as react3 from "react";
|
|
12
|
-
import * as react10 from "react";
|
|
13
9
|
import * as react0 from "react";
|
|
10
|
+
import * as react2 from "react";
|
|
11
|
+
import * as react6 from "react";
|
|
12
|
+
import * as react3 from "react";
|
|
13
|
+
import * as react7 from "react";
|
|
14
14
|
import { ButtonHTMLAttributes, PropsWithChildren, ReactElement } from "react";
|
|
15
15
|
import * as react_native0 from "react-native";
|
|
16
16
|
import { ColorValue, GestureResponderEvent, StyleProp, TextInput as TextInput$1, TextInputProps as TextInputProps$1, TextProps as TextProps$1, TouchableOpacityProps, ViewStyle } from "react-native";
|
|
@@ -45,16 +45,16 @@ declare const Button$1: react16.ForwardRefExoticComponent<{
|
|
|
45
45
|
//# sourceMappingURL=button.d.ts.map
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/native/button/button.d.ts
|
|
48
|
-
declare const Button:
|
|
48
|
+
declare const Button: react8.ForwardRefExoticComponent<{
|
|
49
49
|
theme?: ButtonTheme;
|
|
50
50
|
variant?: ButtonTheme;
|
|
51
51
|
size?: "lg" | "md" | "sm";
|
|
52
|
-
leftIcon?: keyof typeof lucide_react0.icons |
|
|
53
|
-
rightIcon?: keyof typeof lucide_react0.icons |
|
|
52
|
+
leftIcon?: keyof typeof lucide_react0.icons | react8.ReactElement;
|
|
53
|
+
rightIcon?: keyof typeof lucide_react0.icons | react8.ReactElement;
|
|
54
54
|
textWeight?: "light" | "medium" | "bold";
|
|
55
55
|
} & {
|
|
56
|
-
children?:
|
|
57
|
-
} & TouchableOpacityProps &
|
|
56
|
+
children?: react8.ReactNode | undefined;
|
|
57
|
+
} & TouchableOpacityProps & react8.RefAttributes<react_native0.View>>;
|
|
58
58
|
//# sourceMappingURL=button.d.ts.map
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/tokens/tokens.types.d.ts
|
|
@@ -225,7 +225,7 @@ declare const Modal: ({
|
|
|
225
225
|
visible,
|
|
226
226
|
transparent,
|
|
227
227
|
onPressBackground
|
|
228
|
-
}: ModalProps) =>
|
|
228
|
+
}: ModalProps) => react1.JSX.Element;
|
|
229
229
|
//# sourceMappingURL=modal.d.ts.map
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/native/profile-thumbnail/profile-thumbnail.d.ts
|
|
@@ -242,7 +242,7 @@ declare const ProfileThumbnail: ({
|
|
|
242
242
|
imageUrl,
|
|
243
243
|
type,
|
|
244
244
|
style
|
|
245
|
-
}: ProfileThumbnailProps) =>
|
|
245
|
+
}: ProfileThumbnailProps) => react0.JSX.Element;
|
|
246
246
|
//#endregion
|
|
247
247
|
//#region src/native/spinner/spinner.d.ts
|
|
248
248
|
interface Props {
|
|
@@ -256,7 +256,7 @@ declare const Spinner: ({
|
|
|
256
256
|
size,
|
|
257
257
|
color,
|
|
258
258
|
style
|
|
259
|
-
}: Props) =>
|
|
259
|
+
}: Props) => react2.JSX.Element;
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/native/text/text.types.d.ts
|
|
262
262
|
interface TextProps extends TextProps$1 {
|
|
@@ -270,7 +270,7 @@ declare const Text: ({
|
|
|
270
270
|
weight,
|
|
271
271
|
style,
|
|
272
272
|
...others
|
|
273
|
-
}: TextProps) =>
|
|
273
|
+
}: TextProps) => react6.JSX.Element;
|
|
274
274
|
//# sourceMappingURL=text.d.ts.map
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region src/native/text-input/text-input.types.d.ts
|
|
@@ -278,7 +278,7 @@ interface TextInputProps extends TextInputProps$1 {}
|
|
|
278
278
|
//# sourceMappingURL=text-input.types.d.ts.map
|
|
279
279
|
//#endregion
|
|
280
280
|
//#region src/native/text-input/text-input.d.ts
|
|
281
|
-
declare const TextInput:
|
|
281
|
+
declare const TextInput: react3.MemoExoticComponent<react3.ForwardRefExoticComponent<TextInputProps & react3.RefAttributes<TextInput$1>>>;
|
|
282
282
|
//# sourceMappingURL=text-input.d.ts.map
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region src/native/toast/toast.types.d.ts
|
|
@@ -296,7 +296,7 @@ declare const Toast: ({
|
|
|
296
296
|
type,
|
|
297
297
|
message,
|
|
298
298
|
onPress
|
|
299
|
-
}: ToastProps) =>
|
|
299
|
+
}: ToastProps) => react7.JSX.Element;
|
|
300
300
|
//# sourceMappingURL=toast.d.ts.map
|
|
301
301
|
|
|
302
302
|
//#endregion
|
package/dist/native.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native.d.cts","names":[],"sources":["../src/base/button/button.types.ts","../src/base/button/button.tsx","../src/native/button/button.tsx","../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/native/contexts/color-scheme-context/color-scheme-context.tsx","../src/native/icon-button/icon-button.types.ts","../src/native/icon-button/icon-button.tsx","../src/native/modal/modal.types.ts","../src/native/modal/modal.tsx","../src/native/profile-thumbnail/profile-thumbnail.tsx","../src/native/spinner/spinner.tsx","../src/native/text/text.types.ts","../src/native/text/text.tsx","../src/native/text-input/text-input.types.ts","../src/native/text-input/text-input.tsx","../src/native/toast/toast.types.ts","../src/native/toast/toast.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;KAGY,WAAA,GAAc;UAEhB;YACE;;0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AA;;;;cCPC;;;;;;;;;;GAUV,oBAAe,QAAA,CAAA,GAAA,CAAA;;;;KCbN,UAAA,GAAa;;;8BAGK;;;;;cCFjB;;;;;GAKV,eAAU,MAAA,CAAA,GAAA,CAAA;;;;KCYR,qBAAA;;;;;UAKK,UAAU;;cAGP;;;;;;GAMV,0BAAqB,MAAA,CAAA,GAAA,CAAA;;;UCjBd,KAAA;;;UAGA;UACA,UAAU;;cAGP;;;;;GAAqE,UAAK,MAAA,CAAA,GAAA,CAAA;;;UCvBtE,SAAA,SAAkB;;;;;;cCEtB;;;;;GAA4D,cAAS,MAAA,CAAA,GAAA,CAAA;;;;UCFjE,cAAA,SAAuB;;;;cC6C3B,WAAS,
|
|
1
|
+
{"version":3,"file":"native.d.cts","names":[],"sources":["../src/base/button/button.types.ts","../src/base/button/button.tsx","../src/native/button/button.tsx","../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/native/contexts/color-scheme-context/color-scheme-context.tsx","../src/native/icon-button/icon-button.types.ts","../src/native/icon-button/icon-button.tsx","../src/native/modal/modal.types.ts","../src/native/modal/modal.tsx","../src/native/profile-thumbnail/profile-thumbnail.tsx","../src/native/spinner/spinner.tsx","../src/native/text/text.types.ts","../src/native/text/text.tsx","../src/native/text-input/text-input.types.ts","../src/native/text-input/text-input.tsx","../src/native/toast/toast.types.ts","../src/native/toast/toast.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;KAGY,WAAA,GAAc;UAEhB;YACE;;0BAEc,QAAQ;2BACP,QAAQ;;;KAIvB,WAAA;;;;cCHC,kBAAM;UA+ClB;;;;;;;;;;;;cC9CY,eAAM;UA4BlB;;;;;;;;;;;;KCnCW,iBAAA,UAA2B;KAC3B,qBAAA,UAA+B;KAC/B,sBAAA,UAAgC;;;;cCD/B,QAAQ;cACR;;;;;;;;;;;;;;;;;;;;MJHD,SAAW,GAAA,EAAA,uBAAA;IAAA,CAAA;EAAA,CA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GAAqE,UAAK,MAAA,CAAA,GAAA,CAAA;;;UCvBtE,SAAA,SAAkB;;;;;;cCEtB;;;;;GAA4D,cAAS,MAAA,CAAA,GAAA,CAAA;;;;UCFjE,cAAA,SAAuB;;;;cC6C3B,WAAS,MAAA,CAAA,oBAAA,MAAA,CAAA,0BAAA,iBAAA,MAAA,CAAA,cAAA;;;;UC7CL,UAAA;QACT;;oBAEY;;;KAIR,SAAA;;;;cCJC;;;;GAAqC,eAAU,MAAA,CAAA,GAAA,CAAA"}
|
package/dist/native.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import * as react16 from "react";
|
|
2
|
+
import * as react0 from "react";
|
|
1
3
|
import * as react15 from "react";
|
|
2
|
-
import * as react7 from "react";
|
|
3
|
-
import * as react20 from "react";
|
|
4
4
|
import * as react13 from "react";
|
|
5
|
-
import * as react1 from "react";
|
|
6
5
|
import * as react5 from "react";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as react12 from "react";
|
|
10
|
-
import * as react2 from "react";
|
|
6
|
+
import * as react11 from "react";
|
|
7
|
+
import * as react4 from "react";
|
|
11
8
|
import * as react6 from "react";
|
|
9
|
+
import * as react12 from "react";
|
|
10
|
+
import * as react7 from "react";
|
|
11
|
+
import * as react10 from "react";
|
|
12
12
|
import { ButtonHTMLAttributes, PropsWithChildren, ReactElement } from "react";
|
|
13
13
|
import { icons } from "lucide-react-native";
|
|
14
14
|
import * as react_native0 from "react-native";
|
|
@@ -32,29 +32,29 @@ type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'i
|
|
|
32
32
|
//# sourceMappingURL=button.types.d.ts.map
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/base/button/button.d.ts
|
|
35
|
-
declare const Button$1:
|
|
35
|
+
declare const Button$1: react16.ForwardRefExoticComponent<{
|
|
36
36
|
theme?: ButtonTheme;
|
|
37
37
|
variant?: ButtonTheme;
|
|
38
38
|
size?: "lg" | "md" | "sm";
|
|
39
|
-
leftIcon?: keyof typeof icons$1 |
|
|
40
|
-
rightIcon?: keyof typeof icons$1 |
|
|
39
|
+
leftIcon?: keyof typeof icons$1 | react16.ReactElement;
|
|
40
|
+
rightIcon?: keyof typeof icons$1 | react16.ReactElement;
|
|
41
41
|
textWeight?: "light" | "medium" | "bold";
|
|
42
42
|
} & {
|
|
43
|
-
children?:
|
|
44
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> &
|
|
43
|
+
children?: react16.ReactNode | undefined;
|
|
44
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & react16.RefAttributes<HTMLButtonElement>>;
|
|
45
45
|
//# sourceMappingURL=button.d.ts.map
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/native/button/button.d.ts
|
|
48
|
-
declare const Button:
|
|
48
|
+
declare const Button: react0.ForwardRefExoticComponent<{
|
|
49
49
|
theme?: ButtonTheme;
|
|
50
50
|
variant?: ButtonTheme;
|
|
51
51
|
size?: "lg" | "md" | "sm";
|
|
52
|
-
leftIcon?: keyof typeof lucide_react0.icons |
|
|
53
|
-
rightIcon?: keyof typeof lucide_react0.icons |
|
|
52
|
+
leftIcon?: keyof typeof lucide_react0.icons | react0.ReactElement;
|
|
53
|
+
rightIcon?: keyof typeof lucide_react0.icons | react0.ReactElement;
|
|
54
54
|
textWeight?: "light" | "medium" | "bold";
|
|
55
55
|
} & {
|
|
56
|
-
children?:
|
|
57
|
-
} & TouchableOpacityProps &
|
|
56
|
+
children?: react0.ReactNode | undefined;
|
|
57
|
+
} & TouchableOpacityProps & react0.RefAttributes<react_native0.View>>;
|
|
58
58
|
//# sourceMappingURL=button.d.ts.map
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/tokens/tokens.types.d.ts
|
|
@@ -162,7 +162,7 @@ declare const ColorSchemeProvider$1: ({
|
|
|
162
162
|
}: PropsWithChildren<{
|
|
163
163
|
colorScheme: ColorScheme;
|
|
164
164
|
id?: string;
|
|
165
|
-
}>) =>
|
|
165
|
+
}>) => react15.JSX.Element;
|
|
166
166
|
declare const useColorScheme$1: () => ThemeContextValue;
|
|
167
167
|
//# sourceMappingURL=ColorSchemeProvider.d.ts.map
|
|
168
168
|
//#endregion
|
|
@@ -208,7 +208,7 @@ declare const IconButton: ({
|
|
|
208
208
|
strokeWidth,
|
|
209
209
|
fill,
|
|
210
210
|
...otherProps
|
|
211
|
-
}: IconButtonProps) =>
|
|
211
|
+
}: IconButtonProps) => react5.JSX.Element;
|
|
212
212
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
213
213
|
//#endregion
|
|
214
214
|
//#region src/native/modal/modal.types.d.ts
|
|
@@ -225,7 +225,7 @@ declare const Modal: ({
|
|
|
225
225
|
visible,
|
|
226
226
|
transparent,
|
|
227
227
|
onPressBackground
|
|
228
|
-
}: ModalProps) =>
|
|
228
|
+
}: ModalProps) => react11.JSX.Element;
|
|
229
229
|
//# sourceMappingURL=modal.d.ts.map
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region src/native/profile-thumbnail/profile-thumbnail.d.ts
|
|
@@ -242,7 +242,7 @@ declare const ProfileThumbnail: ({
|
|
|
242
242
|
imageUrl,
|
|
243
243
|
type,
|
|
244
244
|
style
|
|
245
|
-
}: ProfileThumbnailProps) =>
|
|
245
|
+
}: ProfileThumbnailProps) => react4.JSX.Element;
|
|
246
246
|
//#endregion
|
|
247
247
|
//#region src/native/spinner/spinner.d.ts
|
|
248
248
|
interface Props {
|
|
@@ -256,7 +256,7 @@ declare const Spinner: ({
|
|
|
256
256
|
size,
|
|
257
257
|
color,
|
|
258
258
|
style
|
|
259
|
-
}: Props) =>
|
|
259
|
+
}: Props) => react6.JSX.Element;
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/native/text/text.types.d.ts
|
|
262
262
|
interface TextProps extends TextProps$1 {
|
|
@@ -278,7 +278,7 @@ interface TextInputProps extends TextInputProps$1 {}
|
|
|
278
278
|
//# sourceMappingURL=text-input.types.d.ts.map
|
|
279
279
|
//#endregion
|
|
280
280
|
//#region src/native/text-input/text-input.d.ts
|
|
281
|
-
declare const TextInput:
|
|
281
|
+
declare const TextInput: react7.MemoExoticComponent<react7.ForwardRefExoticComponent<TextInputProps & react7.RefAttributes<TextInput$1>>>;
|
|
282
282
|
//# sourceMappingURL=text-input.d.ts.map
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region src/native/toast/toast.types.d.ts
|
|
@@ -296,7 +296,7 @@ declare const Toast: ({
|
|
|
296
296
|
type,
|
|
297
297
|
message,
|
|
298
298
|
onPress
|
|
299
|
-
}: ToastProps) =>
|
|
299
|
+
}: ToastProps) => react10.JSX.Element;
|
|
300
300
|
//# sourceMappingURL=toast.d.ts.map
|
|
301
301
|
|
|
302
302
|
//#endregion
|
package/dist/native.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native.d.ts","names":[],"sources":["../src/base/button/button.types.ts","../src/base/button/button.tsx","../src/native/button/button.tsx","../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/native/contexts/color-scheme-context/color-scheme-context.tsx","../src/native/icon-button/icon-button.types.ts","../src/native/icon-button/icon-button.tsx","../src/native/modal/modal.types.ts","../src/native/modal/modal.tsx","../src/native/profile-thumbnail/profile-thumbnail.tsx","../src/native/spinner/spinner.tsx","../src/native/text/text.types.ts","../src/native/text/text.tsx","../src/native/text-input/text-input.types.ts","../src/native/text-input/text-input.tsx","../src/native/toast/toast.types.ts","../src/native/toast/toast.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;KAGY,WAAA,GAAc;UAEhB;YACE;;0BAEc,UAAQ;2BACP,UAAQ;;;KAIvB,WAAA;;;;cCHC,kBAAM;UA+ClB;;;;;;;;;;;;cC9CY,eAAM;UA4BlB;;;;;;;;;;;;KCnCW,iBAAA,UAA2B;KAC3B,qBAAA,UAA+B;KAC/B,sBAAA,UAAgC;;;;cCD/B,QAAQ;c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src/native/button/button.tsx","../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/native/contexts/color-scheme-context/color-scheme-context.tsx","../src/native/icon-button/icon-button.types.ts","../src/native/icon-button/icon-button.tsx","../src/native/modal/modal.types.ts","../src/native/modal/modal.tsx","../src/native/profile-thumbnail/profile-thumbnail.tsx","../src/native/spinner/spinner.tsx","../src/native/text/text.types.ts","../src/native/text/text.tsx","../src/native/text-input/text-input.types.ts","../src/native/text-input/text-input.tsx","../src/native/toast/toast.types.ts","../src/native/toast/toast.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;KAGY,WAAA,GAAc;UAEhB;YACE;;0BAEc,UAAQ;2BACP,UAAQ;;;KAIvB,WAAA;;;;cCHC,kBAAM;UA+ClB;;;;;;;;;;;;cC9CY,eAAM;UA4BlB;;;;;;;;;;;;KCnCW,iBAAA,UAA2B;KAC3B,qBAAA,UAA+B;KAC/B,sBAAA,UAAgC;;;;cCD/B,QAAQ;cACR;;;;;;;;;;;;;;;;;;;;MJHD,SAAW,GAAA,EAAA,uBAAA;IAAA,CAAA;EAAA,CAAA;CAEF;AAGK,cIDb,iBJCa,EAAA;EAAK,SAAG,KAAA,EAAA;IACP,SAAA,KAAA,EAAA;MAAQ,SAAA,UAAA,EAAA;QANT,SAAA,GAAA,EAAA,SAAA;QAAiB,SAAA,GAAA,EAAA,SAAA;QAU/B,SAAW,GAAA,EAAA,SAAA;;;;MCHV,SA+CZ,UAAA,EAAA;QAAA,SAAA,GAAA,EAAA,SAAA;QAAA,SAAA,GAAA,EAAA,SAAA;;;;;;;;;;;;EA/CkB,CAAA;;;;QC6BlB,SAAA,GAAA,EAAA,SAAA;QAAA,SAAA,GAAA,EAAA,SAAA;QAAA,SAAA,GAAA,EAAA,SAAA;;;;;;;;;;eA5BkB,MAAA,EAAA;QAAA,SAAA,GAAA,EAAA,SAAA;;;;QCPP,SAAiB,GAAA,EAAA,SAAU;MAC3B,CAAA;IACA,CAAA;;;;;;KEOA,WAAA;UAEK,KAAA,SAAc,uBAAuB;;;cAIzC,gBAAgB;cAIhB,eAAe;cAKf,4BAA6B;cAa7B,gBAAc;cASd,uBAAwB;KAmBhC,iBAAA;SACI;oBACW;;cAuBd;;;;GAIH;eAAiC;;OAA2B,OAAA,CAAA,GAAA,CAAA;cAoDlD,wBAAc;;;;cClJd,oBAK8B,OAAA,CALZ;eAChB;qBAED,+CACA;gCACkB;;cASnB;;;GAGV;uBACoB;OACrB,OAAA,CAAA,GAAA,CAAA;cAmBW;eArCE;qBAED,+CACA;gCACkB;;;;;UCLf,eAAA,SAAwB;qBACpB;SACZ;YACG;UACF;;SAED;;KAGG,cAAA;;;;cCPC;;;;;;;;;;GAUV,oBAAe,MAAA,CAAA,GAAA,CAAA;;;;KCbN,UAAA,GAAa;;;8BAGK;;;;;cCFjB;;;;;GAKV,eAAU,OAAA,CAAA,GAAA,CAAA;;;;KCYR,qBAAA;;;;;UAKK,UAAU;;cAGP;;;;;;GAMV,0BAAqB,MAAA,CAAA,GAAA,CAAA;;;UCjBd,KAAA;;;UAGA;UACA,UAAU;;cAGP;;;;;GAAqE,UAAK,MAAA,CAAA,GAAA,CAAA;;;UCvBtE,SAAA,SAAkB;;;;;;cCEtB;;;;;GAA4D,cAAS,OAAA,CAAA,GAAA,CAAA;;;;UCFjE,cAAA,SAAuB;;;;cC6C3B,WAAS,MAAA,CAAA,oBAAA,MAAA,CAAA,0BAAA,iBAAA,MAAA,CAAA,cAAA;;;;UC7CL,UAAA;QACT;;oBAEY;;;KAIR,SAAA;;;;cCJC;;;;GAAqC,eAAU,OAAA,CAAA,GAAA,CAAA"}
|
package/dist/next.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as react60 from "react";
|
|
1
|
+
import * as react65 from "react";
|
|
3
2
|
import * as react62 from "react";
|
|
3
|
+
import * as react59 from "react";
|
|
4
4
|
import * as react61 from "react";
|
|
5
5
|
import * as react21 from "react";
|
|
6
6
|
import * as react0 from "react";
|
|
@@ -71,7 +71,7 @@ declare function GlobalLink({
|
|
|
71
71
|
onClick,
|
|
72
72
|
target,
|
|
73
73
|
...otherProps
|
|
74
|
-
}: PropsWithChildren<LinkProps & AnchorHTMLAttributes<HTMLAnchorElement>>):
|
|
74
|
+
}: PropsWithChildren<LinkProps & AnchorHTMLAttributes<HTMLAnchorElement>>): react65.JSX.Element;
|
|
75
75
|
//# sourceMappingURL=global-link.d.ts.map
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/next/global-link/global-link.store.d.ts
|
|
@@ -90,14 +90,14 @@ declare function RouteLoading({
|
|
|
90
90
|
deps
|
|
91
91
|
}: PropsWithChildren<{
|
|
92
92
|
deps?: DependencyList;
|
|
93
|
-
}>):
|
|
93
|
+
}>): react62.JSX.Element;
|
|
94
94
|
//# sourceMappingURL=route-loading.d.ts.map
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/next/new-tab-link/new-tab-link.d.ts
|
|
97
|
-
declare const NewTabLink:
|
|
97
|
+
declare const NewTabLink: react59.MemoExoticComponent<({
|
|
98
98
|
children,
|
|
99
99
|
...linkProps
|
|
100
|
-
}: PropsWithChildren<Omit<LinkProps, "target" | "rel">>) =>
|
|
100
|
+
}: PropsWithChildren<Omit<LinkProps, "target" | "rel">>) => react59.JSX.Element>;
|
|
101
101
|
//# sourceMappingURL=new-tab-link.d.ts.map
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region src/next/app-footer/app-footer.d.ts
|
package/dist/next.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _emotion_styled0 from "@emotion/styled";
|
|
2
2
|
import * as react84 from "react";
|
|
3
|
-
import * as react61 from "react";
|
|
4
|
-
import * as react59 from "react";
|
|
5
3
|
import * as react62 from "react";
|
|
6
|
-
import * as
|
|
4
|
+
import * as react59 from "react";
|
|
5
|
+
import * as react61 from "react";
|
|
6
|
+
import * as react43 from "react";
|
|
7
7
|
import * as react0 from "react";
|
|
8
8
|
import { AnchorHTMLAttributes, DependencyList, MouseEventHandler, PropsWithChildren, ReactNode } from "react";
|
|
9
9
|
import * as _emotion_react0 from "@emotion/react";
|
|
@@ -90,7 +90,7 @@ declare function RouteLoading({
|
|
|
90
90
|
deps
|
|
91
91
|
}: PropsWithChildren<{
|
|
92
92
|
deps?: DependencyList;
|
|
93
|
-
}>):
|
|
93
|
+
}>): react62.JSX.Element;
|
|
94
94
|
//# sourceMappingURL=route-loading.d.ts.map
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/next/new-tab-link/new-tab-link.d.ts
|
|
@@ -111,12 +111,12 @@ declare function AppFooter({
|
|
|
111
111
|
playStoreUrl: string;
|
|
112
112
|
instagramUrl: string;
|
|
113
113
|
xUrl: string;
|
|
114
|
-
}):
|
|
114
|
+
}): react61.JSX.Element;
|
|
115
115
|
//# sourceMappingURL=app-footer.d.ts.map
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region src/next/app-header/index.d.ts
|
|
118
118
|
declare const AppHeader: {
|
|
119
|
-
FloatingHeader:
|
|
119
|
+
FloatingHeader: react43.MemoExoticComponent<({
|
|
120
120
|
serviceName,
|
|
121
121
|
HeaderMenuItemComponent,
|
|
122
122
|
ColorSchemeToggleComponent,
|
|
@@ -125,15 +125,15 @@ declare const AppHeader: {
|
|
|
125
125
|
zIndex
|
|
126
126
|
}: {
|
|
127
127
|
serviceName: string;
|
|
128
|
-
HeaderMenuItemComponent:
|
|
129
|
-
ColorSchemeToggleComponent:
|
|
128
|
+
HeaderMenuItemComponent: react43.ReactNode;
|
|
129
|
+
ColorSchemeToggleComponent: react43.ReactNode;
|
|
130
130
|
onClickOpenMobileDrawer?: (params: {
|
|
131
131
|
isMobileMenuOpen: boolean;
|
|
132
132
|
}) => void;
|
|
133
133
|
className?: string;
|
|
134
134
|
zIndex?: AnimatedHeaderProps["zIndex"];
|
|
135
|
-
}) =>
|
|
136
|
-
FixedHeader:
|
|
135
|
+
}) => react43.JSX.Element>;
|
|
136
|
+
FixedHeader: react43.MemoExoticComponent<({
|
|
137
137
|
zIndex,
|
|
138
138
|
onClickOpenDrawer,
|
|
139
139
|
mobileLeftAccessory,
|
|
@@ -143,11 +143,11 @@ declare const AppHeader: {
|
|
|
143
143
|
}: {
|
|
144
144
|
zIndex?: number;
|
|
145
145
|
onClickOpenDrawer?: () => void;
|
|
146
|
-
mobileLeftAccessory?:
|
|
147
|
-
HeaderMenuItemComponent:
|
|
148
|
-
logoRightAccessory?:
|
|
146
|
+
mobileLeftAccessory?: react43.ReactNode;
|
|
147
|
+
HeaderMenuItemComponent: react43.ReactNode;
|
|
148
|
+
logoRightAccessory?: react43.ReactNode;
|
|
149
149
|
headerHeight?: string;
|
|
150
|
-
}) =>
|
|
150
|
+
}) => react43.JSX.Element>;
|
|
151
151
|
FullScreenMobileAccordionDrawer: {
|
|
152
152
|
<ItemT extends {
|
|
153
153
|
accordionKey: string;
|
|
@@ -159,15 +159,15 @@ declare const AppHeader: {
|
|
|
159
159
|
onClickClose?: (params: {
|
|
160
160
|
isOpen: boolean;
|
|
161
161
|
}) => void;
|
|
162
|
-
ColorSchemeToggleComponent:
|
|
162
|
+
ColorSchemeToggleComponent: react43.ReactNode;
|
|
163
163
|
} & AccordionProps<ItemT>) | ({
|
|
164
164
|
standalone: false;
|
|
165
165
|
} & {
|
|
166
166
|
onClickClose?: (params: {
|
|
167
167
|
isOpen: boolean;
|
|
168
168
|
}) => void;
|
|
169
|
-
ColorSchemeToggleComponent:
|
|
170
|
-
} & AccordionProps<ItemT>)):
|
|
169
|
+
ColorSchemeToggleComponent: react43.ReactNode;
|
|
170
|
+
} & AccordionProps<ItemT>)): react43.JSX.Element;
|
|
171
171
|
displayName: string;
|
|
172
172
|
};
|
|
173
173
|
ModalMobileAccordionDrawer: {
|
|
@@ -181,18 +181,18 @@ declare const AppHeader: {
|
|
|
181
181
|
}: {
|
|
182
182
|
isOpen: boolean;
|
|
183
183
|
onClose: () => void;
|
|
184
|
-
bottomAccessory?:
|
|
185
|
-
} & AccordionProps<ItemT>):
|
|
184
|
+
bottomAccessory?: react43.ReactNode;
|
|
185
|
+
} & AccordionProps<ItemT>): react43.JSX.Element;
|
|
186
186
|
displayName: string;
|
|
187
187
|
};
|
|
188
188
|
useHeaderScrollAnimation: typeof useHeaderScrollAnimation;
|
|
189
189
|
useIsMobileMenuOpen: typeof useIsMobileMenuOpen;
|
|
190
|
-
AnimatedHeader:
|
|
190
|
+
AnimatedHeader: react43.MemoExoticComponent<({
|
|
191
191
|
animation,
|
|
192
192
|
children,
|
|
193
193
|
className,
|
|
194
194
|
zIndex
|
|
195
|
-
}: AnimatedHeaderProps) =>
|
|
195
|
+
}: AnimatedHeaderProps) => react43.JSX.Element>;
|
|
196
196
|
};
|
|
197
197
|
//# sourceMappingURL=index.d.ts.map
|
|
198
198
|
//#endregion
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"email": "imcoldsurf@gmail.com",
|
|
6
6
|
"url": "https://coldsurf.io"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.13.
|
|
8
|
+
"version": "1.13.4",
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/coldsurfers/ocean-road/issues"
|
|
11
11
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "git+https://github.com/coldsurfers/ocean-road",
|
|
15
15
|
"directory": "packages/ocean-road"
|
|
16
16
|
},
|
|
17
|
-
"homepage": "https://
|
|
17
|
+
"homepage": "https://docs.ocean-road.coldsurf.io",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
@@ -41,17 +41,6 @@
|
|
|
41
41
|
"dist",
|
|
42
42
|
"package.json"
|
|
43
43
|
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "pnpm build:core",
|
|
46
|
-
"build:core": "tsdown",
|
|
47
|
-
"lint": "biome lint .",
|
|
48
|
-
"lint:fix": "biome lint --write .",
|
|
49
|
-
"format": "biome format .",
|
|
50
|
-
"format:fix": "biome format --write .",
|
|
51
|
-
"check": "biome check .",
|
|
52
|
-
"check:fix": "biome check --write .",
|
|
53
|
-
"check:type": "tsc --noEmit"
|
|
54
|
-
},
|
|
55
44
|
"dependencies": {
|
|
56
45
|
"@coldsurf/shared-utils": "1.1.15",
|
|
57
46
|
"ts-pattern": "5.8.0"
|
|
@@ -122,5 +111,16 @@
|
|
|
122
111
|
"publishConfig": {
|
|
123
112
|
"registry": "https://registry.npmjs.org/",
|
|
124
113
|
"access": "public"
|
|
114
|
+
},
|
|
115
|
+
"scripts": {
|
|
116
|
+
"build": "pnpm build:core",
|
|
117
|
+
"build:core": "tsdown",
|
|
118
|
+
"lint": "biome lint .",
|
|
119
|
+
"lint:fix": "biome lint --write .",
|
|
120
|
+
"format": "biome format .",
|
|
121
|
+
"format:fix": "biome format --write .",
|
|
122
|
+
"check": "biome check .",
|
|
123
|
+
"check:fix": "biome check --write .",
|
|
124
|
+
"check:type": "tsc --noEmit"
|
|
125
125
|
}
|
|
126
|
-
}
|
|
126
|
+
}
|