@qsxy/element-plus-react 1.0.0-next.15 → 1.0.0-next.17
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/Button.js +5 -3
- package/dist/Button/typings.d.ts +3 -1
- package/dist/ColorPicker/AlphaSlider.d.ts +0 -7
- package/dist/ColorPicker/AlphaSlider.js +0 -7
- package/dist/ColorPicker/HueSlider.d.ts +0 -7
- package/dist/ColorPicker/HueSlider.js +0 -7
- package/dist/ColorPicker/Predefine.d.ts +0 -7
- package/dist/ColorPicker/Predefine.js +0 -7
- package/dist/ColorPicker/SvPanel.d.ts +0 -7
- package/dist/ColorPicker/SvPanel.js +0 -7
- package/dist/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/dist/Descriptions/Descriptions.d.ts +2 -2
- package/dist/Descriptions/Descriptions.js +7 -6
- package/dist/Descriptions/DescriptionsCell.d.ts +11 -12
- package/dist/Descriptions/DescriptionsCell.js +13 -6
- package/dist/Descriptions/DescriptionsItem.js +1 -1
- package/dist/Descriptions/DescriptionsRow.d.ts +2 -5
- package/dist/Descriptions/DescriptionsRow.js +11 -4
- package/dist/Dialog/Dialog.js +3 -1
- package/dist/Drawer/typings.d.ts +10 -10
- package/dist/Dropdown/Dropdown.js +7 -7
- package/dist/Dropdown/DropdownItem.js +1 -1
- package/dist/Dropdown/DropdownMenu.d.ts +5 -2
- package/dist/Dropdown/DropdownMenu.js +5 -3
- package/dist/Dropdown/typings.d.ts +3 -1
- package/dist/Empty/Empty.js +1 -1
- package/dist/Empty/ImgEmpty.js +5 -5
- package/dist/Form/Form.d.ts +9 -4
- package/dist/Form/Form.js +6 -4
- package/dist/Form/typings.d.ts +2 -2
- package/dist/MessageBox/MessageBox.js +6 -1
- package/dist/Notification/Notification.js +6 -3
- package/dist/Notification/index.d.ts +0 -8
- package/dist/Notification/index.js +0 -9
- package/dist/Notification/typings.d.ts +0 -2
- package/dist/Pagination/Options.js +2 -1
- package/dist/Popconfirm/Popconfirm.d.ts +3 -2
- package/dist/Popconfirm/Popconfirm.js +15 -8
- package/dist/Popconfirm/typings.d.ts +2 -1
- package/dist/Popover/Popover.js +7 -5
- package/dist/Popover/typings.d.ts +1 -1
- package/dist/Select/Option.js +1 -1
- package/dist/Select/OptionGroup.js +1 -1
- package/dist/Select/Select.d.ts +3 -15
- package/dist/Select/Select.js +3 -9
- package/dist/Select/SelectCore.js +52 -27
- package/dist/Select/index.d.ts +1 -0
- package/dist/Select/index.js +1 -0
- package/dist/Select/typings.d.ts +13 -1
- package/dist/Skeleton/typings.d.ts +2 -2
- package/dist/Table/TableColumn.js +2 -2
- package/dist/Table/TableHeaderCell.js +16 -16
- package/dist/Table/hooks/useSelection.d.ts +1 -1
- package/dist/Table/hooks/useTable.d.ts +0 -7
- package/dist/Table/hooks/useTable.js +1 -9
- package/dist/Table/typings.d.ts +1 -1
- package/dist/Tabs/TabPane.js +1 -1
- package/dist/Tabs/Tabs.d.ts +2 -2
- package/dist/Tabs/Tabs.js +8 -4
- package/dist/Tabs/typings.d.ts +2 -0
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Tag/Tag.js +5 -5
- package/dist/Tag/typings.d.ts +1 -1
- package/dist/TimeLine/TimeLine.js +1 -0
- package/dist/TimeLine/TimeLineItem.js +1 -0
- package/dist/TimeLine/typings.d.ts +2 -2
- package/dist/TimePicker/useTimePicker.d.ts +0 -7
- package/dist/TimePicker/useTimePicker.js +1 -8
- package/dist/hooks/animationPropsUtils.d.ts +0 -4
- package/dist/hooks/animationPropsUtils.js +0 -4
- package/dist/hooks/popperPropsUtils.d.ts +0 -4
- package/dist/hooks/popperPropsUtils.js +0 -4
- package/dist/hooks/useChildrenInstance.d.ts +0 -4
- package/dist/hooks/useChildrenInstance.js +0 -4
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.scss +1 -1
- package/theme-chalk/skeleton/index.scss +120 -0
- package/theme-chalk/tabs/index.scss +3 -3
- package/theme-chalk/tag/index.scss +5 -162
- package/theme-chalk/time-line/_timeline-item.scss +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export { Input as ElInput } from './Input';
|
|
|
31
31
|
export type { InputProps, InputRangeProps, InputRef, TextareaProps, TextareaRef } from './Input';
|
|
32
32
|
export { InputNumber as ElInputNumber } from './InputNumber';
|
|
33
33
|
export type { InputNumberProps, InputNumberRef } from './InputNumber';
|
|
34
|
-
export { Select as ElSelect } from './Select';
|
|
34
|
+
export { Option as ElOption, OptionGroup as ElOptionGroup, Select as ElSelect } from './Select';
|
|
35
35
|
export type { SelectOptionGroupProps, SelectOptionProps, SelectProps, SelectRef } from './Select';
|
|
36
36
|
export { Calendar, CalendarContext } from './Calendar';
|
|
37
37
|
export type { DateRangeType, DateType } from './Calendar';
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export { Radio as ElRadio } from "./Radio";
|
|
|
17
17
|
export { RadioGroup as ElRadioGroup } from "./RadioGroup";
|
|
18
18
|
export { Input as ElInput } from "./Input";
|
|
19
19
|
export { InputNumber as ElInputNumber } from "./InputNumber";
|
|
20
|
-
export { Select as ElSelect } from "./Select";
|
|
20
|
+
export { Option as ElOption, OptionGroup as ElOptionGroup, Select as ElSelect } from "./Select";
|
|
21
21
|
export { Calendar, CalendarContext } from "./Calendar";
|
|
22
22
|
export { DatePicker as ElDatePicker } from "./DatePicker";
|
|
23
23
|
export { TimePicker as ElTimePicker } from "./TimePicker";
|
package/package.json
CHANGED
package/theme-chalk/index.scss
CHANGED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
@use '../common/var';
|
|
2
|
+
|
|
3
|
+
.#{$namespace}-skeleton {
|
|
4
|
+
--#{$namespace}-skeleton-color: var(--#{$namespace}-fill-color);
|
|
5
|
+
--#{$namespace}-skeleton-to-color: var(--#{$namespace}-fill-color-darker);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.is-dark {
|
|
9
|
+
.#{$namespace}-skeleton {
|
|
10
|
+
--#{$namespace}-skeleton-color: #3c3f43;
|
|
11
|
+
--#{$namespace}-skeleton-to-color: #484c50;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.#{$namespace}-skeleton {
|
|
16
|
+
-webkit-box-pack: start;
|
|
17
|
+
-ms-flex-pack: start;
|
|
18
|
+
-webkit-box-align: start;
|
|
19
|
+
-ms-flex-align: start;
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
justify-content: flex-start;
|
|
22
|
+
display: flex;
|
|
23
|
+
|
|
24
|
+
&-paragraph {
|
|
25
|
+
justify-content: flex-start;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
|
|
28
|
+
&-graph {
|
|
29
|
+
flex: 0 0 auto;
|
|
30
|
+
width: 60px;
|
|
31
|
+
height: 60px;
|
|
32
|
+
border-radius: 2px;
|
|
33
|
+
margin-right: 20px;
|
|
34
|
+
background-color: var(--#{$namespace}-skeleton-color);
|
|
35
|
+
|
|
36
|
+
&-circle {
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-image {
|
|
41
|
+
width: 200px;
|
|
42
|
+
height: 200px;
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
border-radius: 0;
|
|
47
|
+
|
|
48
|
+
& > svg {
|
|
49
|
+
color: var(--el-border-color);
|
|
50
|
+
fill: currentColor;
|
|
51
|
+
width: 22%;
|
|
52
|
+
height: 22%;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-image &-inner {
|
|
57
|
+
width: 12px;
|
|
58
|
+
height: 12px;
|
|
59
|
+
right: 18px;
|
|
60
|
+
top: 10px;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
position: absolute;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&-rows {
|
|
67
|
+
width: 100%;
|
|
68
|
+
|
|
69
|
+
.#{$namespace}-skeleton__item {
|
|
70
|
+
background-color: var(--#{$namespace}-skeleton-color);
|
|
71
|
+
border-radius: 4px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-grid {
|
|
77
|
+
&-col {
|
|
78
|
+
flex: 1;
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
align-items: flex-end;
|
|
82
|
+
|
|
83
|
+
& > p {
|
|
84
|
+
background-color: var(--#{$namespace}-skeleton-color);
|
|
85
|
+
border-radius: 4px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:first-child {
|
|
89
|
+
align-items: flex-start; //first col align left
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&-graph {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
width: 100%;
|
|
97
|
+
background-color: var(--#{$namespace}-skeleton-color);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&-active {
|
|
101
|
+
&.#{$namespace}-skeleton-graph,
|
|
102
|
+
.#{$namespace}-skeleton-paragraph-graph-image,
|
|
103
|
+
.#{$namespace}-skeleton-grid-col .#{$namespace}-skeleton__item,
|
|
104
|
+
.#{$namespace}-skeleton-paragraph-rows .#{$namespace}-skeleton__item {
|
|
105
|
+
background: linear-gradient(-45deg, var(--#{$namespace}-skeleton-color) 25%, var(--#{$namespace}-skeleton-to-color) 37%, var(--#{$namespace}-skeleton-color) 63%);
|
|
106
|
+
background-size: 400% 100% !important;
|
|
107
|
+
animation: skeleton-active 1.4s ease infinite;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@keyframes skeleton-active {
|
|
112
|
+
0% {
|
|
113
|
+
background-position: 100% 50%;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
100% {
|
|
117
|
+
background-position: 0 50%;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
&.#{$namespace}-tabs--border-card,
|
|
299
299
|
&.#{$namespace}-tabs--card,
|
|
300
300
|
.#{$namespace}-tabs--left,
|
|
301
|
-
.#{$namespace}-tabs--
|
|
301
|
+
.#{$namespace}-tabs--right {
|
|
302
302
|
& > .#{$namespace}-tabs__header {
|
|
303
303
|
.#{$namespace}-tabs__item:nth-child(2) {
|
|
304
304
|
padding-left: 20px;
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
&.#{$namespace}-tabs--left,
|
|
335
|
-
&.#{$namespace}-tabs--
|
|
335
|
+
&.#{$namespace}-tabs--right {
|
|
336
336
|
overflow: hidden;
|
|
337
337
|
|
|
338
338
|
.#{$namespace}-tabs__header.is-left,
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
&.#{$namespace}-tabs--
|
|
477
|
+
&.#{$namespace}-tabs--right {
|
|
478
478
|
.#{$namespace}-tabs__header.is-right {
|
|
479
479
|
float: right;
|
|
480
480
|
margin-bottom: 0;
|
|
@@ -1,160 +1,3 @@
|
|
|
1
|
-
// @use 'sass:map';
|
|
2
|
-
|
|
3
|
-
// @use '../../Common/styles/mixins/mixins' as *;
|
|
4
|
-
// @use '../../Common/styles/mixins/var' as *;
|
|
5
|
-
// @use '../../Common/styles/common/var' as *;
|
|
6
|
-
|
|
7
|
-
// @include b(tag) {
|
|
8
|
-
// @include set-component-css-var('tag', $tag);
|
|
9
|
-
// }
|
|
10
|
-
|
|
11
|
-
// $tag-border-width: 1px;
|
|
12
|
-
|
|
13
|
-
// $tag-icon-span-gap: () !default;
|
|
14
|
-
// $tag-icon-span-gap: map.merge(
|
|
15
|
-
// (
|
|
16
|
-
// 'large': 8px,
|
|
17
|
-
// 'default': 6px,
|
|
18
|
-
// 'small': 4px,
|
|
19
|
-
// ),
|
|
20
|
-
// $tag-icon-span-gap
|
|
21
|
-
// );
|
|
22
|
-
|
|
23
|
-
// @function returnVarList($var, $type: 'primary') {
|
|
24
|
-
// $list: ('fill-color', 'blank');
|
|
25
|
-
// @if $var != false {
|
|
26
|
-
// $list: ('color', $type, $var);
|
|
27
|
-
// }
|
|
28
|
-
// @return $list;
|
|
29
|
-
// }
|
|
30
|
-
// // false mean --#{$namespace}-color-white
|
|
31
|
-
// @mixin genTheme($backgroundColorWeight, $borderColorWeight, $hoverColorWeight) {
|
|
32
|
-
// @include css-var-from-global(('tag', 'bg-color'), returnVarList($backgroundColorWeight));
|
|
33
|
-
// @include css-var-from-global(('tag', 'border-color'), returnVarList($borderColorWeight));
|
|
34
|
-
// @include css-var-from-global(('tag', 'hover-color'), returnVarList($hoverColorWeight));
|
|
35
|
-
|
|
36
|
-
// @each $type in $types {
|
|
37
|
-
// &.#{bem('tag', '', $type)} {
|
|
38
|
-
// @include css-var-from-global(('tag', 'bg-color'), returnVarList($backgroundColorWeight, $type));
|
|
39
|
-
// @include css-var-from-global(('tag', 'border-color'), returnVarList($borderColorWeight, $type));
|
|
40
|
-
// @include css-var-from-global(('tag', 'hover-color'), returnVarList($hoverColorWeight, $type));
|
|
41
|
-
// }
|
|
42
|
-
// }
|
|
43
|
-
// }
|
|
44
|
-
|
|
45
|
-
// @include b(tag) {
|
|
46
|
-
// @include genTheme('light-9', 'light-8', '');
|
|
47
|
-
|
|
48
|
-
// @each $type in $types {
|
|
49
|
-
// &.#{bem('tag', '', $type)} {
|
|
50
|
-
// @include css-var-from-global(('tag', 'text-color'), ('color', $type));
|
|
51
|
-
// }
|
|
52
|
-
// }
|
|
53
|
-
|
|
54
|
-
// @include when(hit) {
|
|
55
|
-
// border-color: getCssVar('color', 'primary');
|
|
56
|
-
// }
|
|
57
|
-
// @include when(round) {
|
|
58
|
-
// border-radius: getCssVar('tag', 'border-radius-rounded');
|
|
59
|
-
// }
|
|
60
|
-
|
|
61
|
-
// .#{$namespace}-tag__close {
|
|
62
|
-
// flex-shrink: 0;
|
|
63
|
-
// color: getCssVar('tag', 'text-color');
|
|
64
|
-
// &:hover {
|
|
65
|
-
// color: getCssVar('color-white');
|
|
66
|
-
// background-color: getCssVar('tag-hover-color');
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
|
|
70
|
-
// background-color: getCssVar('tag-bg-color');
|
|
71
|
-
// border-color: getCssVar('tag-border-color');
|
|
72
|
-
// color: getCssVar('tag-text-color');
|
|
73
|
-
|
|
74
|
-
// display: inline-flex;
|
|
75
|
-
// justify-content: center;
|
|
76
|
-
// align-items: center;
|
|
77
|
-
// vertical-align: middle;
|
|
78
|
-
// height: map.get($tag-height, 'default');
|
|
79
|
-
// padding: 0 map.get($tag-padding, 'default') - $border-width;
|
|
80
|
-
|
|
81
|
-
// font-size: getCssVar('tag-font-size');
|
|
82
|
-
// line-height: 1;
|
|
83
|
-
// border-width: $tag-border-width;
|
|
84
|
-
// border-style: solid;
|
|
85
|
-
// border-radius: getCssVar('tag-border-radius');
|
|
86
|
-
// box-sizing: border-box;
|
|
87
|
-
// white-space: nowrap;
|
|
88
|
-
|
|
89
|
-
// @include set-css-var-value('icon-size', 14px);
|
|
90
|
-
|
|
91
|
-
// $svg-margin-size: 1px;
|
|
92
|
-
// .#{$namespace}-icon {
|
|
93
|
-
// border-radius: 50%;
|
|
94
|
-
// cursor: pointer;
|
|
95
|
-
|
|
96
|
-
// font-size: calc(#{getCssVar('icon-size')} - #{$svg-margin-size * 2});
|
|
97
|
-
// height: getCssVar('icon-size');
|
|
98
|
-
// width: getCssVar('icon-size');
|
|
99
|
-
// }
|
|
100
|
-
|
|
101
|
-
// .#{$namespace}-tag__close {
|
|
102
|
-
// margin-left: map.get($tag-icon-span-gap, 'default');
|
|
103
|
-
// }
|
|
104
|
-
|
|
105
|
-
// @include m(dark) {
|
|
106
|
-
// @include genTheme('', '', 'light-3');
|
|
107
|
-
// @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
|
|
108
|
-
|
|
109
|
-
// @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
|
|
110
|
-
// @each $type in $types {
|
|
111
|
-
// &.#{bem('tag', '', $type)} {
|
|
112
|
-
// @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
|
|
113
|
-
// }
|
|
114
|
-
// }
|
|
115
|
-
// }
|
|
116
|
-
|
|
117
|
-
// @include m(plain) {
|
|
118
|
-
// @include genTheme(false, 'light-5', '');
|
|
119
|
-
// @include css-var-from-global(('tag', 'bg-color'), ('fill-color', 'blank'));
|
|
120
|
-
// }
|
|
121
|
-
|
|
122
|
-
// &.is-closable {
|
|
123
|
-
// padding-right: map.get($tag-icon-span-gap, 'default') - $border-width;
|
|
124
|
-
// }
|
|
125
|
-
|
|
126
|
-
// @each $size in (large, small) {
|
|
127
|
-
// @include m($size) {
|
|
128
|
-
// padding: 0 map.get($tag-padding, $size) - $tag-border-width;
|
|
129
|
-
// height: map.get($tag-height, $size);
|
|
130
|
-
|
|
131
|
-
// @include set-css-var-value('icon-size', #{map.get($tag-icon-size, $size)});
|
|
132
|
-
|
|
133
|
-
// .#{$namespace}-tag__close {
|
|
134
|
-
// margin-left: map.get($tag-icon-span-gap, $size);
|
|
135
|
-
// }
|
|
136
|
-
|
|
137
|
-
// &.is-closable {
|
|
138
|
-
// padding-right: map.get($tag-icon-span-gap, $size) - $border-width;
|
|
139
|
-
// }
|
|
140
|
-
// }
|
|
141
|
-
// }
|
|
142
|
-
|
|
143
|
-
// @include m(small) {
|
|
144
|
-
// .#{$namespace}-icon-close {
|
|
145
|
-
// transform: scale(0.8);
|
|
146
|
-
// }
|
|
147
|
-
// }
|
|
148
|
-
|
|
149
|
-
// @each $type in $types {
|
|
150
|
-
// &.#{bem('tag', '', $type)} {
|
|
151
|
-
// @include when(hit) {
|
|
152
|
-
// border-color: getCssVar('color', $type);
|
|
153
|
-
// }
|
|
154
|
-
// }
|
|
155
|
-
// }
|
|
156
|
-
// }
|
|
157
|
-
|
|
158
1
|
@use 'sass:map';
|
|
159
2
|
@use '../common/var';
|
|
160
3
|
|
|
@@ -215,7 +58,7 @@ $tag-icon-span-gap: map.merge(
|
|
|
215
58
|
--#{$namespace}-tag-border-color: var(--#{$namespace}-color-primary#{joinVarName($borderColorWeight)});
|
|
216
59
|
--#{$namespace}-tag-hover-color: var(--#{$namespace}-color-primary#{joinVarName($hoverColorWeight)});
|
|
217
60
|
|
|
218
|
-
@each $type in success, warning, error, info {
|
|
61
|
+
@each $type in success, warning, error, danger, info {
|
|
219
62
|
&.#{$namespace}-tag--#{$type} {
|
|
220
63
|
--#{$namespace}-tag-bg-color: var(--#{$namespace}-color#{joinVarName(($type, $backgroundColorWeight))});
|
|
221
64
|
--#{$namespace}-tag-border-color: var(--#{$namespace}-color#{joinVarName(($type, $borderColorWeight))});
|
|
@@ -233,7 +76,7 @@ $tag-icon-span-gap: map.merge(
|
|
|
233
76
|
.#{$namespace}-tag {
|
|
234
77
|
@include genTheme('light-9', 'light-8', '');
|
|
235
78
|
--#{$namespace}-tag-text-color: var(--#{$namespace}-color-primary);
|
|
236
|
-
@each $type in success, warning, error, info {
|
|
79
|
+
@each $type in success, warning, error, danger, info {
|
|
237
80
|
&.#{$namespace}-tag--#{$type} {
|
|
238
81
|
--#{$namespace}-tag-text-color: var(--#{$namespace}-color-#{$type});
|
|
239
82
|
}
|
|
@@ -302,7 +145,7 @@ $tag-icon-span-gap: map.merge(
|
|
|
302
145
|
padding-right: map.get($tag-icon-span-gap, 'default') - 1px;
|
|
303
146
|
}
|
|
304
147
|
|
|
305
|
-
@each $type in success, warning, error, info {
|
|
148
|
+
@each $type in success, warning, error, danger, info {
|
|
306
149
|
&.#{$namespace}-tag--#{$type} {
|
|
307
150
|
&.is-hit {
|
|
308
151
|
border-color: var(--#{$namespace}-color-#{$type});
|
|
@@ -315,7 +158,7 @@ $tag-icon-span-gap: map.merge(
|
|
|
315
158
|
@include genTheme('', '', 'light-3');
|
|
316
159
|
--#{$namespace}-tag-text-color: var(--#{$namespace}-color-white);
|
|
317
160
|
|
|
318
|
-
@each $type in success, warning, error, info {
|
|
161
|
+
@each $type in success, warning, error, danger, info {
|
|
319
162
|
&.#{$namespace}-tag--#{$type} {
|
|
320
163
|
--#{$namespace}-tag-text-color: var(--#{$namespace}-color-white);
|
|
321
164
|
}
|
|
@@ -327,7 +170,7 @@ $tag-icon-span-gap: map.merge(
|
|
|
327
170
|
--#{$namespace}-tag-border-color: var(--#{$namespace}-color-primary-light-5);
|
|
328
171
|
--#{$namespace}-tag-hover-color: var(--#{$namespace}-color-primary);
|
|
329
172
|
|
|
330
|
-
@each $type in success, warning, error, info {
|
|
173
|
+
@each $type in success, warning, error, danger, info {
|
|
331
174
|
&.#{$namespace}-tag--#{$type} {
|
|
332
175
|
--#{$namespace}-tag-bg-color: var(--#{$namespace}-fill-color-blank);
|
|
333
176
|
--#{$namespace}-tag-border-color: var(--#{$namespace}-color#{joinVarName(($type, 'light-5'))});
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
@each $type in (success, warning, danger, info) {
|
|
60
60
|
.#{$namespace}-timeline-item__node--#{$type} {
|
|
61
61
|
background-color: var(--#{$namespace}-color-#{$type});
|
|
62
|
-
border-color: var(--#{$namespace}-color
|
|
62
|
+
border-color: var(--#{$namespace}-color-#{$type});
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|