@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.
@@ -37670,66 +37670,85 @@ const _BA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
37670
37670
  },
37671
37671
  r
37672
37672
  );
37673
- }) }), $BA = ({ elements: A, expandedItem: e, setExpandedItem: t }) => {
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(yA, { mb: 6, bg: "#F9F9F9", borderRadius: "8px", children: [
37680
- /* @__PURE__ */ I.jsxs(
37681
- LA,
37682
- {
37683
- align: "center",
37684
- justify: "space-between",
37685
- px: 5,
37686
- py: 3,
37687
- cursor: "pointer",
37688
- onClick: () => n(i.id),
37689
- children: [
37690
- /* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", children: [
37691
- /* @__PURE__ */ I.jsx(yA, { mr: 3, children: i.icon }),
37692
- /* @__PURE__ */ I.jsx(kA, { fontWeight: "bold", fontSize: "19px", fontFamily: "Heading", children: i.name })
37693
- ] }),
37694
- /* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", justify: "flex-start", children: [
37695
- /* @__PURE__ */ I.jsx(jO, { color: i.statusCanal ? "#21B06E" : "#C1C1C1", size: 22 }),
37696
- /* @__PURE__ */ I.jsx(
37697
- kA,
37698
- {
37699
- ml: 2,
37700
- mr: 4,
37701
- color: i.statusCanal ? "#21B06E" : "#C1C1C1",
37702
- fontSize: "16px",
37703
- fontFamily: "LatoBold",
37704
- fontWeight: "bold",
37705
- whiteSpace: "nowrap",
37706
- overflow: "hidden",
37707
- textOverflow: "ellipsis",
37708
- children: i.textStatus
37709
- }
37710
- )
37711
- ] }),
37712
- /* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", justify: "flex-end", children: [
37713
- /* @__PURE__ */ I.jsx(
37714
- kA,
37715
- {
37716
- ml: 2,
37717
- mr: 4,
37718
- color: "info.500",
37719
- textDecoration: "underline",
37720
- textUnderlineOffset: "4px",
37721
- fontFamily: "Lato",
37722
- fontSize: "16px",
37723
- children: "Configurar"
37724
- }
37725
- ),
37726
- r ? /* @__PURE__ */ I.jsx(CQ, {}) : /* @__PURE__ */ I.jsx(hu, {})
37727
- ] })
37728
- ]
37729
- }
37730
- ),
37731
- /* @__PURE__ */ I.jsx(Of, { in: r, animateOpacity: !0, children: /* @__PURE__ */ I.jsx(yA, { px: 5, py: 4, bg: "white", borderBottomRadius: "8px", children: i.children }) })
37732
- ] }, i.id);
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(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canaia/ui-kit",
3
- "version": "0.0.11-alpha.51",
3
+ "version": "0.0.11-alpha.53",
4
4
  "main": "dist/canaia-ui-kit.umd.js",
5
5
  "module": "dist/canaia-ui-kit.es.js",
6
6
  "type": "module",