@coldsurf/ocean-road 1.16.0-alpha.3 → 1.16.0-alpha.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.
Files changed (27) hide show
  1. package/dist/index.d.ts +69 -69
  2. package/dist/native.d.cts +25 -25
  3. package/dist/native.d.ts +26 -26
  4. package/dist/next.d.cts +9 -9
  5. package/dist/next.d.ts +23 -23
  6. package/package.json +1 -1
  7. package/src/tokens/generated/css/color/variables-dark.css +19 -0
  8. package/src/tokens/generated/css/color/variables-light.css +19 -0
  9. package/src/tokens/generated/css/color/variables.css +139 -0
  10. package/src/tokens/generated/css/typography/variables.css +59 -0
  11. package/src/tokens/generated/js/color/variables-theme.d.ts +47 -0
  12. package/src/tokens/generated/js/color/variables-theme.js +293 -0
  13. package/src/tokens/generated/js/color/variables.d.ts +185 -0
  14. package/src/tokens/generated/js/color/variables.js +2539 -0
  15. package/src/tokens/generated/js/semantic/theme-variables.d.ts +51 -0
  16. package/src/tokens/generated/js/semantic/theme-variables.js +53 -0
  17. package/src/tokens/generated/js/semantic/theme-variables.mjs +51 -0
  18. package/src/tokens/generated/js/semantic/variables.d.ts +82 -0
  19. package/src/tokens/generated/js/semantic/variables.js +84 -0
  20. package/src/tokens/generated/js/semantic/variables.mjs +82 -0
  21. package/src/tokens/generated/js/typography/variables.d.ts +28 -0
  22. package/src/tokens/generated/js/typography/variables.js +30 -0
  23. package/src/tokens/generated/js/typography/variables.mjs +28 -0
  24. package/src/tokens/generated/json/color/variables-dark.json +14 -0
  25. package/src/tokens/generated/json/color/variables-light.json +14 -0
  26. package/src/tokens/generated/json/color/variables.json +134 -0
  27. package/src/tokens/generated/json/typography/variables.json +54 -0
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 react56 from "react";
4
- import * as react61 from "react";
5
- import * as react70 from "react";
3
+ import * as react78 from "react";
4
+ import * as react68 from "react";
6
5
  import * as react55 from "react";
6
+ import * as react58 from "react";
7
7
  import * as react44 from "react";
8
- import * as react73 from "react";
9
- import * as react95 from "react";
10
- import * as react47 from "react";
11
- import * as react84 from "react";
12
- import * as react53 from "react";
8
+ import * as react49 from "react";
13
9
  import * as react45 from "react";
14
- import * as react40 from "react";
15
- import * as react64 from "react";
16
- import * as react77 from "react";
17
- import * as react91 from "react";
18
- import * as react93 from "react";
10
+ import * as react72 from "react";
11
+ import * as react71 from "react";
12
+ import * as react53 from "react";
13
+ import * as react47 from "react";
19
14
  import * as react23 from "react";
20
- import * as react88 from "react";
21
- import * as react38 from "react";
22
15
  import * as react66 from "react";
