@lets-events/react 12.2.9 → 12.2.11

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 (90) hide show
  1. package/.eslintrc.json +2 -2
  2. package/.turbo/turbo-build.log +19 -21
  3. package/CHANGELOG.md +12 -0
  4. package/dist/index.css +171 -0
  5. package/dist/index.d.mts +375 -3
  6. package/dist/index.d.ts +375 -3
  7. package/dist/index.js +43 -22
  8. package/dist/index.mjs +42 -22
  9. package/package.json +1 -1
  10. package/src/components/Alert.tsx +303 -303
  11. package/src/components/Avatar.tsx +55 -55
  12. package/src/components/Badge.tsx +125 -125
  13. package/src/components/Box.tsx +3 -3
  14. package/src/components/Button/index.tsx +16 -16
  15. package/src/components/Button/styledComponents.ts +300 -300
  16. package/src/components/ButtonGroup.tsx +484 -484
  17. package/src/components/Calendar/index.tsx +148 -148
  18. package/src/components/Calendar/styledComponents.ts +250 -250
  19. package/src/components/Card.tsx +48 -48
  20. package/src/components/CheckboxGroup.tsx +176 -176
  21. package/src/components/Container.tsx +39 -39
  22. package/src/components/Divider.tsx +7 -0
  23. package/src/components/Drawer/index.tsx +148 -138
  24. package/src/components/Drawer/styledComponents.ts +52 -52
  25. package/src/components/Dropdown.tsx +302 -302
  26. package/src/components/Filter.tsx +164 -164
  27. package/src/components/Flex.tsx +118 -118
  28. package/src/components/FormFields/AddressFormFields/CityFormField.tsx +111 -111
  29. package/src/components/FormFields/AddressFormFields/CountryFormField.tsx +33 -33
  30. package/src/components/FormFields/AddressFormFields/PostalCodeFormField.tsx +39 -39
  31. package/src/components/FormFields/AddressFormFields/StateFormField.tsx +32 -32
  32. package/src/components/FormFields/AddressFormFields/index.tsx +141 -141
  33. package/src/components/FormFields/BirthDateFormField.tsx +84 -84
  34. package/src/components/FormFields/CNPJFormField.tsx +87 -87
  35. package/src/components/FormFields/CPFFormField.tsx +78 -78
  36. package/src/components/FormFields/CalendarFormField.tsx +95 -95
  37. package/src/components/FormFields/CheckboxGroupFormField.tsx +91 -91
  38. package/src/components/FormFields/EmailFormField.tsx +27 -27
  39. package/src/components/FormFields/Form.tsx +39 -39
  40. package/src/components/FormFields/IdentityDocumentNumberFormField.tsx +32 -32
  41. package/src/components/FormFields/MultiSelectFormField.tsx +64 -64
  42. package/src/components/FormFields/PhoneFormField.tsx +40 -40
  43. package/src/components/FormFields/RadioGroupFormField.tsx +84 -84
  44. package/src/components/FormFields/RichEditorFormField.tsx +103 -102
  45. package/src/components/FormFields/SelectFormField.tsx +93 -93
  46. package/src/components/FormFields/SwitchFormField.tsx +46 -46
  47. package/src/components/FormFields/TextAreaFormField.tsx +57 -57
  48. package/src/components/FormFields/TextFormField.tsx +112 -112
  49. package/src/components/FormFields/TimePickerFormField.tsx +88 -88
  50. package/src/components/FormFields/subComponents/ErrorFormMessage.tsx +36 -36
  51. package/src/components/FormFields/subComponents/FormLabel.tsx +29 -29
  52. package/src/components/FormFields/utils/validation.ts +23 -23
  53. package/src/components/Grid.tsx +137 -137
  54. package/src/components/Icon.tsx +47 -47
  55. package/src/components/MenuDropdown/index.tsx +38 -38
  56. package/src/components/MenuDropdown/styledComponents.ts +31 -31
  57. package/src/components/Modal.tsx +90 -90
  58. package/src/components/MultiSelect/index.tsx +243 -243
  59. package/src/components/MultiSelect/styledComponents.ts +160 -160
  60. package/src/components/RadioGroup.tsx +210 -210
  61. package/src/components/RichEditor/QuillComponent.tsx +457 -455
  62. package/src/components/RichEditor/RichEditor.tsx +49 -49
  63. package/src/components/RichEditor/index.ts +2 -2
  64. package/src/components/RichEditor/styledComponents.ts +1151 -1151
  65. package/src/components/Section.tsx +33 -33
  66. package/src/components/Step.tsx +164 -164
  67. package/src/components/Switch.tsx +108 -108
  68. package/src/components/Text.tsx +38 -38
  69. package/src/components/TextField.tsx +372 -372
  70. package/src/components/TextareaField.tsx +127 -127
  71. package/src/components/TimePicker.tsx +328 -328
  72. package/src/components/Toast/components/ToastItem.tsx +41 -41
  73. package/src/components/Toast/components/ToastProvider.tsx +63 -63
  74. package/src/components/Toast/hooks/useToast.ts +12 -12
  75. package/src/components/Toast/index.tsx +5 -5
  76. package/src/components/Toast/styles/index.ts +135 -135
  77. package/src/components/Toast/types/index.ts +46 -46
  78. package/src/components/Tooltip/index.tsx +66 -66
  79. package/src/components/Tooltip/styles.ts +77 -77
  80. package/src/hooks/useCountries.ts +41 -41
  81. package/src/hooks/useImageUpload.ts +139 -139
  82. package/src/hooks/useOnClickOutside.tsx +42 -42
  83. package/src/index.tsx +69 -68
  84. package/src/styles/index.ts +38 -38
  85. package/src/types/typographyValues.ts +178 -178
  86. package/src/utils/getNestedValue.ts +3 -3
  87. package/src/utils/states.ts +29 -29
  88. package/src/utils/uploadService.ts +180 -180
  89. package/tsconfig.json +3 -3
  90. package/tsup.config.ts +38 -38
