@qsxy/element-plus-react 1.0.0-next.11 → 1.0.0-next.13

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.
Files changed (177) hide show
  1. package/dist/Avatar/Avatar.d.ts +2 -2
  2. package/dist/Avatar/Avatar.js +13 -6
  3. package/dist/Badge/Badge.d.ts +1 -1
  4. package/dist/Badge/Badge.js +15 -3
  5. package/dist/Checkbox/Checkbox.js +14 -12
  6. package/dist/Checkbox/CheckboxButton.js +15 -14
  7. package/dist/Checkbox/typings.d.ts +2 -1
  8. package/dist/Dropdown/Dropdown.d.ts +3 -3
  9. package/dist/Dropdown/Dropdown.js +20 -6
  10. package/dist/Dropdown/typings.d.ts +8 -1
  11. package/dist/Input/Input.js +3 -2
  12. package/dist/Input/typings.d.ts +1 -1
  13. package/dist/InputNumber/InputNumber.d.ts +2 -2
  14. package/dist/InputNumber/InputNumber.js +10 -5
  15. package/dist/Loading/Loading.d.ts +7 -2
  16. package/dist/Loading/Loading.js +108 -57
  17. package/dist/Loading/typings.d.ts +7 -1
  18. package/dist/Message/Main.d.ts +0 -7
  19. package/dist/Message/Main.js +0 -7
  20. package/dist/Message/Message.d.ts +2 -2
  21. package/dist/Message/Message.js +4 -3
  22. package/dist/Message/index.d.ts +0 -8
  23. package/dist/Message/index.js +5 -9
  24. package/dist/MessageBox/MessageBox.js +2 -1
  25. package/dist/MessageBox/index.d.ts +5 -5
  26. package/dist/MessageBox/index.js +1 -0
  27. package/dist/Notification/Main.d.ts +0 -7
  28. package/dist/Notification/Main.js +0 -7
  29. package/dist/Popover/Popover.d.ts +3 -2
  30. package/dist/Popover/Popover.js +10 -5
  31. package/dist/Popover/typings.d.ts +0 -1
  32. package/dist/Radio/Radio.js +14 -10
  33. package/dist/Radio/RadioButton.d.ts +2 -2
  34. package/dist/Radio/RadioButton.js +14 -4
  35. package/dist/Radio/typings.d.ts +2 -1
  36. package/dist/Switch/Switch.js +9 -3
  37. package/dist/Table/Table.d.ts +0 -1
  38. package/dist/Table/Table.js +1 -1
  39. package/dist/Table/hooks/useSelection.d.ts +1 -1
  40. package/dist/Tag/Tag.js +19 -8
  41. package/dist/TimePicker/TimeSpinnerPanel.js +5 -5
  42. package/dist/Tooltip/Tooltip.d.ts +3 -3
  43. package/dist/Tooltip/Tooltip.js +6 -6
  44. package/dist/Upload/use-handlers.d.ts +1 -1
  45. package/dist/index.css +1 -1
  46. package/package.json +1 -1
  47. package/theme-chalk/message/index.scss +11 -3
  48. package/dist/theme-chalk/avatar/index.scss +0 -50
  49. package/dist/theme-chalk/badge/index.scss +0 -63
  50. package/dist/theme-chalk/breadcrumb/index.scss +0 -65
  51. package/dist/theme-chalk/build.scss +0 -2
  52. package/dist/theme-chalk/button/_mixins.scss +0 -317
  53. package/dist/theme-chalk/button/button-group.scss +0 -83
  54. package/dist/theme-chalk/button/button.scss +0 -382
  55. package/dist/theme-chalk/button/index.scss +0 -2
  56. package/dist/theme-chalk/calendar/date-picker.scss +0 -112
  57. package/dist/theme-chalk/calendar/date-range-picker.scss +0 -139
  58. package/dist/theme-chalk/calendar/date-table.scss +0 -156
  59. package/dist/theme-chalk/calendar/index.scss +0 -6
  60. package/dist/theme-chalk/calendar/month-table.scss +0 -92
  61. package/dist/theme-chalk/calendar/picker-panel.scss +0 -136
  62. package/dist/theme-chalk/calendar/year-table.scss +0 -107
  63. package/dist/theme-chalk/card/index.scss +0 -44
  64. package/dist/theme-chalk/carousel/index.scss +0 -237
  65. package/dist/theme-chalk/cascader/cascader-panel.scss +0 -184
  66. package/dist/theme-chalk/cascader/cascader.scss +0 -239
  67. package/dist/theme-chalk/cascader/index.scss +0 -2
  68. package/dist/theme-chalk/checkbox/index.scss +0 -255
  69. package/dist/theme-chalk/checkbox-button/index.scss +0 -117
  70. package/dist/theme-chalk/checkbox-group/index.scss +0 -33
  71. package/dist/theme-chalk/col/_mixins.scss +0 -62
  72. package/dist/theme-chalk/col/index.scss +0 -50
  73. package/dist/theme-chalk/collapse/index.scss +0 -84
  74. package/dist/theme-chalk/color-picker/index.scss +0 -340
  75. package/dist/theme-chalk/common/_var.scss +0 -6
  76. package/dist/theme-chalk/common/index.d.ts +0 -1
  77. package/dist/theme-chalk/common/index.js +0 -1
  78. package/dist/theme-chalk/common/index.scss +0 -222
  79. package/dist/theme-chalk/date-picker/index.scss +0 -253
  80. package/dist/theme-chalk/date-time-picker/index.scss +0 -3
  81. package/dist/theme-chalk/date-time-picker/time-picker.scss +0 -83
  82. package/dist/theme-chalk/date-time-picker/time-range-picker.scss +0 -32
  83. package/dist/theme-chalk/descriptions/descriptions-item.scss +0 -66
  84. package/dist/theme-chalk/descriptions/descriptions.scss +0 -160
  85. package/dist/theme-chalk/descriptions/index.scss +0 -2
  86. package/dist/theme-chalk/dev.scss +0 -2
  87. package/dist/theme-chalk/dialog/index.scss +0 -190
  88. package/dist/theme-chalk/display.scss +0 -46
  89. package/dist/theme-chalk/divider/index.scss +0 -51
  90. package/dist/theme-chalk/doc.scss +0 -2
  91. package/dist/theme-chalk/drawer/index.scss +0 -250
  92. package/dist/theme-chalk/dropdown/index.scss +0 -147
  93. package/dist/theme-chalk/empty/index.scss +0 -69
  94. package/dist/theme-chalk/fonts/fa-brands-400.ttf +0 -0
  95. package/dist/theme-chalk/fonts/fa-brands-400.woff2 +0 -0
  96. package/dist/theme-chalk/fonts/fa-duotone-900.ttf +0 -0
  97. package/dist/theme-chalk/fonts/fa-duotone-900.woff2 +0 -0
  98. package/dist/theme-chalk/fonts/fa-light-300.ttf +0 -0
  99. package/dist/theme-chalk/fonts/fa-light-300.woff2 +0 -0
  100. package/dist/theme-chalk/fonts/fa-regular-400.ttf +0 -0
  101. package/dist/theme-chalk/fonts/fa-regular-400.woff2 +0 -0
  102. package/dist/theme-chalk/fonts/fa-solid-900.ttf +0 -0
  103. package/dist/theme-chalk/fonts/fa-solid-900.woff2 +0 -0
  104. package/dist/theme-chalk/fonts/fa-thin-100.ttf +0 -0
  105. package/dist/theme-chalk/fonts/fa-thin-100.woff2 +0 -0
  106. package/dist/theme-chalk/fonts/fa-v4compatibility.ttf +0 -0
  107. package/dist/theme-chalk/fonts/fa-v4compatibility.woff2 +0 -0
  108. package/dist/theme-chalk/form/index.scss +0 -378
  109. package/dist/theme-chalk/icon/fonts.scss +0 -9
  110. package/dist/theme-chalk/icon/index.scss +0 -44
  111. package/dist/theme-chalk/icon/scss/_animated.scss +0 -205
  112. package/dist/theme-chalk/icon/scss/_bordered-pulled.scss +0 -20
  113. package/dist/theme-chalk/icon/scss/_core.scss +0 -33
  114. package/dist/theme-chalk/icon/scss/_duotone-icons.scss +0 -12
  115. package/dist/theme-chalk/icon/scss/_fixed-width.scss +0 -7
  116. package/dist/theme-chalk/icon/scss/_functions.scss +0 -57
  117. package/dist/theme-chalk/icon/scss/_icons.scss +0 -11
  118. package/dist/theme-chalk/icon/scss/_list.scss +0 -20
  119. package/dist/theme-chalk/icon/scss/_mixins.scss +0 -102
  120. package/dist/theme-chalk/icon/scss/_rotated-flipped.scss +0 -31
  121. package/dist/theme-chalk/icon/scss/_screen-reader.scss +0 -14
  122. package/dist/theme-chalk/icon/scss/_shims.scss +0 -2606
  123. package/dist/theme-chalk/icon/scss/_sizing.scss +0 -16
  124. package/dist/theme-chalk/icon/scss/_stacked.scss +0 -32
  125. package/dist/theme-chalk/icon/scss/_variables.scss +0 -9189
  126. package/dist/theme-chalk/icon/scss/brands.scss +0 -27
  127. package/dist/theme-chalk/icon/scss/duotone.scss +0 -72
  128. package/dist/theme-chalk/icon/scss/fontawesome.scss +0 -13
  129. package/dist/theme-chalk/icon/scss/index.scss +0 -15
  130. package/dist/theme-chalk/icon/scss/light.scss +0 -21
  131. package/dist/theme-chalk/icon/scss/regular.scss +0 -21
  132. package/dist/theme-chalk/icon/scss/solid.scss +0 -21
  133. package/dist/theme-chalk/icon/scss/thin.scss +0 -21
  134. package/dist/theme-chalk/icon/scss/v4-shims.scss +0 -3
  135. package/dist/theme-chalk/index.scss +0 -67
  136. package/dist/theme-chalk/input/_mixins.scss +0 -16
  137. package/dist/theme-chalk/input/index.scss +0 -3
  138. package/dist/theme-chalk/input/input-range.scss +0 -208
  139. package/dist/theme-chalk/input/input.scss +0 -577
  140. package/dist/theme-chalk/input-number/index.scss +0 -172
  141. package/dist/theme-chalk/link/index.scss +0 -99
  142. package/dist/theme-chalk/loading/index.scss +0 -94
  143. package/dist/theme-chalk/message/index.scss +0 -169
  144. package/dist/theme-chalk/message-box/index.scss +0 -184
  145. package/dist/theme-chalk/notification/index.scss +0 -155
  146. package/dist/theme-chalk/pagination/index.scss +0 -515
  147. package/dist/theme-chalk/placeholder/index.scss +0 -135
  148. package/dist/theme-chalk/popconfirm/index.scss +0 -35
  149. package/dist/theme-chalk/popover/index.scss +0 -54
  150. package/dist/theme-chalk/popper/index.scss +0 -86
  151. package/dist/theme-chalk/progress/index.scss +0 -155
  152. package/dist/theme-chalk/radio/index.scss +0 -2
  153. package/dist/theme-chalk/radio/radio-button.scss +0 -128
  154. package/dist/theme-chalk/radio/radio.scss +0 -171
  155. package/dist/theme-chalk/radio-group/index.scss +0 -31
  156. package/dist/theme-chalk/row/index.scss +0 -30
  157. package/dist/theme-chalk/scrollbar/index.scss +0 -103
  158. package/dist/theme-chalk/select/index.scss +0 -244
  159. package/dist/theme-chalk/select/option-group.scss +0 -54
  160. package/dist/theme-chalk/select/option.scss +0 -63
  161. package/dist/theme-chalk/select/select-dropdown.scss +0 -57
  162. package/dist/theme-chalk/switch/index.scss +0 -273
  163. package/dist/theme-chalk/table/index.scss +0 -714
  164. package/dist/theme-chalk/tabs/index.scss +0 -620
  165. package/dist/theme-chalk/tag/index.scss +0 -360
  166. package/dist/theme-chalk/time-line/_timeline-item.scss +0 -90
  167. package/dist/theme-chalk/time-line/_timeline.scss +0 -50
  168. package/dist/theme-chalk/time-line/index.scss +0 -2
  169. package/dist/theme-chalk/time-picker/index.scss +0 -109
  170. package/dist/theme-chalk/tooltip/index.scss +0 -13
  171. package/dist/theme-chalk/transfer/index.scss +0 -247
  172. package/dist/theme-chalk/transition/index.scss +0 -756
  173. package/dist/theme-chalk/tree/_directory.scss +0 -73
  174. package/dist/theme-chalk/tree/_tree.scss +0 -401
  175. package/dist/theme-chalk/tree/index.scss +0 -2
  176. package/dist/theme-chalk/tree-select/index.scss +0 -25
  177. package/dist/theme-chalk/upload/index.scss +0 -631
