@energycap/components 0.46.1 → 0.46.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.
package/package.json
CHANGED
|
@@ -545,6 +545,7 @@ $checkbox-indicator-size: $form-control-icon-size;
|
|
|
545
545
|
cursor: pointer;
|
|
546
546
|
display: flex;
|
|
547
547
|
flex: 1 1 0%;
|
|
548
|
+
gap: 0.25rem;
|
|
548
549
|
justify-content: center;
|
|
549
550
|
line-height: 1.1em;
|
|
550
551
|
margin-bottom: 0;
|
|
@@ -557,6 +558,10 @@ $checkbox-indicator-size: $form-control-icon-size;
|
|
|
557
558
|
.ec-icon {
|
|
558
559
|
color: inherit;
|
|
559
560
|
}
|
|
561
|
+
|
|
562
|
+
&.is-selected {
|
|
563
|
+
color: var(--ec-color-interactive);
|
|
564
|
+
}
|
|
560
565
|
}
|
|
561
566
|
|
|
562
567
|
a {
|
|
@@ -1,34 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@keyframes sk-bouncedelay {
|
|
5
|
-
0%, 80%, 100% {
|
|
6
|
-
opacity: 0;
|
|
7
|
-
} 40% {
|
|
8
|
-
opacity: 1;
|
|
9
|
-
}
|
|
1
|
+
@keyframes bblFadInOut {
|
|
2
|
+
0%, 80%, 100% { transform: scale(0); }
|
|
3
|
+
40% { transform: scale(1); }
|
|
10
4
|
}
|
|
11
5
|
|
|
12
|
-
@mixin spinner-dot($dot-size: .
|
|
6
|
+
@mixin spinner-dot($dot-size: 17.5px) {
|
|
13
7
|
width: $dot-size;
|
|
14
8
|
height: $dot-size;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
&:nth-child(1) {
|
|
20
|
-
animation-delay: -0.60s;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:nth-child(2) {
|
|
24
|
-
animation-delay: -0.40s;
|
|
25
|
-
}
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
background-color: var(--ec-spinner-color, var(--ec-color-brand-black));
|
|
11
|
+
animation: bblFadInOut 1.8s infinite ease-in-out both;
|
|
12
|
+
flex-shrink: 0;
|
|
26
13
|
|
|
27
|
-
&:nth-child(
|
|
28
|
-
|
|
29
|
-
}
|
|
14
|
+
&:nth-child(1) { animation-delay: -0.32s; }
|
|
15
|
+
&:nth-child(2) { animation-delay: -0.16s; }
|
|
16
|
+
&:nth-child(3) { animation-delay: 0s; }
|
|
30
17
|
}
|
|
31
18
|
|
|
32
|
-
@mixin spinner {
|
|
19
|
+
@mixin spinner($dot-size: 17.5px) {
|
|
33
20
|
display: flex;
|
|
21
|
+
gap: calc(#{$dot-size} / 2.5);
|
|
22
|
+
align-items: center;
|
|
34
23
|
}
|
|
@@ -3361,6 +3361,12 @@ declare class RadioButtonComponent extends FormControlBase implements AfterViewI
|
|
|
3361
3361
|
* @default 'row'
|
|
3362
3362
|
*/
|
|
3363
3363
|
direction?: RadioButtonDirection;
|
|
3364
|
+
/**
|
|
3365
|
+
* When true, only icons are displayed in toggle options — labels are hidden even if present on the option.
|
|
3366
|
+
* Only applies when type is 'toggle'.
|
|
3367
|
+
* @default false
|
|
3368
|
+
*/
|
|
3369
|
+
iconOnly: boolean;
|
|
3364
3370
|
/**
|
|
3365
3371
|
* The name of the radio input element used to group radio elements
|
|
3366
3372
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
|
|
@@ -3380,7 +3386,7 @@ declare class RadioButtonComponent extends FormControlBase implements AfterViewI
|
|
|
3380
3386
|
ngOnInit(): void;
|
|
3381
3387
|
ngAfterViewInit(): void;
|
|
3382
3388
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
3383
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ec-radiobutton", never, { "type": { "alias": "type"; "required": false; }; "options": { "alias": "options"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
3389
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ec-radiobutton", never, { "type": { "alias": "type"; "required": false; }; "options": { "alias": "options"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
3384
3390
|
}
|
|
3385
3391
|
|
|
3386
3392
|
interface ClickableElement {
|