@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.
Files changed (73) hide show
  1. package/package.json +6 -4
  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/stats.html +0 -4842
  72. package/tailwind.config.js +0 -129
  73. package/tsconfig.json +0 -23
package/jsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "paths": {
4
- "~/*": ["./*"]
5
- }
6
- }
7
- }
package/postcss.config.js DELETED
@@ -1,14 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- 'tailwindcss/nesting': 'postcss-nesting',
4
- tailwindcss: {},
5
- 'postcss-preset-env': {
6
- autoprefixer: false,
7
- stage: 0,
8
- features: {
9
- 'nesting-rules': false
10
- }
11
- },
12
- autoprefixer: {}
13
- }
14
- };
package/preset.default.js DELETED
@@ -1,15 +0,0 @@
1
-
2
- module.exports = {
3
- theme: {
4
- extend: {
5
- colors: {
6
- "uiText": "#141414",
7
- "uiAccent": "#0f172a",
8
- "primary": "#002575",
9
- "primaryDark": "#001f5f",
10
- "secondary": "#ff612b",
11
- "secondaryDark": "#bf900d"
12
- }
13
- }
14
- }
15
- };
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
- ];