@coldsurf/ocean-road 1.16.0-alpha.2 → 1.16.0-alpha.3

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 CHANGED
@@ -1,27 +1,27 @@
1
1
  import * as react0$1 from "react";
2
2
  import * as react0 from "react";
3
- import * as react46 from "react";
4
- import * as react81 from "react";
5
- import * as react78 from "react";
6
- import * as react75 from "react";
7
- import * as react53 from "react";
8
- import * as react51 from "react";
9
- import * as react57 from "react";
10
- import * as react67 from "react";
11
- import * as react62 from "react";
12
- import * as react73 from "react";
3
+ import * as react56 from "react";
4
+ import * as react61 from "react";
5
+ import * as react70 from "react";
6
+ import * as react55 from "react";
13
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";
13
+ import * as react45 from "react";
14
14
  import * as react40 from "react";
15
- import * as react87 from "react";
16
- import * as react54 from "react";
15
+ import * as react64 from "react";
16
+ import * as react77 from "react";
17
17
  import * as react91 from "react";
18
- import * as react65 from "react";
18
+ import * as react93 from "react";
19
19
  import * as react23 from "react";
20
- import * as react84 from "react";
20
+ import * as react88 from "react";
21
21
  import * as react38 from "react";
22
- import * as react95 from "react";
23
- import * as react76 from "react";
24
- import * as react56 from "react";
22
+ import * as react66 from "react";
23
+ import * as react68 from "react";
24
+ import * as react83 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";
@@ -217,7 +217,6 @@ declare const tokens: {
217
217
  type ColorDesignTokens = typeof tokens;
218
218
  type DarkColorDesignTokens = typeof darkColorDesignTokens;
219
219
  type LightColorDesignTokens = typeof lightColorDesignTokens;
220
- //# sourceMappingURL=tokens.types.d.ts.map
221
220
  //#endregion
222
221
  //#region src/tokens/tokens.d.ts
223
222
  declare const colors: ColorDesignTokens;
@@ -379,7 +378,6 @@ declare const typography: {
379
378
  readonly relaxed: "var(--typography-line-height-relaxed)";
380
379
  };
381
380
  };
382
- //# sourceMappingURL=tokens.d.ts.map
383
381
  //#endregion
384
382
  //#region src/contexts/ColorSchemeProvider.d.ts
385
383
  type ColorScheme = 'light' | 'dark' | 'userPreference';
@@ -404,7 +402,6 @@ declare const ColorSchemeProvider: ({
404
402
  id?: string;
405
403
  }>) => react0$1.JSX.Element;
406
404
  declare const useColorScheme: () => ThemeContextValue;
407
- //# sourceMappingURL=ColorSchemeProvider.d.ts.map
408
405
  //#endregion
409
406
  //#region src/GlobalStyle.d.ts
