@allsorter/ui-components 0.0.367 → 0.0.370

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 (124) hide show
  1. package/fesm2022/allsorter-ui-components.mjs +2996 -1391
  2. package/fesm2022/allsorter-ui-components.mjs.map +1 -1
  3. package/images/Column left.svg +5 -0
  4. package/images/Move.svg +8 -0
  5. package/images/Success.svg +5 -0
  6. package/images/Table.svg +3 -0
  7. package/images/Vector-1.svg +3 -0
  8. package/images/Vector.svg +3 -0
  9. package/images/add-teble.svg +6 -0
  10. package/images/arrow_downward.svg +3 -0
  11. package/images/calendar_year.svg +4 -0
  12. package/images/column right.svg +5 -0
  13. package/images/delete -table.svg +6 -0
  14. package/images/delete row.svg +10 -0
  15. package/images/delete-column.svg +10 -0
  16. package/images/delete.svg +3 -0
  17. package/images/drag-drop-icon.svg +8 -0
  18. package/images/edit.svg +3 -0
  19. package/images/error.svg +5 -0
  20. package/images/row bottom.svg +5 -0
  21. package/images/row top.svg +5 -0
  22. package/images/search.svg +3 -0
  23. package/images/subrole.svg +3 -0
  24. package/images/visibility_off.svg +3 -0
  25. package/images/warning.svg +5 -0
  26. package/lib/app-toolbar/app-toolbar.component.d.ts +5 -8
  27. package/lib/app-toolbar/app-toolbar.module.d.ts +4 -4
  28. package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +3 -5
  29. package/lib/button/button.component.d.ts +30 -1
  30. package/lib/candidate-section/candidate-section.component.d.ts +8 -0
  31. package/lib/custom-editor/custom-editor.component.d.ts +110 -14
  32. package/lib/custom-editor/table/table.component.d.ts +5 -0
  33. package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +48 -0
  34. package/lib/experience-section/experience-section.component.d.ts +4 -2
  35. package/lib/general-container/general-container.component.d.ts +5 -1
  36. package/lib/icon-button/icon-button.component.d.ts +16 -7
  37. package/lib/input/input.component.d.ts +41 -10
  38. package/lib/newresumeheader/newresumeheader.component.d.ts +43 -4
  39. package/lib/resume-entries/resume-entries.component.d.ts +7 -1
  40. package/lib/resume-header/resume-header.model.d.ts +11 -20
  41. package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +17 -0
  42. package/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.d.ts +34 -0
  43. package/lib/side-action-bar-wrapper/side-action-bar-wrapper.module.d.ts +12 -0
  44. package/lib/styles/border-radius.scss +11 -0
  45. package/lib/styles/button-mixins.scss +41 -0
  46. package/lib/styles/button.scss +117 -0
  47. package/lib/styles/colors.scss +221 -0
  48. package/lib/styles/elevation.scss +46 -0
  49. package/lib/styles/new-typography.scss +202 -0
  50. package/lib/styles/spacing.scss +39 -0
  51. package/lib/styles/typography-classes.scss +203 -0
  52. package/lib/utils/icon-utils.d.ts +51 -0
  53. package/lib/utils/image-utils.d.ts +54 -0
  54. package/package.json +15 -3
  55. package/public-api.d.ts +3 -3
  56. package/src/lib/ai-apply-bar/ai-apply-bar.component.html +43 -0
  57. package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +182 -0
  58. package/src/lib/app-toolbar/app-toolbar.component.html +13 -0
  59. package/src/lib/app-toolbar/app-toolbar.component.scss +141 -0
  60. package/src/lib/app-toolbar-right/app-toolbar-right.component.html +15 -0
  61. package/src/lib/app-toolbar-right/app-toolbar-right.component.scss +294 -0
  62. package/src/lib/button/button.component.html +127 -0
  63. package/src/lib/button/button.component.scss +1238 -0
  64. package/src/lib/candidate-section/candidate-section.component.html +91 -0
  65. package/src/lib/candidate-section/candidate-section.component.scss +154 -0
  66. package/src/lib/checkbox/checkbox.component.html +24 -0
  67. package/src/lib/checkbox/checkbox.component.scss +280 -0
  68. package/src/lib/custom-editor/custom-editor.component.html +129 -0
  69. package/src/lib/custom-editor/custom-editor.component.scss +441 -0
  70. package/src/lib/custom-editor/table/table.component.html +21 -0
  71. package/src/lib/date-range/date-range.component.html +33 -0
  72. package/src/lib/date-range/date-range.component.scss +284 -0
  73. package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +12 -0
  74. package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +227 -0
  75. package/src/lib/experience-section/experience-section.component.html +20 -0
  76. package/src/lib/experience-section/experience-section.component.scss +0 -0
  77. package/src/lib/field-placeholder/field-placeholder.component.html +17 -0
  78. package/src/lib/field-placeholder/field-placeholder.component.scss +119 -0
  79. package/src/lib/general-container/general-container.component.html +3 -0
  80. package/src/lib/general-container/general-container.component.scss +10 -0
  81. package/src/lib/icon-button/icon-button.component.html +12 -0
  82. package/src/lib/icon-button/icon-button.component.scss +77 -0
  83. package/src/lib/input/input.component.html +86 -0
  84. package/src/lib/input/input.component.scss +1337 -0
  85. package/src/lib/loader/loader.component.html +15 -0
  86. package/src/lib/loader/loader.component.scss +493 -0
  87. package/src/lib/new-typography/new-typography.component.html +10 -0
  88. package/src/lib/new-typography/new-typography.component.scss +200 -0
  89. package/src/lib/newresumeheader/newresumeheader.component.html +178 -0
  90. package/src/lib/newresumeheader/newresumeheader.component.scss +530 -0
  91. package/src/lib/radio/radio.component.html +23 -0
  92. package/src/lib/radio/radio.component.scss +253 -0
  93. package/src/lib/responsive-columns/responsive-columns.component.html +6 -0
  94. package/src/lib/responsive-columns/responsive-columns.component.scss +68 -0
  95. package/src/lib/responsive-layout/responsive-layout.component.html +1 -0
  96. package/src/lib/responsive-layout/responsive-layout.component.scss +47 -0
  97. package/src/lib/resume-entries/resume-entries.component.html +97 -0
  98. package/src/lib/resume-entries/resume-entries.component.scss +341 -0
  99. package/src/lib/resume-header/resume-header.component.html +167 -0
  100. package/src/lib/shared-popup-modal/shared-popup-modal.component.html +99 -0
  101. package/src/lib/shared-popup-modal/shared-popup-modal.component.scss +223 -0
  102. package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.html +17 -0
  103. package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.scss +58 -0
  104. package/src/lib/slide-toggle/slide-toggle.component.html +17 -0
  105. package/src/lib/slide-toggle/slide-toggle.component.scss +439 -0
  106. package/src/lib/storybook/testing-strip/testing-strip.component.html +12 -0
  107. package/src/lib/storybook/testing-strip/testing-strip.component.scss +1 -0
  108. package/src/lib/styles/border-radius.scss +11 -0
  109. package/src/lib/styles/button-mixins.scss +41 -0
  110. package/src/lib/styles/button.scss +117 -0
  111. package/src/lib/styles/colors.scss +221 -0
  112. package/src/lib/styles/elevation.scss +46 -0
  113. package/src/lib/styles/new-typography.scss +202 -0
  114. package/src/lib/styles/spacing.scss +39 -0
  115. package/src/lib/styles/typography-classes.scss +203 -0
  116. package/src/lib/tabs/tabs.component.html +9 -0
  117. package/src/lib/tabs/tabs.component.scss +151 -0
  118. package/src/lib/toggle-buttons/toggle-buttons.component.html +17 -0
  119. package/src/lib/toggle-buttons/toggle-buttons.component.scss +284 -0
  120. package/src/lib/tooltip/tooltip.component.html +6 -0
  121. package/src/lib/tooltip/tooltip.component.scss +8 -0
  122. package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +0 -36
  123. package/lib/resume-header/resume-header.component.d.ts +0 -69
  124. package/lib/resume-header/resume-header.module.d.ts +0 -8
