@aloudata/aloudata-design 2.18.2 → 2.19.0-beta.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.
- package/dist/AldSelect/index.js +12 -6
- package/dist/AldSelect/style/color.less +25 -16
- package/dist/AldSelect/style/index.less +2 -2
- package/dist/Avatar/component/Avatar/index.js +8 -19
- package/dist/Avatar/component/Avatar/type.js +3 -3
- package/dist/Avatar/style/index.less +10 -3
- package/dist/Badge/index.js +1 -27
- package/dist/Badge/style/index.less +27 -1
- package/dist/Button/style/index.less +1 -0
- package/dist/Button/style/type.less +5 -5
- package/dist/Button/style/variables.less +70 -203
- package/dist/Checkbox/style/index.less +20 -37
- package/dist/Collapse/index.js +2 -2
- package/dist/Collapse/style/index.less +7 -7
- package/dist/ColorPicker/index.js +3 -3
- package/dist/ColorPicker/style/complex.less +8 -9
- package/dist/ColorPicker/style/index.less +7 -8
- package/dist/DataPreviewTable/components/Body/Cell.js +1 -1
- package/dist/DataPreviewTable/style/index.less +9 -9
- package/dist/DatePicker/style/index.less +3 -3
- package/dist/Divider/style/index.less +1 -1
- package/dist/DoubleCircleIcon/style/index.less +12 -12
- package/dist/Empty/style/index.less +3 -3
- package/dist/Form/style/index.less +4 -4
- package/dist/HighlightText/style/index.less +1 -1
- package/dist/Icon/components/CancelledCircleFill.d.ts +1 -2
- package/dist/Icon/components/CancelledCircleFill.js +1 -1
- package/dist/Icon/components/Ellipsis.d.ts +1 -2
- package/dist/Icon/components/Ellipsis.js +1 -1
- package/dist/Icon/components/LoadingDuotone.d.ts +1 -2
- package/dist/Icon/components/LoadingDuotone.js +1 -1
- package/dist/Icon/components/SortAscendingOrderColor.d.ts +1 -2
- package/dist/Icon/components/SortAscendingOrderColor.js +1 -1
- package/dist/Icon/components/SortColor.d.ts +1 -2
- package/dist/Icon/components/SortColor.js +1 -1
- package/dist/Icon/components/SortDescendingOrderColor.d.ts +1 -2
- package/dist/Icon/components/SortDescendingOrderColor.js +1 -1
- package/dist/Icon/svg/Cancelled-Circle-fill.svg +2 -1
- package/dist/Icon/svg/Loading-duotone.svg +3 -2
- package/dist/Icon/svg/Sort-Ascending-order-Color.svg +2 -1
- package/dist/Icon/svg/Sort-Color.svg +3 -2
- package/dist/Icon/svg/Sort-Descending-order-Color.svg +2 -1
- package/dist/Icon/svg/ellipsis.svg +2 -1
- package/dist/IconButton/style/index.less +17 -17
- package/dist/Input/components/Input/index.js +1 -1
- package/dist/Input/components/TextArea/index.js +1 -1
- package/dist/Input/style/index.less +1 -1
- package/dist/Input/style/size.less +11 -11
- package/dist/Input/style/status.less +21 -36
- package/dist/InputNumber/style/index.less +22 -25
- package/dist/InputSearch/index.js +4 -3
- package/dist/InputSearch/style/index.less +8 -8
- package/dist/List/style/index.less +11 -11
- package/dist/LogicTree/style/DisplayLogicItem.less +3 -3
- package/dist/LogicTree/style/LoginItem.less +13 -13
- package/dist/MemberPicker/style/index.less +28 -30
- package/dist/Menu/style/index.less +22 -21
- package/dist/Modal/index.js +12 -12
- package/dist/Modal/style/modal.less +17 -18
- package/dist/Modal/style/modalConfirm.less +11 -26
- package/dist/Modal/style/polyfill/index.less +3 -3
- package/dist/Pagination/style/index.less +3 -4
- package/dist/Popconfirm/index.js +2 -2
- package/dist/Popconfirm/style/index.less +6 -6
- package/dist/Popover/style/index.less +8 -8
- package/dist/Progress/style/index.less +2 -5
- package/dist/Radio/style/index.less +39 -49
- package/dist/RenameInput/style/index.less +3 -3
- package/dist/Result/index.js +8 -7
- package/dist/Result/style/index.less +4 -4
- package/dist/ScrollArea/style/index.less +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Select/style/emptyShowAll.less +1 -1
- package/dist/Select/style/index.less +5 -5
- package/dist/Select/style/layout.less +1 -1
- package/dist/Select/style/option.less +7 -10
- package/dist/Select/style/selectDropdown.less +4 -4
- package/dist/Select/style/status.less +21 -24
- package/dist/Select/style/variables.less +3 -3
- package/dist/Skeleton/style/index.less +15 -15
- package/dist/Slider/style/index.less +56 -3
- package/dist/Spin/style/customIcon.less +2 -2
- package/dist/StatusLight/index.js +9 -24
- package/dist/StatusLight/style/index.less +58 -6
- package/dist/Steps/components/Step/index.js +4 -4
- package/dist/Steps/style/index.less +26 -22
- package/dist/Switch/style/index.less +1 -1
- package/dist/Switch/style/status.less +3 -3
- package/dist/Table/components/Header.js +6 -3
- package/dist/Table/style/index.less +18 -18
- package/dist/Tabs/style/index.less +9 -9
- package/dist/Tag/index.js +81 -21
- package/dist/Tag/style/index.less +3 -2
- package/dist/TextLink/style/type.less +16 -16
- package/dist/Tooltip/style/index.less +5 -5
- package/dist/Tree/Tree.js +2 -2
- package/dist/Tree/demo/basic/index.js +1 -1
- package/dist/Tree/style/checkbox.less +17 -27
- package/dist/Tree/style/index.less +4 -4
- package/dist/Tree/style/mixin.less +3 -3
- package/dist/Tree/style/reset.less +1 -1
- package/dist/Tree/style/var.less +19 -19
- package/dist/Tree/utils/iconUtil.js +1 -1
- package/dist/User/style/index.less +3 -3
- package/dist/ald.min.css +5 -1
- package/dist/message/index.js +4 -4
- package/dist/message/style/index.less +11 -14
- package/dist/notification/index.js +5 -5
- package/dist/notification/style/index.less +6 -7
- package/dist/style/components/toastify.css +27 -27
- package/dist/style/index.less +2 -2
- package/dist/style/themes/default/default.less +1 -1
- package/dist/style/themes/default/index.less +1 -1
- package/dist/style/themes/default/scrollBar.less +8 -4
- package/dist/style/themes/default/themeColor.module.less +178 -183
- package/dist/style/var/default.css +1156 -256
- package/package.json +2 -3
- package/dist/Avatar/component/Avatar/avatar.d.ts +0 -3
- package/dist/Avatar/component/Avatar/avatar.js +0 -23
package/dist/message/index.js
CHANGED
|
@@ -10,19 +10,19 @@ import { Slide, toast } from 'react-toastify';
|
|
|
10
10
|
import { CheckCircleFill, CloseLLine, DangerFill, InformationCircleFill } from "../Icon";
|
|
11
11
|
var closeX = /*#__PURE__*/React.createElement(CloseLLine, {
|
|
12
12
|
size: 20,
|
|
13
|
-
color: "
|
|
13
|
+
color: "var(--alias-colors-icon-subtle)"
|
|
14
14
|
});
|
|
15
15
|
var iconMap = {
|
|
16
16
|
info: /*#__PURE__*/React.createElement(InformationCircleFill, {
|
|
17
|
-
color: "
|
|
17
|
+
color: "var(--content-inverted-primary)",
|
|
18
18
|
size: 20
|
|
19
19
|
}),
|
|
20
20
|
success: /*#__PURE__*/React.createElement(CheckCircleFill, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "var(--content-inverted-primary)",
|
|
22
22
|
size: 20
|
|
23
23
|
}),
|
|
24
24
|
error: /*#__PURE__*/React.createElement(DangerFill, {
|
|
25
|
-
color: "
|
|
25
|
+
color: "var(--content-inverted-primary)",
|
|
26
26
|
size: 20
|
|
27
27
|
})
|
|
28
28
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
padding: 0;
|
|
8
|
-
border-radius: var(--alias-radius-75
|
|
9
|
-
background: var(--alias-colors-bg-skeleton-subtler
|
|
8
|
+
border-radius: var(--alias-radius-75);
|
|
9
|
+
background: var(--alias-colors-bg-skeleton-subtler);
|
|
10
10
|
|
|
11
11
|
& > svg {
|
|
12
12
|
flex-shrink: 0;
|
|
@@ -35,17 +35,14 @@
|
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
padding: 12px;
|
|
38
|
-
color: var(--alias-colors-text-default
|
|
38
|
+
color: var(--alias-colors-text-default);
|
|
39
39
|
height: 52px;
|
|
40
40
|
gap: 12px;
|
|
41
|
-
border-top-right-radius: var(--alias-radius-75
|
|
42
|
-
border-bottom-right-radius: var(--alias-radius-75
|
|
43
|
-
border-top: var(--alias-stroke-md
|
|
44
|
-
|
|
45
|
-
border-
|
|
46
|
-
var(--alias-colors-border-strong, #d1d5db);
|
|
47
|
-
border-right: var(--alias-stroke-md, 1px) solid
|
|
48
|
-
var(--alias-colors-border-strong, #d1d5db);
|
|
41
|
+
border-top-right-radius: var(--alias-radius-75);
|
|
42
|
+
border-bottom-right-radius: var(--alias-radius-75);
|
|
43
|
+
border-top: var(--alias-stroke-md) solid var(--border-default-alpha);
|
|
44
|
+
border-bottom: var(--alias-stroke-md) solid var(--border-default-alpha);
|
|
45
|
+
border-right: var(--alias-stroke-md) solid var(--border-default-alpha);
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
48
|
}
|
|
@@ -53,7 +50,7 @@
|
|
|
53
50
|
&.ald-message-success {
|
|
54
51
|
.ald-message-content {
|
|
55
52
|
.ald-message-icon-wrap {
|
|
56
|
-
background: var(--alias-colors-bg-accent-green-strong
|
|
53
|
+
background: var(--alias-colors-bg-accent-green-strong);
|
|
57
54
|
}
|
|
58
55
|
}
|
|
59
56
|
}
|
|
@@ -61,7 +58,7 @@
|
|
|
61
58
|
&.ald-message-info {
|
|
62
59
|
.ald-message-content {
|
|
63
60
|
.ald-message-icon-wrap {
|
|
64
|
-
background: var(--alias-colors-bg-accent-blue-strong
|
|
61
|
+
background: var(--alias-colors-bg-accent-blue-strong);
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
}
|
|
@@ -69,7 +66,7 @@
|
|
|
69
66
|
&.ald-message-error {
|
|
70
67
|
.ald-message-content {
|
|
71
68
|
.ald-message-icon-wrap {
|
|
72
|
-
background: var(--alias-colors-bg-accent-red-strong
|
|
69
|
+
background: var(--alias-colors-bg-accent-red-strong);
|
|
73
70
|
}
|
|
74
71
|
}
|
|
75
72
|
}
|
|
@@ -17,7 +17,7 @@ import { Slide, toast } from 'react-toastify';
|
|
|
17
17
|
import { AttentionTriangleFill, CheckCircleFill, CloseLLine, DangerFill, InformationCircleFill } from "../Icon";
|
|
18
18
|
var closeX = /*#__PURE__*/React.createElement(CloseLLine, {
|
|
19
19
|
size: 20,
|
|
20
|
-
color: "
|
|
20
|
+
color: "var(--alias-colors-icon-subtle)"
|
|
21
21
|
});
|
|
22
22
|
var DEFAULT_DURATION_TIME = 4500;
|
|
23
23
|
var defaultOptions = {
|
|
@@ -39,25 +39,25 @@ var iconMap = {
|
|
|
39
39
|
info: /*#__PURE__*/React.createElement("div", {
|
|
40
40
|
className: "ald-notification-notice-icon"
|
|
41
41
|
}, /*#__PURE__*/React.createElement(InformationCircleFill, {
|
|
42
|
-
color: "var(--alias-colors-icon-information
|
|
42
|
+
color: "var(--alias-colors-icon-information)",
|
|
43
43
|
size: 24
|
|
44
44
|
})),
|
|
45
45
|
success: /*#__PURE__*/React.createElement("div", {
|
|
46
46
|
className: "ald-notification-notice-icon"
|
|
47
47
|
}, /*#__PURE__*/React.createElement(CheckCircleFill, {
|
|
48
|
-
color: "var(--alias-colors-icon-success
|
|
48
|
+
color: "var(--alias-colors-icon-success)",
|
|
49
49
|
size: 24
|
|
50
50
|
})),
|
|
51
51
|
error: /*#__PURE__*/React.createElement("div", {
|
|
52
52
|
className: "ald-notification-notice-icon"
|
|
53
53
|
}, /*#__PURE__*/React.createElement(DangerFill, {
|
|
54
|
-
color: "var(--alias-colors-icon-error
|
|
54
|
+
color: "var(--alias-colors-icon-error)",
|
|
55
55
|
size: 24
|
|
56
56
|
})),
|
|
57
57
|
warning: /*#__PURE__*/React.createElement("div", {
|
|
58
58
|
className: "ald-notification-notice-icon"
|
|
59
59
|
}, /*#__PURE__*/React.createElement(AttentionTriangleFill, {
|
|
60
|
-
color: "var(--alias-colors-icon-warning
|
|
60
|
+
color: "var(--alias-colors-icon-warning)",
|
|
61
61
|
size: 24
|
|
62
62
|
}))
|
|
63
63
|
};
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
.ald-notification {
|
|
5
5
|
width: 360px;
|
|
6
6
|
padding: 16px;
|
|
7
|
-
background: var(--alias-colors-bg-skeleton-subtler
|
|
8
|
-
border-radius: var(--alias-radius-75
|
|
9
|
-
border: 1px solid var(--
|
|
7
|
+
background: var(--alias-colors-bg-skeleton-subtler);
|
|
8
|
+
border-radius: var(--alias-radius-75);
|
|
9
|
+
border: 1px solid var(--border-default-alpha);
|
|
10
10
|
|
|
11
11
|
/* shadow/shadow-xl */
|
|
12
|
-
box-shadow:
|
|
13
|
-
0 8px 10px -6px rgba(0, 0, 0, 0.05);
|
|
12
|
+
box-shadow: var(--elevation-bottom-bottom-xl);
|
|
14
13
|
|
|
15
14
|
& > svg {
|
|
16
15
|
flex-shrink: 0;
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
gap: 4px;
|
|
35
34
|
|
|
36
35
|
.ald-notification-message {
|
|
37
|
-
color: var(--alias-colors-text-default
|
|
36
|
+
color: var(--alias-colors-text-default);
|
|
38
37
|
text-align: justify;
|
|
39
38
|
font-size: 18px;
|
|
40
39
|
font-style: normal;
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
.ald-notification-description {
|
|
46
|
-
color: var(--alias-colors-text-subtle
|
|
45
|
+
color: var(--alias-colors-text-subtle);
|
|
47
46
|
font-size: 14px;
|
|
48
47
|
font-style: normal;
|
|
49
48
|
font-weight: 400;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* stylelint-disable selector-class-pattern, keyframes-name-pattern */
|
|
2
2
|
:root {
|
|
3
|
-
--toastify-color-light:
|
|
4
|
-
--toastify-color-dark:
|
|
5
|
-
--toastify-color-info:
|
|
6
|
-
--toastify-color-success:
|
|
7
|
-
--toastify-color-warning:
|
|
8
|
-
--toastify-color-error:
|
|
9
|
-
--toastify-color-transparent:
|
|
3
|
+
--toastify-color-light: var(--background-default);
|
|
4
|
+
--toastify-color-dark: var(--background-inverted);
|
|
5
|
+
--toastify-color-info: var(--background-informative-strong);
|
|
6
|
+
--toastify-color-success: var(--background-positive-strong);
|
|
7
|
+
--toastify-color-warning: var(--background-warning-strong);
|
|
8
|
+
--toastify-color-error: var(--background-negative-strong);
|
|
9
|
+
--toastify-color-transparent: var(--global-white-alpha-800);
|
|
10
10
|
--toastify-icon-color-info: var(--toastify-color-info);
|
|
11
11
|
--toastify-icon-color-success: var(--toastify-color-success);
|
|
12
12
|
--toastify-icon-color-warning: var(--toastify-color-warning);
|
|
@@ -29,30 +29,30 @@
|
|
|
29
29
|
var(--toastify-toast-offset),
|
|
30
30
|
env(safe-area-inset-bottom)
|
|
31
31
|
);
|
|
32
|
-
--toastify-toast-background:
|
|
32
|
+
--toastify-toast-background: var(--background-default);
|
|
33
33
|
--toastify-toast-min-height: 48px;
|
|
34
34
|
--toastify-toast-max-height: 800px;
|
|
35
35
|
--toastify-toast-bd-radius: 6px;
|
|
36
36
|
--toastify-font-family: sans-serif;
|
|
37
37
|
--toastify-z-index: 9999;
|
|
38
|
-
--toastify-text-color-light:
|
|
39
|
-
--toastify-text-color-dark:
|
|
40
|
-
--toastify-text-color-info:
|
|
41
|
-
--toastify-text-color-success:
|
|
42
|
-
--toastify-text-color-warning:
|
|
43
|
-
--toastify-text-color-error:
|
|
44
|
-
--toastify-spinner-color:
|
|
45
|
-
--toastify-spinner-color-empty-area:
|
|
38
|
+
--toastify-text-color-light: var(--content-secondary);
|
|
39
|
+
--toastify-text-color-dark: var(--content-inverted-primary);
|
|
40
|
+
--toastify-text-color-info: var(--content-inverted-primary);
|
|
41
|
+
--toastify-text-color-success: var(--content-inverted-primary);
|
|
42
|
+
--toastify-text-color-warning: var(--content-inverted-primary);
|
|
43
|
+
--toastify-text-color-error: var(--content-inverted-primary);
|
|
44
|
+
--toastify-spinner-color: var(--alias-colors-icon-subtle);
|
|
45
|
+
--toastify-spinner-color-empty-area: var(--border-default);
|
|
46
46
|
--toastify-color-progress-light: linear-gradient(
|
|
47
47
|
to right,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
var(--data-visualisation-graphical-teal),
|
|
49
|
+
var(--data-visualisation-graphical-cyan),
|
|
50
|
+
var(--data-visualisation-graphical-blue),
|
|
51
|
+
var(--data-visualisation-graphical-violet),
|
|
52
|
+
var(--data-visualisation-graphical-pink),
|
|
53
|
+
var(--data-visualisation-graphical-orange)
|
|
54
54
|
);
|
|
55
|
-
--toastify-color-progress-dark:
|
|
55
|
+
--toastify-color-progress-dark: var(--data-visualisation-graphical-purple);
|
|
56
56
|
--toastify-color-progress-info: var(--toastify-color-info);
|
|
57
57
|
--toastify-color-progress-success: var(--toastify-color-success);
|
|
58
58
|
--toastify-color-progress-warning: var(--toastify-color-warning);
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
transform: translate3d(0, 0, var(--toastify-z-index));
|
|
66
66
|
position: fixed;
|
|
67
67
|
box-sizing: border-box;
|
|
68
|
-
color:
|
|
68
|
+
color: var(--content-inverted-primary);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.Toastify__toast-container--top-left {
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
margin-bottom: 1rem;
|
|
139
139
|
border-radius: var(--toastify-toast-bd-radius);
|
|
140
|
-
box-shadow: 0 4px 12px
|
|
140
|
+
box-shadow: 0 4px 12px var(--semantic-neutral-alpha-100);
|
|
141
141
|
display: flexbox;
|
|
142
142
|
display: flex;
|
|
143
143
|
-ms-flex-pack: justify;
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.Toastify__close-button {
|
|
326
|
-
color:
|
|
326
|
+
color: var(--content-inverted-primary);
|
|
327
327
|
background: transparent;
|
|
328
328
|
outline: none;
|
|
329
329
|
border: none;
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
.Toastify__close-button--light {
|
|
340
|
-
color:
|
|
340
|
+
color: var(--content-primary);
|
|
341
341
|
opacity: 0.3;
|
|
342
342
|
}
|
|
343
343
|
|
package/dist/style/index.less
CHANGED
|
@@ -16,7 +16,7 @@ body {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.ald-icon {
|
|
19
|
-
color:
|
|
19
|
+
color: var(--content-secondary);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.rc-virtual-list {
|
|
@@ -24,7 +24,7 @@ body {
|
|
|
24
24
|
width: 6px !important;
|
|
25
25
|
|
|
26
26
|
.rc-virtual-list-scrollbar-thumb {
|
|
27
|
-
background:
|
|
27
|
+
background: var(--background-neutral-strong) !important;
|
|
28
28
|
opacity: 0.2 !important;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
&::-webkit-scrollbar {
|
|
2
2
|
width: 12px !important;
|
|
3
3
|
height: 12px !important;
|
|
4
|
-
background: var(--
|
|
4
|
+
background: var(--background-default);
|
|
5
5
|
opacity: 0.5;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&::-webkit-scrollbar-thumb {
|
|
9
|
-
background-color:
|
|
10
|
-
|
|
9
|
+
background-color: color-mix(
|
|
10
|
+
in srgb,
|
|
11
|
+
var(--semantic-neutral-600) 50%,
|
|
12
|
+
var(--alias-colors-icon-transp)
|
|
13
|
+
);
|
|
14
|
+
border: 3px solid var(--alias-colors-icon-transp);
|
|
11
15
|
border-radius: 6px;
|
|
12
16
|
background-clip: padding-box;
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
&::-webkit-scrollbar-track {
|
|
16
|
-
background-color:
|
|
20
|
+
background-color: var(--alias-colors-icon-transp);
|
|
17
21
|
}
|