@taiga-ui/addon-doc 3.21.0 → 3.22.0-dev.main-a08b721
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/bundles/taiga-ui-addon-doc.umd.js +84 -25
- package/bundles/taiga-ui-addon-doc.umd.js.map +1 -1
- package/components/demo/demo.component.d.ts +4 -2
- package/components/documentation/documentation-property-connector.directive.d.ts +4 -2
- package/components/example/example.module.d.ts +1 -1
- package/esm2015/components/demo/demo.component.js +12 -7
- package/esm2015/components/documentation/documentation-property-connector.directive.js +9 -4
- package/esm2015/components/example/example.component.js +2 -2
- package/esm2015/components/example/example.module.js +6 -3
- package/esm2015/components/navigation/navigation.providers.js +2 -2
- package/esm2015/interfaces/code-editor.js +1 -1
- package/esm2015/internal/see-also/see-also.component.js +7 -15
- package/esm2015/public-api.js +2 -1
- package/esm2015/tokens/pages.js +9 -2
- package/esm2015/tokens/url-state-handler.js +5 -0
- package/esm2015/utils/to-flat-map-pages.js +23 -0
- package/fesm2015/taiga-ui-addon-doc.js +64 -28
- package/fesm2015/taiga-ui-addon-doc.js.map +1 -1
- package/interfaces/code-editor.d.ts +2 -0
- package/internal/see-also/see-also.component.d.ts +2 -2
- package/package.json +5 -5
- package/public-api.d.ts +1 -0
- package/tokens/pages.d.ts +3 -1
- package/tokens/url-state-handler.d.ts +4 -0
- package/utils/to-flat-map-pages.d.ts +3 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TuiDocPage
|
|
1
|
+
import type { TuiDocPage } from '../../interfaces/page';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiDocSeeAlsoComponent {
|
|
4
4
|
readonly text: string;
|
|
5
5
|
private readonly pages;
|
|
6
6
|
seeAlso: readonly string[];
|
|
7
|
-
constructor(text: string, pages:
|
|
7
|
+
constructor(text: string, pages: Map<string, TuiDocPage>);
|
|
8
8
|
getRouterLink(pageTitle: string): string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocSeeAlsoComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocSeeAlsoComponent, "tui-doc-see-also", never, { "seeAlso": "seeAlso"; }, {}, never, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-doc",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0-dev.main-a08b721",
|
|
4
4
|
"description": "Taiga UI based library for developing documentation portals for Angular libraries.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@angular/forms": ">=12.0.0",
|
|
28
28
|
"@angular/router": ">=12.0.0",
|
|
29
29
|
"@ng-web-apis/common": ">=2.0.0",
|
|
30
|
-
"@taiga-ui/addon-mobile": ">=3.
|
|
31
|
-
"@taiga-ui/cdk": ">=3.
|
|
32
|
-
"@taiga-ui/core": ">=3.
|
|
33
|
-
"@taiga-ui/kit": ">=3.
|
|
30
|
+
"@taiga-ui/addon-mobile": ">=3.22.0",
|
|
31
|
+
"@taiga-ui/cdk": ">=3.22.0",
|
|
32
|
+
"@taiga-ui/core": ">=3.22.0",
|
|
33
|
+
"@taiga-ui/kit": ">=3.22.0",
|
|
34
34
|
"@tinkoff/ng-polymorpheus": ">=4.0.0"
|
|
35
35
|
},
|
|
36
36
|
"main": "bundles/taiga-ui-addon-doc.umd.js",
|
package/public-api.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export * from './tokens/scroll-behavior';
|
|
|
45
45
|
export * from './tokens/see-also';
|
|
46
46
|
export * from './tokens/source-code';
|
|
47
47
|
export * from './tokens/title';
|
|
48
|
+
export * from './tokens/url-state-handler';
|
|
48
49
|
export * from './types/pages';
|
|
49
50
|
export * from './addon-doc.module';
|
|
50
51
|
export * from './utils/coerce-value';
|
package/tokens/pages.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import type { TuiDocPage } from '../interfaces/page';
|
|
3
|
+
import type { TuiDocPages } from '../types/pages';
|
|
3
4
|
/**
|
|
4
5
|
* Documentation pages
|
|
5
6
|
*/
|
|
6
7
|
export declare const TUI_DOC_PAGES: InjectionToken<TuiDocPages>;
|
|
8
|
+
export declare const TUI_DOC_MAP_PAGES: InjectionToken<Map<string, TuiDocPage>>;
|