@raystack/apsara 0.11.2 → 0.11.4
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 +146 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -0
- package/dist/index.js +146 -3
- package/dist/index.js.map +1 -1
- package/dist/select/select.d.ts +3 -0
- package/dist/select/select.d.ts.map +1 -1
- package/dist/textfield/textfield.d.ts +7 -11
- package/dist/textfield/textfield.d.ts.map +1 -1
- package/package.json +15 -11
package/dist/select/select.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ import * as React from "react";
|
|
|
4
4
|
export declare const Select: React.FC<SelectPrimitive.SelectProps> & {
|
|
5
5
|
Group: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
Value: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
ScrollUpButton: React.ForwardRefExoticComponent<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
ScrollDownButton: React.ForwardRefExoticComponent<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Viewport: React.ForwardRefExoticComponent<SelectPrimitive.SelectViewportProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
10
|
Trigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
|
|
8
11
|
children?: React.ReactNode;
|
|
9
12
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuF/B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuF/B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAWjB,CAAC"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import { InputHTMLAttributes
|
|
3
|
-
declare const
|
|
2
|
+
import { InputHTMLAttributes } from "react";
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
4
4
|
size?: "small" | "medium" | null | undefined;
|
|
5
5
|
state?: "invalid" | "valid" | null | undefined;
|
|
6
6
|
leading?: boolean | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
({ leading, className, src, size, state, style, ...props }: TextfieldProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
} & InputHTMLAttributes<HTMLInputElement> & {
|
|
10
|
+
leading?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
11
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
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,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../textfield/textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAiC,MAAM,OAAO,CAAC;AA8B3E,eAAO,MAAM,SAAS;;;;;;;;oDAgBrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raystack/apsara",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
"dist",
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "rollup --config",
|
|
22
|
+
"dev": "rollup --config --watch",
|
|
23
|
+
"lint": "eslint \"**/*.ts*\"",
|
|
24
|
+
"release": "release-it",
|
|
25
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf react/dist",
|
|
26
|
+
"test": "echo \"Error: no test specified\" && exit 0"
|
|
27
|
+
},
|
|
20
28
|
"keywords": [],
|
|
21
29
|
"author": "",
|
|
22
30
|
"license": "ISC",
|
|
@@ -44,6 +52,7 @@
|
|
|
44
52
|
"@types/react": "^18.2.12",
|
|
45
53
|
"class-variance-authority": "^0.6.0",
|
|
46
54
|
"cmdk": "^0.2.0",
|
|
55
|
+
"eslint-config-custom": "workspace:*",
|
|
47
56
|
"np": "^8.0.4",
|
|
48
57
|
"npm": "^9.7.1",
|
|
49
58
|
"parcel": "^2.9.2",
|
|
@@ -52,16 +61,11 @@
|
|
|
52
61
|
"react": "^18.2.0",
|
|
53
62
|
"rollup": "^3.25.1",
|
|
54
63
|
"rollup-plugin-postcss": "^4.0.2",
|
|
64
|
+
"tsconfig": "workspace:*",
|
|
55
65
|
"typescript": "4.7",
|
|
56
|
-
"usehooks-ts": "^2.9.1"
|
|
57
|
-
"eslint-config-custom": "0.0.0",
|
|
58
|
-
"tsconfig": "0.0.0"
|
|
66
|
+
"usehooks-ts": "^2.9.1"
|
|
59
67
|
},
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"dev": "rollup --config --watch",
|
|
63
|
-
"lint": "eslint \"**/*.ts*\"",
|
|
64
|
-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf react/dist",
|
|
65
|
-
"test": "echo \"Error: no test specified\" && exit 0"
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"release-it": "^16.2.1"
|
|
66
70
|
}
|
|
67
|
-
}
|
|
71
|
+
}
|