@spicainternational/ngx-sds-components 6.0.17 → 6.0.18

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.
@@ -3,15 +3,18 @@ import * as i0 from "@angular/core";
3
3
  export class SdsCalloutComponent {
4
4
  constructor() {
5
5
  this.color = 'info';
6
+ this.backgroundColor = 'white';
6
7
  }
7
8
  ngOnInit() { }
8
9
  }
9
10
  SdsCalloutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdsCalloutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- SdsCalloutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SdsCalloutComponent, selector: "sds-callout", inputs: { color: "color" }, ngImport: i0, template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] });
11
+ SdsCalloutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SdsCalloutComponent, selector: "sds-callout", inputs: { color: "color", backgroundColor: "backgroundColor" }, ngImport: i0, template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] });
11
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdsCalloutComponent, decorators: [{
12
13
  type: Component,
13
- args: [{ selector: 'sds-callout', template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
14
+ args: [{ selector: 'sds-callout', template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
14
15
  }], ctorParameters: function () { return []; }, propDecorators: { color: [{
15
16
  type: Input
17
+ }], backgroundColor: [{
18
+ type: Input
16
19
  }] } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsbG91dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtc2RzLWNvbXBvbmVudHMvc3JjL2xpYi9jYWxsb3V0L2NhbGxvdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNkcy1jb21wb25lbnRzL3NyYy9saWIvY2FsbG91dC9jYWxsb3V0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQU96RCxNQUFNLE9BQU8sbUJBQW1CO0lBRzVCO1FBRlMsVUFBSyxHQUFXLE1BQU0sQ0FBQztJQUVqQixDQUFDO0lBRWhCLFFBQVEsS0FBVSxDQUFDOztpSEFMVixtQkFBbUI7cUdBQW5CLG1CQUFtQiwrRUNQaEMsK0hBSUE7NEZER2EsbUJBQW1CO2tCQUwvQixTQUFTOytCQUNJLGFBQWE7MEVBS2QsS0FBSztzQkFBYixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICAgIHNlbGVjdG9yOiAnc2RzLWNhbGxvdXQnLFxyXG4gICAgdGVtcGxhdGVVcmw6ICcuL2NhbGxvdXQuY29tcG9uZW50Lmh0bWwnLFxyXG4gICAgc3R5bGVVcmxzOiBbJy4vY2FsbG91dC5jb21wb25lbnQuc2NzcyddLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2RzQ2FsbG91dENvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XHJcbiAgICBASW5wdXQoKSBjb2xvcjogc3RyaW5nID0gJ2luZm8nO1xyXG5cclxuICAgIGNvbnN0cnVjdG9yKCkge31cclxuXHJcbiAgICBuZ09uSW5pdCgpOiB2b2lkIHt9XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cImNhbGxvdXRcIlxyXG4gICAgW2NsYXNzXT1cIihjb2xvciA/ICdjYWxsb3V0LScgKyBjb2xvciA6IG51bGwpXCI+XHJcbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbjwvZGl2PlxyXG4iXX0=
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsbG91dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtc2RzLWNvbXBvbmVudHMvc3JjL2xpYi9jYWxsb3V0L2NhbGxvdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNkcy1jb21wb25lbnRzL3NyYy9saWIvY2FsbG91dC9jYWxsb3V0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQU96RCxNQUFNLE9BQU8sbUJBQW1CO0lBTTVCO1FBTFMsVUFBSyxHQUFXLE1BQU0sQ0FBQztRQUN2QixvQkFBZSxHQUFXLE9BQU8sQ0FBQztJQUk1QixDQUFDO0lBRWhCLFFBQVEsS0FBVSxDQUFDOztpSEFSVixtQkFBbUI7cUdBQW5CLG1CQUFtQixtSENQaEMsMExBTUE7NEZEQ2EsbUJBQW1CO2tCQUwvQixTQUFTOytCQUNJLGFBQWE7MEVBS2QsS0FBSztzQkFBYixLQUFLO2dCQUNHLGVBQWU7c0JBQXZCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdzZHMtY2FsbG91dCcsXHJcbiAgICB0ZW1wbGF0ZVVybDogJy4vY2FsbG91dC5jb21wb25lbnQuaHRtbCcsXHJcbiAgICBzdHlsZVVybHM6IFsnLi9jYWxsb3V0LmNvbXBvbmVudC5zY3NzJ10sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTZHNDYWxsb3V0Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICAgIEBJbnB1dCgpIGNvbG9yOiBzdHJpbmcgPSAnaW5mbyc7XHJcbiAgICBASW5wdXQoKSBiYWNrZ3JvdW5kQ29sb3I6IHN0cmluZyA9ICd3aGl0ZSc7XHJcbiAgICBcclxuXHJcblxyXG4gICAgY29uc3RydWN0b3IoKSB7fVxyXG5cclxuICAgIG5nT25Jbml0KCk6IHZvaWQge31cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiY2FsbG91dFwiXHJcbiAgICBbY2xhc3NdPVwiKGNvbG9yID8gJ2NhbGxvdXQtJyArIGNvbG9yIDogbnVsbClcIlxyXG4gICAgW3N0eWxlLmJhY2tncm91bmRDb2xvcl09XCJiYWNrZ3JvdW5kQ29sb3JcIlxyXG4gICAgPlxyXG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG48L2Rpdj5cclxuIl19
@@ -5,16 +5,19 @@ import { CommonModule } from '@angular/common';
5
5
  class SdsCalloutComponent {
6
6
  constructor() {
7
7
  this.color = 'info';
8
+ this.backgroundColor = 'white';
8
9
  }
9
10
  ngOnInit() { }
10
11
  }
11
12
  SdsCalloutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdsCalloutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- SdsCalloutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SdsCalloutComponent, selector: "sds-callout", inputs: { color: "color" }, ngImport: i0, template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] });
13
+ SdsCalloutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SdsCalloutComponent, selector: "sds-callout", inputs: { color: "color", backgroundColor: "backgroundColor" }, ngImport: i0, template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] });
13
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdsCalloutComponent, decorators: [{
14
15
  type: Component,
15
- args: [{ selector: 'sds-callout', template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
16
+ args: [{ selector: 'sds-callout', template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
16
17
  }], ctorParameters: function () { return []; }, propDecorators: { color: [{
17
18
  type: Input
19
+ }], backgroundColor: [{
20
+ type: Input
18
21
  }] } });
19
22
 
20
23
  const components = [SdsCalloutComponent];
@@ -1 +1 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-callout.mjs","sources":["../../../projects/ngx-sds-components/src/lib/callout/callout.component.ts","../../../projects/ngx-sds-components/src/lib/callout/callout.component.html","../../../projects/ngx-sds-components/src/lib/callout/callout.module.ts","../../../projects/ngx-sds-components/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'sds-callout',\r\n templateUrl: './callout.component.html',\r\n styleUrls: ['./callout.component.scss'],\r\n})\r\nexport class SdsCalloutComponent implements OnInit {\r\n @Input() color: string = 'info';\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsCalloutComponent } from './callout.component';\r\n\r\n\r\n\r\nconst components = [SdsCalloutComponent];\r\n@NgModule({\r\n declarations: [\r\n ...components\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n ...components\r\n ]\r\n})\r\nexport class SdsCalloutModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,mBAAmB,CAAA;AAG5B,IAAA,WAAA,GAAA;AAFS,QAAA,IAAK,CAAA,KAAA,GAAW,MAAM,CAAC;KAEhB;AAEhB,IAAA,QAAQ,MAAW;;iHALV,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,+ECPhC,+HAIA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDGa,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;+BACI,aAAa,EAAA,QAAA,EAAA,+HAAA,EAAA,CAAA;0EAKd,KAAK,EAAA,CAAA;sBAAb,KAAK;;;AEFV,MAAM,UAAU,GAAG,CAAC,mBAAmB,CAAC,CAAC;MAY5B,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAZT,YAAA,EAAA,CAAA,mBAAmB,CAMnC,EAAA,OAAA,EAAA,CAAA,YAAY,aANI,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAY1B,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;iBACF,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-callout.mjs","sources":["../../../projects/ngx-sds-components/src/lib/callout/callout.component.ts","../../../projects/ngx-sds-components/src/lib/callout/callout.component.html","../../../projects/ngx-sds-components/src/lib/callout/callout.module.ts","../../../projects/ngx-sds-components/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'sds-callout',\r\n templateUrl: './callout.component.html',\r\n styleUrls: ['./callout.component.scss'],\r\n})\r\nexport class SdsCalloutComponent implements OnInit {\r\n @Input() color: string = 'info';\r\n @Input() backgroundColor: string = 'white';\r\n \r\n\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsCalloutComponent } from './callout.component';\r\n\r\n\r\n\r\nconst components = [SdsCalloutComponent];\r\n@NgModule({\r\n declarations: [\r\n ...components\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n ...components\r\n ]\r\n})\r\nexport class SdsCalloutModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,mBAAmB,CAAA;AAM5B,IAAA,WAAA,GAAA;AALS,QAAA,IAAK,CAAA,KAAA,GAAW,MAAM,CAAC;AACvB,QAAA,IAAe,CAAA,eAAA,GAAW,OAAO,CAAC;KAI3B;AAEhB,IAAA,QAAQ,MAAW;;iHARV,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,mHCPhC,0LAMA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDCa,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;+BACI,aAAa,EAAA,QAAA,EAAA,0LAAA,EAAA,CAAA;0EAKd,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,eAAe,EAAA,CAAA;sBAAvB,KAAK;;;AEHV,MAAM,UAAU,GAAG,CAAC,mBAAmB,CAAC,CAAC;MAY5B,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAZT,YAAA,EAAA,CAAA,mBAAmB,CAMnC,EAAA,OAAA,EAAA,CAAA,YAAY,aANI,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAY1B,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;iBACF,CAAA;;;ACjBD;;AAEG;;;;"}
@@ -5,16 +5,19 @@ import { CommonModule } from '@angular/common';
5
5
  class SdsCalloutComponent {
6
6
  constructor() {
7
7
  this.color = 'info';
8
+ this.backgroundColor = 'white';
8
9
  }
9
10
  ngOnInit() { }
10
11
  }
