@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.
@@ -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;;;;;;;;;;;;CAQjB,CAAC"}
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, PropsWithChildren } from "react";
3
- declare const textfield: (props?: ({
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
- declare type TextfieldProps = PropsWithChildren<VariantProps<typeof textfield>> & InputHTMLAttributes<HTMLInputElement> & {
9
- leading?: React.ReactElement;
10
- };
11
- export declare const TextField: {
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,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/D,QAAA,MAAM,SAAS;;;;mFAmBb,CAAC;AAEH,aAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IACtC,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B,CAAC;AAEJ,eAAO,MAAM,SAAS;gEAQnB,cAAc;;CAahB,CAAC"}
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.2",
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
- "scripts": {
61
- "build": "rollup --config",
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
+ }