23
- import * as react68 from "react";
24
- import * as react83 from "react";
16
+ import * as react62 from "react";
17
+ import * as react64 from "react";
18
+ import * as react95 from "react";
19
+ import * as react27 from "react";
20
+ import * as react59 from "react";
21
+ import * as react42 from "react";
22
+ import * as react87 from "react";
23
+ import * as react51 from "react";
24
+ import * as react86 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";
@@ -415,25 +415,25 @@ declare function GlobalStyle({
415
415
  type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
416
416
  //#endregion
417
417
  //#region src/base/button/button.d.ts
418
- declare const Button: react56.ForwardRefExoticComponent<{
418
+ declare const Button: react78.ForwardRefExoticComponent<{
419
419
  theme?: ButtonTheme;
420
420
  variant?: ButtonTheme;
421
421
  size?: "lg" | "md" | "sm";
422
- leftIcon?: keyof typeof icons | react56.ReactElement;
423
- rightIcon?: keyof typeof icons | react56.ReactElement;
422
+ leftIcon?: keyof typeof icons | react78.ReactElement;
423
+ rightIcon?: keyof typeof icons | react78.ReactElement;
424
424
  textWeight?: "light" | "medium" | "bold";
425
425
  } & {
426
- children?: react56.ReactNode | undefined;
427
- } & ButtonHTMLAttributes<HTMLButtonElement> & react56.RefAttributes<HTMLButtonElement>>;
426
+ children?: react78.ReactNode | undefined;
427
+ } & ButtonHTMLAttributes<HTMLButtonElement> & react78.RefAttributes<HTMLButtonElement>>;
428
428
  //#endregion
429
429
  //#region src/base/checkbox/checkbox.d.ts
430
- declare const Checkbox: react61.MemoExoticComponent<react61.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "formAction" | "size"> & {
430
+ declare const Checkbox: react68.MemoExoticComponent<react68.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "formAction"> & {
431
431
  size?: "lg" | "md" | "sm";
432
432
  labelText?: string;
433
- } & react61.RefAttributes<HTMLInputElement>>>;
433
+ } & react68.RefAttributes<HTMLInputElement>>>;
434
434
  //#endregion
435
435
  //#region src/base/icon-button/icon-button.d.ts
436
- declare const IconButton: react70.ForwardRefExoticComponent<react70.ButtonHTMLAttributes<HTMLButtonElement> & react70.RefAttributes<HTMLButtonElement>>;
436
+ declare const IconButton: react55.ForwardRefExoticComponent<react55.ButtonHTMLAttributes<HTMLButtonElement> & react55.RefAttributes<HTMLButtonElement>>;
437
437
  //#endregion
438
438
  //#region src/base/icon-button/icon-button.types.d.ts
439
439
  type IconButtonProps = {} & ButtonHTMLAttributes<HTMLButtonElement>;
@@ -448,7 +448,7 @@ declare const Modal: ({
448
448
  visible: boolean;
449
449
  onClose: () => void;
450
450
  zIndex?: number;
451
- }>) => react55.JSX.Element;
451
+ }>) => react58.JSX.Element;
452
452
  //#endregion
453
453
  //#region src/base/spinner/spinner.types.d.ts
454
454
  type SpinnerVariant = 'page-overlay';
@@ -480,7 +480,7 @@ type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
480
480
  as?: ElementType<any, keyof JSX.IntrinsicElements>;
481
481
  numberOfLines?: number;
482
482
  } & Pick<StyledTextContainerProps, 'variant' | 'size' | 'weight'>>;
483
- declare const Text: react73.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react73.RefAttributes<HTMLSpanElement>>;
483
+ declare const Text: react49.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react49.RefAttributes<HTMLSpanElement>>;
484
484
  //#endregion
485
485
  //#region src/base/text-area/text-area.types.d.ts
486
486
  type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
@@ -491,17 +491,17 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
491
491
  };
492
492
  //#endregion
493
493
  //#region src/base/text-area/text-area.d.ts
494
- declare const TextArea: react95.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react95.RefAttributes<HTMLTextAreaElement>>;
494
+ declare const TextArea: react45.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react45.RefAttributes<HTMLTextAreaElement>>;
495
495
  //#endregion
496
496
  //#region src/base/text-input/text-input.d.ts
497
- declare const TextInput: react47.ForwardRefExoticComponent<react47.InputHTMLAttributes<HTMLInputElement> & {
497
+ declare const TextInput: react72.ForwardRefExoticComponent<react72.InputHTMLAttributes<HTMLInputElement> & {
498
498
  label?: string;
499
- labelStyle?: react47.CSSProperties;
499
+ labelStyle?: react72.CSSProperties;
500
500
  isError?: boolean;
501
501
  required?: boolean;
502
- left?: react47.ReactNode;
503
- right?: react47.ReactNode;
504
- } & react47.RefAttributes<HTMLInputElement>>;
502
+ left?: react72.ReactNode;
503
+ right?: react72.ReactNode;
504
+ } & react72.RefAttributes<HTMLInputElement>>;
505
505
  //#endregion
506
506
  //#region src/base/text-input/text-input.types.d.ts
507
507
  type TextInputProps = InputHTMLAttributes<HTMLInputElement> & {
@@ -529,7 +529,7 @@ declare const Toast: ({
529
529
  message,
530
530
  zIndex,
531
531
  onClose
532
- }: ToastProps) => react84.JSX.Element;
532
+ }: ToastProps) => react71.JSX.Element;
533
533
  //#endregion
534
534
  //#region src/base/switch/switch.d.ts
535
535
  interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
@@ -545,7 +545,7 @@ type Props$6 = {
545
545
  isHighlighted?: boolean;
546
546
  children?: string | ReactElement;
547
547
  };
