@raystack/apsara 0.17.1 → 0.18.1

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.
@@ -1,6 +1,11 @@
1
1
  import * as SelectPrimitive from "@radix-ui/react-select";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React from "react";
4
+ import { TextProps } from "~/text/text";
5
+ export interface IconProps extends React.SVGAttributes<SVGElement> {
6
+ children?: never;
7
+ color?: string;
8
+ }
4
9
  export declare const Select: React.FC<SelectPrimitive.SelectProps> & {
5
10
  Group: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
6
11
  Value: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
@@ -11,11 +16,15 @@ export declare const Select: React.FC<SelectPrimitive.SelectProps> & {
11
16
  size?: "small" | "medium" | null | undefined;
12
17
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
13
18
  children?: React.ReactNode;
19
+ } & {
20
+ iconProps?: IconProps | undefined;
14
21
  } & React.RefAttributes<HTMLButtonElement>>;
15
22
  Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
16
23
  children?: React.ReactNode;
17
24
  } & React.RefAttributes<HTMLDivElement>>;
18
- Item: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
+ Item: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
26
+ textProps?: TextProps | undefined;
27
+ } & React.RefAttributes<HTMLDivElement>>;
19
28
  Separator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
29
  };
21
30
  //# sourceMappingURL=select.d.ts.map
@@ -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;AAoF/B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAUjB,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;AAG/B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAsFD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
@@ -4,7 +4,7 @@ declare const text: (props?: ({
4
4
  size?: 1 | 4 | 3 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | null | undefined;
5
5
  weight?: "bold" | "normal" | "bolder" | "lighter" | 400 | 100 | 200 | 300 | 500 | 600 | 700 | 800 | 900 | null | undefined;
6
6
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
- type TextProps = PropsWithChildren<VariantProps<typeof text>> & HTMLAttributes<HTMLSpanElement>;
7
+ export type TextProps = PropsWithChildren<VariantProps<typeof text>> & HTMLAttributes<HTMLSpanElement>;
8
8
  export declare function Text({ children, className, size, weight, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
9
9
  export {};
10
10
  //# sourceMappingURL=text.d.ts.map
@@ -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;;;mFAkCR,CAAC;AAEH,KAAK,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"}
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,MAAM,MAAM,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAClE,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,MAAM,EACN,GAAG,KAAK,EACT,EAAE,SAAS,2CAMX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/apsara",
3
- "version": "0.17.1",
3
+ "version": "0.18.1",
4
4
  "types": "dist/index.d.ts",
5
5
  "sideEffects": false,
6
6
  "engines": {
@@ -38,8 +38,8 @@
38
38
  "@radix-ui/react-icons": "^1.3.0",
39
39
  "@radix-ui/react-popover": "^1.0.6",
40
40
  "@radix-ui/react-radio-group": "^1.1.3",
41
- "@radix-ui/react-scroll-area": "^1.0.3",
42
- "@radix-ui/react-select": "^2.0.0",
41
+ "@radix-ui/react-scroll-area": "^1.1.0",
42
+ "@radix-ui/react-select": "^2.1.1",
43
43
  "@radix-ui/react-separator": "^1.0.3",
44
44
  "@radix-ui/react-slot": "^1.0.2",
45
45
  "@radix-ui/react-switch": "^1.0.3",
@@ -75,7 +75,7 @@
75
75
  "@radix-ui/react-accordion": "^1.1.2",
76
76
  "@radix-ui/react-toggle-group": "^1.0.4",
77
77
  "@radix-ui/react-tooltip": "^1.0.7",
78
- "react-day-picker": "^8.10.0",
78
+ "react-day-picker": "^9.0.4",
79
79
  "react-loading-skeleton": "^3.4.0",
80
80
  "release-it": "^16.2.1",
81
81
  "sonner": "^1.5.0"