@clickpalm/react 1.2.0 → 1.2.1

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
@@ -4,7 +4,7 @@ import * as _stitches_react_types_styled_component from '@stitches/react/types/s
4
4
  import * as _stitches_react_types_stitches from '@stitches/react/types/stitches';
5
5
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
6
  import * as react from 'react';
7
- import react__default, { ComponentProps, ComponentPropsWithoutRef, ElementType, ReactNode, InputHTMLAttributes, SVGProps, CSSProperties } from 'react';
7
+ import react__default, { ComponentProps, ComponentPropsWithoutRef, ElementType, ReactNode, InputHTMLAttributes, CSSProperties, SVGProps } from 'react';
8
8
  import * as _stitches_react_types_util from '@stitches/react/types/util';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  import * as Avatar$1 from '@radix-ui/react-avatar';
@@ -2535,10 +2535,10 @@ declare const StyledHr: _stitches_react_types_styled_component.StyledComponent<"
2535
2535
  transition: "transitions";
2536
2536
  zIndex: "zIndices";
2537
2537
  }, {}>>;
2538
- type CustomCSS$4 = CSS<typeof config>;
2538
+ type CustomCSS$5 = CSS<typeof config>;
2539
2539
  interface HrProps extends ComponentPropsWithoutRef<'hr'>, VariantProps<typeof StyledHr> {
2540
2540
  as?: ElementType;
2541
- css?: CustomCSS$4;
2541
+ css?: CustomCSS$5;
2542
2542
  children?: React.ReactNode;
2543
2543
  variant?: 'gray' | 'purple';
2544
2544
  }
@@ -2548,6 +2548,7 @@ interface ModalProps {
2548
2548
  open: boolean;
2549
2549
  onOpenChange: (open: boolean) => void;
2550
2550
  title: string;
2551
+ description?: string;
2551
2552
  children: react__default.ReactNode;
2552
2553
  }
2553
2554
  declare const Modal: react__default.FC<ModalProps>;
@@ -2570,7 +2571,7 @@ interface RadioProps {
2570
2571
  required?: boolean;
2571
2572
  errorMessage?: string;
2572
2573
  }
2573
- declare const Radio: ({ labels, value, onChange, disabled, required, errorMessage }: RadioProps) => react_jsx_runtime.JSX.Element;
2574
+ declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLDivElement>>;
2574
2575
 
2575
2576
  type SpacingSize = 'xs' | 'sm' | 'md' | 'lg' | 'xlg' | 'xxlg' | 'xxxlg';
