@raystack/apsara 0.14.5 → 0.16.0

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.
@@ -9,6 +9,10 @@ declare const textfield: (props?: ({
9
9
  export type TextfieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & PropsWithChildren<VariantProps<typeof textfield>> & {
10
10
  leading?: React.ReactElement;
11
11
  trailing?: React.ReactElement;
12
+ iconClass?: {
13
+ leadingIcon?: string;
14
+ trailingIcon?: string;
15
+ };
12
16
  };
13
17
  export declare const TextField: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<(props?: ({
14
18
  size?: "small" | "medium" | null | undefined;
@@ -20,6 +24,10 @@ export declare const TextField: import("react").ForwardRefExoticComponent<Omit<I
20
24
  } & {
21
25
  leading?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
22
26
  trailing?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
27
+ iconClass?: {
28
+ leadingIcon?: string | undefined;
29
+ trailingIcon?: string | undefined;
30
+ } | undefined;
23
31
  } & import("react").RefAttributes<HTMLInputElement>>;
24
32
  export {};
25
33
  //# 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,EAAc,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI3E,QAAA,MAAM,SAAS;;;;;mFAsBb,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,CACP,GACC,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GAAG;IAClD,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;;;;oDAoCrB,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,EAAc,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI3E,QAAA,MAAM,SAAS;;;;;mFAsBb,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,CACP,GACC,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GAAG;IAClD,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,SAAS,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7D,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;;;;;;;;oDAsDrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ToastContainer, toast } from "./toast";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../toast/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type ToasterProps, toast as sonnerToast } from "sonner";
2
+ interface ToastContainerProps extends ToasterProps {
3
+ }
4
+ declare function ToastContainer(props: ToastContainerProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace ToastContainer {
6
+ var displayName: string;
7
+ }
8
+ declare const toast: typeof sonnerToast;
9
+ export { ToastContainer, toast };
10
+ //# sourceMappingURL=toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../toast/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1E,UAAU,mBAAoB,SAAQ,YAAY;CAAG;AAErD,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAEjD;kBAFQ,cAAc;;;AAIvB,QAAA,MAAM,KAAK,EAAE,OAAO,WAGnB,CAAC;AAKF,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@raystack/apsara",
3
- "version": "0.14.5",
3
+ "version": "0.16.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "sideEffects": false,
6
6
  "engines": {
7
- "node": ">=12.x.x"
7
+ "node": ">=18"
8
8
  },
9
9
  "exports": {
10
10
  ".": {
@@ -77,6 +77,7 @@
77
77
  "@radix-ui/react-tooltip": "^1.0.7",
78
78
  "react-day-picker": "^8.10.0",
79
79
  "react-loading-skeleton": "^3.4.0",
80
- "release-it": "^16.2.1"
80
+ "release-it": "^16.2.1",
81
+ "sonner": "^1.5.0"
81
82
  }
82
83
  }