@raystack/apsara 0.11.8 → 0.11.10
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/index.cjs +423 -221
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +99 -9
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +423 -222
- package/dist/index.js.map +1 -1
- package/dist/text/text.d.ts +2 -1
- package/dist/text/text.d.ts.map +1 -1
- package/dist/toggle-group/index.d.ts +2 -0
- package/dist/toggle-group/index.d.ts.map +1 -0
- package/dist/toggle-group/togglegroup.d.ts +25 -0
- package/dist/toggle-group/togglegroup.d.ts.map +1 -0
- package/package.json +3 -2
package/dist/text/text.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const text: (props?: ({
|
|
4
4
|
size?: 1 | 4 | 3 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | null | undefined;
|
|
5
|
+
weight?: "bold" | "normal" | "bolder" | "lighter" | 400 | 100 | 200 | 300 | 500 | 600 | 700 | 800 | 900 | null | undefined;
|
|
5
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
7
|
declare type TextProps = PropsWithChildren<VariantProps<typeof text>> & HTMLAttributes<HTMLSpanElement>;
|
|
7
|
-
export declare function Text({ children, className, size, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function Text({ children, className, size, weight, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=text.d.ts.map
|
package/dist/text/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../text/text.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
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../text/text.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;;;mFAkCR,CAAC;AAEH,aAAK,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC3D,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,MAAM,EACN,GAAG,KAAK,EACT,EAAE,SAAS,2CAMX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../toggle-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
declare const root: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
5
|
+
export declare type ToggleGroupProps = ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof root>;
|
|
6
|
+
export declare const ToggleGroupRoot: {
|
|
7
|
+
({ className, ...props }: ToggleGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
defaultProps: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare const item: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
13
|
+
export interface ToggleGroupItemProps extends ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof item> {
|
|
14
|
+
}
|
|
15
|
+
export declare const ToggleGroupItem: ({ className, ...props }: ToggleGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const ToggleGroup: {
|
|
17
|
+
({ className, ...props }: ToggleGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
defaultProps: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
} & {
|
|
22
|
+
Item: ({ className, ...props }: ToggleGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=togglegroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"togglegroup.d.ts","sourceRoot":"","sources":["../../toggle-group/togglegroup.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,QAAA,MAAM,IAAI,yFAAmB,CAAC;AAE9B,oBAAY,gBAAgB,GAAG,wBAAwB,CACrD,OAAO,oBAAoB,CAAC,IAAI,CACjC,GACC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;AAE5B,eAAO,MAAM,eAAe;8BAA6B,gBAAgB;;;;CAIxE,CAAC;AAIF,QAAA,MAAM,IAAI,yFAAmB,CAAC;AAE9B,MAAM,WAAW,oBACf,SAAQ,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,EAChE,YAAY,CAAC,OAAO,IAAI,CAAC;CAAG;AAEhC,eAAO,MAAM,eAAe,4BAGzB,oBAAoB,4CAItB,CAAC;AAEF,eAAO,MAAM,WAAW;8BAvBiC,gBAAgB;;;;;oCAiBtE,oBAAoB;CAQrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raystack/apsara",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.10",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -69,7 +69,8 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
72
|
+
"@radix-ui/react-toggle-group": "^1.0.4",
|
|
72
73
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
73
74
|
"release-it": "^16.2.1"
|
|
74
75
|
}
|
|
75
|
-
}
|
|
76
|
+
}
|