@oceanbase/design 0.4.16 → 1.0.0-alpha.1

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 (46) hide show
  1. package/dist/design.min.js +1 -1
  2. package/es/_util/genStyle.d.ts +0 -2
  3. package/es/_util/genStyle.js +0 -77
  4. package/es/badge/style/index.js +0 -1
  5. package/es/button/style/index.js +1 -30
  6. package/es/card/style/index.js +4 -2
  7. package/es/config-provider/index.js +1 -5
  8. package/es/empty/style/index.js +2 -7
  9. package/es/form/FormItem.d.ts +1 -0
  10. package/es/form/FormItem.js +1 -0
  11. package/es/index.d.ts +0 -1
  12. package/es/index.js +1 -2
  13. package/es/result/style/index.js +2 -5
  14. package/es/table/style/index.js +8 -31
  15. package/es/tabs/index.d.ts +8 -6
  16. package/es/tabs/index.js +10 -7
  17. package/es/tabs/style/index.js +2 -3
  18. package/es/theme/default.js +88 -72
  19. package/es/theme/style/aliyun.less +210 -210
  20. package/es/theme/style/compact.less +231 -231
  21. package/es/theme/style/dark.less +234 -234
  22. package/es/theme/style/default.less +231 -231
  23. package/es/typography/style/index.js +2 -6
  24. package/lib/_util/genStyle.d.ts +0 -2
  25. package/lib/_util/genStyle.js +2 -118
  26. package/lib/badge/style/index.js +0 -1
  27. package/lib/button/style/index.js +1 -37
  28. package/lib/card/style/index.js +9 -1
  29. package/lib/config-provider/index.js +1 -8
  30. package/lib/empty/style/index.js +0 -5
  31. package/lib/form/FormItem.d.ts +1 -0
  32. package/lib/form/FormItem.js +6 -0
  33. package/lib/index.d.ts +0 -1
  34. package/lib/index.js +0 -3
  35. package/lib/result/style/index.js +0 -4
  36. package/lib/table/style/index.js +1 -58
  37. package/lib/tabs/index.d.ts +8 -6
  38. package/lib/tabs/index.js +68 -62
  39. package/lib/tabs/style/index.js +6 -4
  40. package/lib/theme/default.js +86 -71
  41. package/lib/theme/style/aliyun.less +210 -210
  42. package/lib/theme/style/compact.less +231 -231
  43. package/lib/theme/style/dark.less +234 -234
  44. package/lib/theme/style/default.less +231 -231
  45. package/lib/typography/style/index.js +2 -9
  46. package/package.json +6 -6
@@ -1,31 +1,31 @@
1
- @blue: #006aff;
1
+ @blue: #0d6cf2;
2
2
  @purple: #722ED1;
3
3
  @cyan: #13C2C2;
4
- @green: #0ac185;
4
+ @green: #14b781;
5
5
  @magenta: #EB2F96;
6
6
  @pink: #EB2F96;
7
- @red: #f93939;
7
+ @red: #ef4343;
8
8
  @orange: #FA8C16;
9
- @yellow: #ffa21a;
9
+ @yellow: #f49f25;
10
10
  @volcano: #FA541C;
11
11
  @geekblue: #2F54EB;
12
12
  @gold: #FAAD14;
13
13
  @lime: #A0D911;
14
- @colorPrimary: #006aff;
15
- @colorSuccess: #0ac185;
16
- @colorWarning: #ffa21a;
17
- @colorError: #f93939;
18
- @colorInfo: #006aff;
19
- @colorLink: #006aff;
14
+ @colorPrimary: #0d6cf2;
15
+ @colorSuccess: #14b781;
16
+ @colorWarning: #f49f25;
17
+ @colorError: #ef4343;
18
+ @colorInfo: #0d6cf2;
19
+ @colorLink: #0d6cf2;
20
20
  @colorTextBase: #000000;
21
21
  @colorBgBase: #ffffff;
22
22
  @fontFamily: -apple-system, 'Noto Sans', BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
23
23
  @fontFamilyCode: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
24
- @fontSize: 14;
25
- @lineWidth: 1;
24
+ @fontSize: 13px;
25
+ @lineWidth: 1px;
26
26
  @lineType: solid;