2576
2577
  interface SpacingProps {
@@ -2589,7 +2590,7 @@ interface SwitchProps {
2589
2590
  id?: string;
2590
2591
  errorMessage?: string;
2591
2592
  }
2592
- declare const Switch: ({ label, checked, defaultChecked, onCheckedChange, disabled, required, id, errorMessage }: SwitchProps) => react_jsx_runtime.JSX.Element;
2593
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
2593
2594
 
2594
2595
  interface TabsProps {
2595
2596
  defaultValue?: string;
@@ -3051,10 +3052,7 @@ interface TextAreaProps extends ComponentPropsWithoutRef<'textarea'>, VariantPro
3051
3052
  htmlFor?: string;
3052
3053
  errorMessage?: string;
3053
3054
  }
3054
- declare const TextArea: {
3055
- ({ label, id, htmlFor, errorMessage, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
3056
- displayName: string;
3057
- };
3055
+ declare const TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
3058
3056
 
3059
3057
  interface TooltipProps {
3060
3058
  content: ReactNode;
@@ -3094,11 +3092,12 @@ declare const MaskedInput: react__default.ForwardRefExoticComponent<MaskedInputP
3094
3092
  interface DropdownProps {
3095
3093
  children: react__default.ReactNode;
3096
3094
  }
3095
+ type DropdownItemProps = ComponentProps<typeof DropdownMenu.Item>;
3097
3096
  declare const Dropdown: {
3098
3097
  ({ children }: DropdownProps): react_jsx_runtime.JSX.Element;
3099
3098
  displayName: string;
3100
3099
  };
3101
- declare const DropdownItem: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<DropdownMenu.DropdownMenuItemProps & react__default.RefAttributes<HTMLDivElement>>, {}, {
3100
+ declare const DropdownSeparator: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<DropdownMenu.DropdownMenuSeparatorProps & react__default.RefAttributes<HTMLDivElement>>, {}, {
3102
3101
  sm: "(min-width: 375px)";
3103
3102
  md: "(min-width: 768px)";
3104
3103
  lg: "(min-width: 1024px)";
@@ -3317,7 +3316,14 @@ declare const DropdownItem: _stitches_react_types_styled_component.StyledCompone
3317
3316
  transition: "transitions";
3318
3317
  zIndex: "zIndices";
3319
3318
  }, {}>>;
3320
- declare const DropdownSeparator: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<DropdownMenu.DropdownMenuSeparatorProps & react__default.RefAttributes<HTMLDivElement>>, {}, {
3319
+ declare const DropdownItem: react__default.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuItemProps & react__default.RefAttributes<HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
3320
+
3321
+ declare const StyledButton: _stitches_react_types_styled_component.StyledComponent<"button", {
3322
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
3323
+ size?: "sm" | "md" | "lg" | "xs" | undefined;
3324
+ full?: boolean | "true" | undefined;
3325
+ round?: "md" | "lg" | "xlg" | undefined;
3326
+ }, {
3321
3327
  sm: "(min-width: 375px)";
3322
3328
  md: "(min-width: 768px)";
3323
3329
  lg: "(min-width: 1024px)";
@@ -3535,13 +3541,35 @@ declare const DropdownSeparator: _stitches_react_types_styled_component.StyledCo
3535
3541
  textShadow: "shadows";
3536
3542
  transition: "transitions";
3537
3543
  zIndex: "zIndices";
3538
- }, {}>>;
3544
+ }, {}>>;
3545
+ type CustomCSS$4 = CSS<typeof config>;
3546
+ interface ButtonProps extends ComponentPropsWithoutRef<'button'>, VariantProps<typeof StyledButton> {
3547
+ as?: ElementType;
3548
+ css?: CustomCSS$4;
3549
+ children?: React.ReactNode;
3550
+ variant?: 'primary' | 'secondary' | 'tertiary';
3551
+ size?: 'xs' | 'sm' | 'md' | 'lg';
3552
+ full?: boolean;
3553
+ round?: 'md' | 'lg' | 'xlg';
3554
+ }
3555
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
3539
3556
 
3540
- declare const StyledButton: _stitches_react_types_styled_component.StyledComponent<"button", {
3541
- variant?: "primary" | "secondary" | "tertiary" | undefined;
3542
- size?: "sm" | "md" | "lg" | "xs" | undefined;
3543
- full?: boolean | "true" | undefined;
3544
- round?: "md" | "lg" | "xlg" | undefined;
3557
+ type CustomCSS$3 = CSS<typeof config>;
3558
+ interface BoxProps extends ComponentPropsWithoutRef<'div'>, VariantProps<typeof Box> {
3559
+ as?: ElementType;
3560
+ css?: CustomCSS$3;
3561
+ variant?: 'gray' | 'white';
3562
+ children?: React.ReactNode;
3563
+ }
3564
+ declare const Box: {
3565
+ (props: BoxProps): react_jsx_runtime.JSX.Element;
3566
+ displayName: string;
3567
+ };
3568
+
3569
+ declare const StyledParagraph: _stitches_react_types_styled_component.StyledComponent<"p", {
3570
+ size?: "sm" | "md" | "lg" | "xxs" | "xs" | "xl" | "2xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | undefined;
3571
+ wheight?: "regular" | "medium" | "bold" | undefined;
3572
+ lineHeight?: "regular" | "shorter" | "short" | "base" | "tall" | undefined;
3545
3573
  }, {
3546
3574
  sm: "(min-width: 375px)";
3547
3575
  md: "(min-width: 768px)";
@@ -3761,34 +3789,10 @@ declare const StyledButton: _stitches_react_types_styled_component.StyledCompone
3761
3789
  transition: "transitions";
3762
3790
  zIndex: "zIndices";
3763
3791
  }, {}>>;
3764
- type CustomCSS$3 = CSS<typeof config>;
3765
- interface ButtonProps extends ComponentPropsWithoutRef<'button'>, VariantProps<typeof StyledButton> {
3766
- as?: ElementType;
3767
- css?: CustomCSS$3;
3768
- children?: React.ReactNode;
3769
- variant?: 'primary' | 'secondary' | 'tertiary';
3770
- size?: 'xs' | 'sm' | 'md' | 'lg';
3771
- full?: boolean;
3772
- round?: 'md' | 'lg' | 'xlg';
3773
- }
3774
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
3775
-
3776
3792
  type CustomCSS$2 = CSS<typeof config>;
3777
- interface BoxProps extends ComponentPropsWithoutRef<'div'>, VariantProps<typeof Box> {
3793
+ interface ParagraphProps extends ComponentPropsWithoutRef<'p'>, VariantProps<typeof StyledParagraph> {
3778
3794
  as?: ElementType;
3779
3795
  css?: CustomCSS$2;
3780
- variant?: 'gray' | 'white';
3781
- children?: React.ReactNode;
3782
- }
3783
- declare const Box: {
3784
- (props: BoxProps): react_jsx_runtime.JSX.Element;
3785
- displayName: string;
3786
- };
3787
-
3788
- type CustomCSS$1 = CSS<typeof config>;
3789
- interface ParagraphProps extends ComponentPropsWithoutRef<'p'>, VariantProps<typeof Paragraph> {
3790
- as?: ElementType;
3791
- css?: CustomCSS$1;
3792
3796
  size?: "sm" | "md" | "lg" | "xxs" | "xs" | "xl" | "2xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
3793
3797
  wheight?: "regular" | "medium" | "bold";
3794
3798
  lineHeight?: "regular" | "shorter" | "short" | "base" | "tall";
@@ -4019,10 +4023,10 @@ declare const StyledHeading: _stitches_react_types_styled_component.StyledCompon
4019
4023
  transition: "transitions";
4020
4024
  zIndex: "zIndices";
4021
4025
  }, {}>>;
4022
- type CustomCSS = CSS<typeof config>;
4026
+ type CustomCSS$1 = CSS<typeof config>;
4023
4027
  interface HeadingProps extends ComponentPropsWithoutRef<'h2'>, VariantProps<typeof StyledHeading> {
4024
4028
  as?: ElementType;
4025
- css?: CustomCSS;
4029
+ css?: CustomCSS$1;
4026
4030
  children?: React.ReactNode;
4027
4031
  size?: 'sm' | 'md' | 'lg' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
4028
4032
  }
@@ -4032,16 +4036,17 @@ interface SelectItem {
4032
4036
  value: string;
4033
4037
  label: string;
4034
4038
  }
4039
+ type CustomCSS = CSS<typeof config>;
4035
4040
  interface SelectProps extends ComponentProps<typeof CustomSelect.Root> {
4036
4041
  items: SelectItem[];
4037
4042
  placeholder?: string;
4038
4043
  label?: string;
4039
4044
  errorMessage?: string;
4045
+ css?: CustomCSS;
4046
+ className?: string;
4047
+ style?: CSSProperties;
4040
4048
  }
4041
- declare function Select({ value, onValueChange, items, placeholder, label, errorMessage, ...rest }: SelectProps): react_jsx_runtime.JSX.Element;
4042
- declare namespace Select {
4043
- var displayName: string;
4044
- }
4049
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
4045
4050
 
4046
4051
  interface LabelledValueProps {
4047
4052
  position?: 'vertical' | 'horizontal';
@@ -4130,4 +4135,4 @@ interface AccordionProps {
4130
4135
  }
4131
4136
  declare const Accordion: react__default.ForwardRefExoticComponent<AccordionProps & react__default.RefAttributes<HTMLDivElement>>;
4132
4137
 
4133
- export { Accordion, Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, Dropdown, DropdownItem, DropdownSeparator, Heading, HeadingProps, Hr, HrProps, Icon, IconProps, Input, LabelledValue, LabelledValueProps, Loader, MaskType, MaskedInput, MaskedInputProps, Modal, MultiStep, MultiStepProps, OneTimePassword, OneTimePasswordProps, Paragraph, ParagraphProps, PasswordInput, PasswordInputProps, ProgressBar, ProgressBarProps, Radio, RadioProps, Select, SelectProps, Spacing, Span, StyledHr, Switch, SwitchProps, Tabs, TextArea, TextAreaElement, TextAreaProps, TextInputProps, Toast, Tooltip, TooltipProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme, toast };
4138
+ export { Accordion, Avatar, AvatarProps, AvatarSize, AvatarStatus, Box, BoxProps, Button, ButtonProps, Calendar, Carousel, CarouselProps, Checkbox, CheckboxProps, Datepicker, Dropdown, DropdownItem, DropdownItemProps, DropdownSeparator, Heading, HeadingProps, Hr, HrProps, Icon, IconProps, Input, LabelledValue, LabelledValueProps, Loader, MaskType, MaskedInput, MaskedInputProps, Modal, MultiStep, MultiStepProps, OneTimePassword, OneTimePasswordProps, Paragraph, ParagraphProps, PasswordInput, PasswordInputProps, ProgressBar, ProgressBarProps, Radio, RadioProps, Select, SelectProps, Spacing, Span, StyledHr, Switch, SwitchProps, Tabs, TextArea, TextAreaElement, TextAreaProps, TextInputProps, Toast, Tooltip, TooltipProps, config, createTheme, css, getCssText, globalCss, keyframes, styled, theme, toast };
package/dist/index.js CHANGED
@@ -1141,7 +1141,8 @@ var CheckboxLabel = styled("label", {
1141
1141
  display: "flex",
1142
1142
  paddingLeft: "$3",
1143
1143
  fontSize: "$md",
1144
- lineHeight: "$base"
1144
+ lineHeight: "$base",
1145
+ color: "$black"
1145
1146
  });
1146
1147
  var Span = styled("span", {
1147
1148
  fontFamily: "$default",
@@ -1212,7 +1213,7 @@ var TextInputContainer = styled("div", {
1212
1213
  padding: "$4 $4",
1213
1214
  marginBottom: "$6",
1214
1215
  FontSize: "$md",
1215
- "&:has(input:focus)": {
1216
+ "&:has(input:focus), &:hover": {
1216
1217
  border: "2px solid $clickpalm_light"
1217
1218
  },
1218
1219
  "&:has(input:disabled)": {
@@ -1233,7 +1234,7 @@ var TextInputContainer = styled("div", {
1233
1234
  true: {
1234
1235
  border: "1px solid $danger_dark",
1235
1236
  marginBottom: "0px",
1236
- "&:has(input:focus)": {
1237
+ "&:has(input:focus), &:hover": {
1237
1238
  border: "2px solid $danger_dark"
1238
1239
  }
1239
1240
  }
@@ -1498,14 +1499,13 @@ var Dialog2 = __toESM(require("@radix-ui/react-dialog"));
1498
1499
 
1499
1500
  // src/components/Modal/styles.ts
1500
1501
  var Dialog = __toESM(require("@radix-ui/react-dialog"));
1501
- var import_react9 = require("@stitches/react");
1502
- var StyledOverlay = (0, import_react9.styled)(Dialog.Overlay, {
1502
+ var StyledOverlay = styled(Dialog.Overlay, {
1503
1503
  backgroundColor: "rgba(0, 0, 0, 0.5)",
1504
1504
  position: "fixed",
1505
1505
  inset: 0,
1506
- zIndex: 999999999
1506
+ zIndex: 101
1507
1507
  });
1508
- var StyledContent = (0, import_react9.styled)(Dialog.Content, {
1508
+ var StyledContent = styled(Dialog.Content, {
1509
1509
  position: "fixed",
1510
1510
  top: "50%",
1511
1511
  left: "50%",
@@ -1518,19 +1518,21 @@ var StyledContent = (0, import_react9.styled)(Dialog.Content, {
1518
1518
  borderRadius: "$md",
1519
1519
  boxShadow: "0px 10px 38px -10px rgba(22, 23, 24, 0.35), 0px 10px 20px -15px rgba(22, 23, 24, 0.2)",
1520
1520
  transform: "translate(-50%, -50%)",
1521
- zIndex: 1e9,
1522
- fontFamily: "$default"
1521
+ zIndex: 102,
1522
+ fontFamily: "$default",
1523
+ fontWeight: "$regular"
1523
1524
  });
1524
- var Wrapper = (0, import_react9.styled)("div", {
1525
+ var Wrapper = styled("div", {
1525
1526
  display: "flex",
1526
1527
  justifyContent: "space-between",
1527
1528
  alignItems: "center"
1528
1529
  });
1529
- var StyledTitle = (0, import_react9.styled)(Dialog.Title, {
1530
+ var StyledTitle = styled(Dialog.Title, {
1530
1531
  fontSize: "$lg",
1531
- fontWeight: "bold"
1532
+ fontWeight: "bold",
1533
+ color: "$black"
1532
1534
  });
1533
- var StyledClose = (0, import_react9.styled)(Dialog.Close, {
1535
+ var StyledClose = styled(Dialog.Close, {
1534
1536
  all: "unset",
1535
1537
  position: "absolute",
1536
1538
  top: "16px",
@@ -1542,15 +1544,22 @@ var StyledClose = (0, import_react9.styled)(Dialog.Close, {
1542
1544
  color: "#333"
1543
1545
  }
1544
1546
  });
1545
- var StyledDivider = (0, import_react9.styled)("hr", {
1547
+ var StyledDivider = styled("hr", {
1546
1548
  width: "100%",
1547
1549
  border: "none",
1548
1550
  borderTop: "1px solid $gray_mid"
1549
1551
  });
1552
+ var StyledDescription = styled(Dialog.Description, {
1553
+ display: "flex",
1554
+ fontFamily: "$default",
1555
+ fontWeight: "$regular",
1556
+ fontSize: "$md",
1557
+ margin: "$2 0"
1558
+ });
1550
1559
 
1551
1560
  // src/components/Modal/index.tsx
1552
1561
  var import_jsx_runtime22 = require("react/jsx-runtime");
1553
- var Modal = ({ open, onOpenChange, title, children }) => {
1562
+ var Modal = ({ open, onOpenChange, title, description, children }) => {
1554
1563
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Dialog2.Root, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Dialog2.Portal, { children: [
1555
1564
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledOverlay, {}),
1556
1565
  /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(StyledContent, { children: [
@@ -1559,13 +1568,14 @@ var Modal = ({ open, onOpenChange, title, children }) => {
1559
1568
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "Closed", size: 8 }) }) })
1560
1569
  ] }),
1561
1570
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDivider, {}),
1571
+ description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDescription, { children: description }),
1562
1572
  children
1563
1573
  ] })
1564
1574
  ] }) });
1565
1575
  };
1566
1576
 
1567
1577
  // src/components/ProgressBar/index.tsx
1568
- var import_react10 = require("react");
1578
+ var import_react9 = require("react");
1569
1579
 
1570
1580
  // src/components/ProgressBar/styles.ts
1571
1581
  var Progress = __toESM(require("@radix-ui/react-progress"));
@@ -1597,8 +1607,8 @@ var StyledIndicator = styled(Progress.Indicator, {
1597
1607
  // src/components/ProgressBar/index.tsx
1598
1608
  var import_jsx_runtime23 = require("react/jsx-runtime");
1599
1609
  var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1600
- const [progress2, setProgress] = (0, import_react10.useState)(0);
1601
- (0, import_react10.useEffect)(() => {
1610
+ const [progress2, setProgress] = (0, import_react9.useState)(0);
1611
+ (0, import_react9.useEffect)(() => {
1602
1612
  const timer = setTimeout(() => setProgress(value), 500);
1603
1613
  return () => clearTimeout(timer);
1604
1614
  }, [value]);
@@ -1623,6 +1633,9 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1623
1633
  };
1624
1634
  ProgressBar.displayName = "ProgressBar";
1625
1635
 
1636
+ // src/components/Radio/index.tsx
1637
+ var import_react10 = require("react");
1638
+
1626
1639
  // src/components/Radio/styles.ts
1627
1640
  var RadioGroup = __toESM(require("@radix-ui/react-radio-group"));
1628
1641
  var StyledRoot2 = styled(RadioGroup.Root, {
@@ -1716,18 +1729,19 @@ var Span3 = styled("span", {
1716
1729
 
1717
1730
  // src/components/Radio/index.tsx
1718
1731
  var import_jsx_runtime24 = require("react/jsx-runtime");
1719
- var Radio = ({
1732
+ var Radio = (0, import_react10.forwardRef)(({
1720
1733
  labels,
1721
1734
  value,
1722
1735
  onChange,
1723
1736
  disabled = false,
1724
1737
  required = false,
1725
1738
  errorMessage
1726
- }) => {
1739
+ }, ref) => {
1727
1740
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1728
1741
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1729
1742
  StyledRoot2,
1730
1743
  {
1744
+ ref,
1731
1745
  value,
1732
1746
  onValueChange: onChange,
1733
1747
  hasError: !!errorMessage,
@@ -1751,7 +1765,8 @@ var Radio = ({
1751
1765
  ),
1752
1766
  errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Span3, { children: errorMessage })
1753
1767
  ] });
1754
- };
1768
+ });
1769
+ Radio.displayName = "Radio";
1755
1770
 
1756
1771
  // src/components/Spacing.tsx
1757
1772
  var import_jsx_runtime25 = require("react/jsx-runtime");
@@ -1769,6 +1784,9 @@ var Spacing = ({ size, axis = "vertical" }) => {
1769
1784
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { style, "data-testid": `spacing-${size}-${axis}` });
1770
1785
  };
1771
1786
 
1787
+ // src/components/Switch/index.tsx
1788
+ var import_react11 = require("react");
1789
+
1772
1790
  // src/components/Switch/styles.ts
1773
1791
  var Switch = __toESM(require("@radix-ui/react-switch"));
1774
1792
  var Wrapper3 = styled("div", {
@@ -1865,7 +1883,7 @@ var Span4 = styled("span", {
1865
1883
 
1866
1884
  // src/components/Switch/index.tsx
1867
1885
  var import_jsx_runtime26 = require("react/jsx-runtime");
1868
- var Switch2 = ({
1886
+ var Switch2 = (0, import_react11.forwardRef)(({
1869
1887
  label,
1870
1888
  checked,
1871
1889
  defaultChecked,
@@ -1874,12 +1892,13 @@ var Switch2 = ({
1874
1892
  required = false,
1875
1893
  id,
1876
1894
  errorMessage
1877
- }) => {
1895
+ }, ref) => {
1878
1896
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1879
1897
  /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Wrapper3, { hasError: !!errorMessage, children: [
1880
1898
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1881
1899
  StyledRoot3,
1882
1900
  {
1901
+ ref,
1883
1902
  id,
1884
1903
  checked,
1885
1904
  defaultChecked,
@@ -1894,10 +1913,11 @@ var Switch2 = ({
1894
1913
  ] }),
1895
1914
  errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Span4, { children: errorMessage })
1896
1915
  ] });
1897
- };
1916
+ });
1917
+ Switch2.displayName = "Switch";
1898
1918
 
1899
1919
  // src/components/Tabs/index.tsx
1900
- var import_react11 = require("react");
1920
+ var import_react12 = require("react");
1901
1921
 
1902
1922
  // src/components/Tabs/styles.ts
1903
1923
  var Tabs = __toESM(require("@radix-ui/react-tabs"));
@@ -1984,17 +2004,17 @@ var TabsItem = ({ children }) => {
1984
2004
  };
1985
2005
  var Tabs2 = ({ defaultValue, colorContent, children }) => {
1986
2006
  const items = [];
1987
- const childrenArray = import_react11.Children.toArray(children);
2007
+ const childrenArray = import_react12.Children.toArray(children);
1988
2008
  childrenArray.forEach((child) => {
1989
- if ((0, import_react11.isValidElement)(child) && child.type === TabsItem) {
2009
+ if ((0, import_react12.isValidElement)(child) && child.type === TabsItem) {
1990
2010
  const { value, label, children: content } = child.props;
1991
2011
  items.push({ value, label, children: content });
1992
2012
  }
1993
2013
  });
1994
- const listRef = (0, import_react11.useRef)(null);
1995
- const rootRef = (0, import_react11.useRef)(null);
1996
- const hasOverflowRef = (0, import_react11.useRef)(false);
1997
- const [hasOverflow, setHasOverflow] = (0, import_react11.useState)(false);
2014
+ const listRef = (0, import_react12.useRef)(null);
2015
+ const rootRef = (0, import_react12.useRef)(null);
2016
+ const hasOverflowRef = (0, import_react12.useRef)(false);
2017
+ const [hasOverflow, setHasOverflow] = (0, import_react12.useState)(false);
1998
2018
  const checkOverflow = () => {
1999
2019
  const listEl = listRef.current;
2000
2020
  const rootEl = rootRef.current;
@@ -2009,7 +2029,7 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2009
2029
  setHasOverflow(overflow);
2010
2030
  }
2011
2031
  };
2012
- (0, import_react11.useLayoutEffect)(() => {
2032
+ (0, import_react12.useLayoutEffect)(() => {
2013
2033
  checkOverflow();
2014
2034
  const resizeObserver = new ResizeObserver(checkOverflow);
2015
2035
  if (listRef.current) {
@@ -2088,6 +2108,7 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2088
2108
  Tabs2.Item = TabsItem;
2089
2109
 
2090
2110
  // src/components/TextArea.tsx
2111
+ var import_react13 = require("react");
2091
2112
  var import_jsx_runtime28 = require("react/jsx-runtime");
2092
2113
  var Wrapper4 = styled("div", {
2093
2114
  display: "flex",
@@ -2163,14 +2184,24 @@ var Span5 = styled("span", {
2163
2184
  marginTop: "2px",
2164
2185
  marginBottom: "$6"
2165
2186
  });
2166
- var TextArea = ({ label, id, htmlFor, errorMessage, ...props }) => {
2167
- const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2168
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Wrapper4, { children: [
2169
- label && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledLabel2, { htmlFor: textAreaId, children: label }),
2170
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TextAreaElement, { id: textAreaId, ...props, hasError: !!errorMessage }),
2171
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Span5, { children: errorMessage })
2172
- ] });
2173
- };
2187
+ var TextArea = (0, import_react13.forwardRef)(
2188
+ ({ label, id, htmlFor, errorMessage, ...props }, ref) => {
2189
+ const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2190
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Wrapper4, { children: [
2191
+ label && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledLabel2, { htmlFor: textAreaId, children: label }),
2192
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2193
+ TextAreaElement,
2194
+ {
2195
+ id: textAreaId,
2196
+ ...props,
2197
+ hasError: !!errorMessage,
2198
+ ref
2199
+ }
2200
+ ),
2201
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Span5, { children: errorMessage })
2202
+ ] });
2203
+ }
2204
+ );
2174
2205
  TextArea.displayName = "TextArea";
2175
2206
 
2176
2207
  // src/components/Tooltip/index.tsx
@@ -2329,7 +2360,7 @@ var Loader = ({ show, fullscreen = false }) => {
2329
2360
  Loader.displayName = "Loader";
2330
2361
 
2331
2362
  // src/components/MaskedInput/index.tsx
2332
- var import_react12 = require("react");
2363
+ var import_react14 = require("react");
2333
2364
 
2334
2365
  // src/components/MaskedInput/utils.ts
2335
2366
  var MAX_LENGTHS = {
@@ -2394,10 +2425,10 @@ var applyMask = (value, maskType) => {
2394
2425
 
2395
2426
  // src/components/MaskedInput/index.tsx
2396
2427
  var import_jsx_runtime31 = require("react/jsx-runtime");
2397
- var MaskedInput = (0, import_react12.forwardRef)(
2428
+ var MaskedInput = (0, import_react14.forwardRef)(
2398
2429
  ({ maskType, onChange, ...props }, ref) => {
2399
- const [value, setValue] = (0, import_react12.useState)("");
2400
- const inputRef = (0, import_react12.useRef)(null);
2430
+ const [value, setValue] = (0, import_react14.useState)("");
2431
+ const inputRef = (0, import_react14.useRef)(null);
2401
2432
  const handleChange = (e) => {
2402
2433
  const { value: inputValue, selectionStart } = e.target;
2403
2434
  const isBackspace = value.length > inputValue.length;
@@ -2445,7 +2476,7 @@ var MaskedInput = (0, import_react12.forwardRef)(
2445
2476
  MaskedInput.displayName = "MaskedInput";
2446
2477
 
2447
2478
  // src/components/Dropdown/index.tsx
2448
- var import_react13 = require("react");
2479
+ var import_react15 = __toESM(require("react"));
2449
2480
  var DropdownMenu2 = __toESM(require("@radix-ui/react-dropdown-menu"));
2450
2481
 
2451
2482
  // src/components/Dropdown/styles.ts
@@ -2531,17 +2562,19 @@ var IconButton = styled("button", {
2531
2562
  // src/components/Dropdown/index.tsx
2532
2563
  var import_jsx_runtime32 = require("react/jsx-runtime");
2533
2564
  var Dropdown = ({ children }) => {
2534
- const childrenArray = import_react13.Children.toArray(children);
2565
+ const childrenArray = import_react15.Children.toArray(children);
2535
2566
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(DropdownMenu2.Root, { children: [
2536
2567
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { name: "Dots", size: 16 }) }) }),
2537
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenu2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react13.Fragment, { children: [
2568
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenu2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_react15.Fragment, { children: [
2538
2569
  child,
2539
2570
  index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownSeparator, {})
2540
2571
  ] }, index)) }) })
2541
2572
  ] });
2542
2573
  };
2543
- var DropdownItem = StyledItem2;
2544
2574
  var DropdownSeparator = StyledSeparator;
2575
+ var DropdownItem = import_react15.default.forwardRef(({ children, ...props }, forwardedRef) => {
2576
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledItem2, { ...props, ref: forwardedRef, children });
2577
+ });
2545
2578
  Dropdown.displayName = "Dropdown";
2546
2579
  DropdownItem.displayName = "DropdownItem";
2547
2580
  DropdownSeparator.displayName = "DropdownSeparator";
@@ -2578,6 +2611,7 @@ var import_jsx_runtime34 = require("react/jsx-runtime");
2578
2611
  var StyledParagraph = styled("p", {
2579
2612
  fontFamily: "$default",
2580
2613
  lineHeight: "$short",
2614
+ color: "$black",
2581
2615
  margin: 0,
2582
2616
  variants: {
2583
2617
  size: {
@@ -2620,7 +2654,7 @@ var Paragraph = (props) => {
2620
2654
  Paragraph.displayName = "Paragraph";
2621
2655
 
2622
2656
  // src/components/Heading.tsx
2623
- var import_react14 = require("react");
2657
+ var import_react16 = require("react");
2624
2658
  var import_jsx_runtime35 = require("react/jsx-runtime");
2625
2659
  var StyledHeading = styled("h2", {
2626
2660
  fontFamily: "$default",
@@ -2643,7 +2677,7 @@ var StyledHeading = styled("h2", {
2643
2677
  size: "md"
2644
2678
  }
2645
2679
  });
2646
- var Heading = (0, import_react14.forwardRef)(function Heading2({ children, ...props }, ref) {
2680
+ var Heading = (0, import_react16.forwardRef)(function Heading2({ children, ...props }, ref) {
2647
2681
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledHeading, { ref, ...props, children });
2648
2682
  });
2649
2683
  Heading.displayName = "Heading";
@@ -2651,7 +2685,7 @@ Heading.displayName = "Heading";
2651
2685
  // src/components/Select/index.tsx
2652
2686
  var import_react_icons2 = require("@radix-ui/react-icons");
2653
2687
  var CustomSelect = __toESM(require("@radix-ui/react-select"));
2654
- var import_react15 = require("react");
2688
+ var import_react17 = require("react");
2655
2689
 
2656
2690
  // src/components/Select/styles.ts
2657
2691
  var Select = __toESM(require("@radix-ui/react-select"));
@@ -2680,6 +2714,7 @@ var StyledTrigger = styled(Select.Trigger, {
2680
2714
  fontSize: "$md",
2681
2715
  backgroundColor: "white",
2682
2716
  cursor: "pointer",
2717
+ color: "$black",
2683
2718
  "&[data-placeholder]": {
2684
2719
  color: "$gray_mid"
2685
2720
  },
@@ -2709,9 +2744,10 @@ var StyledContent3 = styled(Select.Content, {
2709
2744
  backgroundColor: "$gray_background",
2710
2745
  borderRadius: "$md",
2711
2746
  boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
2712
- zIndex: 10,
2747
+ zIndex: 103,
2713
2748
  width: "var(--radix-select-trigger-width)",
2714
- maxHeight: "var(--radix-select-content-available-height)"
2749
+ maxHeight: "var(--radix-select-content-available-height)",
2750
+ fontWeight: "$regular"
2715
2751
  });
2716
2752
  var StyledViewport = styled(Select.Viewport, {
2717
2753
  padding: "4px"
@@ -2719,10 +2755,11 @@ var StyledViewport = styled(Select.Viewport, {
2719
2755
  var StyledItem3 = styled(Select.Item, {
2720
2756
  position: "relative",
2721
2757
  fontSize: "$md",
2758
+ fontWeight: "$regular",
2722
2759
  padding: "14px 12px",
2723
2760
  color: "$black",
2724
2761
  cursor: "pointer",
2725
- "&[data-highlighted]": {
2762
+ "&[data-highlighted], &:focus, &:hover": {
2726
2763
  outline: "none",
2727
2764
  color: "$clickpalm_light"
2728
2765
  },
@@ -2769,53 +2806,50 @@ var Span6 = styled("span", {
2769
2806
 
2770
2807
  // src/components/Select/index.tsx
2771
2808
  var import_jsx_runtime36 = require("react/jsx-runtime");
2772
- function Select2({
2773
- value,
2774
- onValueChange,
2775
- items,
2776
- placeholder = "Selecione",
2777
- label,
2778
- errorMessage,
2779
- ...rest
2780
- }) {
2781
- const [open, setOpen] = (0, import_react15.useState)(false);
2782
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledWrapper4, { children: [
2783
- label && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Label3, { children: label }),
2784
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2785
- CustomSelect.Root,
2786
- {
2787
- value,
2788
- onValueChange,
2789
- onOpenChange: setOpen,
2790
- ...rest,
2791
- children: [
2792
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, children: [
2793
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Value, { placeholder }),
2794
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2795
- ] }),
2796
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Span6, { children: errorMessage }),
2797
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2798
- StyledContent3,
2799
- {
2800
- side: "bottom",
2801
- align: "start",
2802
- position: "popper",
2803
- children: [
2804
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
2805
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledItem3, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2806
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2807
- ]
2808
- }
2809
- ) })
2810
- ]
2811
- }
2812
- )
2813
- ] });
2814
- }
2809
+ var Select2 = (0, import_react17.forwardRef)(
2810
+ ({
2811
+ value,
2812
+ onValueChange,
2813
+ items,
2814
+ placeholder = "Selecione",
2815
+ label,
2816
+ errorMessage,
2817
+ css: css2,
2818
+ className,
2819
+ style,
2820
+ ...rest
2821
+ }, ref) => {
2822
+ const [open, setOpen] = (0, import_react17.useState)(false);
2823
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledWrapper4, { css: css2, className, style, children: [
2824
+ label && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Label3, { children: label }),
2825
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2826
+ CustomSelect.Root,
2827
+ {
2828
+ value,
2829
+ onValueChange,
2830
+ onOpenChange: setOpen,
2831
+ ...rest,
2832
+ children: [
2833
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
2834
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Value, { placeholder }),
2835
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2836
+ ] }),
2837
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Span6, { children: errorMessage }),
2838
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
2839
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
2840
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledItem3, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2841
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
2842
+ ] }) })
2843
+ ]
2844
+ }
2845
+ )
2846
+ ] });
2847
+ }
2848
+ );
2815
2849
  Select2.displayName = "Select";
2816
2850
 
2817
2851
  // src/components/LabelledValue/index.tsx
2818
- var import_react16 = require("react");
2852
+ var import_react18 = require("react");
2819
2853
 
2820
2854
  // src/components/LabelledValue/styles.ts
2821
2855
  var Container = styled("div", {
@@ -2878,9 +2912,9 @@ var Value2 = styled("div", {
2878
2912
  // src/components/LabelledValue/index.tsx
2879
2913
  var import_jsx_runtime37 = require("react/jsx-runtime");
2880
2914
  function LabelledValue({ position = "vertical", withRow = false, children }) {
2881
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Container, { position, children: import_react16.Children.map(children, (child) => {
2882
- if ((0, import_react16.isValidElement)(child)) {
2883
- return (0, import_react16.cloneElement)(child, { position, withRow });
2915
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Container, { position, children: import_react18.Children.map(children, (child) => {
2916
+ if ((0, import_react18.isValidElement)(child)) {
2917
+ return (0, import_react18.cloneElement)(child, { position, withRow });
2884
2918
  }
2885
2919
  return child;
2886
2920
  }) });
@@ -2920,7 +2954,8 @@ var StyledLabel3 = styled(OneTimePasswordField.Root, {
2920
2954
  display: "flex",
2921
2955
  justifyContent: "center",
2922
2956
  alignItems: "center",
2923
- marginBottom: "$5"
2957
+ marginBottom: "$5",
2958
+ color: "$black"
2924
2959
  });
2925
2960
  var StyledInput = styled(OneTimePasswordField.Input, {
2926
2961
  all: "unset",
@@ -3080,7 +3115,7 @@ var ToastViewport = styled(ToastPrimitive.Viewport, {
3080
3115
  outline: "none",
3081
3116
  zIndex: 9999,
3082
3117
  "@lg": {
3083
- maxWidth: "900px"
3118
+ maxWidth: "700px"
3084
3119
  }
3085
3120
  });
3086
3121
  var progress = keyframes({
@@ -3241,7 +3276,6 @@ var StepItem = styled("div", {
3241
3276
  });
3242
3277
  var StepCircle = styled("div", {
3243
3278
  position: "relative",
3244
- zIndex: 990,
3245
3279
  width: "var(--circle-size)",
3246
3280
  height: "var(--circle-size)",
3247
3281
  borderRadius: "50%",
@@ -3476,7 +3510,7 @@ var MultiStep = ({
3476
3510
  MultiStep.displayName = "MultiStep";
3477
3511
 
3478
3512
  // src/components/Carousel/index.tsx
3479
- var import_react17 = require("react");
3513
+ var import_react19 = require("react");
3480
3514
 
3481
3515
  // src/components/Carousel/styles.ts
3482
3516
  var CarouselContainer = styled("div", {
@@ -3585,10 +3619,10 @@ var CarouselItemContainer = styled("div", {
3585
3619
  var import_jsx_runtime41 = require("react/jsx-runtime");
3586
3620
  var SWIPE_THRESHOLD = 50;
3587
3621
  var Carousel = ({ title, variant, children }) => {
3588
- const items = import_react17.Children.toArray(children);
3589
- const [activeIndex, setActiveIndex] = (0, import_react17.useState)(0);
3590
- const [touchStartX, setTouchStartX] = (0, import_react17.useState)(null);
3591
- const [touchEndX, setTouchEndX] = (0, import_react17.useState)(null);
3622
+ const items = import_react19.Children.toArray(children);
3623
+ const [activeIndex, setActiveIndex] = (0, import_react19.useState)(0);
3624
+ const [touchStartX, setTouchStartX] = (0, import_react19.useState)(null);
3625
+ const [touchEndX, setTouchEndX] = (0, import_react19.useState)(null);
3592
3626
  const prev = () => {
3593
3627
  setActiveIndex((prevIndex) => prevIndex === 0 ? items.length - 1 : prevIndex - 1);
3594
3628
  };
@@ -3661,7 +3695,7 @@ var Carousel = ({ title, variant, children }) => {
3661
3695
  onTouchMove,
3662
3696
  onTouchEnd,
3663
3697
  children: items.map(
3664
- (child, index) => (0, import_react17.cloneElement)(child, {
3698
+ (child, index) => (0, import_react19.cloneElement)(child, {
3665
3699
  "aria-hidden": index !== activeIndex,
3666
3700
  style: {
3667
3701
  display: index === activeIndex ? "block" : "none"
@@ -3692,7 +3726,7 @@ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ (0, import
3692
3726
  Carousel.Item = CarouselItem;
3693
3727
 
3694
3728
  // src/components/PasswordInput.tsx
3695
- var import_react18 = require("react");
3729
+ var import_react20 = require("react");
3696
3730
  var import_jsx_runtime42 = require("react/jsx-runtime");
3697
3731
  var ToggleButton = styled("button", {
3698
3732
  all: "unset",
@@ -3708,11 +3742,11 @@ var ToggleButton = styled("button", {
3708
3742
  borderRadius: "$sm"
3709
3743
  }
3710
3744
  });
3711
- var PasswordInput = (0, import_react18.forwardRef)(
3745
+ var PasswordInput = (0, import_react20.forwardRef)(
3712
3746
  ({ value, onChange, ...props }, ref) => {
3713
- const [visible, setVisible] = (0, import_react18.useState)(false);
3714
- const innerRef = (0, import_react18.useRef)(null);
3715
- (0, import_react18.useImperativeHandle)(ref, () => innerRef.current);
3747
+ const [visible, setVisible] = (0, import_react20.useState)(false);
3748
+ const innerRef = (0, import_react20.useRef)(null);
3749
+ (0, import_react20.useImperativeHandle)(ref, () => innerRef.current);
3716
3750
  const handleToggleVisibility = () => {
3717
3751
  setVisible((v) => !v);
3718
3752
  setTimeout(() => {
@@ -3748,7 +3782,7 @@ PasswordInput.displayName = "PasswordInput";
3748
3782
 
3749
3783
  // src/components/Accordion/index.tsx
3750
3784
  var RadixAccordion = __toESM(require("@radix-ui/react-accordion"));
3751
- var import_react19 = __toESM(require("react"));
3785
+ var import_react21 = __toESM(require("react"));
3752
3786
 
3753
3787
  // src/components/Accordion/styles.ts
3754
3788
  var Accordion = __toESM(require("@radix-ui/react-accordion"));
@@ -3830,7 +3864,7 @@ var OptionsButton = styled(Button, {
3830
3864
 
3831
3865
  // src/components/Accordion/index.tsx
3832
3866
  var import_jsx_runtime43 = require("react/jsx-runtime");
3833
- var Accordion2 = import_react19.default.forwardRef(
3867
+ var Accordion2 = import_react21.default.forwardRef(
3834
3868
  ({ title, children, dropdownItems }, ref) => {
3835
3869
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionContainer, { type: "single", collapsible: true, ref, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AccordionItem, { value: "item-1", children: [
3836
3870
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AccordionTrigger, { children: [
package/dist/index.mjs CHANGED
@@ -1069,7 +1069,8 @@ var CheckboxLabel = styled("label", {
1069
1069
  display: "flex",
1070
1070
  paddingLeft: "$3",
1071
1071
  fontSize: "$md",
1072
- lineHeight: "$base"
1072
+ lineHeight: "$base",
1073
+ color: "$black"
1073
1074
  });
1074
1075
  var Span = styled("span", {
1075
1076
  fontFamily: "$default",
@@ -1140,7 +1141,7 @@ var TextInputContainer = styled("div", {
1140
1141
  padding: "$4 $4",
1141
1142
  marginBottom: "$6",
1142
1143
  FontSize: "$md",
1143
- "&:has(input:focus)": {
1144
+ "&:has(input:focus), &:hover": {
1144
1145
  border: "2px solid $clickpalm_light"
1145
1146
  },
1146
1147
  "&:has(input:disabled)": {
@@ -1161,7 +1162,7 @@ var TextInputContainer = styled("div", {
1161
1162
  true: {
1162
1163
  border: "1px solid $danger_dark",
1163
1164
  marginBottom: "0px",
1164
- "&:has(input:focus)": {
1165
+ "&:has(input:focus), &:hover": {
1165
1166
  border: "2px solid $danger_dark"
1166
1167
  }
1167
1168
  }
@@ -1426,14 +1427,13 @@ import * as Dialog2 from "@radix-ui/react-dialog";
1426
1427
 
1427
1428
  // src/components/Modal/styles.ts
1428
1429
  import * as Dialog from "@radix-ui/react-dialog";
1429
- import { styled as styled2 } from "@stitches/react";
1430
- var StyledOverlay = styled2(Dialog.Overlay, {
1430
+ var StyledOverlay = styled(Dialog.Overlay, {
1431
1431
  backgroundColor: "rgba(0, 0, 0, 0.5)",
1432
1432
  position: "fixed",
1433
1433
  inset: 0,
1434
- zIndex: 999999999
1434
+ zIndex: 101
1435
1435
  });
1436
- var StyledContent = styled2(Dialog.Content, {
1436
+ var StyledContent = styled(Dialog.Content, {
1437
1437
  position: "fixed",
1438
1438
  top: "50%",
1439
1439
  left: "50%",
@@ -1446,19 +1446,21 @@ var StyledContent = styled2(Dialog.Content, {
1446
1446
  borderRadius: "$md",
1447
1447
  boxShadow: "0px 10px 38px -10px rgba(22, 23, 24, 0.35), 0px 10px 20px -15px rgba(22, 23, 24, 0.2)",
1448
1448
  transform: "translate(-50%, -50%)",
1449
- zIndex: 1e9,
1450
- fontFamily: "$default"
1449
+ zIndex: 102,
1450
+ fontFamily: "$default",
1451
+ fontWeight: "$regular"
1451
1452
  });
1452
- var Wrapper = styled2("div", {
1453
+ var Wrapper = styled("div", {
1453
1454
  display: "flex",
1454
1455
  justifyContent: "space-between",
1455
1456
  alignItems: "center"
1456
1457
  });
1457
- var StyledTitle = styled2(Dialog.Title, {
1458
+ var StyledTitle = styled(Dialog.Title, {
1458
1459
  fontSize: "$lg",
1459
- fontWeight: "bold"
1460
+ fontWeight: "bold",
1461
+ color: "$black"
1460
1462
  });
1461
- var StyledClose = styled2(Dialog.Close, {
1463
+ var StyledClose = styled(Dialog.Close, {
1462
1464
  all: "unset",
1463
1465
  position: "absolute",
1464
1466
  top: "16px",
@@ -1470,15 +1472,22 @@ var StyledClose = styled2(Dialog.Close, {
1470
1472
  color: "#333"
1471
1473
  }
1472
1474
  });
1473
- var StyledDivider = styled2("hr", {
1475
+ var StyledDivider = styled("hr", {
1474
1476
  width: "100%",
1475
1477
  border: "none",
1476
1478
  borderTop: "1px solid $gray_mid"
1477
1479
  });
1480
+ var StyledDescription = styled(Dialog.Description, {
1481
+ display: "flex",
1482
+ fontFamily: "$default",
1483
+ fontWeight: "$regular",
1484
+ fontSize: "$md",
1485
+ margin: "$2 0"
1486
+ });
1478
1487
 
1479
1488
  // src/components/Modal/index.tsx
1480
1489
  import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1481
- var Modal = ({ open, onOpenChange, title, children }) => {
1490
+ var Modal = ({ open, onOpenChange, title, description, children }) => {
1482
1491
  return /* @__PURE__ */ jsx22(Dialog2.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxs6(Dialog2.Portal, { children: [
1483
1492
  /* @__PURE__ */ jsx22(StyledOverlay, {}),
1484
1493
  /* @__PURE__ */ jsxs6(StyledContent, { children: [
@@ -1487,6 +1496,7 @@ var Modal = ({ open, onOpenChange, title, children }) => {
1487
1496
  /* @__PURE__ */ jsx22(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx22(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx22(Icon, { name: "Closed", size: 8 }) }) })
1488
1497
  ] }),
1489
1498
  /* @__PURE__ */ jsx22(StyledDivider, {}),
1499
+ description && /* @__PURE__ */ jsx22(StyledDescription, { children: description }),
1490
1500
  children
1491
1501
  ] })
1492
1502
  ] }) });
@@ -1551,6 +1561,9 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1551
1561
  };
1552
1562
  ProgressBar.displayName = "ProgressBar";
1553
1563
 
1564
+ // src/components/Radio/index.tsx
1565
+ import { forwardRef as forwardRef5 } from "react";
1566
+
1554
1567
  // src/components/Radio/styles.ts
1555
1568
  import * as RadioGroup from "@radix-ui/react-radio-group";
1556
1569
  var StyledRoot2 = styled(RadioGroup.Root, {
@@ -1644,18 +1657,19 @@ var Span3 = styled("span", {
1644
1657
 
1645
1658
  // src/components/Radio/index.tsx
1646
1659
  import { jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
1647
- var Radio = ({
1660
+ var Radio = forwardRef5(({
1648
1661
  labels,
1649
1662
  value,
1650
1663
  onChange,
1651
1664
  disabled = false,
1652
1665
  required = false,
1653
1666
  errorMessage
1654
- }) => {
1667
+ }, ref) => {
1655
1668
  return /* @__PURE__ */ jsxs8("form", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1656
1669
  /* @__PURE__ */ jsx24(
1657
1670
  StyledRoot2,
1658
1671
  {
1672
+ ref,
1659
1673
  value,
1660
1674
  onValueChange: onChange,
1661
1675
  hasError: !!errorMessage,
@@ -1679,7 +1693,8 @@ var Radio = ({
1679
1693
  ),
1680
1694
  errorMessage && /* @__PURE__ */ jsx24(Span3, { children: errorMessage })
1681
1695
  ] });
1682
- };
1696
+ });
1697
+ Radio.displayName = "Radio";
1683
1698
 
1684
1699
  // src/components/Spacing.tsx
1685
1700
  import { jsx as jsx25 } from "react/jsx-runtime";
@@ -1697,6 +1712,9 @@ var Spacing = ({ size, axis = "vertical" }) => {
1697
1712
  return /* @__PURE__ */ jsx25("div", { style, "data-testid": `spacing-${size}-${axis}` });
1698
1713
  };
1699
1714
 
1715
+ // src/components/Switch/index.tsx
1716
+ import { forwardRef as forwardRef6 } from "react";
1717
+
1700
1718
  // src/components/Switch/styles.ts
1701
1719
  import * as Switch from "@radix-ui/react-switch";
1702
1720
  var Wrapper3 = styled("div", {
@@ -1793,7 +1811,7 @@ var Span4 = styled("span", {
1793
1811
 
1794
1812
  // src/components/Switch/index.tsx
1795
1813
  import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1796
- var Switch2 = ({
1814
+ var Switch2 = forwardRef6(({
1797
1815
  label,
1798
1816
  checked,
1799
1817
  defaultChecked,
@@ -1802,12 +1820,13 @@ var Switch2 = ({
1802
1820
  required = false,
1803
1821
  id,
1804
1822
  errorMessage
1805
- }) => {
1823
+ }, ref) => {
1806
1824
  return /* @__PURE__ */ jsxs9("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start" }, children: [
1807
1825
  /* @__PURE__ */ jsxs9(Wrapper3, { hasError: !!errorMessage, children: [
1808
1826
  /* @__PURE__ */ jsx26(
1809
1827
  StyledRoot3,
1810
1828
  {
1829
+ ref,
1811
1830
  id,
1812
1831
  checked,
1813
1832
  defaultChecked,
@@ -1822,7 +1841,8 @@ var Switch2 = ({
1822
1841
  ] }),
1823
1842
  errorMessage && /* @__PURE__ */ jsx26(Span4, { children: errorMessage })
1824
1843
  ] });
1825
- };
1844
+ });
1845
+ Switch2.displayName = "Switch";
1826
1846
 
1827
1847
  // src/components/Tabs/index.tsx
1828
1848
  import { Children, isValidElement, useLayoutEffect, useRef as useRef4, useState as useState4 } from "react";
@@ -2016,6 +2036,7 @@ var Tabs2 = ({ defaultValue, colorContent, children }) => {
2016
2036
  Tabs2.Item = TabsItem;
2017
2037
 
2018
2038
  // src/components/TextArea.tsx
2039
+ import { forwardRef as forwardRef7 } from "react";
2019
2040
  import { jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
2020
2041
  var Wrapper4 = styled("div", {
2021
2042
  display: "flex",
@@ -2091,14 +2112,24 @@ var Span5 = styled("span", {
2091
2112
  marginTop: "2px",
2092
2113
  marginBottom: "$6"
2093
2114
  });
2094
- var TextArea = ({ label, id, htmlFor, errorMessage, ...props }) => {
2095
- const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2096
- return /* @__PURE__ */ jsxs11(Wrapper4, { children: [
2097
- label && /* @__PURE__ */ jsx28(StyledLabel2, { htmlFor: textAreaId, children: label }),
2098
- /* @__PURE__ */ jsx28(TextAreaElement, { id: textAreaId, ...props, hasError: !!errorMessage }),
2099
- errorMessage && /* @__PURE__ */ jsx28(Span5, { children: errorMessage })
2100
- ] });
2101
- };
2115
+ var TextArea = forwardRef7(
2116
+ ({ label, id, htmlFor, errorMessage, ...props }, ref) => {
2117
+ const textAreaId = id || htmlFor || `textarea-${crypto.randomUUID()}`;
2118
+ return /* @__PURE__ */ jsxs11(Wrapper4, { children: [
2119
+ label && /* @__PURE__ */ jsx28(StyledLabel2, { htmlFor: textAreaId, children: label }),
2120
+ /* @__PURE__ */ jsx28(
2121
+ TextAreaElement,
2122
+ {
2123
+ id: textAreaId,
2124
+ ...props,
2125
+ hasError: !!errorMessage,
2126
+ ref
2127
+ }
2128
+ ),
2129
+ errorMessage && /* @__PURE__ */ jsx28(Span5, { children: errorMessage })
2130
+ ] });
2131
+ }
2132
+ );
2102
2133
  TextArea.displayName = "TextArea";
2103
2134
 
2104
2135
  // src/components/Tooltip/index.tsx
@@ -2257,7 +2288,7 @@ var Loader = ({ show, fullscreen = false }) => {
2257
2288
  Loader.displayName = "Loader";
2258
2289
 
2259
2290
  // src/components/MaskedInput/index.tsx
2260
- import { forwardRef as forwardRef5, useState as useState5, useRef as useRef5 } from "react";
2291
+ import { forwardRef as forwardRef8, useState as useState5, useRef as useRef5 } from "react";
2261
2292
 
2262
2293
  // src/components/MaskedInput/utils.ts
2263
2294
  var MAX_LENGTHS = {
@@ -2322,7 +2353,7 @@ var applyMask = (value, maskType) => {
2322
2353
 
2323
2354
  // src/components/MaskedInput/index.tsx
2324
2355
  import { jsx as jsx31 } from "react/jsx-runtime";
2325
- var MaskedInput = forwardRef5(
2356
+ var MaskedInput = forwardRef8(
2326
2357
  ({ maskType, onChange, ...props }, ref) => {
2327
2358
  const [value, setValue] = useState5("");
2328
2359
  const inputRef = useRef5(null);
@@ -2373,7 +2404,7 @@ var MaskedInput = forwardRef5(
2373
2404
  MaskedInput.displayName = "MaskedInput";
2374
2405
 
2375
2406
  // src/components/Dropdown/index.tsx
2376
- import { Children as Children2, Fragment as Fragment2 } from "react";
2407
+ import React3, { Children as Children2, Fragment as Fragment2 } from "react";
2377
2408
  import * as DropdownMenu2 from "@radix-ui/react-dropdown-menu";
2378
2409
 
2379
2410
  // src/components/Dropdown/styles.ts
@@ -2468,8 +2499,10 @@ var Dropdown = ({ children }) => {
2468
2499
  ] }, index)) }) })
2469
2500
  ] });
2470
2501
  };
2471
- var DropdownItem = StyledItem2;
2472
2502
  var DropdownSeparator = StyledSeparator;
2503
+ var DropdownItem = React3.forwardRef(({ children, ...props }, forwardedRef) => {
2504
+ return /* @__PURE__ */ jsx32(StyledItem2, { ...props, ref: forwardedRef, children });
2505
+ });
2473
2506
  Dropdown.displayName = "Dropdown";
2474
2507
  DropdownItem.displayName = "DropdownItem";
2475
2508
  DropdownSeparator.displayName = "DropdownSeparator";
@@ -2506,6 +2539,7 @@ import { jsx as jsx34 } from "react/jsx-runtime";
2506
2539
  var StyledParagraph = styled("p", {
2507
2540
  fontFamily: "$default",
2508
2541
  lineHeight: "$short",
2542
+ color: "$black",
2509
2543
  margin: 0,
2510
2544
  variants: {
2511
2545
  size: {
@@ -2548,7 +2582,7 @@ var Paragraph = (props) => {
2548
2582
  Paragraph.displayName = "Paragraph";
2549
2583
 
2550
2584
  // src/components/Heading.tsx
2551
- import { forwardRef as forwardRef6 } from "react";
2585
+ import { forwardRef as forwardRef9 } from "react";
2552
2586
  import { jsx as jsx35 } from "react/jsx-runtime";
2553
2587
  var StyledHeading = styled("h2", {
2554
2588
  fontFamily: "$default",
@@ -2571,7 +2605,7 @@ var StyledHeading = styled("h2", {
2571
2605
  size: "md"
2572
2606
  }
2573
2607
  });
2574
- var Heading = forwardRef6(function Heading2({ children, ...props }, ref) {
2608
+ var Heading = forwardRef9(function Heading2({ children, ...props }, ref) {
2575
2609
  return /* @__PURE__ */ jsx35(StyledHeading, { ref, ...props, children });
2576
2610
  });
2577
2611
  Heading.displayName = "Heading";
@@ -2579,7 +2613,7 @@ Heading.displayName = "Heading";
2579
2613
  // src/components/Select/index.tsx
2580
2614
  import { TriangleDownIcon, TriangleUpIcon } from "@radix-ui/react-icons";
2581
2615
  import * as CustomSelect from "@radix-ui/react-select";
2582
- import { useState as useState6 } from "react";
2616
+ import { forwardRef as forwardRef10, useState as useState6 } from "react";
2583
2617
 
2584
2618
  // src/components/Select/styles.ts
2585
2619
  import * as Select from "@radix-ui/react-select";
@@ -2608,6 +2642,7 @@ var StyledTrigger = styled(Select.Trigger, {
2608
2642
  fontSize: "$md",
2609
2643
  backgroundColor: "white",
2610
2644
  cursor: "pointer",
2645
+ color: "$black",
2611
2646
  "&[data-placeholder]": {
2612
2647
  color: "$gray_mid"
2613
2648
  },
@@ -2637,9 +2672,10 @@ var StyledContent3 = styled(Select.Content, {
2637
2672
  backgroundColor: "$gray_background",
2638
2673
  borderRadius: "$md",
2639
2674
  boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
2640
- zIndex: 10,
2675
+ zIndex: 103,
2641
2676
  width: "var(--radix-select-trigger-width)",
2642
- maxHeight: "var(--radix-select-content-available-height)"
2677
+ maxHeight: "var(--radix-select-content-available-height)",
2678
+ fontWeight: "$regular"
2643
2679
  });
2644
2680
  var StyledViewport = styled(Select.Viewport, {
2645
2681
  padding: "4px"
@@ -2647,10 +2683,11 @@ var StyledViewport = styled(Select.Viewport, {
2647
2683
  var StyledItem3 = styled(Select.Item, {
2648
2684
  position: "relative",
2649
2685
  fontSize: "$md",
2686
+ fontWeight: "$regular",
2650
2687
  padding: "14px 12px",
2651
2688
  color: "$black",
2652
2689
  cursor: "pointer",
2653
- "&[data-highlighted]": {
2690
+ "&[data-highlighted], &:focus, &:hover": {
2654
2691
  outline: "none",
2655
2692
  color: "$clickpalm_light"
2656
2693
  },
@@ -2697,49 +2734,46 @@ var Span6 = styled("span", {
2697
2734
 
2698
2735
  // src/components/Select/index.tsx
2699
2736
  import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2700
- function Select2({
2701
- value,
2702
- onValueChange,
2703
- items,
2704
- placeholder = "Selecione",
2705
- label,
2706
- errorMessage,
2707
- ...rest
2708
- }) {
2709
- const [open, setOpen] = useState6(false);
2710
- return /* @__PURE__ */ jsxs14(StyledWrapper4, { children: [
2711
- label && /* @__PURE__ */ jsx36(Label3, { children: label }),
2712
- /* @__PURE__ */ jsxs14(
2713
- CustomSelect.Root,
2714
- {
2715
- value,
2716
- onValueChange,
2717
- onOpenChange: setOpen,
2718
- ...rest,
2719
- children: [
2720
- /* @__PURE__ */ jsxs14(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, children: [
2721
- /* @__PURE__ */ jsx36(CustomSelect.Value, { placeholder }),
2722
- /* @__PURE__ */ jsx36(StyledIcon, { open, children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
2723
- ] }),
2724
- errorMessage && /* @__PURE__ */ jsx36(Span6, { children: errorMessage }),
2725
- /* @__PURE__ */ jsx36(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs14(
2726
- StyledContent3,
2727
- {
2728
- side: "bottom",
2729
- align: "start",
2730
- position: "popper",
2731
- children: [
2732
- /* @__PURE__ */ jsx36(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx36(TriangleUpIcon, {}) }),
2733
- /* @__PURE__ */ jsx36(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx36(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx36(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2734
- /* @__PURE__ */ jsx36(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
2735
- ]
2736
- }
2737
- ) })
2738
- ]
2739
- }
2740
- )
2741
- ] });
2742
- }
2737
+ var Select2 = forwardRef10(
2738
+ ({
2739
+ value,
2740
+ onValueChange,
2741
+ items,
2742
+ placeholder = "Selecione",
2743
+ label,
2744
+ errorMessage,
2745
+ css: css2,
2746
+ className,
2747
+ style,
2748
+ ...rest
2749
+ }, ref) => {
2750
+ const [open, setOpen] = useState6(false);
2751
+ return /* @__PURE__ */ jsxs14(StyledWrapper4, { css: css2, className, style, children: [
2752
+ label && /* @__PURE__ */ jsx36(Label3, { children: label }),
2753
+ /* @__PURE__ */ jsxs14(
2754
+ CustomSelect.Root,
2755
+ {
2756
+ value,
2757
+ onValueChange,
2758
+ onOpenChange: setOpen,
2759
+ ...rest,
2760
+ children: [
2761
+ /* @__PURE__ */ jsxs14(StyledTrigger, { "aria-label": label, hasError: !!errorMessage, ref, children: [
2762
+ /* @__PURE__ */ jsx36(CustomSelect.Value, { placeholder }),
2763
+ /* @__PURE__ */ jsx36(StyledIcon, { open, children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
2764
+ ] }),
2765
+ errorMessage && /* @__PURE__ */ jsx36(Span6, { children: errorMessage }),
2766
+ /* @__PURE__ */ jsx36(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs14(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
2767
+ /* @__PURE__ */ jsx36(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx36(TriangleUpIcon, {}) }),
2768
+ /* @__PURE__ */ jsx36(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx36(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx36(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2769
+ /* @__PURE__ */ jsx36(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
2770
+ ] }) })
2771
+ ]
2772
+ }
2773
+ )
2774
+ ] });
2775
+ }
2776
+ );
2743
2777
  Select2.displayName = "Select";
2744
2778
 
2745
2779
  // src/components/LabelledValue/index.tsx
@@ -2852,7 +2886,8 @@ var StyledLabel3 = styled(OneTimePasswordField.Root, {
2852
2886
  display: "flex",
2853
2887
  justifyContent: "center",
2854
2888
  alignItems: "center",
2855
- marginBottom: "$5"
2889
+ marginBottom: "$5",
2890
+ color: "$black"
2856
2891
  });
2857
2892
  var StyledInput = styled(OneTimePasswordField.Input, {
2858
2893
  all: "unset",
@@ -3012,7 +3047,7 @@ var ToastViewport = styled(ToastPrimitive.Viewport, {
3012
3047
  outline: "none",
3013
3048
  zIndex: 9999,
3014
3049
  "@lg": {
3015
- maxWidth: "900px"
3050
+ maxWidth: "700px"
3016
3051
  }
3017
3052
  });
3018
3053
  var progress = keyframes({
@@ -3173,7 +3208,6 @@ var StepItem = styled("div", {
3173
3208
  });
3174
3209
  var StepCircle = styled("div", {
3175
3210
  position: "relative",
3176
- zIndex: 990,
3177
3211
  width: "var(--circle-size)",
3178
3212
  height: "var(--circle-size)",
3179
3213
  borderRadius: "50%",
@@ -3624,7 +3658,7 @@ var CarouselItem = ({ children, style, ...props }) => /* @__PURE__ */ jsx41(Caro
3624
3658
  Carousel.Item = CarouselItem;
3625
3659
 
3626
3660
  // src/components/PasswordInput.tsx
3627
- import { forwardRef as forwardRef7, useImperativeHandle, useRef as useRef6, useState as useState9 } from "react";
3661
+ import { forwardRef as forwardRef11, useImperativeHandle, useRef as useRef6, useState as useState9 } from "react";
3628
3662
  import { jsx as jsx42 } from "react/jsx-runtime";
3629
3663
  var ToggleButton = styled("button", {
3630
3664
  all: "unset",
@@ -3640,7 +3674,7 @@ var ToggleButton = styled("button", {
3640
3674
  borderRadius: "$sm"
3641
3675
  }
3642
3676
  });
3643
- var PasswordInput = forwardRef7(
3677
+ var PasswordInput = forwardRef11(
3644
3678
  ({ value, onChange, ...props }, ref) => {
3645
3679
  const [visible, setVisible] = useState9(false);
3646
3680
  const innerRef = useRef6(null);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Design System da Clikpalm",
4
4
  "author": "Enisson Shilo",
5
5
  "license": "MIT",
6
- "version": "1.2.0",
6
+ "version": "1.2.1",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/clickpalm/clickpalm-designsystem-lib.git"