@gisce/react-ooui 1.2.0-rc.61 → 1.2.0-rc.63
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 +2 -2
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +1 -1
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/base/Separator.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/stories/Separator.stories.tsx +21 -0
- package/src/stories/containers/Group.stories.tsx +12 -0
- package/src/widgets/base/Separator.tsx +6 -4
- package/src/widgets/containers/Group.tsx +1 -1
package/dist/react-ooui.es.js
CHANGED
|
@@ -21756,7 +21756,7 @@ function Group(e) {
|
|
|
21756
21756
|
responsiveBehaviour: n
|
|
21757
21757
|
} = e, a = iconMapper(t.icon || "");
|
|
21758
21758
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
21759
|
-
children: t.label && r ? /* @__PURE__ */ jsx(FieldSet, {
|
|
21759
|
+
children: (t.label || a) && r ? /* @__PURE__ */ jsx(FieldSet, {
|
|
21760
21760
|
label: t.label,
|
|
21761
21761
|
icon: a,
|
|
21762
21762
|
children: /* @__PURE__ */ jsx(Container, {
|
|
@@ -21923,7 +21923,7 @@ const {
|
|
|
21923
21923
|
return /* @__PURE__ */ jsx(Divider, {
|
|
21924
21924
|
orientation: "left",
|
|
21925
21925
|
className: "text-sm",
|
|
21926
|
-
children: /* @__PURE__ */ jsxs(Space, {
|
|
21926
|
+
children: (a || r) && /* @__PURE__ */ jsxs(Space, {
|
|
21927
21927
|
children: [a ? /* @__PURE__ */ jsx(a, {}) : null, r]
|
|
21928
21928
|
})
|
|
21929
21929
|
});
|