@foblex/m-render 3.0.5 → 4.0.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/assets/styles/_alert.scss +9 -4
- package/assets/styles/_badge.scss +6 -5
- package/assets/styles/_button.scss +13 -4
- package/assets/styles/_code-group.scss +37 -0
- package/assets/styles/_code-highlight.scss +16 -35
- package/assets/styles/_code-view.scss +51 -33
- package/assets/styles/_doc-text.scss +27 -23
- package/assets/styles/_icons.scss +3 -3
- package/assets/styles/_table.scss +32 -11
- package/assets/styles/_variables.scss +224 -139
- package/assets/styles/styles.scss +5 -0
- package/fesm2022/foblex-m-render.mjs +53 -35
- package/fesm2022/foblex-m-render.mjs.map +1 -1
- package/package.json +1 -1
- package/types/foblex-m-render.d.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foblex/m-render",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "MRender is a static site generator designed for creating fast and user-friendly documentation sites based on Markdown files. MarkEngine supports extended Markdown syntax and can render Angular components directly from Markdown files.",
|
|
5
5
|
"author": "Siarhei Huzarevich",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1127,12 +1127,14 @@ interface ContainerData {
|
|
|
1127
1127
|
declare class CodeView implements OnInit {
|
|
1128
1128
|
private readonly _httpClient;
|
|
1129
1129
|
private readonly _destroyRef;
|
|
1130
|
-
private
|
|
1130
|
+
private _copyFeedbackTimeout;
|
|
1131
1131
|
readonly data: i0.InputSignal<ContainerData | undefined>;
|
|
1132
1132
|
protected readonly height: i0.Signal<string | undefined>;
|
|
1133
1133
|
protected readonly content: i0.WritableSignal<string>;
|
|
1134
1134
|
protected readonly visibleLanguage: i0.WritableSignal<string>;
|
|
1135
1135
|
protected readonly syntaxLanguage: i0.WritableSignal<string>;
|
|
1136
|
+
protected readonly copyButtonLabel: i0.WritableSignal<string>;
|
|
1137
|
+
constructor();
|
|
1136
1138
|
ngOnInit(): void;
|
|
1137
1139
|
private _updateLanguage;
|
|
1138
1140
|
private _updateNotExistingData;
|
|
@@ -1140,6 +1142,7 @@ declare class CodeView implements OnInit {
|
|
|
1140
1142
|
private _loadCodeByLink;
|
|
1141
1143
|
protected onCopyClick(): void;
|
|
1142
1144
|
private _copyContentToClipboard;
|
|
1145
|
+
private _setCopiedFeedback;
|
|
1143
1146
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeView, never>;
|
|
1144
1147
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeView, "code-view", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1145
1148
|
}
|