@the-portland-company/shell 0.29.0 → 0.31.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 +31 -0
- package/dist/app-chrome.cjs +10 -5
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.js +1 -1
- package/dist/{chunk-I3DWBWY6.js → chunk-YMU3VIE2.js} +14 -9
- package/dist/chunk-YMU3VIE2.js.map +1 -0
- package/dist/native.cjs +11 -5
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +28 -1
- package/dist/native.d.ts +28 -1
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-I3DWBWY6.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
## 0.31.0 — 2026-07-23
|
|
2
|
+
|
|
3
|
+
### Fixed — Surveys sub-menu now shows all three items (matches the tab strip)
|
|
4
|
+
|
|
5
|
+
0.25.0 collapsed the Surveys group to a single "Surveys" child to kill an
|
|
6
|
+
all-active bug, which left the sidebar sub-menu showing 1 item while the tab
|
|
7
|
+
strip showed 3 (Surveys / Canvas / Results). Restored to three, with distinct
|
|
8
|
+
`?view=` hrefs so active-detection still singles out exactly one.
|
|
9
|
+
|
|
10
|
+
### Changed — Beta banner reads as a warning (amber)
|
|
11
|
+
|
|
12
|
+
The `--beta-banner-*` tokens were never emitted, so the banner had no reliable
|
|
13
|
+
colour. It now falls back to amber-100 fill, amber-500 border and amber-900
|
|
14
|
+
text — a clear warning treatment with a darker text/border shade.
|
|
15
|
+
|
|
16
|
+
## 0.30.0 — 2026-07-23
|
|
17
|
+
|
|
18
|
+
### Added — `TopBarPopover` is public (enables the VRM widget port)
|
|
19
|
+
|
|
20
|
+
The shared top-bar popover — 32px circular trigger, standard tooltip, count
|
|
21
|
+
badge, right-aligned panel with the pointer arrow — was private, so an app with
|
|
22
|
+
a richer panel than the stock actions (VRM: fuel breakdown, import progress,
|
|
23
|
+
system alerts, reply feed) had no way to render it inside the shared chrome and
|
|
24
|
+
hand-rolled its own trigger instead. That is the last structural reason VRM's
|
|
25
|
+
top bar differs from forms/polls/surveys/contacts.
|
|
26
|
+
|
|
27
|
+
Exporting it lets those panels move into the shared cluster **one at a time**,
|
|
28
|
+
each keeping its behavior — rather than a wholesale swap to the generic actions,
|
|
29
|
+
which would drop capability VRM already ships (UI-Platform explicitly forbids
|
|
30
|
+
migrating an app to a rendering that loses an element it has).
|
|
31
|
+
|
|
1
32
|
## 0.29.0 — 2026-07-23
|
|
2
33
|
|
|
3
34
|
### Added — `./runtime-tokens` (`ensureRuntimeBrandTokens`)
|
package/dist/app-chrome.cjs
CHANGED
|
@@ -870,7 +870,9 @@ var APP_FORMS_CHILDREN = [
|
|
|
870
870
|
{ label: "Submissions", icon: "fileText", href: "https://forms.politogyvrm.com/?tab=submissions" }
|
|
871
871
|
];
|
|
872
872
|
var APP_SURVEYS_CHILDREN = [
|
|
873
|
-
{ label: "Surveys", icon: "list", href: "https://surveys.politogyvrm.com/surveys" }
|
|
873
|
+
{ label: "Surveys", icon: "list", href: "https://surveys.politogyvrm.com/surveys" },
|
|
874
|
+
{ label: "Canvas", icon: "edit", href: "https://surveys.politogyvrm.com/surveys?view=canvas" },
|
|
875
|
+
{ label: "Results", icon: "barChart", href: "https://surveys.politogyvrm.com/surveys?view=results" }
|
|
874
876
|
];
|
|
875
877
|
var APP_POLLS_CHILDREN = [
|
|
876
878
|
{ label: "Command Center", icon: "grid", href: "https://polls.politogyvrm.com/" },
|
|
@@ -1840,9 +1842,12 @@ function NavBetaBanner({ text, linkLabel, href }) {
|
|
|
1840
1842
|
role: "note",
|
|
1841
1843
|
className: "w-full border-y px-4 py-2 text-center text-sm",
|
|
1842
1844
|
style: {
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1845
|
+
// Warning amber with a darker border + text (HITL 2026-07-23). The
|
|
1846
|
+
// --beta-banner-* tokens were never emitted, so the fallbacks are the
|
|
1847
|
+
// real values: amber-100 fill, amber-500 border, amber-900 text.
|
|
1848
|
+
background: "var(--beta-banner-bg, #FEF3C7)",
|
|
1849
|
+
borderColor: "var(--beta-banner-border, #F59E0B)",
|
|
1850
|
+
color: "var(--beta-banner-text, #78350F)"
|
|
1846
1851
|
},
|
|
1847
1852
|
children: [
|
|
1848
1853
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: body }),
|
|
@@ -1853,7 +1858,7 @@ function NavBetaBanner({ text, linkLabel, href }) {
|
|
|
1853
1858
|
target: "_blank",
|
|
1854
1859
|
rel: "noreferrer",
|
|
1855
1860
|
className: "font-bold underline",
|
|
1856
|
-
style: { color: "var(--beta-banner-text)" },
|
|
1861
|
+
style: { color: "var(--beta-banner-text, #78350F)" },
|
|
1857
1862
|
children: label
|
|
1858
1863
|
}
|
|
1859
1864
|
)
|