beca-ui 2.0.19-beta.11 → 2.0.19-beta.13
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/beca-ui.js +77603 -65491
- package/dist/components/index.d.ts +0 -1
- package/dist/main.css +1 -1
- package/dist/models/Core/Result.d.ts +0 -1
- package/package.json +7 -2
- package/dist/components/BecaCard/BecaCard.d.ts +0 -2
- package/dist/components/BecaCard/BecaCard.types.d.ts +0 -24
- package/dist/components/BecaCard/index.d.ts +0 -2
- package/dist/theme/Colors.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beca-ui",
|
|
3
|
-
"version": "2.0.19-beta.
|
|
3
|
+
"version": "2.0.19-beta.13",
|
|
4
4
|
"description": "Becawork UI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -33,9 +33,11 @@
|
|
|
33
33
|
"antd-img-crop": "4.12.2",
|
|
34
34
|
"axios": "1.6.7",
|
|
35
35
|
"beca-icons": "0.0.6",
|
|
36
|
+
"crypto-js": "^4.2.0",
|
|
36
37
|
"dayjs": "1.11.13",
|
|
37
38
|
"dompurify": "3.0.5",
|
|
38
39
|
"i18next": "23.2.7",
|
|
40
|
+
"mime-types": "^2.1.35",
|
|
39
41
|
"prosemirror-commands": "1.5.0",
|
|
40
42
|
"prosemirror-dropcursor": "1.6.1",
|
|
41
43
|
"prosemirror-gapcursor": "1.3.1",
|
|
@@ -44,15 +46,18 @@
|
|
|
44
46
|
"prosemirror-schema-list": "1.2.2",
|
|
45
47
|
"prosemirror-tables": "1.3.7",
|
|
46
48
|
"react": "18.2.0",
|
|
49
|
+
"react-barcode": "^1.5.3",
|
|
47
50
|
"react-color": "2.19.3",
|
|
48
51
|
"react-custom-scroll": "7.0.0",
|
|
52
|
+
"react-device-detect": "^2.2.3",
|
|
49
53
|
"react-dom": "18.2.0",
|
|
50
54
|
"react-i18next": "13.0.1",
|
|
51
55
|
"react-infinite-scroll-component": "6.1.0",
|
|
52
56
|
"react-paginate": "8.2.0",
|
|
53
57
|
"react-resizable": "3.0.5",
|
|
54
58
|
"react-virtuoso": "4.6.2",
|
|
55
|
-
"tippy.js": "6.3.7"
|
|
59
|
+
"tippy.js": "6.3.7",
|
|
60
|
+
"xlsx": "^0.18.5"
|
|
56
61
|
},
|
|
57
62
|
"peerDependencies": {
|
|
58
63
|
"react": "18.2.0",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties } from "react";
|
|
2
|
-
import { HTMLProps } from "../CommonTypes";
|
|
3
|
-
export type StatusType = "success" | "warning" | "danger" | "info";
|
|
4
|
-
export interface BecaCardStatusType {
|
|
5
|
-
status: StatusType;
|
|
6
|
-
text: string;
|
|
7
|
-
shape?: "round" | "rectangle";
|
|
8
|
-
}
|
|
9
|
-
export interface CardInfoItemType {
|
|
10
|
-
label?: string;
|
|
11
|
-
value: any;
|
|
12
|
-
labelStyle?: CSSProperties;
|
|
13
|
-
valueStyle?: CSSProperties;
|
|
14
|
-
}
|
|
15
|
-
export interface BecaCardProps extends Omit<HTMLProps, "title"> {
|
|
16
|
-
title?: React.ReactNode;
|
|
17
|
-
titleIcon?: React.ReactNode;
|
|
18
|
-
status?: BecaCardStatusType;
|
|
19
|
-
headerExtra?: React.ReactNode[];
|
|
20
|
-
description?: string;
|
|
21
|
-
infoItems?: CardInfoItemType[];
|
|
22
|
-
type?: "card" | "list";
|
|
23
|
-
descriptionStyle?: CSSProperties;
|
|
24
|
-
}
|
package/dist/theme/Colors.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare enum AppColors {
|
|
2
|
-
primary = "var(--primary-color-5)",
|
|
3
|
-
success = "var(--success-color-4)",
|
|
4
|
-
warning = "var(--warning-color-4)",
|
|
5
|
-
danger = "var(--danger-color-5)",
|
|
6
|
-
default = "var(--primary-text-color)",
|
|
7
|
-
error = "var(--danger-color-5)",
|
|
8
|
-
processing = "#ffd100"
|
|
9
|
-
}
|