27
- @motionUnit: 0.1;
28
- @motionBase: 0;
27
+ @motionUnit: 0.1s;
28
+ @motionBase: 0s;
29
29
  @motionEaseOutCirc: cubic-bezier(0.08, 0.82, 0.17, 1);
30
30
  @motionEaseInOutCirc: cubic-bezier(0.78, 0.14, 0.15, 0.86);
31
31
  @motionEaseOut: cubic-bezier(0.215, 0.61, 0.355, 1);
@@ -34,11 +34,11 @@
34
34
  @motionEaseInBack: cubic-bezier(0.71, -0.46, 0.88, 0.6);
35
35
  @motionEaseInQuint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
36
36
  @motionEaseOutQuint: cubic-bezier(0.23, 1, 0.32, 1);
37
- @borderRadius: 6;
38
- @sizeUnit: 4;
39
- @sizeStep: 4;
40
- @sizePopupArrow: 16;
41
- @controlHeight: 32;
37
+ @borderRadius: 4px;
38
+ @sizeUnit: 4px;
39
+ @sizeStep: 4px;
40
+ @sizePopupArrow: 16px;
41
+ @controlHeight: 32px;
42
42
  @zIndexBase: 0;
43
43
  @zIndexPopupBase: 1000;
44
44
  @opacityImage: 1;
@@ -46,24 +46,24 @@
46
46
  @motion: true;
47
47
  @blue-1: #e6f4ff;
48
48
  @blue1: #e6f4ff;
49
- @blue-2: #a3d6ff;
50
- @blue2: #a3d6ff;
51
- @blue-3: #7abfff;
52
- @blue3: #7abfff;
53
- @blue-4: #52a5ff;
54
- @blue4: #52a5ff;
55
- @blue-5: #2989ff;
56
- @blue5: #2989ff;
57
- @blue-6: #006aff;
58
- @blue6: #006aff;
59
- @blue-7: #0053d9;
60
- @blue7: #0053d9;
61
- @blue-8: #003eb3;
62
- @blue8: #003eb3;
63
- @blue-9: #002c8c;
64
- @blue9: #002c8c;
65
- @blue-10: #001d66;
66
- @blue10: #001d66;
49
+ @blue-2: #b0dbff;
50
+ @blue2: #b0dbff;
51
+ @blue-3: #87c5ff;
52
+ @blue3: #87c5ff;
53
+ @blue-4: #5eacff;
54
+ @blue4: #5eacff;
55
+ @blue-5: #3690ff;
56
+ @blue5: #3690ff;
57
+ @blue-6: #0d6cf2;
58
+ @blue6: #0d6cf2;
59
+ @blue-7: #004ecc;
60
+ @blue7: #004ecc;
61
+ @blue-8: #003aa6;
62
+ @blue8: #003aa6;
63
+ @blue-9: #002880;
64
+ @blue9: #002880;
65
+ @blue-10: #001959;
66
+ @blue10: #001959;
67
67
  @purple-1: #f9f0ff;
68
68
  @purple1: #f9f0ff;
69
69
  @purple-2: #efdbff;
@@ -104,26 +104,26 @@
104
104
  @cyan9: #00474f;
105
105
  @cyan-10: #002329;
106
106
  @cyan10: #002329;
107
- @green-1: #e6fff2;
108
- @green1: #e6fff2;
109
- @green-2: #a9f5d1;
110
- @green2: #a9f5d1;
111
- @green-3: #7be8b9;
112
- @green3: #7be8b9;
113
- @green-4: #51dba4;
114
- @green4: #51dba4;
115
- @green-5: #2bcf93;
116
- @green5: #2bcf93;
117
- @green-6: #0ac185;
118
- @green6: #0ac185;
119
- @green-7: #009c6d;
120
- @green7: #009c6d;
121
- @green-8: #007556;
122
- @green8: #007556;
123
- @green-9: #004f3d;
124
- @green9: #004f3d;
125
- @green-10: #002921;
126
- @green10: #002921;
107
+ @green-1: #e1f7ec;
108
+ @green1: #e1f7ec;
109
+ @green-2: #b0ebcf;
110
+ @green2: #b0ebcf;
111
+ @green-3: #83deb6;
112
+ @green3: #83deb6;
113
+ @green-4: #5ad1a1;
114
+ @green4: #5ad1a1;
115
+ @green-5: #35c490;
116
+ @green5: #35c490;
117
+ @green-6: #14b781;
118
+ @green6: #14b781;
119
+ @green-7: #099168;
120
+ @green7: #099168;
121
+ @green-8: #016b4f;
122
+ @green8: #016b4f;
123
+ @green-9: #004535;
124
+ @green9: #004535;
125
+ @green-10: #001f18;
126
+ @green10: #001f18;
127
127
  @magenta-1: #fff0f6;
