@web-fuse/wf-components 1.0.2 → 1.0.4

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/index.es.js CHANGED
@@ -646,7 +646,7 @@ const Dr = C.h3`
646
646
  @media only screen and (min-width: 768px) {
647
647
  font-size: 1.3rem;
648
648
  }
649
- `, Rn = ({ title: e, titleColor: o = "#25b1ef" }) => e ? /* @__PURE__ */ f.jsx(Dr, { $color: o, children: e }) : null, jr = C.div`
649
+ `, Rn = ({ children: e, titleColor: o = "#25b1ef" }) => e ? /* @__PURE__ */ f.jsx(Dr, { $color: o, children: e }) : null, jr = C.div`
650
650
  background: linear-gradient(60deg,rgba(75,80,85,.5),rgba(125,123,120,.5));
651
651
  border-radius: 4px;
652
652
  box-shadow: 0 .1em .3em rgba(0,0,0,.4);
@@ -658,7 +658,7 @@ const Dr = C.h3`
658
658
  margin-inline: 4px;
659
659
  }
660
660
  `, $r = ({ children: e, title: o, titleColor: n }) => /* @__PURE__ */ f.jsxs(jr, { children: [
661
- /* @__PURE__ */ f.jsx(Rn, { title: o, titleColor: n }),
661
+ /* @__PURE__ */ f.jsx(Rn, { titleColor: n, children: o }),
662
662
  e
663
663
  ] });
664
664
  $r.Title = Rn;
@@ -683,7 +683,7 @@ const Lr = C.div`
683
683
  @media screen and (min-width: 768px) {
684
684
  font-size: 2rem;
685
685
  }
686
- `, Fn = ({ title: e, titleColor: o }) => {
686
+ `, Fn = ({ children: e, titleColor: o }) => {
687
687
  const { token: { colorPrimary: n } } = j.useToken();
688
688
  return e ? /* @__PURE__ */ f.jsx(Lr, { $color: o || n, children: /* @__PURE__ */ f.jsx(Ir, { $color: o || n, children: e }) }) : null;
689
689
  }, Nr = C.div`
@@ -704,7 +704,7 @@ const Lr = C.div`
704
704
  $bgMain: t,
705
705
  $bgAccent: l,
706
706
  children: [
707
- /* @__PURE__ */ f.jsx(Fn, { title: o, titleColor: n }),
707
+ /* @__PURE__ */ f.jsx(Fn, { titleColor: n, children: o }),
708
708
  e
709
709
  ]
710
710
  }