@declarion/react 0.60.0 → 0.61.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.
Files changed (31) hide show
  1. package/dist-lib/{AgentChatPanel.impl-BY-Ir7Sh.js → AgentChatPanel.impl-rgkewyMl.js} +4 -4
  2. package/dist-lib/{DetailAuditStrip-B9p1XhjC.js → DetailAuditStrip-CSXZoy7v.js} +5 -5
  3. package/dist-lib/{DraggableChildrenTable-CtL7rdT6.js → DraggableChildrenTable-DruYOxKm.js} +2 -2
  4. package/dist-lib/{Grid-CYERLdXO.js → Grid-Dsf3I0xG.js} +3 -3
  5. package/dist-lib/{LayoutRenderer-B08IJKsZ.js → LayoutRenderer-QN7Wp2W6.js} +7 -7
  6. package/dist-lib/{ListCardsBody-Dje_rays.js → ListCardsBody-CNaZ0xwz.js} +5 -5
  7. package/dist-lib/{MarkdownRenderer-N0IWjTH5.js → MarkdownRenderer-BuO5hYJh.js} +2 -2
  8. package/dist-lib/{RefreshControl-BEWSHtAC.js → RefreshControl-DO9rYcdq.js} +3 -3
  9. package/dist-lib/{SmartDetailPage.impl-CYiM-ITJ.js → SmartDetailPage.impl-DFIIx80b.js} +12 -12
  10. package/dist-lib/{SmartListPage.impl-Db_Pv9Xc.js → SmartListPage.impl-D694R32H.js} +13 -13
  11. package/dist-lib/{SmartRecordListPage.impl-hbbLglC1.js → SmartRecordListPage.impl-CB5cuQJV.js} +10 -10
  12. package/dist-lib/{SortHeaderMenu-DKKeCGTH.js → SortHeaderMenu-BV-aQbPy.js} +2 -2
  13. package/dist-lib/{action-dispatch-DbiOpvd6.js → action-dispatch-gWmOYjOP.js} +4 -4
  14. package/dist-lib/{cardProjection-nveYLvHR.js → cardProjection-BnmWukxk.js} +1 -1
  15. package/dist-lib/components/primitives/Fields.d.ts +3 -1
  16. package/dist-lib/{failure-BT54OLHy.js → failure-BUxXuP4c.js} +1 -1
  17. package/dist-lib/{format-count-DLFCdtME.js → format-count-bXVfHzbI.js} +5 -5
  18. package/dist-lib/index.js +710 -702
  19. package/dist-lib/{peekDraftStore-DSExeoAh.js → peekDraftStore-Dk1Ha5u3.js} +3 -3
  20. package/dist-lib/{registry-CRPxNbkk.js → registry-nSeHd5si.js} +5 -5
  21. package/dist-lib/testing.js +3 -3
  22. package/dist-lib/types/api.d.ts +0 -1
  23. package/dist-lib/{useAgentConversation-BavrHfrU.js → useAgentConversation-nT5UypJX.js} +3 -3
  24. package/dist-lib/{useCurrentScreen-BPq7HMF1.js → useCurrentScreen-0WBj7wT6.js} +1121 -1101
  25. package/dist-lib/{useListQuery-CG1WM4cv.js → useListQuery-C7dq_sEo.js} +2 -2
  26. package/dist-lib/{useOwnRefresh-C18iWRgr.js → useOwnRefresh-q80kCMMh.js} +5 -5
  27. package/dist-lib/{useProperties-C35JrjwQ.js → useProperties-CeGKtq7Q.js} +3 -3
  28. package/dist-lib/{useTabSearchMirror-DKktWWLB.js → useTabSearchMirror-CzNAj82Q.js} +2 -2
  29. package/dist-lib/{useText-BFDCTUSo.js → useText-BsedsJ-J.js} +2 -2
  30. package/dist-lib/{value-By1-WJ8J.js → value-Dwfyghtj.js} +1 -1
  31. package/package.json +9 -9
@@ -1,5 +1,5 @@
1
- import { Ft as e, It as t, Nt as n, Pt as r, l as i, s as a } from "./useCurrentScreen-BPq7HMF1.js";
2
- import { f as o } from "./useOwnRefresh-C18iWRgr.js";
1
+ import { Ft as e, It as t, Nt as n, Pt as r, l as i, s as a } from "./useCurrentScreen-0WBj7wT6.js";
2
+ import { f as o } from "./useOwnRefresh-q80kCMMh.js";
3
3
  import { useCallback as s, useEffect as c, useMemo as l, useState as u } from "react";
4
4
  import { useQueryClient as d } from "@tanstack/react-query";
5
5
  //#region src/components/pages/list/useListQuery.ts
@@ -1,7 +1,7 @@
1
- import { D as e, Ht as t, Ln as n, Rn as r, Ut as i, Zt as a, a as o, vt as s, yt as c, zt as l } from "./useCurrentScreen-BPq7HMF1.js";
2
- import { D as u, O as d, f, p, t as m } from "./useText-BFDCTUSo.js";
3
- import { h, o as g, s as ee, t as te, y as ne } from "./failure-BT54OLHy.js";
4
- import { d as re, f as ie, u as ae } from "./action-dispatch-DbiOpvd6.js";
1
+ import { D as e, Ht as t, Ln as n, Rn as r, Ut as i, Zt as a, a as o, vt as s, yt as c, zt as l } from "./useCurrentScreen-0WBj7wT6.js";
2
+ import { D as u, O as d, f, p, t as m } from "./useText-BsedsJ-J.js";
3
+ import { h, o as g, s as ee, t as te, y as ne } from "./failure-BUxXuP4c.js";
4
+ import { d as re, f as ie, u as ae } from "./action-dispatch-gWmOYjOP.js";
5
5
  import { useCallback as _, useEffect as v, useMemo as oe, useRef as se, useState as ce } from "react";
