@abcagency/hc-ui-components 1.3.22 → 1.3.23

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 (174) hide show
  1. package/package.json +4 -1
  2. package/.env +0 -3
  3. package/.eslintrc +0 -136
  4. package/bundleDist/bundle.js +0 -28145
  5. package/bundleDist/bundle.js.map +0 -1
  6. package/bundleDist/dist/styles/index.css +0 -3
  7. package/bundleDist/dist/types/apis/hcApi.d.ts +0 -5
  8. package/bundleDist/dist/types/clientToken.d.ts +0 -2
  9. package/bundleDist/dist/types/components/containers/accordions/map-accordion-item-container.d.ts +0 -12
  10. package/bundleDist/dist/types/components/containers/jobListing/listing-details-container.d.ts +0 -6
  11. package/bundleDist/dist/types/components/containers/list/item-list-container.d.ts +0 -9
  12. package/bundleDist/dist/types/components/containers/list/list-item/list-item-container.d.ts +0 -14
  13. package/bundleDist/dist/types/components/modules/accordions/MapAccordionItem.d.ts +0 -10
  14. package/bundleDist/dist/types/components/modules/accordions/default.d.ts +0 -19
  15. package/bundleDist/dist/types/components/modules/buttons/button-group-apply.d.ts +0 -24
  16. package/bundleDist/dist/types/components/modules/buttons/commute-pill.d.ts +0 -5
  17. package/bundleDist/dist/types/components/modules/buttons/default.d.ts +0 -48
  18. package/bundleDist/dist/types/components/modules/buttons/pill-wrapper.d.ts +0 -3
  19. package/bundleDist/dist/types/components/modules/dialogs/apply-dialog.d.ts +0 -8
  20. package/bundleDist/dist/types/components/modules/filter/sort.d.ts +0 -8
  21. package/bundleDist/dist/types/components/modules/grid.d.ts +0 -8
  22. package/bundleDist/dist/types/components/modules/icon.d.ts +0 -10
  23. package/bundleDist/dist/types/components/modules/jobListing/listing-details.d.ts +0 -18
  24. package/bundleDist/dist/types/components/modules/list/field-mapper.d.ts +0 -10
  25. package/bundleDist/dist/types/components/modules/list/header-item.d.ts +0 -11
  26. package/bundleDist/dist/types/components/modules/list/header.d.ts +0 -11
  27. package/bundleDist/dist/types/components/modules/list/item-expand-card/index.d.ts +0 -7
  28. package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-contact-nav.d.ts +0 -17
  29. package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-details.d.ts +0 -21
  30. package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-headshot.d.ts +0 -8
  31. package/bundleDist/dist/types/components/modules/list/item-list.d.ts +0 -20
  32. package/bundleDist/dist/types/components/modules/list/list-item/list-item.d.ts +0 -3
  33. package/bundleDist/dist/types/constants/eventTypes.d.ts +0 -13
  34. package/bundleDist/dist/types/contexts/mapContext.d.ts +0 -29
  35. package/bundleDist/dist/types/contexts/mapListContext.d.ts +0 -59
  36. package/bundleDist/dist/types/contexts/trackEventContext.d.ts +0 -6
  37. package/bundleDist/dist/types/enums/SectionType.d.ts +0 -9
  38. package/bundleDist/dist/types/hooks/useList.d.ts +0 -13
  39. package/bundleDist/dist/types/services/configService.d.ts +0 -6
  40. package/bundleDist/dist/types/services/googlePlacesNearbyService.d.ts +0 -5
  41. package/bundleDist/dist/types/services/listingAggregatorService.d.ts +0 -12
  42. package/bundleDist/dist/types/services/listingEntityService.d.ts +0 -6
  43. package/bundleDist/dist/types/services/listingService.d.ts +0 -9
  44. package/bundleDist/dist/types/services/recruiterService.d.ts +0 -6
  45. package/bundleDist/dist/types/types/Address.d.ts +0 -7
  46. package/bundleDist/dist/types/types/ContentSection.d.ts +0 -8
  47. package/bundleDist/dist/types/types/GetListingParams.d.ts +0 -8
  48. package/bundleDist/dist/types/types/LatLng.d.ts +0 -4
  49. package/bundleDist/dist/types/types/ListingEntity.d.ts +0 -10
  50. package/bundleDist/dist/types/types/ListingFields.d.ts +0 -25
  51. package/bundleDist/dist/types/types/Listings.d.ts +0 -31
  52. package/bundleDist/dist/types/types/Recruiter.d.ts +0 -9
  53. package/bundleDist/dist/types/types/SimilarListing.d.ts +0 -24
  54. package/bundleDist/dist/types/types/config/Colors.d.ts +0 -8
  55. package/bundleDist/dist/types/types/config/MapConfig.d.ts +0 -30
  56. package/bundleDist/dist/types/types/config/PointsOfInterestConfig.d.ts +0 -13
  57. package/bundleDist/dist/types/types/config/SearchConfig.d.ts +0 -4
  58. package/bundleDist/dist/types/util/filterUtil.d.ts +0 -28
  59. package/bundleDist/dist/types/util/loading.d.ts +0 -3
  60. package/bundleDist/dist/types/util/localStorageUtil.d.ts +0 -3
  61. package/bundleDist/dist/types/util/mapUtil.d.ts +0 -15
  62. package/bundleDist/dist/types/util/sortUtil.d.ts +0 -1
  63. package/bundleDist/dist/types/util/stringUtils.d.ts +0 -1
  64. package/bundleDist/dist/types/util/urlFilterUtil.d.ts +0 -8
  65. package/bundleDist/styles/index.css +0 -3
  66. package/bundleDist.map +0 -1
  67. package/jsconfig.json +0 -7
  68. package/postcss.config.js +0 -14
  69. package/preset.default.js +0 -15
  70. package/rollup.config.mjs +0 -111
  71. package/src/.editorconfig +0 -12
  72. package/src/apis/hcApi.ts +0 -109
  73. package/src/bundleIndex.js +0 -14
  74. package/src/clientToken.js +0 -9
  75. package/src/components/HireControlMap.js +0 -135
  76. package/src/components/containers/accordions/filter-container.js +0 -48
  77. package/src/components/containers/accordions/filter-item-container.js +0 -66
  78. package/src/components/containers/accordions/map-accordion-item-container.js +0 -70
  79. package/src/components/containers/filter/commute-container.js +0 -89
  80. package/src/components/containers/filter/filter-container.js +0 -76
  81. package/src/components/containers/filter/filter-item-container.js +0 -71
  82. package/src/components/containers/filter/location-container.js +0 -45
  83. package/src/components/containers/filter/points-of-interest-container.js +0 -33
  84. package/src/components/containers/filter/points-of-interest-radio-item-container.js +0 -35
  85. package/src/components/containers/filter/search-container.js +0 -50
  86. package/src/components/containers/jobListing/listing-details-container.js +0 -40
  87. package/src/components/containers/list/item-list-container.tsx +0 -81
  88. package/src/components/containers/list/list-item/list-item-container.js +0 -43
  89. package/src/components/containers/maps/info-window-content-container.js +0 -51
  90. package/src/components/containers/maps/map-container.js +0 -204
  91. package/src/components/containers/maps/map-list-container.js +0 -48
  92. package/src/components/containers/maps/map-marker-container.js +0 -78
  93. package/src/components/modules/accordions/MapAccordionItem.js +0 -30
  94. package/src/components/modules/accordions/default.js +0 -171
  95. package/src/components/modules/accordions/filterItem.js +0 -27
  96. package/src/components/modules/accordions/filters.js +0 -32
  97. package/src/components/modules/buttons/button-group-apply.js +0 -123
  98. package/src/components/modules/buttons/commute-pill.js +0 -22
  99. package/src/components/modules/buttons/default.js +0 -194
  100. package/src/components/modules/buttons/items-pill.js +0 -35
  101. package/src/components/modules/buttons/pill-wrapper.js +0 -27
  102. package/src/components/modules/buttons/show-all-button.js +0 -20
  103. package/src/components/modules/cards/default.js +0 -167
  104. package/src/components/modules/cards/filter.js +0 -56
  105. package/src/components/modules/dialogs/apply-dialog.js +0 -48
  106. package/src/components/modules/filter/commute.js +0 -108
  107. package/src/components/modules/filter/index.js +0 -55
  108. package/src/components/modules/filter/item.js +0 -48
  109. package/src/components/modules/filter/location.js +0 -48
  110. package/src/components/modules/filter/radio-item.js +0 -42
  111. package/src/components/modules/filter/search.js +0 -65
  112. package/src/components/modules/filter/sort.js +0 -83
  113. package/src/components/modules/grid.js +0 -54
  114. package/src/components/modules/icon.js +0 -33
  115. package/src/components/modules/jobListing/listing-details.js +0 -109
  116. package/src/components/modules/list/field-mapper.js +0 -114
  117. package/src/components/modules/list/header-item.js +0 -91
  118. package/src/components/modules/list/header.js +0 -49
  119. package/src/components/modules/list/item-expand-card/index.js +0 -22
  120. package/src/components/modules/list/item-expand-card/recruiter-contact-nav.js +0 -50
  121. package/src/components/modules/list/item-expand-card/recruiter-details.js +0 -68
  122. package/src/components/modules/list/item-expand-card/recruiter-headshot.js +0 -22
  123. package/src/components/modules/list/item-list.tsx +0 -84
  124. package/src/components/modules/list/list-item/list-item.js +0 -130
  125. package/src/components/modules/maps/info-window-card.js +0 -17
  126. package/src/components/modules/maps/info-window-content.js +0 -35
  127. package/src/components/modules/maps/map-list.js +0 -28
  128. package/src/components/modules/maps/map-marker.js +0 -29
  129. package/src/components/modules/maps/map.js +0 -76
  130. package/src/components/modules/maps/place-marker.js +0 -41
  131. package/src/components/modules/maps/tabs.js +0 -81
  132. package/src/constants/eventTypes.js +0 -13
  133. package/src/constants/placeTypes.js +0 -8
  134. package/src/contexts/mapContext.tsx +0 -129
  135. package/src/contexts/mapListContext.tsx +0 -311
  136. package/src/contexts/placesContext.js +0 -102
  137. package/src/contexts/trackEventContext.js +0 -14
  138. package/src/enums/SectionType.ts +0 -9
  139. package/src/hooks/useList.js +0 -89
  140. package/src/index.js +0 -3
  141. package/src/services/configService.ts +0 -16
  142. package/src/services/googlePlacesNearbyService.ts +0 -42
  143. package/src/services/listingAggregatorService.ts +0 -76
  144. package/src/services/listingEntityService.ts +0 -16
  145. package/src/services/listingService.ts +0 -40
  146. package/src/services/recruiterService.ts +0 -18
  147. package/src/styles/bundle.css +0 -268
  148. package/src/styles/index.css +0 -24
  149. package/src/types/Address.ts +0 -7
  150. package/src/types/ContentSection.ts +0 -9
  151. package/src/types/GetListingParams.ts +0 -8
  152. package/src/types/LatLng.ts +0 -4
  153. package/src/types/ListingEntity.ts +0 -11
  154. package/src/types/ListingFields.ts +0 -25
  155. package/src/types/Listings.ts +0 -32
  156. package/src/types/Recruiter.ts +0 -9
  157. package/src/types/SimilarListing.ts +0 -24
  158. package/src/types/config/Colors.ts +0 -8
  159. package/src/types/config/MapConfig.ts +0 -31
  160. package/src/types/config/PointsOfInterestConfig.ts +0 -13
  161. package/src/types/config/SearchConfig.ts +0 -4
  162. package/src/util/arrayUtil.js +0 -3
  163. package/src/util/fieldMapper.js +0 -22
  164. package/src/util/filterUtil.js +0 -239
  165. package/src/util/loading.js +0 -17
  166. package/src/util/localStorageUtil.ts +0 -34
  167. package/src/util/mapIconUtil.js +0 -180
  168. package/src/util/mapUtil.js +0 -91
  169. package/src/util/sortUtil.js +0 -33
  170. package/src/util/stringUtils.js +0 -6
  171. package/src/util/urlFilterUtil.js +0 -85
  172. package/stats.html +0 -4842
  173. package/tailwind.config.js +0 -129
  174. package/tsconfig.json +0 -23
