@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/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@abcagency/hc-ui-components",
3
- "version": "1.3.22",
3
+ "version": "1.3.24",
4
4
  "description": "UI Components for HireControl",
5
5
  "main": "dist/index.js",
6
+ "files": [
7
+ "dist",
8
+ "src"
9
+ ],
6
10
  "scripts": {
7
11
  "build": "cross-env NODE_ENV=production rollup -c",
8
12
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -27,9 +31,7 @@
27
31
  "ajv-keywords": "^5.1.0",
28
32
  "framer-motion": "^10.18.0",
29
33
  "fuse.js": "^7.0.0",
30
- "npm": "^10.8.1",
31
- "react": "^18.3.1",
32
- "react-dom": "^18.3.1",
34
+ "npm": "^10.8.1",
33
35
  "react-router-dom": "^6.23.1",
34
36
  "react-scripts": "5.0.1",
35
37
  "react-wrap-balancer": "^1.1.1",
package/.env DELETED
@@ -1,3 +0,0 @@
1
- GOOGLE_MAPS_API_KEY=AIzaSyAXPlfaoMCrmjNV1u-vFYdLBi7GkGeh4S4
2
- HC_API_BASE_URL=https://api.myhirecontrol.com
3
- GOOGLE_MAPS_API_URL=https://maps.googleapis.com/maps/api
package/.eslintrc DELETED
@@ -1,136 +0,0 @@
1
- {
2
- "root": true,
3
- "env": {
4
- "browser": true,
5
- "node": true
6
- },
7
- "extends": [
8
- "eslint:recommended",
9
- "plugin:react/recommended",
10
- "plugin:jsx-a11y/recommended",
11
- "plugin:react-hooks/recommended",
12
- "prettier"
13
- ],
14
- "plugins": [
15
- "react",
16
- "jsx-a11y",
17
- "react-hooks"
18
- ],
19
- "parserOptions": {
20
- "ecmaVersion": 2021,
21
- "sourceType": "module",
22
- "ecmaFeatures": {
23
- "jsx": true
24
- }
25
- },
26
- "settings": {
27
- "react": {
28
- "version": "detect"
29
- },
30
- "import/resolver": {
31
- "node": {
32
- "extensions": [".js", ".jsx"]
33
- }
34
- }
35
- },
36
- "ignorePatterns": ["dist/"],
37
- "rules": {
38
- "strict": 0,
39
- "semi": ["error", "always"],
40
- "indent": ["error", "tab", { "SwitchCase": 1 }],
41
- "comma-dangle": ["error", "never"],
42
- "arrow-parens": ["error", "as-needed"],
43
- "object-curly-spacing": ["error", "always"],
44
- "space-in-parens": ["error", "never"],
45
- "no-multiple-empty-lines": ["error", { "max": 1 }],
46
- "prefer-arrow-callback": ["error", { "allowNamedFunctions": true }],
47
- "react/prop-types": "off",
48
- "import/no-webpack-loader-syntax": [0],
49
- "react/jsx-pascal-case": [1, { "allowNamespace": true }],
50
- "jsx-a11y/accessible-emoji": 1,
51
- "jsx-a11y/alt-text": 1,
52
- "jsx-a11y/anchor-has-content": 1,
53
- "jsx-a11y/anchor-is-valid": 1,
54
- "jsx-a11y/aria-activedescendant-has-tabindex": 1,
55
- "jsx-a11y/aria-props": 1,
56
- "jsx-a11y/aria-proptypes": 1,
57
- "jsx-a11y/aria-role": 1,
58
- "jsx-a11y/aria-unsupported-elements": 1,
59
- "jsx-a11y/autocomplete-valid": [1, { "inputComponents": [] }],
60
- "jsx-a11y/click-events-have-key-events": 1,
61
- "jsx-a11y/control-has-associated-label": [
62
- 1,
63
- {
64
- "ignoreElements": ["audio", "canvas", "embed", "input", "textarea", "tr", "video"],
65
- "ignoreRoles": ["grid", "listbox", "menu", "menubar", "radiogroup", "row", "tablist", "toolbar", "tree", "treegrid"],
66
- "includeRoles": ["alert", "dialog"]
67
- }
68
- ],
69
- "jsx-a11y/heading-has-content": 1,
70
- "jsx-a11y/html-has-lang": 1,
71
- "jsx-a11y/iframe-has-title": 1,
72
- "jsx-a11y/img-redundant-alt": 1,
73
- "jsx-a11y/interactive-supports-focus": [
74
- 1,
75
- { "tabbable": ["button", "checkbox", "link", "progressbar", "searchbox", "slider", "spinbutton", "switch", "textbox"] }
76
- ],
77
- "jsx-a11y/label-has-associated-control": 1,
78
- "jsx-a11y/lang": 1,
79
- "jsx-a11y/media-has-caption": 1,
80
- "jsx-a11y/mouse-events-have-key-events": 1,
81
- "jsx-a11y/no-access-key": 1,
82
- "jsx-a11y/no-autofocus": 1,
83
- "jsx-a11y/no-distracting-elements": 1,
84
- "jsx-a11y/no-interactive-element-to-noninteractive-role": 1,
85
- "jsx-a11y/no-noninteractive-element-interactions": [1, { "body": ["onError", "onLoad"], "iframe": ["onError", "onLoad"], "img": ["onError", "onLoad"] }],
86
- "jsx-a11y/no-noninteractive-element-to-interactive-role": 1,
87
- "jsx-a11y/no-noninteractive-tabindex": 1,
88
- "jsx-a11y/no-onchange": 1,
89
- "jsx-a11y/no-redundant-roles": 1,
90
- "jsx-a11y/no-static-element-interactions": 1,
91
- "jsx-a11y/role-has-required-aria-props": 1,
92
- "jsx-a11y/role-supports-aria-props": 1,
93
- "jsx-a11y/scope": 1,
94
- "jsx-a11y/tabindex-no-positive": 1,
95
- "react-hooks/rules-of-hooks": 2,
96
- "no-unused-vars": "warn"
97
- },
98
- "overrides": [
99
- {
100
- "files": ["packages/hc-ui-components/**/*.ts", "packages/hc-ui-components/**/*.tsx"],
101
- "extends": ["plugin:@typescript-eslint/recommended"],
102
- "parser": "@typescript-eslint/parser",
103
- "parserOptions": {
104
- "project": ["./packages/hc-ui-components/tsconfig.json"]
105
- },
106
- "plugins": ["@typescript-eslint"],
107
- "rules": {
108
- "@typescript-eslint/no-unused-vars": ["warn"]
109
- }
110
- },
111
- {
112
- "files": ["apps/hc-next-iframes/**/*.js", "apps/hc-next-iframes/**/*.jsx"],
113
- "env": {
114
- "browser": true,
115
- "node": true
116
- },
117
- "parserOptions": {
118
- "ecmaVersion": 2021,
119
- "sourceType": "module",
120
- "ecmaFeatures": {
121
- "jsx": true
122
- }
123
- },
124
- "settings": {
125
- "react": {
126
- "version": "detect"
127
- },
128
- "import/resolver": {
129
- "node": {
130
- "extensions": [".js", ".jsx"]
131
- }
132
- }
133
- }
134
- }
135
- ]
136
- }