@gisce/react-ooui 1.1.51 → 1.1.52
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 +4 -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/ui/Fieldset.d.ts +1 -1
- package/dist/ui/Fieldset.d.ts.map +1 -1
- package/dist/widgets/containers/Group.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/stories/containers/Group.stories.tsx +12 -0
- package/src/ui/Fieldset.tsx +1 -1
- package/src/widgets/containers/Group.tsx +10 -1
package/dist/react-ooui.es.js
CHANGED
|
@@ -19971,10 +19971,12 @@ function Group(e) {
|
|
|
19971
19971
|
ooui: t,
|
|
19972
19972
|
showLabel: r = !0,
|
|
19973
19973
|
responsiveBehaviour: n
|
|
19974
|
-
} = e
|
|
19974
|
+
} = e, a = iconMapper(t.icon || ""), o = /* @__PURE__ */ jsxs(Space, {
|
|
19975
|
+
children: [a ? /* @__PURE__ */ jsx(a, {}) : null, t.label]
|
|
19976
|
+
});
|
|
19975
19977
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
19976
19978
|
children: t.label && r ? /* @__PURE__ */ jsx(Fieldset, {
|
|
19977
|
-
label:
|
|
19979
|
+
label: o,
|
|
19978
19980
|
children: /* @__PURE__ */ jsx(Container, {
|
|
19979
19981
|
container: t.container,
|
|
19980
19982
|
responsiveBehaviour: n
|