@conboai/storybook.components 0.1.24 → 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.
|
@@ -26980,9 +26980,12 @@ process.env.NODE_ENV !== "production" && (Zl.propTypes = {
|
|
|
26980
26980
|
variant: s.oneOf(["filled", "outlined", "standard"])
|
|
26981
26981
|
});
|
|
26982
26982
|
const TL = {
|
|
26983
|
-
minWidth: "100px",
|
|
26984
26983
|
flexGrow: "1",
|
|
26985
26984
|
backgroundColor: gn,
|
|
26985
|
+
flex: 1,
|
|
26986
|
+
overflow: "hidden",
|
|
26987
|
+
textOverflow: "ellipsis",
|
|
26988
|
+
whiteSpace: "nowrap",
|
|
26986
26989
|
"&.MuiOutlinedInput-root": {
|
|
26987
26990
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
26988
26991
|
borderColor: `${$t} !important`
|
|
@@ -41168,35 +41171,41 @@ const $y = {
|
|
|
41168
41171
|
sx: { backgroundColor: Sb, display: "flex" },
|
|
41169
41172
|
children: t
|
|
41170
41173
|
}
|
|
41171
|
-
), r3 = ({ linkContent: t, link: e }) => /* @__PURE__ */ E.jsx(o0, { href: e, height: "100%", children: t }), pB = ({
|
|
41172
|
-
|
|
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 = {
|
|
41173
41181
|
...Fy,
|
|
41174
41182
|
"& .MuiTabs-flexContainer": {
|
|
41175
41183
|
borderBottom: `1px solid ${sd}`
|
|
41176
41184
|
}
|
|
41177
|
-
},
|
|
41178
|
-
t(
|
|
41185
|
+
}, i = (a, l) => {
|
|
41186
|
+
t(l), r && r(l);
|
|
41179
41187
|
};
|
|
41180
|
-
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(
|
|
41181
41189
|
Ci,
|
|
41182
41190
|
{
|
|
41183
|
-
label:
|
|
41184
|
-
value:
|
|
41185
|
-
disabled:
|
|
41191
|
+
label: a.label,
|
|
41192
|
+
value: a.value,
|
|
41193
|
+
disabled: a.disabled,
|
|
41186
41194
|
sx: $y
|
|
41187
41195
|
},
|
|
41188
|
-
|
|
41196
|
+
a.value
|
|
41189
41197
|
)) }) });
|
|
41190
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: [
|
|
41191
41199
|
/* @__PURE__ */ E.jsx(pB, { setValue: t, value: e, tabs: n }),
|
|
41192
41200
|
/* @__PURE__ */ E.jsx(hB, { tabsContent: r })
|
|
41193
|
-
] }), o3 = ({ tabsContent: t, tabs: e }) => {
|
|
41194
|
-
const [
|
|
41195
|
-
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(
|
|
41196
41204
|
mB,
|
|
41197
41205
|
{
|
|
41198
|
-
|
|
41199
|
-
|
|
41206
|
+
onChange: n,
|
|
41207
|
+
value: r,
|
|
41208
|
+
setValue: o,
|
|
41200
41209
|
tabs: e,
|
|
41201
41210
|
tabsContent: t
|
|
41202
41211
|
}
|