@kashifd/jwero-components 0.5.74 → 0.5.75

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/README.md CHANGED
@@ -8,3 +8,5 @@ To install the library, run the following command:
8
8
 
9
9
  ```bash
10
10
  npm install @kashifd/jwero-components
11
+
12
+
package/dist/index.es.js CHANGED
@@ -48616,11 +48616,12 @@ const nW = ({
48616
48616
  textBoxSx: g,
48617
48617
  searchQuery: m,
48618
48618
  buttonAdditionalProps: b,
48619
- showButton: w = !0
48619
+ showButton: w = !0,
48620
+ showAddButton: T = !0
48620
48621
  }) => {
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(
48622
+ const D = Lr();
48623
+ let P = t, E = n, I = a;
48624
+ return e === "search" && (P = t || eV, E = n || "No results found", I = a || `We could not find any results for ${m ? `"${m}"` : "your searched text"}`), e === "data" && (P = t || Z8, E = n || "No data found", I = a || "There is no data present, please add data."), /* @__PURE__ */ k.jsxs(
48624
48625
  nt,
48625
48626
  {
48626
48627
  alignItems: "center",
@@ -48631,11 +48632,11 @@ const nW = ({
48631
48632
  Zv,
48632
48633
  {
48633
48634
  component: "img",
48634
- src: D,
48635
+ src: P,
48635
48636
  alt: "comment-img",
48636
48637
  loading: "lazy",
48637
- onError: (I) => {
48638
- I.target.src = J8;
48638
+ onError: (L) => {
48639
+ L.target.src = J8;
48639
48640
  },
48640
48641
  sx: {
48641
48642
  height: "8.25rem",
@@ -48657,27 +48658,27 @@ const nW = ({
48657
48658
  ...g
48658
48659
  },
48659
48660
  children: [
48660
- /* @__PURE__ */ k.jsx(Ct, { variant: "xxlSemibold", children: P }),
48661
+ /* @__PURE__ */ k.jsx(Ct, { variant: "xxlSemibold", children: E }),
48661
48662
  /* @__PURE__ */ k.jsx(
48662
48663
  Ct,
48663
48664
  {
48664
48665
  variant: "xlRegular",
48665
48666
  sx: {
48666
- color: T.colors.text_tertiary
48667
+ color: D.colors.text_tertiary
48667
48668
  },
48668
- children: E
48669
+ children: I
48669
48670
  }
48670
48671
  )
48671
48672
  ]
48672
48673
  }
48673
48674
  ),
48674
- (s == null ? void 0 : s.title) && /* @__PURE__ */ k.jsx(
48675
+ w && /* @__PURE__ */ k.jsx(
48675
48676
  xs,
48676
48677
  {
48677
48678
  variant: s == null ? void 0 : s.variant,
48678
- title: s == null ? void 0 : s.title,
48679
+ title: (s == null ? void 0 : s.title) || "",
48679
48680
  onClick: s == null ? void 0 : s.onClick,
48680
- iconProps: w ? {
48681
+ iconProps: T ? {
48681
48682
  position: "start",
48682
48683
  icon: /* @__PURE__ */ k.jsx(
48683
48684
  c0,