128
128
  @magenta1: #fff0f6;
129
129
  @magenta-2: #ffd6e7;
@@ -166,24 +166,24 @@
166
166
  @pink10: #520339;
167
167
  @red-1: #fff2f0;
168
168
  @red1: #fff2f0;
169
- @red-2: #ffe2de;
170
- @red2: #ffe2de;
171
- @red-3: #ffbcb5;
172
- @red3: #ffbcb5;
173
- @red-4: #ff948c;
174
- @red4: #ff948c;
175
- @red-5: #ff6963;
176
- @red5: #ff6963;
177
- @red-6: #f93939;
178
- @red6: #f93939;
179
- @red-7: #d4262c;
180
- @red7: #d4262c;
181
- @red-8: #ad1721;
182
- @red8: #ad1721;
183
- @red-9: #870b17;
184
- @red9: #870b17;
185
- @red-10: #610713;
186
- @red10: #610713;
169
+ @red-2: #ffedeb;
170
+ @red2: #ffedeb;
171
+ @red-3: #ffc8c2;
172
+ @red3: #ffc8c2;
173
+ @red-4: #ffa099;
174
+ @red4: #ffa099;
175
+ @red-5: #fc746f;
176
+ @red5: #fc746f;
177
+ @red-6: #ef4343;
178
+ @red6: #ef4343;
179
+ @red-7: #c92e34;
180
+ @red7: #c92e34;
181
+ @red-8: #a31d26;
182
+ @red8: #a31d26;
183
+ @red-9: #7d101b;
184
+ @red9: #7d101b;
185
+ @red-10: #570a15;
186
+ @red10: #570a15;
187
187
  @orange-1: #fff7e6;
188
188
  @orange1: #fff7e6;
189
189
  @orange-2: #ffe7ba;
@@ -204,26 +204,26 @@
204
204
  @orange9: #873800;
205
205
  @orange-10: #612500;
206
206
  @orange10: #612500;
207
- @yellow-1: #fff9e6;
208
- @yellow1: #fff9e6;
209
- @yellow-2: #ffedbd;
210
- @yellow2: #ffedbd;
211
- @yellow-3: #ffdf94;
212
- @yellow3: #ffdf94;
213
- @yellow-4: #ffce6b;
214
- @yellow4: #ffce6b;
215
- @yellow-5: #ffba42;
216
- @yellow5: #ffba42;
217
- @yellow-6: #ffa21a;
218
- @yellow6: #ffa21a;
219
- @yellow-7: #d9800b;
220
- @yellow7: #d9800b;
221
- @yellow-8: #b35f00;
222
- @yellow8: #b35f00;
223
- @yellow-9: #8c4600;
224
- @yellow9: #8c4600;
225
- @yellow-10: #663000;
226
- @yellow10: #663000;
207
+ @yellow-1: #fffbf0;
208
+ @yellow1: #fffbf0;
209
+ @yellow-2: #fff0c9;
210
+ @yellow2: #fff0c9;
211
+ @yellow-3: #ffe1a1;
212
+ @yellow3: #ffe1a1;
213
+ @yellow-4: #ffd078;
214
+ @yellow4: #ffd078;
215
+ @yellow-5: #ffbc4f;
216
+ @yellow5: #ffbc4f;
217
+ @yellow-6: #f49f25;
218
+ @yellow6: #f49f25;
219
+ @yellow-7: #cf7b15;
220
+ @yellow7: #cf7b15;
221
+ @yellow-8: #a85b08;
222
+ @yellow8: #a85b08;
223
+ @yellow-9: #823f00;
224
+ @yellow9: #823f00;
225
+ @yellow-10: #5c2900;
226
+ @yellow10: #5c2900;
227
227
  @volcano-1: #fff2e8;
