beca-ui 2.1.3 → 3.0.0-beta.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/beca-ui.js +99711 -87982
- package/dist/components/Button/Button.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts +6 -1
- package/dist/components/ConfigProvider/ConfigProvider.types.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +4 -1
- package/dist/components/Dropdown/Dropdown.types.d.ts +3 -1
- package/dist/components/Dropdown/index.d.ts +2 -2
- package/dist/components/Empty/Empty.d.ts +8 -1
- package/dist/components/Empty/Empty.types.d.ts +3 -0
- package/dist/components/Empty/EmptyIllustrationDark.d.ts +8 -0
- package/dist/components/Empty/index.d.ts +1 -0
- package/dist/components/Form/Form.d.ts +1 -1
- package/dist/components/Icons/Icons.d.ts +118 -3
- package/dist/components/Image/Image.types.d.ts +2 -2
- package/dist/components/MainLayout/Header/Header.types.d.ts +24 -1
- package/dist/components/MainLayout/MainLayout.types.d.ts +1 -1
- package/dist/components/MainLayout/SideBarMenu/SideBarFooterToolbar.d.ts +29 -0
- package/dist/components/MainLayout/SideBarMenu/SideBarMenu.d.ts +2 -2
- package/dist/components/MainLayout/SideBarMenu/SideBarMenu.types.d.ts +24 -1
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Progress/Progress.d.ts +6 -1
- package/dist/components/Select/Select.types.d.ts +5 -7
- package/dist/components/Space/Space.d.ts +9 -1
- package/dist/components/Steps/Steps.d.ts +5 -1
- package/dist/components/Steps/Steps.types.d.ts +1 -2
- package/dist/components/Table/Table.d.ts +13 -1
- package/dist/components/TextEditor/extensions/table.d.ts +1 -1
- package/dist/components/Timeline/Timeline.d.ts +3 -1
- package/dist/components/Timeline/Timeline.types.d.ts +2 -4
- package/dist/components/Upload/Upload.d.ts +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/main.css +1 -1
- package/dist/theme/styles.d.ts +26 -10
- package/package.json +46 -35
package/dist/theme/styles.d.ts
CHANGED
|
@@ -42,6 +42,8 @@ export declare const FORM_CONTROL_TOKEN: {
|
|
|
42
42
|
controlOutline?: string | undefined;
|
|
43
43
|
colorWarningOutline?: string | undefined;
|
|
44
44
|
colorErrorOutline?: string | undefined;
|
|
45
|
+
colorErrorAffix?: string | undefined;
|
|
46
|
+
colorWarningAffix?: string | undefined;
|
|
45
47
|
fontSizeIcon?: number | undefined;
|
|
46
48
|
fontWeightStrong?: number | undefined;
|
|
47
49
|
controlOutlineWidth?: number | undefined;
|
|
@@ -98,6 +100,9 @@ export declare const FORM_CONTROL_TOKEN: {
|
|
|
98
100
|
screenXLMax?: number | undefined;
|
|
99
101
|
screenXXL?: number | undefined;
|
|
100
102
|
screenXXLMin?: number | undefined;
|
|
103
|
+
screenXXLMax?: number | undefined;
|
|
104
|
+
screenXXXL?: number | undefined;
|
|
105
|
+
screenXXXLMin?: number | undefined;
|
|
101
106
|
controlTmpOutline?: string | undefined;
|
|
102
107
|
colorPrimary: string;
|
|
103
108
|
colorSuccess: string;
|
|
@@ -131,6 +136,7 @@ export declare const FORM_CONTROL_TOKEN: {
|
|
|
131
136
|
motionEaseOutQuint?: string | undefined;
|
|
132
137
|
motionEaseOut?: string | undefined;
|
|
133
138
|
wireframe?: boolean | undefined;
|
|
139
|
+
focusOutline?: boolean | undefined;
|
|
134
140
|
motion?: boolean | undefined;
|
|
135
141
|
blue?: string | undefined;
|
|
136
142
|
purple?: string | undefined;
|
|
@@ -413,6 +419,7 @@ export declare const FORM_CONTROL_TOKEN: {
|
|
|
413
419
|
colorTextQuaternary?: string | undefined;
|
|
414
420
|
colorBorder?: string | undefined;
|
|
415
421
|
colorBorderSecondary?: string | undefined;
|
|
422
|
+
colorBorderDisabled?: string | undefined;
|
|
416
423
|
colorFill?: string | undefined;
|
|
417
424
|
colorFillSecondary?: string | undefined;
|
|
418
425
|
colorFillTertiary?: string | undefined;
|
|
@@ -494,11 +501,11 @@ export declare const FORM_CONTROL_TOKEN: {
|
|
|
494
501
|
fontSizeSM?: number | undefined;
|
|
495
502
|
fontSizeLG?: number | undefined;
|
|
496
503
|
fontSizeXL?: number | undefined;
|
|
497
|
-
fontSizeHeading1?: number | undefined;
|
|
498
|
-
fontSizeHeading2?: number | undefined;
|
|
499
|
-
fontSizeHeading3?: number | undefined;
|
|
500
|
-
fontSizeHeading4?: number | undefined;
|
|
501
|
-
fontSizeHeading5?: number | undefined;
|
|
504
|
+
fontSizeHeading1?: string | number | undefined;
|
|
505
|
+
fontSizeHeading2?: string | number | undefined;
|
|
506
|
+
fontSizeHeading3?: string | number | undefined;
|
|
507
|
+
fontSizeHeading4?: string | number | undefined;
|
|
508
|
+
fontSizeHeading5?: string | number | undefined;
|
|
502
509
|
lineHeight?: number | undefined;
|
|
503
510
|
lineHeightLG?: number | undefined;
|
|
504
511
|
lineHeightSM?: number | undefined;
|
|
@@ -549,6 +556,8 @@ export declare const FORM_COLTROL_TOKEN: {
|
|
|
549
556
|
controlOutline?: string | undefined;
|
|
550
557
|
colorWarningOutline?: string | undefined;
|
|
551
558
|
colorErrorOutline?: string | undefined;
|
|
559
|
+
colorErrorAffix?: string | undefined;
|
|
560
|
+
colorWarningAffix?: string | undefined;
|
|
552
561
|
fontSizeIcon?: number | undefined;
|
|
553
562
|
fontWeightStrong?: number | undefined;
|
|
554
563
|
controlOutlineWidth?: number | undefined;
|
|
@@ -605,6 +614,9 @@ export declare const FORM_COLTROL_TOKEN: {
|
|
|
605
614
|
screenXLMax?: number | undefined;
|
|
606
615
|
screenXXL?: number | undefined;
|
|
607
616
|
screenXXLMin?: number | undefined;
|
|
617
|
+
screenXXLMax?: number | undefined;
|
|
618
|
+
screenXXXL?: number | undefined;
|
|
619
|
+
screenXXXLMin?: number | undefined;
|
|
608
620
|
controlTmpOutline?: string | undefined;
|
|
609
621
|
colorPrimary: string;
|
|
610
622
|
colorSuccess: string;
|
|
@@ -638,6 +650,7 @@ export declare const FORM_COLTROL_TOKEN: {
|
|
|
638
650
|
motionEaseOutQuint?: string | undefined;
|
|
639
651
|
motionEaseOut?: string | undefined;
|
|
640
652
|
wireframe?: boolean | undefined;
|
|
653
|
+
focusOutline?: boolean | undefined;
|
|
641
654
|
motion?: boolean | undefined;
|
|
642
655
|
blue?: string | undefined;
|
|
643
656
|
purple?: string | undefined;
|
|
@@ -920,6 +933,7 @@ export declare const FORM_COLTROL_TOKEN: {
|
|
|
920
933
|
colorTextQuaternary?: string | undefined;
|
|
921
934
|
colorBorder?: string | undefined;
|
|
922
935
|
colorBorderSecondary?: string | undefined;
|
|
936
|
+
colorBorderDisabled?: string | undefined;
|
|
923
937
|
colorFill?: string | undefined;
|
|
924
938
|
colorFillSecondary?: string | undefined;
|
|
925
939
|
colorFillTertiary?: string | undefined;
|
|
@@ -1001,11 +1015,11 @@ export declare const FORM_COLTROL_TOKEN: {
|
|
|
1001
1015
|
fontSizeSM?: number | undefined;
|
|
1002
1016
|
fontSizeLG?: number | undefined;
|
|
1003
1017
|
fontSizeXL?: number | undefined;
|
|
1004
|
-
fontSizeHeading1?: number | undefined;
|
|
1005
|
-
fontSizeHeading2?: number | undefined;
|
|
1006
|
-
fontSizeHeading3?: number | undefined;
|
|
1007
|
-
fontSizeHeading4?: number | undefined;
|
|
1008
|
-
fontSizeHeading5?: number | undefined;
|
|
1018
|
+
fontSizeHeading1?: string | number | undefined;
|
|
1019
|
+
fontSizeHeading2?: string | number | undefined;
|
|
1020
|
+
fontSizeHeading3?: string | number | undefined;
|
|
1021
|
+
fontSizeHeading4?: string | number | undefined;
|
|
1022
|
+
fontSizeHeading5?: string | number | undefined;
|
|
1009
1023
|
lineHeight?: number | undefined;
|
|
1010
1024
|
lineHeightLG?: number | undefined;
|
|
1011
1025
|
lineHeightSM?: number | undefined;
|
|
@@ -1019,6 +1033,8 @@ export declare const FORM_COLTROL_TOKEN: {
|
|
|
1019
1033
|
motionDurationSlow?: string | undefined;
|
|
1020
1034
|
};
|
|
1021
1035
|
export declare const themeConfig: ThemeConfig;
|
|
1036
|
+
export declare const darkThemeConfig: ThemeConfig;
|
|
1037
|
+
export declare const getThemeConfig: (isDarkMode?: boolean) => ThemeConfig;
|
|
1022
1038
|
export declare const officeThemeConfig: ThemeConfig;
|
|
1023
1039
|
export declare enum AppColors {
|
|
1024
1040
|
transparent = "transparent",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beca-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.2",
|
|
4
4
|
"description": "Becawork UI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"dev": "REACT_EDITOR=code storybook dev -p 6006",
|
|
18
18
|
"build": "tsc --p ./tsconfig-build.json && vite build",
|
|
19
19
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
20
|
+
"test": "vitest run",
|
|
20
21
|
"preview": "vite preview",
|
|
21
22
|
"storybook": "storybook dev -p 6006",
|
|
22
23
|
"build-storybook": "storybook build",
|
|
@@ -25,16 +26,17 @@
|
|
|
25
26
|
"release": "yarn chromatic",
|
|
26
27
|
"publish-main": "sh ./publish.sh",
|
|
27
28
|
"pb": "sh ./publish-beta.sh",
|
|
29
|
+
"yalc:publish": "yarn build && yalc publish",
|
|
30
|
+
"yalc:push": "yarn build && yalc push",
|
|
28
31
|
"upgrade-tiptap": "yarn add @tiptap/extension-blockquote @tiptap/extension-bubble-menu @tiptap/extension-color @tiptap/extension-document @tiptap/extension-focus @tiptap/extension-font-family @tiptap/extension-highlight @tiptap/extension-image @tiptap/extension-link @tiptap/extension-mention @tiptap/extension-paragraph @tiptap/extension-placeholder @tiptap/extension-table @tiptap/extension-table-cell @tiptap/extension-table-header @tiptap/extension-table-row @tiptap/extension-text @tiptap/extension-text-align @tiptap/extension-text-style @tiptap/extension-underline @tiptap/pm @tiptap/react @tiptap/starter-kit @tiptap/suggestion"
|
|
29
32
|
},
|
|
30
33
|
"dependencies": {
|
|
31
34
|
"@floating-ui/react": "^0.27.17",
|
|
32
35
|
"@microsoft/signalr": "7.0.3",
|
|
33
|
-
"antd": "
|
|
36
|
+
"antd": "6.6.1",
|
|
34
37
|
"antd-img-crop": "4.12.2",
|
|
35
38
|
"array-move": "^4.0.0",
|
|
36
39
|
"axios": "1.6.7",
|
|
37
|
-
"beca-icons": "0.0.22",
|
|
38
40
|
"classnames": "^2.5.1",
|
|
39
41
|
"crypto-js": "4.2.0",
|
|
40
42
|
"dayjs": "1.11.13",
|
|
@@ -74,42 +76,44 @@
|
|
|
74
76
|
"@faker-js/faker": "8.4.1",
|
|
75
77
|
"@neoconfetti/react": "1.0.0",
|
|
76
78
|
"@rollup/plugin-alias": "5.1.1",
|
|
79
|
+
"@storybook/addon-a11y": "10.5.8",
|
|
77
80
|
"@storybook/addon-docs": "10.5.8",
|
|
78
81
|
"@storybook/addon-links": "10.5.8",
|
|
79
82
|
"@storybook/addon-onboarding": "10.5.8",
|
|
80
83
|
"@storybook/addon-vitest": "10.5.8",
|
|
81
84
|
"@storybook/react-vite": "10.5.8",
|
|
82
|
-
"@
|
|
83
|
-
"@tiptap/extension-
|
|
84
|
-
"@tiptap/extension-
|
|
85
|
-
"@tiptap/extension-
|
|
86
|
-
"@tiptap/extension-
|
|
87
|
-
"@tiptap/extension-
|
|
88
|
-
"@tiptap/extension-
|
|
89
|
-
"@tiptap/extension-
|
|
90
|
-
"@tiptap/extension-
|
|
91
|
-
"@tiptap/extension-
|
|
92
|
-
"@tiptap/extension-
|
|
93
|
-
"@tiptap/extension-
|
|
94
|
-
"@tiptap/extension-
|
|
95
|
-
"@tiptap/extension-
|
|
96
|
-
"@tiptap/extension-
|
|
97
|
-
"@tiptap/extension-
|
|
98
|
-
"@tiptap/extension-
|
|
99
|
-
"@tiptap/extension-
|
|
100
|
-
"@tiptap/extension-
|
|
101
|
-
"@tiptap/extension-
|
|
102
|
-
"@tiptap/extension-
|
|
103
|
-
"@tiptap/extension-
|
|
104
|
-
"@tiptap/extension-
|
|
105
|
-
"@tiptap/extension-text
|
|
106
|
-
"@tiptap/extension-text-
|
|
107
|
-
"@tiptap/extension-
|
|
108
|
-
"@tiptap/
|
|
109
|
-
"@tiptap/
|
|
110
|
-
"@tiptap/
|
|
111
|
-
"@tiptap/
|
|
112
|
-
"@tiptap/
|
|
85
|
+
"@storybook/test": "^8.6.15",
|
|
86
|
+
"@tiptap/extension-blockquote": "3.30.3",
|
|
87
|
+
"@tiptap/extension-bold": "3.30.3",
|
|
88
|
+
"@tiptap/extension-bubble-menu": "3.30.3",
|
|
89
|
+
"@tiptap/extension-bullet-list": "3.30.3",
|
|
90
|
+
"@tiptap/extension-color": "3.30.3",
|
|
91
|
+
"@tiptap/extension-document": "3.30.3",
|
|
92
|
+
"@tiptap/extension-focus": "3.30.3",
|
|
93
|
+
"@tiptap/extension-font-family": "3.30.3",
|
|
94
|
+
"@tiptap/extension-hard-break": "3.30.3",
|
|
95
|
+
"@tiptap/extension-heading": "3.30.3",
|
|
96
|
+
"@tiptap/extension-highlight": "3.30.3",
|
|
97
|
+
"@tiptap/extension-history": "3.30.3",
|
|
98
|
+
"@tiptap/extension-image": "3.30.3",
|
|
99
|
+
"@tiptap/extension-italic": "3.30.3",
|
|
100
|
+
"@tiptap/extension-link": "3.30.3",
|
|
101
|
+
"@tiptap/extension-list-item": "3.30.3",
|
|
102
|
+
"@tiptap/extension-mention": "3.30.3",
|
|
103
|
+
"@tiptap/extension-ordered-list": "3.30.3",
|
|
104
|
+
"@tiptap/extension-paragraph": "3.30.3",
|
|
105
|
+
"@tiptap/extension-placeholder": "3.30.3",
|
|
106
|
+
"@tiptap/extension-strike": "3.30.3",
|
|
107
|
+
"@tiptap/extension-table": "3.30.3",
|
|
108
|
+
"@tiptap/extension-text": "3.30.3",
|
|
109
|
+
"@tiptap/extension-text-align": "3.30.3",
|
|
110
|
+
"@tiptap/extension-text-style": "3.30.3",
|
|
111
|
+
"@tiptap/extension-underline": "3.30.3",
|
|
112
|
+
"@tiptap/html": "3.30.3",
|
|
113
|
+
"@tiptap/pm": "3.30.3",
|
|
114
|
+
"@tiptap/react": "3.30.3",
|
|
115
|
+
"@tiptap/starter-kit": "3.30.3",
|
|
116
|
+
"@tiptap/suggestion": "3.30.3",
|
|
113
117
|
"@types/crypto-js": "4.2.2",
|
|
114
118
|
"@types/dompurify": "3.0.2",
|
|
115
119
|
"@types/lodash": "4.17.16",
|
|
@@ -147,10 +151,17 @@
|
|
|
147
151
|
"vite-plugin-dts": "3.6.4",
|
|
148
152
|
"vite-plugin-lib-inject-css": "1.3.0",
|
|
149
153
|
"vitest": "latest",
|
|
150
|
-
"xlsx": "0.18.5"
|
|
154
|
+
"xlsx": "0.18.5",
|
|
155
|
+
"yalc": "^1.0.0-pre.53"
|
|
151
156
|
},
|
|
152
157
|
"sideEffects": [
|
|
153
158
|
"**/*.css"
|
|
154
159
|
],
|
|
160
|
+
"resolutions": {
|
|
161
|
+
"aria-query": "^5.3.2"
|
|
162
|
+
},
|
|
163
|
+
"overrides": {
|
|
164
|
+
"aria-query": "^5.3.2"
|
|
165
|
+
},
|
|
155
166
|
"packageManager": "yarn@4.18.0"
|
|
156
167
|
}
|