@alauda/ui 6.2.3-beta.7 → 6.3.1-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 (35) hide show
  1. package/esm2020/autocomplete/autocomplete.component.mjs +2 -2
  2. package/esm2020/autocomplete/suggestion/suggestion.component.mjs +2 -2
  3. package/esm2020/back-top/back-top.component.mjs +2 -2
  4. package/esm2020/button/button.component.mjs +2 -2
  5. package/esm2020/checkbox/checkbox.component.mjs +2 -2
  6. package/esm2020/date-picker/calendar/panel/picker-panel.mjs +2 -2
  7. package/esm2020/date-picker/trigger/trigger.component.mjs +2 -2
  8. package/esm2020/drawer/component/drawer.component.mjs +2 -2
  9. package/esm2020/dropdown/submenu/submenu.component.mjs +2 -2
  10. package/esm2020/input/input.component.mjs +2 -2
  11. package/esm2020/input/number-input/number-input.component.mjs +2 -2
  12. package/esm2020/input/tags-input/tags-input.component.mjs +2 -2
  13. package/esm2020/radio/radio-button/radio-button.component.mjs +2 -2
  14. package/esm2020/radio/radio.component.mjs +2 -2
  15. package/esm2020/select/multi-select/multi-select.component.mjs +5 -5
  16. package/esm2020/select/option/option.component.mjs +2 -2
  17. package/esm2020/select/select.component.mjs +2 -2
  18. package/esm2020/switch/switch.component.mjs +2 -2
  19. package/esm2020/tabs/tab-header.component.mjs +2 -2
  20. package/esm2020/tag/check-tag/check-tag.component.mjs +2 -2
  21. package/esm2020/tag/tag.component.mjs +2 -2
  22. package/esm2020/time-picker/component.mjs +2 -2
  23. package/esm2020/tooltip/tooltip.component.mjs +2 -2
  24. package/esm2020/tooltip/tooltip.directive.mjs +1 -2
  25. package/esm2020/tree-select/tree-select.component.mjs +3 -3
  26. package/esm2020/utils/coercion.mjs +3 -2
  27. package/fesm2015/alauda-ui.mjs +56 -57
  28. package/fesm2015/alauda-ui.mjs.map +1 -1
  29. package/fesm2020/alauda-ui.mjs +52 -52
  30. package/fesm2020/alauda-ui.mjs.map +1 -1
  31. package/package.json +1 -1
  32. package/theme/_mixin.scss +6 -1
  33. package/theme/_var.scss +2 -6
  34. package/theme/style.css +2 -2
  35. package/tree-select/tree-select.component.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.2.3-beta.7",
3
+ "version": "6.3.1-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",
package/theme/_mixin.scss CHANGED
@@ -51,7 +51,12 @@
51
51
 
52
52
  // 使用 box-shadow 模拟带圆角的 outline
53
53
  @mixin outline-shadow($color: primary) {
54
- box-shadow: 0 0 0 2px use-rgba($color, 0.16);
54
+ @include theme-light {
55
+ box-shadow: 0 0 0 2px use-rgba($color, 0.16);
56
+ }
57
+ @include theme-dark {
58
+ box-shadow: 0 0 0 2px use-rgba($color, 0.3);
59
+ }
55
60
  }
56
61
 
57
62
  @mixin card-shadow() {
package/theme/_var.scss CHANGED
@@ -1,4 +1,5 @@
1
1
  @use 'sass:math';
2
+
2
3
  @import 'base-var';
3
4
 
4
5
  // Button
@@ -70,7 +71,7 @@ $tooltip-padding-ver: 8px - $tooltip-border-width;
70
71
  $tooltip-offset: 4px;
71
72
  $tooltip-max-width: 416px;
72
73
 
73
- $tooltip-default-bg: rgba(0, 0, 0, 0.85);
74
+ $tooltip-default-bg: rgb(0 0 0 / 85%);
74
75
  $tooltip-default-border: $tooltip-default-bg;
75
76
  $tooltip-default-text: $color-white;
76
77
 
@@ -335,11 +336,6 @@ $status-bar-pending-gradient-width: 4px;
335
336
  $accordion-item-header-padding: 12px 0;
336
337
  $accordion-item-header-color: #666;
337
338
 
338
- //Back Top
339
- $back-top-box-size: 36px;
340
- $back-top-position-offset: 10px;
341
- $back-top-border-radius: 2px;
342
-
343
339
  // timepicker
344
340
  $time-picker-icon-size: $font-size-large;
345
341
  $time-picker-body-small-width: 278px;
package/theme/style.css CHANGED
@@ -154,7 +154,7 @@ html[aui-theme-mode=light] {
154
154
  --aui-color-r-4: 121, 43, 63;
155
155
  --aui-color-r-6: 83, 41, 57;
156
156
  --aui-color-r-7: 101, 42, 60;
157
- --aui-color-n-1: 243, 244, 248;
157
+ --aui-color-n-1: 238, 239, 243;
158
158
  --aui-color-n-2: 200, 201, 205;
159
159
  --aui-color-n-3: 184, 186, 194;
160
160
  --aui-color-n-4: 152, 154, 162;
@@ -208,7 +208,7 @@ html[aui-theme-mode=dark] {
208
208
  --aui-color-r-4: 121, 43, 63;
209
209
  --aui-color-r-6: 83, 41, 57;
210
210
  --aui-color-r-7: 101, 42, 60;
211
- --aui-color-n-1: 243, 244, 248;
211
+ --aui-color-n-1: 238, 239, 243;
212
212
  --aui-color-n-2: 200, 201, 205;
213
213
  --aui-color-n-3: 184, 186, 194;
214
214
  --aui-color-n-4: 152, 154, 162;
@@ -26,7 +26,7 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
26
26
  hide: EventEmitter<void>;
27
27
  protected selectRef: ElementRef<HTMLElement>;
28
28
  protected tooltipRef: TooltipDirective;
29
- nodeListRef: ElementRef;
29
+ nodeListRef: ElementRef<HTMLElement>;
30
30
  inputRef: InputComponent;
31
31
  private _nodesData;
32
32
  private _filterString;
@@ -77,7 +77,7 @@ export declare class TreeNodeComponent<T> implements AfterViewInit, OnDestroy {
77
77
  set nodeData(val: TreeNode<T>);
78
78
  get leafOnly(): boolean | '';
79
79
  set leafOnly(val: boolean | '');
80
- titleRef: ElementRef;
80
+ titleRef: ElementRef<HTMLElement>;
81
81
  childNodes: QueryList<TreeNodeComponent<T>>;
82
82
  selected: boolean;
83
83
  visible: boolean;