@aloudata/aloudata-design 1.9.16 → 1.10.0
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/Button/style/type.less +1 -1
- package/dist/Checkbox/style/index.less +35 -9
- package/dist/ConfigProvider/getUserList.d.ts +13 -1
- package/dist/ConfigProvider/getUserList.js +5 -0
- package/dist/Icon/components/AlertTriangleDuotone.d.ts +3 -2
- package/dist/Icon/components/AlertTriangleDuotone.js +3 -3
- package/dist/Icon/components/CancelCircleDuotone.d.ts +3 -2
- package/dist/Icon/components/CancelCircleDuotone.js +4 -4
- package/dist/Icon/components/CheckCircleDuotone.d.ts +3 -2
- package/dist/Icon/components/CheckCircleDuotone.js +4 -4
- package/dist/Icon/components/ChevronDownLine.d.ts +3 -2
- package/dist/Icon/components/ChevronDownLine.js +3 -3
- package/dist/Icon/components/ChevronLeftLine.d.ts +3 -2
- package/dist/Icon/components/ChevronLeftLine.js +3 -3
- package/dist/Icon/components/ChevronRightLine.d.ts +3 -2
- package/dist/Icon/components/ChevronRightLine.js +3 -3
- package/dist/Icon/components/CloseLLine.d.ts +3 -2
- package/dist/Icon/components/CloseLLine.js +4 -4
- package/dist/Icon/components/CloseMLine.d.ts +3 -2
- package/dist/Icon/components/CloseMLine.js +3 -3
- package/dist/Icon/components/DragLine.d.ts +11 -0
- package/dist/Icon/components/DragLine.js +35 -0
- package/dist/Icon/components/EyeOffLine.d.ts +3 -2
- package/dist/Icon/components/EyeOffLine.js +3 -3
- package/dist/Icon/components/EyeOnLine.d.ts +3 -2
- package/dist/Icon/components/EyeOnLine.js +3 -3
- package/dist/Icon/components/FoldDownFill.d.ts +3 -2
- package/dist/Icon/components/FoldDownFill.js +4 -4
- package/dist/Icon/components/FoldUpFill.d.ts +3 -2
- package/dist/Icon/components/FoldUpFill.js +4 -4
- package/dist/Icon/components/InfoCircleDuotone.d.ts +3 -2
- package/dist/Icon/components/InfoCircleDuotone.js +3 -3
- package/dist/Icon/components/InfoCircleLine.d.ts +3 -2
- package/dist/Icon/components/InfoCircleLine.js +3 -3
- package/dist/Icon/components/LoadingLine.d.ts +3 -2
- package/dist/Icon/components/LoadingLine.js +3 -3
- package/dist/Icon/components/MoreVerticalLine.d.ts +3 -2
- package/dist/Icon/components/MoreVerticalLine.js +3 -3
- package/dist/Icon/components/SearchLine.d.ts +3 -2
- package/dist/Icon/components/SearchLine.js +3 -3
- package/dist/Icon/index.d.ts +1 -0
- package/dist/Icon/index.js +1 -0
- package/dist/Icon/svg/drag-line.svg +5 -0
- package/dist/MemberPicker/components/MemberSelection.d.ts +1 -1
- package/dist/MemberPicker/components/MemberSelection.js +8 -3
- package/dist/MemberPicker/components/MultipleOption.d.ts +5 -2
- package/dist/MemberPicker/components/MultipleOption.js +20 -5
- package/dist/MemberPicker/components/NickLabel.d.ts +3 -3
- package/dist/MemberPicker/components/NickLabel.js +6 -6
- package/dist/MemberPicker/components/Panel.d.ts +7 -4
- package/dist/MemberPicker/components/Panel.js +70 -20
- package/dist/MemberPicker/components/PanelWrapper.d.ts +14 -0
- package/dist/MemberPicker/components/PanelWrapper.js +126 -0
- package/dist/MemberPicker/components/SelectedMemberTags.d.ts +3 -2
- package/dist/MemberPicker/components/SelectedMemberTags.js +8 -5
- package/dist/MemberPicker/components/SelectorFooter.js +1 -1
- package/dist/MemberPicker/components/SingleOption.d.ts +3 -2
- package/dist/MemberPicker/components/SingleOption.js +7 -4
- package/dist/MemberPicker/components/UserGroupSelection.d.ts +14 -0
- package/dist/MemberPicker/components/UserGroupSelection.js +130 -0
- package/dist/MemberPicker/index.d.ts +2 -0
- package/dist/MemberPicker/index.js +28 -17
- package/dist/MemberPicker/interface.d.ts +11 -5
- package/dist/MemberPicker/interface.js +6 -1
- package/dist/MemberPicker/style/index.less +18 -3
- package/dist/MemberPicker/utils/getUsersWithUserId.d.ts +4 -0
- package/dist/MemberPicker/utils/getUsersWithUserId.js +23 -2
- package/dist/MemberPicker/utils/index.d.ts +6 -0
- package/dist/MemberPicker/utils/index.js +16 -0
- package/dist/Modal/index.js +1 -1
- package/dist/Radio/style/index.less +1 -1
- package/dist/ScrollArea/index.d.ts +1 -0
- package/dist/ScrollArea/index.js +6 -3
- package/dist/Table/components/Cell.d.ts +7 -0
- package/dist/Table/components/Cell.js +20 -0
- package/dist/Table/components/Header.d.ts +6 -0
- package/dist/Table/components/Header.js +19 -0
- package/dist/{AldTable → Table}/helper.d.ts +9 -2
- package/dist/Table/helper.js +121 -0
- package/dist/Table/hooks/useScroll.d.ts +26 -0
- package/dist/Table/hooks/useScroll.js +57 -0
- package/dist/Table/index.d.ts +3 -1
- package/dist/Table/index.js +176 -1
- package/dist/Table/style/index.less +106 -203
- package/dist/{AldTable → Table}/types.d.ts +5 -4
- package/dist/Tree/DirectoryTree.d.ts +20 -0
- package/dist/Tree/DirectoryTree.js +175 -0
- package/dist/Tree/Tree.d.ts +136 -0
- package/dist/Tree/Tree.js +130 -0
- package/dist/Tree/demo/basic/index.js +3 -2
- package/dist/Tree/demo/drag/index.d.ts +3 -0
- package/dist/Tree/demo/drag/index.js +52 -0
- package/dist/Tree/index.d.ts +19 -13
- package/dist/Tree/index.js +7 -17
- package/dist/Tree/style/checkbox.less +226 -0
- package/dist/Tree/style/directory.less +68 -0
- package/dist/Tree/style/index.less +68 -29
- package/dist/Tree/style/mixin.less +333 -0
- package/dist/Tree/style/reset.less +11 -0
- package/dist/Tree/style/rtl.less +68 -0
- package/dist/Tree/style/var.less +42 -0
- package/dist/Tree/utils/dictUtil.d.ts +9 -0
- package/dist/Tree/utils/dictUtil.js +74 -0
- package/dist/Tree/utils/dropIndicator.d.ts +9 -0
- package/dist/Tree/utils/dropIndicator.js +35 -0
- package/dist/Tree/utils/iconUtil.d.ts +5 -0
- package/dist/Tree/utils/iconUtil.js +63 -0
- package/dist/_utils/motion.d.ts +8 -0
- package/dist/_utils/motion.js +52 -0
- package/dist/_utils/reactNode.d.ts +8 -0
- package/dist/_utils/reactNode.js +15 -0
- package/dist/_utils/type.d.ts +9 -0
- package/dist/_utils/type.js +20 -0
- package/dist/index.d.ts +11 -13
- package/dist/index.js +6 -7
- package/dist/style/color/bezierEasing.less +110 -0
- package/dist/style/color/colorPalette.less +84 -0
- package/dist/style/color/colors.less +162 -0
- package/dist/style/color/tinyColor.less +1184 -0
- package/dist/style/core/index.less +2 -0
- package/dist/style/core/motion/fade.less +34 -0
- package/dist/style/core/motion/move.less +129 -0
- package/dist/style/core/motion/other.less +48 -0
- package/dist/style/core/motion/slide.less +131 -0
- package/dist/style/core/motion/zoom.less +179 -0
- package/dist/style/core/motion.less +22 -0
- package/dist/style/index.less +2 -0
- package/dist/style/mixins/index.less +1 -0
- package/dist/style/mixins/motion.less +33 -0
- package/dist/style/themes/default/default.less +24 -0
- package/dist/style/themes/default/index.less +1 -0
- package/package.json +2 -2
- package/dist/AldTable/helper.js +0 -109
- package/dist/AldTable/index.d.ts +0 -4
- package/dist/AldTable/index.js +0 -146
- package/dist/AldTable/style/index.d.ts +0 -2
- package/dist/AldTable/style/index.js +0 -2
- package/dist/AldTable/style/index.less +0 -135
- package/dist/Table/Table.d.ts +0 -6
- package/dist/Table/Table.js +0 -360
- package/dist/Table/components/Empty/index.d.ts +0 -3
- package/dist/Table/components/Empty/index.js +0 -14
- package/dist/Table/components/Loading/index.d.ts +0 -3
- package/dist/Table/components/Loading/index.js +0 -12
- package/dist/Table/components/TableBodyRowList/index.d.ts +0 -13
- package/dist/Table/components/TableBodyRowList/index.js +0 -75
- package/dist/Table/components/TableHead/index.d.ts +0 -23
- package/dist/Table/components/TableHead/index.js +0 -229
- package/dist/Table/constant.d.ts +0 -0
- package/dist/Table/constant.js +0 -0
- package/dist/Table/hooks/useFrame.d.ts +0 -7
- package/dist/Table/hooks/useFrame.js +0 -75
- package/dist/Table/interface.d.ts +0 -42
- package/dist/Table/interface.js +0 -1
- package/dist/Table/react-table-config.d.ts +0 -122
- package/dist/Table/style/variable.less +0 -4
- package/dist/Table/utils.d.ts +0 -15
- package/dist/Table/utils.js +0 -122
- /package/dist/{AldTable → Table}/types.js +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.fade-motion(@className, @keyframeName) {
|
|
2
|
+
@name: ~'@{ant-prefix}-@{className}';
|
|
3
|
+
.make-motion(@name, @keyframeName);
|
|
4
|
+
.@{name}-enter,
|
|
5
|
+
.@{name}-appear {
|
|
6
|
+
opacity: 0;
|
|
7
|
+
animation-timing-function: linear;
|
|
8
|
+
}
|
|
9
|
+
.@{name}-leave {
|
|
10
|
+
animation-timing-function: linear;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.fade-motion(fade, antFade);
|
|
15
|
+
|
|
16
|
+
@keyframes ald-fade-in {
|
|
17
|
+
0% {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
100% {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@keyframes ald-fade-out {
|
|
27
|
+
0% {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
100% {
|
|
32
|
+
opacity: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
.move-motion(@className, @keyframeName) {
|
|
2
|
+
@name: ~'@{ant-prefix}-@{className}';
|
|
3
|
+
.make-motion(@name, @keyframeName);
|
|
4
|
+
.@{name}-enter,
|
|
5
|
+
.@{name}-appear {
|
|
6
|
+
opacity: 0;
|
|
7
|
+
animation-timing-function: @ease-out-circ;
|
|
8
|
+
}
|
|
9
|
+
.@{name}-leave {
|
|
10
|
+
animation-timing-function: @ease-in-circ;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.move-motion(move-up, ald-move-up);
|
|
15
|
+
.move-motion(move-down, ald-move-down);
|
|
16
|
+
.move-motion(move-left, ald-move-left);
|
|
17
|
+
.move-motion(move-right, ald-move-right);
|
|
18
|
+
|
|
19
|
+
@keyframes ald-move-down-in {
|
|
20
|
+
0% {
|
|
21
|
+
transform: translateY(100%);
|
|
22
|
+
transform-origin: 0 0;
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
100% {
|
|
27
|
+
transform: translateY(0%);
|
|
28
|
+
transform-origin: 0 0;
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes ald-move-down-out {
|
|
34
|
+
0% {
|
|
35
|
+
transform: translateY(0%);
|
|
36
|
+
transform-origin: 0 0;
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
100% {
|
|
41
|
+
transform: translateY(100%);
|
|
42
|
+
transform-origin: 0 0;
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes ald-move-left-in {
|
|
48
|
+
0% {
|
|
49
|
+
transform: translateX(-100%);
|
|
50
|
+
transform-origin: 0 0;
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
100% {
|
|
55
|
+
transform: translateX(0%);
|
|
56
|
+
transform-origin: 0 0;
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes ald-move-left-out {
|
|
62
|
+
0% {
|
|
63
|
+
transform: translateX(0%);
|
|
64
|
+
transform-origin: 0 0;
|
|
65
|
+
opacity: 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
100% {
|
|
69
|
+
transform: translateX(-100%);
|
|
70
|
+
transform-origin: 0 0;
|
|
71
|
+
opacity: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes ald-move-right-in {
|
|
76
|
+
0% {
|
|
77
|
+
transform: translateX(100%);
|
|
78
|
+
transform-origin: 0 0;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
100% {
|
|
83
|
+
transform: translateX(0%);
|
|
84
|
+
transform-origin: 0 0;
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@keyframes ald-move-right-out {
|
|
90
|
+
0% {
|
|
91
|
+
transform: translateX(0%);
|
|
92
|
+
transform-origin: 0 0;
|
|
93
|
+
opacity: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
100% {
|
|
97
|
+
transform: translateX(100%);
|
|
98
|
+
transform-origin: 0 0;
|
|
99
|
+
opacity: 0;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@keyframes ald-move-up-in {
|
|
104
|
+
0% {
|
|
105
|
+
transform: translateY(-100%);
|
|
106
|
+
transform-origin: 0 0;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
100% {
|
|
111
|
+
transform: translateY(0%);
|
|
112
|
+
transform-origin: 0 0;
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@keyframes ald-move-up-out {
|
|
118
|
+
0% {
|
|
119
|
+
transform: translateY(0%);
|
|
120
|
+
transform-origin: 0 0;
|
|
121
|
+
opacity: 1;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
100% {
|
|
125
|
+
transform: translateY(-100%);
|
|
126
|
+
transform-origin: 0 0;
|
|
127
|
+
opacity: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@keyframes loading-circle {
|
|
2
|
+
100% {
|
|
3
|
+
transform: rotate(360deg);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@click-animating-true: ~"[@{ant-prefix}-click-animating='true']";
|
|
8
|
+
@click-animating-with-extra-node-true: ~"[@{ant-prefix}-click-animating-without-extra-node='true']";
|
|
9
|
+
|
|
10
|
+
@{click-animating-true},
|
|
11
|
+
@{click-animating-with-extra-node-true} {
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html {
|
|
16
|
+
--antd-wave-shadow-color: @primary-color;
|
|
17
|
+
--scroll-bar: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@click-animating-with-extra-node-true-after: ~'@{click-animating-with-extra-node-true}::after';
|
|
21
|
+
|
|
22
|
+
@{click-animating-with-extra-node-true-after},
|
|
23
|
+
.@{ant-prefix}-click-animating-node {
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset: 0;
|
|
26
|
+
display: block;
|
|
27
|
+
border-radius: inherit;
|
|
28
|
+
box-shadow: 0 0 0 0 @primary-color;
|
|
29
|
+
box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
|
|
30
|
+
opacity: 0.2;
|
|
31
|
+
animation: fade-effect 2s @ease-out-circ, wave-effect 0.4s @ease-out-circ;
|
|
32
|
+
animation-fill-mode: forwards;
|
|
33
|
+
content: '';
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@keyframes wave-effect {
|
|
38
|
+
100% {
|
|
39
|
+
box-shadow: 0 0 0 @primary-color;
|
|
40
|
+
box-shadow: 0 0 0 @wave-animation-width var(--antd-wave-shadow-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes fade-effect {
|
|
45
|
+
100% {
|
|
46
|
+
opacity: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
.slide-motion(@className, @keyframeName) {
|
|
2
|
+
@name: ~'@{ant-prefix}-@{className}';
|
|
3
|
+
.make-motion(@name, @keyframeName);
|
|
4
|
+
.@{name}-enter,
|
|
5
|
+
.@{name}-appear {
|
|
6
|
+
transform: scale(0);
|
|
7
|
+
transform-origin: 0% 0%;
|
|
8
|
+
opacity: 0;
|
|
9
|
+
animation-timing-function: @ease-out-quint;
|
|
10
|
+
}
|
|
11
|
+
.@{name}-leave {
|
|
12
|
+
animation-timing-function: @ease-in-quint;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.slide-motion(slide-up, antSlideUp);
|
|
17
|
+
.slide-motion(slide-down, antSlideDown);
|
|
18
|
+
.slide-motion(slide-left, antSlideLeft);
|
|
19
|
+
.slide-motion(slide-right, antSlideRight);
|
|
20
|
+
|
|
21
|
+
@keyframes ald-slide-up-in {
|
|
22
|
+
0% {
|
|
23
|
+
transform: scaleY(0.8);
|
|
24
|
+
transform-origin: 0% 0%;
|
|
25
|
+
opacity: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
transform: scaleY(1);
|
|
30
|
+
transform-origin: 0% 0%;
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@keyframes ald-slide-up-out {
|
|
36
|
+
0% {
|
|
37
|
+
transform: scaleY(1);
|
|
38
|
+
transform-origin: 0% 0%;
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
100% {
|
|
43
|
+
transform: scaleY(0.8);
|
|
44
|
+
transform-origin: 0% 0%;
|
|
45
|
+
opacity: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@keyframes ald-slide-down-in {
|
|
50
|
+
0% {
|
|
51
|
+
transform: scaleY(0.8);
|
|
52
|
+
transform-origin: 100% 100%;
|
|
53
|
+
opacity: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
transform: scaleY(1);
|
|
58
|
+
transform-origin: 100% 100%;
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@keyframes ald-slide-down-out {
|
|
64
|
+
0% {
|
|
65
|
+
transform: scaleY(1);
|
|
66
|
+
transform-origin: 100% 100%;
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
100% {
|
|
71
|
+
transform: scaleY(0.8);
|
|
72
|
+
transform-origin: 100% 100%;
|
|
73
|
+
opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@keyframes ald-slide-left-in {
|
|
78
|
+
0% {
|
|
79
|
+
transform: scaleX(0.8);
|
|
80
|
+
transform-origin: 0% 0%;
|
|
81
|
+
opacity: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
100% {
|
|
85
|
+
transform: scaleX(1);
|
|
86
|
+
transform-origin: 0% 0%;
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@keyframes ald-slide-left-out {
|
|
92
|
+
0% {
|
|
93
|
+
transform: scaleX(1);
|
|
94
|
+
transform-origin: 0% 0%;
|
|
95
|
+
opacity: 1;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
100% {
|
|
99
|
+
transform: scaleX(0.8);
|
|
100
|
+
transform-origin: 0% 0%;
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@keyframes ald-slide-right-in {
|
|
106
|
+
0% {
|
|
107
|
+
transform: scaleX(0.8);
|
|
108
|
+
transform-origin: 100% 0%;
|
|
109
|
+
opacity: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
100% {
|
|
113
|
+
transform: scaleX(1);
|
|
114
|
+
transform-origin: 100% 0%;
|
|
115
|
+
opacity: 1;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@keyframes ald-slide-right-out {
|
|
120
|
+
0% {
|
|
121
|
+
transform: scaleX(1);
|
|
122
|
+
transform-origin: 100% 0%;
|
|
123
|
+
opacity: 1;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
100% {
|
|
127
|
+
transform: scaleX(0.8);
|
|
128
|
+
transform-origin: 100% 0%;
|
|
129
|
+
opacity: 0;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
.zoom-motion(@className, @keyframeName, @duration: @animation-duration-base) {
|
|
2
|
+
@name: ~'@{ant-prefix}-@{className}';
|
|
3
|
+
.make-motion(@name, @keyframeName, @duration);
|
|
4
|
+
.@{name}-enter,
|
|
5
|
+
.@{name}-appear {
|
|
6
|
+
transform: scale(0); // need this by yiminghe
|
|
7
|
+
opacity: 0;
|
|
8
|
+
animation-timing-function: @ease-out-circ;
|
|
9
|
+
|
|
10
|
+
&-prepare {
|
|
11
|
+
transform: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.@{name}-leave {
|
|
15
|
+
animation-timing-function: @ease-in-out-circ;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// For Modal, Select choosen item
|
|
20
|
+
.zoom-motion(zoom, antZoom);
|
|
21
|
+
// For Popover, Popconfirm, Dropdown
|
|
22
|
+
.zoom-motion(zoom-big, antZoomBig);
|
|
23
|
+
// For Tooltip
|
|
24
|
+
.zoom-motion(zoom-big-fast, antZoomBig, @animation-duration-fast);
|
|
25
|
+
|
|
26
|
+
.zoom-motion(zoom-up, antZoomUp);
|
|
27
|
+
.zoom-motion(zoom-down, antZoomDown);
|
|
28
|
+
.zoom-motion(zoom-left, antZoomLeft);
|
|
29
|
+
.zoom-motion(zoom-right, antZoomRight);
|
|
30
|
+
|
|
31
|
+
@keyframes ald-zoom-in {
|
|
32
|
+
0% {
|
|
33
|
+
transform: scale(0.2);
|
|
34
|
+
opacity: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
100% {
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes ald-zoom-out {
|
|
44
|
+
0% {
|
|
45
|
+
transform: scale(1);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
100% {
|
|
49
|
+
transform: scale(0.2);
|
|
50
|
+
opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes ald-zoom-big-in {
|
|
55
|
+
0% {
|
|
56
|
+
transform: scale(0.8);
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
100% {
|
|
61
|
+
transform: scale(1);
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes ald-zoom-big-out {
|
|
67
|
+
0% {
|
|
68
|
+
transform: scale(1);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
100% {
|
|
72
|
+
transform: scale(0.8);
|
|
73
|
+
opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@keyframes ald-zoom-up-in {
|
|
78
|
+
0% {
|
|
79
|
+
transform: scale(0.8);
|
|
80
|
+
transform-origin: 50% 0%;
|
|
81
|
+
opacity: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
100% {
|
|
85
|
+
transform: scale(1);
|
|
86
|
+
transform-origin: 50% 0%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes ald-zoom-up-out {
|
|
91
|
+
0% {
|
|
92
|
+
transform: scale(1);
|
|
93
|
+
transform-origin: 50% 0%;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
100% {
|
|
97
|
+
transform: scale(0.8);
|
|
98
|
+
transform-origin: 50% 0%;
|
|
99
|
+
opacity: 0;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@keyframes ald-zoom-left-in {
|
|
104
|
+
0% {
|
|
105
|
+
transform: scale(0.8);
|
|
106
|
+
transform-origin: 0% 50%;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
100% {
|
|
111
|
+
transform: scale(1);
|
|
112
|
+
transform-origin: 0% 50%;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@keyframes ald-zoom-left-out {
|
|
117
|
+
0% {
|
|
118
|
+
transform: scale(1);
|
|
119
|
+
transform-origin: 0% 50%;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
100% {
|
|
123
|
+
transform: scale(0.8);
|
|
124
|
+
transform-origin: 0% 50%;
|
|
125
|
+
opacity: 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@keyframes ald-zoom-right-in {
|
|
130
|
+
0% {
|
|
131
|
+
transform: scale(0.8);
|
|
132
|
+
transform-origin: 100% 50%;
|
|
133
|
+
opacity: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
100% {
|
|
137
|
+
transform: scale(1);
|
|
138
|
+
transform-origin: 100% 50%;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@keyframes ald-zoom-right-out {
|
|
143
|
+
0% {
|
|
144
|
+
transform: scale(1);
|
|
145
|
+
transform-origin: 100% 50%;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
100% {
|
|
149
|
+
transform: scale(0.8);
|
|
150
|
+
transform-origin: 100% 50%;
|
|
151
|
+
opacity: 0;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@keyframes ald-zoom-down-in {
|
|
156
|
+
0% {
|
|
157
|
+
transform: scale(0.8);
|
|
158
|
+
transform-origin: 50% 100%;
|
|
159
|
+
opacity: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
100% {
|
|
163
|
+
transform: scale(1);
|
|
164
|
+
transform-origin: 50% 100%;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@keyframes ald-zoom-down-out {
|
|
169
|
+
0% {
|
|
170
|
+
transform: scale(1);
|
|
171
|
+
transform-origin: 50% 100%;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
100% {
|
|
175
|
+
transform: scale(0.8);
|
|
176
|
+
transform-origin: 50% 100%;
|
|
177
|
+
opacity: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @import '../mixins/motion'; This has moved to theme/xxx inside.
|
|
2
|
+
@import 'motion/fade';
|
|
3
|
+
@import 'motion/move';
|
|
4
|
+
@import 'motion/other';
|
|
5
|
+
@import 'motion/slide';
|
|
6
|
+
@import 'motion/zoom';
|
|
7
|
+
|
|
8
|
+
// For common/openAnimation
|
|
9
|
+
.ant-motion-collapse-legacy {
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
|
|
12
|
+
&-active {
|
|
13
|
+
transition: height @animation-duration-base @ease-in-out,
|
|
14
|
+
opacity @animation-duration-base @ease-in-out !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ant-motion-collapse {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
transition: height @animation-duration-base @ease-in-out,
|
|
21
|
+
opacity @animation-duration-base @ease-in-out !important;
|
|
22
|
+
}
|
package/dist/style/index.less
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@root-entry-name: default;
|
|
2
2
|
@import './mixins/index.less';
|
|
3
|
+
@import './core/index.less';
|
|
3
4
|
@import './themes/default/scrollBar.less';
|
|
4
5
|
@import './themes/default/index.less';
|
|
6
|
+
@ant-prefix: ant;
|
|
5
7
|
|
|
6
8
|
body {
|
|
7
9
|
font-family: Inter, 'PingFang SC', SimSun, -apple-system, BlinkMacSystemFont,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.motion-common(@duration: @animation-duration-base) {
|
|
2
|
+
animation-duration: @duration;
|
|
3
|
+
animation-fill-mode: both;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.motion-common-leave(@duration: @animation-duration-base) {
|
|
7
|
+
animation-duration: @duration;
|
|
8
|
+
animation-fill-mode: both;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.make-motion(@className, @keyframeName, @duration: @animation-duration-base) {
|
|
12
|
+
.@{className}-enter,
|
|
13
|
+
.@{className}-appear {
|
|
14
|
+
.motion-common(@duration);
|
|
15
|
+
|
|
16
|
+
animation-play-state: paused;
|
|
17
|
+
}
|
|
18
|
+
.@{className}-leave {
|
|
19
|
+
.motion-common-leave(@duration);
|
|
20
|
+
|
|
21
|
+
animation-play-state: paused;
|
|
22
|
+
}
|
|
23
|
+
.@{className}-enter.@{className}-enter-active,
|
|
24
|
+
.@{className}-appear.@{className}-appear-active {
|
|
25
|
+
animation-name: ~'@{keyframeName}-in';
|
|
26
|
+
animation-play-state: running;
|
|
27
|
+
}
|
|
28
|
+
.@{className}-leave.@{className}-leave-active {
|
|
29
|
+
animation-name: ~'@{keyframeName}-out';
|
|
30
|
+
animation-play-state: running;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@primary-color: @B40;
|
|
2
|
+
|
|
3
|
+
// Animation
|
|
4
|
+
@ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
5
|
+
@ease-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
|
|
6
|
+
@ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
7
|
+
@ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
8
|
+
@ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
9
|
+
@ease-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
10
|
+
@ease-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
|
|
11
|
+
@ease-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
|
|
12
|
+
@ease-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
13
|
+
@ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
14
|
+
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
15
|
+
@ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
16
|
+
@ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
17
|
+
@ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
18
|
+
|
|
19
|
+
// // Animation
|
|
20
|
+
@animation-duration-slow: 0.3s; // Modal
|
|
21
|
+
@animation-duration-base: 0.2s;
|
|
22
|
+
@animation-duration-fast: 0.1s; // Tooltip
|
|
23
|
+
|
|
24
|
+
@wave-animation-width: 6px;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import './themeColor.module.less';
|
|
2
|
+
@import './default.less';
|
|
2
3
|
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
3
4
|
@font-family:inter, -apple-system, PingFang SC, BlinkMacSystemFont,"Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
|
|
4
5
|
@ald-prefix: ant;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aloudata/aloudata-design",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@ant-design/cssinjs": "^1.9.1",
|
|
61
61
|
"@radix-ui/react-scroll-area": "^1.0.4",
|
|
62
|
+
"@tanstack/react-table": "^8.10.0",
|
|
62
63
|
"ahooks": "^3.7.8",
|
|
63
64
|
"antd": "5.4.3",
|
|
64
65
|
"compare-func": "^2.0.0",
|
|
@@ -83,7 +84,6 @@
|
|
|
83
84
|
"@testing-library/react": "^13.4.0",
|
|
84
85
|
"@types/jest": "^29.4.0",
|
|
85
86
|
"@types/lodash": "^4.14.191",
|
|
86
|
-
"@types/react-table": "^7.7.14",
|
|
87
87
|
"@umijs/lint": "^4.0.0",
|
|
88
88
|
"babel-jest": "^29.4.2",
|
|
89
89
|
"babel-plugin-import": "^1.13.5",
|