@ng-doc/ui-kit 19.1.0 → 19.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.
@@ -22,11 +22,11 @@ class NgDocExpanderComponent {
22
22
  this.expanded = !this.expanded;
23
23
  }
24
24
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocExpanderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocExpanderComponent, isStandalone: true, selector: "ng-doc-expander", inputs: { expanded: "expanded", content: "content", collapseMod: "collapseMod", from: "from" }, ngImport: i0, template: "<div\n *ngIf=\"expanded || from || collapseMod === 'hide'\"\n [@.disabled]=\"animationDisabled\"\n [@expandCollapse]=\"{ value: expanded, params: { from: from + 'px', opacity: from ? 1 : 0 } }\">\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [preventInitialChildAnimations, expandCollapseAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocExpanderComponent, isStandalone: true, selector: "ng-doc-expander", inputs: { expanded: "expanded", content: "content", collapseMod: "collapseMod", from: "from" }, ngImport: i0, template: "<div\n *ngIf=\"expanded || from || collapseMod === 'hide'\"\n [@.disabled]=\"animationDisabled\"\n [@expandCollapse]=\"{ value: expanded, params: { from: from + 'px', opacity: from ? 1 : 0 } }\">\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{display:block}:host>div{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [preventInitialChildAnimations, expandCollapseAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocExpanderComponent, decorators: [{
28
28
  type: Component,
