@alauda/ui 6.1.6-beta.0 → 6.1.6-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.1.6-beta.0",
3
+ "version": "6.1.6-beta.1",
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",
@@ -29,22 +29,6 @@
29
29
  }
30
30
  }
31
31
 
32
- @function get-size($name) {
33
- @return use-var($name);
34
- }
35
-
36
- @function get-color($name: primary, $level: none) {
37
- @return use-rgb($name, $level);
38
- }
39
-
40
- @function get-text-color($level: main) {
41
- @return use-text-color($level);
42
- }
43
-
44
- @function get-rgba($name, $opacity) {
45
- @return use-rgba($name, $opacity);
46
- }
47
-
48
32
  $divider-line: 1px solid use-rgb(n-8);
49
33
 
50
34
  /**
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
2
2
  import { ThemeService } from './theme.service';
3
3
  import { ThemeSet } from './theme.types';
4
- export declare class ThemePipe<T> implements PipeTransform, OnDestroy {
4
+ export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
5
5
  private currentTheme;
6
6
  private readonly destroy$$;
7
7
  constructor(themeService: ThemeService, cdr: ChangeDetectorRef);
@@ -6,7 +6,7 @@ export declare class ThemeService {
6
6
  private readonly currentAppTheme$$;
7
7
  readonly currentTheme$: import("rxjs").Observable<Theme>;
8
8
  constructor();
9
- changeThemeMode(mode: ThemeMode): void;
9
+ setThemeMode(mode: ThemeMode): void;
10
10
  currentTheme(): Theme;
11
11
  private themeChanged;
12
12
  }