package/dist/index.d.ts CHANGED
@@ -5057,8 +5057,9 @@ type DrawerProps = ComponentProps<typeof DrawerOverlayStyled> & {
5057
5057
  children?: ReactNode;
5058
5058
  goBackIcon?: ReactNode;
5059
5059
  goBackAction?: () => void;
5060
+ zIndex?: number;
5060
5061
  };
5061
- declare function Drawer({ isOpen, onClose, width, backgroundColor, title, children, goBackIcon, goBackAction }: DrawerProps): react_jsx_runtime.JSX.Element | null;
5062
+ declare function Drawer({ isOpen, onClose, width, backgroundColor, title, children, goBackIcon, goBackAction, zIndex, }: DrawerProps): react_jsx_runtime.JSX.Element | null;
5062
5063
 
5063
5064
  declare const TimePickerStyled: _stitches_react_types_styled_component.StyledComponent<"div", {
5064
5065
  expand?: boolean | "true" | undefined;
@@ -13377,6 +13378,377 @@ type MultiSelectProps = ComponentProps<typeof StyledTrigger> & {
13377
13378
  };
13378
13379
  declare const MultiSelect: React__default.ForwardRefExoticComponent<Omit<MultiSelectProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
13379
13380
 
13381
+ declare const Divider: _stitches_react_types_styled_component.StyledComponent<"div", {}, {}, _stitches_react_types_css_util.CSS<{}, {
13382
+ colors: {
13383
+ brand50: string;
13384
+ brand100: string;
13385
+ brand200: string;
13386
+ brand300: string;
13387
+ brand400: string;
13388
+ brand500: string;
13389
+ brand600: string;
13390
+ brand700: string;
13391
+ brand800: string;
13392
+ brand900: string;
13393
+ brand950: string;
13394
+ blue50: string;
13395
+ blue100: string;
13396
+ blue200: string;
13397
+ blue300: string;
13398
+ blue400: string;
13399
+ blue500: string;
13400
+ blue600: string;
13401
+ blue700: string;
13402
+ blue800: string;
13403
+ blue900: string;
13404
+ blue950: string;
13405
+ red50: string;
13406
+ red100: string;
13407
+ red200: string;
13408
+ red300: string;
13409
+ red400: string;
13410
+ red500: string;
13411
+ red600: string;
13412
+ red700: string;
13413
+ red800: string;
13414
+ red900: string;
13415
+ red950: string;
13416
+ purple50: string;
13417
+ purple100: string;
13418
+ purple200: string;
13419
+ purple300: string;
13420
+ purple400: string;
13421
+ purple500: string;
13422
+ purple600: string;
13423
+ purple700: string;
13424
+ purple800: string;
13425
+ purple900: string;
13426
+ purple950: string;
13427
+ yellow50: string;
13428
+ yellow100: string;
13429
+ yellow200: string;
13430
+ yellow300: string;
13431
+ yellow400: string;
13432
+ yellow500: string;
13433
+ yellow600: string;
13434
+ yellow700: string;
13435
+ yellow800: string;
13436
+ yellow900: string;
13437
+ yellow950: string;
13438
+ dark50: string;
13439
+ dark100: string;
13440
+ dark200: string;
13441
+ dark300: string;
13442
+ dark400: string;
13443
+ dark500: string;
13444
+ dark600: string;
13445
+ dark700: string;
13446
+ dark800: string;
13447
+ dark900: string;
13448
+ dark950: string;
13449
+ neutral50: string;
13450
+ neutral100: string;
13451
+ neutral200: string;
13452
+ neutral300: string;
13453
+ neutral400: string;
13454
+ neutral500: string;
13455
+ neutral600: string;
13456
+ neutral700: string;
13457
+ neutral800: string;
13458
+ neutral900: string;
13459
+ neutral950: string;
13460
+ green50: string;
13461
+ green100: string;
13462
+ green200: string;
13463
+ green300: string;
13464
+ green400: string;
13465
+ green500: string;
13466
+ green600: string;
13467
+ green700: string;
13468
+ green800: string;
13469
+ green900: string;
13470
+ green950: string;
13471
+ grey50: string;
13472
+ grey100: string;
13473
+ grey200: string;
13474
+ grey300: string;
13475
+ grey400: string;
13476
+ grey500: string;
13477
+ grey600: string;
13478
+ grey700: string;
13479
+ grey800: string;
13480
+ grey900: string;
13481
+ grey950: string;
13482
+ error50: string;
13483
+ error100: string;
13484
+ error200: string;
13485
+ error300: string;
13486
+ error400: string;
13487
+ error500: string;
13488
+ error600: string;
13489
+ error700: string;
13490
+ error800: string;
13491
+ error900: string;
13492
+ error950: string;
13493
+ success50: string;
13494
+ success100: string;
13495
+ success200: string;
13496
+ success300: string;
13497
+ success400: string;
13498
+ success500: string;
13499
+ success600: string;
13500
+ success700: string;
13501
+ success800: string;
13502
+ success900: string;
13503
+ success950: string;
13504
+ warning50: string;
13505
+ warning100: string;
13506
+ warning200: string;
13507
+ warning300: string;
13508
+ warning400: string;
13509
+ warning500: string;
13510
+ warning600: string;
13511
+ warning700: string;
13512
+ warning800: string;
13513
+ warning900: string;
13514
+ warning950: string;
13515
+ info50: string;
13516
+ info100: string;
13517
+ info200: string;
13518
+ info300: string;
13519
+ info400: string;
13520
+ info500: string;
13521
+ info600: string;
13522
+ info700: string;
13523
+ info800: string;
13524
+ info900: string;
13525
+ info950: string;
13526
+ };
13527
+ fontSizes: {
13528
+ 2: string;
13529
+ 4: string;
13530
+ 6: string;
13531
+ 8: string;
13532
+ 10: string;
13533
+ 12: string;
13534
+ 13: string;
13535
+ 14: string;
13536
+ 16: string;
13537
+ 18: string;
13538
+ 20: string;
13539
+ 22: string;
13540
+ 24: string;
13541
+ 32: string;
13542
+ 36: string;
13543
+ 40: string;
13544
+ 48: string;
13545
+ 56: string;
13546
+ 64: string;
13547
+ 72: string;
13548
+ 80: string;
13549
+ xs: string;
13550
+ sm: string;
13551
+ md: string;
13552
+ lg: string;
13553
+ '2xl': string;
13554
+ '3xl': string;
13555
+ '4xl': string;
13556
+ full: string;
13557
+ };
13558
+ fonts: {
13559
+ default: string;
13560
+ };
13561
+ fontWeights: {
13562
+ regular: string;
13563
+ medium: string;
13564
+ semibold: string;
13565
+ bold: string;
13566
+ };
13567
+ lineHeights: {
13568
+ smaller: string;
13569
+ shorter: string;
13570
+ short: string;
13571
+ base: string;
13572
+ tall: string;
13573
+ };
13574
+ radii: {
13575
+ '3xs': string;
13576
+ '2xs': string;
13577
+ xs: string;
13578
+ sm: string;
13579
+ md: string;
13580
+ lg: string;
13581
+ xl: string;
13582
+ '2xl': string;
13583
+ '3xl': string;
13584
+ '4xl': string;
13585
+ '5xl': string;
13586
+ '6xl': string;
13587
+ '7xl': string;
13588
+ '8xl': string;
13589
+ '9xl': string;
13590
+ '10xl': string;
13591
+ '11xl': string;
13592
+ '12xl': string;
13593
+ '13xl': string;
13594
+ '14xl': string;
13595
+ full: string;
13596
+ };
13597
+ space: {
13598
+ 2: string;
13599
+ 4: string;
13600
+ 6: string;
13601
+ 8: string;
13602
+ 10: string;
13603
+ 12: string;
13604
+ 13: string;
13605
+ 14: string;
13606
+ 16: string;
13607
+ 18: string;
13608
+ 20: string;
13609
+ 22: string;
13610
+ 24: string;
13611
+ 32: string;
13612
+ 36: string;
13613
+ 40: string;
13614
+ 48: string;
13615
+ 56: string;
13616
+ 64: string;
13617
+ 72: string;
13618
+ 80: string;
13619
+ full: string;
13620
+ };
13621
+ }, {
13622
+ height: "space";
13623
+ width: "space";
13624
+ gap: "space";
13625
+ gridGap: "space";
13626
+ columnGap: "space";
13627
+ gridColumnGap: "space";
13628
+ rowGap: "space";
13629
+ gridRowGap: "space";
13630
+ inset: "space";
13631
+ insetBlock: "space";
13632
+ insetBlockEnd: "space";
13633
+ insetBlockStart: "space";
13634
+ insetInline: "space";
13635
+ insetInlineEnd: "space";
13636
+ insetInlineStart: "space";
13637
+ margin: "space";
13638
+ marginTop: "space";
13639
+ marginRight: "space";
13640
+ marginBottom: "space";
13641
+ marginLeft: "space";
13642
+ marginBlock: "space";
13643
+ marginBlockEnd: "space";
13644
+ marginBlockStart: "space";
13645
+ marginInline: "space";
13646
+ marginInlineEnd: "space";
13647
+ marginInlineStart: "space";
13648
+ padding: "space";
13649
+ paddingTop: "space";
13650
+ paddingRight: "space";
13651
+ paddingBottom: "space";
13652
+ paddingLeft: "space";
13653
+ paddingBlock: "space";
13654
+ paddingBlockEnd: "space";
13655
+ paddingBlockStart: "space";
13656
+ paddingInline: "space";
13657
+ paddingInlineEnd: "space";
13658
+ paddingInlineStart: "space";
13659
+ scrollMargin: "space";
13660
+ scrollMarginTop: "space";
13661
+ scrollMarginRight: "space";
13662
+ scrollMarginBottom: "space";
13663
+ scrollMarginLeft: "space";
13664
+ scrollMarginBlock: "space";
13665
+ scrollMarginBlockEnd: "space";
13666
+ scrollMarginBlockStart: "space";
13667
+ scrollMarginInline: "space";
13668
+ scrollMarginInlineEnd: "space";
13669
+ scrollMarginInlineStart: "space";
13670
+ scrollPadding: "space";
13671
+ scrollPaddingTop: "space";
13672
+ scrollPaddingRight: "space";
13673
+ scrollPaddingBottom: "space";
13674
+ scrollPaddingLeft: "space";
13675
+ scrollPaddingBlock: "space";
13676
+ scrollPaddingBlockEnd: "space";
13677
+ scrollPaddingBlockStart: "space";
13678
+ scrollPaddingInline: "space";
13679
+ scrollPaddingInlineEnd: "space";
13680
+ scrollPaddingInlineStart: "space";
13681
+ top: "space";
13682
+ right: "space";
13683
+ bottom: "space";
13684
+ left: "space";
13685
+ fontSize: "fontSizes";
13686
+ background: "colors";
13687
+ backgroundColor: "colors";
13688
+ backgroundImage: "colors";
13689
+ borderImage: "colors";
13690
+ border: "colors";
13691
+ borderBlock: "colors";
13692
+ borderBlockEnd: "colors";
13693
+ borderBlockStart: "colors";
13694
+ borderBottom: "colors";
13695
+ borderBottomColor: "colors";
13696
+ borderColor: "colors";
13697
+ borderInline: "colors";
13698
+ borderInlineEnd: "colors";
13699
+ borderInlineStart: "colors";
13700
+ borderLeft: "colors";
13701
+ borderLeftColor: "colors";
13702
+ borderRight: "colors";
13703
+ borderRightColor: "colors";
13704
+ borderTop: "colors";
13705
+ borderTopColor: "colors";
13706
+ caretColor: "colors";
13707
+ color: "colors";
13708
+ columnRuleColor: "colors";
13709
+ outline: "colors";
13710
+ outlineColor: "colors";
13711
+ fill: "colors";
13712
+ stroke: "colors";
13713
+ textDecorationColor: "colors";
13714
+ fontFamily: "fonts";
13715
+ fontWeight: "fontWeights";
13716
+ lineHeight: "lineHeights";
13717
+ letterSpacing: "letterSpacings";
13718
+ blockSize: "sizes";
13719
+ minBlockSize: "sizes";
13720
+ maxBlockSize: "sizes";
13721
+ inlineSize: "sizes";
13722
+ minInlineSize: "sizes";
13723
+ maxInlineSize: "sizes";
13724
+ minWidth: "sizes";
13725
+ maxWidth: "sizes";
13726
+ minHeight: "sizes";
13727
+ maxHeight: "sizes";
13728
+ flexBasis: "sizes";
13729
+ gridTemplateColumns: "sizes";
13730
+ gridTemplateRows: "sizes";
13731
+ borderWidth: "borderWidths";
13732
+ borderTopWidth: "borderWidths";
13733
+ borderLeftWidth: "borderWidths";
13734
+ borderRightWidth: "borderWidths";
13735
+ borderBottomWidth: "borderWidths";
13736
+ borderStyle: "borderStyles";
13737
+ borderTopStyle: "borderStyles";
13738
+ borderLeftStyle: "borderStyles";
13739
+ borderRightStyle: "borderStyles";
13740
+ borderBottomStyle: "borderStyles";
13741
+ borderRadius: "radii";
13742
+ borderTopLeftRadius: "radii";
13743
+ borderTopRightRadius: "radii";
13744
+ borderBottomRightRadius: "radii";
13745
+ borderBottomLeftRadius: "radii";
13746
+ boxShadow: "shadows";
13747
+ textShadow: "shadows";
13748
+ transition: "transitions";
13749
+ zIndex: "zIndices";
13750
+ }, {}>>;
13751
+
13380
13752
  declare const Box: React$1.ForwardRefExoticComponent<_radix_ui_themes.BoxProps & React$1.RefAttributes<HTMLDivElement>>;
13381
13753
 
13382
13754
  declare const GridStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.GridProps & React$1.RefAttributes<HTMLDivElement>>, {
@@ -14747,7 +15119,7 @@ type RichEditorFormFieldProps = Omit<RichEditorProps, "value" | "onChange"> & {
14747
15119
  maxLength?: number;
14748
15120
  validationErrorMessage?: string;
14749
15121
  simpleVersion?: boolean;
14750
- uploadConfig: RichEditorProps["uploadConfig"];
15122
+ uploadConfig?: RichEditorProps["uploadConfig"];
14751
15123
  disableVideo?: boolean;
14752
15124
  };
14753
15125
  declare const RichEditorFormField: ({ name, label, required, validate, validationErrorMessage, maxLength, simpleVersion, disableVideo, ...props }: RichEditorFormFieldProps) => react_jsx_runtime.JSX.Element;
@@ -14828,4 +15200,4 @@ declare const useImageUpload: (options: UseImageUploadOptions) => {
14828
15200
  reset: () => void;
14829
15201
  };
14830
15202
 
14831
- export { AddressFormFields, Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, BirthDateFormField, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, CNPJFormField, CPFFormField, Calendar, CalendarFormField, type CalendarFormFieldProps, type CalendarProps, Card, type CardProps, CardStyled, CheckboxGroup, CheckboxGroupFormField, type CheckboxGroupFormFieldProps, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, CountryFormField, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, EmailFormField, type EmailFormFieldProps, ErrorFormMessage, type ErrorFormMessageProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Form, FormLabel, type FormLabelProps, type FormProps, Grid, type GridProps, GridStyled, Icon, IdentityDocumentNumberFormField, InputStyled, MenuDropdown, type MenuDropdownProps, Modal, type ModalProps, MultiSelect, MultiSelectFormField, type MultiSelectFormFieldProps, type MultiSelectProps, PhoneFormField, type PhoneFormFieldProps, RadioGroup, RadioGroupFormField, type RadioGroupFormFieldProps, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, RichEditor, RichEditorFormField, type RichEditorFormFieldProps, type RichEditorProps, Section, type SectionProps, SectionStyled, SelectFormField, type SelectFormFieldProps, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, SwitchFormField, type SwitchFormFieldProps, type SwitchProps, SwitchStyled, Text, TextAreaFormField, type TextAreaFormFieldProps, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, TextFormField, type TextFormFieldProps, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, TimePickerFormField, type TimePickerFormFieldProps, TimePickerIconButton, 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, type UploadConfig, UploadService, isValidCNPJ, maskFormat, maskUnformat, useImageUpload, useToast };
15203
+ export { AddressFormFields, Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, BirthDateFormField, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, CNPJFormField, CPFFormField, Calendar, CalendarFormField, type CalendarFormFieldProps, type CalendarProps, Card, type CardProps, CardStyled, CheckboxGroup, CheckboxGroupFormField, type CheckboxGroupFormFieldProps, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, CountryFormField, Divider, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, EmailFormField, type EmailFormFieldProps, ErrorFormMessage, type ErrorFormMessageProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Form, FormLabel, type FormLabelProps, type FormProps, Grid, type GridProps, GridStyled, Icon, IdentityDocumentNumberFormField, InputStyled, MenuDropdown, type MenuDropdownProps, Modal, type ModalProps, MultiSelect, MultiSelectFormField, type MultiSelectFormFieldProps, type MultiSelectProps, PhoneFormField, type PhoneFormFieldProps, RadioGroup, RadioGroupFormField, type RadioGroupFormFieldProps, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, RichEditor, RichEditorFormField, type RichEditorFormFieldProps, type RichEditorProps, Section, type SectionProps, SectionStyled, SelectFormField, type SelectFormFieldProps, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, SwitchFormField, type SwitchFormFieldProps, type SwitchProps, SwitchStyled, Text, TextAreaFormField, type TextAreaFormFieldProps, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, TextFormField, type TextFormFieldProps, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, TimePickerFormField, type TimePickerFormFieldProps, TimePickerIconButton, 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, type UploadConfig, UploadService, isValidCNPJ, maskFormat, maskUnformat, useImageUpload, useToast };
package/dist/index.js CHANGED
@@ -895,6 +895,7 @@ __export(index_exports, {
895
895
  Container: () => Container,
896
896
  ContainerStyled: () => ContainerStyled,
897
897
  CountryFormField: () => CountryFormField,
898
+ Divider: () => Divider,
898
899
  Drawer: () => Drawer,
899
900
  DropdownMenu: () => DropdownMenu2,
900
901
  DropdownMenuItem: () => DropdownMenuItem,
@@ -8142,7 +8143,8 @@ function Drawer({
8142
8143
  title,
8143
8144
  children,
8144
8145
  goBackIcon,
8145
- goBackAction
8146
+ goBackAction,
8147
+ zIndex
8146
8148
  }) {
8147
8149
  if (!isOpen) return null;
8148
8150
  const drawerContainerRef = (0, import_react8.useRef)(null);
@@ -8183,29 +8185,37 @@ function Drawer({
8183
8185
  const isDropdownOpen = target.closest("[data-radix-popper-content-wrapper]") || target.closest('[role="dialog"]') || target.closest('[data-state="open"]') || target.closest("[data-radix-dropdown-menu-content]") || target.closest("[data-radix-dropdown-menu-root]") || target.closest("[data-radix-dropdown-menu-trigger]") || target.closest("[data-radix-dropdown-menu-portal]") || target.closest("[data-radix-dropdown-menu-item]") || target.closest("[data-radix-dropdown-menu-checkbox-item]") || target.closest("[data-radix-dropdown-menu-radio-item]") || target.closest("[data-radix-dropdown-menu-separator]") || target.closest("[data-radix-dropdown-menu-label]") || target.closest("[data-radix-dropdown-menu-group]") || target.closest("[data-radix-dropdown-menu-sub]") || target.closest("[data-radix-dropdown-menu-sub-trigger]") || target.closest("[data-radix-dropdown-menu-sub-content]") || target.closest("[data-radix-dropdown-menu-radio-group]");
8184
8186
  const shouldPreventClose = isDropdownOpen || target.closest("[data-radix-dropdown-menu-root]") || target.closest("[data-radix-dropdown-menu-trigger]") || target.closest("[data-radix-dropdown-menu-content]") || target.closest("[data-radix-dropdown-menu-portal]") || target.closest("[data-radix-dropdown-menu-item]") || target.closest("[data-radix-dropdown-menu-checkbox-item]") || target.closest("[data-radix-dropdown-menu-radio-item]") || target.closest("[data-radix-dropdown-menu-separator]") || target.closest("[data-radix-dropdown-menu-label]") || target.closest("[data-radix-dropdown-menu-group]") || target.closest("[data-radix-dropdown-menu-sub]") || target.closest("[data-radix-dropdown-menu-sub-trigger]") || target.closest("[data-radix-dropdown-menu-sub-content]") || target.closest("[data-radix-dropdown-menu-radio-group]");
8185
8187
  if (!shouldPreventClose) {
8186
- onClose();
8188
+ onClose == null ? void 0 : onClose();
8187
8189
  }
8188
8190
  });
8189
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DrawerOverlayStyled, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
8190
- DrawerContainerStyled,
8191
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
8192
+ DrawerOverlayStyled,
8191
8193
  {
8192
- ref: drawerContainerRef,
8193
- style: {
8194
- width: width != null ? width : "34.25rem",
8195
- backgroundColor: colors[backgroundColor != null ? backgroundColor : "neutral50"]
8194
+ css: {
8195
+ zIndex
8196
8196
  },
8197
- children: [
8198
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(DrawerHeaderDiv, { children: [
8199
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Flex2, { gap: 8, align: "center", children: [
8200
- goBackIcon && goBackIcon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(GoBackButtonStyled, { type: "button", onClick: goBackAction, children: goBackIcon }),
8201
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DrawerHeaderTitle, { children: title })
8202
- ] }),
8203
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
8204
- ] }),
8205
- children
8206
- ]
8197
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
8198
+ DrawerContainerStyled,
8199
+ {
8200
+ ref: drawerContainerRef,
8201
+ style: {
8202
+ width: width != null ? width : "34.25rem",
8203
+ backgroundColor: colors[backgroundColor != null ? backgroundColor : "neutral50"]
8204
+ },
8205
+ children: [
8206
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(DrawerHeaderDiv, { children: [
8207
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Flex2, { gap: 8, align: "center", children: [
8208
+ goBackIcon && goBackIcon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(GoBackButtonStyled, { type: "button", onClick: goBackAction, children: goBackIcon }),
8209
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DrawerHeaderTitle, { children: title })
8210
+ ] }),
8211
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
8212
+ ] }),
8213
+ children
8214
+ ]
8215
+ }
8216
+ )
8207
8217
  }
8208
- ) });
8218
+ );
8209
8219
  }