228
228
  @volcano1: #fff2e8;
229
229
  @volcano-2: #ffd8bf;
@@ -315,107 +315,108 @@
315
315
  @colorBgSolid: rgb(0,0,0);
316
316
  @colorBgSolidHover: rgba(0,0,0,0.75);
317
317
  @colorBgSolidActive: rgba(0,0,0,0.95);
318
- @colorBgLayout: #f3f6fc;
318
+ @colorBgLayout: #f8fafe;
319
319
  @colorBgContainer: #ffffff;
320
320
  @colorBgElevated: #ffffff;
321
321
  @colorBgSpotlight: #ffffff;
322
322
  @colorBgBlur: transparent;
323
323
  @colorBorder: #cdd5e4;
324
324
  @colorBorderSecondary: #e2e8f3;
325
- @colorPrimaryBg: #eaf1ff;
326
- @colorPrimaryBgHover: #eaf1ff;
327
- @colorPrimaryBorder: #b3ccff;
328
- @colorPrimaryBorderHover: #5189fb;
329
- @colorPrimaryHover: #5189fb;
330
- @colorPrimaryActive: #004ce6;
331
- @colorPrimaryTextHover: #5189fb;
332
- @colorPrimaryText: #006aff;
333
- @colorPrimaryTextActive: #004ce6;
334
- @colorSuccessBg: #eef8f5;
335
- @colorSuccessBgHover: #dbf0e9;
336
- @colorSuccessBorder: #b3e6d5;
337
- @colorSuccessBorderHover: #4dcca2;
338
- @colorSuccessHover: #4dcca2;
339
- @colorSuccessActive: #00b378;
340
- @colorSuccessTextHover: #4dcca2;
341
- @colorSuccessText: #0ac185;
342
- @colorSuccessTextActive: #00b378;
343
- @colorErrorBg: #ffebeb;
344
- @colorErrorBgHover: #ffd6d6;
345
- @colorErrorBgFilledHover: #ffd7d3;
346
- @colorErrorBgActive: #ffbcb5;
347
- @colorErrorBorder: #ffb3b3;
348
- @colorErrorBorderHover: #ff7575;
349
- @colorErrorHover: #ff7575;
350
- @colorErrorActive: #cc0000;
351
- @colorErrorTextHover: #ff7575;
352
- @colorErrorText: #ff1a1a;
353
- @colorErrorTextActive: #cc0000;
354
- @colorWarningBg: #fff5e5;
355
- @colorWarningBgHover: #ffe7c2;
356
- @colorWarningBorder: #ffd699;
357
- @colorWarningBorderHover: #ffc166;
358
- @colorWarningHover: #ffc166;
359
- @colorWarningActive: #ff9700;
360
- @colorWarningTextHover: #ffc166;
361
- @colorWarningText: #ffa21a;
362
- @colorWarningTextActive: #ff9700;
325
+ @colorPrimaryBg: #e6f4ff;
326
+ @colorPrimaryBgHover: #b0dbff;
327
+ @colorPrimaryBorder: #87c5ff;
328
+ @colorPrimaryBorderHover: #5eacff;
329
+ @colorPrimaryHover: #3690ff;
330
+ @colorPrimaryActive: #004ecc;
331
+ @colorPrimaryTextHover: #3690ff;
332
+ @colorPrimaryText: #0d6cf2;
333
+ @colorPrimaryTextActive: #004ecc;
334
+ @colorSuccessBg: #e8f8f3;
335
+ @colorSuccessBgHover: #b0ebcf;
336
+ @colorSuccessBorder: #7ed7ba;
337
+ @colorSuccessBorderHover: #5ad1a1;
338
+ @colorSuccessHover: #5ad1a1;
339
+ @colorSuccessActive: #099168;
340
+ @colorSuccessTextHover: #35c490;
341
+ @colorSuccessText: #096547;
342
+ @colorSuccessTextActive: #099168;
343
+ @colorErrorBg: #fdecec;
344
+ @colorErrorBgHover: #ffedeb;
345
+ @colorErrorBgFilledHover: #ffddd9;
346
+ @colorErrorBgActive: #ffc8c2;
347
+ @colorErrorBorder: #f69898;
348
+ @colorErrorBorderHover: #ffa099;
349
+ @colorErrorHover: #fc746f;
350
+ @colorErrorActive: #c92e34;
351
+ @colorErrorTextHover: #fc746f;
352
+ @colorErrorText: #8a1b1b;
353
+ @colorErrorTextActive: #c92e34;
354
+ @colorWarningBg: #fef6e9;
355
+ @colorWarningBgHover: #fff0c9;
356
+ @colorWarningBorder: #f9cb87;
357
+ @colorWarningBorderHover: #ffd078;
358
+ @colorWarningHover: #ffd078;
359
+ @colorWarningActive: #cf7b15;
360
+ @colorWarningTextHover: #ffbc4f;
361
+ @colorWarningText: #5b3600;
362
+ @colorWarningTextActive: #cf7b15;
363
363
  @colorInfoBg: #eaf1ff;
