@apipass/buttons 0.2.16 → 1.0.1
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/assets/css/buttons.scss +127 -118
- package/assets/css/colors.scss +34 -34
- package/assets/css/fonts.scss +24 -24
- package/assets/css/pt_sans.scss +143 -143
- package/assets/css/spacing.scss +28 -28
- package/assets/css/texts.scss +18 -18
- package/buttons.module.d.ts +16 -15
- package/default-button/default-button.component.d.ts +15 -15
- package/{esm2015/apipass-buttons.js → esm2020/apipass-buttons.mjs} +4 -4
- package/esm2020/buttons.module.mjs +62 -0
- package/esm2020/default-button/default-button.component.mjs +50 -0
- package/esm2020/outline-button/outline-button.component.mjs +40 -0
- package/esm2020/primary-button/primary-button.component.mjs +40 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +7 -7
- package/esm2020/secondary-button/secondary-button.component.mjs +40 -0
- package/esm2020/tab-button/tab-button.component.mjs +50 -0
- package/esm2020/tertiary-button/tertiary-button.component.mjs +40 -0
- package/fesm2015/apipass-buttons.mjs +304 -0
- package/fesm2015/apipass-buttons.mjs.map +1 -0
- package/fesm2020/apipass-buttons.mjs +304 -0
- package/fesm2020/apipass-buttons.mjs.map +1 -0
- package/{apipass-buttons.d.ts → index.d.ts} +5 -5
- package/outline-button/outline-button.component.d.ts +14 -14
- package/package.json +29 -19
- package/primary-button/primary-button.component.d.ts +14 -14
- package/public-api.d.ts +7 -7
- package/secondary-button/secondary-button.component.d.ts +14 -14
- package/tab-button/tab-button.component.d.ts +15 -15
- package/tertiary-button/tertiary-button.component.d.ts +14 -14
- package/assets/css/inputs.scss +0 -197
- package/bundles/apipass-buttons.umd.js +0 -597
- package/bundles/apipass-buttons.umd.js.map +0 -1
- package/bundles/apipass-buttons.umd.min.js +0 -2
- package/bundles/apipass-buttons.umd.min.js.map +0 -1
- package/esm2015/buttons.module.js +0 -64
- package/esm2015/default-button/default-button.component.js +0 -131
- package/esm2015/outline-button/outline-button.component.js +0 -51
- package/esm2015/primary-button/primary-button.component.js +0 -51
- package/esm2015/secondary-button/secondary-button.component.js +0 -51
- package/esm2015/tab-button/tab-button.component.js +0 -131
- package/esm2015/tertiary-button/tertiary-button.component.js +0 -51
- package/fesm2015/apipass-buttons.js +0 -508
- package/fesm2015/apipass-buttons.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apipass-buttons.mjs","sources":["../../../projects/buttons/src/default-button/default-button.component.ts","../../../projects/buttons/src/default-button/default-button.component.html","../../../projects/buttons/src/primary-button/primary-button.component.ts","../../../projects/buttons/src/primary-button/primary-button.component.html","../../../projects/buttons/src/secondary-button/secondary-button.component.ts","../../../projects/buttons/src/secondary-button/secondary-button.component.html","../../../projects/buttons/src/outline-button/outline-button.component.ts","../../../projects/buttons/src/outline-button/outline-button.component.html","../../../projects/buttons/src/tertiary-button/tertiary-button.component.ts","../../../projects/buttons/src/tertiary-button/tertiary-button.component.html","../../../projects/buttons/src/tab-button/tab-button.component.ts","../../../projects/buttons/src/tab-button/tab-button.component.html","../../../projects/buttons/src/buttons.module.ts","../../../projects/buttons/src/apipass-buttons.ts"],"sourcesContent":["import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'default-button',\r\n templateUrl: 'default-button.component.html',\r\n styleUrls: ['default-button.component.scss']\r\n})\r\nexport class DefaultButtonComponent {\r\n\r\n @Input() public btnText = '';\r\n @Input() public btnIcon = '';\r\n @Input() public suffixIcon = '';\r\n @Input() public btnClass = '';\r\n @Input() public btnDisabled = false;\r\n @Input() public selected = false;\r\n\r\n @Output() public onClick = new EventEmitter<boolean>();\r\n\r\n public click(): void {\r\n if (!this.btnDisabled) {\r\n this.onClick.emit(true);\r\n }\r\n }\r\n\r\n public getClass(): any {\r\n const classValues: any = {};\r\n classValues[this.btnClass] = true;\r\n if (this.selected) {\r\n classValues['selected'] = true;\r\n }\r\n return classValues;\r\n }\r\n\r\n}\r\n","<button class=\"apipass-btn-default\" [ngClass]=\"getClass()\" *ngIf=\"btnIcon || suffixIcon\" mat-icon-button (click)=\"click()\" [disabled]=\"btnDisabled\">\r\n <mat-icon [ngClass]=\"{'apipass-btn-icon-text' : btnText}\" *ngIf=\"btnIcon\">{{btnIcon}}</mat-icon>\r\n <span class=\"button-text\" *ngIf=\"btnText\">{{this.btnText}}</span>\r\n <mat-icon [ngClass]=\"{'apipass-btn-icon-text-suffix' : btnText}\" *ngIf=\"suffixIcon\">{{suffixIcon}}</mat-icon>\r\n</button>\r\n\r\n<button class=\"apipass-btn-default\" [ngClass]=\"getClass()\" *ngIf=\"!btnIcon && !suffixIcon\" (click)=\"click()\" [disabled]=\"btnDisabled\">\r\n <span class=\"button-text\" *ngIf=\"btnText\">{{this.btnText}}</span>\r\n</button>\r\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'primary-button',\r\n templateUrl: 'primary-button.component.html',\r\n styleUrls: ['primary-button.component.scss']\r\n})\r\nexport class PrimaryButtonComponent {\r\n\r\n @Input() public label = '';\r\n @Input() public btnDisabled = false;\r\n @Input() public icon = '';\r\n @Input() public suffixIcon = '';\r\n @Input() public selected = false;\r\n @Input() public btnClass = '';\r\n\r\n @Output() public onClick = new EventEmitter<boolean>();\r\n\r\n public click(): void {\r\n if (!this.btnDisabled) {\r\n this.onClick.emit(true);\r\n }\r\n }\r\n\r\n}\r\n","<default-button btnClass=\"apipass-btn-primary {{btnClass}}\" [selected]=\"selected\" [btnIcon]=\"icon\" [suffixIcon]=\"suffixIcon\" [btnText]=\"label\"\r\n (click)=\"click()\" [btnDisabled]=btnDisabled></default-button>\r\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'secondary-button',\r\n templateUrl: 'secondary-button.component.html',\r\n styleUrls: ['secondary-button.component.scss']\r\n})\r\nexport class SecondaryButtonComponent {\r\n\r\n @Input() public label = '';\r\n @Input() public btnDisabled = false;\r\n @Input() public icon = '';\r\n @Input() public suffixIcon = '';\r\n @Input() public selected = false;\r\n @Input() public btnClass = '';\r\n\r\n @Output() public onClick = new EventEmitter<boolean>();\r\n\r\n public click(): void {\r\n if (!this.btnDisabled) {\r\n this.onClick.emit(true);\r\n }\r\n }\r\n\r\n}\r\n","<default-button btnClass=\"apipass-btn-secondary {{btnClass}}\" [selected]=\"selected\" [btnIcon]=\"icon\" [suffixIcon]=\"suffixIcon\" [btnText]=\"label\"\r\n (click)=\"click()\" [btnDisabled]=btnDisabled></default-button>\r\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'outline-button',\r\n templateUrl: 'outline-button.component.html',\r\n styleUrls: ['outline-button.component.scss']\r\n})\r\nexport class OutlineButtonComponent {\r\n\r\n @Input() public label = '';\r\n @Input() public btnDisabled = false;\r\n @Input() public icon = '';\r\n @Input() public suffixIcon = '';\r\n @Input() public selected = false;\r\n @Input() public btnClass = '';\r\n\r\n @Output() public onClick = new EventEmitter<boolean>();\r\n\r\n public click(): void {\r\n if (!this.btnDisabled) {\r\n this.onClick.emit(true);\r\n }\r\n }\r\n\r\n}\r\n","<default-button btnClass=\"apipass-btn-outline {{btnClass}}\" [selected]=\"selected\" [btnIcon]=\"icon\" [suffixIcon]=\"suffixIcon\" [btnText]=\"label\"\r\n (click)=\"click()\" [btnDisabled]=btnDisabled></default-button>\r\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'tertiary-button',\r\n templateUrl: 'tertiary-button.component.html',\r\n styleUrls: ['tertiary-button.component.scss']\r\n})\r\nexport class TertiaryButtonComponent {\r\n\r\n @Input() public label = '';\r\n @Input() public btnDisabled = false;\r\n @Input() public icon = '';\r\n @Input() public suffixIcon = '';\r\n @Input() public selected = false;\r\n @Input() public btnClass = '';\r\n\r\n @Output() public onClick = new EventEmitter<boolean>();\r\n\r\n public click(): void {\r\n if (!this.btnDisabled) {\r\n this.onClick.emit(true);\r\n }\r\n }\r\n\r\n}\r\n","<default-button btnClass=\"apipass-btn-tertiary {{btnClass}}\" [selected]=\"selected\" [btnIcon]=\"icon\" [suffixIcon]=\"suffixIcon\" [btnText]=\"label\"\r\n (click)=\"click()\" [btnDisabled]=btnDisabled></default-button>\r\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'tab-button',\r\n templateUrl: 'tab-button.component.html',\r\n styleUrls: ['tab-button.component.scss']\r\n})\r\nexport class TabButtonComponent {\r\n\r\n @Input() public btnText = '';\r\n @Input() public btnIcon = '';\r\n @Input() public suffixIcon = '';\r\n @Input() public btnDisabled = false;\r\n @Input() public btnClass = '';\r\n @Input() public selected = false;\r\n\r\n @Output() public onClick = new EventEmitter<boolean>();\r\n\r\n public click(): void {\r\n if (!this.btnDisabled) {\r\n this.onClick.emit(true);\r\n }\r\n }\r\n\r\n getClass(): any {\r\n const classValues: any = {};\r\n classValues[this.btnClass] = true;\r\n if (this.selected) {\r\n classValues['selected-tab'] = true;\r\n }\r\n return classValues;\r\n }\r\n\r\n}\r\n","<button class=\"apipass-tab-button\" [ngClass]=\"getClass()\" *ngIf=\"btnIcon || suffixIcon\" mat-icon-button (click)=\"click()\" [disabled]=\"btnDisabled\">\r\n <mat-icon [ngClass]=\"{'apipass-btn-icon-text' : btnText}\" *ngIf=\"btnIcon\">{{btnIcon}}</mat-icon>\r\n <span class=\"button-text\" *ngIf=\"btnText\">{{btnText}}</span>\r\n <mat-icon [ngClass]=\"{'apipass-btn-icon-text-suffix' : btnText}\" *ngIf=\"suffixIcon\">{{suffixIcon}}</mat-icon>\r\n</button>\r\n\r\n<button class=\"apipass-tab-button\" [ngClass]=\"getClass()\" *ngIf=\"!btnIcon && !suffixIcon\" (click)=\"click()\" [disabled]=\"btnDisabled\">\r\n <span class=\"button-text\" *ngIf=\"btnText\">{{btnText}}</span>\r\n</button>\r\n","import {NgModule} from '@angular/core';\r\nimport {CommonModule} from '@angular/common';\r\nimport {MatIconModule} from '@angular/material/icon';\r\nimport {MatTooltipModule} from '@angular/material/tooltip';\r\nimport {DefaultButtonComponent} from './default-button/default-button.component';\r\nimport {PrimaryButtonComponent} from './primary-button/primary-button.component';\r\nimport {SecondaryButtonComponent} from './secondary-button/secondary-button.component';\r\nimport {OutlineButtonComponent} from './outline-button/outline-button.component';\r\nimport {TertiaryButtonComponent} from './tertiary-button/tertiary-button.component';\r\nimport {TabButtonComponent} from './tab-button/tab-button.component';\r\nimport {MatButtonModule} from '@angular/material/button';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatIconModule,\r\n MatTooltipModule,\r\n MatButtonModule,\r\n ],\r\n declarations: [\r\n DefaultButtonComponent,\r\n PrimaryButtonComponent,\r\n SecondaryButtonComponent,\r\n OutlineButtonComponent,\r\n TertiaryButtonComponent,\r\n TabButtonComponent\r\n ],\r\n exports: [\r\n DefaultButtonComponent,\r\n PrimaryButtonComponent,\r\n SecondaryButtonComponent,\r\n OutlineButtonComponent,\r\n TertiaryButtonComponent,\r\n TabButtonComponent\r\n ],\r\n providers: []\r\n})\r\nexport class ButtonsModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.DefaultButtonComponent"],"mappings":";;;;;;;;;;MAOa,sBAAsB,CAAA;AALnC,IAAA,WAAA,GAAA;QAOkB,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;QACb,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;QACb,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;QAChB,IAAQ,CAAA,QAAA,GAAG,EAAE,CAAC;QACd,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAEhB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,YAAY,EAAW,CAAC;AAiBxD,KAAA;IAfQ,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;AACrB,YAAA,IAAI,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D,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,sBAAsB;wBACtB,wBAAwB;wBACxB,sBAAsB;wBACtB,uBAAuB;wBACvB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACpCD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@apipass/buttons" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@apipass/buttons" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OutlineButtonComponent {
|
|
4
|
-
label: string;
|
|
5
|
-
btnDisabled: boolean;
|
|
6
|
-
icon: string;
|
|
7
|
-
suffixIcon: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
btnClass: string;
|
|
10
|
-
onClick: EventEmitter<boolean>;
|
|
11
|
-
click(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵcmp: i0.ɵɵ
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OutlineButtonComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
btnDisabled: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
suffixIcon: string;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
btnClass: string;
|
|
10
|
+
onClick: EventEmitter<boolean>;
|
|
11
|
+
click(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OutlineButtonComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OutlineButtonComponent, "outline-button", never, { "label": "label"; "btnDisabled": "btnDisabled"; "icon": "icon"; "suffixIcon": "suffixIcon"; "selected": "selected"; "btnClass": "btnClass"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apipass/buttons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/animations": "
|
|
6
|
-
"@angular/cdk": "
|
|
7
|
-
"@angular/common": "
|
|
8
|
-
"@angular/core": "
|
|
9
|
-
"@angular/forms": "
|
|
10
|
-
"@angular/material": "
|
|
5
|
+
"@angular/animations": "15.0.3",
|
|
6
|
+
"@angular/cdk": "15.0.3",
|
|
7
|
+
"@angular/common": "15.0.3",
|
|
8
|
+
"@angular/core": "15.0.3",
|
|
9
|
+
"@angular/forms": "15.0.3",
|
|
10
|
+
"@angular/material": "15.0.3"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"tslib": "2.
|
|
13
|
+
"tslib": "2.5.0"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"fesm2015": "fesm2015/apipass-buttons.
|
|
20
|
-
"typings": "
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
"module": "fesm2015/apipass-buttons.mjs",
|
|
16
|
+
"es2020": "fesm2020/apipass-buttons.mjs",
|
|
17
|
+
"esm2020": "esm2020/apipass-buttons.mjs",
|
|
18
|
+
"fesm2020": "fesm2020/apipass-buttons.mjs",
|
|
19
|
+
"fesm2015": "fesm2015/apipass-buttons.mjs",
|
|
20
|
+
"typings": "index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
"./package.json": {
|
|
23
|
+
"default": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./index.d.ts",
|
|
27
|
+
"esm2020": "./esm2020/apipass-buttons.mjs",
|
|
28
|
+
"es2020": "./fesm2020/apipass-buttons.mjs",
|
|
29
|
+
"es2015": "./fesm2015/apipass-buttons.mjs",
|
|
30
|
+
"node": "./fesm2015/apipass-buttons.mjs",
|
|
31
|
+
"default": "./fesm2020/apipass-buttons.mjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"sideEffects": false
|
|
35
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PrimaryButtonComponent {
|
|
4
|
-
label: string;
|
|
5
|
-
btnDisabled: boolean;
|
|
6
|
-
icon: string;
|
|
7
|
-
suffixIcon: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
btnClass: string;
|
|
10
|
-
onClick: EventEmitter<boolean>;
|
|
11
|
-
click(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵcmp: i0.ɵɵ
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PrimaryButtonComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
btnDisabled: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
suffixIcon: string;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
btnClass: string;
|
|
10
|
+
onClick: EventEmitter<boolean>;
|
|
11
|
+
click(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrimaryButtonComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrimaryButtonComponent, "primary-button", never, { "label": "label"; "btnDisabled": "btnDisabled"; "icon": "icon"; "suffixIcon": "suffixIcon"; "selected": "selected"; "btnClass": "btnClass"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
14
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './buttons.module';
|
|
2
|
-
export * from './default-button/default-button.component';
|
|
3
|
-
export * from './outline-button/outline-button.component';
|
|
4
|
-
export * from './primary-button/primary-button.component';
|
|
5
|
-
export * from './secondary-button/secondary-button.component';
|
|
6
|
-
export * from './tertiary-button/tertiary-button.component';
|
|
7
|
-
export * from './tab-button/tab-button.component';
|
|
1
|
+
export * from './buttons.module';
|
|
2
|
+
export * from './default-button/default-button.component';
|
|
3
|
+
export * from './outline-button/outline-button.component';
|
|
4
|
+
export * from './primary-button/primary-button.component';
|
|
5
|
+
export * from './secondary-button/secondary-button.component';
|
|
6
|
+
export * from './tertiary-button/tertiary-button.component';
|
|
7
|
+
export * from './tab-button/tab-button.component';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SecondaryButtonComponent {
|
|
4
|
-
label: string;
|
|
5
|
-
btnDisabled: boolean;
|
|
6
|
-
icon: string;
|
|
7
|
-
suffixIcon: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
btnClass: string;
|
|
10
|
-
onClick: EventEmitter<boolean>;
|
|
11
|
-
click(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵcmp: i0.ɵɵ
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SecondaryButtonComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
btnDisabled: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
suffixIcon: string;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
btnClass: string;
|
|
10
|
+
onClick: EventEmitter<boolean>;
|
|
11
|
+
click(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SecondaryButtonComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SecondaryButtonComponent, "secondary-button", never, { "label": "label"; "btnDisabled": "btnDisabled"; "icon": "icon"; "suffixIcon": "suffixIcon"; "selected": "selected"; "btnClass": "btnClass"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TabButtonComponent {
|
|
4
|
-
btnText: string;
|
|
5
|
-
btnIcon: string;
|
|
6
|
-
suffixIcon: string;
|
|
7
|
-
btnDisabled: boolean;
|
|
8
|
-
btnClass: string;
|
|
9
|
-
selected: boolean;
|
|
10
|
-
onClick: EventEmitter<boolean>;
|
|
11
|
-
click(): void;
|
|
12
|
-
getClass(): any;
|
|
13
|
-
static ɵfac: i0.ɵɵ
|
|
14
|
-
static ɵcmp: i0.ɵɵ
|
|
15
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabButtonComponent {
|
|
4
|
+
btnText: string;
|
|
5
|
+
btnIcon: string;
|
|
6
|
+
suffixIcon: string;
|
|
7
|
+
btnDisabled: boolean;
|
|
8
|
+
btnClass: string;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
onClick: EventEmitter<boolean>;
|
|
11
|
+
click(): void;
|
|
12
|
+
getClass(): any;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabButtonComponent, "tab-button", never, { "btnText": "btnText"; "btnIcon": "btnIcon"; "suffixIcon": "suffixIcon"; "btnDisabled": "btnDisabled"; "btnClass": "btnClass"; "selected": "selected"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TertiaryButtonComponent {
|
|
4
|
-
label: string;
|
|
5
|
-
btnDisabled: boolean;
|
|
6
|
-
icon: string;
|
|
7
|
-
suffixIcon: string;
|
|
8
|
-
selected: boolean;
|
|
9
|
-
btnClass: string;
|
|
10
|
-
onClick: EventEmitter<boolean>;
|
|
11
|
-
click(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵcmp: i0.ɵɵ
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TertiaryButtonComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
btnDisabled: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
suffixIcon: string;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
btnClass: string;
|
|
10
|
+
onClick: EventEmitter<boolean>;
|
|
11
|
+
click(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TertiaryButtonComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TertiaryButtonComponent, "tertiary-button", never, { "label": "label"; "btnDisabled": "btnDisabled"; "icon": "icon"; "suffixIcon": "suffixIcon"; "selected": "selected"; "btnClass": "btnClass"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
14
|
+
}
|
package/assets/css/inputs.scss
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
@import "colors";
|
|
2
|
-
@import "fonts";
|
|
3
|
-
@import "spacing";
|
|
4
|
-
|
|
5
|
-
/* Default Inputs */
|
|
6
|
-
.mat-input-underline, .mat-form-field-underline {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.mat-form-field-appearance-fill .mat-form-field-flex {
|
|
11
|
-
display: flex!important;
|
|
12
|
-
align-items: center!important;
|
|
13
|
-
border: 1px solid var(--color-inputs-border) !important;
|
|
14
|
-
background: var(--color-inputs-background) !important;
|
|
15
|
-
border-radius: 6px !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.mat-form-field-infix {
|
|
19
|
-
padding: 0 !important;
|
|
20
|
-
display: flex!important;
|
|
21
|
-
align-items: center!important;
|
|
22
|
-
border-top: none!important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.mat-select-arrow-wrapper {
|
|
26
|
-
display: flex!important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.mat-icon-button {
|
|
30
|
-
width: auto!important;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.no-border {
|
|
34
|
-
.mat-form-field-flex {
|
|
35
|
-
border: none !important;
|
|
36
|
-
input {
|
|
37
|
-
padding: 1px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mat-form-field-label-wrapper {
|
|
43
|
-
top: -10px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mat-form-field-should-float .mat-form-field-label-wrapper {
|
|
47
|
-
font-size: $base-font-size;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.placeholder-primary {
|
|
51
|
-
.mat-form-field-label-wrapper {
|
|
52
|
-
color: var(--color-primary) !important;
|
|
53
|
-
label {
|
|
54
|
-
color: var(--color-primary) !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
58
|
-
color: var(--color-primary) !important;
|
|
59
|
-
}
|
|
60
|
-
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
61
|
-
color: var(--color-primary) !important;
|
|
62
|
-
}
|
|
63
|
-
input {
|
|
64
|
-
::-webkit-input-placeholder { /* Edge */
|
|
65
|
-
color: var(--color-primary) !important;
|
|
66
|
-
}
|
|
67
|
-
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
68
|
-
color: var(--color-primary) !important;
|
|
69
|
-
}
|
|
70
|
-
::placeholder {
|
|
71
|
-
color: var(--color-primary) !important;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.placeholder-bold {
|
|
77
|
-
.mat-form-field-label-wrapper {
|
|
78
|
-
font-weight: bold !important;
|
|
79
|
-
label {
|
|
80
|
-
font-weight: bold !important;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
84
|
-
font-weight: bold !important;
|
|
85
|
-
}
|
|
86
|
-
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
87
|
-
font-weight: bold !important;
|
|
88
|
-
}
|
|
89
|
-
input {
|
|
90
|
-
::-webkit-input-placeholder { /* Edge */
|
|
91
|
-
font-weight: bold !important;
|
|
92
|
-
}
|
|
93
|
-
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
94
|
-
font-weight: bold !important;
|
|
95
|
-
}
|
|
96
|
-
::placeholder {
|
|
97
|
-
font-weight: bold !important;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* Inputs */
|
|
103
|
-
.apipass-input-text {
|
|
104
|
-
width: 100%;
|
|
105
|
-
.mat-form-field-flex {
|
|
106
|
-
padding: $spacing-input-top $spacing-input-right $spacing-input-bottom $spacing-input-left !important;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.apipass-input-text,
|
|
111
|
-
.apipass-search-input-text,
|
|
112
|
-
.custom-select-component,
|
|
113
|
-
.apipass-select,
|
|
114
|
-
.apipass-date-filter {
|
|
115
|
-
|
|
116
|
-
.mat-form-field-wrapper {
|
|
117
|
-
padding: 0 !important;
|
|
118
|
-
}
|
|
119
|
-
.mat-icon-button {
|
|
120
|
-
width: auto!important;
|
|
121
|
-
height: auto!important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&.label-input {
|
|
125
|
-
.mat-form-field-label-wrapper {
|
|
126
|
-
padding-top: 0;
|
|
127
|
-
top: auto !important;
|
|
128
|
-
}
|
|
129
|
-
input {
|
|
130
|
-
padding-top: 10px !important;
|
|
131
|
-
padding-bottom: 5px !important;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
&.mat-form-field-should-float {
|
|
135
|
-
.mat-form-field-label-wrapper {
|
|
136
|
-
padding-top: 0 !important;
|
|
137
|
-
margin-top: -10px !important;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.apipass-search-input-text {
|
|
145
|
-
width: 100%;
|
|
146
|
-
|
|
147
|
-
&.small-text {
|
|
148
|
-
font-size: $base-font-size - 2px;
|
|
149
|
-
}
|
|
150
|
-
.mat-form-field-flex {
|
|
151
|
-
padding: 2px 5px 2px 2px !important;
|
|
152
|
-
border-top: none !important;
|
|
153
|
-
border-left: none !important;
|
|
154
|
-
border-right: none !important;
|
|
155
|
-
border-radius: 0 !important;
|
|
156
|
-
}
|
|
157
|
-
.search-icon {
|
|
158
|
-
margin-top: -5px !important;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.custom-select-component {
|
|
164
|
-
width: 100%;
|
|
165
|
-
.mat-form-field-flex {
|
|
166
|
-
padding: 1px $spacing-input-right 1px $spacing-input-left !important;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.apipass-select {
|
|
171
|
-
width: 100%;
|
|
172
|
-
.mat-form-field-flex {
|
|
173
|
-
padding: $spacing-select-top $spacing-select-right $spacing-select-bottom $spacing-select-left !important;
|
|
174
|
-
}
|
|
175
|
-
&.label-input {
|
|
176
|
-
.mat-form-field-infix {
|
|
177
|
-
padding-top: 7px !important;
|
|
178
|
-
padding-bottom: 7px !important;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.apipass-date-filter {
|
|
184
|
-
width: 100%;
|
|
185
|
-
.mat-form-field-flex {
|
|
186
|
-
padding: $spacing-date-filter-top $spacing-date-filter-right $spacing-date-filter-bottom $spacing-date-filter-left !important;
|
|
187
|
-
}
|
|
188
|
-
.mat-form-field-suffix {
|
|
189
|
-
span {
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
color: #777;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
.mat-form-field-wrapper {
|
|
195
|
-
padding-bottom: 0 !important;
|
|
196
|
-
}
|
|
197
|
-
}
|