@aloudata/aloudata-design 0.2.0-beta.4 → 0.2.0-beta.5

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 (83) hide show
  1. package/es/Button/style/index.css +374 -0
  2. package/es/Button/style/index.js +1 -1
  3. package/es/Dropdown/style/index.css +178 -0
  4. package/es/Dropdown/style/index.js +1 -1
  5. package/es/Empty/style/index.css +162 -0
  6. package/es/Empty/style/index.js +1 -1
  7. package/es/Icon/index.css +8 -0
  8. package/es/Input/style/index.css +215 -0
  9. package/es/Input/style/index.js +1 -1
  10. package/es/Menu/style/index.css +208 -0
  11. package/es/Menu/style/index.js +1 -1
  12. package/es/Navigator/style/index.css +328 -0
  13. package/es/Navigator/style/index.js +1 -1
  14. package/es/Select/Selector/index.js +1 -1
  15. package/es/Select/style/index.css +493 -0
  16. package/es/Select/style/index.js +1 -1
  17. package/es/Table/style/index.css +248 -0
  18. package/es/Table/style/index.js +1 -1
  19. package/es/Tabs/style/index.css +194 -0
  20. package/es/Tabs/style/index.js +1 -1
  21. package/es/Tooltip/style/index.css +154 -0
  22. package/es/Tooltip/style/index.js +1 -1
  23. package/es/style/index.css +145 -0
  24. package/es/style/index.js +1 -1
  25. package/es/style/mixins/{index.less → index.css} +0 -0
  26. package/es/style/themes/default/index.css +145 -0
  27. package/es/style/themes/default/themeColor.module.css +145 -0
  28. package/lib/Button/style/index.css +374 -0
  29. package/lib/Button/style/index.js +1 -1
  30. package/lib/Dropdown/style/index.css +178 -0
  31. package/lib/Dropdown/style/index.js +1 -1
  32. package/lib/Empty/style/index.css +162 -0
  33. package/lib/Empty/style/index.js +1 -1
  34. package/lib/Icon/index.css +8 -0
  35. package/lib/Input/style/index.css +215 -0
  36. package/lib/Input/style/index.js +1 -1
  37. package/lib/Menu/style/index.css +208 -0
  38. package/lib/Menu/style/index.js +1 -1
  39. package/lib/Navigator/style/index.css +328 -0
  40. package/lib/Navigator/style/index.js +1 -1
  41. package/lib/Select/Selector/index.js +1 -1
  42. package/lib/Select/style/index.css +493 -0
  43. package/lib/Select/style/index.js +1 -1
  44. package/lib/Table/style/index.css +248 -0
  45. package/lib/Table/style/index.js +1 -1
  46. package/lib/Tabs/style/index.css +194 -0
  47. package/lib/Tabs/style/index.js +1 -1
  48. package/lib/Tooltip/style/index.css +154 -0
  49. package/lib/Tooltip/style/index.js +1 -1
  50. package/lib/style/index.css +145 -0
  51. package/lib/style/index.js +1 -1
  52. package/lib/style/mixins/{index.less → index.css} +0 -0
  53. package/lib/style/themes/default/index.css +145 -0
  54. package/lib/style/themes/default/themeColor.module.css +145 -0
  55. package/package.json +1 -1
  56. package/es/Button/style/index.less +0 -255
  57. package/es/Dropdown/style/index.less +0 -40
  58. package/es/Empty/style/index.less +0 -23
  59. package/es/Icon/index.less +0 -32
  60. package/es/Input/style/index.less +0 -65
  61. package/es/Menu/style/index.less +0 -37
  62. package/es/Navigator/style/index.less +0 -228
  63. package/es/Select/style/index.less +0 -532
  64. package/es/Table/style/index.less +0 -141
  65. package/es/Tabs/style/index.less +0 -61
  66. package/es/Tooltip/style/index.less +0 -14
  67. package/es/style/index.less +0 -3
  68. package/es/style/themes/default/index.less +0 -36
  69. package/es/style/themes/default/themeColor.module.less +0 -259
  70. package/lib/Button/style/index.less +0 -255
  71. package/lib/Dropdown/style/index.less +0 -40
  72. package/lib/Empty/style/index.less +0 -23
  73. package/lib/Icon/index.less +0 -32
  74. package/lib/Input/style/index.less +0 -65
  75. package/lib/Menu/style/index.less +0 -37
  76. package/lib/Navigator/style/index.less +0 -228
  77. package/lib/Select/style/index.less +0 -532
  78. package/lib/Table/style/index.less +0 -141
  79. package/lib/Tabs/style/index.less +0 -61
  80. package/lib/Tooltip/style/index.less +0 -14
  81. package/lib/style/index.less +0 -3
  82. package/lib/style/themes/default/index.less +0 -36
  83. package/lib/style/themes/default/themeColor.module.less +0 -259
