@djangocfg/ui-tools 2.1.103 → 2.1.105

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.
Files changed (32) hide show
  1. package/dist/{LottiePlayer.client-WFMG2OOW.cjs → LottiePlayer.client-6WVWDO75.cjs} +6 -6
  2. package/dist/{LottiePlayer.client-WFMG2OOW.cjs.map → LottiePlayer.client-6WVWDO75.cjs.map} +1 -1
  3. package/dist/{LottiePlayer.client-LBEC2JKY.mjs → LottiePlayer.client-B4I6WNZM.mjs} +4 -4
  4. package/dist/{LottiePlayer.client-LBEC2JKY.mjs.map → LottiePlayer.client-B4I6WNZM.mjs.map} +1 -1
  5. package/dist/{Mermaid.client-4TU2TSH3.mjs → Mermaid.client-4OCKJ6QD.mjs} +3 -3
  6. package/dist/{Mermaid.client-4TU2TSH3.mjs.map → Mermaid.client-4OCKJ6QD.mjs.map} +1 -1
  7. package/dist/{Mermaid.client-SBYY364Q.cjs → Mermaid.client-ZP6OE46Z.cjs} +23 -23
  8. package/dist/{Mermaid.client-SBYY364Q.cjs.map → Mermaid.client-ZP6OE46Z.cjs.map} +1 -1
  9. package/dist/{PlaygroundLayout-4DYBORAS.mjs → PlaygroundLayout-LMQTVXSP.mjs} +4 -4
  10. package/dist/{PlaygroundLayout-4DYBORAS.mjs.map → PlaygroundLayout-LMQTVXSP.mjs.map} +1 -1
  11. package/dist/{PlaygroundLayout-3YVSAEAF.cjs → PlaygroundLayout-XXVBU4WZ.cjs} +51 -51
  12. package/dist/{PlaygroundLayout-3YVSAEAF.cjs.map → PlaygroundLayout-XXVBU4WZ.cjs.map} +1 -1
  13. package/dist/{PrettyCode.client-PNPLXRH6.cjs → PrettyCode.client-2CLSV2VD.cjs} +5 -5
  14. package/dist/{PrettyCode.client-PNPLXRH6.cjs.map → PrettyCode.client-2CLSV2VD.cjs.map} +1 -1
  15. package/dist/{PrettyCode.client-LCBPPTIX.mjs → PrettyCode.client-Y2BVON7R.mjs} +3 -3
  16. package/dist/{PrettyCode.client-LCBPPTIX.mjs.map → PrettyCode.client-Y2BVON7R.mjs.map} +1 -1
  17. package/dist/{chunk-YFRNE2IR.mjs → chunk-6JTB2X72.mjs} +3 -3
  18. package/dist/{chunk-YFRNE2IR.mjs.map → chunk-6JTB2X72.mjs.map} +1 -1
  19. package/dist/{chunk-37ZI6VD4.mjs → chunk-CGILA3WO.mjs} +2 -2
  20. package/dist/{chunk-37ZI6VD4.mjs.map → chunk-CGILA3WO.mjs.map} +1 -1
  21. package/dist/{chunk-7DGDQVQW.cjs → chunk-FB5QBSI3.cjs} +46 -46
  22. package/dist/{chunk-7DGDQVQW.cjs.map → chunk-FB5QBSI3.cjs.map} +1 -1
  23. package/dist/{chunk-M6P2FU7L.mjs → chunk-L6UHASYQ.mjs} +4 -4
  24. package/dist/{chunk-M6P2FU7L.mjs.map → chunk-L6UHASYQ.mjs.map} +1 -1
  25. package/dist/{chunk-3HK2OE62.cjs → chunk-PRPG2T2E.cjs} +6 -6
  26. package/dist/{chunk-3HK2OE62.cjs.map → chunk-PRPG2T2E.cjs.map} +1 -1
  27. package/dist/{chunk-UQ3XI5MY.cjs → chunk-WGEGR3DF.cjs} +2 -2
  28. package/dist/{chunk-UQ3XI5MY.cjs.map → chunk-WGEGR3DF.cjs.map} +1 -1
  29. package/dist/index.cjs +227 -227
  30. package/dist/index.mjs +7 -7
  31. package/package.json +3 -3
  32. package/src/index.ts +2 -0
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { useLottie } from './chunk-YFRNE2IR.mjs';
2
- import { PlaygroundProvider, PrettyCode_default } from './chunk-M6P2FU7L.mjs';
3
- export { JsonTree_default as JsonTree, PrettyCode_default as PrettyCode } from './chunk-M6P2FU7L.mjs';
4
- import { __name, __require } from './chunk-37ZI6VD4.mjs';
1
+ export { useLottie } from './chunk-6JTB2X72.mjs';
2
+ import { PlaygroundProvider, PrettyCode_default } from './chunk-L6UHASYQ.mjs';
3
+ export { JsonTree_default as JsonTree, PrettyCode_default as PrettyCode } from './chunk-L6UHASYQ.mjs';
4
+ import { __name, __require } from './chunk-CGILA3WO.mjs';
5
5
  import React17, { lazy, forwardRef, useRef, useState, useMemo, useEffect, useCallback, useImperativeHandle, createContext, memo, Suspense, useContext } from 'react';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
