@raystack/apsara 0.45.7 → 0.45.8
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/box/box.cjs +3 -0
- package/dist/box/box.cjs.map +1 -1
- package/dist/box/box.d.ts +3 -0
- package/dist/box/box.d.ts.map +1 -1
- package/dist/box/box.js +3 -0
- package/dist/box/box.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v1/components/icon-button/icon-button.cjs +8 -7
- package/dist/v1/components/icon-button/icon-button.cjs.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/icon-button/icon-button.js +8 -7
- package/dist/v1/components/icon-button/icon-button.js.map +1 -1
- package/dist/v1/style.css +1 -1
- package/package.json +1 -1
package/dist/box/box.cjs
CHANGED
|
@@ -5,6 +5,9 @@ var index = require('../node_modules/.pnpm/class-variance-authority@0.7.1/node_m
|
|
|
5
5
|
var box_module = require('./box.module.css.cjs');
|
|
6
6
|
|
|
7
7
|
const box = index.cva(box_module.default.box);
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use Box from '@raystack/apsara/v1' instead.
|
|
10
|
+
*/
|
|
8
11
|
function Box({ children, className, ...props }) {
|
|
9
12
|
return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: box({ className }), ...props, children: children }));
|
|
10
13
|
}
|
package/dist/box/box.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.cjs","sources":["../../box/box.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./box.module.css\";\n\nconst box = cva(styles.box);\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof box>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport function Box({ children, className, ...props }: BoxProps) {\n return (\n <div className={box({ className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,GAAG,GAAGA,SAAG,CAACC,kBAAM,CAAC,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"box.cjs","sources":["../../box/box.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./box.module.css\";\n\nconst box = cva(styles.box);\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof box>> &\n HTMLAttributes<HTMLDivElement>;\n\n/**\n * @deprecated Use Box from '@raystack/apsara/v1' instead.\n */\nexport function Box({ children, className, ...props }: BoxProps) {\n return (\n <div className={box({ className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;AAIA,MAAM,GAAG,GAAGA,SAAG,CAACC,kBAAM,CAAC,GAAG,CAAC,CAAC;AAK5B;;AAEG;AACG,SAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAY,EAAA;AAC7D,IAAA,QACEC,gCAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,GAAG,CAAC,EAAE,SAAS,EAAE,CAAC,KAAM,KAAK,EAAA,QAAA,EAC1C,QAAQ,EAAA,CACL,EACN;AACJ;;;;"}
|
package/dist/box/box.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
declare const box: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
4
4
|
type BoxProps = PropsWithChildren<VariantProps<typeof box>> & HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use Box from '@raystack/apsara/v1' instead.
|
|
7
|
+
*/
|
|
5
8
|
export declare function Box({ children, className, ...props }: BoxProps): import("react/jsx-runtime").JSX.Element;
|
|
6
9
|
export {};
|
|
7
10
|
//# sourceMappingURL=box.d.ts.map
|
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,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"}
|
|
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;;GAEG;AACH,wBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,2CAM9D"}
|
package/dist/box/box.js
CHANGED
|
@@ -3,6 +3,9 @@ import { cva } from '../node_modules/.pnpm/class-variance-authority@0.7.1/node_m
|
|
|
3
3
|
import styles from './box.module.css.js';
|
|
4
4
|
|
|
5
5
|
const box = cva(styles.box);
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use Box from '@raystack/apsara/v1' instead.
|
|
8
|
+
*/
|
|
6
9
|
function Box({ children, className, ...props }) {
|
|
7
10
|
return (jsxRuntimeExports.jsx("div", { className: box({ className }), ...props, children: children }));
|
|
8
11
|
}
|
package/dist/box/box.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.js","sources":["../../box/box.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./box.module.css\";\n\nconst box = cva(styles.box);\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof box>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport function Box({ children, className, ...props }: BoxProps) {\n return (\n <div className={box({ className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"box.js","sources":["../../box/box.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./box.module.css\";\n\nconst box = cva(styles.box);\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof box>> &\n HTMLAttributes<HTMLDivElement>;\n\n/**\n * @deprecated Use Box from '@raystack/apsara/v1' instead.\n */\nexport function Box({ children, className, ...props }: BoxProps) {\n return (\n <div className={box({ className })} {...props}>\n {children}\n </div>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAK5B;;AAEG;AACG,SAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAY,EAAA;AAC7D,IAAA,QACEA,qBAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,GAAG,CAAC,EAAE,SAAS,EAAE,CAAC,KAAM,KAAK,EAAA,QAAA,EAC1C,QAAQ,EAAA,CACL,EACN;AACJ;;;;"}
|