@murabei-data-science/pumpwood-ui 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,4 @@
1
- import type { HTMLAttributes, ReactNode } from "react";
2
- type StackProps = HTMLAttributes<HTMLDivElement> & {
3
- children: ReactNode;
4
- /** The direction of the stack. Defaults to 'col'. */
5
- direction?: "row" | "col";
6
- /** The gap between elements. Maps to Tailwind gap utility (e.g. 4 -> gap-4). */
7
- gap?: number;
8
- /** Click handler. When set, the stack becomes keyboard-accessible (role="button"). */
9
- onClick?: () => void;
10
- className?: string;
11
- };
1
+ import { type HTMLAttributes, type ReactNode } from "react";
12
2
  /**
13
3
  * A layout component that arranges children in a stack (vertical or horizontal).
14
4
  *
@@ -24,5 +14,14 @@ type StackProps = HTMLAttributes<HTMLDivElement> & {
24
14
  * </Stack>
25
15
  * ```
26
16
  */
27
- declare function Stack({ children, onClick, direction, gap, className, ...props }: StackProps): import("react/jsx-runtime").JSX.Element;
17
+ declare const Stack: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
18
+ children: ReactNode;
19
+ /** The direction of the stack. Defaults to 'col'. */
20
+ direction?: "row" | "col";
21
+ /** The gap between elements. Maps to Tailwind gap utility (e.g. 4 -> gap-4). */
22
+ gap?: number;
23
+ /** Click handler. When set, the stack becomes keyboard-accessible (role="button"). */
24
+ onClick?: () => void;
25
+ className?: string;
26
+ } & import("react").RefAttributes<HTMLDivElement>>;
28
27
  export default Stack;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.4.6",
6
+ "version": "1.4.7",
7
7
  "description": "",
8
8
  "main": "dist/components.js",
9
9
  "module": "dist/components.esm.js",