@abcagency/hc-ui-components 1.4.14 → 1.4.16
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.
|
@@ -11,7 +11,7 @@ var MapList = function MapList(_ref) {
|
|
|
11
11
|
containerStyle = _ref.containerStyle;
|
|
12
12
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
13
13
|
style: containerStyle,
|
|
14
|
-
className: "\n\t\t\t\t\t".concat(showMap === false ? "md:hc-grid-rows-[100%]" : "md:hc-grid-rows-[50%_50%]", "\n\t\t\t\t\thc-hidden md:hc-grid
|
|
14
|
+
className: "\n\t\t\t\t\t".concat(showMap === false ? "md:hc-grid-rows-[100%]" : "md:hc-grid-rows-[50%_50%]", "\n\t\t\t\t\thc-hidden md:hc-grid hc-overflow-hidden hc-relative bg-gray-100\n\t\t\t\t")
|
|
15
15
|
}, mapPosition && mapPosition === 'top' && showMap ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", null, map), /*#__PURE__*/React__default.createElement("div", null, list)) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", null, list), /*#__PURE__*/React__default.createElement("div", null, showMap && map))), /*#__PURE__*/React__default.createElement("div", {
|
|
16
16
|
className: "md:hc-hidden"
|
|
17
17
|
}, /*#__PURE__*/React__default.createElement(MapTabs, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-list.js","sources":["../../../../src/components/modules/maps/map-list.js"],"sourcesContent":["import React from 'react';\nimport Tabs from '~/components/modules/maps/tabs';\n\nconst MapList = ({ showMap, loading, list, map, filter, mapPosition, containerStyle }) => {\n\treturn (\n\t\t<>\n\t\t\t<div\n\t\t\t\tstyle={containerStyle}\n\t\t\t\tclassName={`\n\t\t\t\t\t${showMap === false ? \"md:hc-grid-rows-[100%]\" : \"md:hc-grid-rows-[50%_50%]\"}\n\t\t\t\t\thc-hidden md:hc-grid
|
|
1
|
+
{"version":3,"file":"map-list.js","sources":["../../../../src/components/modules/maps/map-list.js"],"sourcesContent":["import React from 'react';\nimport Tabs from '~/components/modules/maps/tabs';\n\nconst MapList = ({ showMap, loading, list, map, filter, mapPosition, containerStyle }) => {\n\treturn (\n\t\t<>\n\t\t\t<div\n\t\t\t\tstyle={containerStyle}\n\t\t\t\tclassName={`\n\t\t\t\t\t${showMap === false ? \"md:hc-grid-rows-[100%]\" : \"md:hc-grid-rows-[50%_50%]\"}\n\t\t\t\t\thc-hidden md:hc-grid hc-overflow-hidden hc-relative bg-gray-100\n\t\t\t\t`}\n\t\t\t>\n\t\t\t\t{mapPosition && mapPosition === 'top' && showMap ? (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<div>{map}</div>\n\t\t\t\t\t\t<div>{list}</div>\n\t\t\t\t\t</>\n\t\t\t\t) : (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<div>{list}</div>\n\t\t\t\t\t\t<div>{showMap && map}</div>\n\t\t\t\t\t</>\n\t\t\t\t)}\n\n\t\t\t</div>\n\t\t\t<div className=\"md:hc-hidden\">\n\t\t\t\t<Tabs\n\t\t\t\t\tshowMap={showMap}\n\t\t\t\t\tlist={list}\n\t\t\t\t\tmap={!loading && showMap && map}\n\t\t\t\t\tfilter={filter}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t</>\n\t);\n};\n\nexport default MapList;\n"],"names":["MapList","_ref","showMap","loading","list","map","filter","mapPosition","containerStyle","React","createElement","Fragment","style","className","concat","Tabs"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG,SAAVA,OAAOA,CAAAC,IAAA,EAA6E;AAAA,EAAA,IAAvEC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IAAEC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,GAAG,GAAAJ,IAAA,CAAHI,GAAG;IAAEC,MAAM,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CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abcagency/hc-ui-components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.16",
|
|
4
4
|
"description": "UI Components for HireControl",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@radix-ui/react-select": "^2.0.0",
|
|
33
33
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
34
34
|
"@react-google-maps/api": "^2.19.3",
|
|
35
|
-
"@testing-library/react": "^
|
|
35
|
+
"@testing-library/react": "^16.0.0",
|
|
36
36
|
"ajv": "^8.16.0",
|
|
37
37
|
"ajv-keywords": "^5.1.0",
|
|
38
38
|
"framer-motion": "^10.18.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"web-vitals": "^2.1.4"
|
|
50
50
|
},
|
|
51
51
|
"resolutions": {
|
|
52
|
-
"react": "
|
|
53
|
-
"react-dom": "
|
|
52
|
+
"react": "19.1.1",
|
|
53
|
+
"react-dom": "19.1.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/cli": "^7.24.6",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@tailwindcss/forms": "^0.5.7",
|
|
70
70
|
"@tailwindcss/typography": "^0.5.13",
|
|
71
71
|
"@types/node": "^20.14.2",
|
|
72
|
-
"@types/react": "^
|
|
72
|
+
"@types/react": "^19.0.0",
|
|
73
73
|
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
74
74
|
"@typescript-eslint/parser": "^7.13.0",
|
|
75
75
|
"autoprefixer": "^10.4.19",
|
|
@@ -8,7 +8,7 @@ const MapList = ({ showMap, loading, list, map, filter, mapPosition, containerSt
|
|
|
8
8
|
style={containerStyle}
|
|
9
9
|
className={`
|
|
10
10
|
${showMap === false ? "md:hc-grid-rows-[100%]" : "md:hc-grid-rows-[50%_50%]"}
|
|
11
|
-
hc-hidden md:hc-grid
|
|
11
|
+
hc-hidden md:hc-grid hc-overflow-hidden hc-relative bg-gray-100
|
|
12
12
|
`}
|
|
13
13
|
>
|
|
14
14
|
{mapPosition && mapPosition === 'top' && showMap ? (
|