@aristobyte-ui/card 2.5.0 → 2.5.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.
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { type IconPropsType } from "@aristobyte-ui/utils";
3
+ export interface ICard {
4
+ title?: string;
5
+ description?: string;
6
+ label?: {
7
+ text: string;
8
+ backgroundColor?: string;
9
+ borderColor?: string;
10
+ color?: string;
11
+ };
12
+ icon?: {
13
+ component: (props: IconPropsType) => React.JSX.Element | React.ReactNode | React.ReactElement;
14
+ size?: number;
15
+ color?: string;
16
+ colors?: string[];
17
+ };
18
+ children?: React.ReactNode | React.ReactElement | string;
19
+ className?: string;
20
+ style?: React.CSSProperties;
21
+ }
22
+ export declare const Card: React.FC<ICard>;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/card/src/main/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,CAAC,EAAE;QACL,SAAS,EAAE,CACT,KAAK,EAAE,aAAa,KACjB,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,YAAY,CAAC;QAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwChC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./Card";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/card/src/main/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { type IconPropsType } from "@aristobyte-ui/utils";
3
+ export interface ICard {
4
+ title?: string;
5
+ description?: string;
6
+ label?: {
7
+ text: string;
8
+ backgroundColor?: string;
9
+ borderColor?: string;
10
+ color?: string;
11
+ };
12
+ icon?: {
13
+ component: (props: IconPropsType) => React.JSX.Element | React.ReactNode | React.ReactElement;
14
+ size?: number;
15
+ color?: string;
16
+ colors?: string[];
17
+ };
18
+ children?: React.ReactNode | React.ReactElement | string;
19
+ className?: string;
20
+ style?: React.CSSProperties;
21
+ }
22
+ export declare const Card: React.FC<ICard>;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/card/src/main/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,CAAC,EAAE;QACL,SAAS,EAAE,CACT,KAAK,EAAE,aAAa,KACjB,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,YAAY,CAAC;QAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwChC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./Card";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/card/src/main/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aristobyte-ui/card",
3
3
  "description": "AristoByteUI Card component: a versatile container for displaying content and UI elements.",
4
- "version": "2.5.0",
4
+ "version": "2.5.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "author": "AristoByte <info@aristobyte.com>",
@@ -42,13 +42,14 @@
42
42
  },
43
43
  "main": "lib/src/main/index.js",
44
44
  "module": "es/src/main/index.js",
45
+ "types": "es/src/main/index.d.ts",
45
46
  "peerDependencies": {
46
47
  "react": "^19.1.0",
47
48
  "react-dom": "^19.1.0",
48
49
  "sass": "^1.97.3"
49
50
  },
50
51
  "dependencies": {
51
- "@aristobyte-ui/label": "2.5.0",
52
- "@aristobyte-ui/utils": "2.5.0"
52
+ "@aristobyte-ui/label": "^2.5.1",
53
+ "@aristobyte-ui/utils": "^2.5.1"
53
54
  }
54
55
  }