6
6
  import { parsePath as le, useLocation as ue, useNavigate as de } from "react-router";
7
7
  import { useMutation as y, useQueryClient as b } from "@tanstack/react-query";
@@ -64,7 +64,7 @@ function T(e) {
64
64
  }
65
65
  var xe = ["declarion-preferences", "declarion-appearance"];
66
66
  function Se() {
67
- if (!(typeof window > "u")) try {
67
+ if (typeof window < "u") try {
68
68
  for (let e of xe) localStorage.removeItem(e);
69
69
  } catch {}
70
70
  }
@@ -1,6 +1,6 @@
1
- import { zt as e } from "./useCurrentScreen-BPq7HMF1.js";
2
- import { t } from "./useText-BFDCTUSo.js";
3
- import { t as n, u as r } from "./failure-BT54OLHy.js";
1
+ import { zt as e } from "./useCurrentScreen-0WBj7wT6.js";
2
+ import { t } from "./useText-BsedsJ-J.js";
3
+ import { t as n, u as r } from "./failure-BUxXuP4c.js";
4
4
  import { useMutation as i, useQueryClient as a } from "@tanstack/react-query";
5
5
  //#region src/api/status.ts
6
6
  async function o(e, t, n, i, a) {
@@ -1,5 +1,5 @@
1
- import { D as e, t } from "./useText-BFDCTUSo.js";
2
- import { A as n } from "./useOwnRefresh-C18iWRgr.js";
1
+ import { D as e, t } from "./useText-BsedsJ-J.js";
2
+ import { A as n } from "./useOwnRefresh-q80kCMMh.js";
3
3
  import { useEffect as r, useLayoutEffect as i } from "react";
4
4
  import { useSearchParams as a } from "react-router";
5
5
  //#region src/lib/filters.ts
@@ -661,10 +661,10 @@ async function at() {
661
661
  //#endregion
662
662
  //#region src/lib/html-state.ts
663
663
  function ot(e) {
664
- typeof document > "u" || (document.documentElement.dataset.viewport = e);
664
+ typeof document < "u" && (document.documentElement.dataset.viewport = e);
665
665
  }
666
666
  function st(e) {
667
- typeof document > "u" || (document.documentElement.dataset.embed = e ? "true" : "false");
667
+ typeof document < "u" && (document.documentElement.dataset.embed = e ? "true" : "false");
668
668
  }
669
669
  //#endregion
670
670
  //#region src/embed/params.ts
@@ -1,4 +1,4 @@
1
- import { H as e, K as t, U as n, at as r, c as i } from "./useText-BFDCTUSo.js";
1
+ import { H as e, K as t, U as n, at as r, c as i } from "./useText-BsedsJ-J.js";
2
2
  import { useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
3
3
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
4
4
  //#region src/embed/file-src.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@declarion/react",
3
- "version": "0.60.0",
3
+ "version": "0.61.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "React SDK for Declarion, the schema-driven business apps platform.",
@@ -65,15 +65,15 @@
65
65
  "@radix-ui/react-select": "^2.3.7",
66
66
  "@radix-ui/react-separator": "^1.1.15",
67
67
  "@radix-ui/react-slot": "^1.3.3",
68
- "@tanstack/react-query": "^5.103.1",
68
+ "@tanstack/react-query": "^5.103.2",
69
69
  "@tanstack/react-table": "^9.2.4",
70
70
  "@tanstack/react-virtual": "^3.14.13",
71
71
  "class-variance-authority": "^0.7.1",
72
72
  "clsx": "^2.1.1",
73
73
  "date-fns": "^4.4.0",
74
- "lucide-react": "^1.47.0",
74
+ "lucide-react": "^1.48.0",
75
75
  "mdast-util-to-string": "^4.0.0",
76
- "monaco-editor": "^0.56.0",
76
+ "monaco-editor": "^0.57.0",
77
77
  "react-markdown": "^10.1.0",
78
78
  "react-router": "^8.4.0",
79
79
  "react-textarea-autosize": "^8.5.9",
@@ -99,11 +99,11 @@
99
99
  "@types/react-dom": "^19.3.0",
100
100
  "@typescript/native": "npm:typescript@^7.0.2",
101
101
  "@vitejs/plugin-react": "^6.1.1",
102
- "@vitest/coverage-v8": "^5.0.1",
102
+ "@vitest/coverage-v8": "^5.0.2",
103
103
  "axe-core": "^4.13.0",
104
104
  "eslint": "^10.11.0",
105
105
  "eslint-plugin-react-hooks": "^7.1.1",
106
- "jsdom": "^30.1.0",
106
+ "jsdom": "^30.1.1",
107
107
  "msw": "^2.15.0",
108
108
  "publint": "^0.3.24",
109
109
  "react": "^19.3.0",
@@ -111,9 +111,9 @@
111
111
  "tailwindcss": "^4.3.3",
112
112
  "tsc-alias": "^1.9.5",
113
113
  "typescript": "npm:@typescript/typescript6@^6.0.2",
114
- "typescript-eslint": "^8.70.0",
115
- "vite": "^8.3.0",
116
- "vitest": "^5.0.1"
114
+ "typescript-eslint": "^8.70.1",
115
+ "vite": "^8.3.1",
116
+ "vitest": "^5.0.2"
117
117
  },
118
118
  "scripts": {
119
119
  "dev": "vite",