364
- @colorInfoBgHover: #eaf1ff;
365
- @colorInfoBorder: #b3ccff;
366
- @colorInfoBorderHover: #5189fb;
367
- @colorInfoHover: #5189fb;
368
- @colorInfoActive: #004ce6;
369
- @colorInfoTextHover: #5189fb;
370
- @colorInfoText: #006aff;
371
- @colorInfoTextActive: #004ce6;
372
- @colorLinkHover: #52a5ff;
373
- @colorLinkActive: #0053d9;
364
+ @colorInfoBgHover: #b0dbff;
365
+ @colorInfoBorder: #598cf3;
366
+ @colorInfoBorderHover: #5eacff;
367
+ @colorInfoHover: #5eacff;
368
+ @colorInfoActive: #004ecc;
369
+ @colorInfoTextHover: #3690ff;
370
+ @colorInfoText: #083e8b;
371
+ @colorInfoTextActive: #004ecc;
372
+ @colorLinkHover: #5eacff;
373
+ @colorLinkActive: #004ecc;
374
374
  @colorBgMask: rgba(19, 32, 57, 0.45);
375
375
  @colorWhite: #fff;
376
- @fontSizeSM: 12;
377
- @fontSizeLG: 16;
378
- @fontSizeXL: 20;
379
- @fontSizeHeading1: 38;
380
- @fontSizeHeading2: 30;
381
- @fontSizeHeading3: 24;
382
- @fontSizeHeading4: 20;
383
- @fontSizeHeading5: 16;
384
- @lineHeight: 1.5714285714285714;
385
- @lineHeightLG: 1.5;
386
- @lineHeightSM: 1.6666666666666667;
387
- @fontHeight: 22;
388
- @fontHeightLG: 24;
389
- @fontHeightSM: 20;
390
- @lineHeightHeading1: 1.2105263157894737;
391
- @lineHeightHeading2: 1.2666666666666666;
392
- @lineHeightHeading3: 1.3333333333333333;
393
- @lineHeightHeading4: 1.4;
394
- @lineHeightHeading5: 1.5;
395
- @sizeXXL: 48;
396
- @sizeXL: 32;
397
- @sizeLG: 24;
398
- @sizeMD: 20;
399
- @sizeMS: 16;
400
- @size: 16;
401
- @sizeSM: 12;
402
- @sizeXS: 8;
403
- @sizeXXS: 4;
404
- @controlHeightSM: 24;
405
- @controlHeightXS: 16;
406
- @controlHeightLG: 40;
376
+ @fontSizeSM: 12px;
377
+ @fontSizeLG: 14px;
378
+ @fontSizeXL: 18px;
379
+ @fontSizeHeading1: 34px;
380
+ @fontSizeHeading2: 28px;
381
+ @fontSizeHeading3: 22px;
382
+ @fontSizeHeading4: 18px;
383
+ @fontSizeHeading5: 14px;
384
+ @lineHeight: 1.6153846153846154;
385
+ @lineHeightLG: 1.5714285714285714;
386
+ @lineHeightSM: 1.8;
387
+ @fontHeight: 21px;
388
+ @fontHeightLG: 22px;
389
+ @fontHeightSM: 18px;
390
+ @lineHeightHeading1: 1.2352941176470589;
391
+ @lineHeightHeading2: 1.2857142857142858;
392
+ @lineHeightHeading3: 1.3636363636363635;
393
+ @lineHeightHeading4: 1.4444444444444444;
394
+ @lineHeightHeading5: 1.5714285714285714;
395
+ @sizeXXL: 48px;
396
+ @sizeXL: 32px;
397
+ @sizeLG: 24px;
398
+ @sizeMD: 20px;
399
+ @sizeMS: 16px;
400
+ @size: 16px;
401
+ @sizeSM: 12px;
402
+ @sizeXS: 8px;
403
+ @sizeXXS: 4px;
404
+ @controlHeightSM: 24px;
405
+ @controlHeightXS: 16px;
406
+ @controlHeightLG: 40px;
407
407
  @motionDurationFast: 0.1s;
