@gisce/react-ooui 1.1.60-rc.0 → 1.1.61-rc.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/react-ooui.es.js +12 -5
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +2 -2
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/custom/Markdown.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/stories/Label.stories.tsx +2 -2
- package/src/widgets/base/Label.tsx +2 -2
- package/src/widgets/custom/Markdown.tsx +6 -3
package/dist/react-ooui.es.js
CHANGED
|
@@ -37,7 +37,7 @@ const {
|
|
|
37
37
|
fieldForLabel: s,
|
|
38
38
|
labelSize: u,
|
|
39
39
|
labelType: l
|
|
40
|
-
} = t, d = s !== null && a.length > 1 ? a + " :" : a, p = r || (s ? n ? "left" : "right" : "left"), h = u ===
|
|
40
|
+
} = t, d = s !== null && a.length > 1 ? a + " :" : a, p = r || (s ? n ? "left" : "right" : "left"), h = u === void 0 ? Text$3 : Title$4;
|
|
41
41
|
return /* @__PURE__ */ jsxs("div", {
|
|
42
42
|
className: `flex flex-row items-center pb-1 pt-1 ${alignClass[p]}`,
|
|
43
43
|
children: [o && /* @__PURE__ */ jsx(Tooltip$2, {
|
|
@@ -48,7 +48,7 @@ const {
|
|
|
48
48
|
}), /* @__PURE__ */ jsx("span", {
|
|
49
49
|
className: "pr-2",
|
|
50
50
|
children: /* @__PURE__ */ jsx(h, {
|
|
51
|
-
level: u
|
|
51
|
+
level: u,
|
|
52
52
|
type: l,
|
|
53
53
|
children: /* @__PURE__ */ jsx(Interweave, {
|
|
54
54
|
content: d
|
|
@@ -25912,10 +25912,17 @@ const Dashboard$1 = forwardRef(Dashboard), Tag = (e) => /* @__PURE__ */ jsx(Fiel
|
|
|
25912
25912
|
})
|
|
25913
25913
|
}), MarkdownInput = (e) => {
|
|
25914
25914
|
const {
|
|
25915
|
-
value: t
|
|
25915
|
+
value: t,
|
|
25916
|
+
ooui: r
|
|
25916
25917
|
} = e;
|
|
25917
|
-
return /* @__PURE__ */ jsx(
|
|
25918
|
-
|
|
25918
|
+
return /* @__PURE__ */ jsx("div", {
|
|
25919
|
+
style: {
|
|
25920
|
+
height: r.height ? r.height + "px" : "100%"
|
|
25921
|
+
},
|
|
25922
|
+
children: /* @__PURE__ */ jsx(ReactMarkdown, {
|
|
25923
|
+
children: t,
|
|
25924
|
+
className: "ant-typography"
|
|
25925
|
+
})
|
|
25919
25926
|
});
|
|
25920
25927
|
}, Radio = (e) => {
|
|
25921
25928
|
const {
|