@raystack/apsara 0.41.1 → 0.41.2
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/avatar/avatar.d.ts +3 -3
- package/dist/avatar/avatar.d.ts.map +1 -1
- package/dist/badge/badge.d.ts +1 -1
- package/dist/body/body.d.ts +1 -1
- package/dist/body/body.d.ts.map +1 -1
- package/dist/box/box.d.ts +1 -1
- package/dist/box/box.d.ts.map +1 -1
- package/dist/button/button.d.ts +1 -1
- package/dist/checkbox/checkbox.d.ts +2 -2
- package/dist/checkbox/checkbox.d.ts.map +1 -1
- package/dist/container/container.d.ts +1 -1
- package/dist/container/container.d.ts.map +1 -1
- package/dist/dialog/dialog.d.ts +2 -2
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/display/display.d.ts +1 -1
- package/dist/display/display.d.ts.map +1 -1
- package/dist/dropdown-menu/dropdown-menu.d.ts +5 -5
- package/dist/emptystate/emptystate.d.ts +1 -1
- package/dist/emptystate/emptystate.d.ts.map +1 -1
- package/dist/errorstate/errorstate.d.ts +1 -1
- package/dist/errorstate/errorstate.d.ts.map +1 -1
- package/dist/flex/flex.d.ts +1 -1
- package/dist/grid/grid.d.ts +1 -1
- package/dist/grid/grid.d.ts.map +1 -1
- package/dist/headline/headline.d.ts +1 -1
- package/dist/headline/headline.d.ts.map +1 -1
- package/dist/image/image.d.ts +1 -1
- package/dist/image/image.d.ts.map +1 -1
- package/dist/inputfield/inputfield.d.ts +1 -1
- package/dist/inputfield/inputfield.d.ts.map +1 -1
- package/dist/label/label.d.ts +1 -1
- package/dist/label/label.d.ts.map +1 -1
- package/dist/link/link.d.ts +1 -1
- package/dist/link/link.d.ts.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +2 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radio.d.ts.map +1 -1
- package/dist/scroll-area/scrollarea.d.ts +2 -2
- package/dist/select/select.d.ts +2 -2
- package/dist/separator/separator.d.ts +1 -1
- package/dist/separator/separator.d.ts.map +1 -1
- package/dist/sheet/sheet.d.ts +2 -2
- package/dist/sheet/sheet.d.ts.map +1 -1
- package/dist/sidebar/sidebar.d.ts +3 -3
- package/dist/sidebar/sidebar.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/switch/switch.d.ts +2 -2
- package/dist/switch/switch.d.ts.map +1 -1
- package/dist/table/table.d.ts +7 -7
- package/dist/tabs/tabs.d.ts +4 -4
- package/dist/tabs/tabs.d.ts.map +1 -1
- package/dist/text/text.d.ts +1 -1
- package/dist/text/text.d.ts.map +1 -1
- package/dist/textarea/textarea.d.ts +2 -2
- package/dist/textarea/textarea.d.ts.map +1 -1
- package/dist/textfield/textfield.d.ts +2 -2
- package/dist/textfield/textfield.d.ts.map +1 -1
- package/dist/title/title.d.ts +1 -1
- package/dist/title/title.d.ts.map +1 -1
- package/dist/toggle-group/togglegroup.d.ts +2 -2
- package/dist/toggle-group/togglegroup.d.ts.map +1 -1
- package/dist/v1/components/announcement-bar/announcement-bar.d.ts +1 -1
- package/dist/v1/components/announcement-bar/announcement-bar.d.ts.map +1 -1
- package/dist/v1/components/avatar/avatar.d.ts +1 -1
- package/dist/v1/components/avatar/avatar.d.ts.map +1 -1
- package/dist/v1/components/badge/badge.d.ts +1 -1
- package/dist/v1/components/badge/badge.d.ts.map +1 -1
- package/dist/v1/components/box/box.d.ts +1 -1
- package/dist/v1/components/box/box.d.ts.map +1 -1
- package/dist/v1/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/v1/components/button/button.d.ts +1 -1
- package/dist/v1/components/callout/callout.d.ts +1 -1
- package/dist/v1/components/callout/callout.d.ts.map +1 -1
- package/dist/v1/components/checkbox/checkbox.d.ts +1 -1
- package/dist/v1/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/v1/components/chip/chip.d.ts +1 -1
- package/dist/v1/components/chip/chip.d.ts.map +1 -1
- package/dist/v1/components/container/container.d.ts +1 -1
- package/dist/v1/components/container/container.d.ts.map +1 -1
- package/dist/v1/components/dialog/dialog.d.ts +1 -1
- package/dist/v1/components/dialog/dialog.d.ts.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu.d.ts +5 -5
- package/dist/v1/components/flex/flex.d.ts +1 -1
- package/dist/v1/components/headline/headline.cjs +8 -4
- package/dist/v1/components/headline/headline.cjs.map +1 -1
- package/dist/v1/components/headline/headline.d.ts +20 -4
- package/dist/v1/components/headline/headline.d.ts.map +1 -1
- package/dist/v1/components/headline/headline.js +8 -4
- package/dist/v1/components/headline/headline.js.map +1 -1
- package/dist/v1/components/headline/headline.module.css.cjs +1 -1
- package/dist/v1/components/headline/headline.module.css.js +1 -1
- package/dist/v1/components/headline/index.d.ts +1 -1
- package/dist/v1/components/headline/index.d.ts.map +1 -1
- package/dist/v1/components/icon-button/icon-button.d.ts +1 -1
- package/dist/v1/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/v1/components/image/image.d.ts +1 -1
- package/dist/v1/components/image/image.d.ts.map +1 -1
- package/dist/v1/components/indicator/indicator.d.ts +1 -1
- package/dist/v1/components/indicator/indicator.d.ts.map +1 -1
- package/dist/v1/components/input-field/input-field.d.ts +1 -1
- package/dist/v1/components/input-field/input-field.d.ts.map +1 -1
- package/dist/v1/components/label/label.d.ts +1 -1
- package/dist/v1/components/label/label.d.ts.map +1 -1
- package/dist/v1/components/link/link.cjs +17 -63
- package/dist/v1/components/link/link.cjs.map +1 -1
- package/dist/v1/components/link/link.d.ts +2 -11
- package/dist/v1/components/link/link.d.ts.map +1 -1
- package/dist/v1/components/link/link.js +17 -63
- package/dist/v1/components/link/link.js.map +1 -1
- package/dist/v1/components/link/link.module.css.cjs +1 -1
- package/dist/v1/components/link/link.module.css.js +1 -1
- package/dist/v1/components/list/list.d.ts +1 -1
- package/dist/v1/components/list/list.d.ts.map +1 -1
- package/dist/v1/components/radio/radio.d.ts +1 -1
- package/dist/v1/components/radio/radio.d.ts.map +1 -1
- package/dist/v1/components/select/select.d.ts +4 -5
- package/dist/v1/components/select/select.d.ts.map +1 -1
- package/dist/v1/components/sheet/sheet.d.ts +2 -2
- package/dist/v1/components/sheet/sheet.d.ts.map +1 -1
- package/dist/v1/components/side-panel/side-panel.d.ts +1 -1
- package/dist/v1/components/side-panel/side-panel.d.ts.map +1 -1
- package/dist/v1/components/slider/slider.d.ts +1 -1
- package/dist/v1/components/slider/slider.d.ts.map +1 -1
- package/dist/v1/components/spinner/spinner.d.ts +1 -1
- package/dist/v1/components/spinner/spinner.d.ts.map +1 -1
- package/dist/v1/components/table/table.d.ts +4 -4
- package/dist/v1/components/tabs/tabs.d.ts +1 -1
- package/dist/v1/components/tabs/tabs.d.ts.map +1 -1
- package/dist/v1/components/text/index.d.ts +1 -1
- package/dist/v1/components/text/index.d.ts.map +1 -1
- package/dist/v1/components/text/text.cjs +61 -7
- package/dist/v1/components/text/text.cjs.map +1 -1
- package/dist/v1/components/text/text.d.ts +40 -8
- package/dist/v1/components/text/text.d.ts.map +1 -1
- package/dist/v1/components/text/text.js +92 -39
- package/dist/v1/components/text/text.js.map +1 -1
- package/dist/v1/components/text/text.module.css.cjs +2 -2
- package/dist/v1/components/text/text.module.css.js +2 -2
- package/dist/v1/components/textfield/textfield.d.ts +2 -2
- package/dist/v1/components/textfield/textfield.d.ts.map +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +2 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/dist/v1/style.css +1 -1
- package/package.json +1 -1
package/dist/avatar/avatar.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { ComponentPropsWithoutRef, CSSProperties } from "react";
|
|
|
4
4
|
declare const avatar: (props?: ({
|
|
5
5
|
shape?: "circle" | "square" | null | undefined;
|
|
6
6
|
disabled?: boolean | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/
|
|
8
|
-
declare const image: (props?: import("class-variance-authority/
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
declare const image: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use AvatarProps from '@raystack/apsara/v1' instead.
|
|
11
11
|
*/
|
|
@@ -16,7 +16,7 @@ export interface AvatarProps extends ComponentPropsWithoutRef<typeof AvatarPrimi
|
|
|
16
16
|
*/
|
|
17
17
|
export interface AvatarImageProps extends ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>, VariantProps<typeof image> {
|
|
18
18
|
}
|
|
19
|
-
declare const fallback: (props?: import("class-variance-authority/
|
|
19
|
+
declare const fallback: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
20
20
|
/**
|
|
21
21
|
* @deprecated Use FallbackProps from '@raystack/apsara/v1' instead.
|
|
22
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,wBAAwB,EACxB,aAAa,EAGd,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,MAAM;;;
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,wBAAwB,EACxB,aAAa,EAGd,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,MAAM;;;8EAcV,CAAC;AAEH,QAAA,MAAM,KAAK,oFAAoB,CAAC;AAEhC;;GAEG;AACH,MAAM,WAAW,WACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAC3D,YAAY,CAAC,OAAO,MAAM,CAAC;CAAG;AA+BlC;;GAEG;AACH,MAAM,WAAW,gBACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAC5D,YAAY,CAAC,OAAO,KAAK,CAAC;CAAG;AAcjC,QAAA,MAAM,QAAQ,oFAAuB,CAAC;AAEtC;;GAEG;AACH,MAAM,WAAW,aACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,EAC/D,YAAY,CAAC,OAAO,QAAQ,CAAC;CAAG;AAepC;;GAEG;AACH,eAAO,MAAM,MAAM;;;eApEJ,MAAM,SAAS;;;;;CAuE5B,CAAC"}
|
package/dist/badge/badge.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import React from "react";
|
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: React.ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
7
7
|
color?: null | undefined;
|
|
8
|
-
} & import("class-variance-authority/
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
} & React.HTMLAttributes<HTMLElement> & React.RefAttributes<unknown>>;
|
|
11
11
|
export default _default;
|
package/dist/body/body.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const body: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type BodyProps = PropsWithChildren<VariantProps<typeof body>> & HTMLAttributes<HTMLSpanElement>;
|
|
7
7
|
export declare function Body({ children, className, size, ...props }: BodyProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
package/dist/body/body.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../body/body.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;;
|
|
1
|
+
{"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../body/body.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;;8EAWR,CAAC;AAEH,KAAK,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC3D,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAMtE"}
|
package/dist/box/box.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
|
-
declare const box: (props?: import("class-variance-authority/
|
|
3
|
+
declare const box: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
4
4
|
type BoxProps = PropsWithChildren<VariantProps<typeof box>> & HTMLAttributes<HTMLDivElement>;
|
|
5
5
|
export declare function Box({ children, className, ...props }: BoxProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
package/dist/box/box.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../box/box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../box/box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,GAAG,oFAAkB,CAAC;AAE5B,KAAK,QAAQ,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,GAAG,CAAC,CAAC,GACzD,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjC,wBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,2CAM9D"}
|
package/dist/button/button.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ButtonHTMLAttributes } from "react";
|
|
|
6
6
|
export declare const Button: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
7
7
|
variant?: "primary" | "outline" | "secondary" | "ghost" | "danger" | null | undefined;
|
|
8
8
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
10
10
|
children?: import("react").ReactNode;
|
|
11
11
|
} & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
12
12
|
asChild?: boolean | undefined;
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
import { ComponentPropsWithoutRef } from "react";
|
|
4
4
|
declare const checkbox: (props?: ({
|
|
5
5
|
size?: "small" | "medium" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use CheckboxProps from '@raystack/apsara/v1' instead.
|
|
9
9
|
*/
|
|
@@ -13,7 +13,7 @@ export interface CheckboxProps extends ComponentPropsWithoutRef<typeof CheckboxP
|
|
|
13
13
|
* @deprecated Use Checkbox from '@raystack/apsara/v1' instead.
|
|
14
14
|
*/
|
|
15
15
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
-
declare const indicator: (props?: import("class-variance-authority/
|
|
16
|
+
declare const indicator: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Use IndicatorProps from '@raystack/apsara/v1' instead.
|
|
19
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../checkbox/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAA0B,MAAM,OAAO,CAAC;AAKzE,QAAA,MAAM,QAAQ;;
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../checkbox/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAA0B,MAAM,OAAO,CAAC;AAKzE,QAAA,MAAM,QAAQ;;8EAUZ,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,aACf,SAAQ,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,EAC7D,YAAY,CAAC,OAAO,QAAQ,CAAC,EAC7B,iBAAiB,CAAC,aAAa;CAAG;AAEtC;;GAEG;AACH,eAAO,MAAM,QAAQ,6GAgBnB,CAAC;AAEH,QAAA,MAAM,SAAS,oFAAwB,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,EAClE,YAAY,CAAC,OAAO,SAAS,CAAC;CAAG"}
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const container: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type ContainerProps = PropsWithChildren<VariantProps<typeof container>> & HTMLAttributes<HTMLElement>;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use Container from '@raystack/apsara/v1' instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../container/container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../container/container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;8EAYb,CAAC;AAEH,KAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,cAAc,CAAC,WAAW,CAAC,CAAC;AAE9B;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAMhB"}
|
package/dist/dialog/dialog.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { ComponentProps, ComponentPropsWithoutRef } from "react";
|
|
4
|
-
declare const dialogContent: (props?: import("class-variance-authority/
|
|
4
|
+
declare const dialogContent: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
5
5
|
export interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof dialogContent> {
|
|
6
6
|
}
|
|
7
7
|
export declare const DialogContent: import("react").ForwardRefExoticComponent<DialogContentProps & {
|
|
@@ -12,7 +12,7 @@ export declare const DialogContent: import("react").ForwardRefExoticComponent<Di
|
|
|
12
12
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
13
|
declare const overlay: (props?: ({
|
|
14
14
|
blur?: boolean | null | undefined;
|
|
15
|
-
} & import("class-variance-authority/
|
|
15
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
16
|
export interface OverlayProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, VariantProps<typeof overlay> {
|
|
17
17
|
}
|
|
18
18
|
type CloseButtonProps = ComponentProps<typeof DialogPrimitive.Close>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,wBAAwB,EAGzB,MAAM,OAAO,CAAC;AAOf,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,wBAAwB,EAGzB,MAAM,OAAO,CAAC;AAOf,QAAA,MAAM,aAAa,oFAA4B,CAAC;AAKhD,MAAM,WAAW,kBACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAKzC,eAAO,MAAM,aAAa;;;;;kDAgCzB,CAAC;AAEF,QAAA,MAAM,OAAO;;8EAMX,CAAC;AAKH,MAAM,WAAW,YACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,OAAO,CAAC;CAAG;AAgBnC,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAKrE,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAMlB;AAKD,eAAO,MAAM,MAAM;;;;;;;;;;;CAMjB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const display: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type DisplayProps = PropsWithChildren<VariantProps<typeof display>> & HTMLAttributes<HTMLSpanElement>;
|
|
7
7
|
export declare function Display({ children, className, size, ...props }: DisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../display/display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,OAAO;;
|
|
1
|
+
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../display/display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,OAAO;;8EAWX,CAAC;AAEH,KAAK,YAAY,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,GACjE,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAM5E"}
|
|
@@ -11,19 +11,19 @@ export declare function RootDropdownMenu({ children, ...props }: DropdownMenuPro
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps> & {
|
|
13
13
|
Trigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
-
Content: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
14
|
+
Content: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
Item: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
17
|
+
Item: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
Group: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
20
|
+
Group: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
21
21
|
children?: React.ReactNode;
|
|
22
22
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
Label: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
23
|
+
Label: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
24
24
|
children?: React.ReactNode;
|
|
25
25
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
Separator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
26
|
+
Separator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
|
-
declare const emptystate: (props?: import("class-variance-authority/
|
|
3
|
+
declare const emptystate: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
4
4
|
type EmptystateProps = PropsWithChildren<VariantProps<typeof emptystate>> & HTMLAttributes<HTMLElement>;
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use EmptyState from '@raystack/apsara/v1' instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emptystate.d.ts","sourceRoot":"","sources":["../../emptystate/emptystate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"emptystate.d.ts","sourceRoot":"","sources":["../../emptystate/emptystate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,UAAU,oFAAyB,CAAC;AAE1C,KAAK,eAAe,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,GACvE,cAAc,CAAC,WAAW,CAAC,CAAC;AAE9B;;GAEG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM5E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
type Status = "404" | "NOT_FOUND" | "UNDER_MAINTENANCE" | "SOMETHING_WENT_WRONG" | string;
|
|
4
|
-
declare const errorstate: (props?: import("class-variance-authority/
|
|
4
|
+
declare const errorstate: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
5
5
|
type ErrorStateProps = PropsWithChildren<VariantProps<typeof errorstate>> & HTMLAttributes<HTMLElement> & {
|
|
6
6
|
icon?: React.ReactElement;
|
|
7
7
|
status?: Status;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorstate.d.ts","sourceRoot":"","sources":["../../errorstate/errorstate.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1D,KAAK,MAAM,GACP,KAAK,GACL,WAAW,GACX,mBAAmB,GACnB,sBAAsB,GACtB,MAAM,CAAC;AAiDX,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"errorstate.d.ts","sourceRoot":"","sources":["../../errorstate/errorstate.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1D,KAAK,MAAM,GACP,KAAK,GACL,WAAW,GACX,mBAAmB,GACnB,sBAAsB,GACtB,MAAM,CAAC;AAiDX,QAAA,MAAM,UAAU,oFAAyB,CAAC;AAC1C,KAAK,eAAe,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,GACvE,cAAc,CAAC,WAAW,CAAC,GAAG;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEJ,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,IAAI,EACJ,OAAO,EACP,GAAG,KAAK,EACT,EAAE,eAAe,2CAoBjB"}
|
package/dist/flex/flex.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const Flex: import("react").ForwardRefExoticComponent<VariantProp
|
|
|
9
9
|
justify?: "start" | "center" | "end" | "between" | null | undefined;
|
|
10
10
|
wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
|
|
11
11
|
gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
12
|
-
} & import("class-variance-authority/
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
13
13
|
children?: import("react").ReactNode;
|
|
14
14
|
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
15
|
//# sourceMappingURL=flex.d.ts.map
|
package/dist/grid/grid.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const grid: (props?: ({
|
|
|
8
8
|
gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
9
9
|
gapX?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
10
10
|
gapY?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
12
|
type BoxProps = PropsWithChildren<VariantProps<typeof grid>> & HTMLAttributes<HTMLElement>;
|
|
13
13
|
export declare function Grid({ children, align, justify, flow, columns, gap, gapX, gapY, className, ...props }: BoxProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
package/dist/grid/grid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../grid/grid.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;;;;;;;;
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../grid/grid.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;;;;;;;;8EAqDR,CAAC;AAEH,KAAK,QAAQ,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC1D,cAAc,CAAC,WAAW,CAAC,CAAC;AAE9B,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,KAAK,EACL,OAAO,EACP,IAAI,EACJ,OAAO,EACP,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,QAAQ,2CAkBV"}
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const headline: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type HeadlineProps = PropsWithChildren<VariantProps<typeof headline>> & HTMLAttributes<HTMLSpanElement>;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use Headline from '@raystack/apsara/v1' instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headline.d.ts","sourceRoot":"","sources":["../../headline/headline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,QAAQ;;
|
|
1
|
+
{"version":3,"file":"headline.d.ts","sourceRoot":"","sources":["../../headline/headline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,QAAQ;;8EAWZ,CAAC;AAEH,KAAK,aAAa,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC,GACnE,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,aAAa,2CAOf"}
|
package/dist/image/image.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ImgHTMLAttributes, PropsWithChildren } from "react";
|
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated Use Image from `@raystack/apsara/v1` instead.
|
|
5
5
|
*/
|
|
6
|
-
declare const image: (props?: import("class-variance-authority/
|
|
6
|
+
declare const image: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
7
7
|
type ImageProps = PropsWithChildren<VariantProps<typeof image>> & ImgHTMLAttributes<HTMLImageElement>;
|
|
8
8
|
/**
|
|
9
9
|
* @deprecated Use Image from `@raystack/apsara/v1` instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../image/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG7D;;GAEG;AACH,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../image/image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG7D;;GAEG;AACH,QAAA,MAAM,KAAK,oFAAoB,CAAC;AAEhC,KAAK,UAAU,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,GAC7D,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAEtC;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAEvE"}
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
declare const inputfield: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | null | undefined;
|
|
5
5
|
state?: "invalid" | "valid" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
type InputFieldProps = PropsWithChildren<VariantProps<typeof inputfield>> & InputHTMLAttributes<HTMLInputElement> & {
|
|
8
8
|
label?: string;
|
|
9
9
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputfield.d.ts","sourceRoot":"","sources":["../../inputfield/inputfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAK7D,QAAA,MAAM,UAAU;;;
|
|
1
|
+
{"version":3,"file":"inputfield.d.ts","sourceRoot":"","sources":["../../inputfield/inputfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAK7D,QAAA,MAAM,UAAU;;;8EAed,CAAC;AAEH,KAAK,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;AAGJ;;GAEG;AACH,eAAO,MAAM,UAAU;oCAAmC,eAAe;;CAOxE,CAAC"}
|
package/dist/label/label.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const label: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type LabelProps = PropsWithChildren<VariantProps<typeof label>> & HTMLAttributes<HTMLLabelElement>;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use Label from '@raystack/apsara/v1' instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,KAAK;;
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,KAAK;;8EAWT,CAAC;AAEH,KAAK,UAAU,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,GAC7D,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAEnC;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAMxE"}
|
package/dist/link/link.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { AnchorHTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const link: (props?: ({
|
|
4
4
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type LinkProps = PropsWithChildren<VariantProps<typeof link>> & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use the Link from @raystack/apsara/v1 instead.
|
package/dist/link/link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGhE,QAAA,MAAM,IAAI;;
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGhE,QAAA,MAAM,IAAI;;8EAWR,CAAC;AAEH,KAAK,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAC3D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C;;GAEG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAMtE"}
|
|
@@ -79,7 +79,9 @@ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
|
79
79
|
...overrideProps
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
+
const $5e63c961fc1ce211$export$be92b6f5f03c0fe9 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
|
|
82
83
|
|
|
84
|
+
exports.Root = $5e63c961fc1ce211$export$be92b6f5f03c0fe9;
|
|
83
85
|
exports.Slot = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
|
|
84
86
|
exports.Slottable = $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
85
87
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-slot@1.0.2_@types+react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["import $9IrjX$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment} from \"react\";\nimport {composeRefs as $9IrjX$composeRefs} from \"@radix-ui/react-compose-refs\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Slot\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n const childrenArray = $9IrjX$Children.toArray(children);\n const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child)=>{\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if ($9IrjX$Children.count(newElement) > 1) return $9IrjX$Children.only(null);\n return /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;\n } else return child;\n });\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? /*#__PURE__*/ $9IrjX$cloneElement(newElement, undefined, newChildren) : null);\n }\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), children);\n});\n$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';\n/* -------------------------------------------------------------------------------------------------\n * SlotClone\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n if (/*#__PURE__*/ $9IrjX$isValidElement(children)) return /*#__PURE__*/ $9IrjX$cloneElement(children, {\n ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),\n ref: forwardedRef ? $9IrjX$composeRefs(forwardedRef, children.ref) : children.ref\n });\n return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;\n});\n$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';\n/* -------------------------------------------------------------------------------------------------\n * Slottable\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{\n return /*#__PURE__*/ $9IrjX$createElement($9IrjX$Fragment, null, children);\n};\n/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {\n return /*#__PURE__*/ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;\n}\nfunction $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {\n // all child props should override\n const overrideProps = {\n ...childProps\n };\n for(const propName in childProps){\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n // if the handler exists on both, we compose them\n if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{\n childPropValue(...args);\n slotPropValue(...args);\n };\n else if (slotPropValue) overrideProps[propName] = slotPropValue;\n } else if (propName === 'style') overrideProps[propName] = {\n ...slotPropValue,\n ...childPropValue\n };\n else if (propName === 'className') overrideProps[propName] = [\n slotPropValue,\n childPropValue\n ].filter(Boolean).join(' ');\n }\n return {\n ...slotProps,\n ...overrideProps\n };\n}\nconst $5e63c961fc1ce211$export$be92b6f5f03c0fe9 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;\n\n\n\n\nexport {$5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot, $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 as Slottable, $5e63c961fc1ce211$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$9IrjX$forwardRef","$9IrjX$Children","$9IrjX$isValidElement","$9IrjX$createElement","$9IrjX$babelruntimehelpersesmextends","$9IrjX$cloneElement","$9IrjX$composeRefs","$9IrjX$Fragment"],"mappings":";;;;;;AAOA;AACA;AACA,qGAA0G,MAAC,yCAAyC,iBAAiBA,gBAAiB,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG;AAC9M,IAAI,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;AACxD,IAAI,MAAM,aAAa,GAAGC,cAAe,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5D,IAAI,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;AAC5E,IAAI,IAAI,SAAS,EAAE;AACnB;AACA,QAAQ,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC;AACpD,QAAQ,MAAM,WAAW,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG;AACvD,YAAY,IAAI,KAAK,KAAK,SAAS,EAAE;AACrC;AACA;AACA,gBAAgB,IAAIA,cAAe,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,OAAOA,cAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7F,gBAAgB,qBAAqBC,oBAAqB,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;AAC1G,aAAa,MAAM,OAAO,KAAK,CAAC;AAChC,SAAS,CAAC,CAAC;AACX,QAAQ,qBAAqBC,mBAAoB,CAAC,+BAA+B,EAAEC,gBAAoC,CAAC,EAAE,EAAE,SAAS,EAAE;AACvI,YAAY,GAAG,EAAE,YAAY;AAC7B,SAAS,CAAC,gBAAg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;AACpB,QAAQ,GAAG,aAAa;AACxB,KAAK,CAAC;AACN
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-slot@1.0.2_@types+react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["import $9IrjX$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment} from \"react\";\nimport {composeRefs as $9IrjX$composeRefs} from \"@radix-ui/react-compose-refs\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Slot\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n const childrenArray = $9IrjX$Children.toArray(children);\n const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child)=>{\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if ($9IrjX$Children.count(newElement) > 1) return $9IrjX$Children.only(null);\n return /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;\n } else return child;\n });\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? /*#__PURE__*/ $9IrjX$cloneElement(newElement, undefined, newChildren) : null);\n }\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), children);\n});\n$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';\n/* -------------------------------------------------------------------------------------------------\n * SlotClone\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n if (/*#__PURE__*/ $9IrjX$isValidElement(children)) return /*#__PURE__*/ $9IrjX$cloneElement(children, {\n ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),\n ref: forwardedRef ? $9IrjX$composeRefs(forwardedRef, children.ref) : children.ref\n });\n return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;\n});\n$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';\n/* -------------------------------------------------------------------------------------------------\n * Slottable\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{\n return /*#__PURE__*/ $9IrjX$createElement($9IrjX$Fragment, null, children);\n};\n/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {\n return /*#__PURE__*/ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;\n}\nfunction $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {\n // all child props should override\n const overrideProps = {\n ...childProps\n };\n for(const propName in childProps){\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n // if the handler exists on both, we compose them\n if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{\n childPropValue(...args);\n slotPropValue(...args);\n };\n else if (slotPropValue) overrideProps[propName] = slotPropValue;\n } else if (propName === 'style') overrideProps[propName] = {\n ...slotPropValue,\n ...childPropValue\n };\n else if (propName === 'className') overrideProps[propName] = [\n slotPropValue,\n childPropValue\n ].filter(Boolean).join(' ');\n }\n return {\n ...slotProps,\n ...overrideProps\n };\n}\nconst $5e63c961fc1ce211$export$be92b6f5f03c0fe9 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;\n\n\n\n\nexport {$5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot, $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 as Slottable, $5e63c961fc1ce211$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$9IrjX$forwardRef","$9IrjX$Children","$9IrjX$isValidElement","$9IrjX$createElement","$9IrjX$babelruntimehelpersesmextends","$9IrjX$cloneElement","$9IrjX$composeRefs","$9IrjX$Fragment"],"mappings":";;;;;;AAOA;AACA;AACA,qGAA0G,MAAC,yCAAyC,iBAAiBA,gBAAiB,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG;AAC9M,IAAI,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;AACxD,IAAI,MAAM,aAAa,GAAGC,cAAe,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5D,IAAI,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;AAC5E,IAAI,IAAI,SAAS,EAAE;AACnB;AACA,QAAQ,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC;AACpD,QAAQ,MAAM,WAAW,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG;AACvD,YAAY,IAAI,KAAK,KAAK,SAAS,EAAE;AACrC;AACA;AACA,gBAAgB,IAAIA,cAAe,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,OAAOA,cAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7F,gBAAgB,qBAAqBC,oBAAqB,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;AAC1G,aAAa,MAAM,OAAO,KAAK,CAAC;AAChC,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E,YAAY,aAAa;AACzB,YAAY,cAAc;AAC1B,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpC,KAAK;AACL,IAAI,OAAO;AACX,QAAQ,GAAG,SAAS;AACpB,QAAQ,GAAG,aAAa;AACxB,KAAK,CAAC;AACN,CAAC;AACI,MAAC,yCAAyC,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -77,6 +77,7 @@ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
|
77
77
|
...overrideProps
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
+
const $5e63c961fc1ce211$export$be92b6f5f03c0fe9 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;
|
|
80
81
|
|
|
81
|
-
export { $5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot, $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 as Slottable };
|
|
82
|
+
export { $5e63c961fc1ce211$export$be92b6f5f03c0fe9 as Root, $5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot, $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 as Slottable };
|
|
82
83
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-slot@1.0.2_@types+react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["import $9IrjX$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment} from \"react\";\nimport {composeRefs as $9IrjX$composeRefs} from \"@radix-ui/react-compose-refs\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Slot\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n const childrenArray = $9IrjX$Children.toArray(children);\n const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child)=>{\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if ($9IrjX$Children.count(newElement) > 1) return $9IrjX$Children.only(null);\n return /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;\n } else return child;\n });\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? /*#__PURE__*/ $9IrjX$cloneElement(newElement, undefined, newChildren) : null);\n }\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), children);\n});\n$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';\n/* -------------------------------------------------------------------------------------------------\n * SlotClone\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n if (/*#__PURE__*/ $9IrjX$isValidElement(children)) return /*#__PURE__*/ $9IrjX$cloneElement(children, {\n ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),\n ref: forwardedRef ? $9IrjX$composeRefs(forwardedRef, children.ref) : children.ref\n });\n return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;\n});\n$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';\n/* -------------------------------------------------------------------------------------------------\n * Slottable\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{\n return /*#__PURE__*/ $9IrjX$createElement($9IrjX$Fragment, null, children);\n};\n/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {\n return /*#__PURE__*/ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;\n}\nfunction $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {\n // all child props should override\n const overrideProps = {\n ...childProps\n };\n for(const propName in childProps){\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n // if the handler exists on both, we compose them\n if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{\n childPropValue(...args);\n slotPropValue(...args);\n };\n else if (slotPropValue) overrideProps[propName] = slotPropValue;\n } else if (propName === 'style') overrideProps[propName] = {\n ...slotPropValue,\n ...childPropValue\n };\n else if (propName === 'className') overrideProps[propName] = [\n slotPropValue,\n childPropValue\n ].filter(Boolean).join(' ');\n }\n return {\n ...slotProps,\n ...overrideProps\n };\n}\nconst $5e63c961fc1ce211$export$be92b6f5f03c0fe9 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;\n\n\n\n\nexport {$5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot, $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 as Slottable, $5e63c961fc1ce211$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$9IrjX$forwardRef","$9IrjX$Children","$9IrjX$isValidElement","$9IrjX$createElement","$9IrjX$babelruntimehelpersesmextends","$9IrjX$cloneElement","$9IrjX$composeRefs","$9IrjX$Fragment"],"mappings":";;;;AAOA;AACA;AACA,qGAA0G,MAAC,yCAAyC,iBAAiBA,UAAiB,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG;AAC9M,IAAI,MAAM,EAAE,Q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AAC,CAAC;AAClD,QAAQ,MAAM,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;AACpD,QAAQ,MAAM,SAAS,GAAG,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACpD,QAAQ,IAAI,SAAS,EAAE;AACvB;AACA,YAAY,IAAI,aAAa,IAAI,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG;AACtF,gBAAgB,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC;AACxC,gBAAgB,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC;AACvC,aAAa,CAAC;AACd,iBAAiB,IAAI,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,aAAa,CAAC;AAC5E,SAAS,MAAM,IAAI,QAAQ,KAAK,OAAO,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG;AACnE,YAAY,GAAG,aAAa;AAC5B,YAAY,GAAG,cAAc;AAC7B,SAAS,CAAC;AACV,aAAa,IAAI,QAAQ,KAAK,WAAW,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG;AACrE,YAAY,aAAa;AACzB,YAAY,cAAc;AAC1B,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpC,KAAK;AACL,IAAI,OAAO;AACX,QAAQ,GAAG,SAAS;AACpB,QAAQ,GAAG,aAAa;AACxB,KAAK,CAAC;AACN;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-slot@1.0.2_@types+react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["import $9IrjX$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment} from \"react\";\nimport {composeRefs as $9IrjX$composeRefs} from \"@radix-ui/react-compose-refs\";\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Slot\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n const childrenArray = $9IrjX$Children.toArray(children);\n const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);\n if (slottable) {\n // the new element to render is the one passed as a child of `Slottable`\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child)=>{\n if (child === slottable) {\n // because the new element will be the one rendered, we are only interested\n // in grabbing its children (`newElement.props.children`)\n if ($9IrjX$Children.count(newElement) > 1) return $9IrjX$Children.only(null);\n return /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;\n } else return child;\n });\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), /*#__PURE__*/ $9IrjX$isValidElement(newElement) ? /*#__PURE__*/ $9IrjX$cloneElement(newElement, undefined, newChildren) : null);\n }\n return /*#__PURE__*/ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, $9IrjX$babelruntimehelpersesmextends({}, slotProps, {\n ref: forwardedRef\n }), children);\n});\n$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';\n/* -------------------------------------------------------------------------------------------------\n * SlotClone\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ $9IrjX$forwardRef((props, forwardedRef)=>{\n const { children: children , ...slotProps } = props;\n if (/*#__PURE__*/ $9IrjX$isValidElement(children)) return /*#__PURE__*/ $9IrjX$cloneElement(children, {\n ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),\n ref: forwardedRef ? $9IrjX$composeRefs(forwardedRef, children.ref) : children.ref\n });\n return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;\n});\n$5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';\n/* -------------------------------------------------------------------------------------------------\n * Slottable\n * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{\n return /*#__PURE__*/ $9IrjX$createElement($9IrjX$Fragment, null, children);\n};\n/* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {\n return /*#__PURE__*/ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;\n}\nfunction $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {\n // all child props should override\n const overrideProps = {\n ...childProps\n };\n for(const propName in childProps){\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n // if the handler exists on both, we compose them\n if (slotPropValue && childPropValue) overrideProps[propName] = (...args)=>{\n childPropValue(...args);\n slotPropValue(...args);\n };\n else if (slotPropValue) overrideProps[propName] = slotPropValue;\n } else if (propName === 'style') overrideProps[propName] = {\n ...slotPropValue,\n ...childPropValue\n };\n else if (propName === 'className') overrideProps[propName] = [\n slotPropValue,\n childPropValue\n ].filter(Boolean).join(' ');\n }\n return {\n ...slotProps,\n ...overrideProps\n };\n}\nconst $5e63c961fc1ce211$export$be92b6f5f03c0fe9 = $5e63c961fc1ce211$export$8c6ed5c666ac1360;\n\n\n\n\nexport {$5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot, $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 as Slottable, $5e63c961fc1ce211$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$9IrjX$forwardRef","$9IrjX$Children","$9IrjX$isValidElement","$9IrjX$createElement","$9IrjX$babelruntimehelpersesmextends","$9IrjX$c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ropsWithoutRef } from "react";
|
|
4
4
|
declare const radioItem: (props?: ({
|
|
5
5
|
size?: "small" | "medium" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use RadioItemProps from '@raystack/apsara/v1' instead.
|
|
9
9
|
*/
|
|
@@ -13,7 +13,7 @@ export interface RadioItemProps extends ComponentPropsWithoutRef<typeof RadioGro
|
|
|
13
13
|
* @deprecated Use RadioItem from '@raystack/apsara/v1' instead.
|
|
14
14
|
*/
|
|
15
15
|
export declare const RadioItem: import("react").ForwardRefExoticComponent<RadioItemProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
-
declare const indicator: (props?: import("class-variance-authority/
|
|
16
|
+
declare const indicator: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Use thumbProps from '@raystack/apsara/v1' instead.
|
|
19
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../radio/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAA0B,MAAM,OAAO,CAAC;AAazE,QAAA,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../radio/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAA0B,MAAM,OAAO,CAAC;AAazE,QAAA,MAAM,SAAS;;8EAUb,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,cACf,SAAQ,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAC/D,YAAY,CAAC,OAAO,SAAS,CAAC;CAAG;AAErC;;GAEG;AACH,eAAO,MAAM,SAAS,8GAWpB,CAAC;AAEH,QAAA,MAAM,SAAS,oFAAwB,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,UACf,SAAQ,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,EACpE,YAAY,CAAC,OAAO,SAAS,CAAC;CAAG;AAerC;;GAEG;AACH,eAAO,MAAM,KAAK;;;CAGhB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
4
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
7
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export { ScrollArea, ScrollBar };
|
package/dist/select/select.d.ts
CHANGED
|
@@ -14,12 +14,12 @@ export declare const Select: React.FC<SelectPrimitive.SelectProps> & {
|
|
|
14
14
|
Viewport: React.ForwardRefExoticComponent<SelectPrimitive.SelectViewportProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
Trigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
16
16
|
size?: "small" | "medium" | null | undefined;
|
|
17
|
-
} & import("class-variance-authority/
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
} & {
|
|
20
20
|
iconProps?: IconProps | undefined;
|
|
21
21
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
22
|
-
Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
22
|
+
Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & {
|
|
23
23
|
children?: React.ReactNode;
|
|
24
24
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
Item: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
import { ComponentProps, PropsWithChildren } from "react";
|
|
4
4
|
declare const separator: (props?: ({
|
|
5
5
|
size?: "small" | "half" | "full" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
type SeparatorProps = PropsWithChildren<VariantProps<typeof separator>> & ComponentProps<typeof SeparatorPrimitive.Root>;
|
|
8
8
|
/**
|
|
9
9
|
* @deprecated Use the new Separator from packages/raystack/v1 instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../separator/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../separator/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,SAAS;;8EAWb,CAAC;AAEH,KAAK,cAAc,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,GACrE,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAEjD;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,2CAQhB"}
|
package/dist/sheet/sheet.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
import { ComponentProps, ComponentPropsWithoutRef } from "react";
|
|
4
4
|
declare const sheetContent: (props?: ({
|
|
5
5
|
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetContent> {
|
|
8
8
|
}
|
|
9
9
|
export declare const SheetContent: import("react").ForwardRefExoticComponent<DialogContentProps & {
|
|
10
10
|
close?: boolean | undefined;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const overlay: (props?: import("class-variance-authority/
|
|
13
|
+
declare const overlay: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
14
14
|
/**
|
|
15
15
|
* @deprecated Use Sheet props from @raystack/apsara/v1 instead.
|
|
16
16
|
*/
|
|
@@ -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,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,wBAAwB,EAGzB,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,YAAY;;
|
|
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,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,wBAAwB,EAGzB,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,YAAY;;8EAahB,CAAC;AAEH,MAAM,WAAW,kBACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,eAAO,MAAM,YAAY;;eAE4B,MAAM,SAAS;kDAoBlE,CAAC;AAEH,QAAA,MAAM,OAAO,oFAAsB,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,YACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,OAAO,CAAC;CAAG;AAgBnC,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAErE;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAMlB;AAED,KAAK,UAAU,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAG9D;;GAEG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAE3D;AAGD;;GAEG;AACH,eAAO,MAAM,KAAK;;;;mBA5EmC,MAAM,SAAS;;;;;CAkFlE,CAAC"}
|
|
@@ -30,7 +30,7 @@ type SidebarNavigationsGroupProps = PropsWithChildren<VariantProps<typeof Flex>
|
|
|
30
30
|
declare const cell: (props?: ({
|
|
31
31
|
active?: boolean | null | undefined;
|
|
32
32
|
disabled?: boolean | null | undefined;
|
|
33
|
-
} & import("class-variance-authority/
|
|
33
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
34
34
|
type SidebarNavigationCellProps = PropsWithChildren<VariantProps<typeof cell>> & VariantProps<typeof Flex> & {
|
|
35
35
|
leadingIcon?: React.ReactNode;
|
|
36
36
|
trailingIcon?: React.ReactNode;
|
|
@@ -52,7 +52,7 @@ export declare const Sidebar: (({ children, ...props }: SidebarRootProps) => imp
|
|
|
52
52
|
NavigationCell: ({ leadingIcon, trailingIcon, active, disabled, children, asChild, ...props }: VariantProps<(props?: ({
|
|
53
53
|
active?: boolean | null | undefined;
|
|
54
54
|
disabled?: boolean | null | undefined;
|
|
55
|
-
} & import("class-variance-authority/
|
|
55
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
56
56
|
children?: ReactNode;
|
|
57
57
|
} & VariantProps<import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
58
58
|
direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const Sidebar: (({ children, ...props }: SidebarRootProps) => imp
|
|
|
60
60
|
justify?: "start" | "center" | "end" | "between" | null | undefined;
|
|
61
61
|
wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
|
|
62
62
|
gap?: "extra-small" | "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
63
|
-
} & import("class-variance-authority/
|
|
63
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
64
64
|
children?: ReactNode;
|
|
65
65
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>> & {
|
|
66
66
|
leadingIcon?: React.ReactNode;
|