@skyux/docs-tools 12.0.0-alpha.0 → 12.0.0-alpha.5
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/README.md +4 -132
- package/fesm2022/skyux-docs-tools.mjs +444 -3335
- package/fesm2022/skyux-docs-tools.mjs.map +1 -1
- package/index.d.ts +6 -5
- package/lib/modules/clipboard/clipboard.service.d.ts +11 -0
- package/lib/modules/code-example-viewer/code-example-viewer.component.d.ts +23 -0
- package/lib/modules/code-example-viewer/code-example-viewer.module.d.ts +10 -0
- package/lib/modules/code-example-viewer/stackblitz-launch-config.d.ts +10 -0
- package/lib/modules/code-example-viewer/stackblitz.service.d.ts +11 -0
- package/lib/modules/code-snippet/code-snippet-language.d.ts +12 -0
- package/lib/modules/code-snippet/code-snippet.component.d.ts +16 -0
- package/lib/modules/code-snippet/code-snippet.module.d.ts +10 -0
- package/package.json +26 -20
- package/LICENSE +0 -21
- package/css/docs-tools.css +0 -70
- package/docs-tools.module.d.ts +0 -14
- package/modules/anatomy/anatomy-item.component.d.ts +0 -7
- package/modules/anatomy/anatomy-thumbnail.component.d.ts +0 -11
- package/modules/anatomy/anatomy.component.d.ts +0 -9
- package/modules/anatomy/anatomy.module.d.ts +0 -13
- package/modules/code-examples/code-example-module-dependencies.d.ts +0 -6
- package/modules/code-examples/code-example-theme.d.ts +0 -4
- package/modules/code-examples/code-example.component.d.ts +0 -39
- package/modules/code-examples/code-example.d.ts +0 -13
- package/modules/code-examples/code-examples-editor.service.d.ts +0 -18
- package/modules/code-examples/code-examples.component.d.ts +0 -45
- package/modules/code-examples/code-examples.module.d.ts +0 -14
- package/modules/demo/demo-content-alignment.d.ts +0 -1
- package/modules/demo/demo-control-panel-change.d.ts +0 -9
- package/modules/demo/demo-control-panel-checkbox.component.d.ts +0 -63
- package/modules/demo/demo-control-panel-radio-choice.d.ts +0 -13
- package/modules/demo/demo-control-panel-radio-group.component.d.ts +0 -64
- package/modules/demo/demo-control-panel-section.component.d.ts +0 -16
- package/modules/demo/demo-control-panel.component.d.ts +0 -34
- package/modules/demo/demo-custom-control-panel.component.d.ts +0 -9
- package/modules/demo/demo.component.d.ts +0 -32
- package/modules/demo/demo.module.d.ts +0 -18
- package/modules/demo-page/demo-page-dom-adapter.service.d.ts +0 -24
- package/modules/demo-page/demo-page-module-info.component.d.ts +0 -5
- package/modules/demo-page/demo-page-section.component.d.ts +0 -22
- package/modules/demo-page/demo-page-summary.component.d.ts +0 -15
- package/modules/demo-page/demo-page-title.service.d.ts +0 -12
- package/modules/demo-page/demo-page-type-definitions.component.d.ts +0 -10
- package/modules/demo-page/demo-page.component.d.ts +0 -112
- package/modules/demo-page/demo-page.module.d.ts +0 -23
- package/modules/design-guidelines/design-guideline-thumbnail.component.d.ts +0 -11
- package/modules/design-guidelines/design-guideline.component.d.ts +0 -12
- package/modules/design-guidelines/design-guidelines.component.d.ts +0 -5
- package/modules/design-guidelines/design-guidelines.module.d.ts +0 -12
- package/modules/heading-anchor/heading-anchor.component.d.ts +0 -7
- package/modules/heading-anchor/heading-anchor.module.d.ts +0 -10
- package/modules/markdown/markdown.module.d.ts +0 -7
- package/modules/markdown/markdown.pipe.d.ts +0 -7
- package/modules/module-info/module-info.component.d.ts +0 -21
- package/modules/module-info/module-info.module.d.ts +0 -13
- package/modules/safe-html/safe-html.component.d.ts +0 -10
- package/modules/safe-html/safe-html.module.d.ts +0 -8
- package/modules/shared/docs-tools-component-info.d.ts +0 -13
- package/modules/shared/docs-tools-options.d.ts +0 -4
- package/modules/shared/docs-tools-site-options.d.ts +0 -3
- package/modules/shared/docs-tools-supportal.service.d.ts +0 -11
- package/modules/source-code/source-code-file.d.ts +0 -5
- package/modules/source-code/source-code-provider.d.ts +0 -6
- package/modules/source-code/source-code.service.d.ts +0 -10
- package/modules/thumbnail/thumbnail.component.d.ts +0 -11
- package/modules/thumbnail/thumbnail.module.d.ts +0 -9
- package/modules/type-definitions/anchor-link-service-config.d.ts +0 -6
- package/modules/type-definitions/anchor-link-service-format.d.ts +0 -4
- package/modules/type-definitions/anchor-link.d.ts +0 -3
- package/modules/type-definitions/anchor-link.service.d.ts +0 -24
- package/modules/type-definitions/call-signature-definition.component.d.ts +0 -26
- package/modules/type-definitions/call-signature-definition.d.ts +0 -9
- package/modules/type-definitions/class-definition.component.d.ts +0 -7
- package/modules/type-definitions/class-definition.d.ts +0 -11
- package/modules/type-definitions/comment-tags.d.ts +0 -14
- package/modules/type-definitions/directive-definition.component.d.ts +0 -7
- package/modules/type-definitions/directive-definition.d.ts +0 -11
- package/modules/type-definitions/entry-child-definition.d.ts +0 -13
- package/modules/type-definitions/entry-definition.d.ts +0 -12
- package/modules/type-definitions/enumeration-definition.component.d.ts +0 -7
- package/modules/type-definitions/enumeration-definition.d.ts +0 -9
- package/modules/type-definitions/enumeration-member-definition.d.ts +0 -11
- package/modules/type-definitions/index-signature-definition.d.ts +0 -11
- package/modules/type-definitions/interface-definition.component.d.ts +0 -14
- package/modules/type-definitions/interface-definition.d.ts +0 -11
- package/modules/type-definitions/interface-property-definition.d.ts +0 -8
- package/modules/type-definitions/method-definition.d.ts +0 -11
- package/modules/type-definitions/method-definitions.component.d.ts +0 -36
- package/modules/type-definitions/parameter-definition.d.ts +0 -12
- package/modules/type-definitions/pipe-definition.component.d.ts +0 -7
- package/modules/type-definitions/pipe-definition.d.ts +0 -8
- package/modules/type-definitions/preview-feature-indicator.component.d.ts +0 -5
- package/modules/type-definitions/property-decorator.d.ts +0 -6
- package/modules/type-definitions/property-definition.d.ts +0 -11
- package/modules/type-definitions/property-definitions.component.d.ts +0 -39
- package/modules/type-definitions/type-alias-definition.component.d.ts +0 -14
- package/modules/type-definitions/type-alias-definition.d.ts +0 -11
- package/modules/type-definitions/type-anchor-links.pipe.d.ts +0 -14
- package/modules/type-definitions/type-definition.d.ts +0 -36
- package/modules/type-definitions/type-definitions-format.service.d.ts +0 -55
- package/modules/type-definitions/type-definitions-provider.d.ts +0 -10
- package/modules/type-definitions/type-definitions.d.ts +0 -20
- package/modules/type-definitions/type-definitions.module.d.ts +0 -26
- package/modules/type-definitions/type-definitions.service.d.ts +0 -20
- package/modules/type-definitions/type-parameter-definition.d.ts +0 -8
- package/modules/type-definitions/typedoc-adapter.service.d.ts +0 -49
- package/modules/type-definitions/typedoc-types.d.ts +0 -142
- package/public-api.d.ts +0 -66
- /package/{modules → lib/modules}/shared/sky-docs-tools-resources.module.d.ts +0 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
1
|
+
export { SkyCodeExampleViewerModule } from './lib/modules/code-example-viewer/code-example-viewer.module';
|
|
2
|
+
export { SkyStackBlitzLaunchConfig } from './lib/modules/code-example-viewer/stackblitz-launch-config';
|
|
3
|
+
export { SKY_CODE_SNIPPET_LANGUAGES, SkyCodeSnippetLanguage, } from './lib/modules/code-snippet/code-snippet-language';
|
|
4
|
+
export { SkyCodeSnippetModule } from './lib/modules/code-snippet/code-snippet.module';
|
|
5
|
+
export { SkyCodeExampleViewerComponent as λ2 } from './lib/modules/code-example-viewer/code-example-viewer.component';
|
|
6
|
+
export { SkyCodeSnippetComponent as λ1 } from './lib/modules/code-snippet/code-snippet.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkyClipboardService {
|
|
7
|
+
#private;
|
|
8
|
+
copyTextContent(el: ElementRef, successMessage: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyClipboardService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SkyClipboardService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { type SkyCodeSnippetLanguage } from '../code-snippet/code-snippet-language';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare class SkyCodeExampleViewerComponent {
|
|
8
|
+
#private;
|
|
9
|
+
readonly componentName: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly componentSelector: import("@angular/core").InputSignal<string>;
|
|
11
|
+
readonly componentType: import("@angular/core").InputSignal<Type<unknown>>;
|
|
12
|
+
readonly demoHidden: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
readonly files: import("@angular/core").InputSignal<Record<string, string>>;
|
|
14
|
+
readonly headingText: import("@angular/core").InputSignal<string>;
|
|
15
|
+
readonly primaryFile: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly stacked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
protected readonly isCodeVisible: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
protected getCodeLanguage(fileName: string): SkyCodeSnippetLanguage;
|
|
19
|
+
protected launchStackBlitz(): void;
|
|
20
|
+
protected toggleCodeVisibility(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCodeExampleViewerComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCodeExampleViewerComponent, "sky-code-example-viewer", never, { "componentName": { "alias": "componentName"; "required": true; "isSignal": true; }; "componentSelector": { "alias": "componentSelector"; "required": true; "isSignal": true; }; "componentType": { "alias": "componentType"; "required": true; "isSignal": true; }; "demoHidden": { "alias": "demoHidden"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": true; "isSignal": true; }; "headingText": { "alias": "headingText"; "required": true; "isSignal": true; }; "primaryFile": { "alias": "primaryFile"; "required": true; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./code-example-viewer.component";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkyCodeExampleViewerModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCodeExampleViewerModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyCodeExampleViewerModule, never, [typeof i1.SkyCodeExampleViewerComponent], [typeof i1.SkyCodeExampleViewerComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyCodeExampleViewerModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SkyStackBlitzLaunchConfig } from './stackblitz-launch-config';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkyStackBlitzService {
|
|
7
|
+
#private;
|
|
8
|
+
launch(config: SkyStackBlitzLaunchConfig): Promise<void>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyStackBlitzService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SkyStackBlitzService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare const SKY_CODE_SNIPPET_LANGUAGES: readonly ["html", "js", "scss", "ts"];
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export type SkyCodeSnippetLanguage = (typeof SKY_CODE_SNIPPET_LANGUAGES)[number];
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare function assertCodeSnippetLanguage(value: string | undefined): asserts value is SkyCodeSnippetLanguage;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkyCodeSnippetComponent {
|
|
7
|
+
#private;
|
|
8
|
+
readonly code: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly language: import("@angular/core").InputSignal<"html" | "js" | "scss" | "ts">;
|
|
10
|
+
protected readonly codeRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
11
|
+
protected formatted: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>;
|
|
12
|
+
constructor();
|
|
13
|
+
protected onClipboardButtonClick(copySuccessMessage: string): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCodeSnippetComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCodeSnippetComponent, "sky-code-snippet", never, { "code": { "alias": "code"; "required": true; "isSignal": true; }; "language": { "alias": "language"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./code-snippet.component";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class SkyCodeSnippetModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCodeSnippetModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyCodeSnippetModule, never, [typeof i1.SkyCodeSnippetComponent], [typeof i1.SkyCodeSnippetComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyCodeSnippetModule>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/docs-tools",
|
|
3
|
-
"version": "12.0.0-alpha.
|
|
3
|
+
"version": "12.0.0-alpha.5",
|
|
4
|
+
"author": "Blackbaud, Inc.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"blackbaud",
|
|
7
|
+
"skyux"
|
|
8
|
+
],
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/blackbaud/skyux.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/blackbaud/skyux/issues"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
4
18
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^19.0.
|
|
6
|
-
"@angular/core": "^19.0.
|
|
7
|
-
"@angular/
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
10
|
-
"@
|
|
11
|
-
"@
|
|
12
|
-
"@
|
|
13
|
-
"@skyux/
|
|
14
|
-
"@skyux/
|
|
15
|
-
"@skyux/i18n": "^12.0.0-alpha.0",
|
|
16
|
-
"@skyux/indicators": "^12.0.0-alpha.0",
|
|
17
|
-
"@skyux/layout": "^12.0.0-alpha.0",
|
|
18
|
-
"@skyux/lists": "^12.0.0-alpha.0",
|
|
19
|
-
"@skyux/popovers": "^12.0.0-alpha.0",
|
|
20
|
-
"@skyux/tabs": "^12.0.0-alpha.0",
|
|
21
|
-
"@skyux/theme": "^12.0.0-alpha.0"
|
|
19
|
+
"@angular/common": "^19.0.5",
|
|
20
|
+
"@angular/core": "^19.0.5",
|
|
21
|
+
"@angular/platform-browser": "^19.0.5",
|
|
22
|
+
"@skyux/assets": "12.0.0-alpha.5",
|
|
23
|
+
"@skyux/core": "12.0.0-alpha.5",
|
|
24
|
+
"@skyux/i18n": "12.0.0-alpha.5",
|
|
25
|
+
"@skyux/icon": "12.0.0-alpha.5",
|
|
26
|
+
"@skyux/layout": "12.0.0-alpha.5",
|
|
27
|
+
"@skyux/tabs": "12.0.0-alpha.5",
|
|
28
|
+
"@skyux/toast": "12.0.0-alpha.5"
|
|
22
29
|
},
|
|
23
30
|
"dependencies": {
|
|
24
31
|
"@stackblitz/sdk": "1.11.0",
|
|
25
|
-
"
|
|
26
|
-
"marked": "4.3.0",
|
|
32
|
+
"highlight.js": "11.11.1",
|
|
27
33
|
"tslib": "^2.8.1"
|
|
28
34
|
},
|
|
29
35
|
"module": "fesm2022/skyux-docs-tools.mjs",
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Blackbaud
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/css/docs-tools.css
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
.sky-docs-table {
|
|
2
|
-
width: 100%;
|
|
3
|
-
border-spacing: 0;
|
|
4
|
-
border-collapse: collapse;
|
|
5
|
-
background-color: #fff;
|
|
6
|
-
margin-top: 0 !important;
|
|
7
|
-
margin-bottom: 0 !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.sky-docs-table-column-header {
|
|
11
|
-
padding: 8px 15px 8px 15px;
|
|
12
|
-
background-color: #c1e8fb;
|
|
13
|
-
border-bottom-color: transparent;
|
|
14
|
-
text-align: left;
|
|
15
|
-
white-space: nowrap;
|
|
16
|
-
font-weight: bold;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.sky-docs-table-cell-primary {
|
|
20
|
-
width: 50%;
|
|
21
|
-
}
|
|
22
|
-
@media (min-width: 992px) {
|
|
23
|
-
.sky-docs-table-cell-primary {
|
|
24
|
-
width: 41.66667%;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
@media (min-width: 1200px) {
|
|
28
|
-
.sky-docs-table-cell-primary {
|
|
29
|
-
width: 33.33333%;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.sky-docs-table-cell {
|
|
34
|
-
border-bottom: 1px dotted #cdcfd2;
|
|
35
|
-
padding: 8px 15px 8px 15px;
|
|
36
|
-
vertical-align: top;
|
|
37
|
-
}
|
|
38
|
-
.sky-docs-table-cell:first-child .sky-code {
|
|
39
|
-
display: inline-block;
|
|
40
|
-
}
|
|
41
|
-
.sky-docs-table-cell p {
|
|
42
|
-
margin: 10px 0;
|
|
43
|
-
}
|
|
44
|
-
.sky-docs-table-cell p:first-child {
|
|
45
|
-
margin-top: 0 !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.sky-docs-text-block {
|
|
49
|
-
width: 690px;
|
|
50
|
-
max-width: 100%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.sky-docs-code,
|
|
54
|
-
code:not([class]) {
|
|
55
|
-
border-top: 1px solid #cdcfd2;
|
|
56
|
-
border-right: 1px solid #cdcfd2;
|
|
57
|
-
border-bottom: 1px solid #cdcfd2;
|
|
58
|
-
border-left: 1px solid #cdcfd2;
|
|
59
|
-
overflow-wrap: break-word;
|
|
60
|
-
font-family: "Menlo", "Monaco", "Consolas", "Courier New", monospace;
|
|
61
|
-
font-size: 90%;
|
|
62
|
-
color: rgb(209.1553191489, 40.3446808511, 43.529787234);
|
|
63
|
-
padding: 0 4px;
|
|
64
|
-
background-color: #f1eef6;
|
|
65
|
-
}
|
|
66
|
-
.sky-docs-code a,
|
|
67
|
-
code:not([class]) a {
|
|
68
|
-
text-decoration: underline;
|
|
69
|
-
color: rgb(209.1553191489, 40.3446808511, 43.529787234);
|
|
70
|
-
}
|
package/docs-tools.module.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./modules/anatomy/anatomy.module";
|
|
3
|
-
import * as i2 from "./modules/code-examples/code-examples.module";
|
|
4
|
-
import * as i3 from "./modules/demo/demo.module";
|
|
5
|
-
import * as i4 from "./modules/demo-page/demo-page.module";
|
|
6
|
-
import * as i5 from "./modules/design-guidelines/design-guidelines.module";
|
|
7
|
-
/**
|
|
8
|
-
* This module conveniently exports the most commonly used modules.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SkyDocsToolsModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsToolsModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDocsToolsModule, never, never, [typeof i1.SkyDocsAnatomyModule, typeof i2.SkyDocsCodeExamplesModule, typeof i3.SkyDocsDemoModule, typeof i4.SkyDocsDemoPageModule, typeof i5.SkyDocsDesignGuidelinesModule]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDocsToolsModule>;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SkyDocsAnatomyItemComponent {
|
|
3
|
-
isOptional: boolean;
|
|
4
|
-
marker: string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsAnatomyItemComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsAnatomyItemComponent, "sky-docs-anatomy-item", never, { "isOptional": { "alias": "isOptional"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SkyDocsAnatomyThumbnailComponent {
|
|
3
|
-
caption: string;
|
|
4
|
-
captionType: string;
|
|
5
|
-
imageAlt: string;
|
|
6
|
-
imageSource: string;
|
|
7
|
-
videoSource: string;
|
|
8
|
-
showBorder: boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsAnatomyThumbnailComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsAnatomyThumbnailComponent, "sky-docs-anatomy-thumbnail", never, { "caption": { "alias": "caption"; "required": false; }; "captionType": { "alias": "captionType"; "required": false; }; "imageAlt": { "alias": "imageAlt"; "required": false; }; "imageSource": { "alias": "imageSource"; "required": false; }; "videoSource": { "alias": "videoSource"; "required": false; }; "showBorder": { "alias": "showBorder"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SkyDocsAnatomyComponent implements AfterContentInit {
|
|
4
|
-
imagePath: string;
|
|
5
|
-
private anatomyItems;
|
|
6
|
-
ngAfterContentInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsAnatomyComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsAnatomyComponent, "sky-docs-anatomy", never, { "imagePath": { "alias": "imagePath"; "required": false; }; }, {}, ["anatomyItems"], ["sky-docs-anatomy-item", "sky-docs-anatomy-thumbnail"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./anatomy.component";
|
|
3
|
-
import * as i2 from "./anatomy-item.component";
|
|
4
|
-
import * as i3 from "./anatomy-thumbnail.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "../thumbnail/thumbnail.module";
|
|
7
|
-
import * as i6 from "@skyux/layout";
|
|
8
|
-
import * as i7 from "@blackbaud/skyux-lib-media";
|
|
9
|
-
export declare class SkyDocsAnatomyModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsAnatomyModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDocsAnatomyModule, [typeof i1.SkyDocsAnatomyComponent, typeof i2.SkyDocsAnatomyItemComponent, typeof i3.SkyDocsAnatomyThumbnailComponent], [typeof i4.CommonModule, typeof i5.SkyDocsThumbnailModule, typeof i6.SkyFluidGridModule, typeof i7.SkyImageModule], [typeof i1.SkyDocsAnatomyComponent, typeof i2.SkyDocsAnatomyItemComponent, typeof i3.SkyDocsAnatomyThumbnailComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDocsAnatomyModule>;
|
|
13
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { SkyThemeService } from '@skyux/theme';
|
|
3
|
-
import { SkyDocsCodeExampleTheme } from './code-example-theme';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Renders a single code example.
|
|
7
|
-
* @example
|
|
8
|
-
* ```
|
|
9
|
-
* <sky-docs-code-example
|
|
10
|
-
* heading="My code example"
|
|
11
|
-
* sourceCodePath="src/app/public/plugin-resources/foobar"
|
|
12
|
-
* >
|
|
13
|
-
* </sky-docs-code-example>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare class SkyDocsCodeExampleComponent implements OnDestroy {
|
|
17
|
-
/**
|
|
18
|
-
* The heading to be used for the code example.
|
|
19
|
-
* @required
|
|
20
|
-
*/
|
|
21
|
-
heading: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the local path to the code example's source code. The value is relative to the root directory.
|
|
24
|
-
* @required
|
|
25
|
-
*/
|
|
26
|
-
sourceCodePath: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies if the editor service should show the example in modern theme.
|
|
29
|
-
* The value will be gleaned from `SkyThemeService` first, then fallback to 'default' if the service is not found.
|
|
30
|
-
*/
|
|
31
|
-
set theme(value: SkyDocsCodeExampleTheme);
|
|
32
|
-
get theme(): SkyDocsCodeExampleTheme;
|
|
33
|
-
private ngUnsubscribe;
|
|
34
|
-
private _theme;
|
|
35
|
-
constructor(themeSvc?: SkyThemeService);
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsCodeExampleComponent, [{ optional: true; }]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsCodeExampleComponent, "sky-docs-code-example", never, { "heading": { "alias": "heading"; "required": false; }; "sourceCodePath": { "alias": "sourceCodePath"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SkyDocsSourceCodeFile } from '../source-code/source-code-file';
|
|
2
|
-
import { SkyDocsCodeExampleModuleDependencies } from './code-example-module-dependencies';
|
|
3
|
-
import { SkyDocsCodeExampleTheme } from './code-example-theme';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export interface SkyDocsCodeExample {
|
|
8
|
-
heading: string;
|
|
9
|
-
packageDependencies: SkyDocsCodeExampleModuleDependencies;
|
|
10
|
-
sourceCode: SkyDocsSourceCodeFile[];
|
|
11
|
-
theme: SkyDocsCodeExampleTheme;
|
|
12
|
-
stylesheets?: string[];
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SkyDocsCodeExample } from './code-example';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type StackblitzTemplate = 'angular-cli' | 'node';
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyDocsCodeExamplesEditorService {
|
|
8
|
-
#private;
|
|
9
|
-
launchEditor(codeExample: SkyDocsCodeExample, template?: StackblitzTemplate): void;
|
|
10
|
-
private parseStackBlitzFiles;
|
|
11
|
-
private getModuleName;
|
|
12
|
-
private getFilenameNoExtension;
|
|
13
|
-
private getExportedComponent;
|
|
14
|
-
private getComponentSelector;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsCodeExamplesEditorService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyDocsCodeExamplesEditorService>;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import { SkyDocsSourceCodeService } from '../source-code/source-code.service';
|
|
3
|
-
import { SkyDocsCodeExamplesEditorService } from './code-examples-editor.service';
|
|
4
|
-
import { SkyDocsCodeExampleModuleDependencies } from './code-example-module-dependencies';
|
|
5
|
-
import { SkyDocsCodeExample } from './code-example';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Wraps all code examples and handles their configuration and styles.
|
|
9
|
-
* @example
|
|
10
|
-
* ```
|
|
11
|
-
* <sky-docs-code-examples
|
|
12
|
-
* [packageDependencies]="{
|
|
13
|
-
* "foobar": "*",
|
|
14
|
-
* "baz": "1.2.3"
|
|
15
|
-
* }"
|
|
16
|
-
* >
|
|
17
|
-
* <sky-docs-code-example>
|
|
18
|
-
* </sky-docs-code-example>
|
|
19
|
-
* </sky-docs-code-examples>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class SkyDocsCodeExamplesComponent implements AfterContentInit {
|
|
23
|
-
private editorService;
|
|
24
|
-
private sourceCodeService;
|
|
25
|
-
/**
|
|
26
|
-
* Any extra NPM package dependencies that are needed for the editor to run the code example.
|
|
27
|
-
* @default {}
|
|
28
|
-
*/
|
|
29
|
-
set packageDependencies(value: SkyDocsCodeExampleModuleDependencies);
|
|
30
|
-
get packageDependencies(): SkyDocsCodeExampleModuleDependencies;
|
|
31
|
-
stylesheets: string[];
|
|
32
|
-
codeExamples: SkyDocsCodeExample[];
|
|
33
|
-
private codeExampleComponents;
|
|
34
|
-
private _packageDependencies;
|
|
35
|
-
constructor(editorService: SkyDocsCodeExamplesEditorService, sourceCodeService: SkyDocsSourceCodeService);
|
|
36
|
-
ngAfterContentInit(): void;
|
|
37
|
-
launchEditor(codeExample: SkyDocsCodeExample, event: MouseEvent): void;
|
|
38
|
-
/**
|
|
39
|
-
* Returns a string representing one of PrismJS's supported language types.
|
|
40
|
-
* See: https://prismjs.com/#supported-languages
|
|
41
|
-
*/
|
|
42
|
-
parseCodeLanguageType(fileName: string): string;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsCodeExamplesComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsCodeExamplesComponent, "sky-docs-code-examples", never, { "packageDependencies": { "alias": "packageDependencies"; "required": false; }; "stylesheets": { "alias": "stylesheets"; "required": false; }; }, {}, ["codeExampleComponents"], ["sky-docs-code-example"], false, never>;
|
|
45
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./code-example.component";
|
|
3
|
-
import * as i2 from "./code-examples.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@blackbaud/skyux-lib-code-block";
|
|
6
|
-
import * as i5 from "../shared/sky-docs-tools-resources.module";
|
|
7
|
-
import * as i6 from "@skyux/icon";
|
|
8
|
-
import * as i7 from "@skyux/lists";
|
|
9
|
-
import * as i8 from "@skyux/tabs";
|
|
10
|
-
export declare class SkyDocsCodeExamplesModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsCodeExamplesModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDocsCodeExamplesModule, [typeof i1.SkyDocsCodeExampleComponent, typeof i2.SkyDocsCodeExamplesComponent], [typeof i3.CommonModule, typeof i4.SkyCodeBlockModule, typeof i5.SkyDocsToolsResourcesModule, typeof i6.SkyIconModule, typeof i7.SkyRepeaterModule, typeof i8.SkyVerticalTabsetModule], [typeof i1.SkyDocsCodeExampleComponent, typeof i2.SkyDocsCodeExamplesComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDocsCodeExamplesModule>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SkyDocsDemoContentAlignment = 'left' | 'center';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ReplaySubject } from 'rxjs';
|
|
3
|
-
import { SkyDocsDemoControlPanelChange } from './demo-control-panel-change';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Renders a checkbox control within the control panel.
|
|
7
|
-
* @example
|
|
8
|
-
* ```markup
|
|
9
|
-
* <sky-docs-demo-control-panel-checkbox
|
|
10
|
-
* label="Show title"
|
|
11
|
-
* [checked]="true"
|
|
12
|
-
* [propertyName]="showTitle"
|
|
13
|
-
* >
|
|
14
|
-
* </sky-docs-demo-control-panel-checkbox>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare class SkyDocsDemoControlPanelCheckboxComponent implements OnInit, OnDestroy {
|
|
18
|
-
private changeDetector;
|
|
19
|
-
/**
|
|
20
|
-
* The checked status of the checkbox.
|
|
21
|
-
* @default false
|
|
22
|
-
*/
|
|
23
|
-
set checked(value: boolean);
|
|
24
|
-
get checked(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Indicates whether to disable the checkbox.
|
|
27
|
-
*/
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The content of the help popover. When specified, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline)
|
|
31
|
-
* button is added to the control panel checkbox label. The help inline button displays a [popover](https://developer.blackbaud.com/skyux/components/popover)
|
|
32
|
-
* when clicked using the specified content and optional title.
|
|
33
|
-
* @preview
|
|
34
|
-
*/
|
|
35
|
-
helpPopoverContent: string | TemplateRef<unknown> | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* The title of the help popover. This property only applies when `helpPopoverContent` is
|
|
38
|
-
* also specified.
|
|
39
|
-
* @preview
|
|
40
|
-
*/
|
|
41
|
-
helpPopoverTitle: string | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* The text label of the checkbox.
|
|
44
|
-
* @required
|
|
45
|
-
*/
|
|
46
|
-
label: string;
|
|
47
|
-
/**
|
|
48
|
-
* The name of the component property that is affected by this control.
|
|
49
|
-
* @required
|
|
50
|
-
*/
|
|
51
|
-
propertyName: string;
|
|
52
|
-
selectionChange: ReplaySubject<SkyDocsDemoControlPanelChange>;
|
|
53
|
-
private initialState;
|
|
54
|
-
private _checked;
|
|
55
|
-
constructor(changeDetector: ChangeDetectorRef);
|
|
56
|
-
ngOnInit(): void;
|
|
57
|
-
ngOnDestroy(): void;
|
|
58
|
-
onModelChange(): void;
|
|
59
|
-
resetState(): void;
|
|
60
|
-
private notifyChange;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsDemoControlPanelCheckboxComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsDemoControlPanelCheckboxComponent, "sky-docs-demo-control-panel-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "propertyName": { "alias": "propertyName"; "required": false; }; }, {}, never, never, false, never>;
|
|
63
|
-
}
|