@qsxy/element-plus-react 1.0.0-next.12 → 1.0.0-next.15
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/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/InputNumber/InputNumber.d.ts +2 -2
- package/dist/InputNumber/InputNumber.js +3 -3
- package/dist/Loading/Loading.d.ts +7 -2
- package/dist/Loading/Loading.js +108 -57
- package/dist/Loading/typings.d.ts +7 -1
- package/dist/Message/Main.d.ts +0 -7
- package/dist/Message/Main.js +0 -7
- package/dist/Message/Message.d.ts +2 -2
- package/dist/Message/Message.js +4 -3
- package/dist/Message/index.d.ts +0 -8
- package/dist/Message/index.js +5 -9
- package/dist/MessageBox/MessageBox.js +2 -1
- package/dist/MessageBox/index.d.ts +5 -5
- package/dist/MessageBox/index.js +1 -0
- package/dist/Notification/Main.d.ts +0 -7
- package/dist/Notification/Main.js +0 -7
- package/dist/Popover/Popover.d.ts +3 -2
- package/dist/Popover/Popover.js +10 -5
- package/dist/Popover/typings.d.ts +0 -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/Table.d.ts +0 -1
- package/dist/Table/Table.js +1 -1
- package/dist/Table/hooks/useSelection.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/Tooltip.js +6 -6
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/drawer/index.scss +61 -65
- package/theme-chalk/message/index.scss +11 -3
- package/theme-chalk/placeholder/index.scss +22 -37
- package/dist/theme-chalk/avatar/index.scss +0 -50
- package/dist/theme-chalk/badge/index.scss +0 -63
- package/dist/theme-chalk/breadcrumb/index.scss +0 -65
- package/dist/theme-chalk/build.scss +0 -2
- package/dist/theme-chalk/button/_mixins.scss +0 -317
- package/dist/theme-chalk/button/button-group.scss +0 -83
- package/dist/theme-chalk/button/button.scss +0 -382
- package/dist/theme-chalk/button/index.scss +0 -2
- package/dist/theme-chalk/calendar/date-picker.scss +0 -112
- package/dist/theme-chalk/calendar/date-range-picker.scss +0 -139
- package/dist/theme-chalk/calendar/date-table.scss +0 -156
- package/dist/theme-chalk/calendar/index.scss +0 -6
- package/dist/theme-chalk/calendar/month-table.scss +0 -92
- package/dist/theme-chalk/calendar/picker-panel.scss +0 -136
- package/dist/theme-chalk/calendar/year-table.scss +0 -107
- package/dist/theme-chalk/card/index.scss +0 -44
- package/dist/theme-chalk/carousel/index.scss +0 -237
- package/dist/theme-chalk/cascader/cascader-panel.scss +0 -184
- package/dist/theme-chalk/cascader/cascader.scss +0 -239
- package/dist/theme-chalk/cascader/index.scss +0 -2
- package/dist/theme-chalk/checkbox/index.scss +0 -255
- package/dist/theme-chalk/checkbox-button/index.scss +0 -117
- package/dist/theme-chalk/checkbox-group/index.scss +0 -33
- package/dist/theme-chalk/col/_mixins.scss +0 -62
- package/dist/theme-chalk/col/index.scss +0 -50
- package/dist/theme-chalk/collapse/index.scss +0 -84
- package/dist/theme-chalk/color-picker/index.scss +0 -340
- package/dist/theme-chalk/common/_var.scss +0 -6
- package/dist/theme-chalk/common/index.d.ts +0 -1
- package/dist/theme-chalk/common/index.js +0 -1
- package/dist/theme-chalk/common/index.scss +0 -222
- package/dist/theme-chalk/date-picker/index.scss +0 -253
- package/dist/theme-chalk/date-time-picker/index.scss +0 -3
- package/dist/theme-chalk/date-time-picker/time-picker.scss +0 -83
- package/dist/theme-chalk/date-time-picker/time-range-picker.scss +0 -32
- package/dist/theme-chalk/descriptions/descriptions-item.scss +0 -66
- package/dist/theme-chalk/descriptions/descriptions.scss +0 -160
- package/dist/theme-chalk/descriptions/index.scss +0 -2
- package/dist/theme-chalk/dev.scss +0 -2
- package/dist/theme-chalk/dialog/index.scss +0 -190
- package/dist/theme-chalk/display.scss +0 -46
- package/dist/theme-chalk/divider/index.scss +0 -51
- package/dist/theme-chalk/doc.scss +0 -2
- package/dist/theme-chalk/drawer/index.scss +0 -250
- package/dist/theme-chalk/dropdown/index.scss +0 -147
- package/dist/theme-chalk/empty/index.scss +0 -69
- package/dist/theme-chalk/fonts/fa-brands-400.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-brands-400.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-duotone-900.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-light-300.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-light-300.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-regular-400.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-regular-400.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-solid-900.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-solid-900.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-thin-100.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-thin-100.woff2 +0 -0
- package/dist/theme-chalk/fonts/fa-v4compatibility.ttf +0 -0
- package/dist/theme-chalk/fonts/fa-v4compatibility.woff2 +0 -0
- package/dist/theme-chalk/form/index.scss +0 -378
- package/dist/theme-chalk/icon/fonts.scss +0 -9
- package/dist/theme-chalk/icon/index.scss +0 -44
- package/dist/theme-chalk/icon/scss/_animated.scss +0 -205
- package/dist/theme-chalk/icon/scss/_bordered-pulled.scss +0 -20
- package/dist/theme-chalk/icon/scss/_core.scss +0 -33
- package/dist/theme-chalk/icon/scss/_duotone-icons.scss +0 -12
- package/dist/theme-chalk/icon/scss/_fixed-width.scss +0 -7
- package/dist/theme-chalk/icon/scss/_functions.scss +0 -57
- package/dist/theme-chalk/icon/scss/_icons.scss +0 -11
- package/dist/theme-chalk/icon/scss/_list.scss +0 -20
- package/dist/theme-chalk/icon/scss/_mixins.scss +0 -102
- package/dist/theme-chalk/icon/scss/_rotated-flipped.scss +0 -31
- package/dist/theme-chalk/icon/scss/_screen-reader.scss +0 -14
- package/dist/theme-chalk/icon/scss/_shims.scss +0 -2606
- package/dist/theme-chalk/icon/scss/_sizing.scss +0 -16
- package/dist/theme-chalk/icon/scss/_stacked.scss +0 -32
- package/dist/theme-chalk/icon/scss/_variables.scss +0 -9189
- package/dist/theme-chalk/icon/scss/brands.scss +0 -27
- package/dist/theme-chalk/icon/scss/duotone.scss +0 -72
- package/dist/theme-chalk/icon/scss/fontawesome.scss +0 -13
- package/dist/theme-chalk/icon/scss/index.scss +0 -15
- package/dist/theme-chalk/icon/scss/light.scss +0 -21
- package/dist/theme-chalk/icon/scss/regular.scss +0 -21
- package/dist/theme-chalk/icon/scss/solid.scss +0 -21
- package/dist/theme-chalk/icon/scss/thin.scss +0 -21
- package/dist/theme-chalk/icon/scss/v4-shims.scss +0 -3
- package/dist/theme-chalk/index.scss +0 -67
- package/dist/theme-chalk/input/_mixins.scss +0 -16
- package/dist/theme-chalk/input/index.scss +0 -3
- package/dist/theme-chalk/input/input-range.scss +0 -208
- package/dist/theme-chalk/input/input.scss +0 -577
- package/dist/theme-chalk/input-number/index.scss +0 -172
- package/dist/theme-chalk/link/index.scss +0 -99
- package/dist/theme-chalk/loading/index.scss +0 -94
- package/dist/theme-chalk/message/index.scss +0 -169
- package/dist/theme-chalk/message-box/index.scss +0 -184
- package/dist/theme-chalk/notification/index.scss +0 -155
- package/dist/theme-chalk/pagination/index.scss +0 -515
- package/dist/theme-chalk/placeholder/index.scss +0 -135
- package/dist/theme-chalk/popconfirm/index.scss +0 -35
- package/dist/theme-chalk/popover/index.scss +0 -54
- package/dist/theme-chalk/popper/index.scss +0 -86
- package/dist/theme-chalk/progress/index.scss +0 -155
- package/dist/theme-chalk/radio/index.scss +0 -2
- package/dist/theme-chalk/radio/radio-button.scss +0 -128
- package/dist/theme-chalk/radio/radio.scss +0 -171
- package/dist/theme-chalk/radio-group/index.scss +0 -31
- package/dist/theme-chalk/row/index.scss +0 -30
- package/dist/theme-chalk/scrollbar/index.scss +0 -103
- package/dist/theme-chalk/select/index.scss +0 -244
- package/dist/theme-chalk/select/option-group.scss +0 -54
- package/dist/theme-chalk/select/option.scss +0 -63
- package/dist/theme-chalk/select/select-dropdown.scss +0 -57
- package/dist/theme-chalk/switch/index.scss +0 -273
- package/dist/theme-chalk/table/index.scss +0 -714
- package/dist/theme-chalk/tabs/index.scss +0 -620
- package/dist/theme-chalk/tag/index.scss +0 -360
- package/dist/theme-chalk/time-line/_timeline-item.scss +0 -90
- package/dist/theme-chalk/time-line/_timeline.scss +0 -50
- package/dist/theme-chalk/time-line/index.scss +0 -2
- package/dist/theme-chalk/time-picker/index.scss +0 -109
- package/dist/theme-chalk/tooltip/index.scss +0 -13
- package/dist/theme-chalk/transfer/index.scss +0 -247
- package/dist/theme-chalk/transition/index.scss +0 -756
- package/dist/theme-chalk/tree/_directory.scss +0 -73
- package/dist/theme-chalk/tree/_tree.scss +0 -401
- package/dist/theme-chalk/tree/index.scss +0 -2
- package/dist/theme-chalk/tree-select/index.scss +0 -25
- package/dist/theme-chalk/upload/index.scss +0 -631
package/dist/index.d.ts
CHANGED
|
@@ -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
|
@@ -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 {
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
.#{$namespace}-message {
|
|
11
11
|
min-width: 380px;
|
|
12
|
+
width: fit-content;
|
|
13
|
+
max-width: calc(100% - 32px);
|
|
12
14
|
box-sizing: border-box;
|
|
13
15
|
border-radius: 4px;
|
|
14
16
|
border-width: 1px;
|
|
@@ -21,8 +23,8 @@
|
|
|
21
23
|
background-color: var(--#{$namespace}-message-bg-color);
|
|
22
24
|
color: var(--#{$namespace}-message-text-color);
|
|
23
25
|
transition: opacity 0.3s, transform 0.4s, top 0.4s;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
padding: 15px
|
|
26
|
+
// overflow: hidden;
|
|
27
|
+
padding: 15px 19px;
|
|
26
28
|
display: flex;
|
|
27
29
|
align-items: center;
|
|
28
30
|
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
|
|
33
35
|
&.is-closable {
|
|
34
36
|
.#{$namespace}-message__content {
|
|
35
|
-
padding-right:
|
|
37
|
+
padding-right: 31px;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -159,6 +161,12 @@
|
|
|
159
161
|
font-weight: bold;
|
|
160
162
|
}
|
|
161
163
|
}
|
|
164
|
+
|
|
165
|
+
.#{$namespace}-message__badge {
|
|
166
|
+
position: absolute;
|
|
167
|
+
top: -8px;
|
|
168
|
+
right: -8px;
|
|
169
|
+
}
|
|
162
170
|
}
|
|
163
171
|
|
|
164
172
|
.#{$namespace}-fade-enter-from,
|
|
@@ -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
|
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@use '../common/var';
|
|
2
|
-
|
|
3
|
-
.#{$namespace}-avatar {
|
|
4
|
-
--#{$namespace}-avatar-text-color: var(--#{$namespace}-color-white);
|
|
5
|
-
--#{$namespace}-avatar-bg-color: var(--#{$namespace}-text-color-disabled);
|
|
6
|
-
--#{$namespace}-avatar-text-size: 14px;
|
|
7
|
-
--#{$namespace}-avatar-icon-size: 18px;
|
|
8
|
-
--#{$namespace}-avatar-border-radius: var(--#{$namespace}-border-radius-base);
|
|
9
|
-
--#{$namespace}-avatar-size-large: 56px;
|
|
10
|
-
--#{$namespace}-avatar-size-small: 24px;
|
|
11
|
-
--#{$namespace}-avatar-size: 40px;
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
text-align: center;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
outline: none;
|
|
19
|
-
color: var(--#{$namespace}-avatar-text-color);
|
|
20
|
-
background: var(--#{$namespace}-avatar-bg-color);
|
|
21
|
-
width: var(--#{$namespace}-avatar-size);
|
|
22
|
-
height: var(--#{$namespace}-avatar-size);
|
|
23
|
-
font-size: var(--#{$namespace}-avatar-text-size);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.#{$namespace}-avatar > img {
|
|
27
|
-
display: block;
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: 100%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.#{$namespace}-avatar--circle {
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.#{$namespace}-avatar--square {
|
|
37
|
-
border-radius: var(--#{$namespace}-avatar-border-radius);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.#{$namespace}-avatar--icon {
|
|
41
|
-
font-size: var(--#{$namespace}-avatar-icon-size);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.#{$namespace}-avatar--small {
|
|
45
|
-
--#{$namespace}-avatar-size: 24px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.#{$namespace}-avatar--large {
|
|
49
|
-
--#{$namespace}-avatar-size: 56px;
|
|
50
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
@use '../common/var';
|
|
2
|
-
|
|
3
|
-
@use 'sass:math';
|
|
4
|
-
@use 'sass:map';
|
|
5
|
-
|
|
6
|
-
.#{$namespace}-badge {
|
|
7
|
-
--#{$namespace}-badge-bg-color: var(--#{$namespace}-color-error);
|
|
8
|
-
--#{$namespace}-badge-radius: 10px;
|
|
9
|
-
--#{$namespace}-badge-font-size: 12px;
|
|
10
|
-
--#{$namespace}-badge-padding: 6px;
|
|
11
|
-
--#{$namespace}-badge-size: 18px;
|
|
12
|
-
|
|
13
|
-
position: relative;
|
|
14
|
-
vertical-align: middle;
|
|
15
|
-
display: inline-block;
|
|
16
|
-
width: fit-content;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.#{$namespace}-badge__content {
|
|
20
|
-
background-color: var(--#{$namespace}-badge-bg-color);
|
|
21
|
-
border-radius: var(--#{$namespace}-badge-radius);
|
|
22
|
-
color: var(--#{$namespace}-color-white);
|
|
23
|
-
|
|
24
|
-
display: inline-flex;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
|
|
28
|
-
font-size: var(--#{$namespace}-badge-font-size);
|
|
29
|
-
height: var(--#{$namespace}-badge-size);
|
|
30
|
-
padding: 0 var(--#{$namespace}-badge-padding);
|
|
31
|
-
white-space: nowrap;
|
|
32
|
-
border: 1px solid var(--#{$namespace}-bg-color);
|
|
33
|
-
|
|
34
|
-
&.is-fixed {
|
|
35
|
-
position: absolute;
|
|
36
|
-
top: 0;
|
|
37
|
-
right: calc(1px + #{var(--#{$namespace}-badge-size)} / 2);
|
|
38
|
-
transform: translateY(-50%) translateX(100%);
|
|
39
|
-
z-index: 1;
|
|
40
|
-
|
|
41
|
-
&.is-dot {
|
|
42
|
-
right: 5px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.is-dot {
|
|
47
|
-
height: 8px;
|
|
48
|
-
width: 8px;
|
|
49
|
-
padding: 0;
|
|
50
|
-
right: 0;
|
|
51
|
-
border-radius: 50%;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.#{$namespace}-badge__content--primary {
|
|
56
|
-
background-color: var(--#{$namespace}-color-primary);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@each $type in (success, warning, info, error) {
|
|
60
|
-
.#{$namespace}-badge__content--#{$type} {
|
|
61
|
-
background-color: var(--#{$namespace}-color-#{$type});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
@use '../common/var';
|
|
2
|
-
|
|
3
|
-
.#{$namespace}-breadcrumb {
|
|
4
|
-
font-size: 14px;
|
|
5
|
-
line-height: 1;
|
|
6
|
-
|
|
7
|
-
&::before,
|
|
8
|
-
&::after {
|
|
9
|
-
display: table;
|
|
10
|
-
content: '';
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.#{$namespace}-breadcrumb__separator {
|
|
15
|
-
margin: 0 9px;
|
|
16
|
-
font-weight: bold;
|
|
17
|
-
color: var(--#{$namespace}-text-color-placeholder);
|
|
18
|
-
|
|
19
|
-
&.#{$namespace}-icon {
|
|
20
|
-
margin: 0 6px;
|
|
21
|
-
font-weight: normal;
|
|
22
|
-
svg {
|
|
23
|
-
vertical-align: middle;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.#{$namespace}-breadcrumb__item {
|
|
29
|
-
float: left;
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
|
|
33
|
-
&:last-child {
|
|
34
|
-
.#{$namespace}-breadcrumb__inner:not(.is-link),
|
|
35
|
-
.#{$namespace}-breadcrumb__inner:not(.is-link) a {
|
|
36
|
-
&,
|
|
37
|
-
&:hover {
|
|
38
|
-
font-weight: normal;
|
|
39
|
-
color: var(--#{$namespace}-text-color-regular);
|
|
40
|
-
cursor: text;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.#{$namespace}-breadcrumb__separator {
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.#{$namespace}-breadcrumb__inner {
|
|
51
|
-
color: var(--#{$namespace}-text-color-regular);
|
|
52
|
-
|
|
53
|
-
&.is-link,
|
|
54
|
-
& a {
|
|
55
|
-
font-weight: bold;
|
|
56
|
-
text-decoration: none;
|
|
57
|
-
transition: var(--#{$namespace}-transition-color);
|
|
58
|
-
color: var(--#{$namespace}-text-color-primary);
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
color: var(--#{$namespace}-color-primary);
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|