@taiga-ui/addon-doc 5.0.0-rc.5 → 5.0.0
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/code/index.d.ts +1 -0
- package/components/demo/index.d.ts +1 -1
- package/components/example/example.component.d.ts +2 -2
- package/components/index.d.ts +0 -1
- package/components/internal/header/index.d.ts +1 -1
- package/components/internal/source-code/source-code.component.d.ts +1 -1
- package/components/main/main.component.d.ts +0 -8
- package/components/navigation/navigation.component.d.ts +1 -1
- package/components/page/page.component.d.ts +0 -1
- package/components/toc/index.d.ts +2 -2
- package/fesm2022/taiga-ui-addon-doc-components.mjs +31 -102
- package/fesm2022/taiga-ui-addon-doc-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-tokens.mjs +9 -39
- package/fesm2022/taiga-ui-addon-doc-tokens.mjs.map +1 -1
- package/package.json +9 -9
- package/tokens/doc-icons.d.ts +1 -12
- package/tokens/i18n.d.ts +8 -24
- package/tokens/index.d.ts +0 -1
- package/components/language-switcher/index.d.ts +0 -15
- package/tokens/support-language.d.ts +0 -2
|
@@ -4,6 +4,7 @@ import { type TuiHandler } from '@taiga-ui/cdk/types';
|
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiDocCode implements OnChanges {
|
|
7
|
+
private readonly copy;
|
|
7
8
|
private readonly icons;
|
|
8
9
|
private readonly rawLoader$$;
|
|
9
10
|
private readonly texts;
|
|
@@ -25,7 +25,7 @@ export declare class TuiDocDemo implements AfterViewInit {
|
|
|
25
25
|
protected opaque: boolean;
|
|
26
26
|
protected expanded: boolean;
|
|
27
27
|
protected sandboxWidth: number;
|
|
28
|
-
protected readonly texts: [string, string, string]
|
|
28
|
+
protected readonly texts: Signal<[string, string, string]>;
|
|
29
29
|
readonly control: import("@angular/core").InputSignal<AbstractControl<any, any> | null>;
|
|
30
30
|
readonly sticky: import("@angular/core").InputSignal<boolean>;
|
|
31
31
|
ngAfterViewInit(): void;
|
|
@@ -11,16 +11,16 @@ export declare class TuiDocExample implements OnChanges {
|
|
|
11
11
|
private readonly alerts;
|
|
12
12
|
private readonly location;
|
|
13
13
|
private readonly copyTexts;
|
|
14
|
+
private readonly doneWord;
|
|
14
15
|
private readonly processContent;
|
|
15
16
|
private readonly rawLoader$$;
|
|
16
17
|
protected readonly fullscreenEnabled: boolean;
|
|
17
18
|
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
18
19
|
protected readonly options: import("./example.options").TuiDocExampleOptions;
|
|
19
|
-
protected readonly
|
|
20
|
+
protected readonly defaultTab: import("@angular/core").Signal<string>;
|
|
20
21
|
protected readonly codeEditor: import("@taiga-ui/addon-doc/types").TuiCodeEditor | null;
|
|
21
22
|
protected readonly codeActions: readonly PolymorpheusContent<TuiContext<string>>[];
|
|
22
23
|
protected readonly route: ActivatedRoute;
|
|
23
|
-
protected readonly defaultTab: string;
|
|
24
24
|
protected activeItemIndex: number;
|
|
25
25
|
protected fullscreen: boolean;
|
|
26
26
|
protected readonly copy: import("@angular/core").Signal<string>;
|
package/components/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export * from './example/example.options';
|
|
|
10
10
|
export * from './example/example-get-tabs.pipe';
|
|
11
11
|
export * from './internal/header';
|
|
12
12
|
export * from './internal/source-code/source-code.component';
|
|
13
|
-
export * from './language-switcher';
|
|
14
13
|
export * from './main/main.component';
|
|
15
14
|
export * from './navigation/navigation.component';
|
|
16
15
|
export * from './navigation/navigation.providers';
|
|
@@ -4,7 +4,7 @@ export declare class TuiDocHeader {
|
|
|
4
4
|
private readonly routeEvents;
|
|
5
5
|
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
6
6
|
protected readonly logo: import("@taiga-ui/polymorpheus").PolymorpheusContent;
|
|
7
|
-
protected readonly menu: string
|
|
7
|
+
protected readonly menu: import("@angular/core").Signal<string>;
|
|
8
8
|
protected readonly breakpoint: import("@angular/core").Signal<"desktopLarge" | "desktopSmall" | "mobile">;
|
|
9
9
|
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
10
10
|
constructor();
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TuiDocSourceCode {
|
|
4
4
|
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
5
5
|
protected readonly sourceCode: import("@taiga-ui/polymorpheus").PolymorpheusContent<TuiDocSourceCodePathOptions>;
|
|
6
|
-
protected readonly text: string
|
|
6
|
+
protected readonly text: import("@angular/core").Signal<string>;
|
|
7
7
|
readonly header: import("@angular/core").InputSignal<string>;
|
|
8
8
|
readonly package: import("@angular/core").InputSignal<string>;
|
|
9
9
|
readonly type: import("@angular/core").InputSignal<string>;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiDocMain {
|
|
3
|
-
private readonly doc;
|
|
4
|
-
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
5
|
-
protected readonly dir: false;
|
|
6
|
-
protected readonly darkMode: import("@angular/core").WritableSignal<boolean> & {
|
|
7
|
-
reset(): void;
|
|
8
|
-
};
|
|
9
|
-
protected readonly icon: import("@angular/core").Signal<string>;
|
|
10
|
-
changeTextDirection(): void;
|
|
11
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocMain, never>;
|
|
12
4
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocMain, "tui-doc-main", never, {}, {}, never, ["tuiDocNavigation", "tuiDocHeader", "tuiOverContent"], true, never>;
|
|
13
5
|
}
|
|
@@ -12,7 +12,7 @@ export declare class TuiDocNavigation {
|
|
|
12
12
|
protected readonly drawer: TuiDrawer | null;
|
|
13
13
|
protected readonly labels: readonly string[];
|
|
14
14
|
protected readonly items: readonly TuiDocRoutePages[];
|
|
15
|
-
protected readonly searchText: string
|
|
15
|
+
protected readonly searchText: Signal<string>;
|
|
16
16
|
protected readonly searchEnabled: import("@angular/core").WritableSignal<boolean>;
|
|
17
17
|
protected readonly docIcons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
18
18
|
protected readonly pagesIcons: Record<string, string>;
|
|
@@ -3,7 +3,6 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TuiDocPage {
|
|
4
4
|
protected readonly tabConnectors: import("@angular/core").Signal<readonly TuiDocPageTabConnector[]>;
|
|
5
5
|
protected readonly tabs: Record<string, import("@taiga-ui/polymorpheus").PolymorpheusContent>;
|
|
6
|
-
protected readonly supportLanguage: Set<string>;
|
|
7
6
|
protected readonly defaultTabs: readonly string[];
|
|
8
7
|
protected readonly from: RegExp;
|
|
9
8
|
protected readonly to = "_";
|
|
@@ -10,8 +10,8 @@ export declare class TuiDocToc implements OnInit {
|
|
|
10
10
|
protected readonly route: ActivatedRoute;
|
|
11
11
|
protected readonly seeAlso: string[];
|
|
12
12
|
protected readonly text: {
|
|
13
|
-
toc: string
|
|
14
|
-
seeAlso: string
|
|
13
|
+
toc: import("@angular/core").Signal<string>;
|
|
14
|
+
seeAlso: import("@angular/core").Signal<string>;
|
|
15
15
|
};
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
protected isActive(fragment: string): boolean;
|