548
- declare const Badge: react45.ForwardRefExoticComponent<Props$6 & react45.RefAttributes<HTMLDivElement>>;
548
+ declare const Badge: react47.ForwardRefExoticComponent<Props$6 & react47.RefAttributes<HTMLDivElement>>;
549
549
  //#endregion
550
550
  //#region src/utils/breakpoints.d.ts
551
551
  declare const breakpoints: {
@@ -583,16 +583,16 @@ type GridCardListItemProps = WithId<{
583
583
  //#endregion
584
584
  //#region src/extensions/error-ui/index.d.ts
585
585
  declare const ErrorUI: {
586
- NetworkError: react40.MemoExoticComponent<({
586
+ NetworkError: react23.MemoExoticComponent<({
587
587
  onClickRetry
588
588
  }: {
589
589
  onClickRetry: () => void;
590
- }) => react40.JSX.Element>;
591
- UnknownError: react40.MemoExoticComponent<({
590
+ }) => react23.JSX.Element>;
591
+ UnknownError: react23.MemoExoticComponent<({
592
592
  onClickRetry
593
593
  }: {
594
594
  onClickRetry: () => void;
595
- }) => react40.JSX.Element>;
595
+ }) => react23.JSX.Element>;
596
596
  };
597
597
  //#endregion
598
598
  //#region src/extensions/app-logo/app-logo.d.ts
@@ -601,39 +601,39 @@ interface Props$5 {
601
601
  type?: 'round' | 'square';
602
602
  logoTheme: LogoTheme;
603
603
  }
604
- declare const AppLogo: react64.MemoExoticComponent<({
604
+ declare const AppLogo: react66.MemoExoticComponent<({
605
605
  type,
606
606
  logoTheme,
607
607
  ...otherProps
608
- }: Props$5) => react64.JSX.Element>;
608
+ }: Props$5) => react66.JSX.Element>;
609
609
  //#endregion
610
610
  //#region src/extensions/app-store-button/app-store-button.d.ts
611
611
  type Props$4 = {
612
612
  store: 'app-store' | 'google-play';
613
613
  };
614
- declare const AppStoreButton: react77.MemoExoticComponent<({
614
+ declare const AppStoreButton: react62.MemoExoticComponent<({
615
615
  store
616
- }: Props$4) => react77.JSX.Element>;
616
+ }: Props$4) => react62.JSX.Element>;
617
617
  //#endregion
618
618
  //#region src/extensions/brand-icon/brand-icon.d.ts
619
619
  interface Props$3 extends SVGProps<SVGSVGElement> {
620
620
  brand: 'apple' | 'google' | 'android';
621
621
  ref?: Ref<SVGSVGElement>;
622
622
  }
623
- declare const BrandIcon: react91.MemoExoticComponent<({
623
+ declare const BrandIcon: react64.MemoExoticComponent<({
624
624
  brand,
625
625
  ...svgProps
626
- }: Props$3) => react91.JSX.Element>;
626
+ }: Props$3) => react64.JSX.Element>;
627
627
  //#endregion
628
628
  //#region src/extensions/sns-icon/sns-icon.d.ts
629
629
  interface Props$2 extends React.SVGProps<SVGSVGElement> {
630
630
  social: 'instagram' | 'x' | 'facebook' | 'youtube';
631
631
  ref?: Ref<SVGSVGElement>;
632
632
  }
633
- declare const SNSIcon: react93.MemoExoticComponent<({
633
+ declare const SNSIcon: react95.MemoExoticComponent<({
634
634
  social,
635
635
  ...svgProps
636
- }: Props$2) => react93.JSX.Element>;
636
+ }: Props$2) => react95.JSX.Element>;
637
637
  //#endregion
638
638
  //#region src/extensions/dropdown/dropdown.types.d.ts
639
639
  type DropdownMenuItemRef = {
@@ -672,30 +672,30 @@ declare const Dropdown: {
672
672
  as?: React.ElementType;
673
673
  } & {
674
674
  $isActive?: boolean;
675
- }, react23.DetailedHTMLProps<react23.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
675
+ }, react27.DetailedHTMLProps<react27.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
676
676
  MenuItem: <DataItemT>(props: {
677
677
  isCurrent: boolean;
678
- icon?: react23.ReactNode;
679
- title: react23.ReactNode;
678
+ icon?: react27.ReactNode;
679
+ title: react27.ReactNode;
680
680
  dropdownData: DataItemT[];
681
- renderDropdownItem: (item: DataItemT) => react23.ReactNode;
681
+ renderDropdownItem: (item: DataItemT) => react27.ReactNode;
682
682
  backdrop?: boolean;
683
683
  absolute?: boolean;
684
684
  isLoading?: boolean;
685
685
  onClose?: () => void;
686
- onMouseEnter?: (e: react23.MouseEvent<HTMLDivElement>, params: {
686
+ onMouseEnter?: (e: react27.MouseEvent<HTMLDivElement>, params: {
687
687
  openDropdown: () => void;
688
688
  }) => void;
689
- onMouseLeave?: (e: react23.MouseEvent<HTMLDivElement>, params: {
689
+ onMouseLeave?: (e: react27.MouseEvent<HTMLDivElement>, params: {
690
690
  closeDropdown: () => void;
691
691
  }) => void;
692
- onClick?: (e: react23.MouseEvent<HTMLDivElement>, params: {
692
+ onClick?: (e: react27.MouseEvent<HTMLDivElement>, params: {
693
693
  openDropdown: () => void;
694
694
  }) => void;
695
695
  } & {
696
- ref?: react23.Ref<DropdownMenuItemRef>;
696
+ ref?: react27.Ref<DropdownMenuItemRef>;
697
697
  }) => JSX.Element;
698
- Core: react23.MemoExoticComponent<react23.ForwardRefExoticComponent<DropdownCoreProps & react23.RefAttributes<DropdownMenuItemRef>>>;
698
+ Core: react27.MemoExoticComponent<react27.ForwardRefExoticComponent<DropdownCoreProps & react27.RefAttributes<DropdownMenuItemRef>>>;
699
699
  Trigger: ({
700
700
  renderTriggerNode,
701
701
  triggerRef,
@@ -703,27 +703,27 @@ declare const Dropdown: {
703
703
  backdrop,
704
704
  zIndex,
705
705
  edge
706
- }: react23.PropsWithChildren<{
706
+ }: react27.PropsWithChildren<{
707
707
  renderTriggerNode: ({
708
708
  openDropdown
709
709
  }: {
710
710
  openDropdown: () => void;
711
- }) => react23.ReactNode;
711
+ }) => react27.ReactNode;
712
712
  triggerRef: DropdownCoreProps["triggerRef"];
713
713
  backdrop: DropdownCoreProps["backdrop"];
714
714
  zIndex: DropdownCoreProps["zIndex"];
715
715
  edge: DropdownCoreProps["edge"];
716
- }>) => react23.JSX.Element;
716
+ }>) => react27.JSX.Element;
717
717
  };
718
718
  //#endregion
719
719
  //#region src/extensions/menu-item/menu-item.d.ts
720
- declare const MenuItem: react88.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
720
+ declare const MenuItem: react59.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
721
721
  isLoading?: boolean;
722
722
  isCurrent?: boolean;
723
723
  icon?: React.ReactNode;
724
724
  } & {
725
- children?: react88.ReactNode | undefined;
726
- } & react88.RefAttributes<HTMLDivElement>>;
725
+ children?: react59.ReactNode | undefined;
726
+ } & react59.RefAttributes<HTMLDivElement>>;
727
727
  //#endregion
728
728
  //#region src/extensions/app-header/app-header.types.d.ts
729
729
  type AnimatedHeaderAnimation = 'show' | 'hide';
@@ -749,12 +749,12 @@ declare function useIsMobileMenuOpen(): {
749
749
  declare const AppHeader: {
750
750
  useHeaderScrollAnimation: typeof useHeaderScrollAnimation;
751
751
  useIsMobileMenuOpen: typeof useIsMobileMenuOpen;
752
- AnimatedHeader: react38.MemoExoticComponent<({
752
+ AnimatedHeader: react42.MemoExoticComponent<({
753
753
  animation,
754
754
  children,
755
755
  className,
756
756
  zIndex
757
- }: AnimatedHeaderProps) => react38.JSX.Element>;
757
+ }: AnimatedHeaderProps) => react42.JSX.Element>;
758
758
  };
759
759
  //#endregion
760
760
  //#region src/extensions/color-scheme-toggle/color-scheme-toggle.d.ts
@@ -763,9 +763,9 @@ type Props$1 = {
763
763
  setTheme: ReturnType<typeof useColorScheme>['setTheme'];
764
764
  }) => void;
765
765
  };
766
- declare const ColorSchemeToggle: react66.MemoExoticComponent<({
766
+ declare const ColorSchemeToggle: react87.MemoExoticComponent<({
767
767
  onToggle
768
- }: Props$1) => react66.JSX.Element>;
768
+ }: Props$1) => react87.JSX.Element>;
769
769
  //#endregion
770
770
  //#region src/extensions/full-screen-modal/full-screen-modal.d.ts
771
771
  type Props = PropsWithChildren<{
@@ -773,12 +773,12 @@ type Props = PropsWithChildren<{
773
773
  onClose: () => void;
774
774
  zIndex?: number;
775
775
  }>;
776
- declare const FullScreenModal: react68.MemoExoticComponent<({
776
+ declare const FullScreenModal: react51.MemoExoticComponent<({
777
777
  visible,
778
778
  onClose,
779
779
  children,
780
780
  zIndex
781
- }: Props) => react68.JSX.Element>;
781
+ }: Props) => react51.JSX.Element>;
782
782
  //#endregion
783
783
  //#region src/extensions/accordion/accordion.d.ts
784
784
  type AccordionProps<ItemT> = {
@@ -798,7 +798,7 @@ declare const Accordion: <ItemT extends {
798
798
  renderTrigger,
799
799
  renderExpanded,
800
800
  customized
801
- }: AccordionProps<ItemT>) => react83.JSX.Element;
801
+ }: AccordionProps<ItemT>) => react86.JSX.Element;
802
802
  //#endregion
