@allsorter/ui-components 0.0.396 → 0.0.400
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/fesm2022/allsorter-ui-components.mjs +16 -11
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/lib/ai-apply-bar/ai-apply-bar.component.d.ts +2 -1
- package/package.json +1 -1
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +10 -6
- package/src/lib/ai-wrapper/ai-wrapper.component.scss +12 -0
- package/src/lib/custom-editor/custom-editor.component.scss +6 -6
- package/src/lib/newresumeheader/newresumeheader.component.scss +66 -40
- package/src/lib/responsive-columns/responsive-columns.component.scss +1 -1
|
@@ -30,9 +30,10 @@ export declare class AiApplyBarComponent {
|
|
|
30
30
|
/** Emitted when the chevron icon button is clicked */
|
|
31
31
|
chevronClick: EventEmitter<void>;
|
|
32
32
|
isVisible: boolean;
|
|
33
|
+
toggled: boolean;
|
|
33
34
|
onValueChange(v: string): void;
|
|
34
35
|
toggleBar(): void;
|
|
35
36
|
onClose(): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AiApplyBarComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AiApplyBarComponent, "al-ai-apply-bar", never, { "dataTestId": { "alias": "dataTestId"; "required": false; }; "showChevron": { "alias": "showChevron"; "required": false; }; "showChevronButton": { "alias": "showChevronButton"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "applyDisabled": { "alias": "applyDisabled"; "required": false; }; "showApplyButton": { "alias": "showApplyButton"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "iconOutlined": { "alias": "iconOutlined"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "closeButtonTooltipPosition": { "alias": "closeButtonTooltipPosition"; "required": false; }; "showHelperText": { "alias": "showHelperText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; }, { "valueChange": "valueChange"; "applyClick": "applyClick"; "closeClick": "closeClick"; "chevronClick": "chevronClick"; }, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AiApplyBarComponent, "al-ai-apply-bar", never, { "dataTestId": { "alias": "dataTestId"; "required": false; }; "showChevron": { "alias": "showChevron"; "required": false; }; "showChevronButton": { "alias": "showChevronButton"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "applyDisabled": { "alias": "applyDisabled"; "required": false; }; "showApplyButton": { "alias": "showApplyButton"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "iconOutlined": { "alias": "iconOutlined"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "closeButtonTooltipPosition": { "alias": "closeButtonTooltipPosition"; "required": false; }; "showHelperText": { "alias": "showHelperText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "toggled": { "alias": "toggled"; "required": false; }; }, { "valueChange": "valueChange"; "applyClick": "applyClick"; "closeClick": "closeClick"; "chevronClick": "chevronClick"; }, never, never, true, never>;
|
|
38
39
|
}
|
package/package.json
CHANGED
|
@@ -3,18 +3,22 @@
|
|
|
3
3
|
<!-- Toggle Button - AI Trigger or Close Button (Fixed Position) -->
|
|
4
4
|
<div class="ai-toggle-button">
|
|
5
5
|
<!-- AI Trigger Button - Show when bar is hidden -->
|
|
6
|
-
<al-button *ngIf="!isVisible" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'auto_fix_high'"
|
|
7
|
-
[color]="'gradient'" [size]="'base'" aria-label="AI Trigger" (onClick)="toggleBar()">
|
|
6
|
+
<al-button *ngIf="toggled && !isVisible" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'auto_fix_high'"
|
|
7
|
+
[iconOutlined]="true" [color]="'gradient'" [size]="'base'" aria-label="AI Trigger" (onClick)="toggleBar()">
|
|
8
8
|
</al-button>
|
|
9
9
|
|
|
10
10
|
<!-- Close Button - Show when bar is visible -->
|
|
11
|
-
<al-button *ngIf="isVisible && showClose" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'close'"
|
|
11
|
+
<al-button *ngIf="toggled && isVisible && showClose" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'close'"
|
|
12
12
|
[color]="'grey'" [size]="'base'" aria-label="Close" (onClick)="toggleBar()">
|
|
13
13
|
</al-button>
|
|
14
|
+
|
|
15
|
+
<al-button *ngIf="!toggled" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'close'"
|
|
16
|
+
[color]="'grey'" [size]="'base'" aria-label="Close" (onClick)="onClose()">
|
|
17
|
+
</al-button>
|
|
14
18
|
</div>
|
|
15
19
|
|
|
16
20
|
<!-- AI Apply Bar - Expands to the LEFT of button -->
|
|
17
|
-
<div class="ai-apply-wrap" [class.visible]="isVisible" [class.hidden]="!isVisible">
|
|
21
|
+
<div class="ai-apply-wrap" [class.visible]="isVisible || !toggled" [class.hidden]="!isVisible && toggled">
|
|
18
22
|
<div class="ai-apply-rail">
|
|
19
23
|
<div class="ai-apply-row">
|
|
20
24
|
<div class="ai-apply-input">
|
|
@@ -26,8 +30,8 @@
|
|
|
26
30
|
</div>
|
|
27
31
|
|
|
28
32
|
<div class="ai-apply-button">
|
|
29
|
-
<al-button *ngIf="showApplyButton" [label]="applyLabel" [buttonType]="'icon-label'" [category]="'gradient'"
|
|
30
|
-
[state]="applyDisabled ? 'disabled' : 'default'" (onClick)="applyClick.emit()">
|
|
33
|
+
<al-button *ngIf="showApplyButton" [label]="applyLabel" [buttonType]="'icon-label'" [category]="'gradient'"
|
|
34
|
+
[size]="'base'" [state]="applyDisabled ? 'disabled' : 'default'" (onClick)="applyClick.emit()">
|
|
31
35
|
</al-button>
|
|
32
36
|
<al-icon-button *ngIf="showChevronButton" icon="chevron_right" [iconOutlined]="true"
|
|
33
37
|
[customColour]="'#ffffff'" [size]="'l'" [disabled]="applyDisabled" (onClick)="chevronClick.emit()"
|
|
@@ -370,3 +370,15 @@
|
|
|
370
370
|
:host ::ng-deep .mat-mdc-select-arrow {
|
|
371
371
|
display: none !important;
|
|
372
372
|
}
|
|
373
|
+
|
|
374
|
+
/* AI wrapper dropdown overlay pane width - target autocomplete panels */
|
|
375
|
+
:host ::ng-deep .mat-mdc-autocomplete-panel {
|
|
376
|
+
width: 253px !important;
|
|
377
|
+
min-width: 253px !important;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/* Also target the overlay pane for autocomplete dropdowns */
|
|
381
|
+
::ng-deep .cdk-overlay-pane:has(.mat-mdc-autocomplete-panel) {
|
|
382
|
+
width: 253px !important;
|
|
383
|
+
min-width: 253px !important;
|
|
384
|
+
}
|
|
@@ -448,13 +448,13 @@
|
|
|
448
448
|
border: 1px solid #ccc;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
.cdk-overlay-pane {
|
|
452
|
-
width: fit-content !important;
|
|
453
|
-
min-width: fit-content !important;
|
|
454
|
-
transform: translate(0px) !important;
|
|
455
|
-
}
|
|
451
|
+
// .cdk-overlay-pane {
|
|
452
|
+
// width: fit-content !important;
|
|
453
|
+
// min-width: fit-content !important;
|
|
454
|
+
// transform: translate(0px) !important;
|
|
455
|
+
// }
|
|
456
456
|
|
|
457
457
|
.mat-select-panel {
|
|
458
458
|
width: fit-content !important;
|
|
459
459
|
min-width: fit-content !important;
|
|
460
|
-
}
|
|
460
|
+
}
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
.example-accordion-item-header al-responsive-columns div[center] al-responsive-columns div[left] {
|
|
63
63
|
flex-shrink: 1;
|
|
64
64
|
min-width: 0;
|
|
65
|
-
overflow:
|
|
65
|
+
overflow: visible;
|
|
66
66
|
max-width: 100%;
|
|
67
67
|
transition: flex 0.2s ease, width 0.2s ease;
|
|
68
68
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
.example-accordion-item-header al-responsive-columns div[center] al-responsive-columns ::ng-deep .column.left {
|
|
79
79
|
min-width: 0;
|
|
80
|
-
overflow:
|
|
80
|
+
overflow: visible;
|
|
81
81
|
max-width: 100%;
|
|
82
82
|
transition: flex 0.2s ease;
|
|
83
83
|
}
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
|
|
115
115
|
/* Animation wrapper - ensures smooth height transitions */
|
|
116
116
|
// .example-accordion-item-body-wrapper {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
// width: 100%;
|
|
118
|
+
// overflow: hidden;
|
|
119
|
+
// }
|
|
120
120
|
|
|
121
121
|
.toggle-button {
|
|
122
122
|
border: none;
|
|
@@ -213,19 +213,44 @@
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
/* Edit input group hover effect for title */
|
|
216
|
+
// .edit-input-group {
|
|
217
|
+
// display: flex;
|
|
218
|
+
// align-items: center;
|
|
219
|
+
// gap: 4px;
|
|
220
|
+
// min-width: 0;
|
|
221
|
+
// border-radius: 4px;
|
|
222
|
+
// transition: background-color 0.2s ease, width 0.2s ease;
|
|
223
|
+
// padding: 0 8px;
|
|
224
|
+
// flex-shrink: 1;
|
|
225
|
+
// width: 100%;
|
|
226
|
+
// max-width: 100%;
|
|
227
|
+
// overflow: hidden;
|
|
228
|
+
// flex: 1 1 0;
|
|
229
|
+
// }
|
|
230
|
+
|
|
231
|
+
// /* Expand edit-input-group to 100% width when input is focused */
|
|
232
|
+
// .edit-input-group.input-focused {
|
|
233
|
+
// width: 100%;
|
|
234
|
+
// flex: 1 1 100%;
|
|
235
|
+
// min-width: 0;
|
|
236
|
+
// }
|
|
237
|
+
|
|
238
|
+
// .edit-input-group:hover {
|
|
239
|
+
// background-color: #D1D3DB;
|
|
240
|
+
// }
|
|
216
241
|
.edit-input-group {
|
|
217
242
|
display: flex;
|
|
218
243
|
align-items: center;
|
|
219
244
|
gap: 4px;
|
|
220
245
|
min-width: 0;
|
|
221
246
|
border-radius: 4px;
|
|
222
|
-
transition:
|
|
247
|
+
transition: width 0.2s ease, background-color 0.2s ease;
|
|
223
248
|
padding: 0 8px;
|
|
224
|
-
|
|
249
|
+
margin: 0 -8px;
|
|
225
250
|
width: 100%;
|
|
226
|
-
|
|
227
|
-
overflow: hidden;
|
|
251
|
+
overflow: visible;
|
|
228
252
|
flex: 1 1 0;
|
|
253
|
+
position: relative;
|
|
229
254
|
}
|
|
230
255
|
|
|
231
256
|
/* Expand edit-input-group to 100% width when input is focused */
|
|
@@ -235,6 +260,7 @@
|
|
|
235
260
|
min-width: 0;
|
|
236
261
|
}
|
|
237
262
|
|
|
263
|
+
/* Hover effect - direct background */
|
|
238
264
|
.edit-input-group:hover {
|
|
239
265
|
background-color: #D1D3DB;
|
|
240
266
|
}
|
|
@@ -584,34 +610,34 @@
|
|
|
584
610
|
|
|
585
611
|
/* Smooth hover effect on eye icon container - circular background without jumping */
|
|
586
612
|
// .mat-checkbox-margin {
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
613
|
+
// position: relative;
|
|
614
|
+
// display: inline-flex;
|
|
615
|
+
// align-items: center;
|
|
616
|
+
// justify-content: center;
|
|
617
|
+
|
|
618
|
+
// &::before {
|
|
619
|
+
// content: '';
|
|
620
|
+
// position: absolute;
|
|
621
|
+
// top: 50%;
|
|
622
|
+
// left: 50%;
|
|
623
|
+
// transform: translate(-50%, -50%);
|
|
624
|
+
// width: 28px;
|
|
625
|
+
// height: 28px;
|
|
626
|
+
// border-radius: 4px;
|
|
627
|
+
// background-color: transparent;
|
|
628
|
+
// transition: background-color 0.2s ease;
|
|
629
|
+
// z-index: 0;
|
|
630
|
+
// pointer-events: none;
|
|
631
|
+
// }
|
|
632
|
+
|
|
633
|
+
// &:hover::before {
|
|
634
|
+
// background-color: rgba(211, 211, 211, 0.9) !important;
|
|
635
|
+
|
|
636
|
+
// }
|
|
637
|
+
|
|
638
|
+
// /* Ensure icon stays above the background */
|
|
639
|
+
// mat-icon {
|
|
640
|
+
// position: relative;
|
|
641
|
+
// z-index: 1;
|
|
642
|
+
// }
|
|
643
|
+
// }
|