@litigiovirtual/ius-design-components 1.0.2 → 1.0.3

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.
@@ -5,11 +5,11 @@ export class ButtonPrimaryComponent {
5
5
  this.disabled = false;
6
6
  }
7
7
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ButtonPrimaryComponent, isStandalone: true, selector: "ius-button-primary", inputs: { disabled: "disabled" }, ngImport: i0, template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:.5rem 1rem;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:gray}.ius-btn:disabled{opacity:.6;cursor:not-allowed}\n"] }); }
8
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ButtonPrimaryComponent, isStandalone: true, selector: "ius-button-primary", inputs: { disabled: "disabled" }, ngImport: i0, template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:12px 24px;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:#08a6db}.ius-btn:disabled{background-color:#f5f5f5;cursor:not-allowed}\n"] }); }
9
9
  }
10
10
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, decorators: [{
11
11
  type: Component,
12
- args: [{ selector: 'ius-button-primary', standalone: true, imports: [], template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:.5rem 1rem;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:gray}.ius-btn:disabled{opacity:.6;cursor:not-allowed}\n"] }]
12
+ args: [{ selector: 'ius-button-primary', standalone: true, imports: [], template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:12px 24px;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:#08a6db}.ius-btn:disabled{background-color:#f5f5f5;cursor:not-allowed}\n"] }]
13
13
  }], propDecorators: { disabled: [{
14
14
  type: Input
15
15
  }] } });
@@ -0,0 +1,2 @@
1
+ export * from './ius-icon-md.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9pdXMtaWNvbi1tZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pdXMtaWNvbi1tZC5jb21wb25lbnQnO1xyXG5cclxuIl19
@@ -0,0 +1,33 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { HttpClientModule } from '@angular/common/http';
3
+ import { Component, Input } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common/http";
6
+ import * as i2 from "@angular/platform-browser";
7
+ export class IusIconMdComponent {
8
+ constructor(http, sanitizer) {
9
+ this.http = http;
10
+ this.sanitizer = sanitizer;
11
+ this.iconName = 'icon-add';
12
+ this.color = 'currentColor';
13
+ this.svg = '';
14
+ }
15
+ ngOnInit() {
16
+ const path = `/assets/icons/${this.iconName}.svg`;
17
+ this.http.get(path, { responseType: 'text' }).subscribe((data) => {
18
+ const sanitized = this.sanitizer.bypassSecurityTrustHtml(data);
19
+ this.svg = sanitized;
20
+ });
21
+ }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IusIconMdComponent, deps: [{ token: i1.HttpClient }, { token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: IusIconMdComponent, isStandalone: true, selector: "ius-ius-icon-md", inputs: { iconName: "iconName", color: "color" }, ngImport: i0, template: "<span [innerHTML]=\"svg\"></span>", styles: [":host{display:inline-block;width:24px;height:24px}span svg{width:100%;height:100%;fill:currentColor}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: HttpClientModule }] }); }
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IusIconMdComponent, decorators: [{
26
+ type: Component,
27
+ args: [{ selector: 'ius-ius-icon-md', standalone: true, imports: [CommonModule, HttpClientModule], template: "<span [innerHTML]=\"svg\"></span>", styles: [":host{display:inline-block;width:24px;height:24px}span svg{width:100%;height:100%;fill:currentColor}\n"] }]
28
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.DomSanitizer }], propDecorators: { iconName: [{
29
+ type: Input
30
+ }], color: [{
31
+ type: Input
32
+ }] } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXVzLWljb24tbWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvaXVzLWljb24tbWQvaXVzLWljb24tbWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdH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blxyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgaHR0cDogSHR0cENsaWVudCwgcHJpdmF0ZSBzYW5pdGl6ZXI6IERvbVNhbml0aXplcikgeyB9XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgY29uc3QgcGF0aCA9IGAvYXNzZXRzL2ljb25zLyR7dGhpcy5pY29uTmFtZX0uc3ZnYDtcclxuXHJcbiAgICB0aGlzLmh0dHAuZ2V0KHBhdGgsIHsgcmVzcG9uc2VUeXBlOiAndGV4dCcgfSkuc3Vic2NyaWJlKChkYXRhKSA9PiB7XHJcbiAgICAgIGNvbnN0IHNhbml0aXplZCA9IHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RIdG1sKGRhdGEpO1xyXG4gICAgICB0aGlzLnN2ZyA9IHNhbml0aXplZDtcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iLCI8c3BhbiBbaW5uZXJIVE1MXT1cInN2Z1wiPjwvc3Bhbj4iXX0=
@@ -1,2 +1,3 @@
1
1
  export * from './lib/button-primary';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2l1cy1kZXNpZ24tY29tcG9uZW50cy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvYnV0dG9uLXByaW1hcnknO1xyXG5cclxuIl19
2
+ export * from './lib/ius-icon-md';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2l1cy1kZXNpZ24tY29tcG9uZW50cy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9idXR0b24tcHJpbWFyeSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2l1cy1pY29uLW1kJztcclxuXHJcbiJdfQ==
@@ -1,23 +1,54 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Input, Component } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i1 from '@angular/common/http';
5
+ import { HttpClientModule } from '@angular/common/http';
6
+ import * as i2 from '@angular/platform-browser';
3
7
 
4
8
  class ButtonPrimaryComponent {
5
9
  constructor() {
6
10
  this.disabled = false;
7
11
  }
8
12
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ButtonPrimaryComponent, isStandalone: true, selector: "ius-button-primary", inputs: { disabled: "disabled" }, ngImport: i0, template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:.5rem 1rem;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:gray}.ius-btn:disabled{opacity:.6;cursor:not-allowed}\n"] }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ButtonPrimaryComponent, isStandalone: true, selector: "ius-button-primary", inputs: { disabled: "disabled" }, ngImport: i0, template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:12px 24px;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:#08a6db}.ius-btn:disabled{background-color:#f5f5f5;cursor:not-allowed}\n"] }); }
10
14
  }