8210
8220
 
8211
8221
  // src/components/TimePicker.tsx
@@ -9780,6 +9790,13 @@ var MultiSelect = import_react16.default.forwardRef(
9780
9790
  }
9781
9791
  );
9782
9792
 
9793
+ // src/components/Divider.tsx
9794
+ var Divider = styled("div", {
9795
+ backgroundColor: "$dark300",
9796
+ width: "100%",
9797
+ height: "1px"
9798
+ });
9799
+
9783
9800
  // src/components/Grid.tsx
9784
9801
  var import_themes20 = require("@radix-ui/themes");
9785
9802
  var import_jsx_runtime27 = require("react/jsx-runtime");
@@ -12193,9 +12210,11 @@ var QuillComponent = ({
12193
12210
  };
12194
12211
  const modules = simpleVersion ? {
12195
12212
  toolbar: [
12213
+ [{ header: [1, 2, false] }],
12196
12214
  ["bold", "italic", "underline"],
12197
- [{ list: "ordered" }, { list: "bullet" }],
12198
- ["link"]
12215
+ [{ color: [] }, { background: [] }],
12216
+ [{ align: [] }],
12217
+ [{ list: "ordered" }, { list: "bullet" }]
12199
12218
  ],
12200
12219
  clipboard: {
12201
12220
  matchVisual: false
@@ -12659,7 +12678,8 @@ var RichEditorFormField = (_a) => {
12659
12678
  "aria-labelledby": `${name}-label`,
12660
12679
  onCharacterCountChange: handleCharacterCountChange,
12661
12680
  maxLength,
12662
- disableVideo
12681
+ disableVideo,
12682
+ simpleVersion
12663
12683
  })
12664
12684
  ),
12665
12685
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorFormMessage, { message: errorMsg })
@@ -12950,6 +12970,7 @@ var useImageUpload = (options) => {
12950
12970
  Container,
12951
12971
  ContainerStyled,
12952
12972
  CountryFormField,
12973
+ Divider,
12953
12974
  Drawer,
12954
12975
  DropdownMenu,
12955
12976
  DropdownMenuItem,
package/dist/index.mjs CHANGED
@@ -8031,7 +8031,8 @@ function Drawer({
8031
8031
  title,
8032
8032
  children,
8033
8033
  goBackIcon,
8034
- goBackAction
8034
+ goBackAction,
8035
+ zIndex
8035
8036
  }) {
8036
8037
  if (!isOpen) return null;
8037
8038
  const drawerContainerRef = useRef4(null);
@@ -8072,29 +8073,37 @@ function Drawer({
8072
8073
  const isDropdownOpen = target.closest("[data-radix-popper-content-wrapper]") || target.closest('[role="dialog"]') || target.closest('[data-state="open"]') || target.closest("[data-radix-dropdown-menu-content]") || target.closest("[data-radix-dropdown-menu-root]") || target.closest("[data-radix-dropdown-menu-trigger]") || target.closest("[data-radix-dropdown-menu-portal]") || target.closest("[data-radix-dropdown-menu-item]") || target.closest("[data-radix-dropdown-menu-checkbox-item]") || target.closest("[data-radix-dropdown-menu-radio-item]") || target.closest("[data-radix-dropdown-menu-separator]") || target.closest("[data-radix-dropdown-menu-label]") || target.closest("[data-radix-dropdown-menu-group]") || target.closest("[data-radix-dropdown-menu-sub]") || target.closest("[data-radix-dropdown-menu-sub-trigger]") || target.closest("[data-radix-dropdown-menu-sub-content]") || target.closest("[data-radix-dropdown-menu-radio-group]");
8073
8074
  const shouldPreventClose = isDropdownOpen || target.closest("[data-radix-dropdown-menu-root]") || target.closest("[data-radix-dropdown-menu-trigger]") || target.closest("[data-radix-dropdown-menu-content]") || target.closest("[data-radix-dropdown-menu-portal]") || target.closest("[data-radix-dropdown-menu-item]") || target.closest("[data-radix-dropdown-menu-checkbox-item]") || target.closest("[data-radix-dropdown-menu-radio-item]") || target.closest("[data-radix-dropdown-menu-separator]") || target.closest("[data-radix-dropdown-menu-label]") || target.closest("[data-radix-dropdown-menu-group]") || target.closest("[data-radix-dropdown-menu-sub]") || target.closest("[data-radix-dropdown-menu-sub-trigger]") || target.closest("[data-radix-dropdown-menu-sub-content]") || target.closest("[data-radix-dropdown-menu-radio-group]");
8074
8075
  if (!shouldPreventClose) {
8075
- onClose();
8076
+ onClose == null ? void 0 : onClose();
8076
8077
  }
8077
8078
  });
8078
- return /* @__PURE__ */ jsx16(DrawerOverlayStyled, { children: /* @__PURE__ */ jsxs7(
8079
- DrawerContainerStyled,
8079
+ return /* @__PURE__ */ jsx16(
8080
+ DrawerOverlayStyled,
8080
8081
  {
8081
- ref: drawerContainerRef,
8082
- style: {
8083
- width: width != null ? width : "34.25rem",
8084
- backgroundColor: colors[backgroundColor != null ? backgroundColor : "neutral50"]
8082
+ css: {
8083
+ zIndex
8085
8084
  },
8086
- children: [
8087
- /* @__PURE__ */ jsxs7(DrawerHeaderDiv, { children: [
8088
- /* @__PURE__ */ jsxs7(Flex2, { gap: 8, align: "center", children: [
8089
- goBackIcon && goBackIcon && /* @__PURE__ */ jsx16(GoBackButtonStyled, { type: "button", onClick: goBackAction, children: goBackIcon }),
8090
- /* @__PURE__ */ jsx16(DrawerHeaderTitle, { children: title })
8091
- ] }),
8092
- /* @__PURE__ */ jsx16(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ jsx16(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
8093
- ] }),
8094
- children
8095
- ]
8085
+ children: /* @__PURE__ */ jsxs7(
8086
+ DrawerContainerStyled,
8087
+ {
8088
+ ref: drawerContainerRef,
8089
+ style: {
8090
+ width: width != null ? width : "34.25rem",
8091
+ backgroundColor: colors[backgroundColor != null ? backgroundColor : "neutral50"]
8092
+ },
8093
+ children: [
8094
+ /* @__PURE__ */ jsxs7(DrawerHeaderDiv, { children: [
8095
+ /* @__PURE__ */ jsxs7(Flex2, { gap: 8, align: "center", children: [
8096
+ goBackIcon && goBackIcon && /* @__PURE__ */ jsx16(GoBackButtonStyled, { type: "button", onClick: goBackAction, children: goBackIcon }),
8097
+ /* @__PURE__ */ jsx16(DrawerHeaderTitle, { children: title })
8098
+ ] }),
8099
+ /* @__PURE__ */ jsx16(DrawerHeaderCloseButton, { onClick: onClose, children: /* @__PURE__ */ jsx16(Icon_default, { size: "xl", color: "$dark600", name: "xmark" }) })
8100
+ ] }),
8101
+ children
8102
+ ]
8103
+ }
8104
+ )
8096
8105
  }
8097
- ) });
8106
+ );
8098
8107
  }
8099
8108
 
8100
8109
  // src/components/TimePicker.tsx
@@ -9673,6 +9682,13 @@ var MultiSelect = React9.forwardRef(
9673
9682
  }
9674
9683
  );
9675
9684
 
9685
+ // src/components/Divider.tsx
9686
+ var Divider = styled("div", {
9687
+ backgroundColor: "$dark300",
9688
+ width: "100%",
9689
+ height: "1px"
9690
+ });
9691
+
9676
9692
  // src/components/Grid.tsx
9677
9693
  import { Grid as GridRadix } from "@radix-ui/themes";
9678
9694
  import { jsx as jsx27 } from "react/jsx-runtime";
@@ -12091,9 +12107,11 @@ var QuillComponent = ({
12091
12107
  };
12092
12108
  const modules = simpleVersion ? {
12093
12109
  toolbar: [
12110
+ [{ header: [1, 2, false] }],
12094
12111
  ["bold", "italic", "underline"],
12095
- [{ list: "ordered" }, { list: "bullet" }],
12096
- ["link"]
12112
+ [{ color: [] }, { background: [] }],
12113
+ [{ align: [] }],
12114
+ [{ list: "ordered" }, { list: "bullet" }]
12097
12115
  ],
12098
12116
  clipboard: {
12099
12117
  matchVisual: false
@@ -12557,7 +12575,8 @@ var RichEditorFormField = (_a) => {
12557
12575
  "aria-labelledby": `${name}-label`,
12558
12576
  onCharacterCountChange: handleCharacterCountChange,
12559
12577
  maxLength,
12560
- disableVideo
12578
+ disableVideo,
12579
+ simpleVersion
12561
12580
  })
12562
12581
  ),
12563
12582
  /* @__PURE__ */ jsx53(ErrorFormMessage, { message: errorMsg })
@@ -12847,6 +12866,7 @@ export {
12847
12866
  Container,
12848
12867
  ContainerStyled,
12849
12868
  CountryFormField,
12869
+ Divider,
12850
12870
  Drawer,
12851
12871
  DropdownMenu2 as DropdownMenu,
12852
12872
  DropdownMenuItem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "12.2.9",
3
+ "version": "12.2.11",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",