@kashifd/jwero-components 0.5.70 → 0.5.72
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 +24 -16
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -46923,8 +46923,8 @@ const m8 = ({
|
|
|
46923
46923
|
{
|
|
46924
46924
|
sx: {
|
|
46925
46925
|
color: ut.colors.attention,
|
|
46926
|
-
height: "
|
|
46927
|
-
width: "
|
|
46926
|
+
height: "1rem",
|
|
46927
|
+
width: "1rem"
|
|
46928
46928
|
}
|
|
46929
46929
|
}
|
|
46930
46930
|
)
|
|
@@ -48615,11 +48615,12 @@ const nW = ({
|
|
|
48615
48615
|
imageSx: d,
|
|
48616
48616
|
textBoxSx: g,
|
|
48617
48617
|
searchQuery: m,
|
|
48618
|
-
buttonAdditionalProps: b
|
|
48618
|
+
buttonAdditionalProps: b,
|
|
48619
|
+
showButton: w = !0
|
|
48619
48620
|
}) => {
|
|
48620
|
-
const
|
|
48621
|
-
let
|
|
48622
|
-
return e === "search" && (
|
|
48621
|
+
const T = Lr();
|
|
48622
|
+
let D = t, P = n, E = a;
|
|
48623
|
+
return e === "search" && (D = t || eV, P = n || "No results found", E = a || `We could not find any results for ${m ? `"${m}"` : "your searched text"}`), e === "data" && (D = t || Z8, P = n || "No data found", E = a || "There is no data present, please add data."), /* @__PURE__ */ k.jsxs(
|
|
48623
48624
|
nt,
|
|
48624
48625
|
{
|
|
48625
48626
|
alignItems: "center",
|
|
@@ -48630,11 +48631,11 @@ const nW = ({
|
|
|
48630
48631
|
Zv,
|
|
48631
48632
|
{
|
|
48632
48633
|
component: "img",
|
|
48633
|
-
src:
|
|
48634
|
+
src: D,
|
|
48634
48635
|
alt: "comment-img",
|
|
48635
48636
|
loading: "lazy",
|
|
48636
|
-
onError: (
|
|
48637
|
-
|
|
48637
|
+
onError: (I) => {
|
|
48638
|
+
I.target.src = J8;
|
|
48638
48639
|
},
|
|
48639
48640
|
sx: {
|
|
48640
48641
|
height: "8.25rem",
|
|
@@ -48656,15 +48657,15 @@ const nW = ({
|
|
|
48656
48657
|
...g
|
|
48657
48658
|
},
|
|
48658
48659
|
children: [
|
|
48659
|
-
/* @__PURE__ */ k.jsx(Ct, { variant: "xxlSemibold", children:
|
|
48660
|
+
/* @__PURE__ */ k.jsx(Ct, { variant: "xxlSemibold", children: P }),
|
|
48660
48661
|
/* @__PURE__ */ k.jsx(
|
|
48661
48662
|
Ct,
|
|
48662
48663
|
{
|
|
48663
48664
|
variant: "xlRegular",
|
|
48664
48665
|
sx: {
|
|
48665
|
-
color:
|
|
48666
|
+
color: T.colors.text_tertiary
|
|
48666
48667
|
},
|
|
48667
|
-
children:
|
|
48668
|
+
children: E
|
|
48668
48669
|
}
|
|
48669
48670
|
)
|
|
48670
48671
|
]
|
|
@@ -48676,10 +48677,17 @@ const nW = ({
|
|
|
48676
48677
|
variant: s == null ? void 0 : s.variant,
|
|
48677
48678
|
title: s == null ? void 0 : s.title,
|
|
48678
48679
|
onClick: s == null ? void 0 : s.onClick,
|
|
48679
|
-
iconProps: {
|
|
48680
|
-
position: "
|
|
48681
|
-
icon: /* @__PURE__ */ k.jsx(
|
|
48682
|
-
|
|
48680
|
+
iconProps: w ? {
|
|
48681
|
+
position: "start",
|
|
48682
|
+
icon: /* @__PURE__ */ k.jsx(
|
|
48683
|
+
c0,
|
|
48684
|
+
{
|
|
48685
|
+
sx: {
|
|
48686
|
+
color: (s == null ? void 0 : s.variant) === "outlined" ? "#000" : "#fff"
|
|
48687
|
+
}
|
|
48688
|
+
}
|
|
48689
|
+
)
|
|
48690
|
+
} : void 0,
|
|
48683
48691
|
...b
|
|
48684
48692
|
}
|
|
48685
48693
|
)
|