803
803
  //#region src/extensions/index.d.ts
804
804
  declare const GridCardList: {
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
- import * as react16 from "react";
4
- import * as react0$1 from "react";
5
3
  import * as react15 from "react";
4
+ import * as react2 from "react";
5
+ import * as react20 from "react";
6
6
  import * as react13 from "react";
7
- import * as react5 from "react";
7
+ import * as react0$1 from "react";
8
+ import * as react10 from "react";
8
9
  import * as react0 from "react";
9
- import * as react9 from "react";
10
+ import * as react1 from "react";
11
+ import * as react11 from "react";
10
12
  import * as react7 from "react";
11
- import * as react8 from "react";
12
- import * as react10 from "react";
13
- import * as react6 from "react";
13
+ import * as react12 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";
@@ -30,28 +30,28 @@ type ButtonProps = PropsWithChildren<{
30
30
  type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
31
31
  //#endregion
32
32
  //#region src/base/button/button.d.ts
33
- declare const Button$1: react16.ForwardRefExoticComponent<{
33
+ declare const Button$1: react15.ForwardRefExoticComponent<{
34
34
  theme?: ButtonTheme;
35
35
  variant?: ButtonTheme;
36
36
  size?: "lg" | "md" | "sm";
37
- leftIcon?: keyof typeof icons | react16.ReactElement;
38
- rightIcon?: keyof typeof icons | react16.ReactElement;
37
+ leftIcon?: keyof typeof icons | react15.ReactElement;
38
+ rightIcon?: keyof typeof icons | react15.ReactElement;
39
39
  textWeight?: "light" | "medium" | "bold";
40
40
  } & {
41
- children?: react16.ReactNode | undefined;
42
- } & ButtonHTMLAttributes<HTMLButtonElement> & react16.RefAttributes<HTMLButtonElement>>;
41
+ children?: react15.ReactNode | undefined;
42
+ } & ButtonHTMLAttributes<HTMLButtonElement> & react15.RefAttributes<HTMLButtonElement>>;
43
43
  //#endregion
44
44
  //#region src/native/button/button.d.ts
45
- declare const Button: react0$1.ForwardRefExoticComponent<{
45
+ declare const Button: react2.ForwardRefExoticComponent<{
46
46
  theme?: ButtonTheme;
47
47
  variant?: ButtonTheme;
48
48
  size?: "lg" | "md" | "sm";
49
- leftIcon?: keyof typeof lucide_react0.icons | react0$1.ReactElement;
50
- rightIcon?: keyof typeof lucide_react0.icons | react0$1.ReactElement;
49
+ leftIcon?: keyof typeof lucide_react0.icons | react2.ReactElement;
50
+ rightIcon?: keyof typeof lucide_react0.icons | react2.ReactElement;
51
51
  textWeight?: "light" | "medium" | "bold";
52
52
  } & {
53
- children?: react0$1.ReactNode | undefined;
54
- } & TouchableOpacityProps & react0$1.RefAttributes<react_native0.View>>;
53
+ children?: react2.ReactNode | undefined;
54
+ } & TouchableOpacityProps & react2.RefAttributes<react_native0.View>>;
55
55
  //#endregion
56
56
  //#region tokens/js/color/variables.d.ts
57
57
  declare interface DesignToken {
@@ -419,7 +419,7 @@ declare const ColorSchemeProvider$1: ({
419
419
  }: PropsWithChildren<{
420
420
  colorScheme: ColorScheme;
421
421
  id?: string;
422
- }>) => react15.JSX.Element;
422
+ }>) => react20.JSX.Element;
423
423
  declare const useColorScheme$1: () => ThemeContextValue;
424
424
  //#endregion
425
425
  //#region src/native/contexts/color-scheme-context/color-scheme-context.d.ts
@@ -462,7 +462,7 @@ declare const IconButton: ({
462
462
  strokeWidth,
463
463
  fill,
464
464
  ...otherProps
465
- }: IconButtonProps) => react5.JSX.Element;
465
+ }: IconButtonProps) => react0$1.JSX.Element;
466
466
  //#endregion
