@raystack/apsara 0.11.6 → 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.
- package/dist/accordion/accordion.d.ts +8 -0
- package/dist/accordion/accordion.d.ts.map +1 -0
- package/dist/accordion/index.d.ts +2 -0
- package/dist/accordion/index.d.ts.map +1 -0
- package/dist/container/container.d.ts +1 -1
- package/dist/flex/flex.d.ts +8 -9
- package/dist/flex/flex.d.ts.map +1 -1
- package/dist/grid/grid.d.ts +5 -5
- package/dist/index.cjs +1300 -850
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +215 -93
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1301 -852
- package/dist/index.js.map +1 -1
- package/dist/rselect/rselect.d.ts.map +1 -1
- package/dist/sidebar/sidebar.d.ts +12 -4
- package/dist/sidebar/sidebar.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -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 @@
|
|
|
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" | "
|
|
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;
|
package/dist/flex/flex.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import { HTMLAttributes
|
|
3
|
-
declare const
|
|
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
|
-
align?: "
|
|
6
|
-
justify?: "
|
|
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" | "
|
|
9
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export {};
|
|
8
|
+
gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
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
|
package/dist/flex/flex.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/grid/grid.d.ts
CHANGED
|
@@ -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?: "
|
|
5
|
-
justify?: "
|
|
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" | "
|
|
9
|
-
gapX?: "small" | "
|
|
10
|
-
gapY?: "small" | "
|
|
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;
|