@skyux/docs-tools 10.1.1 → 10.2.0
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/esm2022/modules/demo/demo-custom-control-panel.component.mjs +20 -0
- package/esm2022/modules/demo/demo.component.mjs +9 -4
- package/esm2022/modules/demo/demo.module.mjs +8 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/skyux-docs-tools.mjs +33 -7
- package/fesm2022/skyux-docs-tools.mjs.map +1 -1
- package/modules/demo/demo-custom-control-panel.component.d.ts +9 -0
- package/modules/demo/demo.component.d.ts +2 -1
- package/modules/demo/demo.module.d.ts +8 -7
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Renders a custom control panel in the "Show options" dropdown above the demo.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SkyDocsDemoCustomControlPanelComponent {
|
|
6
|
+
protected readonly classes = "sky-rounded-corners";
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsDemoCustomControlPanelComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsDemoCustomControlPanelComponent, "sky-docs-demo-custom-control-panel", never, {}, {}, never, ["*"], false, never>;
|
|
9
|
+
}
|
|
@@ -22,10 +22,11 @@ export declare class SkyDocsDemoComponent {
|
|
|
22
22
|
heading: string;
|
|
23
23
|
get hasOptions(): boolean;
|
|
24
24
|
private controlPanels;
|
|
25
|
+
private customControlPanels;
|
|
25
26
|
get toggleOptionsButtonIcon(): string;
|
|
26
27
|
areOptionsVisible: boolean;
|
|
27
28
|
private _alignContents;
|
|
28
29
|
onToggleOptionsButtonClick(): void;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsDemoComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsDemoComponent, "sky-docs-demo", never, { "alignContents": { "alias": "alignContents"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; }, {}, ["controlPanels"], ["*", "sky-docs-demo-control-panel"], false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDocsDemoComponent, "sky-docs-demo", never, { "alignContents": { "alias": "alignContents"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; }, {}, ["controlPanels", "customControlPanels"], ["*", "sky-docs-demo-control-panel", "sky-docs-demo-custom-control-panel"], false, never>;
|
|
31
32
|
}
|
|
@@ -4,14 +4,15 @@ import * as i2 from "./demo-control-panel-checkbox.component";
|
|
|
4
4
|
import * as i3 from "./demo-control-panel.component";
|
|
5
5
|
import * as i4 from "./demo-control-panel-radio-group.component";
|
|
6
6
|
import * as i5 from "./demo-control-panel-section.component";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@angular/
|
|
9
|
-
import * as i8 from "@
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@skyux/
|
|
7
|
+
import * as i6 from "./demo-custom-control-panel.component";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@skyux/forms";
|
|
11
|
+
import * as i10 from "../shared/sky-docs-tools-resources.module";
|
|
12
|
+
import * as i11 from "@skyux/indicators";
|
|
13
|
+
import * as i12 from "@skyux/theme";
|
|
13
14
|
export declare class SkyDocsDemoModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDocsDemoModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDocsDemoModule, [typeof i1.SkyDocsDemoComponent, typeof i2.SkyDocsDemoControlPanelCheckboxComponent, typeof i3.SkyDocsDemoControlPanelComponent, typeof i4.SkyDocsDemoControlPanelRadioGroupComponent, typeof i5.SkyDocsDemoControlPanelSectionComponent], [typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDocsDemoModule, [typeof i1.SkyDocsDemoComponent, typeof i2.SkyDocsDemoControlPanelCheckboxComponent, typeof i3.SkyDocsDemoControlPanelComponent, typeof i4.SkyDocsDemoControlPanelRadioGroupComponent, typeof i5.SkyDocsDemoControlPanelSectionComponent, typeof i6.SkyDocsDemoCustomControlPanelComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.SkyCheckboxModule, typeof i10.SkyDocsToolsResourcesModule, typeof i11.SkyIconModule, typeof i9.SkyRadioModule, typeof i12.SkyThemeModule], [typeof i1.SkyDocsDemoComponent, typeof i2.SkyDocsDemoControlPanelCheckboxComponent, typeof i3.SkyDocsDemoControlPanelComponent, typeof i4.SkyDocsDemoControlPanelRadioGroupComponent, typeof i5.SkyDocsDemoControlPanelSectionComponent, typeof i6.SkyDocsDemoCustomControlPanelComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyDocsDemoModule>;
|
|
17
18
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export { SkyDocsDemoControlPanelRadioGroupComponent as λ6 } from './modules/dem
|
|
|
41
41
|
export { SkyDocsDemoControlPanelSectionComponent as λ7 } from './modules/demo/demo-control-panel-section.component';
|
|
42
42
|
export { SkyDocsDemoControlPanelComponent as λ8 } from './modules/demo/demo-control-panel.component';
|
|
43
43
|
export { SkyDocsDemoComponent as λ9 } from './modules/demo/demo.component';
|
|
44
|
+
export { SkyDocsDemoCustomControlPanelComponent as λ32 } from './modules/demo/demo-custom-control-panel.component';
|
|
44
45
|
export { SkyDocsDemoPageModuleInfoComponent as λ10 } from './modules/demo-page/demo-page-module-info.component';
|
|
45
46
|
export { SkyDocsDemoPageSectionComponent as λ11 } from './modules/demo-page/demo-page-section.component';
|
|
46
47
|
export { SkyDocsDemoPageSummaryComponent as λ12 } from './modules/demo-page/demo-page-summary.component';
|