@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.
- package/package.json +4 -1
- package/.env +0 -3
- package/.eslintrc +0 -136
- package/bundleDist/bundle.js +0 -28145
- package/bundleDist/bundle.js.map +0 -1
- package/bundleDist/dist/styles/index.css +0 -3
- package/bundleDist/dist/types/apis/hcApi.d.ts +0 -5
- package/bundleDist/dist/types/clientToken.d.ts +0 -2
- package/bundleDist/dist/types/components/containers/accordions/map-accordion-item-container.d.ts +0 -12
- package/bundleDist/dist/types/components/containers/jobListing/listing-details-container.d.ts +0 -6
- package/bundleDist/dist/types/components/containers/list/item-list-container.d.ts +0 -9
- package/bundleDist/dist/types/components/containers/list/list-item/list-item-container.d.ts +0 -14
- package/bundleDist/dist/types/components/modules/accordions/MapAccordionItem.d.ts +0 -10
- package/bundleDist/dist/types/components/modules/accordions/default.d.ts +0 -19
- package/bundleDist/dist/types/components/modules/buttons/button-group-apply.d.ts +0 -24
- package/bundleDist/dist/types/components/modules/buttons/commute-pill.d.ts +0 -5
- package/bundleDist/dist/types/components/modules/buttons/default.d.ts +0 -48
- package/bundleDist/dist/types/components/modules/buttons/pill-wrapper.d.ts +0 -3
- package/bundleDist/dist/types/components/modules/dialogs/apply-dialog.d.ts +0 -8
- package/bundleDist/dist/types/components/modules/filter/sort.d.ts +0 -8
- package/bundleDist/dist/types/components/modules/grid.d.ts +0 -8
- package/bundleDist/dist/types/components/modules/icon.d.ts +0 -10
- package/bundleDist/dist/types/components/modules/jobListing/listing-details.d.ts +0 -18
- package/bundleDist/dist/types/components/modules/list/field-mapper.d.ts +0 -10
- package/bundleDist/dist/types/components/modules/list/header-item.d.ts +0 -11
- package/bundleDist/dist/types/components/modules/list/header.d.ts +0 -11
- package/bundleDist/dist/types/components/modules/list/item-expand-card/index.d.ts +0 -7
- package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-contact-nav.d.ts +0 -17
- package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-details.d.ts +0 -21
- package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-headshot.d.ts +0 -8
- package/bundleDist/dist/types/components/modules/list/item-list.d.ts +0 -20
- package/bundleDist/dist/types/components/modules/list/list-item/list-item.d.ts +0 -3
- package/bundleDist/dist/types/constants/eventTypes.d.ts +0 -13
- package/bundleDist/dist/types/contexts/mapContext.d.ts +0 -29
- package/bundleDist/dist/types/contexts/mapListContext.d.ts +0 -59
- package/bundleDist/dist/types/contexts/trackEventContext.d.ts +0 -6
- package/bundleDist/dist/types/enums/SectionType.d.ts +0 -9
- package/bundleDist/dist/types/hooks/useList.d.ts +0 -13
- package/bundleDist/dist/types/services/configService.d.ts +0 -6
- package/bundleDist/dist/types/services/googlePlacesNearbyService.d.ts +0 -5
- package/bundleDist/dist/types/services/listingAggregatorService.d.ts +0 -12
- package/bundleDist/dist/types/services/listingEntityService.d.ts +0 -6
- package/bundleDist/dist/types/services/listingService.d.ts +0 -9
- package/bundleDist/dist/types/services/recruiterService.d.ts +0 -6
- package/bundleDist/dist/types/types/Address.d.ts +0 -7
- package/bundleDist/dist/types/types/ContentSection.d.ts +0 -8
- package/bundleDist/dist/types/types/GetListingParams.d.ts +0 -8
- package/bundleDist/dist/types/types/LatLng.d.ts +0 -4
- package/bundleDist/dist/types/types/ListingEntity.d.ts +0 -10
- package/bundleDist/dist/types/types/ListingFields.d.ts +0 -25
- package/bundleDist/dist/types/types/Listings.d.ts +0 -31
- package/bundleDist/dist/types/types/Recruiter.d.ts +0 -9
- package/bundleDist/dist/types/types/SimilarListing.d.ts +0 -24
- package/bundleDist/dist/types/types/config/Colors.d.ts +0 -8
- package/bundleDist/dist/types/types/config/MapConfig.d.ts +0 -30
- package/bundleDist/dist/types/types/config/PointsOfInterestConfig.d.ts +0 -13
- package/bundleDist/dist/types/types/config/SearchConfig.d.ts +0 -4
- package/bundleDist/dist/types/util/filterUtil.d.ts +0 -28
- package/bundleDist/dist/types/util/loading.d.ts +0 -3
- package/bundleDist/dist/types/util/localStorageUtil.d.ts +0 -3
- package/bundleDist/dist/types/util/mapUtil.d.ts +0 -15
- package/bundleDist/dist/types/util/sortUtil.d.ts +0 -1
- package/bundleDist/dist/types/util/stringUtils.d.ts +0 -1
- package/bundleDist/dist/types/util/urlFilterUtil.d.ts +0 -8
- package/bundleDist/styles/index.css +0 -3
- package/bundleDist.map +0 -1
- package/jsconfig.json +0 -7
- package/postcss.config.js +0 -14
- package/preset.default.js +0 -15
- package/rollup.config.mjs +0 -111
- package/src/.editorconfig +0 -12
- package/src/apis/hcApi.ts +0 -109
- package/src/bundleIndex.js +0 -14
- package/src/clientToken.js +0 -9
- package/src/components/HireControlMap.js +0 -135
- package/src/components/containers/accordions/filter-container.js +0 -48
- package/src/components/containers/accordions/filter-item-container.js +0 -66
- package/src/components/containers/accordions/map-accordion-item-container.js +0 -70
- package/src/components/containers/filter/commute-container.js +0 -89
- package/src/components/containers/filter/filter-container.js +0 -76
- package/src/components/containers/filter/filter-item-container.js +0 -71
- package/src/components/containers/filter/location-container.js +0 -45
- package/src/components/containers/filter/points-of-interest-container.js +0 -33
- package/src/components/containers/filter/points-of-interest-radio-item-container.js +0 -35
- package/src/components/containers/filter/search-container.js +0 -50
- package/src/components/containers/jobListing/listing-details-container.js +0 -40
- package/src/components/containers/list/item-list-container.tsx +0 -81
- package/src/components/containers/list/list-item/list-item-container.js +0 -43
- package/src/components/containers/maps/info-window-content-container.js +0 -51
- package/src/components/containers/maps/map-container.js +0 -204
- package/src/components/containers/maps/map-list-container.js +0 -48
- package/src/components/containers/maps/map-marker-container.js +0 -78
- package/src/components/modules/accordions/MapAccordionItem.js +0 -30
- package/src/components/modules/accordions/default.js +0 -171
- package/src/components/modules/accordions/filterItem.js +0 -27
- package/src/components/modules/accordions/filters.js +0 -32
- package/src/components/modules/buttons/button-group-apply.js +0 -123
- package/src/components/modules/buttons/commute-pill.js +0 -22
- package/src/components/modules/buttons/default.js +0 -194
- package/src/components/modules/buttons/items-pill.js +0 -35
- package/src/components/modules/buttons/pill-wrapper.js +0 -27
- package/src/components/modules/buttons/show-all-button.js +0 -20
- package/src/components/modules/cards/default.js +0 -167
- package/src/components/modules/cards/filter.js +0 -56
- package/src/components/modules/dialogs/apply-dialog.js +0 -48
- package/src/components/modules/filter/commute.js +0 -108
- package/src/components/modules/filter/index.js +0 -55
- package/src/components/modules/filter/item.js +0 -48
- package/src/components/modules/filter/location.js +0 -48
- package/src/components/modules/filter/radio-item.js +0 -42
- package/src/components/modules/filter/search.js +0 -65
- package/src/components/modules/filter/sort.js +0 -83
- package/src/components/modules/grid.js +0 -54
- package/src/components/modules/icon.js +0 -33
- package/src/components/modules/jobListing/listing-details.js +0 -109
- package/src/components/modules/list/field-mapper.js +0 -114
- package/src/components/modules/list/header-item.js +0 -91
- package/src/components/modules/list/header.js +0 -49
- package/src/components/modules/list/item-expand-card/index.js +0 -22
- package/src/components/modules/list/item-expand-card/recruiter-contact-nav.js +0 -50
- package/src/components/modules/list/item-expand-card/recruiter-details.js +0 -68
- package/src/components/modules/list/item-expand-card/recruiter-headshot.js +0 -22
- package/src/components/modules/list/item-list.tsx +0 -84
- package/src/components/modules/list/list-item/list-item.js +0 -130
- package/src/components/modules/maps/info-window-card.js +0 -17
- package/src/components/modules/maps/info-window-content.js +0 -35
- package/src/components/modules/maps/map-list.js +0 -28
- package/src/components/modules/maps/map-marker.js +0 -29
- package/src/components/modules/maps/map.js +0 -76
- package/src/components/modules/maps/place-marker.js +0 -41
- package/src/components/modules/maps/tabs.js +0 -81
- package/src/constants/eventTypes.js +0 -13
- package/src/constants/placeTypes.js +0 -8
- package/src/contexts/mapContext.tsx +0 -129
- package/src/contexts/mapListContext.tsx +0 -311
- package/src/contexts/placesContext.js +0 -102
- package/src/contexts/trackEventContext.js +0 -14
- package/src/enums/SectionType.ts +0 -9
- package/src/hooks/useList.js +0 -89
- package/src/index.js +0 -3
- package/src/services/configService.ts +0 -16
- package/src/services/googlePlacesNearbyService.ts +0 -42
- package/src/services/listingAggregatorService.ts +0 -76
- package/src/services/listingEntityService.ts +0 -16
- package/src/services/listingService.ts +0 -40
- package/src/services/recruiterService.ts +0 -18
- package/src/styles/bundle.css +0 -268
- package/src/styles/index.css +0 -24
- package/src/types/Address.ts +0 -7
- package/src/types/ContentSection.ts +0 -9
- package/src/types/GetListingParams.ts +0 -8
- package/src/types/LatLng.ts +0 -4
- package/src/types/ListingEntity.ts +0 -11
- package/src/types/ListingFields.ts +0 -25
- package/src/types/Listings.ts +0 -32
- package/src/types/Recruiter.ts +0 -9
- package/src/types/SimilarListing.ts +0 -24
- package/src/types/config/Colors.ts +0 -8
- package/src/types/config/MapConfig.ts +0 -31
- package/src/types/config/PointsOfInterestConfig.ts +0 -13
- package/src/types/config/SearchConfig.ts +0 -4
- package/src/util/arrayUtil.js +0 -3
- package/src/util/fieldMapper.js +0 -22
- package/src/util/filterUtil.js +0 -239
- package/src/util/loading.js +0 -17
- package/src/util/localStorageUtil.ts +0 -34
- package/src/util/mapIconUtil.js +0 -180
- package/src/util/mapUtil.js +0 -91
- package/src/util/sortUtil.js +0 -33
- package/src/util/stringUtils.js +0 -6
- package/src/util/urlFilterUtil.js +0 -85
- package/stats.html +0 -4842
- package/tailwind.config.js +0 -129
- package/tsconfig.json +0 -23
package/tailwind.config.js
DELETED
|
@@ -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
|
-
}
|