@raystack/apsara 0.18.3 → 0.18.5
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/checkbox/checkbox.d.ts +1 -1
- package/dist/checkbox/checkbox.d.ts.map +1 -1
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +16 -7
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sheet/sheet.d.ts.map +1 -1
- package/dist/switch/switch.d.ts +1 -1
- package/dist/switch/switch.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { ComponentPropsWithoutRef } from "react";
|
|
|
4
4
|
declare const checkbox: (props?: ({
|
|
5
5
|
size?: "small" | "medium" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
-
export interface CheckboxProps extends ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkbox
|
|
7
|
+
export interface CheckboxProps extends ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof checkbox>, CheckboxPrimitive.CheckboxProps {
|
|
8
8
|
}
|
|
9
9
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
declare const indicator: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
@@ -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;;mFAUZ,CAAC;AAEH,MAAM,WAAW,aACf,SAAQ,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,EAC7D,YAAY,CAAC,OAAO,QAAQ,CAAC;CAAG;
|
|
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;;mFAUZ,CAAC;AAEH,MAAM,WAAW,aACf,SAAQ,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,EAC7D,YAAY,CAAC,OAAO,QAAQ,CAAC,EAC7B,iBAAiB,CAAC,aAAa;CAAG;AAEtC,eAAO,MAAM,QAAQ,6GAgBnB,CAAC;AAEH,QAAA,MAAM,SAAS,yFAAwB,CAAC;AACxC,MAAM,WAAW,cACf,SAAQ,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,EAClE,YAAY,CAAC,OAAO,SAAS,CAAC;CAAG"}
|
|
@@ -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;AAIf,QAAA,MAAM,aAAa,yFAA4B,CAAC;AAEhD,MAAM,WAAW,kBACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,eAAO,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;AAIf,QAAA,MAAM,aAAa,yFAA4B,CAAC;AAEhD,MAAM,WAAW,kBACf,SAAQ,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,eAAO,MAAM,aAAa;;;;kDA+BzB,CAAC;AAEF,QAAA,MAAM,OAAO,yFAAsB,CAAC;AACpC,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;AACrE,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAMlB;AAED,eAAO,MAAM,MAAM;;;;;;;;;;CAMjB,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -6675,7 +6675,7 @@ var styles$t = {"dialogContent":"dialog-module_dialogContent__bljTL","overlay":"
|
|
|
6675
6675
|
|
|
6676
6676
|
const dialogContent = cva(styles$t.dialogContent);
|
|
6677
6677
|
const DialogContent = React.forwardRef(({ className, children, close, overlayStyle, overlayClassname, ...props }, forwardedRef) => {
|
|
6678
|
-
return (jsxRuntimeExports.
|
|
6678
|
+
return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$602eac185826482c, { children: jsxRuntimeExports.jsx(Overlay$1, { className: overlayClassname, style: overlayStyle, children: jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: dialogContent({ className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton$1, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] }) }) }));
|
|
6679
6679
|
});
|
|
6680
6680
|
const overlay$1 = cva(styles$t.overlay);
|
|
6681
6681
|
const Overlay$1 = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay$1({ className }), ...props })));
|
|
@@ -21283,7 +21283,7 @@ const sheetContent = cva(styles$b.sheetContent, {
|
|
|
21283
21283
|
},
|
|
21284
21284
|
});
|
|
21285
21285
|
const SheetContent = React.forwardRef(({ className, children, close, side, ...props }, forwardedRef) => {
|
|
21286
|
-
return (jsxRuntimeExports.
|
|
21286
|
+
return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$602eac185826482c, { children: jsxRuntimeExports.jsx(Overlay, { children: jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] }) }) }));
|
|
21287
21287
|
});
|
|
21288
21288
|
const overlay = cva(styles$b.overlay);
|
|
21289
21289
|
const Overlay = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay({ className }), ...props })));
|