@taiga-ui/addon-doc 5.0.0-rc.1 → 5.0.0-rc.2
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/api/api-item.component.d.ts +1 -2
- package/components/api/api.component.d.ts +1 -2
- package/components/code/index.d.ts +2 -1
- package/components/demo/index.d.ts +1 -2
- package/components/example/example.component.d.ts +7 -5
- package/components/index.d.ts +1 -1
- package/components/internal/header/index.d.ts +1 -0
- package/components/navigation/navigation.component.d.ts +1 -0
- package/components/page/page.component.d.ts +2 -5
- package/components/page/page.providers.d.ts +1 -6
- package/components/theme-switcher/theme-switcher.component.d.ts +3 -2
- package/components/toc/index.d.ts +22 -0
- package/fesm2022/taiga-ui-addon-doc-components.mjs +220 -197
- package/fesm2022/taiga-ui-addon-doc-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-services.mjs +4 -6
- package/fesm2022/taiga-ui-addon-doc-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-tokens.mjs +26 -86
- package/fesm2022/taiga-ui-addon-doc-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-types.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-utils.mjs +20 -1
- package/fesm2022/taiga-ui-addon-doc-utils.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc.mjs +3 -1
- package/fesm2022/taiga-ui-addon-doc.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +9 -9
- package/tokens/doc-icons.d.ts +1 -8
- package/tokens/i18n.d.ts +1 -12
- package/tokens/pages.d.ts +1 -0
- package/types/page.d.ts +0 -2
- package/utils/index.d.ts +1 -0
- package/utils/to-kebab.d.ts +8 -0
- package/components/internal/see-also/index.d.ts +0 -9
package/tokens/pages.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ import { type TuiDocRoutePage, type TuiDocRoutePages } from '@taiga-ui/addon-doc
|
|
|
4
4
|
* Documentation pages
|
|
5
5
|
*/
|
|
6
6
|
export declare const TUI_DOC_PAGES: InjectionToken<TuiDocRoutePages>;
|
|
7
|
+
export declare const TUI_DOC_PAGES_ICONS: InjectionToken<Record<string, string>>;
|
|
7
8
|
export declare const TUI_DOC_MAP_PAGES: InjectionToken<Map<string, TuiDocRoutePage>>;
|
package/types/page.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
2
1
|
export type TuiDocRoutePages = ReadonlyArray<TuiDocRoutePage | TuiDocRoutePageGroup>;
|
|
3
2
|
export interface TuiDocRoutePageBase {
|
|
4
3
|
readonly section?: string;
|
|
@@ -8,7 +7,6 @@ export interface TuiDocRoutePage extends TuiDocRoutePageBase {
|
|
|
8
7
|
readonly fragment?: string;
|
|
9
8
|
readonly keywords?: string;
|
|
10
9
|
readonly route: string;
|
|
11
|
-
readonly icon?: PolymorpheusContent;
|
|
12
10
|
readonly rel?: HTMLAnchorElement['rel'];
|
|
13
11
|
readonly target?: HTMLAnchorElement['target'];
|
|
14
12
|
}
|
package/utils/index.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare function tuiToKebab(str: string): string;
|
|
4
|
+
export declare class TuiDocKebabPipe implements PipeTransform {
|
|
5
|
+
readonly transform: typeof tuiToKebab;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocKebabPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiDocKebabPipe, "tuiKebab", true>;
|
|
8
|
+
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TuiDocSeeAlso {
|
|
3
|
-
private readonly pages;
|
|
4
|
-
protected readonly text: string;
|
|
5
|
-
readonly seeAlso: import("@angular/core").InputSignal<readonly string[]>;
|
|
6
|
-
protected getRouterLink(pageTitle: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocSeeAlso, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocSeeAlso, "tui-doc-see-also", never, { "seeAlso": { "alias": "seeAlso"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|