@lets-events/react 11.0.1 → 11.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @lets-events/react@11.0.1 build
2
+ > @lets-events/react@11.0.3 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- CJS dist\index.js 283.96 KB
12
- CJS ⚡️ Build success in 222ms
13
- ESM dist\index.mjs 275.51 KB
14
- ESM ⚡️ Build success in 223ms
11
+ CJS dist\index.js 283.68 KB
12
+ CJS ⚡️ Build success in 226ms
13
+ ESM dist\index.mjs 275.33 KB
14
+ ESM ⚡️ Build success in 226ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 3557ms
17
- DTS dist\index.d.mts 347.68 KB
18
- DTS dist\index.d.ts 347.68 KB
16
+ DTS ⚡️ Build success in 3664ms
17
+ DTS dist\index.d.mts 338.36 KB
18
+ DTS dist\index.d.ts 338.36 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 11.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix textfield ref
8
+
9
+ ## 11.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - fix card component
14
+
3
15
  ## 11.0.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1926,7 +1926,7 @@ type AvatarProps = ComponentProps<typeof AvatarStyled> & {
1926
1926
  };
1927
1927
  declare function Avatar({ asChild, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
1928
1928
 
1929
- declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.RootProps & react.RefAttributes<HTMLInputElement>>, {
1929
+ declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<TextField$1.RootProps & react__default.RefAttributes<HTMLInputElement>>, {
1930
1930
  color?: "default" | "error" | undefined;
1931
1931
  typography?: "tooltip" | "displayLarge" | "displayMedium" | "displaySmall" | "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headline7" | "headline8" | "bodyXL" | "bodyL" | "bodyM" | "bodyS" | "bodyXS" | "bodyXXS" | "badgeLarge" | "badgeMedium" | "badgeSmall" | "badgeExtraSmall" | "popoversRegular" | "captionLarge" | "captionMedium" | "captionSmall" | "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
1932
1932
  fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
@@ -2302,7 +2302,7 @@ declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComp
2302
2302
  transition: "transitions";
2303
2303
  zIndex: "zIndices";
2304
2304
  }, {}>>;
2305
- declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.SlotProps & react.RefAttributes<HTMLDivElement>>, {
2305
+ declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<TextField$1.SlotProps & react__default.RefAttributes<HTMLDivElement>>, {
2306
2306
  typography?: "tooltip" | "displayLarge" | "displayMedium" | "displaySmall" | "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headline7" | "headline8" | "bodyXL" | "bodyL" | "bodyM" | "bodyS" | "bodyXS" | "bodyXXS" | "badgeLarge" | "badgeMedium" | "badgeSmall" | "badgeExtraSmall" | "popoversRegular" | "captionLarge" | "captionMedium" | "captionSmall" | "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
2307
2307
  fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
2308
2308
  textAlign?: "left" | "right" | "center" | undefined;
@@ -2679,27 +2679,27 @@ declare const TextFieldSlotStyled: _stitches_react_types_styled_component.Styled
2679
2679
  type TextFieldProps = ComponentProps<typeof TextFieldStyled> & {
2680
2680
  addon?: ReactNode;
2681
2681
  placeholder?: string;
2682
- children?: React.ReactNode;
2682
+ children?: react__default.ReactNode;
2683
2683
  isValid?: boolean;
2684
2684
  name?: string;
2685
2685
  typography?: string;
2686
- fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
2687
- textAlign?: 'left' | 'right' | 'center';
2686
+ fontWeight?: "regular" | "medium" | "semibold" | "bold";
2687
+ textAlign?: "left" | "right" | "center";
2688
2688
  mask?: MaskOptions;
2689
2689
  };
2690
- type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, 'color'> & {
2690
+ type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, "color"> & {
2691
2691
  placeholder?: string;
2692
- children?: React.ReactNode;
2693
- position?: 'flex-start' | 'flex-end';
2692
+ children?: react__default.ReactNode;
2693
+ position?: "flex-start" | "flex-end";
2694
2694
  onClick?: () => void;
2695
- color?: 'error' | 'success' | undefined;
2695
+ color?: "error" | "success" | undefined;
2696
2696
  typography?: string;
2697
- fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
2698
- textAlign?: 'left' | 'right' | 'center';
2697
+ fontWeight?: "regular" | "medium" | "semibold" | "bold";
2698
+ textAlign?: "left" | "right" | "center";
2699
2699
  };
2700
2700
  declare const maskFormat: typeof format;
2701
2701
  declare const maskUnformat: typeof unformat;
2702
- declare function TextField({ children, isValid, name, color, typography, fontWeight, addon, textAlign, mask, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
2702
+ declare const TextField: ({ children, isValid, name, color, typography, fontWeight, addon, textAlign, mask, ref, ...props }: TextFieldProps) => react_jsx_runtime.JSX.Element;
2703
2703
  declare function TextFieldSlot({ children, position, onClick, typography, fontWeight, textAlign, ...props }: TextFieldSlotProps): react_jsx_runtime.JSX.Element;
2704
2704
 
2705
2705
  declare const RadioGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup$1.RootProps & react.RefAttributes<HTMLDivElement>>, {
@@ -10641,376 +10641,6 @@ declare const CardStyled: _stitches_react_types_styled_component.StyledComponent
10641
10641
  transition: "transitions";
10642
10642
  zIndex: "zIndices";
10643
10643
  }, {}>>;
10644
- declare const CardContainer: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<_radix_ui_themes.BoxProps & react__default.RefAttributes<HTMLDivElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
10645
- colors: {
10646
- brand50: string;
10647
- brand100: string;
10648
- brand200: string;
10649
- brand300: string;
10650
- brand400: string;
10651
- brand500: string;
10652
- brand600: string;
10653
- brand700: string;
10654
- brand800: string;
10655
- brand900: string;
10656
- brand950: string;
10657
- blue50: string;
10658
- blue100: string;
10659
- blue200: string;
10660
- blue300: string;
10661
- blue400: string;
10662
- blue500: string;
10663
- blue600: string;
10664
- blue700: string;
10665
- blue800: string;
10666
- blue900: string;
10667
- blue950: string;
10668
- red50: string;
10669
- red100: string;
10670
- red200: string;
10671
- red300: string;
10672
- red400: string;
10673
- red500: string;
10674
- red600: string;
10675
- red700: string;
10676
- red800: string;
10677
- red900: string;
10678
- red950: string;
10679
- purple50: string;
10680
- purple100: string;
10681
- purple200: string;
10682
- purple300: string;
10683
- purple400: string;
10684
- purple500: string;
10685
- purple600: string;
10686
- purple700: string;
10687
- purple800: string;
10688
- purple900: string;
10689
- purple950: string;
10690
- yellow50: string;
10691
- yellow100: string;
10692
- yellow200: string;
10693
- yellow300: string;
10694
- yellow400: string;
10695
- yellow500: string;
10696
- yellow600: string;
10697
- yellow700: string;
10698
- yellow800: string;
10699
- yellow900: string;
10700
- yellow950: string;
10701
- dark50: string;
10702
- dark100: string;
10703
- dark200: string;
10704
- dark300: string;
10705
- dark400: string;
10706
- dark500: string;
10707
- dark600: string;
10708
- dark700: string;
10709
- dark800: string;
10710
- dark900: string;
10711
- dark950: string;
10712
- neutral50: string;
10713
- neutral100: string;
10714
- neutral200: string;
10715
- neutral300: string;
10716
- neutral400: string;
10717
- neutral500: string;
10718
- neutral600: string;
10719
- neutral700: string;
10720
- neutral800: string;
10721
- neutral900: string;
10722
- neutral950: string;
10723
- green50: string;
10724
- green100: string;
10725
- green200: string;
10726
- green300: string;
10727
- green400: string;
10728
- green500: string;
10729
- green600: string;
10730
- green700: string;
10731
- green800: string;
10732
- green900: string;
10733
- green950: string;
10734
- grey50: string;
10735
- grey100: string;
10736
- grey200: string;
10737
- grey300: string;
10738
- grey400: string;
10739
- grey500: string;
10740
- grey600: string;
10741
- grey700: string;
10742
- grey800: string;
10743
- grey900: string;
10744
- grey950: string;
10745
- error50: string;
10746
- error100: string;
10747
- error200: string;
10748
- error300: string;
10749
- error400: string;
10750
- error500: string;
10751
- error600: string;
10752
- error700: string;
10753
- error800: string;
10754
- error900: string;
10755
- error950: string;
10756
- success50: string;
10757
- success100: string;
10758
- success200: string;
10759
- success300: string;
10760
- success400: string;
10761
- success500: string;
10762
- success600: string;
10763
- success700: string;
10764
- success800: string;
10765
- success900: string;
10766
- success950: string;
10767
- warning50: string;
10768
- warning100: string;
10769
- warning200: string;
10770
- warning300: string;
10771
- warning400: string;
10772
- warning500: string;
10773
- warning600: string;
10774
- warning700: string;
10775
- warning800: string;
10776
- warning900: string;
10777
- warning950: string;
10778
- info50: string;
10779
- info100: string;
10780
- info200: string;
10781
- info300: string;
10782
- info400: string;
10783
- info500: string;
10784
- info600: string;
10785
- info700: string;
10786
- info800: string;
10787
- info900: string;
10788
- info950: string;
10789
- };
10790
- fontSizes: {
10791
- 2: string;
10792
- 4: string;
10793
- 6: string;
10794
- 8: string;
10795
- 10: string;
10796
- 12: string;
10797
- 13: string;
10798
- 14: string;
10799
- 16: string;
10800
- 18: string;
10801
- 20: string;
10802
- 22: string;
10803
- 24: string;
10804
- 32: string;
10805
- 36: string;
10806
- 40: string;
10807
- 48: string;
10808
- 56: string;
10809
- 64: string;
10810
- 72: string;
10811
- 80: string;
10812
- xs: string;
10813
- sm: string;
10814
- md: string;
10815
- lg: string;
10816
- '2xl': string;
10817
- '3xl': string;
10818
- '4xl': string;
10819
- full: string;
10820
- };
10821
- fonts: {
10822
- default: string;
10823
- };
10824
- fontWeights: {
10825
- regular: string;
10826
- medium: string;
10827
- semibold: string;
10828
- bold: string;
10829
- };
10830
- lineHeights: {
10831
- smaller: string;
10832
- shorter: string;
10833
- short: string;
10834
- base: string;
10835
- tall: string;
10836
- };
10837
- radii: {
10838
- '3xs': string;
10839
- '2xs': string;
10840
- xs: string;
10841
- sm: string;
10842
- md: string;
10843
- lg: string;
10844
- xl: string;
10845
- '2xl': string;
10846
- '3xl': string;
10847
- '4xl': string;
10848
- '5xl': string;
10849
- '6xl': string;
10850
- '7xl': string;
10851
- '8xl': string;
10852
- '9xl': string;
10853
- '10xl': string;
10854
- '11xl': string;
10855
- '12xl': string;
10856
- '13xl': string;
10857
- '14xl': string;
10858
- full: string;
10859
- };
10860
- space: {
10861
- 2: string;
10862
- 4: string;
10863
- 6: string;
10864
- 8: string;
10865
- 10: string;
10866
- 12: string;
10867
- 13: string;
10868
- 14: string;
10869
- 16: string;
10870
- 18: string;
10871
- 20: string;
10872
- 22: string;
10873
- 24: string;
10874
- 32: string;
10875
- 36: string;
10876
- 40: string;
10877
- 48: string;
10878
- 56: string;
10879
- 64: string;
10880
- 72: string;
10881
- 80: string;
10882
- full: string;
10883
- };
10884
- }, {
10885
- height: "space";
10886
- width: "space";
10887
- gap: "space";
10888
- gridGap: "space";
10889
- columnGap: "space";
10890
- gridColumnGap: "space";
10891
- rowGap: "space";
10892
- gridRowGap: "space";
10893
- inset: "space";
10894
- insetBlock: "space";
10895
- insetBlockEnd: "space";
10896
- insetBlockStart: "space";
10897
- insetInline: "space";
10898
- insetInlineEnd: "space";
10899
- insetInlineStart: "space";
10900
- margin: "space";
10901
- marginTop: "space";
10902
- marginRight: "space";
10903
- marginBottom: "space";
10904
- marginLeft: "space";
10905
- marginBlock: "space";
10906
- marginBlockEnd: "space";
10907
- marginBlockStart: "space";
10908
- marginInline: "space";
10909
- marginInlineEnd: "space";
10910
- marginInlineStart: "space";
10911
- padding: "space";
10912
- paddingTop: "space";
10913
- paddingRight: "space";
10914
- paddingBottom: "space";
10915
- paddingLeft: "space";
10916
- paddingBlock: "space";
10917
- paddingBlockEnd: "space";
10918
- paddingBlockStart: "space";
10919
- paddingInline: "space";
10920
- paddingInlineEnd: "space";
10921
- paddingInlineStart: "space";
10922
- scrollMargin: "space";
10923
- scrollMarginTop: "space";
10924
- scrollMarginRight: "space";
10925
- scrollMarginBottom: "space";
10926
- scrollMarginLeft: "space";
10927
- scrollMarginBlock: "space";
10928
- scrollMarginBlockEnd: "space";
10929
- scrollMarginBlockStart: "space";
10930
- scrollMarginInline: "space";
10931
- scrollMarginInlineEnd: "space";
10932
- scrollMarginInlineStart: "space";
10933
- scrollPadding: "space";
10934
- scrollPaddingTop: "space";
10935
- scrollPaddingRight: "space";
10936
- scrollPaddingBottom: "space";
10937
- scrollPaddingLeft: "space";
10938
- scrollPaddingBlock: "space";
10939
- scrollPaddingBlockEnd: "space";
10940
- scrollPaddingBlockStart: "space";
10941
- scrollPaddingInline: "space";
10942
- scrollPaddingInlineEnd: "space";
10943
- scrollPaddingInlineStart: "space";
10944
- top: "space";
10945
- right: "space";
10946
- bottom: "space";
10947
- left: "space";
10948
- fontSize: "fontSizes";
10949
- background: "colors";
10950
- backgroundColor: "colors";
10951
- backgroundImage: "colors";
10952
- borderImage: "colors";
10953
- border: "colors";
10954
- borderBlock: "colors";
10955
- borderBlockEnd: "colors";
10956
- borderBlockStart: "colors";
10957
- borderBottom: "colors";
10958
- borderBottomColor: "colors";
10959
- borderColor: "colors";
10960
- borderInline: "colors";
10961
- borderInlineEnd: "colors";
10962
- borderInlineStart: "colors";
10963
- borderLeft: "colors";
10964
- borderLeftColor: "colors";
10965
- borderRight: "colors";
10966
- borderRightColor: "colors";
10967
- borderTop: "colors";
10968
- borderTopColor: "colors";
10969
- caretColor: "colors";
10970
- color: "colors";
10971
- columnRuleColor: "colors";
10972
- outline: "colors";
10973
- outlineColor: "colors";
10974
- fill: "colors";
10975
- stroke: "colors";
10976
- textDecorationColor: "colors";
10977
- fontFamily: "fonts";
10978
- fontWeight: "fontWeights";
10979
- lineHeight: "lineHeights";
10980
- letterSpacing: "letterSpacings";
10981
- blockSize: "sizes";
10982
- minBlockSize: "sizes";
10983
- maxBlockSize: "sizes";
10984
- inlineSize: "sizes";
10985
- minInlineSize: "sizes";
10986
- maxInlineSize: "sizes";
10987
- minWidth: "sizes";
10988
- maxWidth: "sizes";
10989
- minHeight: "sizes";
10990
- maxHeight: "sizes";
10991
- flexBasis: "sizes";
10992
- gridTemplateColumns: "sizes";
10993
- gridTemplateRows: "sizes";
10994
- borderWidth: "borderWidths";
10995
- borderTopWidth: "borderWidths";
10996
- borderLeftWidth: "borderWidths";
10997
- borderRightWidth: "borderWidths";
10998
- borderBottomWidth: "borderWidths";
10999
- borderStyle: "borderStyles";
11000
- borderTopStyle: "borderStyles";
11001
- borderLeftStyle: "borderStyles";
11002
- borderRightStyle: "borderStyles";
11003
- borderBottomStyle: "borderStyles";
11004
- borderRadius: "radii";
11005
- borderTopLeftRadius: "radii";
11006
- borderTopRightRadius: "radii";
11007
- borderBottomRightRadius: "radii";
11008
- borderBottomLeftRadius: "radii";
11009
- boxShadow: "shadows";
11010
- textShadow: "shadows";
11011
- transition: "transitions";
11012
- zIndex: "zIndices";
11013
- }, {}>>;
11014
10644
  type CardProps = ComponentProps<typeof CardStyled> & {
11015
10645
  children: react__default.ReactNode;
11016
10646
  as?: ElementType;
@@ -13350,4 +12980,4 @@ type SectionProps = ComponentProps<typeof SectionStyled> & {
13350
12980
  };
13351
12981
  declare function Section({ children, ...props }: SectionProps): react_jsx_runtime.JSX.Element;
13352
12982
 
13353
- export { Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, Calendar, type CalendarProps, Card, CardContainer, type CardProps, CardStyled, CheckboxGroup, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Grid, type GridProps, GridStyled, Icon, InputStyled, Modal, type ModalProps, RadioGroup, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, maskFormat, maskUnformat, useToast };
12983
+ export { Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, Calendar, type CalendarProps, Card, type CardProps, CardStyled, CheckboxGroup, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Grid, type GridProps, GridStyled, Icon, InputStyled, Modal, type ModalProps, RadioGroup, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, maskFormat, maskUnformat, useToast };