@unisim/sdk 0.54.0 → 0.55.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.
@@ -23,8 +23,8 @@ export function UKFlag({ width = 16, height = 10 }) {
23
23
  // sits on top of the RAG bars and dissolves on hover. See GLYPH_ANIM_CSS.
24
24
  const ERGO_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#1e293b" }), [
25
25
  { x: 11, y: 5, c: '#22c55e' },
26
- { x: 12, y: 9, c: '#f97316' },
27
- { x: 11, y: 13, c: '#f97316' },
26
+ { x: 12, y: 9, c: '#fe8c01' },
27
+ { x: 11, y: 13, c: '#fe8c01' },
28
28
  { x: 9, y: 17, c: '#ef4444' },
29
29
  { x: 9, y: 21, c: '#ef4444' },
30
30
  { x: 11, y: 25, c: '#22c55e' },
@@ -119,13 +119,13 @@ export const DEFAULT_SUITE_PRODUCTS = [
119
119
  // the suite-home row in the dropdown lands on the apps portal instead of the
120
120
  // Assess portal.
121
121
  // ──────────────────────────────────────────────────────────────────────────────
122
- const PDF_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#ea580c" }), _jsx("polygon", { points: "6,4 19,4 19,11 26,11 26,28 6,28", fill: "white" }), _jsx("polygon", { points: "19,4 26,11 19,11", fill: "#fdba74" }), _jsx("text", { x: "16", y: "22", textAnchor: "middle", fontFamily: "-apple-system, Segoe UI, Helvetica, Arial, sans-serif", fontSize: 7, fontWeight: 900, fill: "#ea580c", letterSpacing: "0.4", children: "PDF" })] }));
122
+ const PDF_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#e05504" }), _jsx("polygon", { points: "6,4 19,4 19,11 26,11 26,28 6,28", fill: "white" }), _jsx("polygon", { points: "19,4 26,11 19,11", fill: "#fdba74" }), _jsx("text", { x: "16", y: "22", textAnchor: "middle", fontFamily: "-apple-system, Segoe UI, Helvetica, Arial, sans-serif", fontSize: 7, fontWeight: 900, fill: "#e05504", letterSpacing: "0.4", children: "PDF" })] }));
123
123
  // Mirrors Universal Webinar's favicon.svg / in-app `brand-gradient` logo —
124
124
  // white camera on the warm orange gradient. Keep in sync if the app rebrands.
125
125
  const WEBINAR_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 64 64", "aria-hidden": "true", children: [_jsx("defs", { children: _jsxs("linearGradient", { id: "uwTile", x1: "0", y1: "0", x2: "1", y2: "1", children: [_jsx("stop", { offset: "0", stopColor: "#ff7c33" }), _jsx("stop", { offset: "0.55", stopColor: "#e05504" }), _jsx("stop", { offset: "1", stopColor: "#b53d04" })] }) }), _jsx("rect", { width: "64", height: "64", rx: "14", fill: "url(#uwTile)" }), _jsx("path", { d: "M14 22.5C14 19.46 16.46 17 19.5 17h17C39.54 17 42 19.46 42 22.5v19C42 44.54 39.54 47 36.5 47h-17C16.46 47 14 44.54 14 41.5v-19Z", fill: "white", fillOpacity: "0.95" }), _jsx("path", { d: "M52 24.5a1.5 1.5 0 0 0-2.32-1.25L44 26.9v10.2l5.68 3.65A1.5 1.5 0 0 0 52 39.5V24.5Z", fill: "white", fillOpacity: "0.95" })] }));
126
126
  // Mirrors Universal Images' favicon.svg (halved to the 32 grid) — white photo
127
127
  // with the orange sun + mountains on dark slate.
128
- const IMAGES_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "6", y: "7", width: "20", height: "16", rx: "1.5", fill: "white" }), _jsx("circle", { cx: "11", cy: "12", r: "1.5", fill: "#ea580c" }), _jsx("path", { d: "M7 21 L12 15 L16 19 L19 16 L25 21 L25 23 L7 23 Z", fill: "#ea580c" }), _jsx("path", { d: "M7 21 L12 15 L16 19 L19 16 L25 21 L25 23 L7 23 Z", fill: "#c2410c", opacity: "0.4" })] }));
128
+ const IMAGES_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "6", y: "7", width: "20", height: "16", rx: "1.5", fill: "white" }), _jsx("circle", { cx: "11", cy: "12", r: "1.5", fill: "#e05504" }), _jsx("path", { d: "M7 21 L12 15 L16 19 L19 16 L25 21 L25 23 L7 23 Z", fill: "#e05504" }), _jsx("path", { d: "M7 21 L12 15 L16 19 L19 16 L25 21 L25 23 L7 23 Z", fill: "#c2410c", opacity: "0.4" })] }));
129
129
  // Mirrors the icon Universal Exports ships in its own nav bar
