@allsorter/ui-components 0.0.406 → 0.0.410

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.
Files changed (26) hide show
  1. package/fesm2022/allsorter-ui-components.mjs +187 -61
  2. package/fesm2022/allsorter-ui-components.mjs.map +1 -1
  3. package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +6 -1
  4. package/lib/loader/loader.component.d.ts +7 -2
  5. package/lib/newresumeheader/newresumeheader.component.d.ts +3 -1
  6. package/lib/toggle-buttons/toggle-buttons.component.d.ts +2 -0
  7. package/lib/utils/animations.d.ts +22 -0
  8. package/package.json +1 -1
  9. package/src/lib/button/button.component.scss +1 -0
  10. package/src/lib/candidate-section/candidate-section.component.html +13 -17
  11. package/src/lib/candidate-section/candidate-section.component.scss +1 -0
  12. package/src/lib/custom-editor/custom-editor.component.scss +1 -1
  13. package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +0 -7
  14. package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +43 -5
  15. package/src/lib/field-placeholder/field-placeholder.component.scss +4 -5
  16. package/src/lib/input/input.component.scss +2 -0
  17. package/src/lib/loader/loader.component.html +5 -5
  18. package/src/lib/loader/loader.component.scss +36 -13
  19. package/src/lib/newresumeheader/newresumeheader.component.html +5 -3
  20. package/src/lib/newresumeheader/newresumeheader.component.scss +6 -1
  21. package/src/lib/resume-entries/resume-entries.component.html +4 -1
  22. package/src/lib/resume-entries/resume-entries.component.scss +19 -11
  23. package/src/lib/tabs/tabs.component.html +1 -1
  24. package/src/lib/tabs/tabs.component.scss +7 -0
  25. package/src/lib/toggle-buttons/toggle-buttons.component.html +4 -2
  26. package/src/lib/toggle-buttons/toggle-buttons.component.scss +16 -0
@@ -68,6 +68,13 @@
68
68
  }
69
69
  }
70
70
 
71
+ // Icon size - 20x20px for all icons
72
+ .mat-mdc-tab .mat-icon {
73
+ width: 20px !important;
74
+ height: 20px !important;
75
+ font-size: 20px !important;
76
+ }
77
+
71
78
  // Medium size (36px height) - default
72
79
  &.tabs-medium .mat-mdc-tab-header {
73
80
  height: 36px;
@@ -2,11 +2,13 @@
2
2
  (change)="onSelectionChange($event.value)" [ngClass]="[getSizeClass(), vertical ? 'al-toggle-vertical' : '']">
3
3
 
4
4
  <mat-button-toggle *ngFor="let button of buttons" [value]="button.id" [disabled]="button.disabled"
5
- [attr.aria-label]="button.label" [style.display]="'inline-flex'" [style.align-items]="'center'"
5
+ [attr.aria-label]="button.label" [matTooltip]="button.tooltip" [style.display]="'inline-flex'" [style.align-items]="'center'"
6
6
  [style.gap.px]="computeGap(button)" [attr.data-testid]="button.dataTestId || dataTestId">
7
7
 
8
8
  <!-- Icon (shown based on type) -->
9
- <mat-icon *ngIf="(type === 'default' || type === 'icon-only') && button.icon?.trim()" class="button-icon">{{
9
+ <mat-icon *ngIf="(type === 'default' || type === 'icon-only') && button.icon?.trim()"
10
+ [fontSet]="button.fontSet || 'material-icons'"
11
+ class="button-icon">{{
10
12
  button.icon }}</mat-icon>
11
13
 
12
14
  <!-- Label (shown based on type) -->
@@ -3,6 +3,7 @@
3
3
  ============================================ */
4
4
 
5
5
  @import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
6
+ @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
6
7
  @import '../styles/colors.scss';
7
8
  @import '../styles/typography-classes.scss';
8
9
 
@@ -282,3 +283,18 @@ mat-button-toggle:focus-visible {
282
283
  outline: 2px solid $color-blue-500;
283
284
  outline-offset: 2px;
284
285
  }
286
+
287
+ /* ============================================
288
+ MATERIAL SYMBOLS OUTLINED SUPPORT
289
+ ============================================ */
290
+
291
+ /* Material Symbols Outlined font family */
292
+ ::ng-deep .material-symbols-outlined {
293
+ font-family: 'Material Symbols Outlined';
294
+ font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
295
+ }
296
+
297
+ mat-button-toggle .mat-icon.material-symbols-outlined {
298
+ font-family: 'Material Symbols Outlined' !important;
299
+ font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
300
+ }