@ttoss/ui 1.36.12 → 1.37.0

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/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  pnpm add @ttoss/ui
9
9
  ```
10
10
 
11
- ## Quick start
11
+ ## Quickstart
12
12
 
13
13
  Create a theme object to define the design tokens of your application.
14
14
 
package/dist/esm/index.js CHANGED
@@ -425,10 +425,19 @@ var Textarea = /*#__PURE__*/React8.forwardRef(({
425
425
  Textarea.displayName = "Textarea";
426
426
 
427
427
  // src/components/Container.tsx
428
- import { Container } from "theme-ui";
428
+ import * as React9 from "react";
429
+ import { Container as ContainerUi } from "theme-ui";
430
+ import { jsx as jsx12 } from "react/jsx-runtime";
431
+ var Container = /*#__PURE__*/React9.forwardRef((props, ref) => {
432
+ return /* @__PURE__ */jsx12(ContainerUi, {
433
+ ref,
434
+ ...props
435
+ });
436
+ });
437
+ Container.displayName = "Container";
429
438
 
430
439
  // src/components/HelpText.tsx
431
- import { jsx as jsx12 } from "react/jsx-runtime";
440
+ import { jsx as jsx13 } from "react/jsx-runtime";
432
441
  var HelpText = ({
433
442
  sx,
434
443
  disabled,
@@ -436,7 +445,7 @@ var HelpText = ({
436
445
  ...props
437
446
  }) => {
438
447
  const variant = ["text.help", negative ? "negative" : void 0].filter(Boolean).join(".");
439
- return /* @__PURE__ */jsx12(Text, {
448
+ return /* @__PURE__ */jsx13(Text, {
440
449
  variant,
441
450
  sx: {
442
451
  fontSize: "sm",
@@ -450,10 +459,10 @@ var HelpText = ({
450
459
  };
451
460
 
452
461
  // src/components/CloseButton.tsx
453
- import * as React9 from "react";
462
+ import * as React10 from "react";
454
463
  import { Button as Button2 } from "theme-ui";
455
- import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
456
- var CloseButton = /*#__PURE__*/React9.forwardRef(({
464
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
465
+ var CloseButton = /*#__PURE__*/React10.forwardRef(({
457
466
  label,
458
467
  sx,
459
468
  onlyText,
@@ -484,7 +493,7 @@ var CloseButton = /*#__PURE__*/React9.forwardRef(({
484
493
  },
485
494
  ...props,
486
495
  ref,
487
- children: [label, !onlyText && /* @__PURE__ */jsx13(Icon, {
496
+ children: [label, !onlyText && /* @__PURE__ */jsx14(Icon, {
488
497
  icon: "close"
489
498
  })]
490
499
  });
@@ -492,10 +501,10 @@ var CloseButton = /*#__PURE__*/React9.forwardRef(({
492
501
  CloseButton.displayName = "CloseButton";
493
502
 
494
503
  // src/components/InputNumber.tsx
495
- import * as React10 from "react";
504
+ import * as React11 from "react";
496
505
  import { Input as Input2 } from "theme-ui";
497
- import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
498
- var InputNumber = /*#__PURE__*/React10.forwardRef(({
506
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
507
+ var InputNumber = /*#__PURE__*/React11.forwardRef(({
499
508
  sx,
500
509
  value,
501
510
  infoIcon,
@@ -503,7 +512,7 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
503
512
  onClickInfoIcon,
504
513
  ...inputProps
505
514
  }, ref) => {
506
- const sxProps = React10.useMemo(() => {
515
+ const sxProps = React11.useMemo(() => {
507
516
  const size = String(typeof value === "undefined" ? 0 : value).length;
508
517
  if (inputProps["aria-invalid"] === "true") {
509
518
  return {
@@ -565,7 +574,7 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
565
574
  },
566
575
  ref,
567
576
  "aria-invalid": inputProps["aria-invalid"],
568
- children: [/* @__PURE__ */jsx14(Input2, {
577
+ children: [/* @__PURE__ */jsx15(Input2, {
569
578
  ref,
570
579
  variant: "forms.inputNumber",
571
580
  sx: sxProps,
@@ -575,7 +584,7 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
575
584
  },
576
585
  value,
577
586
  ...inputProps
578
- }), /* @__PURE__ */jsx14(Text, {
587
+ }), /* @__PURE__ */jsx15(Text, {
579
588
  sx: {
580
589
  position: "absolute",
581
590
  alignSelf: "center",
@@ -584,10 +593,10 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
584
593
  cursor: "pointer"
585
594
  },
586
595
  onClick: handleChangeUp,
587
- children: /* @__PURE__ */jsx14(Icon, {
596
+ children: /* @__PURE__ */jsx15(Icon, {
588
597
  icon: "picker-down"
589
598
  })
590
- }), infoIcon && /* @__PURE__ */jsx14(Text, {
599
+ }), infoIcon && /* @__PURE__ */jsx15(Text, {
591
600
  sx: {
592
601
  position: "absolute",
593
602
  alignSelf: "center",
@@ -596,10 +605,10 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
596
605
  cursor: onClickInfoIcon ? "pointer" : "default"
597
606
  },
598
607
  onClick: onClickInfoIcon,
599
- children: /* @__PURE__ */jsx14(Icon, {
608
+ children: /* @__PURE__ */jsx15(Icon, {
600
609
  icon: "info"
601
610
  })
602
- }), /* @__PURE__ */jsx14(Text, {
611
+ }), /* @__PURE__ */jsx15(Text, {
603
612
  sx: {
604
613
  position: "absolute",
605
614
  alignSelf: "center",
@@ -608,7 +617,7 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
608
617
  cursor: "pointer"
609
618
  },
610
619
  onClick: handleChangeDown,
611
- children: /* @__PURE__ */jsx14(Icon, {
620
+ children: /* @__PURE__ */jsx15(Icon, {
612
621
  icon: "picker-up"
613
622
  })
614
623
  })]
@@ -617,10 +626,10 @@ var InputNumber = /*#__PURE__*/React10.forwardRef(({
617
626
  InputNumber.displayName = "InputNumber";
618
627
 
619
628
  // src/components/Stack.tsx
620
- import * as React11 from "react";
621
- import { jsx as jsx15 } from "react/jsx-runtime";
622
- var Stack = /*#__PURE__*/React11.forwardRef((props, ref) => {
623
- return /* @__PURE__ */jsx15(Flex, {
629
+ import * as React12 from "react";
630
+ import { jsx as jsx16 } from "react/jsx-runtime";
631
+ var Stack = /*#__PURE__*/React12.forwardRef((props, ref) => {
632
+ return /* @__PURE__ */jsx16(Flex, {
624
633
  ref,
625
634
  ...props,
626
635
  sx: {
@@ -635,16 +644,16 @@ Stack.displayName = "Stack";
635
644
  import { Paragraph } from "theme-ui";
636
645
 
637
646
  // src/components/InputPassword/InputPassword.tsx
638
- import * as React13 from "react";
647
+ import * as React14 from "react";
639
648
 
640
649
  // src/components/InputPassword/useHidePassInput.ts
641
- import * as React12 from "react";
650
+ import * as React13 from "react";
642
651
  var useHidePassInput = (defaultValue = true) => {
643
- const [hidePass, setHidePass] = React12.useState(Boolean(defaultValue));
652
+ const [hidePass, setHidePass] = React13.useState(Boolean(defaultValue));
644
653
  const {
645
654
  icon,
646
655
  inputType
647
- } = React12.useMemo(() => {
656
+ } = React13.useMemo(() => {
648
657
  return {
649
658
  icon: hidePass ? "view-off" : "view-on",
650
659
  inputType: hidePass ? "password" : "text"
@@ -663,8 +672,8 @@ var useHidePassInput = (defaultValue = true) => {
663
672
  };
664
673
 
665
674
  // src/components/InputPassword/InputPassword.tsx
666
- import { jsx as jsx16 } from "react/jsx-runtime";
667
- var InputPassword = /*#__PURE__*/React13.forwardRef(({
675
+ import { jsx as jsx17 } from "react/jsx-runtime";
676
+ var InputPassword = /*#__PURE__*/React14.forwardRef(({
668
677
  showPasswordByDefault,
669
678
  ...inputPasswordProps
670
679
  }, ref) => {
@@ -673,7 +682,7 @@ var InputPassword = /*#__PURE__*/React13.forwardRef(({
673
682
  icon,
674
683
  inputType
675
684
  } = useHidePassInput(!showPasswordByDefault);
676
- return /* @__PURE__ */jsx16(Input, {
685
+ return /* @__PURE__ */jsx17(Input, {
677
686
  ref,
678
687
  ...inputPasswordProps,
679
688
  trailingIcon: icon,
@@ -684,14 +693,14 @@ var InputPassword = /*#__PURE__*/React13.forwardRef(({
684
693
  InputPassword.displayName = "InputPassword";
685
694
 
686
695
  // src/components/ActionButton.tsx
687
- import { jsx as jsx17 } from "react/jsx-runtime";
696
+ import { jsx as jsx18 } from "react/jsx-runtime";
688
697
  var ActionButton = ({
689
698
  icon,
690
699
  variant = "default",
691
700
  sx,
692
701
  ...props
693
702
  }) => {
694
- return /* @__PURE__ */jsx17(Button, {
703
+ return /* @__PURE__ */jsx18(Button, {
695
704
  variant: `buttons.actionButton.${variant}`,
696
705
  leftIcon: icon,
697
706
  sx: {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as theme_ui from 'theme-ui';
2
2
  import { Theme, BadgeProps as BadgeProps$1, ButtonProps as ButtonProps$1, InputProps as InputProps$1, LabelProps as LabelProps$1, LinkProps as LinkProps$1, SelectProps, IconButtonProps, TextareaProps as TextareaProps$1, TextProps, FlexProps } from 'theme-ui';
3
- export { BaseStyles, Box, BoxProps, Card, CardProps, Checkbox, CheckboxProps, Container, ContainerProps, Divider, DividerProps, Flex, FlexProps, Global, Grid, GridProps, Heading, HeadingProps, IconButtonProps, Image, ImageProps, Progress as LinearProgress, ProgressProps as LinearProgressProps, Paragraph, ParagraphProps, Radio, RadioProps, SelectProps, Slider, SliderProps, Spinner, SpinnerProps, SxProp, Text, TextProps, Theme } from 'theme-ui';
3
+ export { BaseStyles, Box, BoxProps, Card, CardProps, Checkbox, CheckboxProps, ContainerProps, Divider, DividerProps, Flex, FlexProps, Global, Grid, GridProps, Heading, HeadingProps, IconButtonProps, Image, ImageProps, Progress as LinearProgress, ProgressProps as LinearProgressProps, Paragraph, ParagraphProps, Radio, RadioProps, SelectProps, Slider, SliderProps, Spinner, SpinnerProps, SxProp, Text, TextProps, Theme } from 'theme-ui';
4
4
  export { useBreakpointIndex, useResponsiveValue } from '@theme-ui/match-media';
5
5
  export { Keyframes, keyframes } from '@emotion/react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -66,6 +66,8 @@ interface TextareaProps extends TextareaProps$1 {
66
66
  }
67
67
  declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
68
68
 
69
+ declare const Container: React.ForwardRefExoticComponent<theme_ui.BoxProps & React.RefAttributes<HTMLDivElement>>;
70
+
69
71
  type HelpTextProps = Omit<TextProps, 'variant'> & {
70
72
  disabled?: boolean;
71
73
  negative?: boolean;
@@ -103,4 +105,4 @@ type ActionButtonProps = Omit<ButtonProps, 'rightIcon' | 'leftIcon' | 'variant'>
103
105
  };
104
106
  declare const ActionButton: ({ icon, variant, sx, ...props }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
105
107
 
106
- export { ActionButton, ActionButtonProps, Badge, BadgeProps, Button, ButtonProps, CloseButton, CloseButtonProps, HelpText, HelpTextProps, Icon, IconButton, IconProps, IconType, InfiniteLinearProgress, Input, InputNumber, InputNumberProps, InputPassword, InputPasswordProps, InputProps, Label, LabelProps, Link, LinkProps, Select, Stack, StackProps, Textarea, TextareaProps, ThemeProvider, ThemeProviderProps, useTheme };
108
+ export { ActionButton, ActionButtonProps, Badge, BadgeProps, Button, ButtonProps, CloseButton, CloseButtonProps, Container, HelpText, HelpTextProps, Icon, IconButton, IconProps, IconType, InfiniteLinearProgress, Input, InputNumber, InputNumberProps, InputPassword, InputPasswordProps, InputProps, Label, LabelProps, Link, LinkProps, Select, Stack, StackProps, Textarea, TextareaProps, ThemeProvider, ThemeProviderProps, useTheme };
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ __export(src_exports, {
46
46
  Card: () => import_theme_ui6.Card,
47
47
  Checkbox: () => import_theme_ui22.Checkbox,
48
48
  CloseButton: () => CloseButton,
49
- Container: () => import_theme_ui24.Container,
49
+ Container: () => Container,
50
50
  Divider: () => import_theme_ui7.Divider,
51
51
  Flex: () => import_theme_ui8.Flex,
52
52
  Global: () => import_theme_ui28.Global,
@@ -502,10 +502,19 @@ var Textarea = React8.forwardRef(({
502
502
  Textarea.displayName = "Textarea";
503
503
 
504
504
  // src/components/Container.tsx
505
+ var React9 = __toESM(require("react"));
505
506
  var import_theme_ui24 = require("theme-ui");
507
+ var import_jsx_runtime12 = require("react/jsx-runtime");
508
+ var Container = React9.forwardRef((props, ref) => {
509
+ return /* @__PURE__ */(0, import_jsx_runtime12.jsx)(import_theme_ui24.Container, {
510
+ ref,
511
+ ...props
512
+ });
513
+ });
514
+ Container.displayName = "Container";
506
515
 
507
516
  // src/components/HelpText.tsx
508
- var import_jsx_runtime12 = require("react/jsx-runtime");
517
+ var import_jsx_runtime13 = require("react/jsx-runtime");
509
518
  var HelpText = ({
510
519
  sx,
511
520
  disabled,
@@ -513,7 +522,7 @@ var HelpText = ({
513
522
  ...props
514
523
  }) => {
515
524
  const variant = ["text.help", negative ? "negative" : void 0].filter(Boolean).join(".");
516
- return /* @__PURE__ */(0, import_jsx_runtime12.jsx)(import_theme_ui16.Text, {
525
+ return /* @__PURE__ */(0, import_jsx_runtime13.jsx)(import_theme_ui16.Text, {
517
526
  variant,
518
527
  sx: {
519
528
  fontSize: "sm",
@@ -527,10 +536,10 @@ var HelpText = ({
527
536
  };
528
537
 
529
538
  // src/components/CloseButton.tsx
530
- var React9 = __toESM(require("react"));
539
+ var React10 = __toESM(require("react"));
531
540
  var import_theme_ui25 = require("theme-ui");
532
- var import_jsx_runtime13 = require("react/jsx-runtime");
533
- var CloseButton = React9.forwardRef(({
541
+ var import_jsx_runtime14 = require("react/jsx-runtime");
542
+ var CloseButton = React10.forwardRef(({
534
543
  label,
535
544
  sx,
536
545
  onlyText,
@@ -539,7 +548,7 @@ var CloseButton = React9.forwardRef(({
539
548
  if (onlyText && !label) {
540
549
  return null;
541
550
  }
542
- return /* @__PURE__ */(0, import_jsx_runtime13.jsxs)(import_theme_ui25.Button, {
551
+ return /* @__PURE__ */(0, import_jsx_runtime14.jsxs)(import_theme_ui25.Button, {
543
552
  variant: "buttons.closeButton",
544
553
  type: "button",
545
554
  "aria-label": label,
@@ -561,7 +570,7 @@ var CloseButton = React9.forwardRef(({
561
570
  },
562
571
  ...props,
563
572
  ref,
564
- children: [label, !onlyText && /* @__PURE__ */(0, import_jsx_runtime13.jsx)(Icon, {
573
+ children: [label, !onlyText && /* @__PURE__ */(0, import_jsx_runtime14.jsx)(Icon, {
565
574
  icon: "close"
566
575
  })]
567
576
  });
@@ -569,10 +578,10 @@ var CloseButton = React9.forwardRef(({
569
578
  CloseButton.displayName = "CloseButton";
570
579
 
571
580
  // src/components/InputNumber.tsx
572
- var React10 = __toESM(require("react"));
581
+ var React11 = __toESM(require("react"));
573
582
  var import_theme_ui26 = require("theme-ui");
574
- var import_jsx_runtime14 = require("react/jsx-runtime");
575
- var InputNumber = React10.forwardRef(({
583
+ var import_jsx_runtime15 = require("react/jsx-runtime");
584
+ var InputNumber = React11.forwardRef(({
576
585
  sx,
577
586
  value,
578
587
  infoIcon,
@@ -580,7 +589,7 @@ var InputNumber = React10.forwardRef(({
580
589
  onClickInfoIcon,
581
590
  ...inputProps
582
591
  }, ref) => {
583
- const sxProps = React10.useMemo(() => {
592
+ const sxProps = React11.useMemo(() => {
584
593
  const size = String(typeof value === "undefined" ? 0 : value).length;
585
594
  if (inputProps["aria-invalid"] === "true") {
586
595
  return {
@@ -632,7 +641,7 @@ var InputNumber = React10.forwardRef(({
632
641
  }
633
642
  onChange(value + 1);
634
643
  };
635
- return /* @__PURE__ */(0, import_jsx_runtime14.jsxs)(import_theme_ui8.Flex, {
644
+ return /* @__PURE__ */(0, import_jsx_runtime15.jsxs)(import_theme_ui8.Flex, {
636
645
  sx: {
637
646
  width: "fit-content",
638
647
  ...sx,
@@ -642,7 +651,7 @@ var InputNumber = React10.forwardRef(({
642
651
  },
643
652
  ref,
644
653
  "aria-invalid": inputProps["aria-invalid"],
645
- children: [/* @__PURE__ */(0, import_jsx_runtime14.jsx)(import_theme_ui26.Input, {
654
+ children: [/* @__PURE__ */(0, import_jsx_runtime15.jsx)(import_theme_ui26.Input, {
646
655
  ref,
647
656
  variant: "forms.inputNumber",
648
657
  sx: sxProps,
@@ -652,7 +661,7 @@ var InputNumber = React10.forwardRef(({
652
661
  },
653
662
  value,
654
663
  ...inputProps
655
- }), /* @__PURE__ */(0, import_jsx_runtime14.jsx)(import_theme_ui16.Text, {
664
+ }), /* @__PURE__ */(0, import_jsx_runtime15.jsx)(import_theme_ui16.Text, {
656
665
  sx: {
657
666
  position: "absolute",
658
667
  alignSelf: "center",
@@ -661,10 +670,10 @@ var InputNumber = React10.forwardRef(({
661
670
  cursor: "pointer"
662
671
  },
663
672
  onClick: handleChangeUp,
664
- children: /* @__PURE__ */(0, import_jsx_runtime14.jsx)(Icon, {
673
+ children: /* @__PURE__ */(0, import_jsx_runtime15.jsx)(Icon, {
665
674
  icon: "picker-down"
666
675
  })
667
- }), infoIcon && /* @__PURE__ */(0, import_jsx_runtime14.jsx)(import_theme_ui16.Text, {
676
+ }), infoIcon && /* @__PURE__ */(0, import_jsx_runtime15.jsx)(import_theme_ui16.Text, {
668
677
  sx: {
669
678
  position: "absolute",
670
679
  alignSelf: "center",
@@ -673,10 +682,10 @@ var InputNumber = React10.forwardRef(({
673
682
  cursor: onClickInfoIcon ? "pointer" : "default"
674
683
  },
675
684
  onClick: onClickInfoIcon,
676
- children: /* @__PURE__ */(0, import_jsx_runtime14.jsx)(Icon, {
685
+ children: /* @__PURE__ */(0, import_jsx_runtime15.jsx)(Icon, {
677
686
  icon: "info"
678
687
  })
679
- }), /* @__PURE__ */(0, import_jsx_runtime14.jsx)(import_theme_ui16.Text, {
688
+ }), /* @__PURE__ */(0, import_jsx_runtime15.jsx)(import_theme_ui16.Text, {
680
689
  sx: {
681
690
  position: "absolute",
682
691
  alignSelf: "center",
@@ -685,7 +694,7 @@ var InputNumber = React10.forwardRef(({
685
694
  cursor: "pointer"
686
695
  },
687
696
  onClick: handleChangeDown,
688
- children: /* @__PURE__ */(0, import_jsx_runtime14.jsx)(Icon, {
697
+ children: /* @__PURE__ */(0, import_jsx_runtime15.jsx)(Icon, {
689
698
  icon: "picker-up"
690
699
  })
691
700
  })]
@@ -694,10 +703,10 @@ var InputNumber = React10.forwardRef(({
694
703
  InputNumber.displayName = "InputNumber";
695
704
 
696
705
  // src/components/Stack.tsx
697
- var React11 = __toESM(require("react"));
698
- var import_jsx_runtime15 = require("react/jsx-runtime");
699
- var Stack = React11.forwardRef((props, ref) => {
700
- return /* @__PURE__ */(0, import_jsx_runtime15.jsx)(import_theme_ui8.Flex, {
706
+ var React12 = __toESM(require("react"));
707
+ var import_jsx_runtime16 = require("react/jsx-runtime");
708
+ var Stack = React12.forwardRef((props, ref) => {
709
+ return /* @__PURE__ */(0, import_jsx_runtime16.jsx)(import_theme_ui8.Flex, {
701
710
  ref,
702
711
  ...props,
703
712
  sx: {
@@ -712,16 +721,16 @@ Stack.displayName = "Stack";
712
721
  var import_theme_ui27 = require("theme-ui");
713
722
 
714
723
  // src/components/InputPassword/InputPassword.tsx
715
- var React13 = __toESM(require("react"));
724
+ var React14 = __toESM(require("react"));
716
725
 
717
726
  // src/components/InputPassword/useHidePassInput.ts
718
- var React12 = __toESM(require("react"));
727
+ var React13 = __toESM(require("react"));
719
728
  var useHidePassInput = (defaultValue = true) => {
720
- const [hidePass, setHidePass] = React12.useState(Boolean(defaultValue));
729
+ const [hidePass, setHidePass] = React13.useState(Boolean(defaultValue));
721
730
  const {
722
731
  icon,
723
732
  inputType
724
- } = React12.useMemo(() => {
733
+ } = React13.useMemo(() => {
725
734
  return {
726
735
  icon: hidePass ? "view-off" : "view-on",
727
736
  inputType: hidePass ? "password" : "text"
@@ -740,8 +749,8 @@ var useHidePassInput = (defaultValue = true) => {
740
749
  };
741
750
 
742
751
  // src/components/InputPassword/InputPassword.tsx
743
- var import_jsx_runtime16 = require("react/jsx-runtime");
744
- var InputPassword = React13.forwardRef(({
752
+ var import_jsx_runtime17 = require("react/jsx-runtime");
753
+ var InputPassword = React14.forwardRef(({
745
754
  showPasswordByDefault,
746
755
  ...inputPasswordProps
747
756
  }, ref) => {
@@ -750,7 +759,7 @@ var InputPassword = React13.forwardRef(({
750
759
  icon,
751
760
  inputType
752
761
  } = useHidePassInput(!showPasswordByDefault);
753
- return /* @__PURE__ */(0, import_jsx_runtime16.jsx)(Input, {
762
+ return /* @__PURE__ */(0, import_jsx_runtime17.jsx)(Input, {
754
763
  ref,
755
764
  ...inputPasswordProps,
756
765
  trailingIcon: icon,
@@ -761,14 +770,14 @@ var InputPassword = React13.forwardRef(({
761
770
  InputPassword.displayName = "InputPassword";
762
771
 
763
772
  // src/components/ActionButton.tsx
764
- var import_jsx_runtime17 = require("react/jsx-runtime");
773
+ var import_jsx_runtime18 = require("react/jsx-runtime");
765
774
  var ActionButton = ({
766
775
  icon,
767
776
  variant = "default",
768
777
  sx,
769
778
  ...props
770
779
  }) => {
771
- return /* @__PURE__ */(0, import_jsx_runtime17.jsx)(Button, {
780
+ return /* @__PURE__ */(0, import_jsx_runtime18.jsx)(Button, {
772
781
  variant: `buttons.actionButton.${variant}`,
773
782
  leftIcon: icon,
774
783
  sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/ui",
3
- "version": "1.36.12",
3
+ "version": "1.37.0",
4
4
  "description": "Primitive layout, typographic, and other components for styling applications.",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -1 +1,12 @@
1
- export { Container, type ContainerProps } from 'theme-ui';
1
+ import * as React from 'react';
2
+ import { type ContainerProps, Container as ContainerUi } from 'theme-ui';
3
+
4
+ export type { ContainerProps };
5
+
6
+ export const Container = React.forwardRef<HTMLDivElement, ContainerProps>(
7
+ (props, ref) => {
8
+ return <ContainerUi ref={ref} {...props} />;
9
+ }
10
+ );
11
+
12
+ Container.displayName = 'Container';