|
@@ -0,0 +1,31 @@
|
|
|
|
|
+json-render — Oivo fork
|
|
|
|
|
+Copyright 2026 pch007 and contributors
|
|
|
|
|
+
|
|
|
|
|
+This product is a fork of "json-render" developed by Vercel Inc.
|
|
|
|
|
+ Upstream repository: https://github.com/vercel-labs/json-render
|
|
|
|
|
+ Original work: Copyright 2025 Vercel Inc.
|
|
|
|
|
+
|
|
|
|
|
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
|
|
|
+these files except in compliance with the License. A copy of the License is
|
|
|
|
|
+provided in the LICENSE file in this repository.
|
|
|
|
|
+
|
|
|
|
|
+------------------------------------------------------------------------------
|
|
|
|
|
+Modifications in this fork (per Apache License, Version 2.0, Section 4(b)):
|
|
|
|
|
+
|
|
|
|
|
+ - Image: an optional real `src` now renders an actual <img> element
|
|
|
|
|
+ (object-cover), with a placeholder fallback when absent.
|
|
|
|
|
+ - Pressable: a clickable container that wraps arbitrary children and emits
|
|
|
|
|
+ a `press` event.
|
|
|
|
|
+ - Lightbox: a self-contained photo gallery (thumbnail grid + fullscreen
|
|
|
|
|
+ overlay with prev/next and keyboard/backdrop close) that manages its own
|
|
|
|
|
+ state.
|
|
|
|
|
+ - Modal: a self-contained modal whose trigger button and popup are a single
|
|
|
|
|
+ component, managing its own state.
|
|
|
|
|
+ - Playground: generation routed through the OpenAI-compatible ai.mm.mk
|
|
|
|
|
+ gateway.
|
|
|
|
|
+
|
|
|
|
|
+ Primary changed files:
|
|
|
|
|
+ apps/web/lib/render/registry.tsx
|
|
|
|
|
+ apps/web/lib/render/catalog.ts
|
|
|
|
|
+ apps/web/app/api/generate/route.ts
|
|
|
|
|
+------------------------------------------------------------------------------
|