@energycap/components 0.45.2-multi-select-component.20260304-1408 → 0.45.2-multi-select-component.20260304-1526
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/energycap-components.min.css +1 -1
- package/fesm2022/energycap-components.mjs +12 -6
- package/fesm2022/energycap-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/components/_tag.scss +4 -0
- package/src/styles/mixins/_tags-base.scss +7 -3
- package/types/energycap-components.d.ts +6 -2
package/package.json
CHANGED
|
@@ -105,12 +105,16 @@ $tag-colors: (
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
@mixin tag-subtle {
|
|
109
|
+
border-radius: var(--ec-border-radius);
|
|
110
|
+
border-width: 1px;
|
|
111
|
+
}
|
|
112
|
+
|
|
108
113
|
@mixin tag-condensed {
|
|
109
114
|
@include text-caption-2;
|
|
115
|
+
@include tag-subtle;
|
|
110
116
|
--ec-tag-padding-x: 0.25rem;
|
|
111
|
-
|
|
112
|
-
border-radius: var(--ec-border-radius);
|
|
113
|
-
border-width: 1px;
|
|
117
|
+
|
|
114
118
|
height: 1.125rem;
|
|
115
119
|
line-height: 1rem;
|
|
116
120
|
min-width: 1.125rem;
|
|
@@ -3883,9 +3883,13 @@ declare class TagsComponent implements OnChanges {
|
|
|
3883
3883
|
*/
|
|
3884
3884
|
wrap: boolean;
|
|
3885
3885
|
/**
|
|
3886
|
-
* Displays the tags in condensed mode
|
|
3886
|
+
* Displays the tags in condensed mode. Compact plus smaller font size and padding. This is useful for displaying tags in a table or other tight space.
|
|
3887
3887
|
*/
|
|
3888
3888
|
isCondensed: boolean;
|
|
3889
|
+
/**
|
|
3890
|
+
* Displays the tags with subtle styling (less rounded corners, thinner border)
|
|
3891
|
+
*/
|
|
3892
|
+
isSubtle: boolean;
|
|
3889
3893
|
/** Highlights text found in any of the tags */
|
|
3890
3894
|
highlightText: string;
|
|
3891
3895
|
/**
|
|
@@ -3910,7 +3914,7 @@ declare class TagsComponent implements OnChanges {
|
|
|
3910
3914
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3911
3915
|
closeTag(tag: Tag): void;
|
|
3912
3916
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagsComponent, never>;
|
|
3913
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "ec-tags", never, { "id": { "alias": "id"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; }, { "tagClosed": "tagClosed"; }, never, never, false, never>;
|
|
3917
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "ec-tags", never, { "id": { "alias": "id"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "isSubtle": { "alias": "isSubtle"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; }, { "tagClosed": "tagClosed"; }, never, never, false, never>;
|
|
3914
3918
|
}
|
|
3915
3919
|
|
|
3916
3920
|
declare class FormControlComponent implements OnChanges, AfterViewInit, AfterContentInit {
|