@particle-academy/react-fancy 5.27.0 → 5.27.1
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/README.md +1 -3
- package/dist/{chunk-7HN4M5MV.cjs → chunk-JX6NKLQV.cjs} +8 -8
- package/dist/{chunk-7HN4M5MV.cjs.map → chunk-JX6NKLQV.cjs.map} +1 -1
- package/dist/{chunk-JAAJJJKI.js → chunk-L5KKMJ2Q.js} +52 -7
- package/dist/chunk-L5KKMJ2Q.js.map +1 -0
- package/dist/{chunk-HBCKKE24.cjs → chunk-LHNC42J3.cjs} +51 -6
- package/dist/chunk-LHNC42J3.cjs.map +1 -0
- package/dist/{chunk-IUWUXCCB.js → chunk-ZDVVE4OV.js} +3 -3
- package/dist/{chunk-IUWUXCCB.js.map → chunk-ZDVVE4OV.js.map} +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.js +2 -2
- package/dist/input.cjs +2 -2
- package/dist/input.js +1 -1
- package/dist/inputs.cjs +2 -2
- package/dist/inputs.js +1 -1
- package/dist/json-editor.cjs +13 -13
- package/dist/json-editor.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HBCKKE24.cjs.map +0 -1
- package/dist/chunk-JAAJJJKI.js.map +0 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ pnpm add @particle-academy/react-fancy
|
|
|
41
41
|
yarn add @particle-academy/react-fancy
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
**Peer dependencies:** `react
|
|
44
|
+
**Peer dependencies:** `react ^19.0.0`, `react-dom ^19.0.0`, `tailwindcss >= 4`
|
|
45
45
|
|
|
46
46
|
**Bundled dependencies:** `clsx`, `tailwind-merge`, `marked`
|
|
47
47
|
|
|
@@ -165,8 +165,6 @@ npx vite build # Build demo app (verifies imports work)
|
|
|
165
165
|
| Editor | Toolbar chrome wrapper for contentEditable, with a Source toggle to edit raw HTML/Markdown | [docs](docs/Editor.md) |
|
|
166
166
|
| CodeView | Lightweight syntax-highlighted source view (HTML highlighted; fills height) | [docs](docs/CodeView.md) |
|
|
167
167
|
| Kanban | Drag-and-drop board with columns and cards | [docs](docs/Kanban.md) |
|
|
168
|
-
| Canvas | Interactive node canvas with pan, zoom, and connections | [docs](docs/Canvas.md) |
|
|
169
|
-
| Diagram | Entity-relationship diagram with draggable nodes and relation lines | [docs](docs/Diagram.md) |
|
|
170
168
|
| ContentRenderer | Markdown/HTML content renderer | [docs](docs/ContentRenderer.md) |
|
|
171
169
|
|
|
172
170
|
### Media Viewers
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkXQNYFXBY_cjs = require('./chunk-XQNYFXBY.cjs');
|
|
4
4
|
var chunkVUKIFFWK_cjs = require('./chunk-VUKIFFWK.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkLHNC42J3_cjs = require('./chunk-LHNC42J3.cjs');
|
|
6
6
|
var chunkFXP4JLGU_cjs = require('./chunk-FXP4JLGU.cjs');
|
|
7
7
|
var chunkXLFGWNW4_cjs = require('./chunk-XLFGWNW4.cjs');
|
|
8
8
|
var chunkV6VFSX6V_cjs = require('./chunk-V6VFSX6V.cjs');
|
|
@@ -572,7 +572,7 @@ function JsonEditorValue({ node, mode, size, readOnly, id, onCommit }) {
|
|
|
572
572
|
);
|
|
573
573
|
case "secret":
|
|
574
574
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
575
|
-
|
|
575
|
+
chunkLHNC42J3_cjs.Input,
|
|
576
576
|
{
|
|
577
577
|
...common,
|
|
578
578
|
type: "password",
|
|
@@ -587,7 +587,7 @@ function JsonEditorValue({ node, mode, size, readOnly, id, onCommit }) {
|
|
|
587
587
|
case "string":
|
|
588
588
|
default:
|
|
589
589
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
590
|
-
|
|
590
|
+
chunkLHNC42J3_cjs.Input,
|
|
591
591
|
{
|
|
592
592
|
...common,
|
|
593
593
|
type: node.type === "url" ? "url" : node.type === "email" ? "email" : "text",
|
|
@@ -639,7 +639,7 @@ function RawValueEditor({
|
|
|
639
639
|
);
|
|
640
640
|
}
|
|
641
641
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
642
|
-
|
|
642
|
+
chunkLHNC42J3_cjs.Input,
|
|
643
643
|
{
|
|
644
644
|
id,
|
|
645
645
|
size,
|
|
@@ -712,7 +712,7 @@ function JsonEditorRow({ node }) {
|
|
|
712
712
|
className: "w-1/3 min-w-0 shrink-0",
|
|
713
713
|
children: [
|
|
714
714
|
renameable ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
715
|
-
|
|
715
|
+
chunkLHNC42J3_cjs.Input,
|
|
716
716
|
{
|
|
717
717
|
size: ctx.size,
|
|
718
718
|
mode: "edit",
|
|
@@ -889,7 +889,7 @@ function JsonEditorAddForm({ path, kind, depth, suggestedType }) {
|
|
|
889
889
|
style: { paddingInlineStart: depth * INDENT + 32 },
|
|
890
890
|
children: [
|
|
891
891
|
kind === "object" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
892
|
-
|
|
892
|
+
chunkLHNC42J3_cjs.Input,
|
|
893
893
|
{
|
|
894
894
|
size: ctx.size,
|
|
895
895
|
mode: "edit",
|
|
@@ -1350,5 +1350,5 @@ exports.parsePath = parsePath;
|
|
|
1350
1350
|
exports.pathToString = pathToString;
|
|
1351
1351
|
exports.resolveKeyRule = resolveKeyRule;
|
|
1352
1352
|
exports.typeMatches = typeMatches;
|
|
1353
|
-
//# sourceMappingURL=chunk-
|
|
1354
|
-
//# sourceMappingURL=chunk-
|
|
1353
|
+
//# sourceMappingURL=chunk-JX6NKLQV.cjs.map
|
|
1354
|
+
//# sourceMappingURL=chunk-JX6NKLQV.cjs.map
|