@ng-doc/app 17.6.16 → 18.0.0-beta.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/classes/root-page/root-page.d.ts +4 -7
- package/components/api-list/api-list.component.d.ts +13 -11
- package/components/breadcrumb/breadcrumb.component.d.ts +0 -1
- package/components/code/code.component.d.ts +2 -7
- package/components/copy-button/copy-button.component.d.ts +12 -0
- package/components/copy-button/index.d.ts +1 -0
- package/components/demo-displayer/demo-displayer.component.d.ts +0 -5
- package/components/heading-anchor/heading-anchor.component.d.ts +9 -0
- package/components/heading-anchor/index.d.ts +1 -0
- package/components/image-viewer/image-viewer.component.d.ts +16 -0
- package/components/image-viewer/index.d.ts +1 -0
- package/components/index.d.ts +7 -0
- package/components/kind-icon/kind-icon.component.d.ts +2 -1
- package/components/mermaid-viewer/index.d.ts +1 -0
- package/components/mermaid-viewer/mermaid-viewer.component.d.ts +17 -0
- package/components/navbar/navbar.component.d.ts +3 -16
- package/components/page/page.component.d.ts +6 -14
- package/components/page-header/index.d.ts +1 -0
- package/components/page-header/page-header.component.d.ts +6 -0
- package/components/page-wrapper/index.d.ts +1 -0
- package/components/page-wrapper/page-wrapper.component.d.ts +22 -0
- package/components/playground/base-playground.d.ts +1 -1
- package/components/playground/playground-demo/playground-demo.component.d.ts +5 -6
- package/components/root/root.component.d.ts +4 -13
- package/components/search/search.component.d.ts +11 -17
- package/components/search-dialog/index.d.ts +1 -0
- package/components/search-dialog/search-dialog.component.d.ts +24 -0
- package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +9 -10
- package/components/sidebar/sidebar-item/sidebar-item.component.d.ts +7 -2
- package/components/sidebar/sidebar.component.d.ts +5 -3
- package/components/theme-toggle/theme-toggle.component.d.ts +4 -5
- package/constants/index.d.ts +0 -1
- package/directives/code-highlighter/code-highlighter.directive.d.ts +11 -10
- package/esm2022/classes/default-search-engine/default-search-engine.mjs +10 -4
- package/esm2022/classes/root-page/root-page.mjs +1 -1
- package/esm2022/components/api-list/api-list.component.mjs +46 -64
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +7 -9
- package/esm2022/components/code/code.component.mjs +16 -19
- package/esm2022/components/copy-button/copy-button.component.mjs +61 -0
- package/esm2022/components/copy-button/index.mjs +2 -0
- package/esm2022/components/copy-button/ng-doc-app-components-copy-button.mjs +5 -0
- package/esm2022/components/demo/demo.component.mjs +5 -5
- package/esm2022/components/demo-displayer/demo-displayer.component.mjs +9 -14
- package/esm2022/components/demo-pane/demo-pane.component.mjs +5 -5
- package/esm2022/components/fullscreen-button/fullscreen-button.component.mjs +3 -3
- package/esm2022/components/heading-anchor/heading-anchor.component.mjs +38 -0
- package/esm2022/components/heading-anchor/index.mjs +2 -0
- package/esm2022/components/heading-anchor/ng-doc-app-components-heading-anchor.mjs +5 -0
- package/esm2022/components/image-viewer/image-viewer.component.mjs +80 -0
- package/esm2022/components/image-viewer/index.mjs +2 -0
- package/esm2022/components/image-viewer/ng-doc-app-components-image-viewer.mjs +5 -0
- package/esm2022/components/index.mjs +8 -1
- package/esm2022/components/kind-icon/kind-icon.component.mjs +11 -5
- package/esm2022/components/link/link.component.mjs +3 -3
- package/esm2022/components/mermaid-viewer/index.mjs +2 -0
- package/esm2022/components/mermaid-viewer/mermaid-viewer.component.mjs +55 -0
- package/esm2022/components/mermaid-viewer/ng-doc-app-components-mermaid-viewer.mjs +5 -0
- package/esm2022/components/navbar/navbar.component.mjs +12 -32
- package/esm2022/components/page/page.component.mjs +20 -72
- package/esm2022/components/page-header/index.mjs +2 -0
- package/esm2022/components/page-header/ng-doc-app-components-page-header.mjs +5 -0
- package/esm2022/components/page-header/page-header.component.mjs +19 -0
- package/esm2022/components/page-link/page-link.component.mjs +5 -5
- package/esm2022/components/page-navigation/page-navigation.component.mjs +5 -5
- package/esm2022/components/page-wrapper/index.mjs +2 -0
- package/esm2022/components/page-wrapper/ng-doc-app-components-page-wrapper.mjs +5 -0
- package/esm2022/components/page-wrapper/page-wrapper.component.mjs +87 -0
- package/esm2022/components/playground/base-playground.mjs +8 -8
- package/esm2022/components/playground/playground-demo/playground-demo.component.mjs +22 -21
- package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +8 -6
- package/esm2022/components/playground/playground-property/playground-property.component.mjs +4 -4
- package/esm2022/components/playground/playground.component.mjs +6 -6
- package/esm2022/components/root/root.component.mjs +20 -37
- package/esm2022/components/search/search.component.mjs +31 -49
- package/esm2022/components/search-dialog/index.mjs +2 -0
- package/esm2022/components/search-dialog/ng-doc-app-components-search-dialog.mjs +5 -0
- package/esm2022/components/search-dialog/search-dialog.component.mjs +74 -0
- package/esm2022/components/search-result/search-result.component.mjs +4 -4
- package/esm2022/components/sidebar/sidebar-category/sidebar-category.component.mjs +22 -27
- package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +18 -10
- package/esm2022/components/sidebar/sidebar.component.mjs +14 -13
- package/esm2022/components/tabs/tabs.component.mjs +4 -4
- package/esm2022/components/theme-toggle/theme-toggle.component.mjs +18 -53
- package/esm2022/components/toc/toc-element/toc-element.component.mjs +5 -5
- package/esm2022/components/toc/toc.component.mjs +37 -35
- package/esm2022/constants/index.mjs +1 -2
- package/esm2022/defaults/default-processors/default-processors.mjs +7 -4
- package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +18 -36
- package/esm2022/directives/route-active/route-active.directive.mjs +3 -3
- package/esm2022/helpers/as-boolean.mjs +1 -1
- package/esm2022/helpers/create-component.mjs +1 -1
- package/esm2022/helpers/generate-toc.mjs +5 -5
- package/esm2022/interfaces/navigation.mjs +1 -1
- package/esm2022/interfaces/processor-options.mjs +1 -1
- package/esm2022/interfaces/toc-item.mjs +1 -1
- package/esm2022/interfaces/type-control.mjs +1 -1
- package/esm2022/pipes/decode-uri-component/decode-uri-component.pipe.mjs +4 -4
- package/esm2022/pipes/extract-value/extract-value.pipe.mjs +3 -3
- package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +3 -3
- package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +3 -3
- package/esm2022/processors/page-processor/index.mjs +2 -2
- package/esm2022/processors/page-processor/page-processor.component.mjs +74 -0
- package/esm2022/processors/processors/blockquote.processor.mjs +2 -1
- package/esm2022/processors/processors/code.processor.mjs +3 -5
- package/esm2022/processors/processors/demo.processor.mjs +2 -2
- package/esm2022/processors/processors/heading-anchor.processor.mjs +12 -0
- package/esm2022/processors/processors/image.processor.mjs +19 -0
- package/esm2022/processors/processors/index.mjs +6 -3
- package/esm2022/processors/processors/link/index.mjs +2 -0
- package/esm2022/processors/processors/link/link.processor.mjs +13 -0
- package/esm2022/processors/processors/link/ng-doc-app-processors-processors-link.mjs +5 -0
- package/esm2022/processors/processors/mermaid.processor.mjs +11 -0
- package/esm2022/processors/processors/playground.processor.mjs +2 -2
- package/esm2022/processors/processors/tooltip/index.mjs +2 -0
- package/esm2022/processors/processors/tooltip/ng-doc-app-processors-processors-tooltip.mjs +5 -0
- package/esm2022/processors/processors/tooltip/tooltip.processor.mjs +56 -0
- package/esm2022/providers/index.mjs +2 -1
- package/esm2022/providers/mermaid/index.mjs +2 -0
- package/esm2022/providers/mermaid/ng-doc-app-providers-mermaid.mjs +5 -0
- package/esm2022/providers/mermaid/provide-mermaid.mjs +16 -0
- package/esm2022/providers/ng-doc-app/provide-ng-doc-app.mjs +12 -35
- package/esm2022/providers/playground-demo/provide-playground-demo.mjs +1 -1
- package/esm2022/providers/search-engine/provide-search-engine.mjs +2 -2
- package/esm2022/providers/type-control/provide-type-control.mjs +1 -1
- package/esm2022/services/highlighter/highlighter.service.mjs +39 -0
- package/esm2022/services/highlighter/index.mjs +2 -0
- package/esm2022/services/highlighter/ng-doc-app-services-highlighter.mjs +5 -0
- package/esm2022/services/index.mjs +2 -2
- package/esm2022/services/sidebar/sidebar.service.mjs +35 -50
- package/esm2022/services/store/store.service.mjs +3 -3
- package/esm2022/services/theme/theme.service.mjs +28 -127
- package/esm2022/tokens/index.mjs +4 -2
- package/esm2022/tokens/mermaid.mjs +3 -0
- package/esm2022/tokens/page-processor.mjs +2 -2
- package/esm2022/tokens/route-prefix.mjs +3 -0
- package/esm2022/tokens/shiki-theme.mjs +3 -0
- package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +3 -3
- package/esm2022/type-controls/number-control/number-control.component.mjs +5 -5
- package/esm2022/type-controls/string-control/string-control.component.mjs +5 -5
- package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +5 -5
- package/fesm2022/ng-doc-app-classes-default-search-engine.mjs +10 -4
- package/fesm2022/ng-doc-app-classes-default-search-engine.mjs.map +1 -1
- package/fesm2022/ng-doc-app-classes-root-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-api-list.mjs +47 -64
- package/fesm2022/ng-doc-app-components-api-list.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs +6 -8
- package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-code.mjs +16 -18
- package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-copy-button.mjs +68 -0
- package/fesm2022/ng-doc-app-components-copy-button.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs +8 -12
- package/fesm2022/ng-doc-app-components-demo-displayer.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo-pane.mjs +4 -4
- package/fesm2022/ng-doc-app-components-demo-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-demo.mjs +4 -4
- package/fesm2022/ng-doc-app-components-demo.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-fullscreen-button.mjs +3 -3
- package/fesm2022/ng-doc-app-components-heading-anchor.mjs +45 -0
- package/fesm2022/ng-doc-app-components-heading-anchor.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-image-viewer.mjs +87 -0
- package/fesm2022/ng-doc-app-components-image-viewer.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-kind-icon.mjs +10 -4
- package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-link.mjs +3 -3
- package/fesm2022/ng-doc-app-components-mermaid-viewer.mjs +62 -0
- package/fesm2022/ng-doc-app-components-mermaid-viewer.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-navbar.mjs +12 -32
- package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-header.mjs +26 -0
- package/fesm2022/ng-doc-app-components-page-header.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-page-link.mjs +4 -4
- package/fesm2022/ng-doc-app-components-page-link.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-navigation.mjs +4 -4
- package/fesm2022/ng-doc-app-components-page-navigation.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-page-wrapper.mjs +94 -0
- package/fesm2022/ng-doc-app-components-page-wrapper.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-page.mjs +19 -71
- package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-playground.mjs +43 -38
- package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-root.mjs +18 -35
- package/fesm2022/ng-doc-app-components-root.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search-dialog.mjs +81 -0
- package/fesm2022/ng-doc-app-components-search-dialog.mjs.map +1 -0
- package/fesm2022/ng-doc-app-components-search-result.mjs +3 -3
- package/fesm2022/ng-doc-app-components-search-result.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-search.mjs +30 -48
- package/fesm2022/ng-doc-app-components-search.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-sidebar.mjs +49 -44
- package/fesm2022/ng-doc-app-components-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-tabs.mjs +3 -3
- package/fesm2022/ng-doc-app-components-tabs.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs +17 -51
- package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components-toc.mjs +40 -38
- package/fesm2022/ng-doc-app-components-toc.mjs.map +1 -1
- package/fesm2022/ng-doc-app-components.mjs +7 -0
- package/fesm2022/ng-doc-app-components.mjs.map +1 -1
- package/fesm2022/ng-doc-app-constants.mjs +1 -37
- package/fesm2022/ng-doc-app-constants.mjs.map +1 -1
- package/fesm2022/ng-doc-app-defaults-default-processors.mjs +6 -3
- package/fesm2022/ng-doc-app-defaults-default-processors.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives-code-highlighter.mjs +17 -35
- package/fesm2022/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-app-directives-route-active.mjs +3 -3
- package/fesm2022/ng-doc-app-helpers.mjs +4 -4
- package/fesm2022/ng-doc-app-helpers.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-decode-uri-component.mjs +3 -3
- package/fesm2022/ng-doc-app-pipes-decode-uri-component.mjs.map +1 -1
- package/fesm2022/ng-doc-app-pipes-extract-value.mjs +3 -3
- package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +3 -3
- package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +3 -3
- package/fesm2022/ng-doc-app-processors-page-processor.mjs +20 -14
- package/fesm2022/ng-doc-app-processors-page-processor.mjs.map +1 -1
- package/fesm2022/ng-doc-app-processors-processors-link.mjs +20 -0
- package/fesm2022/ng-doc-app-processors-processors-link.mjs.map +1 -0
- package/fesm2022/ng-doc-app-processors-processors-tooltip.mjs +63 -0
- package/fesm2022/ng-doc-app-processors-processors-tooltip.mjs.map +1 -0
- package/fesm2022/ng-doc-app-processors-processors.mjs +45 -70
- package/fesm2022/ng-doc-app-processors-processors.mjs.map +1 -1
- package/fesm2022/ng-doc-app-providers-mermaid.mjs +23 -0
- package/fesm2022/ng-doc-app-providers-mermaid.mjs.map +1 -0
- package/fesm2022/ng-doc-app-providers-ng-doc-app.mjs +11 -34
- package/fesm2022/ng-doc-app-providers-ng-doc-app.mjs.map +1 -1
- package/fesm2022/ng-doc-app-providers-playground-demo.mjs.map +1 -1
- package/fesm2022/ng-doc-app-providers-search-engine.mjs +1 -1
- package/fesm2022/ng-doc-app-providers-search-engine.mjs.map +1 -1
- package/fesm2022/ng-doc-app-providers-type-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-providers.mjs +1 -0
- package/fesm2022/ng-doc-app-providers.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-highlighter.mjs +46 -0
- package/fesm2022/ng-doc-app-services-highlighter.mjs.map +1 -0
- package/fesm2022/ng-doc-app-services-sidebar.mjs +35 -50
- package/fesm2022/ng-doc-app-services-sidebar.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services-store.mjs +3 -3
- package/fesm2022/ng-doc-app-services-theme.mjs +27 -126
- package/fesm2022/ng-doc-app-services-theme.mjs.map +1 -1
- package/fesm2022/ng-doc-app-services.mjs +1 -1
- package/fesm2022/ng-doc-app-tokens.mjs +8 -4
- package/fesm2022/ng-doc-app-tokens.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +3 -3
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs +4 -4
- package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs +4 -4
- package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +4 -4
- package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
- package/interfaces/navigation.d.ts +7 -1
- package/interfaces/processor-options.d.ts +4 -1
- package/package.json +104 -29
- package/processors/page-processor/index.d.ts +1 -1
- package/processors/page-processor/{page-processor.directive.d.ts → page-processor.component.d.ts} +7 -6
- package/processors/processors/heading-anchor.processor.d.ts +3 -0
- package/processors/processors/image.processor.d.ts +3 -0
- package/processors/processors/index.d.ts +5 -2
- package/processors/processors/link/index.d.ts +1 -0
- package/processors/processors/mermaid.processor.d.ts +3 -0
- package/processors/processors/tooltip/index.d.ts +1 -0
- package/providers/index.d.ts +1 -0
- package/providers/mermaid/index.d.ts +1 -0
- package/providers/mermaid/provide-mermaid.d.ts +7 -0
- package/providers/ng-doc-app/provide-ng-doc-app.d.ts +5 -10
- package/providers/playground-demo/provide-playground-demo.d.ts +1 -1
- package/providers/search-engine/provide-search-engine.d.ts +1 -1
- package/providers/type-control/provide-type-control.d.ts +1 -1
- package/services/highlighter/highlighter.service.d.ts +24 -0
- package/services/highlighter/index.d.ts +1 -0
- package/services/index.d.ts +1 -1
- package/services/sidebar/sidebar.service.d.ts +4 -10
- package/services/theme/theme.service.d.ts +9 -37
- package/styles/global.css +161 -132
- package/styles/main.css +150 -106
- package/styles/themes/dark.css +71 -0
- package/tokens/index.d.ts +3 -1
- package/tokens/mermaid.d.ts +3 -0
- package/tokens/page-processor.d.ts +1 -1
- package/tokens/route-prefix.d.ts +2 -0
- package/tokens/shiki-theme.d.ts +6 -0
- package/assets/themes/ng-doc-night.css +0 -111
- package/constants/themes.d.ts +0 -33
- package/esm2022/constants/themes.mjs +0 -36
- package/esm2022/processors/page-processor/page-processor.directive.mjs +0 -68
- package/esm2022/processors/processors/link.processor.mjs +0 -13
- package/esm2022/processors/processors/tooltip.processor.mjs +0 -56
- package/esm2022/tokens/api-list.mjs +0 -3
- package/tokens/api-list.d.ts +0 -3
- /package/processors/processors/{link.processor.d.ts → link/link.processor.d.ts} +0 -0
- /package/processors/processors/{tooltip.processor.d.ts → tooltip/tooltip.processor.d.ts} +0 -0
package/styles/main.css
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@import '@angular/cdk/overlay-prebuilt.css';
|
|
2
|
-
@import 'highlight.js/styles/github.css';
|
|
3
2
|
body {
|
|
4
3
|
--ng-doc-code-margin: var(--ng-doc-page-block-margin);
|
|
5
4
|
--ng-doc-blockquote-margin: var(--ng-doc-page-block-margin);
|
|
@@ -14,7 +13,6 @@ html {
|
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
iframe.ngde {
|
|
17
|
-
width: 100%;
|
|
18
16
|
border: 0;
|
|
19
17
|
}
|
|
20
18
|
|
|
@@ -59,10 +57,19 @@ h6.ngde {
|
|
|
59
57
|
line-height: var(--ng-doc-line-height);
|
|
60
58
|
font-size: var(--ng-doc-font-size);
|
|
61
59
|
font-weight: var(--ng-doc-font-weight);
|
|
62
|
-
margin: calc(var(--ng-doc-base-gutter) *
|
|
60
|
+
margin: calc(var(--ng-doc-base-gutter) * 7) 0 0;
|
|
63
61
|
--ng-doc-line-height: 1.5rem;
|
|
64
|
-
--ng-doc-font-weight:
|
|
62
|
+
--ng-doc-font-weight: 600;
|
|
65
63
|
overflow-wrap: anywhere;
|
|
64
|
+
color: var(--ng-doc-heading-color);
|
|
65
|
+
}
|
|
66
|
+
h1.ngde.ng-doc-secondary-heading,
|
|
67
|
+
h2.ngde.ng-doc-secondary-heading,
|
|
68
|
+
h3.ngde.ng-doc-secondary-heading,
|
|
69
|
+
h4.ngde.ng-doc-secondary-heading,
|
|
70
|
+
h5.ngde.ng-doc-secondary-heading,
|
|
71
|
+
h6.ngde.ng-doc-secondary-heading {
|
|
72
|
+
color: var(--ng-doc-text);
|
|
66
73
|
}
|
|
67
74
|
h1.ngde + h1.ngde, h1.ngde + h2.ngde, h1.ngde + h3.ngde, h1.ngde + h4.ngde, h1.ngde + h5.ngde, h1.ngde + h6.ngde,
|
|
68
75
|
h2.ngde + h1.ngde,
|
|
@@ -99,38 +106,37 @@ h6.ngde + h6.ngde {
|
|
|
99
106
|
}
|
|
100
107
|
|
|
101
108
|
h1.ngde {
|
|
102
|
-
--ng-doc-font-size:
|
|
103
|
-
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) *
|
|
104
|
-
--ng-doc-font-weight: 900;
|
|
109
|
+
--ng-doc-font-size: 36px;
|
|
110
|
+
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 4);
|
|
105
111
|
}
|
|
106
112
|
|
|
107
113
|
h2.ngde {
|
|
108
|
-
--ng-doc-font-size:
|
|
109
|
-
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) *
|
|
114
|
+
--ng-doc-font-size: 26px;
|
|
115
|
+
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 4);
|
|
110
116
|
}
|
|
111
117
|
|
|
112
118
|
h3.ngde {
|
|
113
|
-
--ng-doc-font-size:
|
|
114
|
-
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) *
|
|
119
|
+
--ng-doc-font-size: 20px;
|
|
120
|
+
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 3);
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
h4.ngde {
|
|
118
|
-
--ng-doc-font-size:
|
|
119
|
-
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) *
|
|
124
|
+
--ng-doc-font-size: 18px;
|
|
125
|
+
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 2);
|
|
120
126
|
margin: calc(var(--ng-doc-base-gutter) * 2) 0;
|
|
121
127
|
}
|
|
122
128
|
|
|
123
129
|
h5.ngde,
|
|
124
130
|
h6.ngde {
|
|
125
|
-
--ng-doc-font-size:
|
|
126
|
-
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) *
|
|
131
|
+
--ng-doc-font-size: 15px;
|
|
132
|
+
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 2);
|
|
127
133
|
margin: calc(var(--ng-doc-base-gutter) * 2) 0;
|
|
128
134
|
}
|
|
129
135
|
|
|
130
|
-
pre.
|
|
136
|
+
pre.shiki {
|
|
131
137
|
margin: var(--ng-doc-page-block-margin);
|
|
132
138
|
}
|
|
133
|
-
pre.
|
|
139
|
+
pre.shiki code {
|
|
134
140
|
position: relative;
|
|
135
141
|
white-space: unset;
|
|
136
142
|
box-shadow: var(--ng-doc-code-shadow);
|
|
@@ -139,7 +145,11 @@ pre.ngde code.ngde {
|
|
|
139
145
|
font-weight: var(--ng-doc-code-font-weight);
|
|
140
146
|
line-height: var(--ng-doc-code-line-height);
|
|
141
147
|
border: var(--ng-doc-code-border);
|
|
142
|
-
background-color: var(--ng-doc-code-background, inherit);
|
|
148
|
+
background-color: var(--ng-doc-code-background, inherit) !important;
|
|
149
|
+
-webkit-font-smoothing: auto;
|
|
150
|
+
}
|
|
151
|
+
pre.shiki code span {
|
|
152
|
+
background-color: var(--ng-doc-code-background, inherit) !important;
|
|
143
153
|
}
|
|
144
154
|
|
|
145
155
|
*:not(pre) > code.ngde {
|
|
@@ -148,27 +158,12 @@ pre.ngde code.ngde {
|
|
|
148
158
|
color: var(--ng-doc-inline-code-color);
|
|
149
159
|
padding: calc(var(--ng-doc-base-gutter) / 4) var(--ng-doc-base-gutter);
|
|
150
160
|
font-family: var(--ng-doc-code-font);
|
|
151
|
-
font-size:
|
|
161
|
+
font-size: 14px;
|
|
152
162
|
font-weight: var(--ng-doc-code-font-weight);
|
|
153
|
-
line-height: var(--ng-doc-line-height);
|
|
163
|
+
line-height: var(--ng-doc-code-line-height, var(--ng-doc-line-height));
|
|
164
|
+
background: color-mix(in srgb, var(--ng-doc-inline-code-background) 15%, transparent);
|
|
154
165
|
white-space: nowrap;
|
|
155
166
|
}
|
|
156
|
-
*:not(pre) > code.ngde {
|
|
157
|
-
position: relative;
|
|
158
|
-
}
|
|
159
|
-
*:not(pre) > code.ngde:before {
|
|
160
|
-
content: "";
|
|
161
|
-
position: absolute;
|
|
162
|
-
top: 0;
|
|
163
|
-
left: 0;
|
|
164
|
-
width: 100%;
|
|
165
|
-
height: 100%;
|
|
166
|
-
background-color: var(--ng-doc-inline-code-background);
|
|
167
|
-
opacity: 0.15;
|
|
168
|
-
border-radius: inherit;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
pointer-events: none;
|
|
171
|
-
}
|
|
172
167
|
|
|
173
168
|
.ng-doc-table-wrapper {
|
|
174
169
|
overflow-x: auto;
|
|
@@ -177,22 +172,19 @@ pre.ngde code.ngde {
|
|
|
177
172
|
table.ngde {
|
|
178
173
|
width: 100%;
|
|
179
174
|
border-spacing: 0;
|
|
180
|
-
margin: var(--ng-doc-page-block-margin);
|
|
181
175
|
}
|
|
182
176
|
table.ngde thead tr th {
|
|
183
|
-
padding: var(--ng-doc-base-gutter);
|
|
177
|
+
padding: calc(var(--ng-doc-base-gutter) * 1.5);
|
|
184
178
|
background-color: var(--ng-doc-base-1);
|
|
185
179
|
text-align: left;
|
|
186
180
|
}
|
|
187
181
|
table.ngde thead tr th:first-child {
|
|
188
182
|
border-top-left-radius: var(--ng-doc-base-gutter);
|
|
189
|
-
|
|
190
|
-
padding-left: calc(var(--ng-doc-base-gutter) * 4);
|
|
183
|
+
padding-left: calc(var(--ng-doc-base-gutter) * 3);
|
|
191
184
|
}
|
|
192
185
|
table.ngde thead tr th:last-child {
|
|
193
|
-
padding-right: calc(var(--ng-doc-base-gutter) *
|
|
186
|
+
padding-right: calc(var(--ng-doc-base-gutter) * 3);
|
|
194
187
|
border-top-right-radius: var(--ng-doc-base-gutter);
|
|
195
|
-
border-bottom-right-radius: var(--ng-doc-base-gutter);
|
|
196
188
|
}
|
|
197
189
|
table.ngde thead tr th h1.ngde,
|
|
198
190
|
table.ngde thead tr th h2.ngde,
|
|
@@ -206,13 +198,14 @@ table.ngde thead tr th h6.ngde {
|
|
|
206
198
|
table.ngde tbody tr td {
|
|
207
199
|
padding: calc(var(--ng-doc-base-gutter) * 2);
|
|
208
200
|
vertical-align: top;
|
|
209
|
-
border-bottom: 1px solid var(--ng-doc-base-
|
|
201
|
+
border-bottom: 1px solid var(--ng-doc-base-2);
|
|
202
|
+
background-color: var(--ng-doc-background);
|
|
210
203
|
}
|
|
211
204
|
table.ngde tbody tr td:first-child {
|
|
212
|
-
padding-left: calc(var(--ng-doc-base-gutter) *
|
|
205
|
+
padding-left: calc(var(--ng-doc-base-gutter) * 3);
|
|
213
206
|
}
|
|
214
207
|
table.ngde tbody tr td:last-child {
|
|
215
|
-
padding-right: calc(var(--ng-doc-base-gutter) *
|
|
208
|
+
padding-right: calc(var(--ng-doc-base-gutter) * 3);
|
|
216
209
|
}
|
|
217
210
|
table.ngde tbody tr td table {
|
|
218
211
|
margin: calc(var(--ng-doc-base-gutter) * 2) 0;
|
|
@@ -223,7 +216,7 @@ table.ngde h3.ngde,
|
|
|
223
216
|
table.ngde h4.ngde,
|
|
224
217
|
table.ngde h5.ngde,
|
|
225
218
|
table.ngde h6.ngde {
|
|
226
|
-
margin: 0 0
|
|
219
|
+
margin: 0 0 var(--ng-doc-base-gutter);
|
|
227
220
|
}
|
|
228
221
|
|
|
229
222
|
a.ngde {
|
|
@@ -245,6 +238,7 @@ mark.ng-doc-mark {
|
|
|
245
238
|
--ng-doc-text-selection: rgba(21, 88, 214, 0.15);
|
|
246
239
|
--ng-doc-white: #fff;
|
|
247
240
|
--ng-doc-black: #000;
|
|
241
|
+
--ng-doc-base-rgb: 0 0 0;
|
|
248
242
|
--ng-doc-base-0: var(--ng-doc-white);
|
|
249
243
|
--ng-doc-base-1: #f6f6f6;
|
|
250
244
|
--ng-doc-base-2: #ebebeb;
|
|
@@ -264,6 +258,8 @@ mark.ng-doc-mark {
|
|
|
264
258
|
--ng-doc-warning-text: var(--ng-doc-white);
|
|
265
259
|
--ng-doc-info: #3f68b5;
|
|
266
260
|
--ng-doc-info-text: var(--ng-doc-white);
|
|
261
|
+
--ng-doc-success: #00b74a;
|
|
262
|
+
--ng-doc-success-text: var(--ng-doc-white);
|
|
267
263
|
--ng-doc-background: var(--ng-doc-base-0);
|
|
268
264
|
--ng-doc-hover-background: rgba(110, 110, 110, 0.09);
|
|
269
265
|
--ng-doc-border-size: 1px;
|
|
@@ -271,11 +267,12 @@ mark.ng-doc-mark {
|
|
|
271
267
|
--ng-doc-border-hover-color: var(--ng-doc-base-5);
|
|
272
268
|
--ng-doc-shadow-color: rgba(0, 0, 0, 0.15);
|
|
273
269
|
--ng-doc-font-system: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
274
|
-
|
|
275
|
-
|
|
270
|
+
Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
271
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
276
272
|
--ng-doc-font-system-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
277
|
-
|
|
273
|
+
"Liberation Mono", "Courier New", monospace;
|
|
278
274
|
--ng-doc-heading-font-family: var(--ng-doc-font-system);
|
|
275
|
+
--ng-doc-heading-color: #111111;
|
|
279
276
|
--ng-doc-font-family: var(--ng-doc-font-system);
|
|
280
277
|
--ng-doc-font-size: calc(var(--ng-doc-base-gutter) * 2);
|
|
281
278
|
--ng-doc-line-height: calc(var(--ng-doc-base-gutter) * 3);
|
|
@@ -284,7 +281,7 @@ mark.ng-doc-mark {
|
|
|
284
281
|
--ng-doc-code-font-size: 14px;
|
|
285
282
|
--ng-doc-code-line-height: 20px;
|
|
286
283
|
--ng-doc-code-font-weight: 400;
|
|
287
|
-
--ng-doc-text:
|
|
284
|
+
--ng-doc-text: rgb(78 78 78);
|
|
288
285
|
--ng-doc-text-muted: var(--ng-doc-base-8);
|
|
289
286
|
--ng-doc-mark-background: rgba(255, 222, 0, 0.3);
|
|
290
287
|
--ng-doc-link-color: var(--ng-doc-primary);
|
|
@@ -293,9 +290,9 @@ mark.ng-doc-mark {
|
|
|
293
290
|
--ng-doc-button-background: trasparent;
|
|
294
291
|
--ng-doc-button-background-opacity: 0;
|
|
295
292
|
--ng-doc-button-color: var(--ng-doc-text);
|
|
296
|
-
--ng-doc-button-hover-background: var(--ng-doc-base-
|
|
293
|
+
--ng-doc-button-hover-background: var(--ng-doc-base-2);
|
|
297
294
|
--ng-doc-button-hover-color: var(--ng-doc-button-color);
|
|
298
|
-
--ng-doc-button-active-background: var(--ng-doc-base-
|
|
295
|
+
--ng-doc-button-active-background: var(--ng-doc-base-3);
|
|
299
296
|
--ng-doc-button-active-color: var(--ng-doc-button-hover-color);
|
|
300
297
|
--ng-doc-floated-border-color: transparent;
|
|
301
298
|
--ng-doc-floated-border: 2px solid var(--ng-doc-floated-border-color);
|
|
@@ -313,14 +310,12 @@ mark.ng-doc-mark {
|
|
|
313
310
|
--ng-doc-input-border: var(--ng-doc-border-size) solid var(--ng-doc-border-color);
|
|
314
311
|
--ng-doc-input-border-hover: var(--ng-doc-border-size) solid var(--ng-doc-border-hover-color);
|
|
315
312
|
--ng-doc-input-background-color: var(--ng-doc-base-0);
|
|
316
|
-
--ng-doc-input-padding-left: calc(var(--ng-doc-base-gutter) * 2);
|
|
317
|
-
--ng-doc-input-padding-right: calc(var(--ng-doc-base-gutter) * 2);
|
|
318
313
|
--ng-doc-input-cursor: auto;
|
|
319
314
|
/* NgDocTagComponent */
|
|
320
315
|
--ng-doc-tag-background: var(--ng-doc-primary);
|
|
321
316
|
--ng-doc-tag-color: var(--ng-doc-primary-text);
|
|
322
317
|
/* NgDocSelection */
|
|
323
|
-
--ng-doc-selection-border:
|
|
318
|
+
--ng-doc-selection-border: 2px solid var(--ng-doc-primary);
|
|
324
319
|
--ng-doc-selection-background: transparent;
|
|
325
320
|
/* NgDocDot */
|
|
326
321
|
--ng-doc-dot-size: calc(var(--ng-doc-base-gutter) / 2);
|
|
@@ -379,6 +374,10 @@ mark.ng-doc-mark {
|
|
|
379
374
|
background: var(--ng-doc-background);
|
|
380
375
|
}
|
|
381
376
|
|
|
377
|
+
.ng-doc-transparent-dialog {
|
|
378
|
+
background: transparent;
|
|
379
|
+
}
|
|
380
|
+
|
|
382
381
|
:root {
|
|
383
382
|
--ng-doc-app-max-width: 1450px;
|
|
384
383
|
--ng-doc-app-horizontal-padding: calc(var(--ng-doc-base-gutter) * 3);
|
|
@@ -386,6 +385,7 @@ mark.ng-doc-mark {
|
|
|
386
385
|
--ng-doc-page-padding: calc(var(--ng-doc-base-gutter) * 3) var(--ng-doc-app-horizontal-padding);
|
|
387
386
|
--ng-doc-main-padding: var(--ng-doc-navbar-height) 0 0 0;
|
|
388
387
|
--ng-doc-page-block-margin: calc(var(--ng-doc-base-gutter) * 3) 0;
|
|
388
|
+
--ng-doc-page-wrapper-tabs-height: calc(var(--ng-doc-base-gutter) * 6);
|
|
389
389
|
--ng-doc-class-color: #fff;
|
|
390
390
|
--ng-doc-class-background: #e74c3c;
|
|
391
391
|
--ng-doc-interface-color: #fff;
|
|
@@ -446,8 +446,9 @@ mark.ng-doc-mark {
|
|
|
446
446
|
--ng-doc-navbar-height: calc(var(--ng-doc-base-gutter) * 7);
|
|
447
447
|
--ng-doc-navbar-horizontal-padding: var(--ng-doc-app-horizontal-padding);
|
|
448
448
|
--ng-doc-navbar-left-width: calc(
|
|
449
|
-
|
|
449
|
+
var(--ng-doc-sidebar-width) - var(--ng-doc-navbar-horizontal-padding)
|
|
450
450
|
);
|
|
451
|
+
--ng-doc-navbar-border: 1px solid var(--ng-doc-base-3);
|
|
451
452
|
--ng-doc-sidebar-width: 310px;
|
|
452
453
|
--ng-doc-sidebar-background: var(--ng-doc-base-0);
|
|
453
454
|
--ng-doc-sidebar-padding: calc(var(--ng-doc-base-gutter) * 2);
|
|
@@ -459,6 +460,7 @@ mark.ng-doc-mark {
|
|
|
459
460
|
--ng-doc-code-highlight-color: var(--ng-doc-primary);
|
|
460
461
|
--ng-doc-toc-width: 280px;
|
|
461
462
|
--ng-doc-toc-indent: var(--ng-doc-base-gutter);
|
|
463
|
+
--ng-doc-toc-top-padding: calc(var(--ng-doc-base-gutter) * 3);
|
|
462
464
|
--ng-doc-search-result-color: #454545;
|
|
463
465
|
--ng-doc-api-tag-color: #ff1111;
|
|
464
466
|
--ng-doc-api-tag-background: rgba(255, 17, 17, 0.15);
|
|
@@ -510,11 +512,10 @@ article header.ngde .ng-doc-header-details .ng-doc-header-details-label:first-ch
|
|
|
510
512
|
padding: 0 var(--ng-doc-base-gutter);
|
|
511
513
|
font-size: 14px;
|
|
512
514
|
border-radius: var(--ng-doc-base-gutter);
|
|
513
|
-
background-color: var(--ng-doc-
|
|
514
|
-
color: var(--ng-doc-text);
|
|
515
|
+
background-color: color-mix(in srgb, var(--ng-doc-css-tag-background) var(--ng-doc-css-tag-background-opacity, 15%), transparent);
|
|
515
516
|
vertical-align: middle;
|
|
516
517
|
white-space: nowrap;
|
|
517
|
-
|
|
518
|
+
color: var(--ng-doc-css-tag-background);
|
|
518
519
|
}
|
|
519
520
|
.ng-doc-tag + .ng-doc-tag {
|
|
520
521
|
margin-left: var(--ng-doc-base-gutter);
|
|
@@ -525,52 +526,40 @@ article header.ngde .ng-doc-header-details .ng-doc-header-details-label:first-ch
|
|
|
525
526
|
color: var(--ng-doc-text);
|
|
526
527
|
}
|
|
527
528
|
.ng-doc-tag[data-content=Class] {
|
|
528
|
-
background
|
|
529
|
-
color: var(--ng-doc-class-color);
|
|
529
|
+
--ng-doc-css-tag-background: var(--ng-doc-class-background);
|
|
530
530
|
}
|
|
531
531
|
.ng-doc-tag[data-content=Interface] {
|
|
532
|
-
background
|
|
533
|
-
color: var(--ng-doc-interface-color);
|
|
532
|
+
--ng-doc-css-tag-background: var(--ng-doc-interface-background);
|
|
534
533
|
}
|
|
535
534
|
.ng-doc-tag[data-content=Enum] {
|
|
536
|
-
background
|
|
537
|
-
color: var(--ng-doc-enum-color);
|
|
535
|
+
--ng-doc-css-tag-background: var(--ng-doc-enum-background);
|
|
538
536
|
}
|
|
539
537
|
.ng-doc-tag[data-content=Variable] {
|
|
540
|
-
background
|
|
541
|
-
color: var(--ng-doc-variable-color);
|
|
538
|
+
--ng-doc-css-tag-background: var(--ng-doc-variable-background);
|
|
542
539
|
}
|
|
543
540
|
.ng-doc-tag[data-content=Function] {
|
|
544
|
-
background
|
|
545
|
-
color: var(--ng-doc-function-color);
|
|
541
|
+
--ng-doc-css-tag-background: var(--ng-doc-function-background);
|
|
546
542
|
}
|
|
547
543
|
.ng-doc-tag[data-content=TypeAlias] {
|
|
548
|
-
background
|
|
549
|
-
color: var(--ng-doc-type-alias-color);
|
|
544
|
+
--ng-doc-css-tag-background: var(--ng-doc-type-alias-background);
|
|
550
545
|
}
|
|
551
546
|
.ng-doc-tag[data-content=Component] {
|
|
552
|
-
background
|
|
553
|
-
color: var(--ng-doc-component-decorator-color);
|
|
547
|
+
--ng-doc-css-tag-background: var(--ng-doc-component-decorator-background);
|
|
554
548
|
}
|
|
555
549
|
.ng-doc-tag[data-content=Directive] {
|
|
556
|
-
background
|
|
557
|
-
color: var(--ng-doc-directive-decorator-color);
|
|
550
|
+
--ng-doc-css-tag-background: var(--ng-doc-directive-decorator-background);
|
|
558
551
|
}
|
|
559
552
|
.ng-doc-tag[data-content=Injectable] {
|
|
560
|
-
background
|
|
561
|
-
color: var(--ng-doc-injectable-decorator-color);
|
|
553
|
+
--ng-doc-css-tag-background: var(--ng-doc-injectable-decorator-background);
|
|
562
554
|
}
|
|
563
555
|
.ng-doc-tag[data-content=Pipe] {
|
|
564
|
-
background
|
|
565
|
-
color: var(--ng-doc-pipe-decorator-color);
|
|
556
|
+
--ng-doc-css-tag-background: var(--ng-doc-pipe-decorator-background);
|
|
566
557
|
}
|
|
567
558
|
.ng-doc-tag[data-content=NgModule] {
|
|
568
|
-
background
|
|
569
|
-
color: var(--ng-doc-ng-module-decorator-color);
|
|
559
|
+
--ng-doc-css-tag-background: var(--ng-doc-ng-module-decorator-background);
|
|
570
560
|
}
|
|
571
561
|
.ng-doc-tag[data-content=ng-doc-tag-selector] {
|
|
572
|
-
background
|
|
573
|
-
color: var(--ng-doc-selector-color);
|
|
562
|
+
--ng-doc-css-tag-background: var(--ng-doc-selector-background);
|
|
574
563
|
}
|
|
575
564
|
|
|
576
565
|
.ng-doc-decorators-group {
|
|
@@ -708,19 +697,53 @@ article header.ngde .ng-doc-header-details .ng-doc-header-details-label:first-ch
|
|
|
708
697
|
margin: 0;
|
|
709
698
|
}
|
|
710
699
|
|
|
711
|
-
|
|
712
|
-
|
|
700
|
+
.ng-doc-table-wrapper {
|
|
701
|
+
overflow: auto;
|
|
702
|
+
margin: var(--ng-doc-page-block-margin);
|
|
713
703
|
}
|
|
714
|
-
|
|
715
|
-
|
|
704
|
+
.ng-doc-table-wrapper:last-child {
|
|
705
|
+
margin-bottom: 0;
|
|
716
706
|
}
|
|
717
707
|
|
|
718
|
-
table.ng-doc-
|
|
708
|
+
table.ng-doc-api-table {
|
|
709
|
+
overflow: scroll;
|
|
710
|
+
}
|
|
711
|
+
table.ng-doc-api-table.no-full-width {
|
|
712
|
+
width: unset;
|
|
713
|
+
}
|
|
714
|
+
table.ng-doc-api-table.no-padding tbody tr td,
|
|
715
|
+
table.ng-doc-api-table.no-padding thead tr th {
|
|
716
|
+
padding: var(--ng-doc-base-gutter);
|
|
717
|
+
}
|
|
718
|
+
table.ng-doc-api-table.no-padding tbody tr td:first-child,
|
|
719
|
+
table.ng-doc-api-table.no-padding thead tr th:first-child {
|
|
720
|
+
padding-left: 0;
|
|
721
|
+
}
|
|
722
|
+
table.ng-doc-api-table.sticky tr th:first-child,
|
|
723
|
+
table.ng-doc-api-table.sticky tr td:first-child {
|
|
724
|
+
position: sticky;
|
|
725
|
+
left: 0;
|
|
726
|
+
z-index: 1;
|
|
727
|
+
}
|
|
728
|
+
table.ng-doc-api-table.first-colum-highlighted tr td:first-child {
|
|
729
|
+
color: var(--ng-doc-heading-color);
|
|
730
|
+
}
|
|
731
|
+
table.ng-doc-api-table tr th.ng-doc-api-table-name {
|
|
719
732
|
width: 25%;
|
|
720
733
|
}
|
|
721
|
-
table.ng-doc-
|
|
734
|
+
table.ng-doc-api-table tr th.ng-doc-api-table-type {
|
|
722
735
|
width: 25%;
|
|
723
736
|
}
|
|
737
|
+
table.ng-doc-api-table tr th.ng-doc-api-table-description {
|
|
738
|
+
min-width: 300px;
|
|
739
|
+
}
|
|
740
|
+
table.ng-doc-api-table tr td > *:not(:last-child) {
|
|
741
|
+
margin-right: var(--ng-doc-base-gutter);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
table.ng-doc-overload-table thead tr th {
|
|
745
|
+
background: color-mix(in srgb, var(--ng-doc-warning) 10%, transparent);
|
|
746
|
+
}
|
|
724
747
|
|
|
725
748
|
.ng-doc-no-content {
|
|
726
749
|
color: var(--ng-doc-text-muted);
|
|
@@ -732,20 +755,21 @@ code.ng-doc-code-with-link {
|
|
|
732
755
|
--ng-doc-inline-code-background: var(--ng-doc-link-color);
|
|
733
756
|
}
|
|
734
757
|
|
|
735
|
-
article h1:hover .ng-doc-
|
|
736
|
-
article h2:hover .ng-doc-
|
|
737
|
-
article h3:hover .ng-doc-
|
|
738
|
-
article h4:hover .ng-doc-
|
|
739
|
-
article h5:hover .ng-doc-
|
|
740
|
-
article h6:hover .ng-doc-
|
|
758
|
+
article h1:hover .ng-doc-anchor,
|
|
759
|
+
article h2:hover .ng-doc-anchor,
|
|
760
|
+
article h3:hover .ng-doc-anchor,
|
|
761
|
+
article h4:hover .ng-doc-anchor,
|
|
762
|
+
article h5:hover .ng-doc-anchor,
|
|
763
|
+
article h6:hover .ng-doc-anchor {
|
|
741
764
|
opacity: 1;
|
|
742
765
|
}
|
|
743
|
-
article h1 .ng-doc-
|
|
744
|
-
article h2 .ng-doc-
|
|
745
|
-
article h3 .ng-doc-
|
|
746
|
-
article h4 .ng-doc-
|
|
747
|
-
article h5 .ng-doc-
|
|
748
|
-
article h6 .ng-doc-
|
|
766
|
+
article h1 .ng-doc-anchor,
|
|
767
|
+
article h2 .ng-doc-anchor,
|
|
768
|
+
article h3 .ng-doc-anchor,
|
|
769
|
+
article h4 .ng-doc-anchor,
|
|
770
|
+
article h5 .ng-doc-anchor,
|
|
771
|
+
article h6 .ng-doc-anchor {
|
|
772
|
+
margin-left: var(--ng-doc-base-gutter);
|
|
749
773
|
opacity: 0;
|
|
750
774
|
transition: var(--ng-doc-transition);
|
|
751
775
|
}
|
|
@@ -760,11 +784,9 @@ article .ng-doc-page-wrapper > h6:first-child {
|
|
|
760
784
|
article section.ngde {
|
|
761
785
|
margin-bottom: calc(var(--ng-doc-base-gutter) * 5);
|
|
762
786
|
}
|
|
763
|
-
article header.ngde {
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
align-items: flex-start;
|
|
767
|
-
margin-bottom: calc(var(--ng-doc-base-gutter) * 3);
|
|
787
|
+
article header.ngde .ng-doc-declaration-details {
|
|
788
|
+
list-style: none;
|
|
789
|
+
padding: 0;
|
|
768
790
|
}
|
|
769
791
|
article header.ngde .ng-doc-page-tags {
|
|
770
792
|
display: inline-flex;
|
|
@@ -807,3 +829,25 @@ article .ng-doc-header-link {
|
|
|
807
829
|
article pre code .ng-doc-code-anchor {
|
|
808
830
|
color: inherit;
|
|
809
831
|
}
|
|
832
|
+
|
|
833
|
+
.ng-doc-deprecated {
|
|
834
|
+
text-decoration: line-through;
|
|
835
|
+
}
|
|
836
|
+
.ng-doc-deprecated:hover {
|
|
837
|
+
text-decoration: auto;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.ng-doc-api-status {
|
|
841
|
+
display: inline-block;
|
|
842
|
+
width: 100%;
|
|
843
|
+
}
|
|
844
|
+
.ng-doc-api-status > *:first-child {
|
|
845
|
+
margin-top: 0 !important;
|
|
846
|
+
}
|
|
847
|
+
.ng-doc-api-status:empty {
|
|
848
|
+
display: none;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.ng-doc-deprecated-notes {
|
|
852
|
+
color: var(--ng-doc-warning-text);
|
|
853
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@media (prefers-color-scheme: dark) {
|
|
2
|
+
:root[data-theme=auto] {
|
|
3
|
+
--ng-doc-base-rgb: 43 43 43;
|
|
4
|
+
--ng-doc-base-0: #1e1e1e;
|
|
5
|
+
--ng-doc-base-1: #262626;
|
|
6
|
+
--ng-doc-base-2: #2d2d2d;
|
|
7
|
+
--ng-doc-base-3: #353535;
|
|
8
|
+
--ng-doc-base-4: #3e3e3e;
|
|
9
|
+
--ng-doc-base-5: #484848;
|
|
10
|
+
--ng-doc-base-6: #515151;
|
|
11
|
+
--ng-doc-base-7: #5b5b5b;
|
|
12
|
+
--ng-doc-base-8: #656565;
|
|
13
|
+
--ng-doc-base-9: #707070;
|
|
14
|
+
--ng-doc-base-10: #7b7b7b;
|
|
15
|
+
--ng-doc-heading-color: #e3e3e3;
|
|
16
|
+
--ng-doc-text: #a9a9a9;
|
|
17
|
+
--ng-doc-text-muted: var(--ng-doc-base-10);
|
|
18
|
+
--ng-doc-text-selection: rgba(110, 110, 110, 0.81);
|
|
19
|
+
--ng-doc-shadow-color: rgba(0, 0, 0, 0.4);
|
|
20
|
+
--ng-doc-link-color: #30a5ff;
|
|
21
|
+
--ng-doc-inline-code-background: #b9b9b9;
|
|
22
|
+
--ng-doc-primary: #faab00;
|
|
23
|
+
--ng-doc-info: #7095ff;
|
|
24
|
+
--ng-doc-mark-background: rgba(48, 165, 255, 0.3);
|
|
25
|
+
--ng-doc-search-result-color: #c6c6c6;
|
|
26
|
+
--ng-doc-api-tag-background: #ff5959;
|
|
27
|
+
--ng-doc-api-tag-color: var(--ng-doc-base-0);
|
|
28
|
+
--ng-doc-guide-tag-background: #faab00;
|
|
29
|
+
--ng-doc-guide-tag-color: var(--ng-doc-base-0);
|
|
30
|
+
--ng-doc-navbar-border: 1px solid var(--ng-doc-base-4);
|
|
31
|
+
}
|
|
32
|
+
:root[data-theme=auto] .shiki,
|
|
33
|
+
:root[data-theme=auto] .shiki span {
|
|
34
|
+
color: var(--shiki-dark) !important;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:root[data-theme=dark] {
|
|
39
|
+
--ng-doc-base-rgb: 43 43 43;
|
|
40
|
+
--ng-doc-base-0: #1e1e1e;
|
|
41
|
+
--ng-doc-base-1: #262626;
|
|
42
|
+
--ng-doc-base-2: #2d2d2d;
|
|
43
|
+
--ng-doc-base-3: #353535;
|
|
44
|
+
--ng-doc-base-4: #3e3e3e;
|
|
45
|
+
--ng-doc-base-5: #484848;
|
|
46
|
+
--ng-doc-base-6: #515151;
|
|
47
|
+
--ng-doc-base-7: #5b5b5b;
|
|
48
|
+
--ng-doc-base-8: #656565;
|
|
49
|
+
--ng-doc-base-9: #707070;
|
|
50
|
+
--ng-doc-base-10: #7b7b7b;
|
|
51
|
+
--ng-doc-heading-color: #e3e3e3;
|
|
52
|
+
--ng-doc-text: #a9a9a9;
|
|
53
|
+
--ng-doc-text-muted: var(--ng-doc-base-10);
|
|
54
|
+
--ng-doc-text-selection: rgba(110, 110, 110, 0.81);
|
|
55
|
+
--ng-doc-shadow-color: rgba(0, 0, 0, 0.4);
|
|
56
|
+
--ng-doc-link-color: #30a5ff;
|
|
57
|
+
--ng-doc-inline-code-background: #b9b9b9;
|
|
58
|
+
--ng-doc-primary: #faab00;
|
|
59
|
+
--ng-doc-info: #7095ff;
|
|
60
|
+
--ng-doc-mark-background: rgba(48, 165, 255, 0.3);
|
|
61
|
+
--ng-doc-search-result-color: #c6c6c6;
|
|
62
|
+
--ng-doc-api-tag-background: #ff5959;
|
|
63
|
+
--ng-doc-api-tag-color: var(--ng-doc-base-0);
|
|
64
|
+
--ng-doc-guide-tag-background: #faab00;
|
|
65
|
+
--ng-doc-guide-tag-color: var(--ng-doc-base-0);
|
|
66
|
+
--ng-doc-navbar-border: 1px solid var(--ng-doc-base-4);
|
|
67
|
+
}
|
|
68
|
+
:root[data-theme=dark] .shiki,
|
|
69
|
+
:root[data-theme=dark] .shiki span {
|
|
70
|
+
color: var(--shiki-dark) !important;
|
|
71
|
+
}
|
package/tokens/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export * from './api-list';
|
|
2
1
|
export * from './context';
|
|
2
|
+
export * from './mermaid';
|
|
3
3
|
export * from './page-processor';
|
|
4
4
|
export * from './page-skeleton';
|
|
5
|
+
export * from './route-prefix';
|
|
6
|
+
export * from './shiki-theme';
|
|
5
7
|
export * from './theme';
|
|
6
8
|
export * from './type-control';
|
|
@@ -7,7 +7,7 @@ export declare const NG_DOC_PAGE_CUSTOM_PROCESSOR: InjectionToken<NgDocPageProce
|
|
|
7
7
|
* Main processors are run before custom processors.
|
|
8
8
|
* @param processors - The processor to provide.
|
|
9
9
|
*/
|
|
10
|
-
export declare function provideMainPageProcessor
|
|
10
|
+
export declare function provideMainPageProcessor(processors: NgDocPageProcessor<unknown> | Array<NgDocPageProcessor<unknown>>): Provider[];
|
|
11
11
|
/**
|
|
12
12
|
* Provide a processor to replace html nodes with an Angular component.
|
|
13
13
|
* @param processors - The processor to provide.
|