@geowiki/cms 0.16.0-dev.1 → 0.16.0-dev.2

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.
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  ContainerWidget
4
- } from "./chunk-TRQ4GHJU.mjs";
5
- import "./chunk-OJQET6HO.mjs";
4
+ } from "./chunk-YGKPOYG6.mjs";
5
+ import "./chunk-QLNZQFXF.mjs";
6
6
  export {
7
7
  ContainerWidget
8
8
  };
@@ -12,7 +12,7 @@ import {
12
12
  } from "@geowiki/ui";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
14
  var MapWithNoSSR = dynamic(
15
- () => import("./HeroMap-AT3N4ZVZ.mjs").then((x) => x.HeroMap),
15
+ () => import("./HeroMap-DJ7NARO3.mjs").then((x) => x.HeroMap),
16
16
  {
17
17
  ssr: false
18
18
  }
@@ -53,13 +53,12 @@ import { useFileUrl } from "@geowiki/core";
53
53
  import MapPinIcon from "@heroicons/react/24/solid/MapPinIcon";
54
54
  import { renderToString } from "react-dom/server";
55
55
  import { useConfigSettings } from "@geowiki/core";
56
- import { MapIcon, IconPaths } from "@geowiki/ui";
56
+ import { IconPaths } from "@geowiki/ui";
57
57
  import { jsx } from "react/jsx-runtime";
58
58
  function getIcon(color, name) {
59
59
  const myIcon = IconPaths.find((icon) => icon.name === name);
60
60
  if (myIcon) {
61
- const MyIcon = MapIcon;
62
- return renderToString(/* @__PURE__ */ jsx(MyIcon, { Icon: myIcon.icon, color }));
61
+ return renderToString(/* @__PURE__ */ jsx(myIcon.icon, {}));
63
62
  } else {
64
63
  const MyIcon = MapPinIcon;
65
64
  return renderToString(/* @__PURE__ */ jsx(MyIcon, { height: 40, width: 40, color }));
@@ -115,10 +114,10 @@ var ClusterMarkers = (_props) => {
115
114
  Marker,
116
115
  {
117
116
  icon: new DivIcon({
118
- iconSize: [30, 30],
119
- html: `<i>${getIcon("#9999CC", "Farmer Clusters")}</i>`,
117
+ iconSize: [40, 40],
118
+ html: `${getIcon("#9999CC", "Farmer Clusters")}`,
120
119
  className: "custom-div-icon",
121
- iconAnchor: [18, 30]
120
+ iconAnchor: [20, 40]
122
121
  }),
123
122
  position: cluster.location ? new LatLng(
124
123
  cluster?.location?.latitude,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Sections
3
- } from "./chunk-OJQET6HO.mjs";
3
+ } from "./chunk-QLNZQFXF.mjs";
4
4
 
5
5
  // src/components/Section/Recodo/LanguagesWidget.tsx
6
6
  import { useCmsContentWithType, useDefaultSettings } from "@geowiki/core";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  MapHeroWidget
4
- } from "./chunk-NSGNUHUW.mjs";
4
+ } from "./chunk-VTIR7GUQ.mjs";
5
5
  export {
6
6
  MapHeroWidget
7
7
  };
@@ -91,7 +91,7 @@ var StatsWidget = dynamic(
91
91
  () => import("./StatsWidget-4MISF6XB.mjs").then((mod) => mod.StatsWidget)
92
92
  );
93
93
  var MapHeroWidget = dynamic(
94
- () => import("./MapHeroWidget-MLNO6KKC.mjs").then((mod) => mod.MapHeroWidget)
94
+ () => import("./MapHeroWidget-WEVKITG5.mjs").then((mod) => mod.MapHeroWidget)
95
95
  );
96
96
  var HeroCenterTextWidget = dynamic(
97
97
  () => import("./HeroCenterTextWidget-5LDZNUBR.mjs").then(
@@ -105,7 +105,7 @@ var MarkdownWidget = dynamic(
105
105
  () => import("./MarkdownWidget-QTTNNVQW.mjs").then((mod) => mod.MarkdownWidget)
106
106
  );
107
107
  var ContainerWidget = dynamic(
108
- () => import("./ContainerWidget-5FNF5WMV.mjs").then((mod) => mod.ContainerWidget)
108
+ () => import("./ContainerWidget-4DBHV3S2.mjs").then((mod) => mod.ContainerWidget)
109
109
  );
110
110
  var HeroWidget = dynamic(
111
111
  () => import("./HeroWidget-A4ODJCXZ.mjs").then((mod) => mod.HeroWidget)
@@ -163,7 +163,7 @@ var SubtitleH3BodySpecialFeatureResourceCollectionsWidget = dynamic(
163
163
  () => import("./SubtitleH3BodySpecialFeatureResourceCollectionsWidget-62SJ4J73.mjs").then((mod) => mod.SubtitleH3BodySpecialFeatureResourceCollectionsWidget)
164
164
  );
165
165
  var H2BodyInternalLinkMapWidget = dynamic(
166
- () => import("./H2BodyInternalLinkMapWidget-T7MARJTA.mjs").then(
166
+ () => import("./H2BodyInternalLinkMapWidget-6FKP4AHO.mjs").then(
167
167
  (mod) => mod.H2BodyInternalLinkMapWidget
168
168
  )
169
169
  );
@@ -179,7 +179,7 @@ var HeaderBodyWidget = dynamic(
179
179
  () => import("./HeaderBodyWidget-ZW2WYKNP.mjs").then((mod) => mod.HeaderBodyWidget)
180
180
  );
181
181
  var LanguageWidget = dynamic(
182
- () => import("./LanguagesWidget-N2E7UQDT.mjs").then((mod) => mod.LanguageWidget)
182
+ () => import("./LanguagesWidget-R7UBNG42.mjs").then((mod) => mod.LanguageWidget)
183
183
  );
184
184
  var SubtitleH3KeyResourcesWidget = dynamic(
185
185
  () => import("./SubtitleH3KeyResourcesWidget-AGBBJ7ZJ.mjs").then(
@@ -3,7 +3,7 @@ import dynamic from "next/dynamic";
3
3
  import { useState } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  var MapWithNoSSR = dynamic(
6
- () => import("./HeroMap-AT3N4ZVZ.mjs").then((x) => x.HeroMap),
6
+ () => import("./HeroMap-DJ7NARO3.mjs").then((x) => x.HeroMap),
7
7
  {
8
8
  ssr: false
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Sections
3
- } from "./chunk-OJQET6HO.mjs";
3
+ } from "./chunk-QLNZQFXF.mjs";
4
4
 
5
5
  // src/components/Section/ContainerWidget.tsx
6
6
  import { jsx } from "react/jsx-runtime";
package/dist/index.js CHANGED
@@ -1320,8 +1320,7 @@ var init_MarkerClusterGroup = __esm({
1320
1320
  function getIcon(color, name) {
1321
1321
  const myIcon = import_ui19.IconPaths.find((icon) => icon.name === name);
1322
1322
  if (myIcon) {
1323
- const MyIcon = import_ui19.MapIcon;
1324
- return (0, import_server.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(MyIcon, { Icon: myIcon.icon, color }));
1323
+ return (0, import_server.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(myIcon.icon, {}));
1325
1324
  } else {
1326
1325
  const MyIcon = import_MapPinIcon.default;
1327
1326
  return (0, import_server.renderToString)(/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(MyIcon, { height: 40, width: 40, color }));
@@ -1393,10 +1392,10 @@ var init_cluster_markers = __esm({
1393
1392
  import_react_leaflet.Marker,
1394
1393
  {
1395
1394
  icon: new import_leaflet2.DivIcon({
1396
- iconSize: [30, 30],
1397
- html: `<i>${getIcon("#9999CC", "Farmer Clusters")}</i>`,
1395
+ iconSize: [40, 40],
1396
+ html: `${getIcon("#9999CC", "Farmer Clusters")}`,
1398
1397
  className: "custom-div-icon",
1399
- iconAnchor: [18, 30]
1398
+ iconAnchor: [20, 40]
1400
1399
  }),
1401
1400
  position: cluster.location ? new import_leaflet2.LatLng(
1402
1401
  cluster?.location?.latitude,
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-JNVPTKNZ.mjs";
7
7
  import {
8
8
  MapHeroWidget
9
- } from "./chunk-NSGNUHUW.mjs";
9
+ } from "./chunk-VTIR7GUQ.mjs";
10
10
  import {
11
11
  HeroCenterTextWidget
12
12
  } from "./chunk-JJWETKAK.mjs";
@@ -18,10 +18,10 @@ import {
18
18
  } from "./chunk-UYS3OVMP.mjs";
19
19
  import {
20
20
  ContainerWidget
21
- } from "./chunk-TRQ4GHJU.mjs";
21
+ } from "./chunk-YGKPOYG6.mjs";
22
22
  import {
23
23
  Sections
24
- } from "./chunk-OJQET6HO.mjs";
24
+ } from "./chunk-QLNZQFXF.mjs";
25
25
  import {
26
26
  HeroWidget
27
27
  } from "./chunk-XR7AIYAA.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geowiki/cms",
3
- "version": "0.16.0-dev.1",
3
+ "version": "0.16.0-dev.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -33,11 +33,11 @@
33
33
  "react-player": "^2.16.0",
34
34
  "react-responsive-carousel": "^3.2.23",
35
35
  "uuid": "^9.0.0",
36
- "@geowiki/api-proxy": "0.16.0-dev.1",
37
- "@geowiki/cms-proxy": "0.16.0-dev.1",
38
- "@geowiki/core": "0.16.0-dev.1",
39
- "@geowiki/recodo": "0.16.0-dev.1",
40
- "@geowiki/ui": "0.16.0-dev.1"
36
+ "@geowiki/api-proxy": "0.16.0-dev.2",
37
+ "@geowiki/cms-proxy": "0.16.0-dev.2",
38
+ "@geowiki/core": "0.16.0-dev.2",
39
+ "@geowiki/recodo": "0.16.0-dev.2",
40
+ "@geowiki/ui": "0.16.0-dev.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/leaflet": "^1.9.0",