@qsxy/element-plus-react 1.0.0-next.13 → 1.0.0-next.16
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 +5 -6
- package/dist/Dialog/DialogContext.d.ts +1 -1
- package/dist/Dialog/DialogContext.js +1 -1
- package/dist/Drawer/Drawer.d.ts +2 -5
- package/dist/Drawer/Drawer.js +98 -35
- package/dist/Drawer/DrawerBody.js +6 -12
- package/dist/Drawer/DrawerContext.d.ts +1 -13
- package/dist/Drawer/DrawerContext.js +1 -11
- package/dist/Drawer/DrawerHeader.js +5 -18
- package/dist/Drawer/typings.d.ts +31 -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/MessageBox/MessageBox.js +6 -1
- package/dist/MessageBox/index.d.ts +3 -3
- 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/PlaceholderGraph.d.ts +1 -1
- package/dist/Skeleton/PlaceholderGraph.js +3 -3
- package/dist/Skeleton/PlaceholderGrid.d.ts +1 -1
- package/dist/Skeleton/PlaceholderGrid.js +3 -3
- package/dist/Skeleton/PlaceholderParagraph.d.ts +2 -2
- package/dist/Skeleton/PlaceholderParagraph.js +13 -8
- package/dist/Skeleton/Skeleton.d.ts +2 -9
- package/dist/Skeleton/Skeleton.js +94 -7
- package/dist/Skeleton/SkeletonContext.d.ts +17 -0
- package/dist/Skeleton/SkeletonContext.js +5 -0
- package/dist/Skeleton/SkeletonItem.d.ts +4 -0
- package/dist/Skeleton/SkeletonItem.js +47 -0
- package/dist/Skeleton/index.d.ts +2 -3
- package/dist/Skeleton/index.js +2 -1
- package/dist/Skeleton/typings.d.ts +29 -0
- package/dist/Skeleton/typings.js +1 -0
- package/dist/Table/TableColumn.js +2 -2
- package/dist/Table/TableHeaderCell.js +16 -16
- 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/Upload/use-handlers.d.ts +1 -1
- 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 +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/theme-chalk/drawer/index.scss +61 -65
- package/theme-chalk/index.scss +1 -1
- package/theme-chalk/placeholder/index.scss +22 -37
- 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';
|
|
@@ -81,8 +81,8 @@ export { TabPane as ElTabPane, Tabs as ElTabs } from './Tabs';
|
|
|
81
81
|
export type { TabPaneProps, TabsPaneContext, TabsProps } from './Tabs';
|
|
82
82
|
export { Empty as ElEmpty } from './Empty';
|
|
83
83
|
export type { IEmptyProps } from './Empty';
|
|
84
|
-
export { Skeleton as ElSkeleton } from './Skeleton';
|
|
85
|
-
export type {
|
|
84
|
+
export { Skeleton as ElSkeleton, SkeletonItem as ElSkeletonItem } from './Skeleton';
|
|
85
|
+
export type { SkeletonItemProps, SkeletonProps } from './Skeleton';
|
|
86
86
|
export { Dialog as ElDialog } from './Dialog';
|
|
87
87
|
export type { DialogBeforeCloseFn, DialogProps } from './Dialog';
|
|
88
88
|
export { Drawer as ElDrawer } from './Drawer';
|
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";
|
|
@@ -47,7 +47,7 @@ export { Breadcrumb as ElBreadcrumb, BreadcrumbItem as ElBreadcrumbItem } from "
|
|
|
47
47
|
export { Dropdown as ElDropdown, DropdownItem as ElDropdownItem, DropdownMenu as ElDropdownMenu } from "./Dropdown";
|
|
48
48
|
export { TabPane as ElTabPane, Tabs as ElTabs } from "./Tabs";
|
|
49
49
|
export { Empty as ElEmpty } from "./Empty";
|
|
50
|
-
export { Skeleton as ElSkeleton } from "./Skeleton";
|
|
50
|
+
export { Skeleton as ElSkeleton, SkeletonItem as ElSkeletonItem } from "./Skeleton";
|
|
51
51
|
/* Feedback 反馈组件 */
|
|
52
52
|
export { Dialog as ElDialog } from "./Dialog";
|
|
53
53
|
export { Drawer as ElDrawer } from "./Drawer";
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.#{$namespace}-drawer {
|
|
13
|
-
--#{$namespace}-drawer-width:
|
|
13
|
+
--#{$namespace}-drawer-width: 30%;
|
|
14
14
|
--#{$namespace}-drawer-height: 100%;
|
|
15
15
|
--#{$namespace}-drawer-margin-top: 30px;
|
|
16
16
|
--#{$namespace}-drawer-bg-color: var(--#{$namespace}-bg-color-overlay);
|
|
@@ -40,60 +40,28 @@
|
|
|
40
40
|
.#{$namespace}-drawer-right {
|
|
41
41
|
top: 0;
|
|
42
42
|
--#{$namespace}-drawer-height: 100%;
|
|
43
|
-
|
|
44
|
-
&.#{$namespace}-drawer-large {
|
|
45
|
-
--#{$namespace}-drawer-width: 969px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.#{$namespace}-drawer-md {
|
|
49
|
-
--#{$namespace}-drawer-width: 800px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.#{$namespace}-drawer-small {
|
|
53
|
-
--#{$namespace}-drawer-width: 600px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.#{$namespace}-drawer-xs {
|
|
57
|
-
--#{$namespace}-drawer-width: 400px;
|
|
58
|
-
}
|
|
59
43
|
}
|
|
60
44
|
|
|
61
45
|
.#{$namespace}-drawer-top,
|
|
62
46
|
.#{$namespace}-drawer-bottom {
|
|
63
47
|
--#{$namespace}-drawer-width: 100%;
|
|
64
|
-
|
|
65
|
-
&.#{$namespace}-drawer-large {
|
|
66
|
-
--#{$namespace}-drawer-height: 568px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.#{$namespace}-drawer-md {
|
|
70
|
-
--#{$namespace}-drawer-height: 480px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.#{$namespace}-drawer-small {
|
|
74
|
-
--#{$namespace}-drawer-height: 400px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.#{$namespace}-drawer-xs {
|
|
78
|
-
--#{$namespace}-drawer-height: 290px;
|
|
79
|
-
}
|
|
80
48
|
}
|
|
81
49
|
|
|
82
|
-
.#{$namespace}-drawer-full {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
50
|
+
// .#{$namespace}-drawer-full {
|
|
51
|
+
// &.#{$namespace}-drawer-top,
|
|
52
|
+
// &.#{$namespace}-drawer-bottom {
|
|
53
|
+
// --#{$namespace}-drawer-height: 100%;
|
|
86
54
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
55
|
+
// .#{$namespace}-drawer-content {
|
|
56
|
+
// --#{$namespace}-drawer-height: 100%;
|
|
57
|
+
// }
|
|
58
|
+
// }
|
|
91
59
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
60
|
+
// &.#{$namespace}-drawer-left,
|
|
61
|
+
// &.#{$namespace}-drawer-right {
|
|
62
|
+
// --#{$namespace}-drawer-width: calc(100% - 60px);
|
|
63
|
+
// }
|
|
64
|
+
// }
|
|
97
65
|
|
|
98
66
|
.#{$namespace}-drawer-right {
|
|
99
67
|
right: 0;
|
|
@@ -156,6 +124,13 @@
|
|
|
156
124
|
}
|
|
157
125
|
|
|
158
126
|
.#{$namespace}-drawer-header {
|
|
127
|
+
align-items: center;
|
|
128
|
+
color: #72767b;
|
|
129
|
+
display: flex;
|
|
130
|
+
margin-bottom: 15px;
|
|
131
|
+
padding: var(--el-drawer-padding-primary);
|
|
132
|
+
padding-bottom: 0;
|
|
133
|
+
|
|
159
134
|
&::before,
|
|
160
135
|
&::after {
|
|
161
136
|
content: ' '; // 1
|
|
@@ -166,45 +141,66 @@
|
|
|
166
141
|
clear: both;
|
|
167
142
|
}
|
|
168
143
|
|
|
169
|
-
|
|
144
|
+
& > :first-child {
|
|
145
|
+
flex: 1;
|
|
146
|
+
}
|
|
170
147
|
|
|
171
148
|
&.is-border {
|
|
172
149
|
border-bottom: 1px solid var(--#{$namespace}-border-color);
|
|
173
150
|
}
|
|
174
151
|
|
|
175
152
|
.#{$namespace}-drawer-header-close {
|
|
176
|
-
|
|
153
|
+
display: inline-flex;
|
|
177
154
|
border: none;
|
|
178
155
|
cursor: pointer;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
156
|
+
font-size: var(--el-font-size-extra-large);
|
|
157
|
+
color: inherit;
|
|
158
|
+
background-color: transparent;
|
|
159
|
+
outline: none;
|
|
160
|
+
|
|
161
|
+
&:focus i,
|
|
162
|
+
&:hover i {
|
|
163
|
+
color: var(--el-color-primary);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// background: transparent;
|
|
167
|
+
// border: none;
|
|
168
|
+
// cursor: pointer;
|
|
169
|
+
// position: absolute;
|
|
170
|
+
// right: 20px;
|
|
171
|
+
// top: 12px;
|
|
172
|
+
// font-size: 16px;
|
|
173
|
+
// line-height: 1.6666666667;
|
|
174
|
+
// color: var(--#{$namespace}-color-info);
|
|
175
|
+
// width: 20px;
|
|
176
|
+
// padding: 0 4px;
|
|
187
177
|
}
|
|
188
178
|
}
|
|
189
179
|
|
|
190
180
|
.#{$namespace}-drawer-title {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
181
|
+
margin: 0;
|
|
182
|
+
flex: 1;
|
|
183
|
+
line-height: inherit;
|
|
194
184
|
font-size: 16px;
|
|
195
|
-
line-height: 1.25;
|
|
196
185
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
186
|
+
// font-weight: normal;
|
|
187
|
+
// color: var(--#{$namespace}-text-color-primary);
|
|
188
|
+
// display: block;
|
|
189
|
+
// font-size: 16px;
|
|
190
|
+
// line-height: 1.25;
|
|
191
|
+
|
|
192
|
+
// margin: 0;
|
|
193
|
+
// overflow: hidden;
|
|
194
|
+
// text-overflow: ellipsis;
|
|
195
|
+
// white-space: nowrap;
|
|
196
|
+
// width: 100%;
|
|
202
197
|
}
|
|
203
198
|
|
|
204
199
|
.#{$namespace}-drawer-body {
|
|
205
200
|
position: relative;
|
|
206
201
|
flex: 1;
|
|
207
202
|
overflow: hidden;
|
|
203
|
+
padding: 20px;
|
|
208
204
|
}
|
|
209
205
|
|
|
210
206
|
.#{$namespace}-drawer-footer {
|
package/theme-chalk/index.scss
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
@use '../common/var';
|
|
2
2
|
|
|
3
|
-
.#{$namespace}-
|
|
3
|
+
.#{$namespace}-skeleton {
|
|
4
4
|
--#{$namespace}-skeleton-color: var(--#{$namespace}-fill-color);
|
|
5
5
|
--#{$namespace}-skeleton-to-color: var(--#{$namespace}-fill-color-darker);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.is-dark {
|
|
9
|
-
.#{$namespace}-
|
|
9
|
+
.#{$namespace}-skeleton {
|
|
10
10
|
--#{$namespace}-skeleton-color: #3c3f43;
|
|
11
11
|
--#{$namespace}-skeleton-to-color: #484c50;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.#{$namespace}-
|
|
15
|
+
.#{$namespace}-skeleton {
|
|
16
16
|
-webkit-box-pack: start;
|
|
17
17
|
-ms-flex-pack: start;
|
|
18
18
|
-webkit-box-align: start;
|
|
@@ -38,33 +38,18 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&-image {
|
|
41
|
-
width:
|
|
42
|
-
height:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
border-bottom: 36px solid;
|
|
54
|
-
border-left: 20px solid transparent;
|
|
55
|
-
border-right: 30px solid transparent;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&::before {
|
|
59
|
-
content: '';
|
|
60
|
-
width: 0;
|
|
61
|
-
height: 0;
|
|
62
|
-
left: 40px;
|
|
63
|
-
bottom: 10px;
|
|
64
|
-
position: absolute;
|
|
65
|
-
border-bottom: 22px solid;
|
|
66
|
-
border-left: 16px solid transparent;
|
|
67
|
-
border-right: 16px solid transparent;
|
|
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%;
|
|
68
53
|
}
|
|
69
54
|
}
|
|
70
55
|
|
|
@@ -81,7 +66,7 @@
|
|
|
81
66
|
&-rows {
|
|
82
67
|
width: 100%;
|
|
83
68
|
|
|
84
|
-
|
|
69
|
+
.#{$namespace}-skeleton__item {
|
|
85
70
|
background-color: var(--#{$namespace}-skeleton-color);
|
|
86
71
|
border-radius: 4px;
|
|
87
72
|
}
|
|
@@ -113,17 +98,17 @@
|
|
|
113
98
|
}
|
|
114
99
|
|
|
115
100
|
&-active {
|
|
116
|
-
&.#{$namespace}-
|
|
117
|
-
.#{$namespace}-
|
|
118
|
-
.#{$namespace}-
|
|
119
|
-
.#{$namespace}-
|
|
101
|
+
&.#{$namespace}-skeleton-graph,
|
|
102
|
+
.#{$namespace}-skeleton-paragraph-graph-image,
|
|
103
|
+
.#{$namespace}-skeleton-grid-col > p,
|
|
104
|
+
.#{$namespace}-skeleton-paragraph-rows > p {
|
|
120
105
|
background: linear-gradient(-45deg, var(--#{$namespace}-skeleton-color) 25%, var(--#{$namespace}-skeleton-to-color) 37%, var(--#{$namespace}-skeleton-color) 63%);
|
|
121
106
|
background-size: 400% 100% !important;
|
|
122
|
-
animation:
|
|
107
|
+
animation: skeleton-active 1.4s ease infinite;
|
|
123
108
|
}
|
|
124
109
|
}
|
|
125
110
|
|
|
126
|
-
@keyframes
|
|
111
|
+
@keyframes skeleton-active {
|
|
127
112
|
0% {
|
|
128
113
|
background-position: 100% 50%;
|
|
129
114
|
}
|
|
@@ -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;
|