@alauda/ui 6.2.2 → 6.2.3-beta

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 (72) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +32 -32
  3. package/bundles/alauda-ui.umd.min.js +1 -1
  4. package/bundles/alauda-ui.umd.min.js.map +1 -1
  5. package/esm2015/accordion/accordion-item/accordion-item.component.js +1 -1
  6. package/esm2015/accordion/accordion-item/accordion-item.component.scss.ngstyle.js +1 -1
  7. package/esm2015/anchor/anchor.component.js +1 -1
  8. package/esm2015/anchor/anchor.component.scss.ngstyle.js +1 -1
  9. package/esm2015/autocomplete/suggestion/suggestion.component.js +1 -1
  10. package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +1 -1
  11. package/esm2015/autocomplete/suggestion-group/suggestion-group.component.js +1 -1
  12. package/esm2015/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.js +1 -1
  13. package/esm2015/back-top/back-top.component.js +1 -1
  14. package/esm2015/back-top/back-top.component.scss.ngstyle.js +1 -1
  15. package/esm2015/button/button.component.js +1 -1
  16. package/esm2015/button/button.component.scss.ngstyle.js +1 -1
  17. package/esm2015/card/card.component.js +1 -1
  18. package/esm2015/card/card.component.scss.ngstyle.js +1 -1
  19. package/esm2015/checkbox/checkbox.component.js +1 -1
  20. package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +1 -1
  21. package/esm2015/color-picker/color-picker.component.js +1 -1
  22. package/esm2015/color-picker/color-picker.component.scss.ngstyle.js +1 -1
  23. package/esm2015/date-picker/calendar/header/component.js +1 -1
  24. package/esm2015/date-picker/calendar/header/style.scss.ngstyle.js +1 -1
  25. package/esm2015/date-picker/calendar/panel/picker-panel.js +1 -1
  26. package/esm2015/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.js +1 -1
  27. package/esm2015/date-picker/calendar/range-picker-panel/component.js +1 -1
  28. package/esm2015/date-picker/calendar/range-picker-panel/style.scss.ngstyle.js +1 -1
  29. package/esm2015/date-picker/trigger/trigger.component.js +1 -1
  30. package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +1 -1
  31. package/esm2015/dialog/confirm-dialog/confirm-dialog.component.js +1 -1
  32. package/esm2015/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.js +1 -1
  33. package/esm2015/dialog/dialog.component.js +1 -1
  34. package/esm2015/dialog/dialog.component.scss.ngstyle.js +1 -1
  35. package/esm2015/drawer/component/drawer.component.js +1 -1
  36. package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +1 -1
  37. package/esm2015/inline-alert/inline-alert.component.js +1 -1
  38. package/esm2015/inline-alert/inline-alert.component.scss.ngstyle.js +1 -1
  39. package/esm2015/input/input-group/input-group.component.js +1 -1
  40. package/esm2015/input/input-group/input-group.component.scss.ngstyle.js +1 -1
  41. package/esm2015/input/input.component.js +1 -1
  42. package/esm2015/input/input.component.scss.ngstyle.js +1 -1
  43. package/esm2015/input/number-input/number-input.component.js +1 -1
  44. package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +1 -1
  45. package/esm2015/input/search/search.component.js +1 -1
  46. package/esm2015/input/search/search.component.scss.ngstyle.js +1 -1
  47. package/esm2015/input/tags-input/tags-input.component.js +1 -1
  48. package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +1 -1
  49. package/esm2015/message/message.component.js +1 -1
  50. package/esm2015/message/message.component.scss.ngstyle.js +1 -1
  51. package/esm2015/select/multi-select/multi-select.component.js +1 -1
  52. package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
  53. package/esm2015/select/option/option.component.js +1 -1
  54. package/esm2015/select/option/option.component.scss.ngstyle.js +1 -1
  55. package/esm2015/select/option-group/option-group.component.js +1 -1
  56. package/esm2015/select/option-group/option-group.component.scss.ngstyle.js +1 -1
  57. package/esm2015/select/select.component.js +1 -1
  58. package/esm2015/select/select.component.scss.ngstyle.js +1 -1
  59. package/esm2015/table/table.component.js +1 -1
  60. package/esm2015/table/table.component.scss.ngstyle.js +1 -1
  61. package/esm2015/time-picker/component.js +1 -1
  62. package/esm2015/time-picker/panel/panel.component.js +1 -1
  63. package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +1 -1
  64. package/esm2015/time-picker/style.scss.ngstyle.js +1 -1
  65. package/esm2015/tree-select/tree-node/tree-node.component.js +1 -1
  66. package/esm2015/tree-select/tree-node/tree-node.component.scss.ngstyle.js +1 -1
  67. package/esm2015/tree-select/tree-select.component.js +1 -1
  68. package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +1 -1
  69. package/fesm2015/alauda-ui.js +32 -32
  70. package/package.json +1 -1
  71. package/theme/_base-var.scss +1 -11
  72. package/theme/style.css +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.2.2",
