@litigiovirtual/ius-design-components 1.0.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/README.md +24 -0
- package/esm2022/ius-design-components.mjs +5 -0
- package/esm2022/lib/button-primary/button-primary.component.mjs +16 -0
- package/esm2022/lib/button-primary/index.mjs +2 -0
- package/esm2022/litigiovirtual-ius-design-components.mjs +5 -0
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/ius-design-components.mjs +23 -0
- package/fesm2022/ius-design-components.mjs.map +1 -0
- package/fesm2022/litigiovirtual-ius-design-components.mjs +23 -0
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/button-primary/button-primary.component.d.ts +6 -0
- package/lib/button-primary/index.d.ts +1 -0
- package/package.json +26 -0
- package/public-api.d.ts +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# IusDesignComponents
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project ius-design-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ius-design-components`.
|
|
8
|
+
> Note: Don't forget to add `--project ius-design-components` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build ius-design-components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build ius-design-components`, go to the dist folder `cd dist/ius-design-components` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test ius-design-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXVzLWRlc2lnbi1jb21wb25lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9pdXMtZGVzaWduLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class ButtonPrimaryComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.disabled = false;
|
|
6
|
+
}
|
|
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>", styles: [".ius-btn{background-color:#1e88e5;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"] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, decorators: [{
|
|
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>", styles: [".ius-btn{background-color:#1e88e5;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
|
+
}], propDecorators: { disabled: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}] } });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXByaW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvYnV0dG9uLXByaW1hcnkvYnV0dG9uLXByaW1hcnkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvYnV0dG9uLXByaW1hcnkvYnV0dG9uLXByaW1hcnkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBU2pELE1BQU0sT0FBTyxzQkFBc0I7SUFQbkM7UUFTVyxhQUFRLEdBQUcsS0FBSyxDQUFDO0tBRTNCOytHQUpZLHNCQUFzQjttR0FBdEIsc0JBQXNCLGdIQ1RuQyw4RkFFUzs7NEZET0ksc0JBQXNCO2tCQVBsQyxTQUFTOytCQUNFLG9CQUFvQixjQUNsQixJQUFJLFdBQ1AsRUFBRTs4QkFNRixRQUFRO3NCQUFoQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdpdXMtYnV0dG9uLXByaW1hcnknLFxyXG4gIHN0YW5kYWxvbmU6IHRydWUsXHJcbiAgaW1wb3J0czogW10sXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2J1dHRvbi1wcmltYXJ5LmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybDogJy4vYnV0dG9uLXByaW1hcnkuY29tcG9uZW50LnNjc3MnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBCdXR0b25QcmltYXJ5Q29tcG9uZW50IHtcclxuXHJcbiAgQElucHV0KCkgZGlzYWJsZWQgPSBmYWxzZTtcclxuXHJcbn1cclxuIiwiPGJ1dHRvbiBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIiBjbGFzcz1cIml1cy1idG5cIj5cclxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG48L2J1dHRvbj4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './button-primary.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9idXR0b24tcHJpbWFyeS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9idXR0b24tcHJpbWFyeS5jb21wb25lbnQnO1xyXG5cclxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGl0aWdpb3ZpcnR1YWwtaXVzLWRlc2lnbi1jb21wb25lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saXRpZ2lvdmlydHVhbC1pdXMtZGVzaWduLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './lib/button-primary';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2l1cy1kZXNpZ24tY29tcG9uZW50cy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvYnV0dG9uLXByaW1hcnknO1xyXG5cclxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Component } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ButtonPrimaryComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.disabled = false;
|
|
7
|
+
}
|
|
8
|
+
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>", styles: [".ius-btn{background-color:#1e88e5;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"] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, decorators: [{
|
|
12
|
+
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>", styles: [".ius-btn{background-color:#1e88e5;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"] }]
|
|
14
|
+
}], propDecorators: { disabled: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}] } });
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Generated bundle index. Do not edit.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
export { ButtonPrimaryComponent };
|
|
23
|
+
//# sourceMappingURL=ius-design-components.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"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/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>","/**\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,8FAES,EAAA,MAAA,EAAA,CAAA,mMAAA,CAAA,EAAA,CAAA,CAAA;;4FDOI,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,8FAAA,EAAA,MAAA,EAAA,CAAA,mMAAA,CAAA,EAAA;8BAMF,QAAQ,EAAA,CAAA;sBAAhB;;;AEXH;;AAEG;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Component } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ButtonPrimaryComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.disabled = false;
|
|
7
|
+
}
|
|
8
|
+
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>", styles: [".ius-btn{background-color:#1e88e5;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"] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonPrimaryComponent, decorators: [{
|
|
12
|
+
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>", styles: [".ius-btn{background-color:#1e88e5;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"] }]
|
|
14
|
+
}], propDecorators: { disabled: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}] } });
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Generated bundle index. Do not edit.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
export { ButtonPrimaryComponent };
|
|
23
|
+
//# sourceMappingURL=litigiovirtual-ius-design-components.mjs.map
|
|
@@ -0,0 +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>","/**\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,8FAES,EAAA,MAAA,EAAA,CAAA,mMAAA,CAAA,EAAA,CAAA,CAAA;;4FDOI,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,8FAAA,EAAA,MAAA,EAAA,CAAA,mMAAA,CAAA,EAAA;8BAMF,QAAQ,EAAA,CAAA;sBAAhB;;;AEXH;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ButtonPrimaryComponent {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonPrimaryComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonPrimaryComponent, "ius-button-primary", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './button-primary.component';
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@litigiovirtual/ius-design-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^17.3.0",
|
|
6
|
+
"@angular/core": "^17.3.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@litigiovirtual/ius-design-styles": "^1.0.5",
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"module": "fesm2022/litigiovirtual-ius-design-components.mjs",
|
|
14
|
+
"typings": "index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
"./package.json": {
|
|
17
|
+
"default": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./index.d.ts",
|
|
21
|
+
"esm2022": "./esm2022/litigiovirtual-ius-design-components.mjs",
|
|
22
|
+
"esm": "./esm2022/litigiovirtual-ius-design-components.mjs",
|
|
23
|
+
"default": "./fesm2022/litigiovirtual-ius-design-components.mjs"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/button-primary';
|