@ng-doc/app 18.1.1 → 18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/app",
3
- "version": "18.1.1",
3
+ "version": "18.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.1.0",
6
6
  "@angular/core": ">=18.1.0",
@@ -12,8 +12,8 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.6.2",
15
- "@ng-doc/core": "18.1.1",
16
- "@ng-doc/ui-kit": "18.1.1",
15
+ "@ng-doc/core": "18.2.0",
16
+ "@ng-doc/ui-kit": "18.2.0",
17
17
  "@orama/plugin-match-highlight": "2.0.17",
18
18
  "@orama/stemmers": "2.0.17",
19
19
  "mermaid": "10.9.1"
@@ -58,11 +58,11 @@
58
58
  "esm": "./esm2022/constants/ng-doc-app-constants.mjs",
59
59
  "default": "./fesm2022/ng-doc-app-constants.mjs"
60
60
  },
61
- "./helpers": {
62
- "types": "./helpers/index.d.ts",
63
- "esm2022": "./esm2022/helpers/ng-doc-app-helpers.mjs",
64
- "esm": "./esm2022/helpers/ng-doc-app-helpers.mjs",
65
- "default": "./fesm2022/ng-doc-app-helpers.mjs"
61
+ "./defaults": {
62
+ "types": "./defaults/index.d.ts",
63
+ "esm2022": "./esm2022/defaults/ng-doc-app-defaults.mjs",
64
+ "esm": "./esm2022/defaults/ng-doc-app-defaults.mjs",
65
+ "default": "./fesm2022/ng-doc-app-defaults.mjs"
66
66
  },
67
67
  "./directives": {
68
68
  "types": "./directives/index.d.ts",
@@ -70,11 +70,11 @@
70
70
  "esm": "./esm2022/directives/ng-doc-app-directives.mjs",
71
71
  "default": "./fesm2022/ng-doc-app-directives.mjs"
72
72
  },
73
- "./defaults": {
74
- "types": "./defaults/index.d.ts",
75
- "esm2022": "./esm2022/defaults/ng-doc-app-defaults.mjs",
76
- "esm": "./esm2022/defaults/ng-doc-app-defaults.mjs",
77
- "default": "./fesm2022/ng-doc-app-defaults.mjs"
73
+ "./helpers": {
74
+ "types": "./helpers/index.d.ts",
75
+ "esm2022": "./esm2022/helpers/ng-doc-app-helpers.mjs",
76
+ "esm": "./esm2022/helpers/ng-doc-app-helpers.mjs",
77
+ "default": "./fesm2022/ng-doc-app-helpers.mjs"
78
78
  },
79
79
  "./interfaces": {
80
80
  "types": "./interfaces/index.d.ts",
@@ -310,18 +310,6 @@
310
310
  "esm": "./esm2022/components/toc/ng-doc-app-components-toc.mjs",
311
311
  "default": "./fesm2022/ng-doc-app-components-toc.mjs"
312
312
  },
313
- "./directives/code-highlighter": {
314
- "types": "./directives/code-highlighter/index.d.ts",
315
- "esm2022": "./esm2022/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs",
316
- "esm": "./esm2022/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs",
317
- "default": "./fesm2022/ng-doc-app-directives-code-highlighter.mjs"
318
- },
319
- "./directives/route-active": {
320
- "types": "./directives/route-active/index.d.ts",
321
- "esm2022": "./esm2022/directives/route-active/ng-doc-app-directives-route-active.mjs",
322
- "esm": "./esm2022/directives/route-active/ng-doc-app-directives-route-active.mjs",
323
- "default": "./fesm2022/ng-doc-app-directives-route-active.mjs"
324
- },
325
313
  "./defaults/default-processors": {
326
314
  "types": "./defaults/default-processors/index.d.ts",
327
315
  "esm2022": "./esm2022/defaults/default-processors/ng-doc-app-defaults-default-processors.mjs",
@@ -334,6 +322,18 @@
334
322
  "esm": "./esm2022/defaults/default-skeleton/ng-doc-app-defaults-default-skeleton.mjs",
335
323
  "default": "./fesm2022/ng-doc-app-defaults-default-skeleton.mjs"
336
324
  },
325
+ "./directives/code-highlighter": {
326
+ "types": "./directives/code-highlighter/index.d.ts",
327
+ "esm2022": "./esm2022/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs",
328
+ "esm": "./esm2022/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs",
329
+ "default": "./fesm2022/ng-doc-app-directives-code-highlighter.mjs"
330
+ },
331
+ "./directives/route-active": {
332
+ "types": "./directives/route-active/index.d.ts",
333
+ "esm2022": "./esm2022/directives/route-active/ng-doc-app-directives-route-active.mjs",
334
+ "esm": "./esm2022/directives/route-active/ng-doc-app-directives-route-active.mjs",
335
+ "default": "./fesm2022/ng-doc-app-directives-route-active.mjs"
336
+ },
337
337
  "./pipes/decode-uri-component": {
338
338
  "types": "./pipes/decode-uri-component/index.d.ts",
339
339
  "esm2022": "./esm2022/pipes/decode-uri-component/ng-doc-app-pipes-decode-uri-component.mjs",
package/styles/global.css CHANGED
@@ -800,9 +800,15 @@ article header.ngde h1.ngde {
800
800
  margin: 0;
801
801
  margin-right: var(--ng-doc-base-gutter);
802
802
  }
803
- article th p.ngde,
804
- article td p.ngde {
805
- margin: 0;
803
+ article th h5.ngde + p.ngde,
804
+ article th p.ngde:first-of-type,
805
+ article td h5.ngde + p.ngde,
806
+ article td p.ngde:first-of-type {
807
+ margin-top: 0;
808
+ }
809
+ article th p.ngde:last-of-type,
810
+ article td p.ngde:last-of-type {
811
+ margin-bottom: 0;
806
812
  }
807
813
  article .ng-doc-inline-header {
808
814
  display: flex;
@@ -829,6 +835,9 @@ article .ng-doc-header-link {
829
835
  article pre code .ng-doc-code-anchor {
830
836
  color: inherit;
831
837
  }
838
+ article tr[data-slugtype=member]:has(+ tr:not([data-slugtype])) td {
839
+ border-bottom: none;
840
+ }
832
841
 
833
842
  .ng-doc-deprecated {
834
843
  text-decoration: line-through;
@@ -852,6 +861,19 @@ article pre code .ng-doc-code-anchor {
852
861
  color: var(--ng-doc-warning-text);
853
862
  }
854
863
 
864
+ .ng-doc-returns {
865
+ display: flex;
866
+ align-items: start;
867
+ gap: calc(var(--ng-doc-base-gutter) * 1.5);
868
+ margin: var(--ng-doc-page-block-margin);
869
+ }
870
+ .ng-doc-returns p:first-of-type {
871
+ margin-top: 0;
872
+ }
873
+ .ng-doc-returns p:last-of-type {
874
+ margin-bottom: 0;
875
+ }
876
+
855
877
  html {
856
878
  overflow-y: scroll;
857
879
  overflow-x: hidden;
package/styles/main.css CHANGED
@@ -800,9 +800,15 @@ article header.ngde h1.ngde {
800
800
  margin: 0;
801
801
  margin-right: var(--ng-doc-base-gutter);
802
802
  }
803
- article th p.ngde,
804
- article td p.ngde {
805
- margin: 0;
803
+ article th h5.ngde + p.ngde,
804
+ article th p.ngde:first-of-type,
805
+ article td h5.ngde + p.ngde,
806
+ article td p.ngde:first-of-type {
807
+ margin-top: 0;
808
+ }
809
+ article th p.ngde:last-of-type,
810
+ article td p.ngde:last-of-type {
811
+ margin-bottom: 0;
806
812
  }
807
813
  article .ng-doc-inline-header {
808
814
  display: flex;
@@ -829,6 +835,9 @@ article .ng-doc-header-link {
829
835
  article pre code .ng-doc-code-anchor {
830
836
  color: inherit;
831
837
  }
838
+ article tr[data-slugtype=member]:has(+ tr:not([data-slugtype])) td {
839
+ border-bottom: none;
840
+ }
832
841
 
833
842
  .ng-doc-deprecated {
834
843
  text-decoration: line-through;
@@ -851,3 +860,16 @@ article pre code .ng-doc-code-anchor {
851
860
  .ng-doc-deprecated-notes {
852
861
  color: var(--ng-doc-warning-text);
853
862
  }
863
+
864
+ .ng-doc-returns {
865
+ display: flex;
866
+ align-items: start;
867
+ gap: calc(var(--ng-doc-base-gutter) * 1.5);
868
+ margin: var(--ng-doc-page-block-margin);
869
+ }
870
+ .ng-doc-returns p:first-of-type {
871
+ margin-top: 0;
872
+ }
873
+ .ng-doc-returns p:last-of-type {
874
+ margin-bottom: 0;
875
+ }