@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.
- package/fesm2022/allsorter-ui-components.mjs +2996 -1391
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/images/Column left.svg +5 -0
- package/images/Move.svg +8 -0
- package/images/Success.svg +5 -0
- package/images/Table.svg +3 -0
- package/images/Vector-1.svg +3 -0
- package/images/Vector.svg +3 -0
- package/images/add-teble.svg +6 -0
- package/images/arrow_downward.svg +3 -0
- package/images/calendar_year.svg +4 -0
- package/images/column right.svg +5 -0
- package/images/delete -table.svg +6 -0
- package/images/delete row.svg +10 -0
- package/images/delete-column.svg +10 -0
- package/images/delete.svg +3 -0
- package/images/drag-drop-icon.svg +8 -0
- package/images/edit.svg +3 -0
- package/images/error.svg +5 -0
- package/images/row bottom.svg +5 -0
- package/images/row top.svg +5 -0
- package/images/search.svg +3 -0
- package/images/subrole.svg +3 -0
- package/images/visibility_off.svg +3 -0
- package/images/warning.svg +5 -0
- package/lib/app-toolbar/app-toolbar.component.d.ts +5 -8
- package/lib/app-toolbar/app-toolbar.module.d.ts +4 -4
- package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +3 -5
- package/lib/button/button.component.d.ts +30 -1
- package/lib/candidate-section/candidate-section.component.d.ts +8 -0
- package/lib/custom-editor/custom-editor.component.d.ts +110 -14
- package/lib/custom-editor/table/table.component.d.ts +5 -0
- package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +48 -0
- package/lib/experience-section/experience-section.component.d.ts +4 -2
- package/lib/general-container/general-container.component.d.ts +5 -1
- package/lib/icon-button/icon-button.component.d.ts +16 -7
- package/lib/input/input.component.d.ts +41 -10
- package/lib/newresumeheader/newresumeheader.component.d.ts +43 -4
- package/lib/resume-entries/resume-entries.component.d.ts +7 -1
- package/lib/resume-header/resume-header.model.d.ts +11 -20
- package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +17 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.d.ts +34 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.module.d.ts +12 -0
- package/lib/styles/border-radius.scss +11 -0
- package/lib/styles/button-mixins.scss +41 -0
- package/lib/styles/button.scss +117 -0
- package/lib/styles/colors.scss +221 -0
- package/lib/styles/elevation.scss +46 -0
- package/lib/styles/new-typography.scss +202 -0
- package/lib/styles/spacing.scss +39 -0
- package/lib/styles/typography-classes.scss +203 -0
- package/lib/utils/icon-utils.d.ts +51 -0
- package/lib/utils/image-utils.d.ts +54 -0
- package/package.json +15 -3
- package/public-api.d.ts +3 -3
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +43 -0
- package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +182 -0
- package/src/lib/app-toolbar/app-toolbar.component.html +13 -0
- package/src/lib/app-toolbar/app-toolbar.component.scss +141 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.html +15 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.scss +294 -0
- package/src/lib/button/button.component.html +127 -0
- package/src/lib/button/button.component.scss +1238 -0
- package/src/lib/candidate-section/candidate-section.component.html +91 -0
- package/src/lib/candidate-section/candidate-section.component.scss +154 -0
- package/src/lib/checkbox/checkbox.component.html +24 -0
- package/src/lib/checkbox/checkbox.component.scss +280 -0
- package/src/lib/custom-editor/custom-editor.component.html +129 -0
- package/src/lib/custom-editor/custom-editor.component.scss +441 -0
- package/src/lib/custom-editor/table/table.component.html +21 -0
- package/src/lib/date-range/date-range.component.html +33 -0
- package/src/lib/date-range/date-range.component.scss +284 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +12 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +227 -0
- package/src/lib/experience-section/experience-section.component.html +20 -0
- package/src/lib/experience-section/experience-section.component.scss +0 -0
- package/src/lib/field-placeholder/field-placeholder.component.html +17 -0
- package/src/lib/field-placeholder/field-placeholder.component.scss +119 -0
- package/src/lib/general-container/general-container.component.html +3 -0
- package/src/lib/general-container/general-container.component.scss +10 -0
- package/src/lib/icon-button/icon-button.component.html +12 -0
- package/src/lib/icon-button/icon-button.component.scss +77 -0
- package/src/lib/input/input.component.html +86 -0
- package/src/lib/input/input.component.scss +1337 -0
- package/src/lib/loader/loader.component.html +15 -0
- package/src/lib/loader/loader.component.scss +493 -0
- package/src/lib/new-typography/new-typography.component.html +10 -0
- package/src/lib/new-typography/new-typography.component.scss +200 -0
- package/src/lib/newresumeheader/newresumeheader.component.html +178 -0
- package/src/lib/newresumeheader/newresumeheader.component.scss +530 -0
- package/src/lib/radio/radio.component.html +23 -0
- package/src/lib/radio/radio.component.scss +253 -0
- package/src/lib/responsive-columns/responsive-columns.component.html +6 -0
- package/src/lib/responsive-columns/responsive-columns.component.scss +68 -0
- package/src/lib/responsive-layout/responsive-layout.component.html +1 -0
- package/src/lib/responsive-layout/responsive-layout.component.scss +47 -0
- package/src/lib/resume-entries/resume-entries.component.html +97 -0
- package/src/lib/resume-entries/resume-entries.component.scss +341 -0
- package/src/lib/resume-header/resume-header.component.html +167 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.html +99 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.scss +223 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.html +17 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.scss +58 -0
- package/src/lib/slide-toggle/slide-toggle.component.html +17 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +439 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.html +12 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.scss +1 -0
- package/src/lib/styles/border-radius.scss +11 -0
- package/src/lib/styles/button-mixins.scss +41 -0
- package/src/lib/styles/button.scss +117 -0
- package/src/lib/styles/colors.scss +221 -0
- package/src/lib/styles/elevation.scss +46 -0
- package/src/lib/styles/new-typography.scss +202 -0
- package/src/lib/styles/spacing.scss +39 -0
- package/src/lib/styles/typography-classes.scss +203 -0
- package/src/lib/tabs/tabs.component.html +9 -0
- package/src/lib/tabs/tabs.component.scss +151 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.html +17 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.scss +284 -0
- package/src/lib/tooltip/tooltip.component.html +6 -0
- package/src/lib/tooltip/tooltip.component.scss +8 -0
- package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +0 -36
- package/lib/resume-header/resume-header.component.d.ts +0 -69
- package/lib/resume-header/resume-header.module.d.ts +0 -8
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
.modal-container {
|
|
2
|
+
padding: 0;
|
|
3
|
+
|
|
4
|
+
background: white;
|
|
5
|
+
border-radius: 16px;
|
|
6
|
+
// box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
|
|
7
|
+
// 0 2px 4px -1px rgbbox-shadow: 0 6px 10px 4px rgba(113, 119, 147, 0.15);a(0, 0, 0, 0.06);
|
|
8
|
+
box-shadow: 0 6px 10px 4px rgba(113, 119, 147, 0.15);
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
max-height: 90vh;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Dialog title styling
|
|
17
|
+
.modal-title {
|
|
18
|
+
color: #ffffff;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 12px 24px;
|
|
21
|
+
font-family: 'Roboto', sans-serif;
|
|
22
|
+
background-color: #4B4F62;
|
|
23
|
+
border-radius: 8px 8px 0 0;
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
line-height: 24px;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
|
|
31
|
+
.title-content {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 8px;
|
|
35
|
+
flex: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.title-icon {
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
width: 16px;
|
|
41
|
+
height: 16px;
|
|
42
|
+
color: #ffffff;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Custom header styling
|
|
47
|
+
.custom-header {
|
|
48
|
+
background-color: #4B4F62;
|
|
49
|
+
border-radius: 16px 16px 0 0;
|
|
50
|
+
padding: 36px 64px;
|
|
51
|
+
min-height: auto;
|
|
52
|
+
gap: 24px;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: end;
|
|
55
|
+
justify-content: space-between;
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.custom-header-left {
|
|
60
|
+
flex: 1 1 auto;
|
|
61
|
+
max-width: calc(100% - 260px);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.custom-header-title-section {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
margin-bottom: 8px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.custom-header-icon {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
margin-right: 12px;
|
|
75
|
+
|
|
76
|
+
mat-icon {
|
|
77
|
+
color: #ffffff;
|
|
78
|
+
font-size: 32px;
|
|
79
|
+
width: 32px;
|
|
80
|
+
height: 32px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
span {
|
|
84
|
+
color: white;
|
|
85
|
+
font-weight: bold;
|
|
86
|
+
font-size: 16px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.custom-header-title {
|
|
91
|
+
color: #ffffff;
|
|
92
|
+
margin: 0;
|
|
93
|
+
font-size: 32px;
|
|
94
|
+
font-family: 'Roboto', sans-serif;
|
|
95
|
+
font-size: 32px;
|
|
96
|
+
font-style: normal;
|
|
97
|
+
font-weight: 400;
|
|
98
|
+
line-height: 120%;
|
|
99
|
+
/* 38.4px */
|
|
100
|
+
letter-spacing: -0.032px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.custom-header-description {
|
|
104
|
+
color: rgba(255, 255, 255, 0.85);
|
|
105
|
+
margin: 0 0 4px 0;
|
|
106
|
+
font-size: 18px;
|
|
107
|
+
line-height: 1.5;
|
|
108
|
+
font-family: 'Roboto', sans-serif;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.templating-guide-link {
|
|
112
|
+
display: inline;
|
|
113
|
+
margin-top: 4px;
|
|
114
|
+
color: #37C1CE;
|
|
115
|
+
text-decoration: underline;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.templating-guide-prefix {
|
|
119
|
+
color: #ffffff;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.templating-guide-suffix {
|
|
123
|
+
color: #ffffff;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.custom-header-right {
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
align-items: flex-end;
|
|
130
|
+
justify-content: end;
|
|
131
|
+
gap: 46px;
|
|
132
|
+
// min-width: 240px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Absolutely position the close button in the top-right of the custom header
|
|
136
|
+
.custom-header-right .custom-close {
|
|
137
|
+
position: absolute;
|
|
138
|
+
top: 24px;
|
|
139
|
+
right: 24px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// Dialog content styling
|
|
143
|
+
.modal-body {
|
|
144
|
+
padding: 24px;
|
|
145
|
+
flex: 1;
|
|
146
|
+
overflow-y: auto;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// When using custom header, increase body padding to 32px TB and 64px LR
|
|
150
|
+
.custom-header+.modal-body {
|
|
151
|
+
padding: 32px 64px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.modal-message {
|
|
155
|
+
font-size: 16px;
|
|
156
|
+
color: #4b5563;
|
|
157
|
+
margin: 0 0 16px 0;
|
|
158
|
+
line-height: 1.5;
|
|
159
|
+
font-family: 'Roboto', sans-serif;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Dialog actions styling
|
|
163
|
+
.modal-actions {
|
|
164
|
+
display: flex;
|
|
165
|
+
gap: 8px;
|
|
166
|
+
justify-content: center;
|
|
167
|
+
align-items: center;
|
|
168
|
+
margin: 24px 0 0 0;
|
|
169
|
+
/* ensure 24px gap above buttons */
|
|
170
|
+
box-sizing: border-box;
|
|
171
|
+
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Feedback icon sizes and colors */
|
|
175
|
+
.feedback-icon {
|
|
176
|
+
font-size: 72px;
|
|
177
|
+
width: 72px;
|
|
178
|
+
height: 72px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.feedback-icon.success {
|
|
182
|
+
color: #4caf50;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.feedback-icon.warning {
|
|
186
|
+
color: #f6c000;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.feedback-icon.error {
|
|
190
|
+
color: #f44336;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Image icons for warning and error */
|
|
194
|
+
.feedback-icon-image {
|
|
195
|
+
width: 72px;
|
|
196
|
+
height: 72px;
|
|
197
|
+
object-fit: contain;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// @media (max-width: 768px) {
|
|
201
|
+
// .custom-header {
|
|
202
|
+
// padding: 24px;
|
|
203
|
+
// flex-direction: column;
|
|
204
|
+
// align-items: flex-start;
|
|
205
|
+
// }
|
|
206
|
+
|
|
207
|
+
// .custom-header-left {
|
|
208
|
+
// max-width: 100%;
|
|
209
|
+
// margin-right: 0;
|
|
210
|
+
// }
|
|
211
|
+
|
|
212
|
+
// .custom-header-right {
|
|
213
|
+
// width: 100%;
|
|
214
|
+
// min-width: 0;
|
|
215
|
+
// align-items: flex-start;
|
|
216
|
+
// margin-top: 12px;
|
|
217
|
+
// }
|
|
218
|
+
|
|
219
|
+
// .custom-header-right .custom-close {
|
|
220
|
+
// top: 16px;
|
|
221
|
+
// right: 16px;
|
|
222
|
+
// }
|
|
223
|
+
// }
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="al-side-action-bar-wrap" [ngClass]="'position-' + position">
|
|
2
|
+
<!-- Visible bar -->
|
|
3
|
+
<ng-container *ngIf="visible">
|
|
4
|
+
<div class="al-side-action-bar">
|
|
5
|
+
<div class="al-side-action-bar__close" *ngIf="showClose">
|
|
6
|
+
<al-button [buttonType]="'icon-circle'" [color]="'grey'" [outline]="false" [size]="'base'" [iconOnly]="true"
|
|
7
|
+
[iconOutlined]="iconOutlined" [icon]="'close'" [tooltip]="closeButtonTooltip"
|
|
8
|
+
[tooltipPosition]="closeButtonTooltipPosition" aria-label="Close" (onClick)="closeClick.emit()"></al-button>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<!-- Buttons rail -->
|
|
12
|
+
<div class="al-side-action-bar__rail">
|
|
13
|
+
<ng-content></ng-content>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</ng-container>
|
|
17
|
+
</div>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import "../styles/colors.scss";
|
|
2
|
+
@import "../styles/border-radius.scss";
|
|
3
|
+
@import "../styles/spacing.scss";
|
|
4
|
+
|
|
5
|
+
/* Outer container for side action bar */
|
|
6
|
+
.al-side-action-bar-wrap {
|
|
7
|
+
position: relative;
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
|
|
11
|
+
&.position-left {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.position-right {
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.al-side-action-bar {
|
|
21
|
+
position: relative;
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: $space-8;
|
|
26
|
+
padding: 12px 8px;
|
|
27
|
+
|
|
28
|
+
.al-side-action-bar__rail {
|
|
29
|
+
// Rail matches dark desaturated indigo-grey from Figma
|
|
30
|
+
background: rgba(113, 119, 147, 0.8);
|
|
31
|
+
border-radius: $radius-8;
|
|
32
|
+
padding: 12px $space-8;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: stretch;
|
|
36
|
+
gap: $space-8; // spacing between action buttons
|
|
37
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
|
|
38
|
+
backdrop-filter: blur(2px);
|
|
39
|
+
|
|
40
|
+
// White button hover styling
|
|
41
|
+
::ng-deep al-button button.white.btn-outlined:hover {
|
|
42
|
+
background-color: #4B4F62 !important;
|
|
43
|
+
box-shadow: none !important;
|
|
44
|
+
border: none !important;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.al-side-action-bar__close {
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
// White button hover styling for close button
|
|
52
|
+
::ng-deep al-button button.white.btn-outlined:hover {
|
|
53
|
+
background-color: #4B4F62 !important;
|
|
54
|
+
box-shadow: none !important;
|
|
55
|
+
border: none !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="slide-toggle-container" [matTooltip]="tooltip" [matTooltipPosition]="tooltipPosition">
|
|
2
|
+
<mat-slide-toggle #slideToggle [checked]="checked" [disabled]="disabled" [name]="name" [required]="required"
|
|
3
|
+
[color]="color" (change)="handleChange($event)" (focus)="handleFocus($event)" (blur)="handleBlur($event)"
|
|
4
|
+
class="custom-slide-toggle" [class.slide-toggle-small]="size === 'small'"
|
|
5
|
+
[class.slide-toggle-medium]="size === 'medium'" [class.slide-toggle-large]="size === 'large'"
|
|
6
|
+
[attr.data-testid]="dataTestId">
|
|
7
|
+
<div *ngIf="showLabels" class="slide-toggle-labels">
|
|
8
|
+
<div *ngIf="labelText" class="slide-toggle-label-main">
|
|
9
|
+
{{ labelText }}
|
|
10
|
+
</div>
|
|
11
|
+
<div *ngIf="helperText" class="slide-toggle-label-helper">
|
|
12
|
+
{{ helperText }}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<ng-content></ng-content>
|
|
16
|
+
</mat-slide-toggle>
|
|
17
|
+
</div>
|