130
130
  // (src/assets/universal-exports-icon.svg) — an orange globe with an outgoing
131
131
  // arrow, on the suite's 64-unit tile grid (rx 14 ≈ the rx 7 the other 32-grid
@@ -138,19 +138,19 @@ const QR_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32"
138
138
  // dark slate.
139
139
  const POLLING_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "6", y: "8", width: "20", height: "17", rx: "3", fill: "none", stroke: "#fe8c01", strokeWidth: "2.4" }), _jsx("path", { d: "M6 13 H26", stroke: "#fe8c01", strokeWidth: "2.4" }), _jsx("path", { d: "M11 6 V10 M21 6 V10", stroke: "#fe8c01", strokeWidth: "2.4", strokeLinecap: "round" }), _jsx("path", { d: "M12 18.5 L15 21.5 L21 15.5", fill: "none", stroke: "#fe8c01", strokeWidth: "2.6", strokeLinecap: "round", strokeLinejoin: "round" })] }));
140
140
  // Mirrors Universal Charts' favicon.svg — orange-ramp bars on dark slate.
141
- const CHARTS_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "7", y: "17", width: "4.5", height: "8", rx: "1", fill: "#fb923c" }), _jsx("rect", { x: "13.75", y: "12", width: "4.5", height: "13", rx: "1", fill: "#f97316" }), _jsx("rect", { x: "20.5", y: "8", width: "4.5", height: "17", rx: "1", fill: "#ea580c" }), _jsx("path", { d: "M6 25h20", stroke: "#475569", strokeWidth: "1.6", strokeLinecap: "round" })] }));
141
+ const CHARTS_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "7", y: "17", width: "4.5", height: "8", rx: "1", fill: "#ff9a1f" }), _jsx("rect", { x: "13.75", y: "12", width: "4.5", height: "13", rx: "1", fill: "#fe8c01" }), _jsx("rect", { x: "20.5", y: "8", width: "4.5", height: "17", rx: "1", fill: "#e05504" }), _jsx("path", { d: "M6 25h20", stroke: "#475569", strokeWidth: "1.6", strokeLinecap: "round" })] }));
142
142
  // Mirrors Universal Signatures' favicon.svg — orange signature stroke +
143
143
  // baseline on dark slate.
