@raystack/apsara 0.11.5 → 0.11.6
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 +10467 -2332
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +122 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10466 -2334
- package/dist/index.js.map +1 -1
- package/dist/inputfield/inputfield.d.ts.map +1 -1
- package/dist/rselect/index.d.ts +2 -0
- package/dist/rselect/index.d.ts.map +1 -0
- package/dist/rselect/rselect.d.ts +6 -0
- package/dist/rselect/rselect.d.ts.map +1 -0
- package/dist/sheet/sheet.d.ts +2 -0
- package/dist/sheet/sheet.d.ts.map +1 -1
- package/dist/textarea/index.d.ts +2 -0
- package/dist/textarea/index.d.ts.map +1 -0
- package/dist/textarea/textarea.d.ts +18 -0
- package/dist/textarea/textarea.d.ts.map +1 -0
- package/dist/textfield/textfield.d.ts +2 -2
- package/dist/textfield/textfield.d.ts.map +1 -1
- package/dist/tooltip/index.d.ts +2 -0
- package/dist/tooltip/index.d.ts.map +1 -0
- package/dist/tooltip/tooltip.d.ts +10 -0
- package/dist/tooltip/tooltip.d.ts.map +1 -0
- package/package.json +4 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputfield.d.ts","sourceRoot":"","sources":["../../inputfield/inputfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,QAAA,MAAM,UAAU;;;mFAed,CAAC;AAEH,aAAK,eAAe,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,GACvE,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEJ,eAAO,MAAM,UAAU;oCAAmC,eAAe;;
|
|
1
|
+
{"version":3,"file":"inputfield.d.ts","sourceRoot":"","sources":["../../inputfield/inputfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,QAAA,MAAM,UAAU;;;mFAed,CAAC;AAEH,aAAK,eAAe,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,GACvE,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEJ,eAAO,MAAM,UAAU;oCAAmC,eAAe;;CAOxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../rselect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import CustomSelect, { Props } from "react-select";
|
|
3
|
+
declare type SelectRef = React.ElementRef<typeof CustomSelect>;
|
|
4
|
+
export declare const RSelect: React.ForwardRefExoticComponent<Props & React.RefAttributes<SelectRef>>;
|
|
5
|
+
export default RSelect;
|
|
6
|
+
//# sourceMappingURL=rselect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rselect.d.ts","sourceRoot":"","sources":["../../rselect/rselect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,YAAY,EAAE,EAAoB,KAAK,EAAE,MAAM,cAAc,CAAC;AAIrE,aAAK,SAAS,GAAG,KAAK,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAWvD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,yBAAyB,CACnD,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CActC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/dist/sheet/sheet.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface DialogContentProps extends ComponentPropsWithoutRef<typeof Dial
|
|
|
8
8
|
}
|
|
9
9
|
export declare const SheetContent: import("react").ForwardRefExoticComponent<DialogContentProps & {
|
|
10
10
|
close?: boolean | undefined;
|
|
11
|
+
children?: React.ReactNode;
|
|
11
12
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
13
|
declare const overlay: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
13
14
|
export interface OverlayProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, VariantProps<typeof overlay> {
|
|
@@ -20,6 +21,7 @@ export declare const Sheet: typeof RootSheet & {
|
|
|
20
21
|
Trigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
21
22
|
Content: import("react").ForwardRefExoticComponent<DialogContentProps & {
|
|
22
23
|
close?: boolean | undefined;
|
|
24
|
+
children?: React.ReactNode;
|
|
23
25
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
26
|
Close: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
25
27
|
Title: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../sheet/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAA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AM,SAAS;;;;;CAgElE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../textarea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
4
|
+
declare const textarea: (props?: ({
|
|
5
|
+
size?: "small" | "medium" | null | undefined;
|
|
6
|
+
state?: "invalid" | "valid" | null | undefined;
|
|
7
|
+
leading?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
|
+
export declare type TextareaProps = PropsWithChildren<VariantProps<typeof textarea>> & HTMLAttributes<HTMLTextAreaElement>;
|
|
10
|
+
declare const Textarea: React.ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
11
|
+
size?: "small" | "medium" | null | undefined;
|
|
12
|
+
state?: "invalid" | "valid" | null | undefined;
|
|
13
|
+
leading?: boolean | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
} & React.HTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
17
|
+
export { Textarea };
|
|
18
|
+
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAW,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,QAAQ;;;;mFAmBZ,CAAC;AACH,oBAAY,aAAa,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC,GAC1E,cAAc,CAAC,mBAAmB,CAAC,CAAC;AAEtC,QAAA,MAAM,QAAQ;;;;;;yFAUb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { InputHTMLAttributes } from "react";
|
|
3
|
-
export declare const TextField: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<(props?: ({
|
|
4
4
|
size?: "small" | "medium" | null | undefined;
|
|
5
5
|
state?: "invalid" | "valid" | null | undefined;
|
|
6
6
|
leading?: boolean | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
|
|
8
8
|
children?: import("react").ReactNode;
|
|
9
|
-
} &
|
|
9
|
+
} & {
|
|
10
10
|
leading?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
11
11
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
12
|
//# sourceMappingURL=textfield.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../textfield/textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,
|
|
1
|
+
{"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../textfield/textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAc,mBAAmB,EAAqB,MAAM,OAAO,CAAC;AA8B3E,eAAO,MAAM,SAAS;;;;;;;;oDAgBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface TooltipProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
message: React.ReactNode;
|
|
6
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
7
|
+
}
|
|
8
|
+
export declare const Tooltip: ({ children, message, disabled, side, }: TooltipProps) => string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,YAAY;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC5C;AAED,eAAO,MAAM,OAAO,2CAKjB,YAAY,uHAqBd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raystack/apsara",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.6",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"@tanstack/react-table": "^8.9.2",
|
|
51
51
|
"@tanstack/table-core": "^8.9.2",
|
|
52
52
|
"@types/react": "^18.2.12",
|
|
53
|
+
"@types/react-select": "^5.0.1",
|
|
53
54
|
"class-variance-authority": "^0.6.0",
|
|
54
55
|
"cmdk": "^0.2.0",
|
|
55
56
|
"eslint-config-custom": "workspace:*",
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
"postcss": "^8.4.24",
|
|
60
61
|
"postcss-modules": "^6.0.0",
|
|
61
62
|
"react": "^18.2.0",
|
|
63
|
+
"react-select": "^5.7.7",
|
|
62
64
|
"rollup": "^3.25.1",
|
|
63
65
|
"rollup-plugin-postcss": "^4.0.2",
|
|
64
66
|
"tsconfig": "workspace:*",
|
|
@@ -66,6 +68,7 @@
|
|
|
66
68
|
"usehooks-ts": "^2.9.1"
|
|
67
69
|
},
|
|
68
70
|
"dependencies": {
|
|
71
|
+
"@radix-ui/react-tooltip": "^1.0.7",
|
|
69
72
|
"release-it": "^16.2.1"
|
|
70
73
|
}
|
|
71
74
|
}
|