11
12
  SdsCalloutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdsCalloutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- SdsCalloutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SdsCalloutComponent, selector: "sds-callout", inputs: { color: "color" }, ngImport: i0, template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] });
13
+ SdsCalloutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SdsCalloutComponent, selector: "sds-callout", inputs: { color: "color", backgroundColor: "backgroundColor" }, ngImport: i0, template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] });
13
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdsCalloutComponent, decorators: [{
14
15
  type: Component,
15
- args: [{ selector: 'sds-callout', template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
16
+ args: [{ selector: 'sds-callout', template: "<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
16
17
  }], ctorParameters: function () { return []; }, propDecorators: { color: [{
17
18
  type: Input
19
+ }], backgroundColor: [{
20
+ type: Input
18
21
  }] } });
19
22
 
20
23
  const components = [SdsCalloutComponent];
@@ -1 +1 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-callout.mjs","sources":["../../../projects/ngx-sds-components/src/lib/callout/callout.component.ts","../../../projects/ngx-sds-components/src/lib/callout/callout.component.html","../../../projects/ngx-sds-components/src/lib/callout/callout.module.ts","../../../projects/ngx-sds-components/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'sds-callout',\r\n templateUrl: './callout.component.html',\r\n styleUrls: ['./callout.component.scss'],\r\n})\r\nexport class SdsCalloutComponent implements OnInit {\r\n @Input() color: string = 'info';\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\">\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsCalloutComponent } from './callout.component';\r\n\r\n\r\n\r\nconst components = [SdsCalloutComponent];\r\n@NgModule({\r\n declarations: [\r\n ...components\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n ...components\r\n ]\r\n})\r\nexport class SdsCalloutModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,mBAAmB,CAAA;AAG5B,IAAA,WAAA,GAAA;QAFS,IAAK,CAAA,KAAA,GAAW,MAAM,CAAC;KAEhB;AAEhB,IAAA,QAAQ,MAAW;;iHALV,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,+ECPhC,+HAIA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDGa,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;+BACI,aAAa,EAAA,QAAA,EAAA,+HAAA,EAAA,CAAA;0EAKd,KAAK,EAAA,CAAA;sBAAb,KAAK;;;AEFV,MAAM,UAAU,GAAG,CAAC,mBAAmB,CAAC,CAAC;MAY5B,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAZT,YAAA,EAAA,CAAA,mBAAmB,CAMnC,EAAA,OAAA,EAAA,CAAA,YAAY,aANI,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAY1B,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-callout.mjs","sources":["../../../projects/ngx-sds-components/src/lib/callout/callout.component.ts","../../../projects/ngx-sds-components/src/lib/callout/callout.component.html","../../../projects/ngx-sds-components/src/lib/callout/callout.module.ts","../../../projects/ngx-sds-components/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'sds-callout',\r\n templateUrl: './callout.component.html',\r\n styleUrls: ['./callout.component.scss'],\r\n})\r\nexport class SdsCalloutComponent implements OnInit {\r\n @Input() color: string = 'info';\r\n @Input() backgroundColor: string = 'white';\r\n \r\n\r\n\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<div class=\"callout\"\r\n [class]=\"(color ? 'callout-' + color : null)\"\r\n [style.backgroundColor]=\"backgroundColor\"\r\n >\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsCalloutComponent } from './callout.component';\r\n\r\n\r\n\r\nconst components = [SdsCalloutComponent];\r\n@NgModule({\r\n declarations: [\r\n ...components\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n ...components\r\n ]\r\n})\r\nexport class SdsCalloutModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,mBAAmB,CAAA;AAM5B,IAAA,WAAA,GAAA;QALS,IAAK,CAAA,KAAA,GAAW,MAAM,CAAC;QACvB,IAAe,CAAA,eAAA,GAAW,OAAO,CAAC;KAI3B;AAEhB,IAAA,QAAQ,MAAW;;iHARV,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,mHCPhC,0LAMA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDCa,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;+BACI,aAAa,EAAA,QAAA,EAAA,0LAAA,EAAA,CAAA;0EAKd,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,eAAe,EAAA,CAAA;sBAAvB,KAAK;;;AEHV,MAAM,UAAU,GAAG,CAAC,mBAAmB,CAAC,CAAC;MAY5B,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAZT,YAAA,EAAA,CAAA,mBAAmB,CAMnC,EAAA,OAAA,EAAA,CAAA,YAAY,aANI,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAY1B,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicainternational/ngx-sds-components",
3
- "version": "6.0.17",
3
+ "version": "6.0.18",
4
4
  "license": "MIT",
5
5
  "description": "Spica design system angular components.",
6
6
  "peerDependencies": {
@@ -2,8 +2,9 @@ import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SdsCalloutComponent implements OnInit {
4
4
  color: string;
5
+ backgroundColor: string;
5
6
  constructor();
6
7
  ngOnInit(): void;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsCalloutComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<SdsCalloutComponent, "sds-callout", never, { "color": "color"; }, {}, never, ["*"], false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdsCalloutComponent, "sds-callout", never, { "color": "color"; "backgroundColor": "backgroundColor"; }, {}, never, ["*"], false, never>;
9
10
  }