467
467
  //#region src/native/modal/modal.types.d.ts
468
468
  type ModalProps = PropsWithChildren<{
@@ -477,7 +477,7 @@ declare const Modal: ({
477
477
  visible,
478
478
  transparent,
479
479
  onPressBackground
480
- }: ModalProps) => react0.JSX.Element;
480
+ }: ModalProps) => react10.JSX.Element;
481
481
  //#endregion
482
482
  //#region src/native/profile-thumbnail/profile-thumbnail.d.ts
483
483
  type ProfileThumbnailProps = {
@@ -493,7 +493,7 @@ declare const ProfileThumbnail: ({
493
493
  imageUrl,
494
494
  type,
495
495
  style
496
- }: ProfileThumbnailProps) => react9.JSX.Element;
496
+ }: ProfileThumbnailProps) => react0.JSX.Element;
497
497
  //#endregion
498
498
  //#region src/native/spinner/spinner.d.ts
499
499
  interface Props {
@@ -507,7 +507,7 @@ declare const Spinner: ({
507
507
  size,
508
508
  color,
509
509
  style
510
- }: Props) => react7.JSX.Element;
510
+ }: Props) => react1.JSX.Element;
511
511
  //#endregion
512
512
  //#region src/native/text/text.types.d.ts
513
513
  interface TextProps extends TextProps$1 {
@@ -520,13 +520,13 @@ declare const Text: ({
520
520
  weight,
521
521
  style,
522
522
  ...others
523
- }: TextProps) => react8.JSX.Element;
523
+ }: TextProps) => react11.JSX.Element;
524
524
  //#endregion