7
7
  import consola from 'consola';
@@ -25,7 +25,7 @@ import { useControls, TransformWrapper, TransformComponent } from 'react-zoom-pa
25
25
  import ReactMarkdown from 'react-markdown';
26
26
  import remarkGfm from 'remark-gfm';
27
27
 
28
- var MermaidClient = lazy(() => import('./Mermaid.client-4TU2TSH3.mjs'));
28
+ var MermaidClient = lazy(() => import('./Mermaid.client-4OCKJ6QD.mjs'));
29
29
  var LoadingFallback = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsxs("div", { className: "relative bg-card rounded-sm border border-border overflow-hidden", children: [
30
30
  /* @__PURE__ */ jsxs("div", { className: "p-4 border-b border-border bg-muted/50", children: [
31
31
  /* @__PURE__ */ jsx("h6", { className: "text-sm font-semibold text-foreground", children: "Diagram" }),
@@ -38,7 +38,7 @@ var Mermaid = /* @__PURE__ */ __name((props) => {
38
38
  }, "Mermaid");
39
39
  var Mermaid_default = Mermaid;
40
40
  var LottiePlayerClient = lazy(
41
- () => import('./LottiePlayer.client-LBEC2JKY.mjs').then((mod) => ({ default: mod.LottiePlayer }))
41
+ () => import('./LottiePlayer.client-B4I6WNZM.mjs').then((mod) => ({ default: mod.LottiePlayer }))
42
42
  );
43
43
  var LoadingFallback2 = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-2", children: [
44
44
  /* @__PURE__ */ jsx("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-gray-300 border-t-gray-900" }),
@@ -1088,7 +1088,7 @@ function JsonSchemaForm(props) {
1088
1088
  }
1089
1089
  __name(JsonSchemaForm, "JsonSchemaForm");
1090
1090
  var PlaygroundLayout = lazy(
1091
- () => import('./PlaygroundLayout-4DYBORAS.mjs').then((mod) => ({ default: mod.PlaygroundLayout }))
1091
+ () => import('./PlaygroundLayout-LMQTVXSP.mjs').then((mod) => ({ default: mod.PlaygroundLayout }))
1092
1092
  );
1093
1093
  var LoadingFallback3 = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center min-h-[400px]", children: /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: "Loading API Playground..." }) }), "LoadingFallback");
1094
1094
  var Playground = /* @__PURE__ */ __name(({ config }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djangocfg/ui-tools",
3
- "version": "2.1.103",
3
+ "version": "2.1.105",
4
4
  "description": "Heavy React tools with lazy loading - for Electron, Vite, CRA, Next.js apps",
5
5
  "keywords": [
6
6
  "ui-tools",
@@ -47,7 +47,7 @@
47
47
  "check": "tsc --noEmit"
48
48
  },
49
49
  "peerDependencies": {
50
- "@djangocfg/ui-core": "^2.1.103",
50
+ "@djangocfg/ui-core": "^2.1.105",
51
51
  "lucide-react": "^0.545.0",
52
52
  "react": "^19.0.0",
53
53
  "react-dom": "^19.0.0",
@@ -73,7 +73,7 @@
73
73
  "wavesurfer.js": "^7.12.1"
74
74
  },
75
75
  "devDependencies": {
76
- "@djangocfg/typescript-config": "^2.1.103",
76
+ "@djangocfg/typescript-config": "^2.1.105",
77
77
  "@types/node": "^24.7.2",
78
78
  "@types/react": "^19.1.0",
79
79
  "@types/react-dom": "^19.1.0",
package/src/index.ts CHANGED
@@ -16,6 +16,8 @@
16
16
  * - ImageViewer: ~50KB (Image viewer with zoom/pan/rotate)
17
17
  */
18
18
 
19
+ 'use client';
20
+
19
21
  // Re-export everything from tools
20
22
  export * from './tools';
21
23