408
408
  @motionDurationMid: 0.2s;
409
409
  @motionDurationSlow: 0.3s;
410
- @lineWidthBold: 2;
411
- @borderRadiusXS: 2;
412
- @borderRadiusSM: 4;
413
- @borderRadiusLG: 8;
414
- @borderRadiusOuter: 4;
410
+ @lineWidthBold: 2px;
411
+ @borderRadiusXS: 1px;
412
+ @borderRadiusSM: 2px;
413
+ @borderRadiusLG: 6px;
414
+ @borderRadiusOuter: 4px;
415
+ @colorIcon: #8592ad;
415
416
  @boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
416
417
  @boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
417
418
  @boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
418
- @lineWidthFocus: 3;
419
+ @lineWidthFocus: 3px;
419
420
  @colorFillContent: #e2e8f3;
420
421
  @colorFillContentHover: #cdd5e4;
421
422
  @colorFillAlter: #f8fafe;
@@ -428,67 +429,66 @@
428
429
  @colorTextLabel: #5c6b8a;
429
430
  @colorTextDescription: #8592ad;
430
431
  @colorTextLightSolid: #fff;
431
- @colorHighlight: #f93939;
432
+ @colorHighlight: #ef4343;
432
433
  @colorBgTextHover: #e2e8f3;
433
434
  @colorBgTextActive: #cdd5e4;
434
- @colorIcon: #8592ad;
435
435
  @colorIconHover: #132039;
436
- @colorErrorOutline: rgba(255,5,5,0.08);
437
- @colorWarningOutline: rgba(255,164,19,0.11);
438
- @fontSizeIcon: 12;
439
- @controlOutlineWidth: 2;
440
- @controlInteractiveSize: 16;
436
+ @colorErrorOutline: rgba(230,17,17,0.08);
437
+ @colorWarningOutline: rgba(244,155,11,0.09);
438
+ @fontSizeIcon: 12px;
439
+ @controlOutlineWidth: 2px;
440
+ @controlInteractiveSize: 16px;
441
441
  @controlItemBgHover: #f3f6fc;
442
- @controlItemBgActive: #eaf1ff;
443
- @controlItemBgActiveHover: #eaf1ff;
442
+ @controlItemBgActive: #e6f4ff;
443
+ @controlItemBgActiveHover: #b0dbff;
444
444
  @controlItemBgActiveDisabled: #cdd5e4;
445
445
  @controlTmpOutline: #f8fafe;
446
- @controlOutline: rgba(22,99,255,0.09);
446
+ @controlOutline: rgba(5,145,255,0.1);
447
447
  @fontWeightStrong: 600;
448
448
  @opacityLoading: 0.65;
449
449
  @linkDecoration: none;
450
450
  @linkHoverDecoration: none;
451
451
  @linkFocusDecoration: none;
