sprof 0.8.13 → 0.8.14

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.
@@ -15,4 +15,4 @@ export { useFilters } from './useFilters';
15
15
  export type { UsePaginationReturn } from './usePagination';
16
16
  export { usePagination } from './usePagination';
17
17
  export type { ThemeName, UseThemeOptions, UseThemeReturn } from './useTheme';
18
- export { getStoredTheme, useTheme } from './useTheme';
18
+ export { getStoredTheme, isThemeLockedLight, lockLightTheme, useTheme } from './useTheme';
@@ -25,6 +25,12 @@ export interface UseThemeReturn {
25
25
  /** Переключить */
26
26
  toggle(): void;
27
27
  }
28
+ /** Заморозить тему в светлой (см. `themeLockedLight`). */
29
+ export declare function lockLightTheme(): void;
30
+ /** Тема заморожена в светлой. */
31
+ export declare function isThemeLockedLight(): boolean;
32
+ /** Снять/поставить замок — для тестов (в приложении — только `lockLightTheme`). */
33
+ export declare function _setThemeLockForTests(locked: boolean): void;
28
34
  /**
29
35
  * Переключатель темы дизайн-системы (UI-6.1).
30
36
  *
package/dist/index.d.ts CHANGED
@@ -48,7 +48,7 @@ export type { UseCrudOptions, UseCrudReturn } from './core/composables/useCrud';
48
48
  export type { UseFiltersReturn } from './core/composables/useFilters';
49
49
  export type { UsePaginationReturn } from './core/composables/usePagination';
50
50
  export type { ThemeName, UseThemeOptions, UseThemeReturn } from './core/composables/useTheme';
51
- export { getStoredTheme, useTheme } from './core/composables/useTheme';
51
+ export { getStoredTheme, isThemeLockedLight, lockLightTheme, useTheme } from './core/composables/useTheme';
52
52
  export type { QuasarBrand } from './core/brand/quasar';
53
53
  export { quasarBrandExample, quasarBrandRdkb } from './core/brand/quasar';
54
54
  export type { AuthLogOperation, AuthLogProvider, AuthLogReason, AuthLogUser } from './core/auth/AuthLog';