11
15
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, decorators: [{
12
16
  type: Component,
13
- args: [{ selector: 'ius-button-primary', standalone: true, imports: [], template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:.5rem 1rem;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:gray}.ius-btn:disabled{opacity:.6;cursor:not-allowed}\n"] }]
17
+ args: [{ selector: 'ius-button-primary', standalone: true, imports: [], template: "<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".ius-btn{background-color:#013169;color:#fff;padding:12px 24px;border:none;cursor:pointer}.ius-btn:hover:not(:disabled){background-color:#08a6db}.ius-btn:disabled{background-color:#f5f5f5;cursor:not-allowed}\n"] }]
14
18
  }], propDecorators: { disabled: [{
15
19
  type: Input
16
20
  }] } });
17
21
 
22
+ class IusIconMdComponent {
23
+ constructor(http, sanitizer) {
24
+ this.http = http;
25
+ this.sanitizer = sanitizer;
26
+ this.iconName = 'icon-add';
27
+ this.color = 'currentColor';
28
+ this.svg = '';
29
+ }
30
+ ngOnInit() {
31
+ const path = `/assets/icons/${this.iconName}.svg`;
32
+ this.http.get(path, { responseType: 'text' }).subscribe((data) => {
33
+ const sanitized = this.sanitizer.bypassSecurityTrustHtml(data);
34
+ this.svg = sanitized;
35
+ });
36
+ }
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IusIconMdComponent, deps: [{ token: i1.HttpClient }, { token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: IusIconMdComponent, isStandalone: true, selector: "ius-ius-icon-md", inputs: { iconName: "iconName", color: "color" }, ngImport: i0, template: "<span [innerHTML]=\"svg\"></span>", styles: [":host{display:inline-block;width:24px;height:24px}span svg{width:100%;height:100%;fill:currentColor}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: HttpClientModule }] }); }
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IusIconMdComponent, decorators: [{
41
+ type: Component,
42
+ args: [{ selector: 'ius-ius-icon-md', standalone: true, imports: [CommonModule, HttpClientModule], template: "<span [innerHTML]=\"svg\"></span>", styles: [":host{display:inline-block;width:24px;height:24px}span svg{width:100%;height:100%;fill:currentColor}\n"] }]
43
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.DomSanitizer }], propDecorators: { iconName: [{
44
+ type: Input
45
+ }], color: [{
46
+ type: Input
47
+ }] } });
48
+
18
49
  /**
19
50
  * Generated bundle index. Do not edit.
20
51
  */
21
52
 
22
- export { ButtonPrimaryComponent };
53
+ export { ButtonPrimaryComponent, IusIconMdComponent };
23
54
  //# sourceMappingURL=litigiovirtual-ius-design-components.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"litigiovirtual-ius-design-components.mjs","sources":["../../../projects/ius-design-components/src/lib/button-primary/button-primary.component.ts","../../../projects/ius-design-components/src/lib/button-primary/button-primary.component.html","../../../projects/ius-design-components/src/litigiovirtual-ius-design-components.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ius-button-primary',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './button-primary.component.html',\r\n styleUrl: './button-primary.component.scss'\r\n})\r\nexport class ButtonPrimaryComponent {\r\n\r\n @Input() disabled = false;\r\n\r\n}\r\n","<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MASa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QASW,IAAQ,CAAA,QAAA,GAAG,KAAK;AAE1B;+GAJY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,gHCTnC,sGAGA,EAAA,MAAA,EAAA,CAAA,mMAAA,CAAA,EAAA,CAAA,CAAA;;4FDMa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,sGAAA,EAAA,MAAA,EAAA,CAAA,mMAAA,CAAA,EAAA;8BAMF,QAAQ,EAAA,CAAA;sBAAhB;;;AEXH;;AAEG;;;;"}
1
+ {"version":3,"file":"litigiovirtual-ius-design-components.mjs","sources":["../../../projects/ius-design-components/src/lib/button-primary/button-primary.component.ts","../../../projects/ius-design-components/src/lib/button-primary/button-primary.component.html","../../../projects/ius-design-components/src/lib/ius-icon-md/ius-icon-md.component.ts","../../../projects/ius-design-components/src/lib/ius-icon-md/ius-icon-md.component.html","../../../projects/ius-design-components/src/litigiovirtual-ius-design-components.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ius-button-primary',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './button-primary.component.html',\r\n styleUrl: './button-primary.component.scss'\r\n})\r\nexport class ButtonPrimaryComponent {\r\n\r\n @Input() disabled = false;\r\n\r\n}\r\n","<button [disabled]=\"disabled\" class=\"ius-btn\">\r\n <ng-content></ng-content>\r\n</button>\r\n","import { CommonModule } from '@angular/common';\r\nimport { HttpClient, HttpClientModule } from '@angular/common/http';\r\nimport { Component, Input, OnInit } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'ius-ius-icon-md',\r\n standalone: true,\r\n imports: [CommonModule, HttpClientModule],\r\n templateUrl: './ius-icon-md.component.html',\r\n styleUrl: './ius-icon-md.component.css'\r\n})\r\nexport class IusIconMdComponent implements OnInit {\r\n @Input() iconName: string = 'icon-add';\r\n @Input() color: string = 'currentColor';\r\n\r\n svg: SafeHtml = '';\r\n\r\n constructor(private http: HttpClient, private sanitizer: DomSanitizer) { }\r\n\r\n ngOnInit(): void {\r\n const path = `/assets/icons/${this.iconName}.svg`;\r\n\r\n this.http.get(path, { responseType: 'text' }).subscribe((data) => {\r\n const sanitized = this.sanitizer.bypassSecurityTrustHtml(data);\r\n this.svg = sanitized;\r\n });\r\n }\r\n}\r\n","<span [innerHTML]=\"svg\"></span>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MASa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QASW,IAAQ,CAAA,QAAA,GAAG,KAAK;AAE1B;+GAJY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,gHCTnC,sGAGA,EAAA,MAAA,EAAA,CAAA,mNAAA,CAAA,EAAA,CAAA,CAAA;;4FDMa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS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AA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,mCAA+B,EDQnB,MAAA,EAAA,CAAA,wGAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,8BAAE,gBAAgB,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAI7B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,cACf,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,mCAAA,EAAA,MAAA,EAAA,CAAA,wGAAA,CAAA,EAAA;0GAKhC,QAAQ,EAAA,CAAA;sBAAhB;gBACQ,KAAK,EAAA,CAAA;sBAAb;;;AEdH;;AAEG;;;;"}
@@ -0,0 +1 @@
1
+ export * from './ius-icon-md.component';
@@ -0,0 +1,15 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { OnInit } from '@angular/core';
3
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
+ import * as i0 from "@angular/core";
5
+ export declare class IusIconMdComponent implements OnInit {
6
+ private http;
7
+ private sanitizer;
8
+ iconName: string;
9
+ color: string;
10
+ svg: SafeHtml;
11
+ constructor(http: HttpClient, sanitizer: DomSanitizer);
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<IusIconMdComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<IusIconMdComponent, "ius-ius-icon-md", never, { "iconName": { "alias": "iconName"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litigiovirtual/ius-design-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0 <20.0.0",
6
6
  "@angular/core": ">=17.0.0 <20.0.0"
package/public-api.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './lib/button-primary';
2
+ export * from './lib/ius-icon-md';
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 21.8837C11.6095 21.8837 11.2761 21.7466 10.9998 21.4722C10.7234 21.1979 10.5853 20.8635 10.5853 20.469V13.4397H3.53102C3.13652 13.4397 2.80211 13.3026 2.52777 13.0282C2.25344 12.7539 2.11627 12.4195 2.11627 12.025C2.11627 11.6345 2.25344 11.3011 2.52777 11.0247C2.80211 10.7484 3.13652 10.6102 3.53102 10.6102H10.5603V3.531C10.5603 3.1365 10.6974 2.80208 10.9718 2.52775C11.2461 2.25341 11.5805 2.11625 11.975 2.11625C12.3655 2.11625 12.6989 2.25341 12.9753 2.52775C13.2516 2.80208 13.3898 3.1365 13.3898 3.531V10.5852H20.469C20.8635 10.5852 21.1979 10.7234 21.4723 10.9997C21.7466 11.2761 21.8838 11.6095 21.8838 12C21.8838 12.3905 21.7466 12.7239 21.4723 13.0002C21.1979 13.2766 20.8635 13.4147 20.469 13.4147H13.4148V20.469C13.4148 20.8635 13.2766 21.1979 13.0003 21.4722C12.7239 21.7466 12.3905 21.8837 12 21.8837Z" fill="currentColor"/>
3
+ </svg>