@@ -1,532 +0,0 @@
1
- // @import './variables.less';
2
- @import '../../style/index.less';
3
-
4
- // @component-prefix:ant-;
5
- .font(@style: normal, @weight: 400, @size: @size-font-base) {
6
- font-weight: @weight;
7
- font-size: @size;
8
- font-family: @font-family-primary;
9
- font-style: @style;
10
- }
11
-
12
- // The prefix to use for components classes
13
- @component-prefix: ant;
14
- @ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
15
- // vertical margins
16
- @margin-lg: 24px; // containers
17
- @margin-md: 16px; // small containers and buttons
18
- @margin-sm: 12px; // Form controls and items
19
- @margin-xs: 8px; // small items
20
- @margin-xss: 4px; // more small
21
-
22
- @border-color-base: #a3adc8;
23
- @border-color-split: hsv(0, 0, 94%); // split border inside a component
24
- @border-color-inverse: #fff;
25
- @border-width-base: 1px; // width of the border for a component
26
- @border-style-base: solid; // style of a components border
27
- @border-color-disabled: #dfe2ed;
28
- @select-option-height-lg: @height-lg;
29
- @select-option-line-height-lg:16px;
30
- @select-option-height-base:@height-base;
31
- @select-option-height-sm:@height-sm;
32
- @line-height-base: 1.5715;
33
- // @mode: compact;
34
-
35
- // Base Text
36
- // @text-color-base: #313e75;
37
- // @text-color-disabled: #313e75;
38
- @text-font-size-base: 14px;
39
- // @text-lint-height-base: 22px;
40
-
41
- //Background Color
42
- // @background-color-base: #fff;
43
- // @background-color-disabled: #f7f8fc;
44
-
45
- @ald-prefix: ~'@{component-prefix}';
46
- @select-prefix-cls-legacy: ~'@{component-prefix}-select-legacy';
47
- @select-input-fontSize: @text-font-size-base;
48
- @select-input-fontSize-sm: @text-font-size-base - 2px;
49
- // @color-font-list-primary-normal: @palette-black-6; // $color-black-6
50
- // @color-box-shadow-focused: #c0c4d3;
51
- // @color-background-matchHeight: #ffcf3c;
52
- .@{select-prefix-cls-legacy} {
53
- position: relative;
54
- display: inline-block;
55
- min-width: 120px;
56
- overflow: hidden;
57
- border: 1px solid transparent;
58
- border-radius: @border-radius-base;
59
- padding: 0 36px 0 12px;
60
- outline: none;
61
- transition: all 0.2s;
62
- cursor: pointer;
63
- user-select: none;
64
-
65
- &-selector-wrap {
66
- display: flex;
67
- align-items: center;
68
- }
69
-
70
- &-selector {
71
- box-sizing: border-box;
72
- width: 100%;
73
- min-height: @height-base;
74
- max-height: @height-base * 3.5px;
75
- overflow-x: hidden;
76
- overflow-y: auto;
77
- border-radius: @border-radius-base;
78
- transition: all 0.2s;
79
-
80
- &::-webkit-scrollbar {
81
- width: 2px;
82
- background-color: transparent;
83
- }
84
-
85
- // &::-webkit-scrollbar-thumb {
86
- // // background: @palette-gray-3;
87
- // }
88
- }
89
-
90
- &-selector-label {
91
- height: @height-base;
92
- display: flex;
93
- align-items: center;
94
- line-height: @height-base;
95
- font-size: @select-input-fontSize;
96
- color: @NL30;
97
- margin-right: @select-label-margin-right;
98
- max-width: 50%;
99
- overflow: hidden;
100
- flex-shrink: 0;
101
- }
102
-
103
- &-values-wrapper {
104
- position: relative;
105
- width: 100%;
106
- line-height: @height-base;
107
- color: @NL0;
108
- }
109
-
110
- &-bordered {
111
- border: 1px solid @NL90;
112
- }
113
-
114
- &-bordered:not(&-disabled):not(&-focused):hover {
115
- border: 1px solid @B40;
116
- }
117
-
118
- // &:not(&-bordered):not(&-disabled):hover {
119
- // // background-color: @palette-gray-2;
120
- // // border: 1px solid transparent;
121
- // }
122
-
123
- &-focused:not(&-bordered):not(&-disabled) {
124
- // background-color: @color-background-tree-normal;
125
- // border: 1px solid @color-background-button-primary-hover;
126
- border-radius: 4px;
127
- }
128
-
129
- &-focused {
130
- // box-shadow: 0 0 6px 0 @color-box-shadow-focused;
131
-
132
- .@{select-prefix-cls-legacy} {
133
- &-item-all,
134
- &-item {
135
- opacity: 0.5;
136
- }
137
- }
138
- }
139
-
140
- &-arrow,
141
- &-close {
142
- position: absolute;
143
- top: 0;
144
- right: 12px;
145
- display: flex;
146
- align-items: center;
147
- justify-content: center;
148
- height: 100%;
149
- // color: @color-text-table-empty;
150
- // transition: all 0.2s;
151
-
152
- &-focused {
153
- transform: rotate(-180deg);
154
- }
155
- }
156
-
157
- &-item {
158
- max-width: 100%;
159
- overflow: hidden;
160
- font-size: @select-input-fontSize;
161
- transition: margin 0.2s;
162
-
163
- &-text {
164
- overflow: hidden;
165
- font-size: 14px;
166
- line-height: 22px;
167
- white-space: nowrap;
168
- text-overflow: ellipsis;
169
- color: @NL0;
170
- }
171
- }
172
-
173
- &-tag-item {
174
- max-width: 100%;
175
- margin-right: 8px;
176
- margin-bottom: 5px;
177
- }
178
-
179
- &-item-all {
180
- display: inline-flex;
181
- width: 100%;
182
- font-size: @select-input-fontSize;
183
- transition: margin 0.2s;
184
- .@{select-prefix-cls-legacy}-overflow-item {
185
- white-space: nowrap;
186
-
187
- &:not(:first-child)::before {
188
- content: ',';
189
- }
190
-
191
- &-rest {
192
- &::before {
193
- content: '' !important;
194
- }
195
- }
196
- }
197
-
198
- &-text {
199
- overflow: hidden;
200
- font-size: 14px;
201
- line-height: 22px;
202
- white-space: nowrap;
203
- text-overflow: ellipsis;
204
- }
205
- }
206
-
207
- &-placeholder {
208
- position: absolute;
209
- top: 0;
210
- left: 0;
211
- color: @select-placeholder-color;
212
- }
213
-
214
- &-input {
215
- position: absolute;
216
- top: 9px;
217
- left: 0;
218
- box-sizing: content-box;
219
- padding: 0;
220
- background: none;
221
- border: none;
222
- outline: none;
223
- }
224
-
225
- &-input-tags {
226
- position: relative;
227
- top: 0;
228
- }
229
-
230
- &-input-reference {
231
- position: absolute;
232
- top: 0;
233
- left: 0;
234
- z-index: -1;
235
- visibility: hidden;
236
- }
237
-
238
- &-small {
239
- border-radius: @border-radius-sm;
240
- .@{select-prefix-cls-legacy} {
241
- &-selector {
242
- min-height: @height-sm;
243
- max-height: @height-sm * 3.5px;
244
- border-radius: @border-radius-sm;
245
- }
246
-
247
- &-selector-label {
248
- height: @height-sm;
249
- line-height: @height-sm;
250
- font-size: @select-input-fontSize-sm;
251
- color: @NL30;
252
- }
253
-
254
- &-values-wrapper {
255
- line-height: @height-sm;
256
- font-size: @select-input-fontSize-sm;
257
- }
258
-
259
- &-item-all {
260
- font-size: @select-input-fontSize-sm;
261
-
262
- &-text {
263
- font-size: @select-input-fontSize-sm;
264
- }
265
- }
266
-
267
- &-placeholder {
268
- font-size: @select-input-fontSize-sm;
269
- }
270
-
271
- &-tag-item {
272
- margin-bottom: 2px;
273
- }
274
-
275
- &-input {
276
- top: 6px;
277
- }
278
-
279
- &-input-tags {
280
- top: 0;
281
- }
282
- }
283
- }
284
-
285
- &-large {
286
- .@{select-prefix-cls-legacy} {
287
- &-selector {
288
- min-height: @height-lg;
289
- max-height: @height-lg * 3.5px;
290
- }
291
-
292
- &-selector-label {
293
- height: @height-lg;
294
- line-height: @height-lg;
295
- font-size: @select-input-fontSize;
296
- }
297
-
298
- &-values-wrapper {
299
- line-height: @height-lg;
300
- }
301
-
302
- &-tag-item {
303
- margin-bottom: 7px;
304
- }
305
-
306
- &-input {
307
- top: 11px;
308
- }
309
-
310
- &-input-tags {
311
- top: 0;
312
- }
313
- }
314
- }
315
-
316
- &-disabled {
317
- color: @NL80;
318
- text-shadow: none;
319
- background: @NL95;
320
- cursor: not-allowed !important;
321
- .@{select-prefix-cls-legacy} {
322
- &-selector-label {
323
- color: inherit;
324
- }
325
-
326
- &-values-wrapper {
327
- color: inherit;
328
- }
329
-
330
- &-placeholder {
331
- color: inherit;
332
- }
333
- }
334
- }
335
-
336
- &-bordered&-disabled {
337
- border-color: @NL90;
338
- }
339
-
340
- // &-focused&-bordered {
341
- // // border: 1px solid @color-border-input-active;
342
- // }
343
-
344
- // &-focused:not(&-bordered) {
345
- // background-color: @palette-gray-2;
346
- // }
347
-
348
- &-single {
349
- .@{select-prefix-cls-legacy} {
350
- &-item {
351
- display: inline-flex;
352
- }
353
- }
354
- }
355
-
356
- // rc-trigger
357
- &-dropdown {
358
- position: absolute;
359
- background: @BG100;
360
- border: 1px solid @NL90;
361
- box-shadow: @shadow-actionsheet;
362
- border-radius: @border-radius-base;
363
- padding: 4px 0;
364
- &.@{select-prefix-cls-legacy}-hidden {
365
- display: none;
366
- }
367
- }
368
-
369
- // &-search-highlight {
370
- // // background-color: @color-background-matchHeight;
371
- // }
372
-
373
- &-not-found {
374
- width: 100%;
375
- // color: @color-text-table-empty;
376
- text-align: center;
377
-
378
- &-icon {
379
- margin-bottom: 40px;
380
- }
381
- }
382
-
383
- &-gap-10 {
384
- width: 10px;
385
- }
386
-
387
- &-gap-10 + div {
388
- overflow: hidden;
389
- white-space: nowrap;
390
- text-overflow: ellipsis;
391
- }
392
-
393
- &-button {
394
- margin-right: 8px;
395
- }
396
-
397
- // &-button-active {
398
- // color: @color-text-button-text-hover;
399
- // background: @palette-gray-4;
400
- // border-color: @palette-gray-4;
401
- // }
402
- }
403
-
404
- .@{select-prefix-cls-legacy}-list {
405
- box-sizing: border-box;
406
- // min-width: 160px;
407
- // padding: 16px 0 16px 8px;
408
- outline: none;
409
- }
410
-
411
- .@{select-prefix-cls-legacy}-list-option {
412
- position: relative;
413
- display: flex;
414
- align-items: center;
415
- box-sizing: border-box;
416
- max-width: 100%;
417
- user-select: none;
418
- // margin-top: 4px;
419
- padding: 8px 12px 8px 36px;
420
- overflow: hidden;
421
- color: @NL0;
422
- font-size: 12px;
423
- height: @select-option-height-lg;
424
- line-height: @select-option-line-height-lg;
425
- white-space: nowrap;
426
- text-overflow: ellipsis;
427
- cursor: pointer;
428
- transition: background-color 0.3s ease;
429
-
430
- &-icon,
431
- &-all-icon {
432
- position: absolute;
433
- top: 50%;
434
- transform: translateY(-50%);
435
- left: 12px;
436
- color: @B40;
437
-
438
- &-checkbox {
439
- .@{component-prefix}-checkbox-inner {
440
- border-color: @NL90;
441
- // background-color: @BG100;
442
- border-radius: 4px;
443
-
444
- // &::after {
445
- // // border-color: @B40;
446
- // }
447
- }
448
- }
449
- // .@{component-prefix}-checkbox-indeterminate {
450
- // .@{component-prefix}-checkbox-inner {
451
- // &::after {
452
- // border-color: green;
453
- // }
454
- // }
455
- // }
456
- }
457
-
458
- &-isHover {
459
- background-color: @NL97;
460
- }
461
-
462
- &-nomargin {
463
- margin-top: 0;
464
- }
465
-
466
- &-disabled {
467
- color: @NL80;
468
- text-shadow: none;
469
- background-color: @white;
470
- cursor: not-allowed !important;
471
- }
472
-
473
- &-isSelected,
474
- &-all-isSelected {
475
- color: @NL0;
476
- font-weight: normal;
477
- // background-color: @NL97;
478
- }
479
- }
480
-
481
- .@{select-prefix-cls-legacy}-list-option-all {
482
- position: relative;
483
- display: flex;
484
- align-items: center;
485
- box-sizing: border-box;
486
- max-width: 100%;
487
- // margin-right: 8px;
488
- padding: 8px 12px 8px 36px;
489
- overflow: hidden;
490
- color: @NL0;
491
- font-size: 12px;
492
- height: @select-option-height-lg;
493
- line-height: @select-option-line-height-lg;
494
- white-space: nowrap;
495
- text-overflow: ellipsis;
496
- cursor: pointer;
497
- transition: background-color 0.3s ease;
498
- user-select: none;
499
-
500
- &:not(&-disabled):hover {
501
- background-color: @NL97;
502
- }
503
- }
504
-
505
- .@{select-prefix-cls-legacy}-footer-button-group {
506
- display: flex;
507
- align-items: center;
508
- justify-content: flex-end;
509
- box-sizing: border-box;
510
- width: 100%;
511
- height: 52px;
512
- margin-top: 4px;
513
- padding: 0 20px;
514
- }
515
-
516
- .@{select-prefix-cls-legacy}-footer-button-group:first-child button {
517
- margin-right: 8px;
518
- }
519
-
520
- .@{select-prefix-cls-legacy}-list-search-bar {
521
- box-sizing: border-box;
522
- max-width: 100%;
523
- padding: 0 20px 16px 12px;
524
- }
525
-
526
- .@{select-prefix-cls-legacy}-list-group {
527
- padding: 6px 12px;
528
- // color: @color-background-button-primary-hover;
529
- font-weight: normal;
530
- font-size: 12px;
531
- line-height: 20px;
532
- }
@@ -1,141 +0,0 @@
1
- @import '../../style/index.less';
2
-
3
- @ald-prefix:ant;
4
- @ald-iconfont-css-prefix:anticon;
5
- @table-row-height:40px;
6
- .@{ald-prefix}-block-table {
7
- overflow: hidden;
8
-
9
- &-thead {
10
- .@{ald-prefix}-block-table-cell {
11
- position: relative;
12
- color: @NL50;
13
-
14
- &-sorting {
15
- color: @B40;
16
- }
17
- // border: 1px solid red;
18
-
19
- .@{ald-prefix}-block-table-bar {
20
- display: inline-block;
21
- background: blue;
22
- width: 1px;
23
- height: 12px;
24
- position: absolute;
25
- top: 50%;
26
- right: 0;
27
- transform: translateY(-50%);
28
- z-index: 1;
29
- touch-action: none;
30
- background-color: @NL95;
31
- }
32
-
33
- &:last-child {
34
- .@{ald-prefix}-block-table-bar {
35
- display: none;
36
- }
37
- }
38
- }
39
- }
40
-
41
- &-tbody {
42
- overflow: hidden;
43
-
44
- &-scroll {
45
- overflow-y: scroll;
46
- overflow-y: overlay;
47
- }
48
- .@{ald-prefix}-block-table-row {
49
- &:hover {
50
- background-color: @NL97;
51
- }
52
-
53
- &-selected {
54
- background-color: @BBG97;
55
-
56
- &:hover {
57
- background-color: @BBG97;
58
- }
59
- }
60
-
61
- &:last-of-type {
62
- .@{ald-prefix}-block-table-cell {
63
- border-bottom: 1px solid transparent;
64
- }
65
- }
66
- }
67
- }
68
-
69
- &-row {
70
- max-width: 100%;
71
- }
72
-
73
- &-cell {
74
- padding: 0 12px;
75
- height: @table-row-height;
76
- line-height: @table-row-height;
77
- border-bottom: 1px solid @NL95;
78
- text-align: left;
79
- color: @NL0;
80
- overflow: hidden;
81
- white-space: nowrap;
82
- text-overflow: ellipsis;
83
- flex-grow: 1;
84
- }
85
-
86
- &-loading {
87
- text-align: center;
88
- line-height: @table-row-height;
89
- color: @NL80;
90
- }
91
-
92
- &-header {
93
- display: flex;
94
- justify-content: space-between;
95
- padding: 0 10px;
96
- align-items: center;
97
- margin-bottom: 24px;
98
-
99
- &-left {
100
- font-weight: 500;
101
- font-size: 14px;
102
- color: @NL0;
103
- }
104
-
105
- &-right {
106
- display: flex;
107
- height: 28px;
108
- align-items: center;
109
- font-size: 14px;
110
- color: @NL0;
111
- }
112
- }
113
-
114
- &-list {
115
- overflow: overlay !important;
116
- }
117
-
118
- &-sortIcon {
119
- margin-left: 4px;
120
- margin-top: -2px;
121
- }
122
-
123
- &-column-resizable {
124
- overflow: overlay;
125
- .@{ald-prefix}-block-table {
126
- &-cell {
127
- flex: none;
128
- }
129
-
130
- &-thead {
131
- &::-webkit-scrollbar {
132
- display: none;
133
- }
134
- }
135
-
136
- &-tbody {
137
- overflow: initial;
138
- }
139
- }
140
- }
141
- }
@@ -1,61 +0,0 @@
1
- @import '../../style/index.less';
2
-
3
- .ald-tabs {
4
- &.ant-tabs {
5
- color: @NL30;
6
- }
7
-
8
- .ant-tabs-tab {
9
- font-size: 14px;
10
- line-height: 20px;
11
-
12
- &:hover {
13
- color: inherit;
14
- }
15
-
16
- &.ant-tabs-tab-active {
17
- font-weight: 500;
18
- }
19
- }
20
-
21
- .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
22
- text-shadow: none;
23
- }
24
-
25
- /* large size */
26
- &.ant-tabs-large {
27
- .ant-tabs-tab {
28
- font-size: 16px;
29
- line-height: 24px;
30
- }
31
- }
32
-
33
- .ant-tabs-nav-more {
34
- margin: 0 !important;
35
- }
36
-
37
- /* body自适应高度 */
38
- &.ald-adapt-height {
39
- height: 100%;
40
-
41
- .ant-tabs-content {
42
- height: 100%;
43
- }
44
-
45
- .ant-tabs-tabpane {
46
- height: 100%;
47
- overflow-y: auto;
48
- }
49
- }
50
-
51
- &.ant-tabs-top > .ant-tabs-nav,
52
- &.ant-tabs-bottom > .ant-tabs-nav,
53
- &.ant-tabs-top > div > .ant-tabs-nav,
54
- &.ant-tabs-bottom > div > .ant-tabs-nav {
55
- margin: 0 0 24px;
56
-
57
- &::before {
58
- border-color: @NL90;
59
- }
60
- }
61
- }