@abcagency/hc-ui-components 1.3.22 → 1.3.24
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 +6 -4
- 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/stats.html +0 -4842
- package/tailwind.config.js +0 -129
- package/tsconfig.json +0 -23
package/jsconfig.json
DELETED
package/postcss.config.js
DELETED
package/preset.default.js
DELETED
package/rollup.config.mjs
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import babel from '@rollup/plugin-babel';
|
|
2
|
-
import { nodeResolve as resolve } from '@rollup/plugin-node-resolve';
|
|
3
|
-
import alias from '@rollup/plugin-alias';
|
|
4
|
-
import path from 'path';
|
|
5
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
6
|
-
import replace from '@rollup/plugin-replace';
|
|
7
|
-
import dotenv from 'dotenv';
|
|
8
|
-
import postcss from 'rollup-plugin-postcss';
|
|
9
|
-
import { fileURLToPath } from 'url';
|
|
10
|
-
import tailwindcss from 'tailwindcss';
|
|
11
|
-
import autoprefixer from 'autoprefixer';
|
|
12
|
-
import typescript from '@rollup/plugin-typescript';
|
|
13
|
-
import { visualizer } from 'rollup-plugin-visualizer';
|
|
14
|
-
import progress from 'rollup-plugin-progress';
|
|
15
|
-
import filesize from 'rollup-plugin-filesize';
|
|
16
|
-
|
|
17
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
18
|
-
const __dirname = path.dirname(__filename);
|
|
19
|
-
|
|
20
|
-
dotenv.config({ path: path.resolve(__dirname, '.env') });
|
|
21
|
-
console.log('GOOGLE_MAPS_API_KEY:', process.env.GOOGLE_MAPS_API_KEY);
|
|
22
|
-
|
|
23
|
-
const projectRootDir = path.resolve(__dirname);
|
|
24
|
-
|
|
25
|
-
const plugins = [
|
|
26
|
-
resolve({
|
|
27
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
|
28
|
-
browser: true,
|
|
29
|
-
preferBuiltins: false
|
|
30
|
-
}),
|
|
31
|
-
postcss({
|
|
32
|
-
extensions: ['.css'],
|
|
33
|
-
extract: 'styles/index.css',
|
|
34
|
-
minimize: true,
|
|
35
|
-
plugins: [
|
|
36
|
-
tailwindcss(path.resolve(__dirname, 'tailwind.config.js')),
|
|
37
|
-
autoprefixer
|
|
38
|
-
]
|
|
39
|
-
}),
|
|
40
|
-
replace({
|
|
41
|
-
preventAssignment: true,
|
|
42
|
-
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),
|
|
43
|
-
'process.env.GOOGLE_MAPS_API_KEY': JSON.stringify(process.env.GOOGLE_MAPS_API_KEY),
|
|
44
|
-
'process.env.GOOGLE_MAPS_API_URL': JSON.stringify(process.env.GOOGLE_MAPS_API_URL),
|
|
45
|
-
'process.env.HC_API_BASE_URL': JSON.stringify(process.env.HC_API_BASE_URL)
|
|
46
|
-
}),
|
|
47
|
-
alias({
|
|
48
|
-
entries: [{ find: '~', replacement: path.resolve(projectRootDir, 'src') }]
|
|
49
|
-
}),
|
|
50
|
-
babel({
|
|
51
|
-
babelHelpers: 'bundled',
|
|
52
|
-
exclude: 'node_modules/**',
|
|
53
|
-
presets: ['@babel/preset-env', '@babel/preset-react']
|
|
54
|
-
}),
|
|
55
|
-
typescript({
|
|
56
|
-
tsconfig: path.resolve(__dirname, 'tsconfig.json'),
|
|
57
|
-
allowJs: true
|
|
58
|
-
}),
|
|
59
|
-
commonjs({
|
|
60
|
-
include: /node_modules/,
|
|
61
|
-
exclude: /node_modules\/process-es6/,
|
|
62
|
-
namedExports: {
|
|
63
|
-
'node_modules/react/index.js': [
|
|
64
|
-
'Children', 'Component', 'PropTypes', 'createElement', 'useState', 'useEffect', 'useRef', 'useContext', 'createContext', 'forwardRef', 'memo', 'Fragment'
|
|
65
|
-
],
|
|
66
|
-
'node_modules/react-dom/index.js': ['render'],
|
|
67
|
-
'node_modules/react/jsx-runtime.js': ['jsx', 'jsxs', 'Fragment']
|
|
68
|
-
}
|
|
69
|
-
}),
|
|
70
|
-
visualizer(),
|
|
71
|
-
progress(),
|
|
72
|
-
filesize()
|
|
73
|
-
];
|
|
74
|
-
|
|
75
|
-
export default [
|
|
76
|
-
// ES Module Configuration
|
|
77
|
-
{
|
|
78
|
-
input: path.resolve(__dirname, 'src/index.js'),
|
|
79
|
-
output: [
|
|
80
|
-
{
|
|
81
|
-
dir: path.resolve(__dirname, 'dist'),
|
|
82
|
-
format: 'es',
|
|
83
|
-
exports: 'named',
|
|
84
|
-
sourcemap: true,
|
|
85
|
-
preserveModules: true,
|
|
86
|
-
preserveModulesRoot: 'src'
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
external: ['react', 'react-dom'], // Exclude react and react-dom from ES module build
|
|
90
|
-
plugins,
|
|
91
|
-
treeshake: true
|
|
92
|
-
},
|
|
93
|
-
// IIFE Bundle Configuration
|
|
94
|
-
{
|
|
95
|
-
input: path.resolve(__dirname, 'src/bundleIndex.js'),
|
|
96
|
-
output: {
|
|
97
|
-
file: path.resolve(__dirname, 'bundleDist/bundle.js'),
|
|
98
|
-
format: 'iife',
|
|
99
|
-
name: 'MyBundle',
|
|
100
|
-
sourcemap: true,
|
|
101
|
-
globals: {
|
|
102
|
-
react: 'React',
|
|
103
|
-
'react-dom': 'ReactDOM'
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
// Ensure React and ReactDOM are not external for IIFE build
|
|
107
|
-
plugins,
|
|
108
|
-
external: [],
|
|
109
|
-
treeshake: true
|
|
110
|
-
}
|
|
111
|
-
];
|