@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,129 +0,0 @@
1
- const defaultTheme = require("tailwindcss/defaultTheme");
2
-
3
- module.exports = {
4
- prefix: "hc-",
5
- content: [
6
- './src/components/**/*.{js,ts,jsx,tsx,mdx}'
7
- ],
8
- presets: [require(`./preset.default.js`)],
9
- theme: {
10
- extend: {
11
- animation: {
12
- slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
13
- slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
14
- overlayShow: "overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
15
- contentShow: "contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)"
16
- },
17
- container: {
18
- center: true
19
- },
20
- cursor: {
21
- grab: "grab"
22
- },
23
- maxHeight: {
24
- "45vh": "45vh"
25
- },
26
- colors: {
27
- gray: {
28
- 850: "#141414"
29
- }
30
- },
31
- fontFamily: {
32
- sans: ["var(--font-roboto-flex)", ...defaultTheme.fontFamily.sans]
33
- },
34
- fontSize: {
35
- "2xs": "0.65rem",
36
- 300: "clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem)",
37
- 400: "clamp(0.88rem, 0.83rem + 0.24vw, 1rem)",
38
- 450: "clamp(1rem, 1rem + 0.33vw, 1.33rem)",
39
- 500: "clamp(1.09rem, 1rem + 0.47vw, 1.33rem)",
40
- 600: "clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem)",
41
- 700: "clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem)",
42
- 800: "clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem)",
43
- 900: "clamp(2.67rem, 2.07rem + 3vw, 4.21rem)",
44
- 1000: "clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem)"
45
- },
46
- keyframes: {
47
- slideDown: {
48
- from: { height: 0 },
49
- to: { height: "var(--radix-accordion-content-height)" }
50
- },
51
- slideUp: {
52
- from: { height: "var(--radix-accordion-content-height)" },
53
- to: { height: 0 }
54
- },
55
- overlayShow: {
56
- from: { opacity: 0 },
57
- to: { opacity: 1 }
58
- },
59
- contentShow: {
60
- from: { opacity: 0, transform: "scale(0.96)" },
61
- to: { opacity: 1, transform: "scale(1)" }
62
- }
63
- },
64
- typography: {
65
- DEFAULT: {
66
- css: {
67
- video: {
68
- "margin-bottom": 0,
69
- "margin-top": 0
70
- }
71
- }
72
- },
73
- sm: {
74
- css: {
75
- video: {
76
- "margin-bottom": 0,
77
- "margin-top": 0
78
- }
79
- }
80
- },
81
- md: {
82
- css: {
83
- video: {
84
- "margin-bottom": 0,
85
- "margin-top": 0
86
- }
87
- }
88
- },
89
- lg: {
90
- css: {
91
- video: {
92
- "margin-bottom": 0,
93
- "margin-top": 0
94
- }
95
- }
96
- },
97
- xl: {
98
- css: {
99
- video: {
100
- "margin-bottom": 0,
101
- "margin-top": 0
102
- }
103
- }
104
- },
105
- "2xl": {
106
- css: {
107
- video: {
108
- "margin-bottom": 0,
109
- "margin-top": 0
110
- }
111
- }
112
- }
113
- },
114
- zIndex: {
115
- "-1": "-1",
116
- 1: "1"
117
- }
118
- }
119
- },
120
- plugins: [
121
- require("@tailwindcss/aspect-ratio"),
122
- require("@tailwindcss/forms"),
123
- require("@tailwindcss/typography"),
124
- require("tailwindcss-animate")
125
- ]//,
126
- // corePlugins: {
127
- // preflight: true //Set to false to help with style clashing
128
- // }
129
- };
package/tsconfig.json DELETED
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "./dist",
4
- "rootDir": "./src",
5
- "declaration": true,
6
- "declarationDir": "./dist/types",
7
- "strict": true,
8
- "esModuleInterop": true,
9
- "skipLibCheck": true,
10
- "forceConsistentCasingInFileNames": true,
11
- "target": "ESNext",
12
- "module": "ESNext",
13
- "moduleResolution": "node",
14
- "allowJs": true,
15
- "baseUrl": "./",
16
- "jsx": "react",
17
- "paths": {
18
- "~/*": ["./src/*"]
19
- }
20
- },
21
- "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.js", "src/**/*.jsx"],
22
- "exclude": ["node_modules", "dist"]
23
- }