3
+ "version": "6.2.3-beta",
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",
@@ -16,17 +16,7 @@
16
16
  }
17
17
 
18
18
  @function use-text-color($level: main) {
19
- @if $level == main {
20
- @return use-rgb(n-1);
21
- } @else if $level == secondary {
22
- @return use-rgb(n-2);
23
- } @else if $level == help {
24
- @return use-rgb(n-4);
25
- } @else if $level == disabled or $level == placeholder {
26
- @return use-rgb(n-6);
27
- } @else {
28
- @return use-rgb($level);
29
- }
19
+ @return use-rgb(#{$level}-text);
30
20
  }
31
21
 
32
22
  $divider-line: 1px solid use-rgb(n-8);
package/theme/style.css CHANGED
@@ -61,6 +61,11 @@
61
61
  --aui-color-main-bg: var(--aui-color-n-9);
62
62
  --aui-color-divider: var(--aui-color-n-8);
63
63
  --aui-color-border: var(--aui-color-n-7);
64
+ --aui-color-main-text: var(--aui-color-n-1);
65
+ --aui-color-secondary-text: var(--aui-color-n-2);
66
+ --aui-color-help-text: var(--aui-color-n-4);
67
+ --aui-color-disabled-text: var(--aui-color-n-6);
68
+ --aui-color-placeholder-text: var(--aui-color-n-6);
64
69
  }
65
70
 
66
71
  html[aui-theme-mode=light] {
@@ -110,6 +115,11 @@ html[aui-theme-mode=light] {
110
115
  --aui-color-main-bg: var(--aui-color-n-9);
111
116
  --aui-color-divider: var(--aui-color-n-8);
112
117
  --aui-color-border: var(--aui-color-n-7);
118
+ --aui-color-main-text: var(--aui-color-n-1);
119
+ --aui-color-secondary-text: var(--aui-color-n-2);
120
+ --aui-color-help-text: var(--aui-color-n-4);
121
+ --aui-color-disabled-text: var(--aui-color-n-6);
122
+ --aui-color-placeholder-text: var(--aui-color-n-6);
113
123
  }
114
124
 
115
125
  @media (prefers-color-scheme: dark) {
@@ -160,6 +170,11 @@ html[aui-theme-mode=light] {
160
170
  --aui-color-main-bg: var(--aui-color-n-9);
161
171
  --aui-color-divider: var(--aui-color-n-8);
162
172
  --aui-color-border: var(--aui-color-n-7);
173
+ --aui-color-main-text: var(--aui-color-n-1);
174
+ --aui-color-secondary-text: var(--aui-color-n-2);
175
+ --aui-color-help-text: var(--aui-color-n-4);
176
+ --aui-color-disabled-text: var(--aui-color-n-6);
177
+ --aui-color-placeholder-text: var(--aui-color-n-6);
163
178
  }
164
179
  }
165
180
  html[aui-theme-mode=dark] {
@@ -209,6 +224,11 @@ html[aui-theme-mode=dark] {
209
224
  --aui-color-main-bg: var(--aui-color-n-9);
210
225
  --aui-color-divider: var(--aui-color-n-8);
211
226
  --aui-color-border: var(--aui-color-n-7);
227
+ --aui-color-main-text: var(--aui-color-n-1);
228
+ --aui-color-secondary-text: var(--aui-color-n-2);
229
+ --aui-color-help-text: var(--aui-color-n-4);
230
+ --aui-color-disabled-text: var(--aui-color-n-6);
231
+ --aui-color-placeholder-text: var(--aui-color-n-6);
212
232
  }
213
233
 
214
234
  :root {