@taiga-ui/addon-doc 3.19.0 → 3.20.0-dev.main-c462c1e
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 +86 -25
- package/bundles/taiga-ui-addon-doc.umd.js.map +1 -1
- package/components/example/example-options.d.ts +3 -0
- package/components/language-switcher/language-switcher.component.d.ts +1 -1
- package/components/navigation/navigation.providers.d.ts +9 -0
- package/components/page/page.providers.d.ts +3 -0
- package/esm2015/components/example/example-options.js +5 -2
- package/esm2015/components/language-switcher/language-switcher.component.js +1 -1
- package/esm2015/components/navigation/navigation.providers.js +13 -4
- package/esm2015/components/page/page.providers.js +5 -2
- package/esm2015/tokens/code-actions.js +5 -2
- package/esm2015/tokens/code-editor.js +5 -2
- package/esm2015/tokens/default-tabs.js +5 -2
- package/esm2015/tokens/example-content-processor.js +13 -3
- package/esm2015/tokens/excluded-properties.js +5 -2
- package/esm2015/tokens/i18n.js +11 -8
- package/esm2015/tokens/logo.js +5 -2
- package/esm2015/tokens/page-loaded.js +5 -2
- package/esm2015/tokens/pages.js +5 -2
- package/esm2015/tokens/scroll-behavior.js +5 -2
- package/esm2015/tokens/see-also.js +5 -2
- package/esm2015/tokens/source-code.js +5 -2
- package/esm2015/tokens/title.js +5 -2
- package/fesm2015/taiga-ui-addon-doc.js +86 -25
- package/fesm2015/taiga-ui-addon-doc.js.map +1 -1
- package/package.json +5 -5
- package/tokens/code-actions.d.ts +3 -0
- package/tokens/code-editor.d.ts +3 -0
- package/tokens/default-tabs.d.ts +3 -0
- package/tokens/example-content-processor.d.ts +6 -0
- package/tokens/excluded-properties.d.ts +3 -0
- package/tokens/i18n.d.ts +3 -0
- package/tokens/logo.d.ts +3 -0
- package/tokens/page-loaded.d.ts +3 -0
- package/tokens/pages.d.ts +3 -0
- package/tokens/scroll-behavior.d.ts +3 -0
- package/tokens/see-also.d.ts +3 -0
- package/tokens/source-code.d.ts +3 -0
- package/tokens/title.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-doc",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.0-dev.main-c462c1e",
|
|
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.20.0",
|
|
31
|
+
"@taiga-ui/cdk": ">=3.20.0",
|
|
32
|
+
"@taiga-ui/core": ">=3.20.0",
|
|
33
|
+
"@taiga-ui/kit": ">=3.20.0",
|
|
34
34
|
"@tinkoff/ng-polymorpheus": ">=4.0.0"
|
|
35
35
|
},
|
|
36
36
|
"main": "bundles/taiga-ui-addon-doc.umd.js",
|
package/tokens/code-actions.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
|
+
/**
|
|
5
|
+
* Code actions for the opened tab with code example
|
|
6
|
+
*/
|
|
4
7
|
export declare const TUI_DOC_CODE_ACTIONS: InjectionToken<PolymorpheusContent<TuiContextWithImplicit<string>>>;
|
package/tokens/code-editor.d.ts
CHANGED
package/tokens/default-tabs.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { TuiHandler } from '@taiga-ui/cdk';
|
|
3
|
+
/**
|
|
4
|
+
* Processes content in example
|
|
5
|
+
*/
|
|
3
6
|
export declare const TUI_DOC_EXAMPLE_CONTENT_PROCESSOR: InjectionToken<TuiHandler<Record<string, string>, Record<string, string>>>;
|
|
7
|
+
/**
|
|
8
|
+
* Processes markdown in code block
|
|
9
|
+
*/
|
|
4
10
|
export declare const TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR: InjectionToken<TuiHandler<string, string[]>>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Token to exclude inherited documentation properties
|
|
4
|
+
*/
|
|
2
5
|
export declare const TUI_DOC_EXCLUDED_PROPERTIES: InjectionToken<Set<string>>;
|
|
3
6
|
export declare function tuiDocExcludeProperties(properties: readonly string[]): Provider;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ import { InjectionToken } from '@angular/core';
|
|
|
3
3
|
* TODO: think about reorganization in @taiga-ui/i18n way
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
+
* tui-doc-demo i18n texts
|
|
6
7
|
* Works with a tuple
|
|
7
8
|
* [@string tuiMode tooltip content, @string word 'background', @string 'form value']
|
|
8
9
|
*/
|
|
9
10
|
export declare const TUI_DOC_DEMO_TEXTS: InjectionToken<[string, string, string]>;
|
|
10
11
|
/**
|
|
12
|
+
* tui-doc-documentation i18n texts
|
|
11
13
|
* Works with a tuple
|
|
12
14
|
* [
|
|
13
15
|
* @string word 'argument',
|
|
@@ -19,6 +21,7 @@ export declare const TUI_DOC_DEMO_TEXTS: InjectionToken<[string, string, string]
|
|
|
19
21
|
*/
|
|
20
22
|
export declare const TUI_DOC_DOCUMENTATION_TEXTS: InjectionToken<[string, string, string, string, string]>;
|
|
21
23
|
/**
|
|
24
|
+
* tui-doc-example i18n texts
|
|
22
25
|
* Works with a tuple
|
|
23
26
|
* [
|
|
24
27
|
* @string default tab name,
|
package/tokens/logo.d.ts
CHANGED
package/tokens/page-loaded.d.ts
CHANGED
package/tokens/pages.d.ts
CHANGED
package/tokens/see-also.d.ts
CHANGED
package/tokens/source-code.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
3
3
|
import { TuiDocSourceCodePathOptions } from '../interfaces/source-code-path-options';
|
|
4
|
+
/**
|
|
5
|
+
* Source code link
|
|
6
|
+
*/
|
|
4
7
|
export declare const TUI_DOC_SOURCE_CODE: InjectionToken<PolymorpheusContent<TuiDocSourceCodePathOptions>>;
|