@raystack/apsara 0.11.7 → 0.11.8

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.
@@ -0,0 +1,8 @@
1
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
2
+ import * as React from "react";
3
+ export declare const Accordion: React.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & React.RefAttributes<HTMLDivElement>> & {
4
+ Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ };
8
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../accordion/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoD/B,eAAO,MAAM,SAAS;;;;CAIpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Accordion } from "./accordion";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../accordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  import { HTMLAttributes, PropsWithChildren } from "react";
3
3
  declare const container: (props?: ({
4
- size?: "small" | "none" | "medium" | "large" | null | undefined;
4
+ size?: "small" | "medium" | "large" | "none" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  declare type ContainerProps = PropsWithChildren<VariantProps<typeof container>> & HTMLAttributes<HTMLElement>;
7
7
  export declare function Container({ children, size, className, ...props }: ContainerProps): import("react/jsx-runtime").JSX.Element;
@@ -2,10 +2,10 @@ import { VariantProps } from "class-variance-authority";
2
2
  import { HTMLAttributes } from "react";
3
3
  export declare const Flex: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
4
4
  direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
5
- align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
6
- justify?: "center" | "start" | "end" | "between" | null | undefined;
5
+ align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
6
+ justify?: "start" | "center" | "end" | "between" | null | undefined;
7
7
  wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
8
- gap?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
8
+ gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
10
10
  children?: import("react").ReactNode;
11
11
  } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,13 +1,13 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  import { HTMLAttributes, PropsWithChildren } from "react";
3
3
  declare const grid: (props?: ({
4
- align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
5
- justify?: "center" | "start" | "end" | "between" | null | undefined;
4
+ align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
5
+ justify?: "start" | "center" | "end" | "between" | null | undefined;
6
6
  flow?: "row" | "column" | "dense" | "rowDense" | "columnDense" | null | undefined;
7
7
  columns?: 1 | 4 | 3 | 2 | null | undefined;
8
- gap?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
9
- gapX?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
10
- gapY?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
8
+ gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
9
+ gapX?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
10
+ gapY?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
11
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  declare type BoxProps = PropsWithChildren<VariantProps<typeof grid>> & HTMLAttributes<HTMLElement>;
13
13
  export declare function Grid({ children, align, justify, flow, columns, gap, gapX, gapY, className, ...props }: BoxProps): import("react/jsx-runtime").JSX.Element;