@scalemule/news-publication 0.0.41 → 0.0.43

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.
@@ -45,7 +45,7 @@ function PublicationCommunityMapPage({
45
45
  return /* @__PURE__ */ jsxRuntime.jsxs(
46
46
  "div",
47
47
  {
48
- className: "smcm",
48
+ className: `smcm${atlas ? " smcm-illustrated-publication" : ""}`,
49
49
  style: {
50
50
  "--smcm-paper": "var(--pub-paper, Canvas)",
51
51
  "--smcm-ink": "var(--pub-ink, CanvasText)",
@@ -110,14 +110,7 @@ function PublicationCommunityMapPage({
110
110
  }
111
111
  ),
112
112
  (mode === "guide" || mode === "map") && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "smcm-contribute-links", children: [
113
- /* @__PURE__ */ jsxRuntime.jsx(
114
- "a",
115
- {
116
- className: "smcm-button",
117
- href: `${basePath}/submit${areaId ? `?area=${areaId}` : ""}`,
118
- children: "Take photos and share a street"
119
- }
120
- ),
113
+ "Already shared a place?",
121
114
  " ",
122
115
  /* @__PURE__ */ jsxRuntime.jsx("a", { href: `${basePath}/submit#my-submissions`, children: "My submissions" })
123
116
  ] }),
@@ -24,7 +24,7 @@ function PublicationCommunityMapPage({
24
24
  return /* @__PURE__ */ jsxs(
25
25
  "div",
26
26
  {
27
- className: "smcm",
27
+ className: `smcm${atlas ? " smcm-illustrated-publication" : ""}`,
28
28
  style: {
29
29
  "--smcm-paper": "var(--pub-paper, Canvas)",
30
30
  "--smcm-ink": "var(--pub-ink, CanvasText)",
@@ -89,14 +89,7 @@ function PublicationCommunityMapPage({
89
89
  }
90
90
  ),
91
91
  (mode === "guide" || mode === "map") && /* @__PURE__ */ jsxs("p", { className: "smcm-contribute-links", children: [
92
- /* @__PURE__ */ jsx(
93
- "a",
94
- {
95
- className: "smcm-button",
96
- href: `${basePath}/submit${areaId ? `?area=${areaId}` : ""}`,
97
- children: "Take photos and share a street"
98
- }
99
- ),
92
+ "Already shared a place?",
100
93
  " ",
101
94
  /* @__PURE__ */ jsx("a", { href: `${basePath}/submit#my-submissions`, children: "My submissions" })
102
95
  ] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalemule/news-publication",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "Shared server framework for ScaleMule local news publications. Walnut Creek Times is the broadsheet default; each paper supplies its own identity and feature flags.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -109,7 +109,7 @@
109
109
  "story-review.css"
110
110
  ],
111
111
  "peerDependencies": {
112
- "@scalemule/react": "0.0.18",
112
+ "@scalemule/react": "0.0.20",
113
113
  "react": ">=18.0.0"
114
114
  },
115
115
  "peerDependenciesMeta": {
@@ -129,7 +129,7 @@
129
129
  "prepublishOnly": "node -e \"const v=require('./package.json').version; if(!/^0\\.(0|1)\\.\\d+$/.test(v)){console.error('ERR: SDK '+v+' violates patch-only policy (0.0.x or 0.1.x only). See CONTRIBUTING.md SDK versioning section.');process.exit(1)}\" && npm run lint && npm test && npm run build"
130
130
  },
131
131
  "devDependencies": {
132
- "@scalemule/react": "0.0.18",
132
+ "@scalemule/react": "0.0.20",
133
133
  "@testing-library/react": "^16.3.3",
134
134
  "@types/node": "^22.15.0",
135
135
  "@types/react": "^19.1.0",
@@ -162,7 +162,7 @@
162
162
  },
163
163
  "dependencies": {
164
164
  "@scalemule/compliance": "^0.0.5",
165
- "@scalemule/react": "0.0.18",
165
+ "@scalemule/react": "0.0.20",
166
166
  "@scalemule/sdk": "0.0.75"
167
167
  }
168
168
  }