@web-fuse/wf-components 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Display/Card/DarkCard.Title.d.ts +2 -3
- package/dist/Display/Card/DarkCard.d.ts +3 -1
- package/dist/Display/Card/LightCard.Title.d.ts +4 -5
- package/dist/Display/Card/LightCard.d.ts +3 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
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 = ({
|
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, {
|
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 = ({
|
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, {
|
707
|
+
/* @__PURE__ */ f.jsx(Fn, { titleColor: n, children: o }),
|
708
708
|
e
|
709
709
|
]
|
710
710
|
}
|