@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,202 @@
1
+ /* Google Fonts import suggestion left to consumer's index.html or global styles. */
2
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
3
+
4
+
5
+ // SCSS Variables
6
+ $primary-text-color: #4B4F62;
7
+
8
+ // Mixins
9
+ @mixin typography-base($size, $line-height, $letter-spacing, $weight: 400) {
10
+ font-size: $size;
11
+ line-height: $line-height;
12
+ letter-spacing: $letter-spacing;
13
+ font-weight: $weight;
14
+ color: $primary-text-color;
15
+ }
16
+
17
+ /* Weight utilities */
18
+ .weight-light {
19
+ font-weight: 300;
20
+ }
21
+
22
+ .weight-regular {
23
+ font-weight: 400;
24
+ }
25
+
26
+ .weight-medium {
27
+ font-weight: 500;
28
+ }
29
+
30
+ .weight-semibold {
31
+ font-weight: 600;
32
+ }
33
+
34
+ .weight-bold {
35
+ font-weight: 700;
36
+ }
37
+
38
+ /* Line height utilities */
39
+ .line-height-none {
40
+ line-height: 1 !important;
41
+ }
42
+
43
+ .line-height-tight {
44
+ line-height: 1.2 !important;
45
+ }
46
+
47
+ .line-height-normal {
48
+ line-height: 1.4 !important;
49
+ }
50
+
51
+ /* Letter spacing utilities */
52
+ .letter-spacing-normal {
53
+ letter-spacing: 0 !important;
54
+ }
55
+
56
+ .letter-spacing-wide {
57
+ letter-spacing: 0.1em !important;
58
+ }
59
+
60
+ .letter-spacing-wider {
61
+ letter-spacing: 0.2em !important;
62
+ }
63
+
64
+ /* Text decoration utilities */
65
+ .text-decoration-none {
66
+ text-decoration: none !important;
67
+ font-style: normal !important;
68
+ }
69
+
70
+ .text-decoration-underline {
71
+ text-decoration: underline !important;
72
+ font-style: normal !important;
73
+ }
74
+
75
+ .text-decoration-italic {
76
+ text-decoration: none !important;
77
+ font-style: italic !important;
78
+ }
79
+
80
+ .text-decoration-strike {
81
+ text-decoration: line-through !important;
82
+ font-style: normal !important;
83
+ }
84
+
85
+ /* Typography Scale - Based on the design system */
86
+
87
+ /* Text 5XL */
88
+ .font-text-5xl {
89
+ @include typography-base(2rem, 1.2, -0.1px, 400);
90
+ }
91
+
92
+ .font-text-5xl-medium {
93
+ @include typography-base(2rem, 1.2, -0.1px, 500);
94
+ }
95
+
96
+ .font-text-5xl-bold {
97
+ @include typography-base(2rem, 1.2, -0.1px, 700);
98
+ }
99
+
100
+ /* Text 4XL */
101
+ .font-text-4xl {
102
+ @include typography-base(1.75rem, 1.2, -0.1px, 400);
103
+ }
104
+
105
+ .font-text-4xl-medium {
106
+ @include typography-base(1.75rem, 1.2, -0.1px, 500);
107
+ }
108
+
109
+ .font-text-4xl-bold {
110
+ @include typography-base(1.75rem, 1.2, -0.1px, 700);
111
+ }
112
+
113
+ /* Text 3XL */
114
+ .font-text-3xl {
115
+ @include typography-base(1.5rem, 1.2, -0.1px, 400);
116
+ }
117
+
118
+ .font-text-3xl-medium {
119
+ @include typography-base(1.5rem, 1.2, -0.1px, 500);
120
+ }
121
+
122
+ .font-text-3xl-bold {
123
+ @include typography-base(1.5rem, 1.2, -0.1px, 700);
124
+ }
125
+
126
+ /* Text 2XL */
127
+ .font-text-2xl {
128
+ @include typography-base(1.375rem, 1.2, -0.1px, 400);
129
+ }
130
+
131
+ .font-text-2xl-medium {
132
+ @include typography-base(1.375rem, 1.2, -0.1px, 500);
133
+ }
134
+
135
+ .font-text-2xl-bold {
136
+ @include typography-base(1.375rem, 1.2, -0.1px, 700);
137
+ }
138
+
139
+ /* Text XL */
140
+ .font-text-xl {
141
+ @include typography-base(1.25rem, 1.2, -0.1px, 400);
142
+ }
143
+
144
+ .font-text-xl-medium {
145
+ @include typography-base(1.25rem, 1.2, -0.1px, 500);
146
+ }
147
+
148
+ .font-text-xl-bold {
149
+ @include typography-base(1.25rem, 1.2, -0.1px, 700);
150
+ }
151
+
152
+ /* Text LG */
153
+ .font-text-lg {
154
+ @include typography-base(1rem, 1.4, 0.25px, 400);
155
+ }
156
+
157
+ .font-text-lg-medium {
158
+ @include typography-base(1rem, 1.4, 0.25px, 500);
159
+ }
160
+
161
+ .font-text-lg-bold {
162
+ @include typography-base(1rem, 1.4, 0.25px, 700);
163
+ }
164
+
165
+ /* Text Base */
166
+ .font-text-base {
167
+ @include typography-base(0.875rem, 1.4, 0.25px, 400);
168
+ }
169
+
170
+ .font-text-base-medium {
171
+ @include typography-base(0.875rem, 1.4, 0.25px, 500);
172
+ }
173
+
174
+ .font-text-base-bold {
175
+ @include typography-base(0.875rem, 1.4, 0.25px, 700);
176
+ }
177
+
178
+ /* Text SM */
179
+ .font-text-sm {
180
+ @include typography-base(0.75rem, 1.4, 0.5px, 400);
181
+ }
182
+
183
+ .font-text-sm-medium {
184
+ @include typography-base(0.75rem, 1.4, 0.5px, 500);
185
+ }
186
+
187
+ .font-text-sm-bold {
188
+ @include typography-base(0.75rem, 1.4, 0.5px, 700);
189
+ }
190
+
191
+ /* Text XS */
192
+ .font-text-xs {
193
+ @include typography-base(0.625rem, 1.4, 0.5px, 400);
194
+ }
195
+
196
+ .font-text-xs-medium {
197
+ @include typography-base(0.625rem, 1.4, 0.5px, 500);
198
+ }
199
+
200
+ .font-text-xs-bold {
201
+ @include typography-base(0.625rem, 1.4, 0.5px, 700);
202
+ }
@@ -0,0 +1,39 @@
1
+ // ============================================
2
+ // SPACING SCALE
3
+ // ============================================
4
+
5
+ // Spacing Scale - Modular spacing system
6
+ $space-2: 2px; // Use for small, compact components
7
+ $space-4: 4px; // Use for small, compact components
8
+ $space-6: 6px; // Use for small, compact components
9
+ $space-8: 8px; // Use for small, compact components
10
+ $space-10: 10px; // Use for small, compact components
11
+ $space-12: 12px; // Use for medium, less dense components
12
+ $space-16: 16px; // Use for larger components or dense layouts
13
+ $space-20: 20px; // Use for larger pieces of UI, patterns, or dense layouts
14
+ $space-24: 24px; // Use for larger pieces of UI, patterns, or layouts
15
+ $space-32: 32px; // Use for patterns or layouts
16
+ $space-40: 40px; // Use for patterns or layouts
17
+ $space-48: 48px; // Use for patterns or layouts with increased spacing
18
+ $space-64: 64px; // Use for layouts with increased spacing
19
+ $space-80: 80px; // Use for layouts with increased spacing
20
+
21
+ // ============================================
22
+ // CSS CUSTOM PROPERTIES
23
+ // ============================================
24
+
25
+ :root {
26
+ // Spacing Scale
27
+ --space-2: #{$space-2};
28
+ --space-4: #{$space-4};
29
+ --space-8: #{$space-8};
30
+ --space-12: #{$space-12};
31
+ --space-16: #{$space-16};
32
+ --space-20: #{$space-20};
33
+ --space-24: #{$space-24};
34
+ --space-32: #{$space-32};
35
+ --space-40: #{$space-40};
36
+ --space-48: #{$space-48};
37
+ --space-64: #{$space-64};
38
+ --space-80: #{$space-80};
39
+ }
@@ -0,0 +1,203 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
2
+
3
+ /* Import new typography classes globally so font-text-5xl etc. are available in all components */
4
+ @import './new-typography.scss';
5
+ @import './colors.scss';
6
+
7
+ .font-display-large {
8
+ font-family: 'Roboto', sans-serif !important;
9
+ font-size: 57px;
10
+ font-style: normal;
11
+ font-weight: 400;
12
+ line-height: 64px;
13
+ /* 112.281% */
14
+ letter-spacing: -0.25px;
15
+ }
16
+
17
+ .font-display-medium {
18
+ font-family: 'Roboto', sans-serif !important;
19
+ font-size: 45px;
20
+ font-style: normal;
21
+ font-weight: 400;
22
+ line-height: 52px;
23
+ /* 115.556% */
24
+ }
25
+
26
+ .font-display-small {
27
+ font-family: 'Roboto', sans-serif !important;
28
+ font-size: 36px;
29
+ font-style: normal;
30
+ font-weight: 400;
31
+ line-height: 44px;
32
+ /* 122.222% */
33
+ }
34
+
35
+ .font-headline-large {
36
+ font-family: 'Roboto', sans-serif !important;
37
+ font-size: 32px;
38
+ font-style: normal;
39
+ font-weight: 400;
40
+ line-height: 40px;
41
+ /* 125% */
42
+ }
43
+
44
+ .font-headline-medium {
45
+ font-family: 'Roboto', sans-serif !important;
46
+ font-size: 28px;
47
+ font-style: normal;
48
+ font-weight: 400;
49
+ line-height: 36px;
50
+ /* 128.571% */
51
+ }
52
+
53
+ .font-headline-small {
54
+ font-family: 'Roboto', sans-serif !important;
55
+ font-size: 24px;
56
+ font-style: normal;
57
+ font-weight: 400;
58
+ line-height: 32px;
59
+ /* 133.333% */
60
+ }
61
+
62
+ .font-title-large {
63
+ font-family: 'Roboto', sans-serif !important;
64
+ font-size: 22px;
65
+ font-style: normal;
66
+ font-weight: 400;
67
+ line-height: 28px;
68
+ /* 127.273% */
69
+ }
70
+
71
+ .font-title-medium {
72
+ font-family: 'Roboto', sans-serif !important;
73
+ font-size: 16px;
74
+ font-style: normal;
75
+ font-weight: 400;
76
+ line-height: 24px;
77
+ /* 150% */
78
+ letter-spacing: 0.15px;
79
+ }
80
+
81
+ .font-title-small {
82
+ font-family: 'Roboto', sans-serif !important;
83
+ font-size: 14px;
84
+ font-style: normal;
85
+ font-weight: 400;
86
+ line-height: 20px;
87
+ /* 142.857% */
88
+ letter-spacing: 0.1px;
89
+ }
90
+
91
+ .font-label-large {
92
+ font-family: 'Roboto', sans-serif !important;
93
+ font-size: 14px;
94
+ font-style: normal;
95
+ font-weight: 500;
96
+ line-height: 20px;
97
+ /* 142.857% */
98
+ letter-spacing: 0.1px;
99
+ }
100
+
101
+ .font-label-medium {
102
+ font-family: 'Roboto', sans-serif !important;
103
+ font-size: 12px;
104
+ font-style: normal;
105
+ font-weight: 400;
106
+ line-height: 12px;
107
+ /* 100% */
108
+ letter-spacing: 0.5px;
109
+ }
110
+
111
+ .font-label-small {
112
+ font-family: 'Roboto', sans-serif !important;
113
+ font-size: 10px;
114
+ font-style: normal;
115
+ font-weight: 400;
116
+ line-height: 10px;
117
+ /* 100% */
118
+ letter-spacing: 0.5px;
119
+ }
120
+
121
+ .font-body-large {
122
+ font-family: 'Roboto', sans-serif !important;
123
+ font-size: 16px;
124
+ font-style: normal;
125
+ font-weight: 400;
126
+ line-height: 24px;
127
+ /* 150% */
128
+ letter-spacing: 0.5px;
129
+ }
130
+
131
+ .font-body-medium {
132
+ font-family: 'Roboto', sans-serif !important;
133
+ font-size: 14px;
134
+ font-style: normal;
135
+ font-weight: 400;
136
+ line-height: 20px;
137
+ /* 142.857% */
138
+ letter-spacing: 0.25px;
139
+ }
140
+
141
+ .font-body-small {
142
+ font-family: 'Roboto', sans-serif !important;
143
+ font-size: 12px;
144
+ font-style: normal;
145
+ font-weight: 400;
146
+ line-height: 16px;
147
+ /* 133.333% */
148
+ letter-spacing: 0.4px;
149
+ }
150
+
151
+ /*
152
+ Utility classes requested by Certification Section and others.
153
+ Placed here so they are globally available, including in the
154
+ New Typography pages and all components that import this file.
155
+ */
156
+ .typo-medium-700 {
157
+ color: var(--Greys-700, #4B4F62);
158
+ font-family: 'Roboto', sans-serif !important;
159
+ font-size: 14px;
160
+ font-style: normal;
161
+ font-weight: 500;
162
+ line-height: 140%;
163
+ letter-spacing: 0.035px;
164
+ }
165
+
166
+ .typo-description {
167
+ color: var(--Greys-700, #4B4F62);
168
+ font-family: 'Roboto', sans-serif !important;
169
+ font-size: 14px;
170
+ font-style: normal;
171
+ font-weight: 400;
172
+ line-height: 140%;
173
+ letter-spacing: 0.035px;
174
+ }
175
+
176
+ /* Simple color utility for grey-500 */
177
+ .text-grey-500 {
178
+ color: $color-grey-500 !important;
179
+ }
180
+
181
+ /* Location text style - italic grey-600 */
182
+ .font-location-text {
183
+ color: $color-grey-600;
184
+ font-family: 'Roboto', sans-serif !important;
185
+ font-size: 16px;
186
+ font-style: italic;
187
+ font-weight: 400;
188
+ line-height: 140%;
189
+ /* 22.4px */
190
+ letter-spacing: 0.04px;
191
+ }
192
+
193
+ /* Job title / Course name style - bold grey-600 */
194
+ .font-title-text {
195
+ color: $color-grey-600;
196
+ font-family: 'Roboto', sans-serif !important;
197
+ font-size: 16px;
198
+ font-style: normal;
199
+ font-weight: 700;
200
+ line-height: 140%;
201
+ /* 22.4px */
202
+ letter-spacing: 0.04px;
203
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Utility functions for handling Material Icons, including fallback logic
3
+ * for icons that don't have outlined versions and icons with different names
4
+ * for their outlined versions.
5
+ */
6
+ /**
7
+ * Gets the effective icon name to use, considering outlined mappings.
8
+ * Some icons have different names for their outlined versions.
9
+ *
10
+ * @param iconName - The name of the Material Icon
11
+ * @param iconOutlined - Whether the outlined version is requested
12
+ * @returns The effective icon name to use
13
+ *
14
+ * @example
15
+ * getEffectiveIconName('favorite', true) // Returns 'favorite_border'
16
+ * getEffectiveIconName('favorite', false) // Returns 'favorite'
17
+ * getEffectiveIconName('star', true) // Returns 'star_border'
18
+ * getEffectiveIconName('visibility', true) // Returns 'visibility'
19
+ */
20
+ export declare function getEffectiveIconName(iconName: string, iconOutlined: boolean): string;
21
+ /**
22
+ * Determines the effective font set to use for a Material Icon.
23
+ *
24
+ * @param iconName - The name of the Material Icon
25
+ * @param iconOutlined - Whether the outlined version is requested
26
+ * @returns The font set to use: 'material-icons-outlined', 'material-icons', or 'material-symbols-outlined'
27
+ *
28
+ * @example
29
+ * getEffectiveFontSet('add', true) // Returns 'material-icons' (add has no outlined version)
30
+ * getEffectiveFontSet('visibility', true) // Returns 'material-icons-outlined' (if available)
31
+ * getEffectiveFontSet('favorite', true) // Returns 'material-icons' (uses favorite_border in material-icons)
32
+ * getEffectiveFontSet('network_node', false) // Returns 'material-symbols-outlined' (Material Symbols icon)
33
+ * getEffectiveFontSet('add', false) // Returns 'material-icons'
34
+ */
35
+ export declare function getEffectiveFontSet(iconName: string, iconOutlined: boolean): string;
36
+ /**
37
+ * Checks if an icon is known to have an outlined version available.
38
+ *
39
+ * @param iconName - The name of the Material Icon
40
+ * @returns true if the icon has an outlined version, false otherwise
41
+ */
42
+ export declare function hasOutlinedVersion(iconName: string): boolean;
43
+ /**
44
+ * Gets the effective iconOutlined value, considering whether the icon
45
+ * actually supports outlined versions.
46
+ *
47
+ * @param iconName - The name of the Material Icon
48
+ * @param iconOutlined - Whether the outlined version is requested
49
+ * @returns The effective iconOutlined value (may be false even if requested true)
50
+ */
51
+ export declare function getEffectiveIconOutlined(iconName: string, iconOutlined: boolean): boolean;
@@ -0,0 +1,54 @@
1
+ export declare const TABLE_ICONS: {
2
+ table: string;
3
+ 'add-table': string;
4
+ 'delete-table': string;
5
+ 'column-left': string;
6
+ 'column-right': string;
7
+ 'row-top': string;
8
+ 'row-bottom': string;
9
+ 'delete-column': string;
10
+ 'delete-row': string;
11
+ };
12
+ export declare const LEFT_AND_RIGHT_ICON_CONSTANTS: {
13
+ subrole: string;
14
+ subrole_active: string;
15
+ hide_section: string;
16
+ unhide_section: string;
17
+ edit_icon: string;
18
+ year_month_icon: string;
19
+ year_only_icon: string;
20
+ 'delete-icon': string;
21
+ handle: string;
22
+ search: string;
23
+ 'multi-drag-drop': string;
24
+ 'subrole-icon-grey': string;
25
+ };
26
+ export declare const Candidate_Section_ICON: {
27
+ candidate_name: string;
28
+ candidate_gender: string;
29
+ candidate_phonenumber: string;
30
+ candidate_email: string;
31
+ candidate_linkedin: string;
32
+ candidate_address: string;
33
+ candidate_experience: string;
34
+ candidate_most_recent: string;
35
+ };
36
+ export declare const NewResume_Header_Component_ICON: {
37
+ 'add-right_icon_section': string;
38
+ 'add_left-icon_section': string;
39
+ font_case_icon: string;
40
+ retry_AI_icon: string;
41
+ ordering_icon: string;
42
+ collapse_icon: string;
43
+ };
44
+ /**
45
+ * Gets an icon from Candidate_Section_ICON and converts it to a data URL format
46
+ * that can be used with the field-placeholder component.
47
+ *
48
+ * @param iconKey - The key from Candidate_Section_ICON (e.g., 'candidate_name', 'candidate_email')
49
+ * @returns A data URL string for the SVG icon, or undefined if the key doesn't exist
50
+ *
51
+ * @example
52
+ * getIconCandidateSection('candidate_name') // Returns 'data:image/svg+xml;charset=utf-8,...'
53
+ */
54
+ export declare function getIconCandidateSection(iconKey: keyof typeof Candidate_Section_ICON): string | undefined;
package/package.json CHANGED
@@ -1,14 +1,26 @@
1
1
  {
2
2
  "name": "@allsorter/ui-components",
3
- "version": "0.0.367",
3
+ "version": "0.0.370",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
- "@angular/core": "^18.0.0"
6
+ "@angular/core": "^18.0.0",
7
+ "@angular/material": "^18.0.0",
8
+ "@angular/cdk": "^18.0.0"
7
9
  },
8
10
  "dependencies": {
9
- "tslib": "^2.3.0"
11
+ "tslib": "^2.7.0"
10
12
  },
11
13
  "sideEffects": false,
14
+ "files": [
15
+ "fesm2022",
16
+ "lib",
17
+ "images",
18
+ "src",
19
+ "index.d.ts",
20
+ "public-api.d.ts",
21
+ "README.md",
22
+ "package.json"
23
+ ],
12
24
  "module": "fesm2022/allsorter-ui-components.mjs",
13
25
  "typings": "index.d.ts",
14
26
  "exports": {
package/public-api.d.ts CHANGED
@@ -4,8 +4,6 @@ export * from './lib/button/button.component';
4
4
  export * from './lib/button/button.module';
5
5
  export * from './lib/input/input.component';
6
6
  export * from './lib/input/input.module';
7
- export * from './lib/resume-header/resume-header.component';
8
- export * from './lib/resume-header/resume-header.module';
9
7
  export * from './lib/newresumeheader/newresumeheader.component';
10
8
  export * from './lib/newresumeheader/newresumeheader.module';
11
9
  export * from './lib/loader/loader.component';
@@ -21,7 +19,6 @@ export * from './lib/toggle-buttons/toggle-buttons.module';
21
19
  export * from './lib/slide-toggle/slide-toggle.component';
22
20
  export * from './lib/slide-toggle/slide-toggle.module';
23
21
  export * from './lib/ai-apply-bar/ai-apply-bar.component';
24
- export * from './lib/action-bar-wrapper/action-bar-wrapper.component';
25
22
  export * from './lib/responsive-layout/responsive-layout.component';
26
23
  export * from './lib/responsive-layout/responsive-layout.module';
27
24
  export * from './lib/custom-editor/custom-editor.component';
@@ -37,6 +34,7 @@ export * from './lib/shared-popup-modal/shared-popup-modal.module';
37
34
  export * from './lib/tooltip/tooltip.component';
38
35
  export * from './lib/tooltip/tooltip.module';
39
36
  export * from './lib/new-typography/new-typography.component';
37
+ export * from './lib/editable-form-wrapper/editable-form-wrapper.component';
40
38
  export * from './lib/field-placeholder/field-placeholder.component';
41
39
  export * from './lib/field-placeholder/field-placeholder.module';
42
40
  export * from './lib/responsive-columns/responsive-columns.component';
@@ -51,3 +49,5 @@ export * from './lib/app-toolbar/app-toolbar.component';
51
49
  export * from './lib/app-toolbar/app-toolbar.module';
52
50
  export * from './lib/app-toolbar-right/app-toolbar-right.component';
53
51
  export * from './lib/app-toolbar-right/app-toolbar-right.module';
52
+ export * from './lib/side-action-bar-wrapper/side-action-bar-wrapper.component';
53
+ export * from './lib/side-action-bar-wrapper/side-action-bar-wrapper.module';
@@ -0,0 +1,43 @@
1
+ <div class="ai-apply-wrap" [attr.data-test-id]="dataTestId">
2
+ <div class="ai-apply-rail">
3
+ <div class="ai-apply-row">
4
+ <div class="ai-apply-input">
5
+ <al-input
6
+ [labelText]="''"
7
+ [placeholder]="placeholder"
8
+ [value]="value"
9
+ [type]="'text'"
10
+ [disabled]="disabled"
11
+ [helperText]="false"
12
+ [leftIcon]="''"
13
+ [rightIcon]="'expand_more'"
14
+ [hasDropDown]="true"
15
+ [searchfilter]="true"
16
+ [multipleSelect]="false"
17
+ [options]="options"
18
+ [size]="'base'"
19
+ [types]="'plain'"
20
+ (change)="onValueChange($event)">
21
+ </al-input>
22
+ </div>
23
+
24
+ <div class="ai-apply-button">
25
+ <al-button [label]="applyLabel" [buttonType]="'icon-label'" [category]="'gradient'" [size]="'base'"
26
+ [state]="applyDisabled ? 'disabled' : 'default'" (onClick)="applyClick.emit()">
27
+ </al-button>
28
+ <al-icon-button *ngIf="showChevronButton" icon="chevron_right" [iconOutlined]="true" [customColour]="'#ffffff'"
29
+ [size]="'xl'" [disabled]="applyDisabled" (onClick)="chevronClick.emit()"
30
+ [dataTestId]="'icon-btn_Uwofs4q_3kWU'"></al-icon-button>
31
+ </div>
32
+ </div>
33
+
34
+ <div class="ai-apply-helper" *ngIf="showHelperText">
35
+ {{ helperText }}
36
+ </div>
37
+ </div>
38
+ <div class="ai-apply-close" *ngIf="showClose">
39
+ <al-button [iconOnly]="true" [buttonType]="'icon-circle'" [leftIcon]="'close'" [category]="'grey'" [size]="'base'"
40
+ (onClick)="closeClick.emit()">
41
+ </al-button>
42
+ </div>
43
+ </div>