@allsorter/ui-components 0.0.394 → 0.0.398
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 +15 -10
- 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/input/input.component.scss +7 -6
- package/src/lib/resume-entries/resume-entries.component.scss +5 -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
|
+
}
|
|
@@ -502,27 +502,28 @@ mat-icon[matSuffix] {
|
|
|
502
502
|
|
|
503
503
|
/* ===== FLOATING LABEL POSITIONING ===== */
|
|
504
504
|
|
|
505
|
+
/* ===== FLOATING LABEL POSITIONING ===== */
|
|
506
|
+
|
|
505
507
|
::ng-deep .al-input-size-xs .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
506
|
-
top: 10px !important;
|
|
508
|
+
top: var(--al-floating-label-top-xs, 10px) !important;
|
|
507
509
|
}
|
|
508
510
|
|
|
509
511
|
::ng-deep .al-input-size-small .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
510
|
-
top: 11px !important;
|
|
512
|
+
top: var(--al-floating-label-top-small, 11px) !important;
|
|
511
513
|
}
|
|
512
514
|
|
|
513
515
|
::ng-deep .al-input-size-base .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
514
|
-
top: 15px !important;
|
|
516
|
+
top: var(--al-floating-label-top-base, 15px) !important;
|
|
515
517
|
}
|
|
516
518
|
|
|
517
519
|
::ng-deep .al-input-size-header .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
518
|
-
top: 8px !important
|
|
520
|
+
top: var(--al-floating-label-top-header, 8px) !important
|
|
519
521
|
}
|
|
520
522
|
|
|
521
523
|
::ng-deep .al-input-size-large .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
522
|
-
top: 20px !important
|
|
524
|
+
top: var(--al-floating-label-top-header, 20px) !important
|
|
523
525
|
}
|
|
524
526
|
|
|
525
|
-
|
|
526
527
|
/* Label transform calculations - Fixed to position at top of border */
|
|
527
528
|
::ng-deep .al-input-size-xs .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
528
529
|
--mat-mdc-form-field-label-transform: translateY(-20px) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
@import "../styles/colors.scss";
|
|
3
3
|
@import "../styles/border-radius.scss";
|
|
4
4
|
|
|
5
|
+
:root {
|
|
6
|
+
--spacing-xs: 6px;
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
.resume-entries-container {
|
|
6
10
|
display: flex;
|
|
7
11
|
flex-direction: column;
|
|
@@ -62,7 +66,7 @@
|
|
|
62
66
|
flex: 1;
|
|
63
67
|
width: 100%;
|
|
64
68
|
gap: 12px;
|
|
65
|
-
padding-top: 5px;
|
|
69
|
+
padding-top: var(--spacing-xs, 5px);
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
.timeline-indicator {
|