@cosmicdrift/kumiko-renderer-web 0.211.0 → 0.212.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-renderer-web",
3
- "version": "0.211.0",
3
+ "version": "0.212.0",
4
4
  "description": "Web-platform bindings for @cosmicdrift/kumiko-renderer. HTML default-primitives, browser history-based navigation, EventSource-backed live events, and a one-call createKumikoApp that mounts the whole stack via react-dom.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -16,9 +16,9 @@
16
16
  "./styles.css": "./src/styles.css"
17
17
  },
18
18
  "dependencies": {
19
- "@cosmicdrift/kumiko-dispatcher-live": "0.211.0",
20
- "@cosmicdrift/kumiko-headless": "0.211.0",
21
- "@cosmicdrift/kumiko-renderer": "0.211.0",
19
+ "@cosmicdrift/kumiko-dispatcher-live": "0.212.0",
20
+ "@cosmicdrift/kumiko-headless": "0.212.0",
21
+ "@cosmicdrift/kumiko-renderer": "0.212.0",
22
22
  "@radix-ui/react-dialog": "^1.1.15",
23
23
  "@radix-ui/react-dropdown-menu": "^2.1.16",
24
24
  "@radix-ui/react-label": "^2.1.8",
@@ -64,7 +64,7 @@
64
64
  "@types/react-dom": "^19.2.3",
65
65
  "jsdom": "^29.1.1",
66
66
  "tailwindcss": "^4.3.0",
67
- "@cosmicdrift/kumiko-locale-de": "0.211.0"
67
+ "@cosmicdrift/kumiko-locale-de": "0.212.0"
68
68
  },
69
69
  "repository": {
70
70
  "type": "git",
@@ -166,6 +166,8 @@ const NAV_ICON_LUCIDE_CLASS: Readonly<Record<string, string>> = {
166
166
  palette: "lucide-palette",
167
167
  link: "lucide-link",
168
168
  share: "lucide-share-2",
169
+ send: "lucide-send",
170
+ "shield-check": "lucide-shield-check",
169
171
  };
170
172
 
171
173
  function expectNavIcons(container: HTMLElement, iconKeys: readonly string[]): void {
@@ -340,6 +342,30 @@ describe("NavTree", () => {
340
342
  expectNavIcons(container, ["palette", "link", "share"]);
341
343
  });
342
344
 
345
+ test("send und shield-check rendern Lucide-Icons", () => {
346
+ const schema = {
347
+ featureName: "app",
348
+ entities: {},
349
+ screens: [
350
+ { id: "delivery-log", type: "entityList", entity: "x", columns: [] },
351
+ { id: "profile-picker", type: "entityList", entity: "x", columns: [] },
352
+ ],
353
+ navs: [
354
+ { id: "delivery-log", label: "Log", screen: "delivery-log", order: 10, icon: "send" },
355
+ {
356
+ id: "profile-picker",
357
+ label: "Profile",
358
+ screen: "profile-picker",
359
+ order: 20,
360
+ icon: "shield-check",
361
+ },
362
+ ],
363
+ } as FeatureSchema;
364
+ const { container } = render(<NavTree schema={schema} />);
365
+ expectNavIcons(container, ["send", "shield-check"]);
366
+ expect(warnSpy).not.toHaveBeenCalled();
367
+ });
368
+
343
369
  test("unbekannter icon-Key fällt sauber auf den Dot zurück (kein svg), aber warnt sichtbar", () => {
344
370
  const schema = {
345
371
  featureName: "showcase",
@@ -64,10 +64,12 @@ import {
64
64
  Receipt,
65
65
  Rocket,
66
66
  Search,
67
+ Send,
67
68
  Server,
68
69
  Settings,
69
70
  Share2,
70
71
  Shield,
72
+ ShieldCheck,
71
73
  Sparkles,
72
74
  Table,
73
75
  Tag,
@@ -147,6 +149,8 @@ const NAV_ICONS = {
147
149
  home: Home,
148
150
  bell: Bell,
149
151
  shield: Shield,
152
+ "shield-check": ShieldCheck,
153
+ send: Send,
150
154
  settings: Settings,
151
155
  users: Users,
152
156
  user: User,