@@ -1,69 +0,0 @@
1
- @use '../common/var';
2
-
3
- .#{$namespace}-empty {
4
- --#{$namespace}-empty-fill-color-0: var(--#{$namespace}-color-white);
5
- --#{$namespace}-empty-fill-color-1: #fcfcfd;
6
- --#{$namespace}-empty-fill-color-2: #f8f9fb;
7
- --#{$namespace}-empty-fill-color-3: #f7f8fc;
8
- --#{$namespace}-empty-fill-color-4: #eeeff3;
9
- --#{$namespace}-empty-fill-color-5: #edeef2;
10
- --#{$namespace}-empty-fill-color-6: #e9ebef;
11
- --#{$namespace}-empty-fill-color-7: #e5e7e9;
12
- --#{$namespace}-empty-fill-color-8: #e0e3e9;
13
- --#{$namespace}-empty-fill-color-9: #d5d7de;
14
- display: flex;
15
- justify-content: center;
16
- align-items: center;
17
- flex-direction: column;
18
- text-align: center;
19
- box-sizing: border-box;
20
- padding: 40px 0;
21
-
22
- &__image {
23
- width: 160px;
24
-
25
- img {
26
- user-select: none;
27
- width: 100%;
28
- height: 100%;
29
- vertical-align: top;
30
- object-fit: contain;
31
- }
32
-
33
- svg {
34
- fill: var(--#{$namespace}-svg-monochrome-grey);
35
- width: 100%;
36
- height: 100%;
37
- vertical-align: top;
38
- }
39
- }
40
-
41
- &__description {
42
- margin-top: 20px;
43
-
44
- & > p {
45
- margin: 0 !important;
46
- font-size: 14px;
47
- color: var(--#{$namespace}-text-color-placeholder);
48
- }
49
- }
50
-
51
- &__bottom {
52
- margin-top: 20px;
53
- }
54
- }
55
-
56
- .is-dark {
57
- .#{$namespace}-empty {
58
- --#{$namespace}-empty-fill-color-0: var(--#{$namespace}-color-black);
59
- --#{$namespace}-empty-fill-color-1: #4b4b52;
60
- --#{$namespace}-empty-fill-color-2: #36383d;
61
- --#{$namespace}-empty-fill-color-3: #1e1e20;
62
- --#{$namespace}-empty-fill-color-4: #262629;
63
- --#{$namespace}-empty-fill-color-5: #202124;
64
- --#{$namespace}-empty-fill-color-6: #212224;
65
- --#{$namespace}-empty-fill-color-7: #1b1c1f;
66
- --#{$namespace}-empty-fill-color-8: #1c1d1f;
67
- --#{$namespace}-empty-fill-color-9: #18181a;
68
- }
69
- }
@@ -1,378 +0,0 @@
1
- @use '../common/var';
2
-
3
- @use 'sass:map';
4
-
5
- $form-item-margin-bottom: () !default;
6
- $form-item-margin-bottom: map.merge(
7
- (
8
- 'large': 22px,
9
- 'default': 18px,
10
- 'small': 12px,
11
- ),
12
- $form-item-margin-bottom
13
- );
14
-
15
- $form-item-line-height: () !default;
16
- $form-item-line-height: map.merge(
17
- (
18
- 'large': var(--#{$namespace}-component-size-large),
19
- 'default': 32px,
20
- 'small': var(--#{$namespace}-component-size-small),
21
- ),
22
- $form-item-line-height
23
- );
24
-
25
- $form-item-error-padding-top: () !default;
26
- $form-item-error-padding-top: map.merge(
27
- (
28
- 'large': 4px,
29
- 'default': 2px,
30
- 'small': 2px,
31
- ),
32
- $form-item-error-padding-top
33
- );
34
-
35
- $form-item-label-top-line-height: () !default;
36
- $form-item-label-top-line-height: map.merge(
37
- (
38
- 'large': 22px,
39
- 'default': 22px,
40
- 'small': 20px,
41
- ),
42
- $form-item-label-top-line-height
43
- );
44
-
45
- $form-item-label-top-margin-bottom: () !default;
46
- $form-item-label-top-margin-bottom: map.merge(
47
- (
48
- 'large': 12px,
49
- 'default': 8px,
50
- 'small': 4px,
51
- ),
52
- $form-item-label-top-margin-bottom
53
- );
54
-
55
- $--label-width: 100px;
56
- $--gorup-item-width: 400px;
57
-
58
- .#{$namespace}-form {
59
- --#{$namespace}-form-label-font-size: 14px;
60
-
61
- @each $size in (large, default, small) {
62
- .#{$namespace}-form--#{$size} {
63
- &.#{$namespace}-form--label-top {
64
- .#{$namespace}-form-item {
65
- .#{$namespace}-form-item__label {
66
- margin-bottom: #{map.get($form-item-label-top-margin-bottom, $size)};
67
- line-height: #{map.get($form-item-label-top-line-height, $size)};
68
- }
69
- }
70
- }
71
- }
72
- }
73
- }
74
-
75
- .#{$namespace}-form--label-left {
76
- // margin: 0 auto;
77
-
78
- .#{$namespace}-form-item__label {
79
- justify-content: flex-start;
80
- }
81
- }
82
-
83
- // 文字在上表单布局
84
- .#{$namespace}-form--label-top {
85
- // margin: 0 auto;
86
-
87
- .#{$namespace}-form-item {
88
- display: block;
89
- }
90
-
91
- .#{$namespace}-form-item__label {
92
- display: block;
93
- height: auto;
94
- text-align: left;
95
- margin-bottom: #{map.get($form-item-label-top-margin-bottom, 'default')};
96
- line-height: #{map.get($form-item-label-top-line-height, 'default')};
97
- }
98
-
99
- // .#{$namespace}-form-item {
100
- // &.pure-content {
101
- // .#{$namespace}-form-item__content {
102
- // margin-left: 0px;
103
- // // margin-top: 32px;
104
- // }
105
- // }
106
- // }
107
-
108
- &.is-flat {
109
- .#{$namespace}-form-item {
110
- display: inline-block;
111
- padding-right: 16px;
112
- width: 100%;
113
- vertical-align: top;
114
- }
115
- }
116
- }
117
-
118
- // 内联表单
119
- .#{$namespace}-form--inline {
120
- display: flex;
121
- flex-wrap: wrap;
122
-
123
- // 多行form对齐label
124
- &.#{$namespace}-form--label-width {
125
- .#{$namespace}-form-item__label {
126
- min-width: 100px;
127
- }
128
- }
129
-
130
- .#{$namespace}-form-item {
131
- display: inline-flex;
132
- display: inline-block\0;
133
- margin-right: 16px;
134
- margin-bottom: 15px;
135
- vertical-align: top;
136
-
137
- &::before {
138
- display: table;
139
- content: '';
140
- }
141
-
142
- &:last-child {
143
- margin-right: 0;
144
- }
145
- }
146
-
147
- .#{$namespace}-form-item__label {
148
- float: none;
149
- display: inline-block;
150
- padding-right: 12px;
151
- // min-width: 68px;
152
- max-width: 200px;
153
- overflow: hidden;
154
- white-space: nowrap;
155
- text-overflow: ellipsis;
156
- margin-left: 0;
157
- margin-bottom: 0px;
158
- text-align: left;
159
- }
160
-
161
- .#{$namespace}-form-item__content {
162
- display: inline-block;
163
- vertical-align: top;
164
-
165
- // button {
166
- // min-width: 100px;
167
- // }
168
-
169
- & > .#{$namespace}-input,
170
- & > .#{$namespace}-select {
171
- width: 140px;
172
- }
173
-
174
- & > .#{$namespace}-input-group.#{$namespace}-input-group--append,
175
- & > .#{$namespace}-input-group.#{$namespace}-input-group--prepend {
176
- & > .#{$namespace}-input__wrapper,
177
- & > .#{$namespace}-select {
178
- width: 140px;
179
- min-width: 0; //火狐兼容
180
-
181
- &.#{$namespace}-range-editor {
182
- width: 250px;
183
- }
184
- }
185
- }
186
- }
187
- }
188
-
189
- // 文字在右表单布局
190
- .#{$namespace}-form--label-right {
191
- // margin: 0 auto;
192
-
193
- .#{$namespace}-form-item__label {
194
- // width: 120px;
195
- white-space: nowrap;
196
- overflow: hidden;
197
- text-overflow: ellipsis;
198
- }
199
-
200
- // &.is-flat {
201
- // .#{$namespace}-form-item {
202
- // display: inline-block;
203
- // padding-right: 16px;
204
- // width: 100%;
205
- // vertical-align: top;
206
- // }
207
- // }
208
- }
209
-
210
- // 表单单项
211
- .#{$namespace}-form-item {
212
- display: flex;
213
- margin-bottom: #{map.get($form-item-margin-bottom, 'default')};
214
-
215
- .#{$namespace}-form-item {
216
- margin-bottom: 0;
217
- }
218
-
219
- .#{$namespace}-input__validateIcon {
220
- display: none;
221
- }
222
-
223
- &.is-required {
224
- &:not(.is-no-asterisk).asterisk-left > .el-form-item__label:before,
225
- &:not(.is-no-asterisk).asterisk-left > .el-form-item__label-wrap > .el-form-item__label:before {
226
- content: '*';
227
- color: var(--el-color-danger);
228
- margin-right: 4px;
229
- }
230
-
231
- &:not(.is-no-asterisk).asterisk-right > .el-form-item__label:after,
232
- &:not(.is-no-asterisk).asterisk-right > .el-form-item__label-wrap > .el-form-item__label:after {
233
- content: '*';
234
- color: var(--el-color-danger);
235
- margin-left: 4px;
236
- }
237
- }
238
-
239
- &.#{$namespace}-form-item--label-top {
240
- display: block;
241
- }
242
- }
243
-
244
- @each $size in (large, default, small) {
245
- .#{$namespace}-form-item--#{$size} {
246
- margin-bottom: #{map.get($form-item-margin-bottom, $size)};
247
-
248
- .#{$namespace}-form-item__label {
249
- height: #{map.get($form-item-line-height, $size)};
250
- line-height: #{map.get($form-item-line-height, $size)};
251
- }
252
- .#{$namespace}-form-item__content {
253
- line-height: #{map.get($form-item-line-height, $size)};
254
- }
255
- .#{$namespace}-form-item__error {
256
- padding-top: #{map.get($form-item-error-padding-top, $size)};
257
- }
258
- .#{$namespace}-form-item__warning {
259
- padding-top: #{map.get($form-item-error-padding-top, $size)};
260
- }
261
- }
262
- }
263
-
264
- .#{$namespace}-form-item__label-wrap {
265
- display: flex;
266
- }
267
-
268
- // 表单标签
269
- .#{$namespace}-form-item__label {
270
- display: inline-flex;
271
- justify-content: flex-end;
272
- align-items: center;
273
-
274
- flex: 0 0 auto;
275
- font-size: 14px;
276
- color: var(--#{$namespace}-text-color-regular);
277
-
278
- height: #{map.get($form-item-line-height, 'default')};
279
- line-height: #{map.get($form-item-line-height, 'default')};
280
-
281
- padding: 0 12px 0 0;
282
- box-sizing: border-box;
283
-
284
- font-weight: normal;
285
- vertical-align: middle;
286
- float: inherit;
287
- cursor: text;
288
-
289
- .#{$namespace}-help-icon {
290
- margin-left: 4px;
291
- color: var(--#{$namespace}-color-info);
292
- cursor: help;
293
- }
294
- }
295
-
296
- .#{$namespace}-form-item__label--help {
297
- margin-left: 5px;
298
- cursor: pointer;
299
- color: var(--#{$namespace}-color-info-light-3);
300
- }
301
-
302
- // 表单内容
303
- .#{$namespace}-form-item__content {
304
- display: flex;
305
- flex-wrap: wrap;
306
- align-items: center;
307
- flex: 1;
308
- font-size: 14px;
309
- font-weight: normal;
310
- line-height: #{map.get($form-item-line-height, 'default')};
311
- position: relative;
312
- min-width: 0;
313
-
314
- .#{$namespace}-input-group {
315
- vertical-align: top;
316
- }
317
-
318
- &::before,
319
- &::after {
320
- display: table;
321
- content: '';
322
- }
323
-
324
- &.is-center {
325
- justify-content: center;
326
- }
327
- }
328
-
329
- .#{$namespace}-form-item__error {
330
- color: var(--#{$namespace}-color-error);
331
- font-size: 12px;
332
- line-height: 1;
333
- padding-top: #{map.get($form-item-error-padding-top, 'default')};
334
- padding-left: 5px;
335
- position: absolute;
336
- top: 100%;
337
- left: 0;
338
-
339
- display: inline-block;
340
- font-weight: normal;
341
-
342
- .#{$namespace}-form-item__error--inline {
343
- position: relative;
344
- top: auto;
345
- left: auto;
346
- display: inline-block;
347
- margin-left: 10px;
348
- }
349
- }
350
-
351
- .#{$namespace}-form-item__warning {
352
- color: var(--#{$namespace}-color-warning);
353
- font-size: 12px;
354
- line-height: 1;
355
- padding-top: #{map.get($form-item-error-padding-top, 'default')};
356
- padding-left: 5px;
357
- position: absolute;
358
- top: 100%;
359
- left: 0;
360
-
361
- display: inline-block;
362
- font-weight: normal;
363
-
364
- .#{$namespace}-form-item__warning--inline {
365
- position: relative;
366
- top: auto;
367
- left: auto;
368
- display: inline-block;
369
- margin-left: 10px;
370
- }
371
- }
372
-
373
- .#{$namespace}-form-item__nostyle {
374
- position: relative;
375
- display: inline-block;
376
- width: 100%;
377
- line-height: 0;
378
- }
@@ -1,9 +0,0 @@
1
- @use '../common/var';
2
- @import './scss/index.scss';
3
- @import './scss/v4-shims.scss';
4
- @import './scss/regular.scss';
5
- @import './scss/light.scss';
6
- @import './scss/thin.scss';
7
- @import './scss/duotone.scss';
8
- @import './scss/brands.scss';
9
- @import './scss/solid.scss';
@@ -1,44 +0,0 @@
1
- @use '../common/var';
2
-
3
- .#{$namespace}-icon-loading {
4
- animation: rotating 2s linear infinite;
5
- }
6
-
7
- .#{$namespace}-icon--right {
8
- margin-left: 5px;
9
- }
10
- .#{$namespace}-icon--left {
11
- margin-right: 5px;
12
- }
13
-
14
- @keyframes rotating {
15
- 0% {
16
- transform: rotateZ(0deg);
17
- }
18
- 100% {
19
- transform: rotateZ(360deg);
20
- }
21
- }
22
-
23
- .#{$namespace}-icon {
24
- --color: inherit;
25
- height: 1em;
26
- width: 1em;
27
- line-height: 1em;
28
- display: inline-flex;
29
- justify-content: center;
30
- align-items: center;
31
- position: relative;
32
- fill: currentColor;
33
- color: var(--color);
34
- // font-size: inherit;
35
-
36
- .is-loading {
37
- animation: rotating 2s linear infinite;
38
- }
39
-
40
- svg {
41
- height: 1em;
42
- width: 1em;
43
- }
44
- }