i-tech-shared-components 1.4.97 → 1.4.98

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.
@@ -10,7 +10,7 @@ export declare class LabelComponent {
10
10
  selected: boolean;
11
11
  dashed: boolean;
12
12
  tooltip?: string;
13
- size: 'small' | 'standard';
13
+ size: 'extraSmall' | 'small' | 'standard';
14
14
  iconName?: string;
15
15
  iconSvg: string;
16
16
  prefixIconName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i-tech-shared-components",
3
- "version": "1.4.97",
3
+ "version": "1.4.98",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^19.0.0",
6
6
  "@angular/cdk": "^19.0.0",
@@ -83,10 +83,11 @@ body {
83
83
  .mat-mdc-icon-button.tonal {
84
84
  --mat-icon-button-state-layer-color: #{mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 60)};
85
85
 
86
+ // Tonal icons use the quiet text color (same as form labels and hints)
86
87
  mat-icon {
87
- color: mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 30);
88
+ color: var(--quiet-text, #647081);
88
89
  & svg path {
89
- fill: mat.get-theme-color(color-themes.$m3-light-theme, tertiary, 30);
90
+ fill: var(--quiet-text, #647081);
90
91
  }
91
92
  }
92
93
  }
package/theme/_label.scss CHANGED
@@ -244,6 +244,27 @@ body {
244
244
  --mdc-chip-container-height: 28px !important;
245
245
  }
246
246
 
247
+ // Figma "Mini Chip" (Profiles 2250:22243): 20px high, 4px side padding; text style is the chip default
248
+ .mat-mdc-chip.extra-small {
249
+ --mdc-chip-container-height: 20px !important;
250
+ height: 20px;
251
+
252
+ .mdc-evolution-chip__action--primary {
253
+ padding-left: 4px;
254
+ padding-right: 4px;
255
+ }
256
+
257
+ mat-icon {
258
+ width: 14px;
259
+ height: 14px;
260
+ font-size: 14px;
261
+ }
262
+ }
263
+
264
+ i-tech-label:has(.extra-small) {
265
+ height: 20px;
266
+ }
267
+
247
268
  .table_row_item {
248
269
  display: flex;
249
270
  align-items: center;