@ttoss/ui 5.1.3 → 5.1.4

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/esm/index.js CHANGED
@@ -807,19 +807,17 @@ import { Slider } from "theme-ui";
807
807
  import { Spinner } from "theme-ui";
808
808
 
809
809
  // src/components/Stack.tsx
810
- import * as React13 from "react";
811
810
  import { jsx as jsx16 } from "react/jsx-runtime";
812
- var Stack = React13.forwardRef((props, ref) => {
811
+ var Stack = props => {
813
812
  return /* @__PURE__ */jsx16(Flex, {
814
- ref,
815
813
  ...props,
816
814
  sx: {
817
815
  flexDirection: "column",
816
+ alignItems: "flex-start",
818
817
  ...props.sx
819
818
  }
820
819
  });
821
- });
822
- Stack.displayName = "Stack";
820
+ };
823
821
 
824
822
  // src/components/Switch.tsx
825
823
  import { Switch as SwitchUi } from "theme-ui";
@@ -851,10 +849,10 @@ var Switch = props => {
851
849
 
852
850
  // src/components/Textarea.tsx
853
851
  import { Icon as Icon8 } from "@ttoss/react-icons";
854
- import * as React14 from "react";
852
+ import * as React13 from "react";
855
853
  import { Textarea as TextareaUI } from "theme-ui";
856
854
  import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
857
- var Textarea = React14.forwardRef(({
855
+ var Textarea = React13.forwardRef(({
858
856
  trailingIcon,
859
857
  className,
860
858
  sx,
package/dist/index.d.ts CHANGED
@@ -121,7 +121,7 @@ type StackProps = FlexProps;
121
121
  /**
122
122
  * A component that renders its children in a column.
123
123
  */
124
- declare const Stack: React.ForwardRefExoticComponent<theme_ui.BoxProps & React.RefAttributes<HTMLElement>>;
124
+ declare const Stack: (props: StackProps) => react_jsx_runtime.JSX.Element;
125
125
 
126
126
  declare const Switch: (props: SwitchProps) => react_jsx_runtime.JSX.Element;
127
127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/ui",
3
- "version": "5.1.3",
3
+ "version": "5.1.4",
4
4
  "description": "Primitive layout, typographic, and other components for styling applications.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",