@taiga-ui/core 4.3.0 → 4.4.0-canary.6e6e993
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/components/icon/icon.component.d.ts +5 -4
- package/components/scrollbar/scrollbar.component.d.ts +2 -1
- package/components/textfield/textfield.component.d.ts +1 -0
- package/esm2022/components/calendar/calendar-sheet.component.mjs +3 -3
- package/esm2022/components/icon/icon.component.mjs +17 -23
- package/esm2022/components/notification/notification.options.mjs +2 -2
- package/esm2022/components/root/root.component.mjs +1 -1
- package/esm2022/components/scrollbar/scrollbar.component.mjs +12 -11
- package/esm2022/components/scrollbar/scrollbar.directive.mjs +7 -5
- package/esm2022/components/textfield/textfield.component.mjs +6 -3
- package/esm2022/directives/icons/icons.directive.mjs +2 -2
- package/esm2022/pipes/month/month.pipe.mjs +2 -2
- package/esm2022/services/breakpoint.service.mjs +2 -2
- package/esm2022/services/dark-theme.service.mjs +4 -1
- package/esm2022/tokens/dark-mode.mjs +40 -0
- package/esm2022/tokens/icon-resolver.mjs +12 -10
- package/esm2022/tokens/icons.mjs +8 -4
- package/esm2022/tokens/index.mjs +2 -1
- package/esm2022/utils/format/number-to-string-without-exp.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-calendar.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +16 -22
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +17 -14
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +5 -2
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs +1 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-services.mjs +4 -1
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +57 -15
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/package.json +324 -324
- package/services/dark-theme.service.d.ts +3 -0
- package/styles/components/icon.less +1 -1
- package/styles/components/icons.less +1 -0
- package/styles/components/textfield.less +1 -0
- package/tokens/dark-mode.d.ts +6 -0
- package/tokens/icon-resolver.d.ts +4 -0
- package/tokens/icons.d.ts +4 -0
- package/tokens/index.d.ts +1 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use {@link TUI_DARK_MODE} instead
|
|
5
|
+
*/
|
|
3
6
|
export declare class TuiDarkThemeService extends Observable<boolean> {
|
|
4
7
|
constructor();
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDarkThemeService, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken, type WritableSignal } from '@angular/core';
|
|
2
|
+
export declare const TUI_DARK_MODE_DEFAULT_KEY = "tuiDark";
|
|
3
|
+
export declare const TUI_DARK_MODE_KEY: InjectionToken<string>;
|
|
4
|
+
export declare const TUI_DARK_MODE: InjectionToken<WritableSignal<boolean> & {
|
|
5
|
+
reset(): void;
|
|
6
|
+
}>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
2
|
import type { TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
|
+
export declare const TUI_ICON_RESOLVER: import("@angular/core").InjectionToken<TuiStringHandler<string>>;
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use {@link TUI_ICON_RESOLVER}
|
|
6
|
+
*/
|
|
3
7
|
export declare const TUI_ICON_START_RESOLVER: import("@angular/core").InjectionToken<TuiStringHandler<string>>;
|
|
4
8
|
export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
|
|
5
9
|
export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;
|
package/tokens/icons.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import type { FactoryProvider } from '@angular/core';
|
|
2
|
+
export declare const TUI_ICON_REGISTRY: import("@angular/core").InjectionToken<Record<string, string>>;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: use {@link TUI_ICON_REGISTRY}
|
|
5
|
+
*/
|
|
2
6
|
export declare const TUI_ICON_STARTS: import("@angular/core").InjectionToken<Record<string, string>>;
|
|
3
7
|
export declare function tuiIconsProvider(icons: Record<string, string>): FactoryProvider;
|
package/tokens/index.d.ts
CHANGED