525
525
  //#region src/native/text-input/text-input.types.d.ts
526
526
  interface TextInputProps extends TextInputProps$1 {}
527
527
  //#endregion
528
528
  //#region src/native/text-input/text-input.d.ts
529
- declare const TextInput: react10.MemoExoticComponent<react10.ForwardRefExoticComponent<TextInputProps & react10.RefAttributes<TextInput$1>>>;
529
+ declare const TextInput: react7.MemoExoticComponent<react7.ForwardRefExoticComponent<TextInputProps & react7.RefAttributes<TextInput$1>>>;
530
530
  //#endregion
531
531
  //#region src/native/toast/toast.types.d.ts
532
532
  interface ToastProps {
@@ -542,6 +542,6 @@ declare const Toast: ({
542
542
  type,
543
543
  message,
544
544
  onPress
545
- }: ToastProps) => react6.JSX.Element;
545
+ }: ToastProps) => react12.JSX.Element;
546
546
  //#endregion
547
547
  export { Button, ColorSchemeContext, ColorSchemeProvider, IconButton, Modal, ModalProps, ProfileThumbnail, Spinner, Text, TextInput, TextInputProps, TextProps, Toast, ToastProps, ToastType, useColorScheme };
package/dist/native.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import * as react16 from "react";
2
- import * as react6 from "react";
3
1
  import * as react15 from "react";
2
+ import * as react0 from "react";
3
+ import * as react20 from "react";
4
4
  import * as react13 from "react";
5
- import * as react12 from "react";
6
- import * as react1 from "react";
7
- import * as react11 from "react";
5
+ import * as react4 from "react";
6
+ import * as react9 from "react";
8
7
  import * as react5 from "react";
