@tolle_/tolle-ui 0.0.21-beta → 0.0.22-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.
@@ -1,7 +1,7 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import * as i0 from "@angular/core";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | null | undefined;
6
6
  busy?: boolean | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -54,11 +54,22 @@ export declare class ThemeService {
54
54
  setPrimaryColor(color: string, persist?: boolean): void;
55
55
  get currentTheme(): 'dark' | 'light';
56
56
  get primaryColor(): string | null;
57
- get radius(): string | null;
58
57
  /**
59
- * Applies the brand identity variables with full shade palette
58
+ * Reset to config defaults (clears user preferences)
60
59
  */
61
- applyBrandConfig(config: TolleConfig): void;
60
+ resetToConfigDefaults(): void;
61
+ /**
62
+ * Get current user preferences
63
+ */
64
+ getUserPreferences(): {
65
+ theme: string | null;
66
+ primaryColor: string | null;
67
+ radius: string | null;
68
+ } | null;
69
+ /**
70
+ * Clear all user preferences
71
+ */
72
+ clearUserPreferences(): void;
62
73
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, [null, null, { optional: true; }, null]>;
63
74
  static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
64
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolle_/tolle-ui",
3
- "version": "0.0.21-beta",
3
+ "version": "0.0.22-beta",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },