@evotor-dev/ui-kit 6.7.0 → 6.7.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/bundles/evotor-dev-ui-kit.umd.js +11 -6
- package/bundles/evotor-dev-ui-kit.umd.js.map +1 -1
- package/esm2015/lib/components/evo-button/components/evo-button/evo-button.component.js +1 -1
- package/esm2015/lib/components/evo-checkbox/evo-checkbox.component.js +9 -5
- package/esm2015/lib/components/evo-input/evo-input.component.js +3 -2
- package/fesm2015/evotor-dev-ui-kit.js +11 -6
- package/fesm2015/evotor-dev-ui-kit.js.map +1 -1
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +4 -1
- package/package.json +1 -1
- package/styles/mixins/_evo-text-button-mixin.scss +24 -0
- package/styles/mixins.scss +1 -0
- package/styles/partials/_typography.scss +14 -0
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class EvoCheckboxComponent extends EvoBaseControl implements ControlValueAccessor {
|
|
6
|
+
protected injector: Injector;
|
|
7
|
+
private cdr;
|
|
6
8
|
set setIndeterminate(value: any);
|
|
7
9
|
indeterminateChange: EventEmitter<boolean>;
|
|
8
10
|
inputElement: ElementRef;
|
|
9
11
|
indeterminate: any;
|
|
10
12
|
disabled: boolean;
|
|
11
13
|
private _value;
|
|
14
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
12
15
|
onChange(_: any): void;
|
|
13
16
|
onTouched(): void;
|
|
14
17
|
get value(): boolean;
|
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
|
|
3
|
+
$evo-text-button-styles: b1, b2, b3;
|
|
4
|
+
|
|
5
|
+
@mixin evo-text-button($style) {
|
|
6
|
+
@if not list.index($evo-text-button-styles, $style) {
|
|
7
|
+
@error "#{$style} is not a valid button style. Use one of #{$evo-text-button-styles}";
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
font-family: var(--evo-font-secondary);
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
|
|
14
|
+
@if $style == b1 {
|
|
15
|
+
font-size: 18px;
|
|
16
|
+
line-height: 20px;
|
|
17
|
+
} @else if $style == b2 {
|
|
18
|
+
font-size: 16px;
|
|
19
|
+
line-height: 20px;
|
|
20
|
+
} @else if $style == b3 {
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
line-height: 20px;
|
|
23
|
+
}
|
|
24
|
+
}
|
package/styles/mixins.scss
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@import 'variables.scss';
|
|
2
2
|
@import './mixins/media-mixins';
|
|
3
3
|
@import './mixins/evo-input-mixins';
|
|
4
|
+
@import './mixins/evo-text-button-mixin';
|
|
4
5
|
@import './mixins/evo-text-caption-mixin';
|
|
5
6
|
@import './mixins/evo-text-header-mixin';
|
|
6
7
|
@import './mixins/evo-text-mobile-header-mixin';
|
|
@@ -119,3 +119,17 @@
|
|
|
119
119
|
.evo-text-tips {
|
|
120
120
|
@include evo-text-tips;
|
|
121
121
|
}
|
|
122
|
+
|
|
123
|
+
.evo-text-button {
|
|
124
|
+
&_b1 {
|
|
125
|
+
@include evo-text-button(b1);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&_b2 {
|
|
129
|
+
@include evo-text-button(b2);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&_b3 {
|
|
133
|
+
@include evo-text-button(b3);
|
|
134
|
+
}
|
|
135
|
+
}
|