@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/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abcagency/hc-ui-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.23",
|
|
4
4
|
"description": "UI Components for HireControl",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
6
9
|
"scripts": {
|
|
7
10
|
"build": "cross-env NODE_ENV=production rollup -c",
|
|
8
11
|
"test": "echo \"Error: no test specified\" && exit 1"
|
package/.env
DELETED
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
|
-
}
|