@@ -0,0 +1,9 @@
1
+ <mat-tab-group [selectedIndex]="selectedIndex" [class]="'tabs-' + size" mat-align-tabs="start" headerPosition="above">
2
+ <mat-tab *ngFor="let tab of tabComponents; let i = index" [label]="tab.labelText">
3
+ <ng-container [ngTemplateOutlet]="tab.templateRef"></ng-container>
4
+ </mat-tab>
5
+ <!-- Debug info -->
6
+ <div *ngIf="!tabComponents || tabComponents.length === 0" style="padding: 20px; color: red;">
7
+ No tabs found. Tab components: {{ tabComponents?.length || 0 }}
8
+ </div>
9
+ </mat-tab-group>
@@ -0,0 +1,151 @@
1
+ @import '../styles/colors.scss';
2
+ @import '../styles/typography-classes.scss';
3
+
4
+ :host {
5
+ display: block;
6
+
7
+ ::ng-deep {
8
+ // .mat-mdc-tab-group {
9
+ // border: 2px solid $color-grey-400;
10
+ // border-radius: 8px;
11
+ // overflow: hidden;
12
+ // background-color: #fff;
13
+ // }
14
+
15
+ // Small size (32px height)
16
+ &.tabs-small .mat-mdc-tab-header {
17
+ height: 32px;
18
+ background-color: #fff;
19
+ }
20
+
21
+ &.tabs-small .mat-mdc-tab {
22
+ border: 1px solid $color-grey-200;
23
+ min-width: 130px !important;
24
+ width: auto !important;
25
+ flex: 0 0 auto !important;
26
+ padding: 0 32px !important;
27
+ height: 32px !important;
28
+ display: flex !important;
29
+ align-items: center !important;
30
+ justify-content: center !important;
31
+
32
+ &:first-child {
33
+ border-top-left-radius: 4px;
34
+ border-bottom-left-radius: 4px;
35
+ }
36
+
37
+ &:last-child {
38
+ border-top-right-radius: 4px;
39
+ border-bottom-right-radius: 4px;
40
+ }
41
+
42
+ &:not(:first-child):not(:last-child) {
43
+ border-left: none !important;
44
+ border-right: none !important;
45
+ }
46
+ }
47
+
48
+ // Medium size (36px height) - default
49
+ &.tabs-medium .mat-mdc-tab-header {
50
+ height: 36px;
51
+ background-color: #fff;
52
+ }
53
+
54
+ &.tabs-medium .mat-mdc-tab {
55
+ border: 1px solid $color-grey-200;
56
+ min-width: 130px !important;
57
+ width: auto !important;
58
+ flex: 0 0 auto !important;
59
+ padding: 0 36px !important;
60
+ height: 36px !important;
61
+ display: flex !important;
62
+ align-items: center !important;
63
+ justify-content: center !important;
64
+
65
+ &:first-child {
66
+ border-top-left-radius: 4px;
67
+ border-bottom-left-radius: 4px;
68
+ }
69
+
70
+ &:last-child {
71
+ border-top-right-radius: 4px;
72
+ border-bottom-right-radius: 4px;
73
+ }
74
+
75
+ &:not(:first-child):not(:last-child) {
76
+ border-left: none !important;
77
+ border-right: none !important;
78
+ }
79
+ }
80
+
81
+ // Large size (40px height)
82
+ &.tabs-large .mat-mdc-tab-header {
83
+ height: 40px;
84
+ background-color: #fff;
85
+ }
86
+
87
+ &.tabs-large .mat-mdc-tab {
88
+ border: 1px solid $color-grey-200;
89
+ min-width: 130px !important;
90
+ width: auto !important;
91
+ flex: 0 0 auto !important;
92
+ padding: 0 40px !important;
93
+ height: 40px !important;
94
+ display: flex !important;
95
+ align-items: center !important;
96
+ justify-content: center !important;
97
+
98
+ &:first-child {
99
+ border-top-left-radius: 4px;
100
+ border-bottom-left-radius: 4px;
101
+ }
102
+
103
+ &:last-child {
104
+ border-top-right-radius: 4px;
105
+ border-bottom-right-radius: 4px;
106
+ }
107
+
108
+ &:not(:first-child):not(:last-child) {
109
+ border-left: none !important;
110
+ border-right: none !important;
111
+ }
112
+ }
113
+
114
+ .mat-mdc-tab-body-wrapper {
115
+ padding: 16px;
116
+ min-height: 100px;
117
+ background-color: #fff;
118
+ }
119
+
120
+ .mat-mdc-tab:not(.mat-mdc-tab-disabled) {
121
+ @extend .font-label-large; // Match toggle button typography
122
+ color: $color-grey-700;
123
+
124
+ &:hover {
125
+ background-color: $color-grey-100;
126
+ }
127
+ }
128
+
129
+ .mat-mdc-tab.mat-mdc-tab-active {
130
+ background-color: #d1d3db !important;
131
+ color: #383b4a;
132
+ font-weight: 500;
133
+ }
134
+
135
+ // Override active tab background and text color with higher specificity
136
+ .mat-mdc-tab.mat-mdc-tab-active,
137
+ .mat-mdc-tab.mdc-tab--active {
138
+ background-color: #d1d3db !important;
139
+ }
140
+
141
+ .mat-mdc-tab.mat-mdc-tab-active .mdc-tab__text-label,
142
+ .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label,
143
+ .mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label {
144
+ color: #383b4a !important;
145
+ }
146
+
147
+ .mat-mdc-tab .mdc-tab-indicator {
148
+ display: none !important;
149
+ }
150
+ }
151
+ }
@@ -0,0 +1,17 @@
1
+ <mat-button-toggle-group [value]="getSelectedValue()" [disabled]="disabled" [multiple]="multiple" [vertical]="vertical"
2
+ (change)="onSelectionChange($event.value)" [ngClass]="[getSizeClass(), vertical ? 'al-toggle-vertical' : '']">
3
+
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'"
6
+ [style.gap.px]="computeGap(button)" [attr.data-testid]="button.dataTestId || dataTestId">
7
+
8
+ <!-- Icon (shown based on type) -->
9
+ <mat-icon *ngIf="(type === 'default' || type === 'icon-only') && button.icon?.trim()" class="button-icon">{{
10
+ button.icon }}</mat-icon>
11
+
12
+ <!-- Label (shown based on type) -->
13
+ <span *ngIf="(type === 'default' || type === 'text-only') && button.label?.trim()" class="button-label">{{
14
+ button.label }}</span>
15
+ </mat-button-toggle>
16
+
17
+ </mat-button-toggle-group>
@@ -0,0 +1,284 @@
1
+ /* ============================================
2
+ TOGGLE BUTTONS COMPONENT STYLES
3
+ ============================================ */
4
+
5
+ @import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
6
+ @import '../styles/colors.scss';
7
+ @import '../styles/typography-classes.scss';
8
+
9
+ /* ============================================
10
+ BUTTON GROUP CONTAINER
11
+ ============================================ */
12
+
13
+ mat-button-toggle-group {
14
+ display: flex;
15
+ border-radius: 4px;
16
+ border: 1px solid $color-grey-400;
17
+ background: #fff;
18
+ overflow: hidden;
19
+ box-shadow: none !important;
20
+ width: fit-content;
21
+ align-items: stretch;
22
+ }
23
+
24
+ mat-button-toggle-group[vertical="true"],
25
+ mat-button-toggle-group.mat-button-toggle-group-vertical {
26
+ flex-direction: column;
27
+ }
28
+
29
+ /* ============================================
30
+ INDIVIDUAL BUTTON STYLES
31
+ ============================================ */
32
+
33
+ mat-button-toggle {
34
+ border: none;
35
+ background: transparent;
36
+ cursor: pointer;
37
+ transition: all 0.2s ease;
38
+ position: relative;
39
+ flex: 0 0 auto;
40
+ width: fit-content;
41
+ min-width: fit-content;
42
+ border-radius: 0;
43
+ color: $color-grey-500;
44
+ font-family: var(--Body-Medium-Font, Roboto);
45
+ font-size: 14px;
46
+ font-style: normal;
47
+ font-weight: 400;
48
+ line-height: 20px;
49
+ letter-spacing: 0.25px;
50
+ }
51
+
52
+ /* ============================================
53
+ BUTTON STATES
54
+ ============================================ */
55
+
56
+ mat-button-toggle:hover:not(.mat-button-toggle-disabled) {
57
+ background-color: $color-grey-100;
58
+ }
59
+
60
+ mat-button-toggle.mat-button-toggle-checked,
61
+ mat-button-toggle[aria-pressed="true"],
62
+ mat-button-toggle.mat-button-toggle-checked:hover {
63
+ background-color: $color-grey-100 !important;
64
+ color: $color-grey-700 !important;
65
+ font-weight: 400;
66
+ }
67
+
68
+ /* Ensure active state colors for all sizes */
69
+ .al-toggle-buttons-size-sm mat-button-toggle.mat-button-toggle-checked,
70
+ .al-toggle-buttons-size-md mat-button-toggle.mat-button-toggle-checked,
71
+ .al-toggle-buttons-size-lg mat-button-toggle.mat-button-toggle-checked {
72
+ background-color: $color-grey-100 !important;
73
+ color: $color-grey-700 !important;
74
+ }
75
+
76
+ mat-button-toggle.mat-button-toggle-disabled {
77
+ opacity: 0.5;
78
+ cursor: not-allowed;
79
+ color: $color-grey-500;
80
+ }
81
+
82
+ /* ============================================
83
+ BUTTON ELEMENTS
84
+ ============================================ */
85
+
86
+ .button-icon {
87
+ font-size: 14px;
88
+ line-height: 1;
89
+ margin-right: 8px;
90
+ }
91
+
92
+ mat-button-toggle .mat-icon {
93
+ font-size: 14px;
94
+ width: 14px;
95
+ height: 14px;
96
+ }
97
+
98
+ .button-label {
99
+ @extend .font-label-large;
100
+ color: $color-grey-700;
101
+ white-space: nowrap;
102
+ line-height: 19px;
103
+ }
104
+
105
+ mat-button-toggle.mat-button-toggle-checked .button-label {
106
+ color: $color-grey-700 !important;
107
+ font-weight: 400;
108
+ }
109
+
110
+ /* ============================================
111
+ ICON-ONLY BUTTON STYLES
112
+ ============================================ */
113
+
114
+ ::ng-deep .al-toggle-buttons[type="icon-only"] .button-icon,
115
+ ::ng-deep mat-button-toggle:has(.button-icon):not(:has(.button-label)) .button-icon {
116
+ margin-right: 0px !important;
117
+ }
118
+
119
+ ::ng-deep mat-button-toggle:has(.button-icon):not(:has(.button-label)) .mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
120
+ display: flex !important;
121
+ align-items: center !important;
122
+ justify-content: center !important;
123
+ width: 100% !important;
124
+ height: 100% !important;
125
+ }
126
+
127
+ ::ng-deep mat-button-toggle:has(.button-icon):not(:has(.button-label)) .button-icon {
128
+ width: 100% !important;
129
+ height: 100% !important;
130
+ margin: 0 !important;
131
+ padding: 0 !important;
132
+ }
133
+
134
+ ::ng-deep mat-button-toggle:has(.button-icon):not(:has(.button-label)) .mat-icon {
135
+ width: 20px !important;
136
+ height: 20px !important;
137
+ font-size: 20px !important;
138
+ line-height: 20px !important;
139
+ }
140
+
141
+ /* ============================================
142
+ SIZE VARIATIONS
143
+ ============================================ */
144
+
145
+ .al-toggle-buttons-size-sm mat-button-toggle {
146
+ height: 32px !important;
147
+ padding: 8px 12px !important;
148
+ border: 1px solid $color-grey-400 !important;
149
+ background: #fff !important;
150
+ }
151
+
152
+ .al-toggle-buttons-size-md mat-button-toggle {
153
+ height: 36px !important;
154
+ padding: 8px 12px !important;
155
+ border: 1px solid $color-grey-400 !important;
156
+ background: #fff !important;
157
+ }
158
+
159
+ .al-toggle-buttons-size-lg mat-button-toggle {
160
+ height: 40px !important;
161
+ padding: 8px 12px !important;
162
+ border: 1px solid $color-grey-400 !important;
163
+ background: #fff !important;
164
+ }
165
+
166
+ /* Icon sizes for all variations */
167
+ .al-toggle-buttons-size-sm .button-icon,
168
+ .al-toggle-buttons-size-sm mat-button-toggle .mat-icon,
169
+ .al-toggle-buttons-size-md .button-icon,
170
+ .al-toggle-buttons-size-md mat-button-toggle .mat-icon {
171
+ font-size: 14px;
172
+ width: 14px;
173
+ height: 14px;
174
+ }
175
+
176
+ .al-toggle-buttons-size-lg .button-icon,
177
+ .al-toggle-buttons-size-lg mat-button-toggle .mat-icon {
178
+ font-size: 16px;
179
+ width: 16px;
180
+ height: 16px;
181
+ }
182
+
183
+ /* ============================================
184
+ MATERIAL DESIGN OVERRIDES
185
+ ============================================ */
186
+
187
+ /* Button group borders */
188
+ mat-button-toggle-group .mat-button-toggle {
189
+ border: none !important;
190
+ border-radius: 0 !important;
191
+ border-top: none !important;
192
+ border-bottom: none !important;
193
+ outline: none !important;
194
+ box-shadow: none !important;
195
+ }
196
+
197
+ mat-button-toggle-group .mat-button-toggle:first-child {
198
+ border-radius: 0 !important;
199
+ border-left: none !important;
200
+ }
201
+
202
+ mat-button-toggle-group .mat-button-toggle:last-child {
203
+ border-radius: 0 !important;
204
+ border-right: none !important;
205
+ }
206
+
207
+ mat-button-toggle-group .mat-button-toggle:not(:last-child) {
208
+ border-right: 1px solid $color-grey-400 !important;
209
+ }
210
+
211
+ /* ============================================
212
+ VERTICAL TOGGLE BUTTON STYLES
213
+ ============================================ */
214
+
215
+ mat-button-toggle-group.al-toggle-vertical,
216
+ mat-button-toggle-group.mat-button-toggle-group-vertical {
217
+ flex-direction: column !important;
218
+ }
219
+
220
+ mat-button-toggle-group.al-toggle-vertical .mat-button-toggle,
221
+ mat-button-toggle-group.mat-button-toggle-group-vertical .mat-button-toggle {
222
+ border-right: 0 !important;
223
+ border-bottom: 1px solid $color-grey-400 !important;
224
+ width: 100% !important;
225
+
226
+
227
+ }
228
+
229
+ mat-button-toggle-group.al-toggle-vertical .mat-button-toggle:last-child,
230
+ mat-button-toggle-group.mat-button-toggle-group-vertical .mat-button-toggle:last-child {
231
+ border-bottom: none !important;
232
+ }
233
+
234
+ /* Remove all Material styling */
235
+ mat-button-toggle-group .mat-button-toggle *,
236
+ mat-button-toggle-group .mat-button-toggle-appearance-standard,
237
+ mat-button-toggle-group .mat-button-toggle-appearance-standard .mat-button-toggle-label-content,
238
+ mat-button-toggle-group .mat-button-toggle-appearance-standard .mat-button-toggle-button,
239
+ mat-button-toggle-group .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay,
240
+ mat-button-toggle-group .mat-button-toggle-appearance-standard .mat-button-toggle-ripple {
241
+ border: none !important;
242
+ box-shadow: none !important;
243
+ padding: 0 !important;
244
+ }
245
+
246
+ mat-button-toggle-group .mat-button-toggle:focus .mat-button-toggle-focus-overlay {
247
+ display: none !important;
248
+ }
249
+
250
+ /* Hide Material check icons */
251
+ .mat-button-toggle-checked .mat-button-toggle-label-content::before,
252
+ .mat-button-toggle-checked .mat-button-toggle-label-content::after,
253
+ .mat-button-toggle-checked::before,
254
+ .mat-button-toggle-checked::after,
255
+ .mat-button-toggle-checked .mat-icon:not(.button-icon),
256
+ .mat-button-toggle-checked .material-icons:not(.button-icon) {
257
+ display: none !important;
258
+ }
259
+
260
+ .mat-button-toggle-checked .button-icon {
261
+ display: inline-flex !important;
262
+ }
263
+
264
+ .mat-button-toggle-checked .mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
265
+ background-image: none !important;
266
+ }
267
+
268
+ /* Line height and pseudo-checkbox */
269
+ ::ng-deep .mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
270
+ line-height: 20px !important;
271
+ }
272
+
273
+ ::ng-deep.mat-button-toggle .mat-pseudo-checkbox {
274
+ display: none !important;
275
+ }
276
+
277
+ /* ============================================
278
+ FOCUS STATES
279
+ ============================================ */
280
+
281
+ mat-button-toggle:focus-visible {
282
+ outline: 2px solid $color-blue-500;
283
+ outline-offset: 2px;
284
+ }
@@ -0,0 +1,6 @@
1
+ <ng-container>
2
+ <div [matTooltip]="getTooltipContent()" [matTooltipPosition]="position" [matTooltipDisabled]="disabled"
3
+ [attr.data-test-id]="dataTestId" class="al-tooltip-wrapper">
4
+ <ng-content></ng-content>
5
+ </div>
6
+ </ng-container>
@@ -0,0 +1,8 @@
1
+ .al-tooltip-wrapper {
2
+ display: inline-block;
3
+ position: relative;
4
+
5
+ &:hover {
6
+ cursor: help;
7
+ }
8
+ }
@@ -1,36 +0,0 @@
1
- import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
- import { ButtonComponent } from '../button/button.component';
3
- import * as i0 from "@angular/core";
4
- export declare class ActionBarWrapperComponent implements AfterContentInit {
5
- actionButtons: QueryList<ButtonComponent>;
6
- showClose: boolean;
7
- visible: boolean;
8
- mode: 'buttons' | 'ai-apply';
9
- showHelperText: boolean;
10
- helperText: string;
11
- showChevronOnApply: boolean;
12
- showExtraButton: boolean;
13
- extraButtonIcon: string;
14
- extraButtonAriaLabel: string;
15
- showStickyButton: boolean;
16
- stickyButtonIcon: string;
17
- stickyButtonAriaLabel: string;
18
- closeClick: EventEmitter<void>;
19
- applyClick: EventEmitter<void>;
20
- extraButtonClick: EventEmitter<void>;
21
- stickyButtonClick: EventEmitter<void>;
22
- /** If true, clicking Apply hides the bar (sets visible = false) after emitting applyClick */
23
- autoHideOnApply: boolean;
24
- buttons: ButtonComponent[];
25
- ngAfterContentInit(): void;
26
- /**
27
- * Enforce wrapper defaults on projected buttons:
28
- * - size = 'base'
29
- * - outline style for non-gradient categories
30
- * - preserve any button explicitly set to gradient (e.g., AI)
31
- */
32
- private applyDefaultsToButtons;
33
- onApply(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionBarWrapperComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionBarWrapperComponent, "al-action-bar", never, { "showClose": { "alias": "showClose"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showHelperText": { "alias": "showHelperText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "showChevronOnApply": { "alias": "showChevronOnApply"; "required": false; }; "showExtraButton": { "alias": "showExtraButton"; "required": false; }; "extraButtonIcon": { "alias": "extraButtonIcon"; "required": false; }; "extraButtonAriaLabel": { "alias": "extraButtonAriaLabel"; "required": false; }; "showStickyButton": { "alias": "showStickyButton"; "required": false; }; "stickyButtonIcon": { "alias": "stickyButtonIcon"; "required": false; }; "stickyButtonAriaLabel": { "alias": "stickyButtonAriaLabel"; "required": false; }; "autoHideOnApply": { "alias": "autoHideOnApply"; "required": false; }; }, { "closeClick": "closeClick"; "applyClick": "applyClick"; "extraButtonClick": "extraButtonClick"; "stickyButtonClick": "stickyButtonClick"; }, ["actionButtons"], ["*"], true, never>;
36
- }
@@ -1,69 +0,0 @@
1
- import { EventEmitter, OnInit, OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import { EyeIconConfig, HeaderButton, InputHandlersConfig, SectionCheckboxConfig } from './resume-header.model';
4
- import * as i0 from "@angular/core";
5
- export declare class ResumeHeaderComponent implements OnInit, OnDestroy, AfterViewInit {
6
- private sanitizer;
7
- hideTimeout: any;
8
- isMenuVisible: boolean;
9
- isEducationHidden: boolean;
10
- private resizeListener?;
11
- private clickOutsideListener?;
12
- hiddenSection: {
13
- headerSectionHidden: boolean;
14
- };
15
- isLargeScreen: boolean;
16
- inputHandlers: InputHandlersConfig;
17
- focusField: EventEmitter<string>;
18
- blurField: EventEmitter<void>;
19
- enterKeyPressed: EventEmitter<KeyboardEvent>;
20
- checked: boolean;
21
- checkboxConfig: SectionCheckboxConfig;
22
- checkedCheckBoxChange: EventEmitter<boolean>;
23
- disabled: boolean;
24
- buttonConfig: HeaderButton[];
25
- buttonClicked: EventEmitter<HeaderButton>;
26
- configEyeToggle: EyeIconConfig[];
27
- accordionItem: any;
28
- showHideToggleSection: EventEmitter<{
29
- isHidden: boolean;
30
- accordionItem?: any;
31
- config: EyeIconConfig;
32
- }>;
33
- toggleEditIcon?: (field: string) => void;
34
- showSection: boolean;
35
- sectionToggled: EventEmitter<boolean>;
36
- borderColor: string;
37
- dataTestId?: string;
38
- showPopOutPanel: boolean;
39
- popOutMessage: string;
40
- popOutButtonLabel: string;
41
- popOutButtonIcon: string;
42
- popOutButtonTooltip: string;
43
- popOutButtonTooltipPosition: 'above' | 'below' | 'left' | 'right';
44
- popOutButtonClick: EventEmitter<void>;
45
- showPopOut: boolean;
46
- inputWidth: number;
47
- maxContainerWidth: number;
48
- textInputSection?: ElementRef<HTMLInputElement>;
49
- constructor(sanitizer: DomSanitizer);
50
- toggleAccordion(accordionItem: any): void;
51
- ngOnInit(): void;
52
- ngAfterViewInit(): void;
53
- private checkPopOutVisibility;
54
- dismissPopOut(): void;
55
- get sanitizedMessage(): SafeHtml;
56
- calculateMaxContainerWidth(): void;
57
- adjustInputWidth(event: Event): void;
58
- ngOnDestroy(): void;
59
- checkScreenSize(): void;
60
- showMenu(): void;
61
- toggleMenu(): void;
62
- handleClickOutside(event: Event): void;
63
- startHideTimeout(): void;
64
- clearHideTimeout(): void;
65
- onButtonClick(btn: any): void;
66
- onDropdownSelect(btn: any, value: any): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<ResumeHeaderComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<ResumeHeaderComponent, "al-resume-header", never, { "hiddenSection": { "alias": "hiddenSection"; "required": false; }; "isLargeScreen": { "alias": "isLargeScreen"; "required": false; }; "inputHandlers": { "alias": "inputHandlers"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "checkboxConfig": { "alias": "checkboxConfig"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonConfig": { "alias": "buttonConfig"; "required": false; }; "configEyeToggle": { "alias": "configEyeToggle"; "required": false; }; "accordionItem": { "alias": "accordionItem"; "required": false; }; "toggleEditIcon": { "alias": "toggleEditIcon"; "required": false; }; "showSection": { "alias": "showSection"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "showPopOutPanel": { "alias": "showPopOutPanel"; "required": false; }; "popOutMessage": { "alias": "popOutMessage"; "required": false; }; "popOutButtonLabel": { "alias": "popOutButtonLabel"; "required": false; }; "popOutButtonIcon": { "alias": "popOutButtonIcon"; "required": false; }; "popOutButtonTooltip": { "alias": "popOutButtonTooltip"; "required": false; }; "popOutButtonTooltipPosition": { "alias": "popOutButtonTooltipPosition"; "required": false; }; }, { "focusField": "focusField"; "blurField": "blurField"; "enterKeyPressed": "enterKeyPressed"; "checkedCheckBoxChange": "checkedCheckBoxChange"; "buttonClicked": "buttonClicked"; "showHideToggleSection": "showHideToggleSection"; "sectionToggled": "sectionToggled"; "popOutButtonClick": "popOutButtonClick"; }, never, never, true, never>;
69
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./resume-header.component";
4
- export declare class ResumeHeaderModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ResumeHeaderModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ResumeHeaderModule, never, [typeof i1.CommonModule, typeof i2.ResumeHeaderComponent], [typeof i2.ResumeHeaderComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<ResumeHeaderModule>;
8
- }