cecomponent 1.0.80 → 1.0.82

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.
@@ -1743,21 +1743,26 @@ const Breadcrumbs = ({ items: e, maxVisible: t = 4, onItemClick: r }) => {
1743
1743
  children: i,
1744
1744
  className: s = "",
1745
1745
  sx: n = {},
1746
- color: a
1746
+ color: a,
1747
+ label: o,
1748
+ icon: l
1747
1749
  }) => {
1748
- const o = getSizeStyle(t), l = getVariantClass(e);
1749
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
1750
+ const f = getSizeStyle(t), c = getVariantClass(e);
1751
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
1750
1752
  "button",
1751
1753
  {
1752
- className: `ce-button ${l} ${s}`,
1754
+ className: `ce-button ${c} ${s}`,
1753
1755
  onClick: r,
1754
1756
  style: {
1755
- ...o,
1757
+ ...f,
1756
1758
  ...n,
1757
1759
  ...a ? { color: a } : {}
1758
1760
  },
1759
1761
  disabled: e === "disabled",
1760
- children: i
1762
+ children: [
1763
+ l && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ce-button__icon", children: l }),
1764
+ o ?? i
1765
+ ]
1761
1766
  }
1762
1767
  );
1763
1768
  }, CeBox = forwardRef(function({
@@ -29057,7 +29062,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29057
29062
  {
29058
29063
  colSpan: (Tt ? 1 : 0) + (i ? 1 : 0) + Array.from(He).length + (c || x || d || u || m || f ? 1 : 0),
29059
29064
  className: "no-records-cell",
29060
- children: "No records found for the search criteria"
29065
+ children: Ze.trim() || Object.keys(Le).length > 0 ? "No records found for the search criteria" : "No Data found"
29061
29066
  }
29062
29067
  ) }) : me.map((J, te) => /* @__PURE__ */ jsxRuntimeExports.jsxs(React2__default.Fragment, { children: [
29063
29068
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface CEChatboxProps {
3
+ buttonLabel: string;
4
+ buttonIcon?: React.ReactNode;
5
+ }
6
+ declare const CEChatbox: React.FC<CEChatboxProps>;
7
+ export default CEChatbox;
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  import { Size } from '../Tokens/CESizes';
3
3
  type ButtonVariant = "primary" | "secondary" | "text" | "neutral" | "outlined" | "outlinedGreen" | "disabled" | "underline";
4
4
  interface CEButtonProps {
5
+ label?: string;
5
6
  variant?: ButtonVariant;
6
7
  size?: Size;
7
8
  onClick: () => void;
@@ -9,6 +10,7 @@ interface CEButtonProps {
9
10
  className?: string;
10
11
  sx?: React.CSSProperties;
11
12
  color?: string;
13
+ icon?: React.ReactNode;
12
14
  }
13
15
  declare const CEButton: React.FC<CEButtonProps>;
14
16
  export default CEButton;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ interface CEBadgeProps {
3
+ label: string;
4
+ backgroundColor?: string;
5
+ textColor?: string;
6
+ style?: React.CSSProperties;
7
+ }
8
+ declare const CEBadge: React.FC<CEBadgeProps>;
9
+ export default CEBadge;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cecomponent",
3
3
  "description": "A React component library for building modern UIs for Cleanearth",
4
- "version": "1.0.80",
4
+ "version": "1.0.82",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/index.d.ts",