144
- const SIGNATURES_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("path", { d: "M6 21c3-1 4-9 6-9s1 7 3 7 3-6 5-6 1 3 3 3", fill: "none", stroke: "#f97316", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M6 25h20", stroke: "#fb923c", strokeWidth: "1.6", strokeLinecap: "round" })] }));
144
+ const SIGNATURES_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("path", { d: "M6 21c3-1 4-9 6-9s1 7 3 7 3-6 5-6 1 3 3 3", fill: "none", stroke: "#fe8c01", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M6 25h20", stroke: "#ff9a1f", strokeWidth: "1.6", strokeLinecap: "round" })] }));
145
145
  // Mirrors Universal Recorder's mic mark — orange microphone (capsule, cradle,
146
146
  // stand) on dark slate. Keep in sync with the app's favicon when it ships.
147
- const RECORDER_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "12.5", y: "5.5", width: "7", height: "13", rx: "3.5", fill: "none", stroke: "#fe8c01", strokeWidth: "2.2" }), _jsx("path", { d: "M9 14a7 7 0 0 0 14 0", fill: "none", stroke: "#fe8c01", strokeWidth: "2.2", strokeLinecap: "round" }), _jsx("path", { d: "M16 21.5V25.5", stroke: "#fe8c01", strokeWidth: "2.2", strokeLinecap: "round" }), _jsx("path", { d: "M11.5 25.5h9", stroke: "#fb923c", strokeWidth: "2.2", strokeLinecap: "round" })] }));
147
+ const RECORDER_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "12.5", y: "5.5", width: "7", height: "13", rx: "3.5", fill: "none", stroke: "#fe8c01", strokeWidth: "2.2" }), _jsx("path", { d: "M9 14a7 7 0 0 0 14 0", fill: "none", stroke: "#fe8c01", strokeWidth: "2.2", strokeLinecap: "round" }), _jsx("path", { d: "M16 21.5V25.5", stroke: "#fe8c01", strokeWidth: "2.2", strokeLinecap: "round" }), _jsx("path", { d: "M11.5 25.5h9", stroke: "#ff9a1f", strokeWidth: "2.2", strokeLinecap: "round" })] }));
148
148
  // Universal AI — the "spark" motif (a bright four-point star + a smaller one)
149
149
  // in the brand orange on dark slate.
150
- const AI_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("path", { d: "M14 5c1 6.2 2.8 8 9 9-6.2 1-8 2.8-9 9-1-6.2-2.8-8-9-9 6.2-1 8-2.8 9-9Z", fill: "#fe8c01" }), _jsx("path", { d: "M24 19c.5 2.6 1.4 3.5 4 4-2.6.5-3.5 1.4-4 4-.5-2.6-1.4-3.5-4-4 2.6-.5 3.5-1.4 4-4Z", fill: "#fb923c" })] }));
150
+ const AI_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("path", { d: "M14 5c1 6.2 2.8 8 9 9-6.2 1-8 2.8-9 9-1-6.2-2.8-8-9-9 6.2-1 8-2.8 9-9Z", fill: "#fe8c01" }), _jsx("path", { d: "M24 19c.5 2.6 1.4 3.5 4 4-2.6.5-3.5 1.4-4 4-.5-2.6-1.4-3.5-4-4 2.6-.5 3.5-1.4 4-4Z", fill: "#ff9a1f" })] }));
151
151
  // Universal Screens — a second display extending off the first, orange outlines
152
152
  // on dark slate (the brighter front screen is the "extended" one).
153
- const SCREENS_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "4.5", y: "8", width: "15", height: "11", rx: "2", fill: "none", stroke: "#fb923c", strokeWidth: "2.2" }), _jsx("rect", { x: "14.5", y: "13", width: "13", height: "10", rx: "2", fill: "#0f172a", stroke: "#fe8c01", strokeWidth: "2.2" }), _jsx("path", { d: "M17.5 23v2.5M14 25.5h7", stroke: "#fe8c01", strokeWidth: "2", strokeLinecap: "round" })] }));
153
+ const SCREENS_GLYPH = (_jsxs("svg", { width: "22", height: "22", viewBox: "0 0 32 32", "aria-hidden": "true", children: [_jsx("rect", { width: "32", height: "32", rx: "7", fill: "#0f172a" }), _jsx("rect", { x: "4.5", y: "8", width: "15", height: "11", rx: "2", fill: "none", stroke: "#ff9a1f", strokeWidth: "2.2" }), _jsx("rect", { x: "14.5", y: "13", width: "13", height: "10", rx: "2", fill: "#0f172a", stroke: "#fe8c01", strokeWidth: "2.2" }), _jsx("path", { d: "M17.5 23v2.5M14 25.5h7", stroke: "#fe8c01", strokeWidth: "2", strokeLinecap: "round" })] }));
154
154
  export const DEFAULT_UNIVERSAL_APPS_PRODUCTS = [
155
155
  {
156
156
  id: 'pdf',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisim/sdk",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
4
4
  "description": "Shared React SDK for the Universal Suite — auth, entitlements, usage telemetry, changelog, org admin.",
5
5
  "license": "MIT",
6
6
  "author": "Universal Simulation Ltd",