@ng-doc/ui-kit 15.1.1 → 15.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.
Files changed (32) hide show
  1. package/components/label/label.component.d.ts +0 -2
  2. package/esm2020/animations/fade.mjs +3 -3
  3. package/esm2020/components/dropdown/dropdown.component.mjs +1 -2
  4. package/esm2020/components/label/label.component.mjs +1 -3
  5. package/esm2020/services/index.mjs +2 -1
  6. package/esm2020/services/scroll/index.mjs +2 -0
  7. package/esm2020/services/scroll/ng-doc-ui-kit-services-scroll.mjs +5 -0
  8. package/esm2020/services/scroll/scroll.service.mjs +36 -0
  9. package/fesm2015/ng-doc-ui-kit-animations.mjs +2 -2
  10. package/fesm2015/ng-doc-ui-kit-animations.mjs.map +1 -1
  11. package/fesm2015/ng-doc-ui-kit-components-dropdown.mjs +0 -1
  12. package/fesm2015/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
  13. package/fesm2015/ng-doc-ui-kit-components-label.mjs +0 -2
  14. package/fesm2015/ng-doc-ui-kit-components-label.mjs.map +1 -1
  15. package/fesm2015/ng-doc-ui-kit-services-scroll.mjs +45 -0
  16. package/fesm2015/ng-doc-ui-kit-services-scroll.mjs.map +1 -0
  17. package/fesm2015/ng-doc-ui-kit-services.mjs +1 -0
  18. package/fesm2015/ng-doc-ui-kit-services.mjs.map +1 -1
  19. package/fesm2020/ng-doc-ui-kit-animations.mjs +2 -2
  20. package/fesm2020/ng-doc-ui-kit-animations.mjs.map +1 -1
  21. package/fesm2020/ng-doc-ui-kit-components-dropdown.mjs +0 -1
  22. package/fesm2020/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
  23. package/fesm2020/ng-doc-ui-kit-components-label.mjs +0 -2
  24. package/fesm2020/ng-doc-ui-kit-components-label.mjs.map +1 -1
  25. package/fesm2020/ng-doc-ui-kit-services-scroll.mjs +43 -0
  26. package/fesm2020/ng-doc-ui-kit-services-scroll.mjs.map +1 -0
  27. package/fesm2020/ng-doc-ui-kit-services.mjs +1 -0
  28. package/fesm2020/ng-doc-ui-kit-services.mjs.map +1 -1
  29. package/package.json +10 -2
  30. package/services/index.d.ts +1 -0
  31. package/services/scroll/index.d.ts +1 -0
  32. package/services/scroll/scroll.service.d.ts +18 -0
@@ -1,6 +1,7 @@
1
1
  export * from '@ng-doc/ui-kit/services/notify';
2
2
  export * from '@ng-doc/ui-kit/services/overlay';
3
3
  export * from '@ng-doc/ui-kit/services/overlay-strategy';
4
+ export * from '@ng-doc/ui-kit/services/scroll';
4
5
 
5
6
  /**
6
7
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-services.mjs","sources":["../esm2020/services/ng-doc-ui-kit-services.mjs"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZG9jLXVpLWtpdC1zZXJ2aWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdWkta2l0L3NlcnZpY2VzL25nLWRvYy11aS1raXQtc2VydmljZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAAA;AACA;AACA"}
1
+ {"version":3,"file":"ng-doc-ui-kit-services.mjs","sources":["../esm2020/services/ng-doc-ui-kit-services.mjs"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZG9jLXVpLWtpdC1zZXJ2aWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdWkta2l0L3NlcnZpY2VzL25nLWRvYy11aS1raXQtc2VydmljZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;;AAAA;AACA;AACA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/ui-kit",
3
- "version": "15.1.1",
3
+ "version": "15.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.0.0",
6
6
  "@angular/core": ">=15.0.0",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.3.0",
15
- "@ng-doc/core": "15.1.1"
15
+ "@ng-doc/core": "15.2.0"
16
16
  },
17
17
  "publishConfig": {
18
18
  "access": "public"
@@ -579,6 +579,14 @@
579
579
  "node": "./fesm2015/ng-doc-ui-kit-services-overlay.mjs",
580
580
  "default": "./fesm2020/ng-doc-ui-kit-services-overlay.mjs"
581
581
  },
582
+ "./services/scroll": {
583
+ "types": "./services/scroll/index.d.ts",
584
+ "esm2020": "./esm2020/services/scroll/ng-doc-ui-kit-services-scroll.mjs",
585
+ "es2020": "./fesm2020/ng-doc-ui-kit-services-scroll.mjs",
586
+ "es2015": "./fesm2015/ng-doc-ui-kit-services-scroll.mjs",
587
+ "node": "./fesm2015/ng-doc-ui-kit-services-scroll.mjs",
588
+ "default": "./fesm2020/ng-doc-ui-kit-services-scroll.mjs"
589
+ },
582
590
  "./tokens": {
583
591
  "types": "./tokens/index.d.ts",
584
592
  "esm2020": "./esm2020/tokens/ng-doc-ui-kit-tokens.mjs",
@@ -1,3 +1,4 @@
1
1
  export * from '@ng-doc/ui-kit/services/notify';
2
2
  export * from '@ng-doc/ui-kit/services/overlay';
3
3
  export * from '@ng-doc/ui-kit/services/overlay-strategy';
4
+ export * from '@ng-doc/ui-kit/services/scroll';
@@ -0,0 +1 @@
1
+ export * from './scroll.service';
@@ -0,0 +1,18 @@
1
+ import { BlockScrollStrategy, ViewportRuler } from '@angular/cdk/overlay';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgDocScrollService {
4
+ private readonly document;
5
+ private readonly viewportRuler;
6
+ scrollStrategy: BlockScrollStrategy;
7
+ constructor(document: Document, viewportRuler: ViewportRuler);
8
+ /**
9
+ * Block global scroll
10
+ */
11
+ block(): void;
12
+ /**
13
+ * Unblock global scroll
14
+ */
15
+ unblock(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgDocScrollService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgDocScrollService>;
18
+ }