@declarion/react 0.44.0 → 0.47.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/dist-lib/{DraggableChildrenTable-G4Sw1XAD.js → DraggableChildrenTable-B6KjWkwD.js} +39 -39
- package/dist-lib/{DynamicIcon-DeRpAaXm.js → DynamicIcon-Dc2j-rg_.js} +19 -17
- package/dist-lib/{Grid-CXn-IK3H.js → Grid-OdquWJNX.js} +2 -2
- package/dist-lib/{LayoutRenderer-DX8pFS5A.js → LayoutRenderer-CzAdhjNT.js} +794 -787
- package/dist-lib/{MarkdownRenderer-CreI9x2m.js → MarkdownRenderer-C6bhrAIe.js} +10 -10
- package/dist-lib/{RefreshControl-DFh0-gCb.js → RefreshControl-F9Ib9asP.js} +179 -179
- package/dist-lib/{SmartDetailPage.impl-K6Jj1-9z.js → SmartDetailPage.impl-DdSu3kmW.js} +631 -593
- package/dist-lib/{SmartRecordListPage.impl-DQW_uVfL.js → SmartRecordListPage.impl-SkIp0_Rd.js} +220 -209
- package/dist-lib/api/agents.d.ts +39 -7
- package/dist-lib/components/agents/AgentChatPanel.d.ts +6 -1
- package/dist-lib/components/agents/transcript-runs.d.ts +29 -0
- package/dist-lib/components/file-widgets/host.d.ts +1 -0
- package/dist-lib/components/list/QuickPeek.d.ts +1 -1
- package/dist-lib/components/pages/exportRequest.d.ts +3 -3
- package/dist-lib/components/pages/list/ListFloatbar.d.ts +4 -2
- package/dist-lib/components/pages/list/cardProjection.d.ts +2 -1
- package/dist-lib/components/pages/list/filter-meta.d.ts +22 -8
- package/dist-lib/components/shared/RowActionsKebab.d.ts +3 -2
- package/dist-lib/components/views/ViewSwitcher.d.ts +2 -1
- package/dist-lib/hooks/useAgentConversation.d.ts +7 -19
- package/dist-lib/hooks/useCursorEntityData.d.ts +3 -2
- package/dist-lib/hooks/useFilters.d.ts +1 -0
- package/dist-lib/icons.js +1 -1
- package/dist-lib/index.d.ts +8 -1
- package/dist-lib/index.js +3246 -2984
- package/dist-lib/lib/actions.d.ts +1 -1
- package/dist-lib/lib/anchor.d.ts +37 -0
- package/dist-lib/lib/filter-evaluator.d.ts +16 -0
- package/dist-lib/lib/filters.d.ts +10 -4
- package/dist-lib/lib/messages.d.ts +1 -0
- package/dist-lib/lib/variants.d.ts +7 -0
- package/dist-lib/{registry-r4hiflwC.js → registry-C2VD-5MD.js} +1103 -879
- package/dist-lib/testing.js +10 -10
- package/dist-lib/types/api.d.ts +3 -10
- package/dist-lib/types/schema.d.ts +51 -13
- package/dist-lib/{useCurrentScreen-CpQjVmrT.js → useCurrentScreen-ow4r-nWa.js} +1130 -1054
- package/dist-lib/{useProperties-CULxrNT4.js → useProperties-lEKfzm2X.js} +114 -83
- package/dist-lib/{value-fUHxMV4r.js → value-CXohNH6a.js} +1 -1
- package/dist-lib/vite/index.js +23 -22
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as e, et as t } from "./useCurrentScreen-
|
|
1
|
+
import { H as e, et as t } from "./useCurrentScreen-ow4r-nWa.js";
|
|
2
2
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
3
|
import i, { defaultUrlTransform as a } from "react-markdown";
|
|
4
4
|
import o from "remark-breaks";
|
|
@@ -65,21 +65,21 @@ function m(t) {
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
function h({ content: e, plugins: t = "breaks", files: r, components: a, skipHtml: o = !0, prose: s = !0 }) {
|
|
68
|
-
let f =
|
|
68
|
+
let f = t === "gfm" ? u : l, h = {
|
|
69
|
+
a: p,
|
|
70
|
+
...r ? m(r) : {},
|
|
71
|
+
...a
|
|
72
|
+
}, g = /* @__PURE__ */ n(i, {
|
|
69
73
|
skipHtml: o,
|
|
70
|
-
remarkPlugins:
|
|
71
|
-
components:
|
|
72
|
-
a: p,
|
|
73
|
-
...r ? m(r) : {},
|
|
74
|
-
...a
|
|
75
|
-
},
|
|
74
|
+
remarkPlugins: f,
|
|
75
|
+
components: h,
|
|
76
76
|
urlTransform: r ? d : void 0,
|
|
77
77
|
children: e
|
|
78
78
|
});
|
|
79
79
|
return s ? /* @__PURE__ */ n("div", {
|
|
80
80
|
className: c,
|
|
81
|
-
children:
|
|
82
|
-
}) :
|
|
81
|
+
children: g
|
|
82
|
+
}) : g;
|
|
83
83
|
}
|
|
84
84
|
//#endregion
|
|
85
85
|
export { h as MarkdownRenderer };
|