@ng-prism/plugin-box-model 22.3.0 → 22.4.1
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 +2 -2
- package/dist/schematics/ng-add/index.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @ng-prism/plugin-box-model
|
|
2
2
|
|
|
3
|
-
CSS box model inspector plugin for [@ng-prism/core](https://github.com/
|
|
3
|
+
CSS box model inspector plugin for [@ng-prism/core](https://github.com/ng-prism/ng-prism). Overlays margin, padding, border, and content dimensions on the rendered component.
|
|
4
4
|
|
|
5
|
-
> **Full documentation:** [ng-prism Docs
|
|
5
|
+
> **Full documentation:** [ng-prism Docs: Box Model Plugin](https://ng-prism.github.io/ng-prism/#/plugins/box-model)
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -12,10 +12,10 @@ function injectPlugin(options) {
|
|
|
12
12
|
call: PLUGIN_CALL
|
|
13
13
|
});
|
|
14
14
|
if (changed) {
|
|
15
|
-
context.logger.info(` ${PLUGIN_IMPORT_FROM}
|
|
15
|
+
context.logger.info(` ${PLUGIN_IMPORT_FROM} added to ${configPath}`);
|
|
16
16
|
}
|
|
17
17
|
else {
|
|
18
|
-
context.logger.info(` ${PLUGIN_IMPORT_FROM} already configured
|
|
18
|
+
context.logger.info(` ${PLUGIN_IMPORT_FROM} already configured, skipped`);
|
|
19
19
|
}
|
|
20
20
|
return tree;
|
|
21
21
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-prism/plugin-box-model",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.4.1",
|
|
4
4
|
"description": "CSS box model inspector for ng-prism.",
|
|
5
5
|
"ng-add": {
|
|
6
6
|
"save": "devDependencies"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@angular/core": ">=20.0.0",
|
|
37
37
|
"rxjs": ">=7.0.0",
|
|
38
|
-
"@ng-prism/core": "^22.
|
|
38
|
+
"@ng-prism/core": "^22.4.1-0",
|
|
39
39
|
"@angular-devkit/schematics": ">=20.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
|
49
|
-
"url": "https://github.com/
|
|
49
|
+
"url": "https://github.com/ng-prism/ng-prism.git",
|
|
50
50
|
"directory": "packages/plugin-box-model"
|
|
51
51
|
},
|
|
52
|
-
"homepage": "https://
|
|
53
|
-
"bugs": "https://github.com/
|
|
52
|
+
"homepage": "https://ng-prism.github.io/ng-prism/",
|
|
53
|
+
"bugs": "https://github.com/ng-prism/ng-prism/issues"
|
|
54
54
|
}
|