29
- args: [{ animations: [preventInitialChildAnimations, expandCollapseAnimation], selector: 'ng-doc-expander', changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgIf, PolymorpheusModule, NgTemplateOutlet], template: "<div\n *ngIf=\"expanded || from || collapseMod === 'hide'\"\n [@.disabled]=\"animationDisabled\"\n [@expandCollapse]=\"{ value: expanded, params: { from: from + 'px', opacity: from ? 1 : 0 } }\">\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{display:block}\n"] }]
29
+ args: [{ animations: [preventInitialChildAnimations, expandCollapseAnimation], selector: 'ng-doc-expander', changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgIf, PolymorpheusModule, NgTemplateOutlet], template: "<div\n *ngIf=\"expanded || from || collapseMod === 'hide'\"\n [@.disabled]=\"animationDisabled\"\n [@expandCollapse]=\"{ value: expanded, params: { from: from + 'px', opacity: from ? 1 : 0 } }\">\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{display:block}:host>div{overflow:hidden}\n"] }]
30
30
  }], propDecorators: { expanded: [{
31
31
  type: Input
32
32
  }], content: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-expander.mjs","sources":["../../../../libs/ui-kit/components/expander/expander.component.ts","../../../../libs/ui-kit/components/expander/expander.component.html","../../../../libs/ui-kit/components/expander/ng-doc-ui-kit-components-expander.ts"],"sourcesContent":["import { NgIf, NgTemplateOutlet } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { expandCollapseAnimation, preventInitialChildAnimations } from '@ng-doc/ui-kit/animations';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\n\n/** Component helps to expand or collapse content */\n@Component({\n animations: [preventInitialChildAnimations, expandCollapseAnimation],\n selector: 'ng-doc-expander',\n templateUrl: './expander.component.html',\n styleUrls: ['./expander.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgIf, PolymorpheusModule, NgTemplateOutlet],\n})\nexport class NgDocExpanderComponent implements AfterViewInit {\n /** Change expand state */\n @Input()\n expanded: boolean = false;\n\n /** Expander content */\n @Input({ required: true })\n content!: NgDocContent;\n\n @Input()\n collapseMod: 'remove' | 'hide' = 'remove';\n\n /** Closed height could be used to show preview of the content */\n @Input()\n from: number = 0;\n\n protected animationDisabled = true;\n\n ngAfterViewInit(): void {\n this.animationDisabled = false;\n }\n\n toggle(): void {\n this.expanded = !this.expanded;\n }\n}\n","<div\n *ngIf=\"expanded || from || collapseMod === 'hide'\"\n [@.disabled]=\"animationDisabled\"\n [@expandCollapse]=\"{ value: expanded, params: { from: from + 'px', opacity: from ? 1 : 0 } }\">\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA;MASa,sBAAsB,CAAA;AARnC,IAAA,WAAA,GAAA;;QAWE,IAAQ,CAAA,QAAA,GAAY,KAAK;QAOzB,IAAW,CAAA,WAAA,GAAsB,QAAQ;;QAIzC,IAAI,CAAA,IAAA,G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,EAC1D,iBAAiB,EAGV,eAAA,EAAA,uBAAuB,CAAC,MAAM,WACtC,CAAC,IAAI,EAAE,kBAAkB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,qSAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;8BAKrD,QAAQ,EAAA,CAAA;sBADP;gBAKD,OAAO,EAAA,CAAA;sBADN,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAIzB,WAAW,EAAA,CAAA;sBADV;gBAKD,IAAI,EAAA,CAAA;sBADH;;;AE5BH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-expander.mjs","sources":["../../../../libs/ui-kit/components/expander/expander.component.ts","../../../../libs/ui-kit/components/expander/expander.component.html","../../../../libs/ui-kit/components/expander/ng-doc-ui-kit-components-expander.ts"],"sourcesContent":["import { NgIf, NgTemplateOutlet } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { expandCollapseAnimation, preventInitialChildAnimations } from '@ng-doc/ui-kit/animations';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\n\n/** Component helps to expand or collapse content */\n@Component({\n animations: [preventInitialChildAnimations, expandCollapseAnimation],\n selector: 'ng-doc-expander',\n templateUrl: './expander.component.html',\n styleUrls: ['./expander.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgIf, PolymorpheusModule, NgTemplateOutlet],\n})\nexport class NgDocExpanderComponent implements AfterViewInit {\n /** Change expand state */\n @Input()\n expanded: boolean = false;\n\n /** Expander content */\n @Input({ required: true })\n content!: NgDocContent;\n\n @Input()\n collapseMod: 'remove' | 'hide' = 'remove';\n\n /** Closed height could be used to show preview of the content */\n @Input()\n from: number = 0;\n\n protected animationDisabled = true;\n\n ngAfterViewInit(): void {\n this.animationDisabled = false;\n }\n\n toggle(): void {\n this.expanded = !this.expanded;\n }\n}\n","<div\n *ngIf=\"expanded || from || collapseMod === 'hide'\"\n [@.disabled]=\"animationDisabled\"\n [@expandCollapse]=\"{ value: expanded, params: { from: from + 'px', opacity: from ? 1 : 0 } }\">\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA;MASa,sBAAsB,CAAA;AARnC,IAAA,WAAA,GAAA;;QAWE,IAAQ,CAAA,QAAA,GAAY,KAAK;QAOzB,IAAW,CAAA,WAAA,GAAsB,QAAQ;;QAIzC,IAAI,CAAA,IAAA,GAAW,CAAC;QAEN,IAAiB,CAAA,iBAAA,GAAG,IAAI;AASnC;IAPC,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,iBAAiB,GAAG,KAAK;;IAGhC,MAAM,GAAA;AACJ,QAAA,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ;;8GAvBrB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfnC,qSAMA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDOY,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,kBAAkB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EALtB,CAAC,6BAA6B,EAAE,uBAAuB,CAAC,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAOzD,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBARlC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAC,6BAA6B,EAAE,uBAAuB,CAAC,EAAA,QAAA,EAC1D,iBAAiB,EAGV,eAAA,EAAA,uBAAuB,CAAC,MAAM,WACtC,CAAC,IAAI,EAAE,kBAAkB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,qSAAA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA;8BAKrD,QAAQ,EAAA,CAAA;sBADP;gBAKD,OAAO,EAAA,CAAA;sBADN,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAIzB,WAAW,EAAA,CAAA;sBADV;gBAKD,IAAI,EAAA,CAAA;sBADH;;;AE5BH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/ui-kit",
3
- "version": "19.1.0",
3
+ "version": "19.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.0.0 < 20.0.0",
6
6
  "@angular/core": ">=19.0.0 < 20.0.0",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.6.2",
15
- "@ng-doc/core": "19.1.0"
15
+ "@ng-doc/core": "19.2.0"
16
16
  },
17
17
  "publishConfig": {
18
18
  "access": "public"