@raystack/apsara 0.11.5 → 0.11.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,13 +1,12 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
- import { HTMLAttributes, PropsWithChildren } from "react";
3
- declare const flex: (props?: ({
2
+ import { HTMLAttributes } from "react";
3
+ export declare const Flex: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
4
4
  direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
5
5
  align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
6
6
  justify?: "center" | "start" | "end" | "between" | null | undefined;
7
7
  wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
8
8
  gap?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
9
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
- declare type BoxProps = PropsWithChildren<VariantProps<typeof flex>> & HTMLAttributes<HTMLDivElement>;
11
- export declare function Flex({ children, direction, align, justify, wrap, gap, className, ...props }: BoxProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
9
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
10
+ children?: import("react").ReactNode;
11
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
13
12
  //# sourceMappingURL=flex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,IAAI;;;;;;mFAwCR,CAAC;AAEH,aAAK,QAAQ,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC1D,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,OAAO,EACP,IAAI,EACJ,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,QAAQ,2CASV"}
1
+ {"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;AAgDtE,eAAO,MAAM,IAAI;;;;;;;;mFAehB,CAAC"}