@alauda/ui 6.5.4-beta.21 → 6.5.4-beta.22

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 (48) hide show
  1. package/esm2020/accordion/accordion-item/accordion-item.component.mjs +3 -3
  2. package/esm2020/autocomplete/suggestion/suggestion.component.mjs +2 -2
  3. package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +2 -2
  4. package/esm2020/back-top/back-top.component.mjs +2 -2
  5. package/esm2020/breadcrumb/breadcrumb.component.mjs +2 -2
  6. package/esm2020/button/button.component.mjs +2 -2
  7. package/esm2020/card/card.component.mjs +2 -2
  8. package/esm2020/card/section.component.mjs +2 -2
  9. package/esm2020/checkbox/checkbox.component.mjs +2 -2
  10. package/esm2020/color-picker/color-picker.component.mjs +2 -2
  11. package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +2 -2
  12. package/esm2020/date-picker/calendar/header/component.mjs +2 -2
  13. package/esm2020/date-picker/calendar/panel/picker-panel.mjs +2 -2
  14. package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +2 -2
  15. package/esm2020/date-picker/trigger/trigger.component.mjs +2 -2
  16. package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +2 -2
  17. package/esm2020/dialog/dialog.component.mjs +3 -3
  18. package/esm2020/drawer/component/drawer.component.mjs +2 -2
  19. package/esm2020/form/form-item/form-item.component.mjs +2 -2
  20. package/esm2020/inline-alert/inline-alert.component.mjs +2 -2
  21. package/esm2020/input/input-group/input-group.component.mjs +2 -2
  22. package/esm2020/input/input.component.mjs +2 -2
  23. package/esm2020/input/number-input/number-input.component.mjs +2 -2
  24. package/esm2020/input/tags-input/tags-input.component.mjs +2 -2
  25. package/esm2020/message/message.component.mjs +3 -3
  26. package/esm2020/notification/notification.component.mjs +3 -3
  27. package/esm2020/paginator/paginator.component.mjs +2 -2
  28. package/esm2020/radio/radio-button/radio-button.component.mjs +2 -2
  29. package/esm2020/radio/radio.component.mjs +2 -2
  30. package/esm2020/select/multi-select/multi-select.component.mjs +2 -2
  31. package/esm2020/select/option/option.component.mjs +2 -2
  32. package/esm2020/select/option-group/option-group.component.mjs +2 -2
  33. package/esm2020/steps/steps.component.mjs +2 -2
  34. package/esm2020/table/table.component.mjs +2 -2
  35. package/esm2020/tabs/tab-header.component.mjs +2 -2
  36. package/esm2020/tag/check-tag/check-tag.component.mjs +2 -2
  37. package/esm2020/tag/tag.component.mjs +2 -2
  38. package/esm2020/time-picker/panel/panel.component.mjs +2 -2
  39. package/esm2020/tooltip/tooltip.component.mjs +2 -2
  40. package/esm2020/tree-select/tree-select.component.mjs +3 -3
  41. package/fesm2015/alauda-ui.mjs +80 -80
  42. package/fesm2015/alauda-ui.mjs.map +1 -1
  43. package/fesm2020/alauda-ui.mjs +80 -80
  44. package/fesm2020/alauda-ui.mjs.map +1 -1
  45. package/package.json +1 -1
  46. package/theme/_mixin.scss +2 -1
  47. package/theme/_theme-preset.scss +3 -0
  48. package/theme/style.css +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.5.4-beta.21",
3
+ "version": "6.5.4-beta.22",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
package/theme/_mixin.scss CHANGED
@@ -39,9 +39,10 @@
39
39
  }
40
40
  }
41
41
 
42
- @mixin text-set($size: m, $color: none) {
42
+ @mixin text-set($size: m, $color: none, $weight: normal) {
43
43
  font-size: use-var(font-size-#{$size});
44
44
  line-height: use-var(line-height-#{$size});
45
+ font-weight: use-var(font-weight-#{$weight});
45
46
  @if $color != none {
46
47
  color: use-text-color($color);
47
48
  }
@@ -20,6 +20,7 @@
20
20
  --aui-spacing-s: 4px;
21
21
  --aui-spacing-xs: 2px;
22
22
  --aui-font-weight-bold: 500;
23
+ --aui-font-weight-bolder: 600;
23
24
  --aui-font-weight-normal: 400;
24
25
  --aui-font-size-xxl: 20px;
25
26
  --aui-font-size-xl: 18px;
@@ -50,6 +51,7 @@
50
51
 
51
52
  @mixin light-mode {
52
53
  color-scheme: light;
54
+
53
55
  --aui-color-blue: #{rgb-string(#007af5)};
54
56
  --aui-color-b-0: #{rgb-string(#0067d0)};
55
57
  --aui-color-b-1: #{rgb-string(#268df6)};
@@ -114,6 +116,7 @@
114
116
 
115
117
  @mixin dark-mode {
116
118
  color-scheme: dark;
119
+
117
120
  --aui-color-blue: #{rgb-string(#3d8eff)};
118
121
  --aui-color-b-0: #{rgb-string(#3674cc)};
119
122
  --aui-color-b-1: #{rgb-string(#6daaff)};
package/theme/style.css CHANGED
@@ -276,6 +276,7 @@ html[aui-theme-mode=dark] {
276
276
  --aui-spacing-s: 4px;
277
277
  --aui-spacing-xs: 2px;
278
278
  --aui-font-weight-bold: 500;
279
+ --aui-font-weight-bolder: 600;
279
280
  --aui-font-weight-normal: 400;
280
281
  --aui-font-size-xxl: 20px;
281
282
  --aui-font-size-xl: 18px;
@@ -301,12 +302,20 @@ html[aui-theme-mode=dark] {
301
302
  }
302
303
 
303
304
  body {
304
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Ubuntu, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
305
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Arial, "Microsoft YaHei", sans-serif;
305
306
  font-size: 14px;
306
307
  font-weight: 400;
307
308
  line-height: 1.43;
308
309
  }
309
310
 
311
+ input,
312
+ textarea,
313
+ button {
314
+ font-size: var(--aui-font-size-m);
315
+ line-height: var(--aui-line-height-m);
316
+ font-weight: var(--aui-font-weight-normal);
317
+ }
318
+
310
319
  a {
311
320
  color: rgb(var(--aui-color-primary));
312
321
  text-decoration: none;