410
407
  type Props$8 = {
@@ -416,35 +413,30 @@ declare function GlobalStyle({
416
413
  //#endregion
417
414
  //#region src/base/button/button.types.d.ts
418
415
  type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
419
- //# sourceMappingURL=button.types.d.ts.map
420
416
  //#endregion
421
417
  //#region src/base/button/button.d.ts
422
- declare const Button: react46.ForwardRefExoticComponent<{
418
+ declare const Button: react56.ForwardRefExoticComponent<{
423
419
  theme?: ButtonTheme;
424
420
  variant?: ButtonTheme;
425
421
  size?: "lg" | "md" | "sm";
426
- leftIcon?: keyof typeof icons | react46.ReactElement;
427
- rightIcon?: keyof typeof icons | react46.ReactElement;
422
+ leftIcon?: keyof typeof icons | react56.ReactElement;
423
+ rightIcon?: keyof typeof icons | react56.ReactElement;
428
424
  textWeight?: "light" | "medium" | "bold";
429
425
  } & {
430
- children?: react46.ReactNode | undefined;
431
- } & ButtonHTMLAttributes<HTMLButtonElement> & react46.RefAttributes<HTMLButtonElement>>;
432
- //# sourceMappingURL=button.d.ts.map
426
+ children?: react56.ReactNode | undefined;
427
+ } & ButtonHTMLAttributes<HTMLButtonElement> & react56.RefAttributes<HTMLButtonElement>>;
433
428
  //#endregion
434
429
  //#region src/base/checkbox/checkbox.d.ts
435
- declare const Checkbox: react81.MemoExoticComponent<react81.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "formAction"> & {
430
+ declare const Checkbox: react61.MemoExoticComponent<react61.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "formAction" | "size"> & {
436
431
  size?: "lg" | "md" | "sm";
437
432
  labelText?: string;
438
- } & react81.RefAttributes<HTMLInputElement>>>;
439
- //# sourceMappingURL=checkbox.d.ts.map
433
+ } & react61.RefAttributes<HTMLInputElement>>>;
440
434
  //#endregion
441
435
  //#region src/base/icon-button/icon-button.d.ts
442
- declare const IconButton: react78.ForwardRefExoticComponent<react78.ButtonHTMLAttributes<HTMLButtonElement> & react78.RefAttributes<HTMLButtonElement>>;
443
- //# sourceMappingURL=icon-button.d.ts.map
436
+ declare const IconButton: react70.ForwardRefExoticComponent<react70.ButtonHTMLAttributes<HTMLButtonElement> & react70.RefAttributes<HTMLButtonElement>>;
444
437
  //#endregion
445
438
  //#region src/base/icon-button/icon-button.types.d.ts
446
439
  type IconButtonProps = {} & ButtonHTMLAttributes<HTMLButtonElement>;
447
- //# sourceMappingURL=icon-button.types.d.ts.map
448
440
  //#endregion
449
441
  //#region src/base/modal/modal.d.ts
450
442
  declare const Modal: ({
@@ -456,12 +448,10 @@ declare const Modal: ({
456
448
  visible: boolean;
457
449
  onClose: () => void;
458
450
  zIndex?: number;
459
- }>) => react75.JSX.Element;
460
- //# sourceMappingURL=modal.d.ts.map
451
+ }>) => react55.JSX.Element;
461
452
  //#endregion
462
453
  //#region src/base/spinner/spinner.types.d.ts
463
454
  type SpinnerVariant = 'page-overlay';
464
- //# sourceMappingURL=spinner.types.d.ts.map
465
455
  //#endregion
466
456
  //#region src/base/spinner/spinner.d.ts
467
457
  type Props$7 = {
@@ -471,7 +461,7 @@ type Props$7 = {
471
461
  declare const Spinner: ({
472
462
  variant,
473
463
  className
474
- }: Props$7) => react53.JSX.Element;
464
+ }: Props$7) => react44.JSX.Element;
475
465
  //#endregion
476
466
  //#region src/base/text/text.styled.d.ts
477
467
  type TextVariant = 'heading1' | 'heading2' | 'heading3' | 'body1' | 'body2' | 'caption' | 'label';
@@ -490,7 +480,7 @@ type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
490
480
  as?: ElementType<any, keyof JSX.IntrinsicElements>;
491
481
  numberOfLines?: number;
492
482
  } & Pick<StyledTextContainerProps, 'variant' | 'size' | 'weight'>>;
493
- declare const Text: react51.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react51.RefAttributes<HTMLSpanElement>>;
483
+ declare const Text: react73.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react73.RefAttributes<HTMLSpanElement>>;
494
484
  //#endregion
495
485
  //#region src/base/text-area/text-area.types.d.ts
496
486
  type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
@@ -499,22 +489,19 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
499
489
  noResize?: boolean;
500
490
  isError?: boolean;
501
491
  };
502
- //# sourceMappingURL=text-area.types.d.ts.map
503
492
  //#endregion
504
493
  //#region src/base/text-area/text-area.d.ts
505
- declare const TextArea: react57.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react57.RefAttributes<HTMLTextAreaElement>>;
506
- //# sourceMappingURL=text-area.d.ts.map
494
+ declare const TextArea: react95.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react95.RefAttributes<HTMLTextAreaElement>>;
507
495
  //#endregion
508
496
  //#region src/base/text-input/text-input.d.ts
509
- declare const TextInput: react67.ForwardRefExoticComponent<react67.InputHTMLAttributes<HTMLInputElement> & {
497
+ declare const TextInput: react47.ForwardRefExoticComponent<react47.InputHTMLAttributes<HTMLInputElement> & {
510
498
  label?: string;
511
- labelStyle?: react67.CSSProperties;
499
+ labelStyle?: react47.CSSProperties;
512
500
  isError?: boolean;
513
501
  required?: boolean;
514
- left?: react67.ReactNode;
515
- right?: react67.ReactNode;
516
- } & react67.RefAttributes<HTMLInputElement>>;
517
- //# sourceMappingURL=text-input.d.ts.map
502
+ left?: react47.ReactNode;
503
+ right?: react47.ReactNode;
504
+ } & react47.RefAttributes<HTMLInputElement>>;
518
505
  //#endregion
519
506
  //#region src/base/text-input/text-input.types.d.ts
520
507
  type TextInputProps = InputHTMLAttributes<HTMLInputElement> & {
@@ -526,7 +513,6 @@ type TextInputProps = InputHTMLAttributes<HTMLInputElement> & {
526
513
  right?: ReactNode;
527
514
  };
528
515
  type TextInputRef = HTMLInputElement;
529
- //# sourceMappingURL=text-input.types.d.ts.map
530
516
  //#endregion
531
517
  //#region src/base/toast/toast.types.d.ts
532
518
  type ToastProps = {
@@ -534,7 +520,6 @@ type ToastProps = {
534
520
  zIndex?: number;
535
521
  onClose: () => void;
536
522
  };
537
- //# sourceMappingURL=toast.types.d.ts.map
538
523
  //#endregion
539
524
  //#region src/base/toast/toast.d.ts
540
525
  /**
@@ -544,15 +529,14 @@ declare const Toast: ({
544
529
  message,
545
530
  zIndex,
546
531
  onClose
547
- }: ToastProps) => react62.JSX.Element;
548
- //# sourceMappingURL=toast.d.ts.map
532
+ }: ToastProps) => react84.JSX.Element;
549
533
  //#endregion
550
534
  //#region src/base/switch/switch.d.ts
551
535
  interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
552
536
  checked: boolean;
553
537
  onChange: (checked: boolean) => void;
554
538
  }
555
- declare const Switch: react73.ForwardRefExoticComponent<SwitchProps & react73.RefAttributes<HTMLButtonElement>>;
539
+ declare const Switch: react53.ForwardRefExoticComponent<SwitchProps & react53.RefAttributes<HTMLButtonElement>>;
556
540
  //#endregion
557
541
  //#region src/base/badge/badge.d.ts
558
542
  type Props$6 = {
@@ -561,7 +545,7 @@ type Props$6 = {
561
545
  isHighlighted?: boolean;
562
546
  children?: string | ReactElement;
563
547
  };
564
- declare const Badge: react44.ForwardRefExoticComponent<Props$6 & react44.RefAttributes<HTMLDivElement>>;
548
+ declare const Badge: react45.ForwardRefExoticComponent<Props$6 & react45.RefAttributes<HTMLDivElement>>;
565
549
  //#endregion
566
550
  //#region src/utils/breakpoints.d.ts
567
551
  declare const breakpoints: {
@@ -580,7 +564,6 @@ declare const media: Record<BreakpointKey, (styles: SerializedStyles | string) =
580
564
  type WithId<T> = {
581
565
  id: string;
582
566
  } & T;
583
- //# sourceMappingURL=with-id.d.ts.map
584
567
  //#endregion
585
568
  //#region src/extensions/grid-card-item/grid-card-item.d.ts
586
569
  type GridCardListItemProps = WithId<{
@@ -611,7 +594,6 @@ declare const ErrorUI: {
611
594
  onClickRetry: () => void;
612
595
  }) => react40.JSX.Element>;
613
596
  };
614
- //# sourceMappingURL=index.d.ts.map
615
597
  //#endregion
616
598
  //#region src/extensions/app-logo/app-logo.d.ts
617
599
  type LogoTheme = 'christmas' | 'transparent' | 'white-background';
@@ -619,19 +601,19 @@ interface Props$5 {
619
601
  type?: 'round' | 'square';
620
602
  logoTheme: LogoTheme;
621
603
  }
622
- declare const AppLogo: react87.MemoExoticComponent<({
604
+ declare const AppLogo: react64.MemoExoticComponent<({
623
605
  type,
624
606
  logoTheme,
625
607
  ...otherProps
626
- }: Props$5) => react87.JSX.Element>;
608
+ }: Props$5) => react64.JSX.Element>;
627
609
  //#endregion
628
610
  //#region src/extensions/app-store-button/app-store-button.d.ts
629
611
  type Props$4 = {
630
612
  store: 'app-store' | 'google-play';
631
613
  };
632
- declare const AppStoreButton: react54.MemoExoticComponent<({
614
+ declare const AppStoreButton: react77.MemoExoticComponent<({
633
615
  store
634
- }: Props$4) => react54.JSX.Element>;
616
+ }: Props$4) => react77.JSX.Element>;
635
617
  //#endregion
636
618
  //#region src/extensions/brand-icon/brand-icon.d.ts
637
619
  interface Props$3 extends SVGProps<SVGSVGElement> {
@@ -648,16 +630,15 @@ interface Props$2 extends React.SVGProps<SVGSVGElement> {
648
630
  social: 'instagram' | 'x' | 'facebook' | 'youtube';
649
631
  ref?: Ref<SVGSVGElement>;
650
632
  }
651
- declare const SNSIcon: react65.MemoExoticComponent<({
633
+ declare const SNSIcon: react93.MemoExoticComponent<({
652
634
  social,
653
635
  ...svgProps
654
- }: Props$2) => react65.JSX.Element>;
636
+ }: Props$2) => react93.JSX.Element>;
655
637
  //#endregion
656
638
  //#region src/extensions/dropdown/dropdown.types.d.ts
657
639
  type DropdownMenuItemRef = {
658
640
  close: () => void;
659
641
  };
660
- //# sourceMappingURL=dropdown.types.d.ts.map
661
642
  //#endregion
662
643
  //#region src/extensions/dropdown/dropdown.d.ts
663
644
  type Position = {
@@ -736,18 +717,16 @@ declare const Dropdown: {
736
717
  };
737
718
  //#endregion
738
719
  //#region src/extensions/menu-item/menu-item.d.ts
739
- declare const MenuItem: react84.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
720
+ declare const MenuItem: react88.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
740
721
  isLoading?: boolean;
741
722
  isCurrent?: boolean;
742
723
  icon?: React.ReactNode;
743
724
  } & {
744
- children?: react84.ReactNode | undefined;
745
- } & react84.RefAttributes<HTMLDivElement>>;
746
- //# sourceMappingURL=menu-item.d.ts.map
725
+ children?: react88.ReactNode | undefined;
726
+ } & react88.RefAttributes<HTMLDivElement>>;
747
727
  //#endregion
748
728
  //#region src/extensions/app-header/app-header.types.d.ts
749
729
  type AnimatedHeaderAnimation = 'show' | 'hide';
750
- //# sourceMappingURL=app-header.types.d.ts.map
751
730
  //#endregion
752
731
  //#region src/extensions/app-header/app-header.d.ts
753
732
  type AnimatedHeaderProps = PropsWithChildren<{
@@ -777,7 +756,6 @@ declare const AppHeader: {
777
756
  zIndex
778
757
  }: AnimatedHeaderProps) => react38.JSX.Element>;
779
758
  };
780
- //# sourceMappingURL=index.d.ts.map
781
759
  //#endregion
782
760
  //#region src/extensions/color-scheme-toggle/color-scheme-toggle.d.ts
783
761
  type Props$1 = {
@@ -785,9 +763,9 @@ type Props$1 = {
785
763
  setTheme: ReturnType<typeof useColorScheme>['setTheme'];
786
764
  }) => void;
787
765
  };
788
- declare const ColorSchemeToggle: react95.MemoExoticComponent<({
766
+ declare const ColorSchemeToggle: react66.MemoExoticComponent<({
789
767
  onToggle
790
- }: Props$1) => react95.JSX.Element>;
768
+ }: Props$1) => react66.JSX.Element>;
791
769
  //#endregion
792
770
  //#region src/extensions/full-screen-modal/full-screen-modal.d.ts
793
771
  type Props = PropsWithChildren<{
@@ -795,12 +773,12 @@ type Props = PropsWithChildren<{
795
773
  onClose: () => void;
796
774
  zIndex?: number;
797
775
  }>;
798
- declare const FullScreenModal: react76.MemoExoticComponent<({
776
+ declare const FullScreenModal: react68.MemoExoticComponent<({
799
777
  visible,
800
778
  onClose,
801
779
  children,
802
780
  zIndex
803
- }: Props) => react76.JSX.Element>;
781
+ }: Props) => react68.JSX.Element>;
804
782
  //#endregion
805
783
  //#region src/extensions/accordion/accordion.d.ts
806
784
  type AccordionProps<ItemT> = {
@@ -820,8 +798,7 @@ declare const Accordion: <ItemT extends {
820
798
  renderTrigger,
821
799
  renderExpanded,
822
800
  customized
823
- }: AccordionProps<ItemT>) => react56.JSX.Element;
824
- //# sourceMappingURL=accordion.d.ts.map
801
+ }: AccordionProps<ItemT>) => react83.JSX.Element;
825
802
  //#endregion
826
803
  //#region src/extensions/index.d.ts
827
804
  declare const GridCardList: {
@@ -904,8 +881,5 @@ declare const GridCardList: {
904
881
  //#endregion
905
882
  //#region src/constants.d.ts
906
883
  declare const WEB_APP_HEADER_HEIGHT = "100px";
907
- //# sourceMappingURL=constants.d.ts.map
908
-
909
884
  //#endregion
910
- export { Accordion, AccordionProps, AppHeader, AppLogo, AppStoreButton, Badge, BrandIcon, Button, Checkbox, ColorDesignTokens, ColorScheme, ColorSchemeProvider, ColorSchemeToggle, DarkColorDesignTokens, Dropdown, type DropdownCoreProps, type DropdownMenuItemRef, ErrorUI, FullScreenModal, GlobalStyle, GridCardList, type GridCardListItemProps, IconButton, IconButtonProps, LightColorDesignTokens, MenuItem, Modal, SNSIcon, Spinner, SpinnerVariant, Switch, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextInputRef, Theme, Toast, ToastProps, WEB_APP_HEADER_HEIGHT, breakpoints, colors, darkModeTheme, generateCssVar, lightModeTheme, media, semanticVariables, semantics, themeToStyles, themeVariables, typography, useColorScheme };
911
- //# sourceMappingURL=index.d.ts.map
885
+ export { Accordion, AccordionProps, AppHeader, AppLogo, AppStoreButton, Badge, BrandIcon, Button, Checkbox, ColorDesignTokens, ColorScheme, ColorSchemeProvider, ColorSchemeToggle, DarkColorDesignTokens, Dropdown, type DropdownCoreProps, type DropdownMenuItemRef, ErrorUI, FullScreenModal, GlobalStyle, GridCardList, type GridCardListItemProps, IconButton, IconButtonProps, LightColorDesignTokens, MenuItem, Modal, SNSIcon, Spinner, SpinnerVariant, Switch, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextInputRef, Theme, Toast, ToastProps, WEB_APP_HEADER_HEIGHT, breakpoints, colors, darkModeTheme, generateCssVar, lightModeTheme, media, semanticVariables, semantics, themeToStyles, themeVariables, typography, useColorScheme };
package/dist/index.js CHANGED
@@ -743,5 +743,4 @@ ${$t(r)} }`}}),C(`div`,{className:o,children:e})]})};var an=rn;const on=()=>{let
743
743
  margin: 20px 0;
744
744
  `,JW=D.div`
745
745
  margin-top: 0.5rem;
746
- `,YW=({accordionKey:e,item:t,renderTrigger:n,renderExpanded:r})=>w(qW,{children:[n(t),e===t.accordionKey&&C(JW,{children:r({selectedItem:t})})]}),XW=({data:e,renderTrigger:t,renderExpanded:n,customized:r})=>{let[i,a]=KW();return w(S,{children:[e.map(e=>C(YW,{accordionKey:i,item:e,renderTrigger:e=>C(`div`,{onClick:()=>a(t=>t===e.accordionKey?null:e.accordionKey),children:t(e)},e.accordionKey),renderExpanded:({selectedItem:e})=>C(S,{children:n({selectedItem:e})})},e.accordionKey)),r]})},ZW={List:AH,MasonryList:FH,Item:dH,MasonryItem:bH,LoadMore:SH,Empty:zH,ImageEmpty:wV,Image:CV};export{XW as Accordion,LW as AppHeader,QH as AppLogo,hU as AppStoreButton,yV as Badge,dU as BrandIcon,oj as Button,dj as Checkbox,an as ColorSchemeProvider,HW as ColorSchemeToggle,EW as Dropdown,KH as ErrorUI,GW as FullScreenModal,ln as GlobalStyle,ZW as GridCardList,pj as IconButton,xW as MenuItem,XB as Modal,MU as SNSIcon,tV as Spinner,gV as Switch,j as Text,aV as TextArea,cV as TextInput,uV as Toast,IH as WEB_APP_HEADER_HEIGHT,xV as breakpoints,O as colors,Jt as darkModeTheme,Yt as generateCssVar,qt as lightModeTheme,K as media,Gt as semanticVariables,k as semantics,$t as themeToStyles,Qt as themeVariables,Kt as typography,on as useColorScheme};
747
- //# sourceMappingURL=index.js.map
746
+ `,YW=({accordionKey:e,item:t,renderTrigger:n,renderExpanded:r})=>w(qW,{children:[n(t),e===t.accordionKey&&C(JW,{children:r({selectedItem:t})})]}),XW=({data:e,renderTrigger:t,renderExpanded:n,customized:r})=>{let[i,a]=KW();return w(S,{children:[e.map(e=>C(YW,{accordionKey:i,item:e,renderTrigger:e=>C(`div`,{onClick:()=>a(t=>t===e.accordionKey?null:e.accordionKey),children:t(e)},e.accordionKey),renderExpanded:({selectedItem:e})=>C(S,{children:n({selectedItem:e})})},e.accordionKey)),r]})},ZW={List:AH,MasonryList:FH,Item:dH,MasonryItem:bH,LoadMore:SH,Empty:zH,ImageEmpty:wV,Image:CV};export{XW as Accordion,LW as AppHeader,QH as AppLogo,hU as AppStoreButton,yV as Badge,dU as BrandIcon,oj as Button,dj as Checkbox,an as ColorSchemeProvider,HW as ColorSchemeToggle,EW as Dropdown,KH as ErrorUI,GW as FullScreenModal,ln as GlobalStyle,ZW as GridCardList,pj as IconButton,xW as MenuItem,XB as Modal,MU as SNSIcon,tV as Spinner,gV as Switch,j as Text,aV as TextArea,cV as TextInput,uV as Toast,IH as WEB_APP_HEADER_HEIGHT,xV as breakpoints,O as colors,Jt as darkModeTheme,Yt as generateCssVar,qt as lightModeTheme,K as media,Gt as semanticVariables,k as semantics,$t as themeToStyles,Qt as themeVariables,Kt as typography,on as useColorScheme};
package/dist/native.cjs CHANGED
@@ -90,5 +90,4 @@ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=
90
90
  font-weight: 700;
91
91
  color: ${S.oc.white.value};
92
92
  font-size: 14px;
93
- `,ye=({type:e,message:t,onPress:n})=>{let r=(0,l.useCallback)(e=>{n&&n(e)},[n]);return(0,p.jsx)(ge,{children:(0,p.jsx)(_e,{type:e,onPress:r,children:(0,p.jsx)(ve,{children:t})})})};exports.Button=A,exports.ColorSchemeContext=j,exports.ColorSchemeProvider=M,exports.IconButton=Y,exports.Modal=ce,exports.ProfileThumbnail=ue,exports.Spinner=pe,exports.Text=E,exports.TextInput=he,exports.Toast=ye,exports.useColorScheme=N;
94
- //# sourceMappingURL=native.cjs.map
93
+ `,ye=({type:e,message:t,onPress:n})=>{let r=(0,l.useCallback)(e=>{n&&n(e)},[n]);return(0,p.jsx)(ge,{children:(0,p.jsx)(_e,{type:e,onPress:r,children:(0,p.jsx)(ve,{children:t})})})};exports.Button=A,exports.ColorSchemeContext=j,exports.ColorSchemeProvider=M,exports.IconButton=Y,exports.Modal=ce,exports.ProfileThumbnail=ue,exports.Spinner=pe,exports.Text=E,exports.TextInput=he,exports.Toast=ye,exports.useColorScheme=N;
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 react15 from "react";
3
+ import * as react16 from "react";
4
4
  import * as react0$1 from "react";
5
- import * as react20 from "react";
5
+ import * as react15 from "react";
6
6
  import * as react13 from "react";
7
- import * as react12 from "react";
8
- import * as react7 from "react";
9
- import * as react6 from "react";
10
7
  import * as react5 from "react";
11
- import * as react11 from "react";
12
- import * as react8 from "react";
13
8
  import * as react0 from "react";
9
+ import * as react9 from "react";
10
+ import * as react7 from "react";
11
+ import * as react8 from "react";
12
+ import * as react10 from "react";
13
+ import * as react6 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";
@@ -28,20 +28,18 @@ type ButtonProps = PropsWithChildren<{
28
28
  textWeight?: 'light' | 'medium' | 'bold';
29
29
  }>;
30
30
  type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
31
- //# sourceMappingURL=button.types.d.ts.map
32
31
  //#endregion
33
32
  //#region src/base/button/button.d.ts
34
- declare const Button$1: react15.ForwardRefExoticComponent<{
33
+ declare const Button$1: react16.ForwardRefExoticComponent<{
35
34
  theme?: ButtonTheme;
36
35
  variant?: ButtonTheme;
37
36
  size?: "lg" | "md" | "sm";
38
- leftIcon?: keyof typeof icons | react15.ReactElement;
39
- rightIcon?: keyof typeof icons | react15.ReactElement;
37
+ leftIcon?: keyof typeof icons | react16.ReactElement;
38
+ rightIcon?: keyof typeof icons | react16.ReactElement;
40
39
  textWeight?: "light" | "medium" | "bold";
41
40
  } & {
42
- children?: react15.ReactNode | undefined;
43
- } & ButtonHTMLAttributes<HTMLButtonElement> & react15.RefAttributes<HTMLButtonElement>>;
44
- //# sourceMappingURL=button.d.ts.map
41
+ children?: react16.ReactNode | undefined;
42
+ } & ButtonHTMLAttributes<HTMLButtonElement> & react16.RefAttributes<HTMLButtonElement>>;
45
43
  //#endregion
46
44
  //#region src/native/button/button.d.ts
47
45
  declare const Button: react0$1.ForwardRefExoticComponent<{
@@ -54,7 +52,6 @@ declare const Button: react0$1.ForwardRefExoticComponent<{
54
52
  } & {
55
53
  children?: react0$1.ReactNode | undefined;
56
54
  } & TouchableOpacityProps & react0$1.RefAttributes<react_native0.View>>;
57
- //# sourceMappingURL=button.d.ts.map
58
55
  //#endregion
59
56
  //#region tokens/js/color/variables.d.ts
60
57
  declare interface DesignToken {
@@ -239,7 +236,6 @@ declare const tokens: {
239
236
  type ColorDesignTokens = typeof tokens;
240
237
  type DarkColorDesignTokens = typeof darkColorDesignTokens;
241
238
  type LightColorDesignTokens = typeof lightColorDesignTokens;
242
- //# sourceMappingURL=tokens.types.d.ts.map
243
239
  //#endregion
244
240
  //#region src/tokens/tokens.d.ts
245
241
  declare const colors: ColorDesignTokens;
@@ -401,7 +397,6 @@ declare const typography: {
401
397
  readonly relaxed: "var(--typography-line-height-relaxed)";
402
398
  };
403
399
  };
404
- //# sourceMappingURL=tokens.d.ts.map
405
400
  //#endregion
406
401
  //#region src/contexts/ColorSchemeProvider.d.ts
407
402
  type ColorScheme = 'light' | 'dark' | 'userPreference';
@@ -424,9 +419,8 @@ declare const ColorSchemeProvider$1: ({
424
419
  }: PropsWithChildren<{
425
420
  colorScheme: ColorScheme;
426
421
  id?: string;
427
- }>) => react20.JSX.Element;
422
+ }>) => react15.JSX.Element;
428
423
  declare const useColorScheme$1: () => ThemeContextValue;
429
- //# sourceMappingURL=ColorSchemeProvider.d.ts.map
430
424
  //#endregion
431
425
  //#region src/native/contexts/color-scheme-context/color-scheme-context.d.ts
432
426
  declare const ColorSchemeContext: react13.Context<{
@@ -445,7 +439,6 @@ declare const useColorScheme: () => {
445
439
  semantics: (typeof semanticVariables)["light"]["color"] | (typeof semanticVariables)["dark"]["color"];
446
440
  setColorScheme: (colorScheme: ColorScheme) => void;
447
441
  };
448
- //# sourceMappingURL=color-scheme-context.d.ts.map
449
442
  //#endregion
450
443
  //#region src/native/icon-button/icon-button.types.d.ts
451
444
  interface IconButtonProps extends TouchableOpacityProps {
@@ -457,7 +450,6 @@ interface IconButtonProps extends TouchableOpacityProps {
457
450
  fill?: ColorValue;
458
451
  }
459
452
  type IconButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
460
- //# sourceMappingURL=icon-button.types.d.ts.map
461
453
  //#endregion
462
454
  //#region src/native/icon-button/icon-button.d.ts
463
455
  declare const IconButton: ({
@@ -470,8 +462,7 @@ declare const IconButton: ({
470
462
  strokeWidth,
471
463
  fill,
472
464
  ...otherProps
473
- }: IconButtonProps) => react12.JSX.Element;
474
- //# sourceMappingURL=icon-button.d.ts.map
465
+ }: IconButtonProps) => react5.JSX.Element;
475
466
  //#endregion
476
467
  //#region src/native/modal/modal.types.d.ts
477
468
  type ModalProps = PropsWithChildren<{
@@ -479,7 +470,6 @@ type ModalProps = PropsWithChildren<{
479
470
  transparent?: boolean;
480
471
  onPressBackground?: (event: GestureResponderEvent) => void;
481
472
  }>;
482
- //# sourceMappingURL=modal.types.d.ts.map
483
473
  //#endregion
484
474
  //#region src/native/modal/modal.d.ts
485
475
  declare const Modal: ({
@@ -487,8 +477,7 @@ declare const Modal: ({
487
477
  visible,
488
478
  transparent,
489
479
  onPressBackground
490
- }: ModalProps) => react7.JSX.Element;
491
- //# sourceMappingURL=modal.d.ts.map
480
+ }: ModalProps) => react0.JSX.Element;
492
481
  //#endregion
493
482
  //#region src/native/profile-thumbnail/profile-thumbnail.d.ts
494
483
  type ProfileThumbnailProps = {
@@ -504,7 +493,7 @@ declare const ProfileThumbnail: ({
504
493
  imageUrl,
505
494
  type,
506
495
  style
507
- }: ProfileThumbnailProps) => react6.JSX.Element;
496
+ }: ProfileThumbnailProps) => react9.JSX.Element;
508
497
  //#endregion
509
498
  //#region src/native/spinner/spinner.d.ts
510
499
  interface Props {
@@ -518,13 +507,12 @@ declare const Spinner: ({
518
507
  size,
519
508
  color,
520
509
  style
521
- }: Props) => react5.JSX.Element;
510
+ }: Props) => react7.JSX.Element;
522
511
  //#endregion
523
512
  //#region src/native/text/text.types.d.ts
524
513
  interface TextProps extends TextProps$1 {
525
514
  weight?: 'thin' | 'light' | 'regular' | 'medium' | 'bold' | 'extraBold';
526
515
  }
527
- //# sourceMappingURL=text.types.d.ts.map
528
516
  //#endregion
529
517
  //#region src/native/text/text.d.ts
530
518
  declare const Text: ({
@@ -532,16 +520,13 @@ declare const Text: ({
532
520
  weight,
533
521
  style,
534
522
  ...others
535
- }: TextProps) => react11.JSX.Element;
536
- //# sourceMappingURL=text.d.ts.map
523
+ }: TextProps) => react8.JSX.Element;
537
524
  //#endregion
538
525
  //#region src/native/text-input/text-input.types.d.ts
539
526
  interface TextInputProps extends TextInputProps$1 {}
540
- //# sourceMappingURL=text-input.types.d.ts.map
541
527
  //#endregion
542
528
  //#region src/native/text-input/text-input.d.ts
543
- declare const TextInput: react8.MemoExoticComponent<react8.ForwardRefExoticComponent<TextInputProps & react8.RefAttributes<TextInput$1>>>;
544
- //# sourceMappingURL=text-input.d.ts.map
529
+ declare const TextInput: react10.MemoExoticComponent<react10.ForwardRefExoticComponent<TextInputProps & react10.RefAttributes<TextInput$1>>>;
545
530
  //#endregion
546
531
  //#region src/native/toast/toast.types.d.ts
547
532
  interface ToastProps {
@@ -551,16 +536,12 @@ interface ToastProps {
551
536
  autoCloseOnPress?: boolean;
552
537
  }
553
538
  type ToastType = 'info' | 'warning' | 'error';
554
- //# sourceMappingURL=toast.types.d.ts.map
555
539
  //#endregion
556
540
  //#region src/native/toast/toast.d.ts
557
541
  declare const Toast: ({
558
542
  type,
559
543
  message,
560
544
  onPress
561
- }: ToastProps) => react0.JSX.Element;
562
- //# sourceMappingURL=toast.d.ts.map
563
-
545
+ }: ToastProps) => react6.JSX.Element;
564
546
  //#endregion
565
- export { Button, ColorSchemeContext, ColorSchemeProvider, IconButton, Modal, ModalProps, ProfileThumbnail, Spinner, Text, TextInput, TextInputProps, TextProps, Toast, ToastProps, ToastType, useColorScheme };
566
- //# sourceMappingURL=native.d.cts.map
547
+ export { Button, ColorSchemeContext, ColorSchemeProvider, IconButton, Modal, ModalProps, ProfileThumbnail, Spinner, Text, TextInput, TextInputProps, TextProps, Toast, ToastProps, ToastType, useColorScheme };