9
- import * as react0$1 from "react";
10
- import * as react2 from "react";
11
- import * as react0 from "react";
8
+ import * as react6 from "react";
9
+ import * as react7 from "react";
10
+ import * as react10 from "react";
11
+ import * as react8 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";
@@ -30,28 +30,28 @@ type ButtonProps = PropsWithChildren<{
30
30
  type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
31
31
  //#endregion
32
32
  //#region src/base/button/button.d.ts
33
- declare const Button$1: react16.ForwardRefExoticComponent<{
33
+ declare const Button$1: react15.ForwardRefExoticComponent<{
34
34
  theme?: ButtonTheme;
35
35
  variant?: ButtonTheme;
36
36
  size?: "lg" | "md" | "sm";
37
- leftIcon?: keyof typeof icons$1 | react16.ReactElement;
38
- rightIcon?: keyof typeof icons$1 | react16.ReactElement;
37
+ leftIcon?: keyof typeof icons$1 | react15.ReactElement;
38
+ rightIcon?: keyof typeof icons$1 | react15.ReactElement;
39
39
  textWeight?: "light" | "medium" | "bold";
40
40
  } & {
41
- children?: react16.ReactNode | undefined;
42
- } & ButtonHTMLAttributes<HTMLButtonElement> & react16.RefAttributes<HTMLButtonElement>>;
41
+ children?: react15.ReactNode | undefined;
42
+ } & ButtonHTMLAttributes<HTMLButtonElement> & react15.RefAttributes<HTMLButtonElement>>;
43
43
  //#endregion
44
44
  //#region src/native/button/button.d.ts
45
- declare const Button: react6.ForwardRefExoticComponent<{
45
+ declare const Button: react0.ForwardRefExoticComponent<{
46
46
  theme?: ButtonTheme;
47
47
  variant?: ButtonTheme;
48
48
  size?: "lg" | "md" | "sm";
49
- leftIcon?: keyof typeof lucide_react0.icons | react6.ReactElement;
50
- rightIcon?: keyof typeof lucide_react0.icons | react6.ReactElement;
49
+ leftIcon?: keyof typeof lucide_react0.icons | react0.ReactElement;
50
+ rightIcon?: keyof typeof lucide_react0.icons | react0.ReactElement;
51
51
  textWeight?: "light" | "medium" | "bold";
52
52
  } & {
53
- children?: react6.ReactNode | undefined;
54
- } & TouchableOpacityProps & react6.RefAttributes<react_native0.View>>;
53
+ children?: react0.ReactNode | undefined;
54
+ } & TouchableOpacityProps & react0.RefAttributes<react_native0.View>>;
55
55
  //#endregion
56
56
  //#region tokens/js/color/variables.d.ts
57
57
  declare interface DesignToken {
@@ -419,7 +419,7 @@ declare const ColorSchemeProvider$1: ({
419
419
  }: PropsWithChildren<{
420
420
  colorScheme: ColorScheme;
421
421
  id?: string;
422
- }>) => react15.JSX.Element;
422
+ }>) => react20.JSX.Element;
423
423
  declare const useColorScheme$1: () => ThemeContextValue;
424
424
  //#endregion
425
425
  //#region src/native/contexts/color-scheme-context/color-scheme-context.d.ts
@@ -462,7 +462,7 @@ declare const IconButton: ({
462
462
  strokeWidth,
463
463
  fill,
464
464
  ...otherProps
465
- }: IconButtonProps) => react12.JSX.Element;
465
+ }: IconButtonProps) => react4.JSX.Element;
466
466
  //#endregion
467
467
  //#region src/native/modal/modal.types.d.ts
468
468
  type ModalProps = PropsWithChildren<{
@@ -477,7 +477,7 @@ declare const Modal: ({
477
477
  visible,
478
478
  transparent,
479
479
  onPressBackground
480
- }: ModalProps) => react1.JSX.Element;
480
+ }: ModalProps) => react9.JSX.Element;
481
481
  //#endregion
482
482
  //#region src/native/profile-thumbnail/profile-thumbnail.d.ts
483
483
  type ProfileThumbnailProps = {
@@ -493,7 +493,7 @@ declare const ProfileThumbnail: ({
493
493
  imageUrl,
494
494
  type,
495
495
  style
496
- }: ProfileThumbnailProps) => react11.JSX.Element;
496
+ }: ProfileThumbnailProps) => react5.JSX.Element;
497
497
  //#endregion
