@conboai/storybook.components 0.1.25 → 0.1.26
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.
|
@@ -41171,35 +41171,41 @@ const $y = {
|
|
|
41171
41171
|
sx: { backgroundColor: Sb, display: "flex" },
|
|
41172
41172
|
children: t
|
|
41173
41173
|
}
|
|
41174
|
-
), r3 = ({ linkContent: t, link: e }) => /* @__PURE__ */ E.jsx(o0, { href: e, height: "100%", children: t }), pB = ({
|
|
41175
|
-
|
|
41174
|
+
), r3 = ({ linkContent: t, link: e }) => /* @__PURE__ */ E.jsx(o0, { href: e, height: "100%", children: t }), pB = ({
|
|
41175
|
+
setValue: t,
|
|
41176
|
+
value: e,
|
|
41177
|
+
tabs: n,
|
|
41178
|
+
onChange: r
|
|
41179
|
+
}) => {
|
|
41180
|
+
const o = {
|
|
41176
41181
|
...Fy,
|
|
41177
41182
|
"& .MuiTabs-flexContainer": {
|
|
41178
41183
|
borderBottom: `1px solid ${sd}`
|
|
41179
41184
|
}
|
|
41180
|
-
},
|
|
41181
|
-
t(
|
|
41185
|
+
}, i = (a, l) => {
|
|
41186
|
+
t(l), r && r(l);
|
|
41182
41187
|
};
|
|
41183
|
-
return /* @__PURE__ */ E.jsx(mt, { children: /* @__PURE__ */ E.jsx(Xl, { value: e, onChange:
|
|
41188
|
+
return /* @__PURE__ */ E.jsx(mt, { children: /* @__PURE__ */ E.jsx(Xl, { value: e, onChange: i, sx: o, children: n.map((a) => /* @__PURE__ */ E.jsx(
|
|
41184
41189
|
Ci,
|
|
41185
41190
|
{
|
|
41186
|
-
label:
|
|
41187
|
-
value:
|
|
41188
|
-
disabled:
|
|
41191
|
+
label: a.label,
|
|
41192
|
+
value: a.value,
|
|
41193
|
+
disabled: a.disabled,
|
|
41189
41194
|
sx: $y
|
|
41190
41195
|
},
|
|
41191
|
-
|
|
41196
|
+
a.value
|
|
41192
41197
|
)) }) });
|
|
41193
41198
|
}, hB = ({ tabsContent: t }) => t.map((e) => /* @__PURE__ */ E.jsx(Xd, { value: e.value, sx: { padding: "20px 0 0" }, children: e.content }, e.value)), mB = ({ setValue: t, value: e, tabs: n, tabsContent: r }) => /* @__PURE__ */ E.jsxs(qd, { value: e, children: [
|
|
41194
41199
|
/* @__PURE__ */ E.jsx(pB, { setValue: t, value: e, tabs: n }),
|
|
41195
41200
|
/* @__PURE__ */ E.jsx(hB, { tabsContent: r })
|
|
41196
|
-
] }), o3 = ({ tabsContent: t, tabs: e }) => {
|
|
41197
|
-
const [
|
|
41198
|
-
return /* @__PURE__ */ E.jsx(mt, { sx:
|
|
41201
|
+
] }), o3 = ({ tabsContent: t, tabs: e, onChange: n }) => {
|
|
41202
|
+
const [r, o] = dt("0"), i = { background: "none", padding: "20px" };
|
|
41203
|
+
return /* @__PURE__ */ E.jsx(mt, { sx: i, children: /* @__PURE__ */ E.jsx(
|
|
41199
41204
|
mB,
|
|
41200
41205
|
{
|
|
41201
|
-
|
|
41202
|
-
|
|
41206
|
+
onChange: n,
|
|
41207
|
+
value: r,
|
|
41208
|
+
setValue: o,
|
|
41203
41209
|
tabs: e,
|
|
41204
41210
|
tabsContent: t
|
|
41205
41211
|
}
|