@@ -1,40 +0,0 @@
1
- // listingService.ts
2
- import { GetListingsParams } from '~/types/GetListingParams';
3
- import api from '../apis/hcApi';
4
- import { Listing } from '../types/Listings';
5
-
6
- export const getListings = async (params?: GetListingsParams): Promise<Listing[]> => {
7
- try {
8
- const query = new URLSearchParams();
9
-
10
- if (params) {
11
- if (params.location) params.location.forEach(loc => query.append('location', loc));
12
- if (params.category) params.category.forEach(cat => query.append('category', cat));
13
- if (params.categoryClass) params.categoryClass.forEach(catClass => query.append('categoryClass', catClass));
14
- if (params.education) params.education.forEach(edu => query.append('education', edu));
15
- if (params.city) params.city.forEach(cty => query.append('city', cty));
16
- if (params.state) params.state.forEach(st => query.append('state', st));
17
- }
18
-
19
- const response = await api.get(`/Listings?${query.toString()}`);
20
- return response as Listing[];
21
- } catch (error) {
22
- console.error(error);
23
- throw error;
24
- }
25
- };
26
-
27
- export const getListingDetails = async (listingId: string) => {
28
- try {
29
- const response = await api.get(`/ListingDetails/${listingId}`);
30
- return response;
31
- } catch (error) {
32
- console.error(error);
33
- throw error;
34
- }
35
- };
36
-
37
- export default {
38
- getListings,
39
- getListingDetails
40
- };
@@ -1,18 +0,0 @@
1
- import api from '~/apis/hcApi';
2
- import { Recruiter } from '~/types/Recruiter';
3
-
4
- export const getRecruiters = async (recruiterIds: number[]): Promise<Recruiter[]> => {
5
- try {
6
- const params = recruiterIds.map(id => `recruiterIds=${id}`).join("&");
7
-
8
- const response = await api.get<Recruiter[]>(`/Recruiters?${params}`);
9
- return response;
10
- } catch (error) {
11
- console.error("Error fetching recruiters:", error);
12
- throw error;
13
- }
14
- };
15
-
16
- export default {
17
- getRecruiters
18
- };
@@ -1,268 +0,0 @@
1
- /* Custom prefixed styles */
2
- @tailwind base;
3
- @tailwind components;
4
- @tailwind utilities;
5
- .hc-bundle html {
6
- font-size: 14px;
7
- }
8
-
9
- @media (min-width: 768px) {
10
- .hc-bundle html {
11
- font-size: 16px;
12
- }
13
- }
14
-
15
- .hc-bundle .btn:focus, .hc-bundle .btn:active:focus, .hc-bundle .btn-link.nav-link:focus, .hc-bundle .form-control:focus, .hc-bundle .form-check-input:focus {
16
- box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
17
- }
18
-
19
- .hc-bundle html {
20
- position: relative;
21
- min-height: 100%;
22
- }
23
-
24
- .hc-bundle body {
25
- margin-bottom: 60px;
26
- }
27
-
28
- .hc-bundle *, .hc-bundle :after, .hc-bundle :before {
29
- border: 0 solid #e5e7eb;
30
- box-sizing: border-box;
31
- }
32
-
33
- .hc-bundle :after, .hc-bundle :before {
34
- --tw-content: "";
35
- }
36
-
37
- .hc-bundle :host, .hc-bundle html {
38
- -webkit-text-size-adjust: 100%;
39
- font-feature-settings: normal;
40
- -webkit-tap-highlight-color: transparent;
41
- font-family: var(--font-roboto-flex), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
42
- font-variation-settings: normal;
43
- line-height: 1.5;
44
- -moz-tab-size: 4;
45
- -o-tab-size: 4;
46
- tab-size: 4;
47
- }
48
-
49
-
50
- .hc-bundle hr {
51
- border-top-width: 1px;
52
- color: inherit;
53
- height: 0;
54
- }
55
-
56
- .hc-bundle abbr:where([title]) {
57
- -webkit-text-decoration: underline dotted;
58
- text-decoration: underline dotted;
59
- }
60
-
61
-
62
- .hc-bundle a {
63
- color: inherit;
64
- text-decoration: inherit;
65
- }
66
-
67
- .hc-bundle b, .hc-bundle strong {
68
- font-weight: bolder;
69
- }
70
-
71
- .hc-bundle code, .hc-bundle kbd, .hc-bundle pre, .hc-bundle samp {
72
- font-feature-settings: normal;
73
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
74
- font-size: 1em;
75
- font-variation-settings: normal;
76
- }
77
-
78
- .hc-bundle small {
79
- font-size: 80%;
80
- }
81
-
82
- .hc-bundle sub, .hc-bundle sup {
83
- font-size: 75%;
84
- line-height: 0;
85
- position: relative;
86
- vertical-align: baseline;
87
- }
88
-
89
- .hc-bundle sub {
90
- bottom: -.25em;
91
- }
92
-
93
- .hc-bundle sup {
94
- top: -.5em;
95
- }
96
-
97
- .hc-bundle table {
98
- border-collapse: collapse;
99
- border-color: inherit;
100
- text-indent: 0;
101
- }
102
-
103
- .hc-bundle button, .hc-bundle input, .hc-bundle optgroup, .hc-bundle select, .hc-bundle textarea {
104
- font-feature-settings: inherit;
105
- color: inherit;
106
- font-family: inherit;
107
- font-size: 100%;
108
- font-variation-settings: inherit;
109
- font-weight: inherit;
110
- letter-spacing: inherit;
111
- line-height: inherit;
112
- margin: 0;
113
- padding: 0;
114
- }
115
-
116
- .hc-bundle button, .hc-bundle select {
117
- text-transform: none;
118
- }
119
-
120
- .hc-bundle button, .hc-bundle input:where([type=button]), .hc-bundle input:where([type=reset]), .hc-bundle input:where([type=submit]) {
121
- -webkit-appearance: button;
122
- background-color: transparent;
123
- background-image: none;
124
- }
125
-
126
- .hc-bundle :-moz-focusring {
127
- outline: auto;
128
- }
129
-
130
- .hc-bundle :-moz-ui-invalid {
131
- box-shadow: none;
132
- }
133
-
134
- .hc-bundle progress {
135
- vertical-align: baseline;
136
- }
137
-
138
- .hc-bundle ::-webkit-inner-spin-button, .hc-bundle ::-webkit-outer-spin-button {
139
- height: auto;
140
- }
141
-
142
- .hc-bundle [type=search] {
143
- -webkit-appearance: textfield;
144
- outline-offset: -2px;
145
- }
146
-
147
- .hc-bundle ::-webkit-search-decoration {
148
- -webkit-appearance: none;
149
- }
150
-
151
- .hc-bundle ::-webkit-file-upload-button {
152
- -webkit-appearance: button;
153
- font: inherit;
154
- }
155
-
156
- .hc-bundle summary {
157
- display: list-item;
158
- }
159
-
160
- .hc-bundle textarea {
161
- resize: vertical;
162
- }
163
-
164
- .hc-bundle input::-moz-placeholder, .hc-bundle textarea::-moz-placeholder {
165
- color: #9ca3af;
166
- }
167
-
168
- .hc-bundle input::placeholder, .hc-bundle textarea::placeholder {
169
- color: #9ca3af;
170
- }
171
-
172
- .hc-bundle [role=button], .hc-bundle button {
173
- cursor: pointer;
174
- }
175
-
176
- .hc-bundle :disabled {
177
- cursor: default;
178
- }
179
-
180
- .hc-bundle audio, .hc-bundle canvas, .hc-bundle embed, .hc-bundle iframe, .hc-bundle img, .hc-bundle object, .hc-bundle svg, .hc-bundle video {
181
- display: block;
182
- vertical-align: middle;
183
- }
184
-
185
- .hc-bundle img, .hc-bundle video {
186
- height: auto;
187
- max-width: 100%;
188
- }
189
-
190
- .hc-bundle [hidden] {
191
- display: none;
192
- }
193
-
194
- .hc-bundle [multiple], .hc-bundle [type=date], .hc-bundle [type=datetime-local], .hc-bundle [type=email], .hc-bundle [type=month], .hc-bundle [type=number], .hc-bundle [type=password], .hc-bundle [type=search], .hc-bundle [type=tel], .hc-bundle [type=text], .hc-bundle [type=time], .hc-bundle [type=url], .hc-bundle [type=week], .hc-bundle input:where(:not([type])), .hc-bundle select, .hc-bundle textarea {
195
- --tw-shadow: 0 0 #0000;
196
- -webkit-appearance: none;
197
- -moz-appearance: none;
198
- appearance: none;
199
- background-color: #fff;
200
- border-color: #6b7280;
201
- border-radius: 0;
202
- border-width: 1px;
203
- font-size: 1rem;
204
- line-height: 1.5rem;
205
- padding: .5rem .75rem;
206
- }
207
-
208
- .hc-bundle [multiple]:focus, .hc-bundle [type=date]:focus, .hc-bundle [type=datetime-local]:focus, .hc-bundle [type=email]:focus, .hc-bundle [type=month]:focus, .hc-bundle [type=number]:focus, .hc-bundle [type=password]:focus, .hc-bundle [type=search]:focus, .hc-bundle [type=tel]:focus, .hc-bundle [type=text]:focus, .hc-bundle [type=time]:focus, .hc-bundle [type=url]:focus, .hc-bundle [type=week]:focus, .hc-bundle input:where(:not([type])):focus, .hc-bundle select:focus, .hc-bundle textarea:focus {
209
- --tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
210
- --tw-ring-offset-width: 0px;
211
- --tw-ring-offset-color: #fff;
212
- --tw-ring-color: #2563eb;
213
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
214
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
215
- border-color: #2563eb;
216
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
217
- outline: 2px solid transparent;
218
- outline-offset: 2px;
219
- }
220
-
221
- .hc-bundle input::-moz-placeholder, .hc-bundle textarea::-moz-placeholder {
222
- color: #6b7280;
223
- opacity: 1;
224
- }
225
-
226
- .hc-bundle input::placeholder, .hc-bundle textarea::placeholder {
227
- color: #6b7280;
228
- opacity: 1;
229
- }
230
-
231
- .hc-bundle ::-webkit-datetime-edit-fields-wrapper {
232
- padding: 0;
233
- }
234
-
235
- .hc-bundle ::-webkit-date-and-time-value {
236
- min-height: 1.5em;
237
- text-align: inherit;
238
- }
239
-
240
- .hc-bundle ::-webkit-datetime-edit {
241
- display: inline-flex;
242
- }
243
-
244
- .hc-bundle ::-webkit-datetime-edit, .hc-bundle ::-webkit-datetime-edit-day-field, .hc-bundle ::-webkit-datetime-edit-hour-field, .hc-bundle ::-webkit-datetime-edit-meridiem-field, .hc-bundle ::-webkit-datetime-edit-millisecond-field, .hc-bundle ::-webkit-datetime-edit-minute-field, .hc-bundle ::-webkit-datetime-edit-month-field, .hc-bundle ::-webkit-datetime-edit-second-field, .hc-bundle ::-webkit-datetime-edit-year-field {
245
- padding-bottom: 0;
246
- padding-top: 0;
247
- }
248
-
249
- .hc-bundle select {
250
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
251
- background-position: right .5rem center;
252
- background-repeat: no-repeat;
253
- background-size: 1.5em 1.5em;
254
- padding-right: 2.5rem;
255
- -webkit-print-color-adjust: exact;
256
- print-color-adjust: exact;
257
- }
258
-
259
- .hc-bundle [multiple], .hc-bundle [size]:where(select:not([size="1"])) {
260
- background-image: none;
261
- background-position: 0 0;
262
- background-repeat: unset;
263
- background-size: auto auto;
264
- background-size: initial;
265
- padding-right: .75rem;
266
- -webkit-print-color-adjust: unset;
267
- print-color-adjust: unset;
268
- }
@@ -1,24 +0,0 @@
1
- @config "../../tailwind.config.js";
2
- @tailwind base;
3
- @tailwind components;
4
- @tailwind utilities;
5
-
6
- @layer base {
7
- html {
8
- @apply hc-text-400 hc-text-uiText [scroll-behavior:smooth];
9
- }
10
- }
11
-
12
- @layer components {
13
- .track * {
14
- @apply hc-pointer-events-none;
15
- }
16
-
17
- .stretched-link::after {
18
- @apply hc-content-[''] hc-absolute hc-inset-0 hc-z-[1] hc-pointer-events-auto hc-bg-transparent;
19
- }
20
- }
21
-
22
- .fit-content{
23
- height:fit-content;
24
- }
@@ -1,7 +0,0 @@
1
- export type Address = {
2
- location?: string;
3
- street?: string;
4
- city?: string;
5
- state?: string;
6
- zip?: string;
7
- }
@@ -1,9 +0,0 @@
1
- import { SectionType } from '../enums/SectionType';
2
-
3
- export type ContentSection = {
4
- title?: string;
5
- contentFormatted?: string;
6
- contentRaw?: string;
7
- sectionType: SectionType;
8
- sortIndex: number;
9
- }
@@ -1,8 +0,0 @@
1
- export type GetListingsParams = {
2
- location?: string[];
3
- category?: string[];
4
- categoryClass?: string[];
5
- education?: string[];
6
- city?: string[];
7
- state?: string[];
8
- };
@@ -1,4 +0,0 @@
1
- export type LatLng = {
2
- lat: number;
3
- lng: number;
4
- }
@@ -1,11 +0,0 @@
1
- import { Address } from './Address';
2
-
3
- export type ListingEntity = {
4
- id: number;
5
- listingId: number;
6
- latitude: number;
7
- longitude: number;
8
- entityDisplayName?: string;
9
- address?: Address;
10
- travelTime?: string;
11
- }
@@ -1,25 +0,0 @@
1
- export type ListingFields = {
2
- posted?: string;
3
- subTitle?: string;
4
- education?: string;
5
- position?: string;
6
- category?: string;
7
- categoryClass?: string;
8
- shift?: string;
9
- custom1?: string;
10
- custom2?: string;
11
- custom3?: string;
12
- custom4?: string;
13
- custom5?: string;
14
- cityState?: string;
15
- city?: string;
16
- state?: string;
17
- schedule?: string;
18
- customFlag1?: number;
19
- bonus?: number;
20
- remote?: number;
21
- useClientJobUrl?: boolean;
22
- dateCreated: Date;
23
- dateLastEdited?: Date;
24
- travelTime?: string;
25
- }
@@ -1,32 +0,0 @@
1
- import { ListingFields } from './ListingFields';
2
- import { Recruiter } from './Recruiter';
3
- import { ListingEntity } from './ListingEntity';
4
- import { ContentSection } from './ContentSection';
5
- import { SimilarListing } from './SimilarListing';
6
-
7
- export type Listing = {
8
- id: number;
9
- fields?: ListingFields;
10
- entityId?: number;
11
- applyUrl?: string;
12
- applyOnline?: number;
13
- detailsUrl?: string;
14
- displayOnSite: number;
15
- displayRecruiter: number;
16
- recruiterId?: number;
17
- description1?: string;
18
- description2?: string;
19
- description3?: string;
20
- description4?: string;
21
- custom1: string;
22
- custom2: string;
23
- custom3: string;
24
- custom4: string;
25
- custom5: string;
26
- customFlag1: number;
27
- slug?: string;
28
- recruiter?: Recruiter;
29
- entity?: ListingEntity;
30
- contentSections?: ContentSection[];
31
- similarListings?: SimilarListing[];
32
- }
@@ -1,9 +0,0 @@
1
- export type Recruiter = {
2
- id?: number;
3
- email?: string;
4
- firstName?: string;
5
- lastName?: string;
6
- linkedInUrl?: string;
7
- mobilePhone?: string;
8
- headshot?: string;
9
- }
@@ -1,24 +0,0 @@
1
- export type SimilarListing = {
2
- id: number;
3
- city: string;
4
- companyName: string;
5
- companyId: number;
6
- domain: string;
7
- refreshedPubDate?: Date;
8
- clientJobUrl: string;
9
- refreshNum: number;
10
- requestURI: string;
11
- schedule: string;
12
- scheduleId?: number;
13
- shift: string;
14
- sponsored: boolean;
15
- stateAbbrev: string;
16
- subTitle: string;
17
- title: string;
18
- uniqueId: string;
19
- zip: string;
20
- slug?: string;
21
- dateCreated: Date;
22
- categoryId: number;
23
- categoryClassId: number;
24
- };
@@ -1,8 +0,0 @@
1
- export type Colors = {
2
- uiText: string;
3
- uiAccent: string;
4
- primary: string;
5
- primaryDark: string;
6
- secondary: string;
7
- secondaryDark: string;
8
- }
@@ -1,31 +0,0 @@
1
- import { Colors } from "./Colors";
2
- import { PointsOfInterestConfig } from "./PointsOfInterestConfig";
3
- import { SearchConfig } from "./SearchConfig";
4
-
5
- export type MapConfig = {
6
- title: string;
7
- titleShort: string;
8
- description: string;
9
- jobsDomain: string;
10
- useDetailsPostMessage: boolean;
11
- author: string;
12
- url: string;
13
- logo: string;
14
- companyName: string;
15
- shareImage: string;
16
- clientAuthKey: string;
17
- colors: Colors;
18
- hideLocations: boolean;
19
- fieldsShown: string[];
20
- fieldFiltersShown: string[];
21
- locationFiltersShown: string[];
22
- fieldNames: Record<string, string>;
23
- specialFeatures: Record<string, string>;
24
- searchConfig: SearchConfig;
25
- internalApplyLink: string;
26
- useApplyDialog: boolean;
27
- pointsOfInterestConfig: PointsOfInterestConfig;
28
- showMap: boolean;
29
- companyId: string;
30
- SubcategoryRequireCategory:boolean;
31
- }
@@ -1,13 +0,0 @@
1
- export type PointsOfInterestConfig = {
2
- title: string;
3
- pointsOfInterestNames: Record<string, string>;
4
- pointsOfInterestIcons: Record<string, string>;
5
- placeMarkerColors: {
6
- innerFillColor: string;
7
- innerStrokeColor: string;
8
- outerFillColor: string;
9
- outerStrokeColor: string;
10
- };
11
- placeMarkerSize: number;
12
- placeMappings: Record<string, string[]>;
13
- }
@@ -1,4 +0,0 @@
1
- export type SearchConfig = {
2
- label: string;
3
- placeholder: string;
4
- }
@@ -1,3 +0,0 @@
1
- export const onlyUnique = (value, index, array) => {
2
- return array.indexOf(value) === index;
3
- };
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
-
3
- import Grid from '~/components/modules/grid';
4
-
5
- import { capitalize } from '~/util/stringUtils';
6
-
7
- const mapFieldsToGridItems = (item, fieldsShown) => {
8
- const orderedFields = fieldsShown.filter(field => field in item.fields);
9
-
10
- return orderedFields.map(field => {
11
- let value = item.fields[field];
12
-
13
- return (
14
- <Grid.Item key={field}>
15
- <span className="hc-sr-only">{capitalize(field)}</span>
16
- {value}
17
- </Grid.Item>
18
- );
19
- });
20
- };
21
-
22
- export default mapFieldsToGridItems;