498
498
  //#region src/native/spinner/spinner.d.ts
499
499
  interface Props {
@@ -507,7 +507,7 @@ declare const Spinner: ({
507
507
  size,
508
508
  color,
509
509
  style
510
- }: Props) => react5.JSX.Element;
510
+ }: Props) => react6.JSX.Element;
511
511
  //#endregion
512
512
  //#region src/native/text/text.types.d.ts
513
513
  interface TextProps extends TextProps$1 {
@@ -520,13 +520,13 @@ declare const Text: ({
520
520
  weight,
521
521
  style,
522
522
  ...others
523
- }: TextProps) => react0$1.JSX.Element;
523
+ }: TextProps) => react7.JSX.Element;
524
524
  //#endregion
525
525
  //#region src/native/text-input/text-input.types.d.ts
526
526
  interface TextInputProps extends TextInputProps$1 {}
527
527
  //#endregion
528
528
  //#region src/native/text-input/text-input.d.ts
529
- declare const TextInput: react2.MemoExoticComponent<react2.ForwardRefExoticComponent<TextInputProps & react2.RefAttributes<TextInput$1>>>;
529
+ declare const TextInput: react10.MemoExoticComponent<react10.ForwardRefExoticComponent<TextInputProps & react10.RefAttributes<TextInput$1>>>;
530
530
  //#endregion
531
531
  //#region src/native/toast/toast.types.d.ts
532
532
  interface ToastProps {
@@ -542,6 +542,6 @@ declare const Toast: ({
542
542
  type,
543
543
  message,
544
544
  onPress
545
- }: ToastProps) => react0.JSX.Element;
545
+ }: ToastProps) => react8.JSX.Element;
546
546
  //#endregion
547
547
  export { Button, ColorSchemeContext, ColorSchemeProvider, IconButton, Modal, ModalProps, ProfileThumbnail, Spinner, Text, TextInput, TextInputProps, TextProps, Toast, ToastProps, ToastType, useColorScheme };
package/dist/next.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import * as react81 from "react";
2
- import * as react80 from "react";
3
- import * as react82 from "react";
4
- import * as react84 from "react";
1
+ import * as react61 from "react";
2
+ import * as react64 from "react";
3
+ import * as react59 from "react";
4
+ import * as react65 from "react";
5
5
  import * as react43 from "react";
6
6
  import * as react0 from "react";
7
7
  import { AnchorHTMLAttributes, DependencyList, MouseEventHandler, PropsWithChildren, ReactNode } from "react";
@@ -69,7 +69,7 @@ declare function GlobalLink({
69
69
  onClick,
70
70
  target,
71
71
  ...otherProps
72
- }: PropsWithChildren<LinkProps & AnchorHTMLAttributes<HTMLAnchorElement>>): react81.JSX.Element;
72
+ }: PropsWithChildren<LinkProps & AnchorHTMLAttributes<HTMLAnchorElement>>): react61.JSX.Element;
73
73
  //#endregion
74
74
  //#region src/next/global-link/global-link.store.d.ts
75
75
  declare function useLinkStore(): {
@@ -86,13 +86,13 @@ declare function RouteLoading({
86
86
  deps
87
87
  }: PropsWithChildren<{
88
88
  deps?: DependencyList;
89
- }>): react80.JSX.Element;
89
+ }>): react64.JSX.Element;
90
90
  //#endregion
91
91
  //#region src/next/new-tab-link/new-tab-link.d.ts
92
- declare const NewTabLink: react82.MemoExoticComponent<({
92
+ declare const NewTabLink: react59.MemoExoticComponent<({
93
93
  children,
94
94
  ...linkProps
95
- }: PropsWithChildren<Omit<LinkProps, "target" | "rel">>) => react82.JSX.Element>;
95
+ }: PropsWithChildren<Omit<LinkProps, "target" | "rel">>) => react59.JSX.Element>;
96
96
  //#endregion
97
97
  //#region src/next/app-footer/app-footer.d.ts
98
98
  declare function AppFooter({
@@ -105,7 +105,7 @@ declare function AppFooter({
105
105
  playStoreUrl: string;
106
106
  instagramUrl: string;
107
107
  xUrl: string;
108
- }): react84.JSX.Element;
108
+ }): react65.JSX.Element;
109
109
  //#endregion
110
110
  //#region src/next/app-header/index.d.ts
111
111
  declare const AppHeader: {