@aloudata/aloudata-design 2.18.4 → 2.19.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/AldSelect/BaseSelect.d.ts +1 -1
- package/dist/AldSelect/BaseSelect.js +2 -2
- package/dist/AldSelect/interface.d.ts +1 -2
- 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/ComplexColorPicker/ColorInput.js +0 -3
- 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/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 +27 -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/helper.d.ts +1 -1
- 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 +177 -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
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
.menuContainerStyle {
|
|
11
11
|
display: flex;
|
|
12
|
-
padding: var(--alias-padding-
|
|
12
|
+
padding: var(--alias-padding-50-minus-1) 0;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: flex-start;
|
|
15
15
|
align-self: stretch;
|
|
16
|
-
border-radius: var(--alias-radius-75
|
|
17
|
-
border: 1px solid var(--
|
|
18
|
-
background: var(--
|
|
19
|
-
box-shadow:
|
|
16
|
+
border-radius: var(--alias-radius-75);
|
|
17
|
+
border: 1px solid var(--global-cool-gray-alpha-100);
|
|
18
|
+
background: var(--interaction-background-modeless);
|
|
19
|
+
box-shadow: var(--elevation-bottom-bottom-lg);
|
|
20
20
|
min-width: @menu-width;
|
|
21
21
|
font-size: 14px;
|
|
22
22
|
z-index: 1001;
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
|
|
45
45
|
.szh-menu__item {
|
|
46
46
|
display: flex;
|
|
47
|
-
padding: var(--alias-padding-
|
|
48
|
-
var(--alias-padding-100
|
|
47
|
+
padding: var(--alias-padding-100-minus-1) var(--alias-padding-150)
|
|
48
|
+
var(--alias-padding-100) var(--alias-padding-150);
|
|
49
49
|
align-items: center;
|
|
50
|
-
gap: var(--alias-spacing-75
|
|
50
|
+
gap: var(--alias-spacing-75);
|
|
51
51
|
align-self: stretch;
|
|
52
|
-
background: var(--alias-colors-bg-transp
|
|
52
|
+
background: var(--alias-colors-bg-transp);
|
|
53
53
|
width: 100%;
|
|
54
54
|
line-height: 20px;
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.szh-menu__item--hover {
|
|
59
|
-
background: var(--alias-colors-bg-interaction-hover
|
|
59
|
+
background: var(--alias-colors-bg-interaction-hover);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.szh-menu__submenu {
|
|
@@ -64,12 +64,13 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.szh-menu__item--disabled {
|
|
67
|
-
color: var(--
|
|
67
|
+
color: var(--content-primary);
|
|
68
|
+
opacity: 0.4;
|
|
68
69
|
cursor: default;
|
|
69
70
|
|
|
70
71
|
.ald-menu-item-label-icon,
|
|
71
72
|
&.ald-menu-item-selected {
|
|
72
|
-
color: var(--
|
|
73
|
+
color: var(--content-primary);
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
|
|
@@ -87,18 +88,18 @@
|
|
|
87
88
|
left: 0;
|
|
88
89
|
right: 0;
|
|
89
90
|
height: 1px;
|
|
90
|
-
background: var(--alias-colors-border-subtle
|
|
91
|
+
background: var(--alias-colors-border-subtle);
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
.ald-menu-item-danger {
|
|
95
|
-
color:
|
|
96
|
+
color: var(--alias-colors-text-danger);
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
.ald-menu-item-label {
|
|
99
100
|
display: flex;
|
|
100
101
|
width: 100%;
|
|
101
|
-
gap: var(--alias-spacing-75
|
|
102
|
+
gap: var(--alias-spacing-75);
|
|
102
103
|
justify-content: space-between;
|
|
103
104
|
}
|
|
104
105
|
|
|
@@ -117,12 +118,12 @@
|
|
|
117
118
|
flex: 0 0 auto;
|
|
118
119
|
display: flex;
|
|
119
120
|
align-items: center;
|
|
120
|
-
color:
|
|
121
|
-
gap: var(--alias-spacing-75
|
|
121
|
+
color: var(--alias-colors-text-subtlest);
|
|
122
|
+
gap: var(--alias-spacing-75);
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
.ald-menu-item-selected {
|
|
125
|
-
color:
|
|
126
|
+
color: var(--alias-colors-text-selected);
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
.ald-menu-item-selected-icon {
|
|
@@ -135,9 +136,9 @@
|
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
.szh-menu__header {
|
|
138
|
-
padding: var(--alias-padding-100
|
|
139
|
-
var(--alias-padding-50
|
|
140
|
-
color: var(--alias-colors-text-subtlest
|
|
139
|
+
padding: var(--alias-padding-100) var(--alias-padding-150)
|
|
140
|
+
var(--alias-padding-50) var(--alias-padding-150);
|
|
141
|
+
color: var(--alias-colors-text-subtlest);
|
|
141
142
|
line-height: 16px;
|
|
142
143
|
font-size: 12px;
|
|
143
144
|
cursor: default;
|
package/dist/Modal/index.js
CHANGED
|
@@ -70,22 +70,22 @@ var ModalTitle = function ModalTitle(_ref, type) {
|
|
|
70
70
|
};
|
|
71
71
|
function getIcon(type) {
|
|
72
72
|
if (type === 'success') return /*#__PURE__*/React.createElement(CheckCircleLightLine, {
|
|
73
|
-
fill: "
|
|
74
|
-
color: "
|
|
73
|
+
fill: "var(--content-inverted-primary)",
|
|
74
|
+
color: "var(--background-positive-strong)",
|
|
75
75
|
size: 24
|
|
76
76
|
});
|
|
77
77
|
if (type === 'error') return /*#__PURE__*/React.createElement(AttentionTriangleLightLine, {
|
|
78
|
-
color: "
|
|
79
|
-
fill: '
|
|
78
|
+
color: "var(--background-negative-strong)",
|
|
79
|
+
fill: 'var(--content-inverted-primary)',
|
|
80
80
|
size: 24
|
|
81
81
|
});
|
|
82
82
|
if (type === 'warning') return /*#__PURE__*/React.createElement(AttentionTriangleLightLine, {
|
|
83
|
-
color: "
|
|
83
|
+
color: "var(--background-warning-strong)",
|
|
84
84
|
size: 24
|
|
85
85
|
});
|
|
86
86
|
return /*#__PURE__*/React.createElement(InformationCircleLightLine, {
|
|
87
87
|
size: 24,
|
|
88
|
-
color: '
|
|
88
|
+
color: 'var(--interaction-default-normal)',
|
|
89
89
|
className: "ald-modal-close"
|
|
90
90
|
});
|
|
91
91
|
}
|
|
@@ -201,7 +201,7 @@ Modal.info = function infoFn(props) {
|
|
|
201
201
|
title: ModalTitle({
|
|
202
202
|
icon: /*#__PURE__*/React.createElement(InformationCircleLightLine, {
|
|
203
203
|
size: 24,
|
|
204
|
-
color: '
|
|
204
|
+
color: 'var(--interaction-default-normal)'
|
|
205
205
|
}),
|
|
206
206
|
title: title,
|
|
207
207
|
subTitle: subTitle
|
|
@@ -230,8 +230,8 @@ Modal.success = function successFn(props) {
|
|
|
230
230
|
className: classNames('ald-modal', className),
|
|
231
231
|
title: ModalTitle({
|
|
232
232
|
icon: /*#__PURE__*/React.createElement(CheckCircleLightLine, {
|
|
233
|
-
fill: "
|
|
234
|
-
color: "
|
|
233
|
+
fill: "var(--content-inverted-primary)",
|
|
234
|
+
color: "var(--background-positive-strong)",
|
|
235
235
|
size: 24
|
|
236
236
|
}),
|
|
237
237
|
title: title,
|
|
@@ -261,8 +261,8 @@ Modal.error = function errorFn(props) {
|
|
|
261
261
|
className: classNames('ald-modal', className),
|
|
262
262
|
title: ModalTitle({
|
|
263
263
|
icon: /*#__PURE__*/React.createElement(AttentionTriangleLightLine, {
|
|
264
|
-
color: "
|
|
265
|
-
fill: '
|
|
264
|
+
color: "var(--background-negative-strong)",
|
|
265
|
+
fill: 'var(--content-inverted-primary)',
|
|
266
266
|
size: 24
|
|
267
267
|
}),
|
|
268
268
|
title: title,
|
|
@@ -293,7 +293,7 @@ Modal.warning = function modalWarn(props) {
|
|
|
293
293
|
className: classNames('ald-modal ald-modal-warning', className),
|
|
294
294
|
title: ModalTitle({
|
|
295
295
|
icon: /*#__PURE__*/React.createElement(AttentionTriangleLightLine, {
|
|
296
|
-
color: "
|
|
296
|
+
color: "var(--background-warning-strong)",
|
|
297
297
|
size: 24
|
|
298
298
|
}),
|
|
299
299
|
title: title,
|
|
@@ -8,32 +8,31 @@
|
|
|
8
8
|
|
|
9
9
|
.ant-modal-content {
|
|
10
10
|
padding: 0;
|
|
11
|
-
border-radius: var(--alias-radius-75
|
|
12
|
-
background: var(--alias-colors-bg-skeleton-subtler
|
|
13
|
-
box-shadow:
|
|
14
|
-
0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
|
11
|
+
border-radius: var(--alias-radius-75);
|
|
12
|
+
background: var(--alias-colors-bg-skeleton-subtler);
|
|
13
|
+
box-shadow: var(--elevation-bottom-bottom-lg);
|
|
15
14
|
overflow: hidden;
|
|
16
15
|
|
|
17
16
|
.ant-modal-close {
|
|
18
17
|
width: 24px;
|
|
19
18
|
height: 24px;
|
|
20
|
-
top: var(--alias-spacing-200
|
|
21
|
-
right: var(--alias-spacing-250
|
|
19
|
+
top: var(--alias-spacing-200);
|
|
20
|
+
right: var(--alias-spacing-250);
|
|
22
21
|
|
|
23
22
|
.ant-modal-close-x {
|
|
24
|
-
background-color:
|
|
23
|
+
background-color: var(--background-default);
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.ant-modal-header {
|
|
29
|
-
padding: var(--alias-spacing-200
|
|
28
|
+
padding: var(--alias-spacing-200) var(--alias-padding-300);
|
|
30
29
|
margin-bottom: 0;
|
|
31
|
-
border-bottom: 1px solid var(--alias-colors-border-default
|
|
32
|
-
background: var(--alias-colors-bg-skeleton-subtler
|
|
30
|
+
border-bottom: 1px solid var(--alias-colors-border-default);
|
|
31
|
+
background: var(--alias-colors-bg-skeleton-subtler);
|
|
33
32
|
|
|
34
33
|
.ant-modal-title {
|
|
35
34
|
width: 95%;
|
|
36
|
-
color: var(--alias-colors-text-strong
|
|
35
|
+
color: var(--alias-colors-text-strong);
|
|
37
36
|
font-weight: 600;
|
|
38
37
|
font-size: 16px;
|
|
39
38
|
line-height: 24px;
|
|
@@ -41,7 +40,7 @@
|
|
|
41
40
|
.ald-modal-title-container {
|
|
42
41
|
display: flex;
|
|
43
42
|
align-items: center;
|
|
44
|
-
gap: var(--alias-spacing-100
|
|
43
|
+
gap: var(--alias-spacing-100);
|
|
45
44
|
|
|
46
45
|
.ald-modal-text-container {
|
|
47
46
|
display: flex;
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
gap: 4px;
|
|
51
50
|
|
|
52
51
|
.ald-modal-text-title {
|
|
53
|
-
color: var(--alias-colors-text-strong
|
|
52
|
+
color: var(--alias-colors-text-strong);
|
|
54
53
|
font-weight: 600;
|
|
55
54
|
font-size: 18px;
|
|
56
55
|
line-height: 28px;
|
|
@@ -61,7 +60,7 @@
|
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
.ald-modal-text-sub-title {
|
|
64
|
-
color: var(--alias-colors-text-subtle
|
|
63
|
+
color: var(--alias-colors-text-subtle);
|
|
65
64
|
font-size: 12px;
|
|
66
65
|
font-weight: 400;
|
|
67
66
|
line-height: 16px;
|
|
@@ -77,15 +76,15 @@
|
|
|
77
76
|
line-height: 20px;
|
|
78
77
|
font-size: 14px;
|
|
79
78
|
overflow-y: auto;
|
|
80
|
-
padding: var(--alias-padding-300
|
|
79
|
+
padding: var(--alias-padding-300);
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
.ant-modal-footer {
|
|
84
83
|
position: relative;
|
|
85
84
|
margin-top: 0;
|
|
86
|
-
padding: var(--alias-spacing-150
|
|
87
|
-
border-top: 1px solid var(--alias-colors-border-default
|
|
88
|
-
background: var(--alias-colors-bg-skeleton-subtler
|
|
85
|
+
padding: var(--alias-spacing-150) var(--alias-padding-300);
|
|
86
|
+
border-top: 1px solid var(--alias-colors-border-default);
|
|
87
|
+
background: var(--alias-colors-bg-skeleton-subtler);
|
|
89
88
|
|
|
90
89
|
.ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
|
|
91
90
|
margin-bottom: 0;
|
|
@@ -16,48 +16,33 @@
|
|
|
16
16
|
.ald-modal-title-container {
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
19
|
-
gap: var(--alias-spacing-200
|
|
19
|
+
gap: var(--alias-spacing-200);
|
|
20
20
|
|
|
21
21
|
.ald-modal-icon-container {
|
|
22
22
|
display: grid;
|
|
23
23
|
place-items: center;
|
|
24
24
|
width: 40px;
|
|
25
25
|
height: 40px;
|
|
26
|
-
border-radius: var(--global-grid-250
|
|
26
|
+
border-radius: var(--global-grid-250);
|
|
27
27
|
|
|
28
28
|
&.ald-modal-cion-info-container {
|
|
29
|
-
background: var(
|
|
30
|
-
--alias-colors-bg-accent-blue-subtle-default,
|
|
31
|
-
#d4e7fd
|
|
32
|
-
);
|
|
29
|
+
background: var(--action-primary-subtle-hover);
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
&.ald-modal-cion-warning-container {
|
|
36
|
-
background: var(
|
|
37
|
-
--alias-colors-bg-accent-yellow-subtle-default,
|
|
38
|
-
#fef9c3
|
|
39
|
-
);
|
|
33
|
+
background: var(--background-warning-muted);
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
&.ald-modal-cion-success-container {
|
|
43
|
-
background: var(
|
|
44
|
-
--alias-colors-bg-accent-green-subtle-default,
|
|
45
|
-
#dcfce7
|
|
46
|
-
);
|
|
37
|
+
background: var(--background-positive-muted);
|
|
47
38
|
}
|
|
48
39
|
|
|
49
40
|
&.ald-modal-cion-confirm-container {
|
|
50
|
-
background: var(
|
|
51
|
-
--alias-colors-bg-accent-blue-subtle-default,
|
|
52
|
-
#d4e7fd
|
|
53
|
-
);
|
|
41
|
+
background: var(--action-primary-subtle-hover);
|
|
54
42
|
}
|
|
55
43
|
|
|
56
44
|
&.ald-modal-cion-error-container {
|
|
57
|
-
background: var(
|
|
58
|
-
--alias-colors-bg-accent-red-subtle-default,
|
|
59
|
-
#fee2e2
|
|
60
|
-
);
|
|
45
|
+
background: var(--background-negative-muted);
|
|
61
46
|
}
|
|
62
47
|
}
|
|
63
48
|
|
|
@@ -65,11 +50,11 @@
|
|
|
65
50
|
display: flex;
|
|
66
51
|
flex-direction: column;
|
|
67
52
|
align-items: flex-start;
|
|
68
|
-
gap: var(--alias-spacing-100
|
|
53
|
+
gap: var(--alias-spacing-100);
|
|
69
54
|
flex: 1 0 0;
|
|
70
55
|
|
|
71
56
|
.ald-modal-text-title {
|
|
72
|
-
color: var(--alias-colors-text-strong
|
|
57
|
+
color: var(--alias-colors-text-strong);
|
|
73
58
|
font-size: 18px;
|
|
74
59
|
font-weight: 600;
|
|
75
60
|
line-height: 28px;
|
|
@@ -80,7 +65,7 @@
|
|
|
80
65
|
}
|
|
81
66
|
|
|
82
67
|
.ald-modal-text-sub-title {
|
|
83
|
-
color: var(--alias-colors-text-subtle
|
|
68
|
+
color: var(--alias-colors-text-subtle);
|
|
84
69
|
font-size: 12px;
|
|
85
70
|
font-weight: 400;
|
|
86
71
|
line-height: 20px;
|
|
@@ -90,7 +75,7 @@
|
|
|
90
75
|
}
|
|
91
76
|
|
|
92
77
|
.ant-modal-confirm-content {
|
|
93
|
-
margin-top: var(--alias-spacing-100
|
|
78
|
+
margin-top: var(--alias-spacing-100);
|
|
94
79
|
margin-left: 56px;
|
|
95
80
|
}
|
|
96
81
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
inset-inline-start: 0;
|
|
10
10
|
z-index: 1000;
|
|
11
11
|
height: 100%;
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: var(--interaction-background-default-dimmer);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.ant-modal-wrap {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
box-sizing: border-box;
|
|
26
26
|
margin: 0 auto;
|
|
27
27
|
padding: 0;
|
|
28
|
-
color:
|
|
28
|
+
color: var(--alias-colors-text-default);
|
|
29
29
|
font-size: 14px;
|
|
30
30
|
line-height: 1.5714;
|
|
31
31
|
list-style: none;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
.ant-modal-content {
|
|
41
41
|
position: relative;
|
|
42
|
-
background-color:
|
|
42
|
+
background-color: var(--background-default);
|
|
43
43
|
background-clip: padding-box;
|
|
44
44
|
pointer-events: auto;
|
|
45
45
|
}
|
|
@@ -18,10 +18,9 @@
|
|
|
18
18
|
&,
|
|
19
19
|
&:focus,
|
|
20
20
|
&:hover {
|
|
21
|
-
border: 1px solid
|
|
22
|
-
|
|
23
|
-
color: var(--alias-colors-
|
|
24
|
-
background-color: var(--alias-colors-bg-selected-default, #e8f2fe);
|
|
21
|
+
border: 1px solid var(--alias-colors-border-accent-blue-strong);
|
|
22
|
+
color: var(--alias-colors-text-selected);
|
|
23
|
+
background-color: var(--alias-colors-bg-selected-default);
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
|
package/dist/Popconfirm/index.js
CHANGED
|
@@ -17,8 +17,8 @@ function MyPopconfirm(props) {
|
|
|
17
17
|
_props$icon = props.icon,
|
|
18
18
|
icon = _props$icon === void 0 ? /*#__PURE__*/React.createElement(AttentionTriangleFill, {
|
|
19
19
|
size: 16,
|
|
20
|
-
color:
|
|
21
|
-
fill:
|
|
20
|
+
color: 'var(--action-destructive-normal)',
|
|
21
|
+
fill: 'var(--action-inverted-normal)'
|
|
22
22
|
}) : _props$icon,
|
|
23
23
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
24
24
|
function getButtonProps(buttonProps, defaultBtnType) {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
position: absolute;
|
|
15
15
|
left: 4px;
|
|
16
16
|
height: 10px;
|
|
17
|
-
border: 1px solid
|
|
17
|
+
border: 1px solid var(--border-default-alpha);
|
|
18
18
|
transform: rotate(45deg);
|
|
19
19
|
clip-path: none;
|
|
20
20
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
&.ant-popover[class] .ant-popover-arrow::after {
|
|
23
23
|
content: '';
|
|
24
24
|
width: 15px;
|
|
25
|
-
background-color:
|
|
25
|
+
background-color: var(--background-default);
|
|
26
26
|
display: inline-block;
|
|
27
27
|
bottom: -11px;
|
|
28
28
|
position: absolute;
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
.ald-pop-confirm.ant-popover.ant-popover .ant-popover-inner {
|
|
37
37
|
width: 240px;
|
|
38
38
|
padding: 12px;
|
|
39
|
-
border: 1px solid
|
|
39
|
+
border: 1px solid var(--border-default-alpha);
|
|
40
40
|
border-radius: 6px;
|
|
41
|
-
box-shadow:
|
|
41
|
+
box-shadow: var(--elevation-bottom-bottom-md);
|
|
42
42
|
|
|
43
43
|
.ant-popover-inner-content {
|
|
44
44
|
.ant-popconfirm-message {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-weight: 400;
|
|
67
67
|
font-size: 12px;
|
|
68
68
|
line-height: 16px;
|
|
69
|
-
color: var(--alias-colors-text-default
|
|
69
|
+
color: var(--alias-colors-text-default);
|
|
70
70
|
margin-inline-start: 4px;
|
|
71
71
|
margin-left: 8px !important;
|
|
72
72
|
width: 190px;
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
|
|
77
77
|
.ald-pop-confirm.ant-popover.ant-popover .ant-popover-arrow {
|
|
78
78
|
&::after {
|
|
79
|
-
box-shadow:
|
|
79
|
+
box-shadow: var(--elevation-bottom-bottom-md);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
|
|
3
3
|
.ald-popover {
|
|
4
|
-
border-radius: var(--alias-radius-75
|
|
5
|
-
border: 1px solid var(--
|
|
6
|
-
background: var(--alias-colors-bg-skeleton-subtler
|
|
4
|
+
border-radius: var(--alias-radius-75) !important;
|
|
5
|
+
border: 1px solid var(--border-default-alpha) !important;
|
|
6
|
+
background: var(--alias-colors-bg-skeleton-subtler) !important;
|
|
7
7
|
|
|
8
8
|
/* shadow/shadow-sm */
|
|
9
|
-
box-shadow:
|
|
9
|
+
box-shadow: var(--elevation-bottom-bottom-sm) !important;
|
|
10
10
|
|
|
11
11
|
.ant-popover-inner {
|
|
12
|
-
border-radius: var(--alias-radius-75
|
|
12
|
+
border-radius: var(--alias-radius-75) !important;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&.ant-popover[class] .ant-popover-arrow::before {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
position: absolute;
|
|
21
21
|
left: 4px;
|
|
22
22
|
height: 10px;
|
|
23
|
-
border: 1px solid var(--
|
|
24
|
-
box-shadow:
|
|
23
|
+
border: 1px solid var(--border-default-alpha);
|
|
24
|
+
box-shadow: var(--elevation-bottom-bottom-sm) !important;
|
|
25
25
|
transform: rotate(45deg);
|
|
26
26
|
clip-path: none;
|
|
27
27
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
&.ant-popover[class] .ant-popover-arrow::after {
|
|
30
30
|
content: '';
|
|
31
31
|
width: 15px;
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: var(--background-default);
|
|
33
33
|
display: inline-block;
|
|
34
34
|
bottom: -10px;
|
|
35
35
|
position: absolute;
|
|
@@ -7,14 +7,11 @@
|
|
|
7
7
|
pointer-events: none;
|
|
8
8
|
|
|
9
9
|
&-show-bg {
|
|
10
|
-
background-color: var(
|
|
11
|
-
--alias-colors-bg-accent-blue-subtle-default,
|
|
12
|
-
#d4e7fd
|
|
13
|
-
);
|
|
10
|
+
background-color: var(--interaction-neutral-subtle-normal);
|
|
14
11
|
}
|
|
15
12
|
|
|
16
13
|
&-inner {
|
|
17
|
-
background-color: var(--
|
|
14
|
+
background-color: var(--interaction-default-normal);
|
|
18
15
|
border-radius: 2px 0 0;
|
|
19
16
|
height: 100%;
|
|
20
17
|
width: 0;
|