@canaia/ui-kit 0.0.11-alpha.51 → 0.0.11-alpha.53
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/canaia-ui-kit.es.js +74 -55
- package/package.json +1 -1
package/dist/canaia-ui-kit.es.js
CHANGED
|
@@ -37670,66 +37670,85 @@ const _BA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
|
|
|
37670
37670
|
},
|
|
37671
37671
|
r
|
|
37672
37672
|
);
|
|
37673
|
-
}) }), $BA = ({
|
|
37673
|
+
}) }), $BA = ({
|
|
37674
|
+
elements: A,
|
|
37675
|
+
expandedItem: e,
|
|
37676
|
+
setExpandedItem: t
|
|
37677
|
+
}) => {
|
|
37674
37678
|
const n = (i) => {
|
|
37675
37679
|
t(e === i ? null : i);
|
|
37676
37680
|
};
|
|
37677
37681
|
return /* @__PURE__ */ I.jsx(yA, { w: "100%", mx: "auto", children: A.map((i) => {
|
|
37678
37682
|
const r = e === i.id;
|
|
37679
|
-
return /* @__PURE__ */ I.jsxs(
|
|
37680
|
-
|
|
37681
|
-
|
|
37682
|
-
|
|
37683
|
-
|
|
37684
|
-
|
|
37685
|
-
|
|
37686
|
-
|
|
37687
|
-
|
|
37688
|
-
|
|
37689
|
-
|
|
37690
|
-
|
|
37691
|
-
|
|
37692
|
-
|
|
37693
|
-
|
|
37694
|
-
|
|
37695
|
-
|
|
37696
|
-
|
|
37697
|
-
|
|
37698
|
-
|
|
37699
|
-
|
|
37700
|
-
|
|
37701
|
-
|
|
37702
|
-
|
|
37703
|
-
|
|
37704
|
-
|
|
37705
|
-
|
|
37706
|
-
|
|
37707
|
-
|
|
37708
|
-
|
|
37709
|
-
|
|
37710
|
-
|
|
37711
|
-
|
|
37712
|
-
|
|
37713
|
-
|
|
37714
|
-
|
|
37715
|
-
|
|
37716
|
-
|
|
37717
|
-
|
|
37718
|
-
|
|
37719
|
-
|
|
37720
|
-
|
|
37721
|
-
|
|
37722
|
-
|
|
37723
|
-
|
|
37724
|
-
|
|
37725
|
-
|
|
37726
|
-
|
|
37727
|
-
|
|
37728
|
-
|
|
37729
|
-
|
|
37730
|
-
|
|
37731
|
-
|
|
37732
|
-
|
|
37683
|
+
return /* @__PURE__ */ I.jsxs(
|
|
37684
|
+
yA,
|
|
37685
|
+
{
|
|
37686
|
+
mb: 6,
|
|
37687
|
+
bg: "#F9F9F9",
|
|
37688
|
+
borderRadius: "8px",
|
|
37689
|
+
children: [
|
|
37690
|
+
/* @__PURE__ */ I.jsxs(
|
|
37691
|
+
LA,
|
|
37692
|
+
{
|
|
37693
|
+
align: "center",
|
|
37694
|
+
justify: "space-between",
|
|
37695
|
+
px: 5,
|
|
37696
|
+
py: 3,
|
|
37697
|
+
cursor: "pointer",
|
|
37698
|
+
onClick: () => n(i.id),
|
|
37699
|
+
children: [
|
|
37700
|
+
/* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", children: [
|
|
37701
|
+
/* @__PURE__ */ I.jsx(yA, { mr: 3, children: i.icon }),
|
|
37702
|
+
/* @__PURE__ */ I.jsx(kA, { fontWeight: "bold", fontSize: "19px", fontFamily: "Heading", children: i.name })
|
|
37703
|
+
] }),
|
|
37704
|
+
/* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", justify: "flex-start", children: [
|
|
37705
|
+
/* @__PURE__ */ I.jsx(
|
|
37706
|
+
jO,
|
|
37707
|
+
{
|
|
37708
|
+
color: i.statusCanal ? "#21B06E" : "#C1C1C1",
|
|
37709
|
+
size: 22
|
|
37710
|
+
}
|
|
37711
|
+
),
|
|
37712
|
+
/* @__PURE__ */ I.jsx(
|
|
37713
|
+
kA,
|
|
37714
|
+
{
|
|
37715
|
+
ml: 2,
|
|
37716
|
+
mr: 4,
|
|
37717
|
+
color: i.statusCanal ? "#21B06E" : "#C1C1C1",
|
|
37718
|
+
fontSize: "16px",
|
|
37719
|
+
fontFamily: "LatoBold",
|
|
37720
|
+
fontWeight: "bold",
|
|
37721
|
+
whiteSpace: "nowrap",
|
|
37722
|
+
overflow: "hidden",
|
|
37723
|
+
textOverflow: "ellipsis",
|
|
37724
|
+
children: i.textStatus
|
|
37725
|
+
}
|
|
37726
|
+
)
|
|
37727
|
+
] }),
|
|
37728
|
+
/* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", justify: "flex-end", children: [
|
|
37729
|
+
/* @__PURE__ */ I.jsx(
|
|
37730
|
+
kA,
|
|
37731
|
+
{
|
|
37732
|
+
ml: 2,
|
|
37733
|
+
mr: 4,
|
|
37734
|
+
color: "info.500",
|
|
37735
|
+
textDecoration: "underline",
|
|
37736
|
+
textUnderlineOffset: "4px",
|
|
37737
|
+
fontFamily: "Lato",
|
|
37738
|
+
fontSize: "16px",
|
|
37739
|
+
children: "Configurar"
|
|
37740
|
+
}
|
|
37741
|
+
),
|
|
37742
|
+
r ? /* @__PURE__ */ I.jsx(CQ, {}) : /* @__PURE__ */ I.jsx(hu, {})
|
|
37743
|
+
] })
|
|
37744
|
+
]
|
|
37745
|
+
}
|
|
37746
|
+
),
|
|
37747
|
+
/* @__PURE__ */ I.jsx(Of, { in: r, animateOpacity: !0, children: /* @__PURE__ */ I.jsx(yA, { px: 5, py: 4, bg: "white", borderBottomRadius: "8px", children: i.children }) })
|
|
37748
|
+
]
|
|
37749
|
+
},
|
|
37750
|
+
i.id
|
|
37751
|
+
);
|
|
37733
37752
|
}) });
|
|
37734
37753
|
}, AuA = ({ color: A, icon: e, title: t, status: n, menuOptions: i, textBottomOption: r, currentUrl: o, ...a }) => {
|
|
37735
37754
|
const s = ["hub", "play", "elevate", "assist", "talent", "ad", "collect", "localhost"], c = `sidebarOpen_${window.location.hostname.split(".").find((F) => s.includes(F)) || "default"}`, [g, B] = TA(() => {
|