@cosmicdrift/kumiko-renderer 0.123.3 → 0.125.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",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.125.0",
|
|
4
4
|
"description": "Platform-agnostic React renderer for Kumiko screens. Contains the shared logic — primitives-contract, hooks, KumikoScreen, navigation & SSE abstractions — that any platform-specific renderer (web, native) composes. No DOM, no EventSource, no react-dom.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
19
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
18
|
+
"@cosmicdrift/kumiko-framework": "0.125.0",
|
|
19
|
+
"@cosmicdrift/kumiko-headless": "0.125.0",
|
|
20
20
|
"react": "^19.2.6"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
package/src/index.ts
CHANGED
package/src/primitives.tsx
CHANGED
|
@@ -581,6 +581,16 @@ export type DialogProps = {
|
|
|
581
581
|
readonly testId?: string;
|
|
582
582
|
};
|
|
583
583
|
|
|
584
|
+
/** Image lightbox — full-size preview on click. Web renders Radix overlay;
|
|
585
|
+
* trigger (thumbnail) and open state live in the app. */
|
|
586
|
+
export type LightboxProps = {
|
|
587
|
+
readonly open: boolean;
|
|
588
|
+
readonly onOpenChange: (open: boolean) => void;
|
|
589
|
+
readonly src: string;
|
|
590
|
+
readonly alt: string;
|
|
591
|
+
readonly testId?: string;
|
|
592
|
+
};
|
|
593
|
+
|
|
584
594
|
/** Source-badge for one cascade step (User / Tenant / System / …).
|
|
585
595
|
* Used inline next to a config value to indicate where it came from.
|
|
586
596
|
* Requires a LocaleProvider above it (labels run through useTranslation)
|
|
@@ -661,6 +671,7 @@ export type CorePrimitives = {
|
|
|
661
671
|
readonly Text: ComponentType<TextProps>;
|
|
662
672
|
readonly Heading: ComponentType<HeadingProps>;
|
|
663
673
|
readonly Dialog: ComponentType<DialogProps>;
|
|
674
|
+
readonly Lightbox: ComponentType<LightboxProps>;
|
|
664
675
|
readonly ConfigSourceBadge: ComponentType<ConfigSourceBadgeProps>;
|
|
665
676
|
readonly ConfigCascadeView: ComponentType<ConfigCascadeViewProps>;
|
|
666
677
|
};
|