@the-portland-company/shell 0.77.0 → 0.79.0
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/CHANGELOG.md +22 -0
- package/dist/app-chrome.cjs +23 -20
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +3 -3
- package/dist/app-chrome.d.ts +3 -3
- package/dist/app-chrome.js +15 -6
- package/dist/app-chrome.js.map +1 -1
- package/dist/{chunk-GGM4AD43.js → chunk-KXVRYN5D.js} +12 -18
- package/dist/{chunk-GGM4AD43.js.map → chunk-KXVRYN5D.js.map} +1 -1
- package/dist/{index-DJ3qBzfQ.d.ts → index-KGYMc_1i.d.ts} +3 -4
- package/dist/{index-Cu5frXRQ.d.cts → index-fydj5EU2.d.cts} +3 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/native.cjs +10 -16
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +1 -1
- package/package.json +1 -1
|
@@ -75,6 +75,8 @@ var SIGNS_ORIGIN = "https://signs.politogyvrm.com/";
|
|
|
75
75
|
var POLLS_ORIGIN = "https://polls.politogyvrm.com/";
|
|
76
76
|
var SETTINGS_ORIGIN = "https://settings.politogyvrm.com/";
|
|
77
77
|
var DASHBOARD_ORIGIN = "https://dashboard.politogyvrm.com/";
|
|
78
|
+
var BATTLEGROUND_ORIGIN = "https://battleground.politogyvrm.com/";
|
|
79
|
+
var DISTRICTS_ORIGIN = "https://districts.politogyvrm.com/";
|
|
78
80
|
var AUTH_ORIGIN = "https://auth.politogyvrm.com/";
|
|
79
81
|
var PETITION_MODE_ORIGIN = "https://petition-mode.politogyvrm.com/";
|
|
80
82
|
function applyHiddenItems(items, hidden) {
|
|
@@ -265,16 +267,9 @@ function standardPolitogyNav(opts) {
|
|
|
265
267
|
href: withOrg("https://surveys.politogyvrm.com/surveys"),
|
|
266
268
|
children: APP_SURVEYS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
|
|
267
269
|
},
|
|
268
|
-
// Polls
|
|
269
|
-
//
|
|
270
|
-
//
|
|
271
|
-
// here (this row is independent of the retired app).
|
|
272
|
-
{
|
|
273
|
-
label: "Polls",
|
|
274
|
-
icon: icon("chartNoAxes"),
|
|
275
|
-
href: withOrg(POLLS_ORIGIN),
|
|
276
|
-
children: APP_POLLS_CHILDREN.map((c) => ({ label: c.label, icon: icon(c.icon), href: withOrg(c.href) }))
|
|
277
|
-
},
|
|
270
|
+
// No Polls row here: Polling is a Campaign Mode feature only
|
|
271
|
+
// (Specs/Left-Navigation §9.1 "Polls is not a Relationship row"). Its
|
|
272
|
+
// row is "Polling" under Research in the Campaign tree below.
|
|
278
273
|
...accountRows()
|
|
279
274
|
];
|
|
280
275
|
};
|
|
@@ -288,12 +283,11 @@ function standardPolitogyNav(opts) {
|
|
|
288
283
|
// Battleground is the Campaign landing page; there is no Campaign
|
|
289
284
|
// Dashboard row, and Voter Contact and Tribes have no row.
|
|
290
285
|
{ kind: "section", label: "Race data" },
|
|
291
|
-
// Battleground
|
|
292
|
-
//
|
|
293
|
-
{ label: "Battleground", icon: icon("crosshair"), href: withOrg(`${
|
|
294
|
-
// District
|
|
295
|
-
|
|
296
|
-
{ label: "District data", icon: icon("landmark"), href: withOrg(`${DASHBOARD_ORIGIN}districts`) },
|
|
286
|
+
// Battleground is the Campaign Mode landing page, its own app on its own
|
|
287
|
+
// host (registry key `battleground`; Specs/Left-Navigation §9.2, §13, §14).
|
|
288
|
+
{ label: "Battleground", icon: icon("crosshair"), href: withOrg(`${BATTLEGROUND_ORIGIN}battleground`) },
|
|
289
|
+
// District Data is its own Campaign Mode app on its own host (registry key `districts`).
|
|
290
|
+
{ label: "District data", icon: icon("landmark"), href: withOrg(`${DISTRICTS_ORIGIN}districts`) },
|
|
297
291
|
{ kind: "section", label: "Research" },
|
|
298
292
|
{
|
|
299
293
|
label: "Polling",
|
|
@@ -1956,5 +1950,5 @@ function NavAppShell({
|
|
|
1956
1950
|
}
|
|
1957
1951
|
|
|
1958
1952
|
export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav };
|
|
1959
|
-
//# sourceMappingURL=chunk-
|
|
1960
|
-
//# sourceMappingURL=chunk-
|
|
1953
|
+
//# sourceMappingURL=chunk-KXVRYN5D.js.map
|
|
1954
|
+
//# sourceMappingURL=chunk-KXVRYN5D.js.map
|