452
- @controlPaddingHorizontal: 12;
453
- @controlPaddingHorizontalSM: 8;
454
- @paddingXXS: 4;
455
- @paddingXS: 8;
456
- @paddingSM: 12;
457
- @padding: 16;
458
- @paddingMD: 20;
459
- @paddingLG: 24;
460
- @paddingXL: 32;
461
- @paddingContentHorizontalLG: 24;
462
- @paddingContentVerticalLG: 16;
463
- @paddingContentHorizontal: 16;
464
- @paddingContentVertical: 12;
465
- @paddingContentHorizontalSM: 16;
466
- @paddingContentVerticalSM: 8;
467
- @marginXXS: 4;
468
- @marginXS: 8;
469
- @marginSM: 12;
470
- @margin: 16;
471
- @marginMD: 20;
472
- @marginLG: 24;
473
- @marginXL: 32;
474
- @marginXXL: 48;
475
- @screenXS: 480;
476
- @screenXSMin: 480;
477
- @screenXSMax: 575;
478
- @screenSM: 576;
479
- @screenSMMin: 576;
480
- @screenSMMax: 767;
481
- @screenMD: 768;
482
- @screenMDMin: 768;
483
- @screenMDMax: 991;
484
- @screenLG: 992;
485
- @screenLGMin: 992;
486
- @screenLGMax: 1199;
487
- @screenXL: 1200;
488
- @screenXLMin: 1200;
489
- @screenXLMax: 1599;
490
- @screenXXL: 1600;
491
- @screenXXLMin: 1600;
452
+ @controlPaddingHorizontal: 12px;
453
+ @controlPaddingHorizontalSM: 8px;
454
+ @paddingXXS: 4px;
455
+ @paddingXS: 8px;
456
+ @paddingSM: 12px;
457
+ @padding: 16px;
458
+ @paddingMD: 20px;
459
+ @paddingLG: 24px;
460
+ @paddingXL: 32px;
461
+ @paddingContentHorizontalLG: 24px;
462
+ @paddingContentVerticalLG: 16px;
463
+ @paddingContentHorizontal: 16px;
464
+ @paddingContentVertical: 12px;
465
+ @paddingContentHorizontalSM: 16px;
466
+ @paddingContentVerticalSM: 8px;
467
+ @marginXXS: 4px;
468
+ @marginXS: 8px;
469
+ @marginSM: 12px;
470
+ @margin: 16px;
471
+ @marginMD: 20px;
472
+ @marginLG: 24px;
473
+ @marginXL: 32px;
474
+ @marginXXL: 48px;
475
+ @screenXS: 480px;
476
+ @screenXSMin: 480px;
477
+ @screenXSMax: 575px;
478
+ @screenSM: 576px;
479
+ @screenSMMin: 576px;
480
+ @screenSMMax: 767px;
481
+ @screenMD: 768px;
482
+ @screenMDMin: 768px;
483
+ @screenMDMax: 991px;
484
+ @screenLG: 992px;
485
+ @screenLGMin: 992px;
486
+ @screenLGMax: 1199px;
487
+ @screenXL: 1200px;
488
+ @screenXLMin: 1200px;
489
+ @screenXLMax: 1599px;
490
+ @screenXXL: 1600px;
491
+ @screenXXLMin: 1600px;
492
492
  @boxShadowPopoverArrow: 2px 2px 5px rgba(0, 0, 0, 0.05);
493
493
  @boxShadowCard:
494
494
  0 1px 2px -2px rgba(0,0,0,0.16),
@@ -9,15 +9,11 @@ export var genTypographyStyle = function genTypographyStyle(token) {
9
9
  fontSize = token.fontSize,
10
10
  lineHeight = token.lineHeight;
11
11
  var marginOffset = (controlHeight - fontSize * lineHeight) / 2;
12
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "span".concat(componentCls), {
12
+ return _defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty({
13
13
  lineHeight: 'inherit',
14
14
  color: 'inherit',
15
15
  fontSize: 'inherit'
16
- }), "div".concat(componentCls), {
17
- lineHeight: 'inherit',
18
- color: 'inherit',
19
- fontSize: 'inherit'
20
- }), "".concat(componentCls), _defineProperty({}, "".concat(componentCls, "-edit"), {
16
+ }, "".concat(componentCls, "-edit"), {
21
17
  fontSize: token.fontSize
22
18
  })), "".concat(componentCls).concat(componentCls, "-editable-text:not(").concat(componentCls, "-edit-content)"), {
23
19
  '&:hover': {
@@ -1,4 +1,2 @@
1
1
  import type { CSSObject } from '@ant-design/cssinjs';
2
- import type { FullToken } from 'antd/es/theme/internal';
3
2
  export declare const genCompactStyle: (componentCls: string, subComponentCls?: string) => CSSObject;
4
- export declare const genLargeStyle: (token: FullToken<any>) => CSSObject;