cecomponent 1.0.95 → 1.0.97

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.
@@ -1749,20 +1749,21 @@ const Breadcrumbs = ({ items: e, maxVisible: t = 4, onItemClick: i }) => {
1749
1749
  sx: a = {},
1750
1750
  color: o,
1751
1751
  label: l,
1752
- icon: c
1752
+ icon: c,
1753
+ disabled: f = e === "disabled"
1753
1754
  }) => {
1754
- const f = getSizeStyle(t), u = getVariantClass(e);
1755
+ const u = getSizeStyle(t), x = getVariantClass(e);
1755
1756
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
1756
1757
  "button",
1757
1758
  {
1758
- className: `ce-button ${u} ${s}`,
1759
+ className: `ce-button ${x} ${s}`,
1759
1760
  onClick: i,
1760
1761
  style: {
1761
- ...f,
1762
+ ...u,
1762
1763
  ...a,
1763
1764
  ...o ? { color: o } : {}
1764
1765
  },
1765
- disabled: e === "disabled",
1766
+ disabled: f,
1766
1767
  children: [
1767
1768
  c && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ce-button__icon", children: c }),
1768
1769
  l ?? n
@@ -41227,7 +41228,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
41227
41228
  }
41228
41229
  )
41229
41230
  }
41230
- ), CEGridLayout = ({
41231
+ ), CEGridItem = ({ children: e, size: t = 1 }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { gridColumn: `span ${t}` }, children: e }), CEGridLayout = ({
41231
41232
  children: e,
41232
41233
  columns: t = 12,
41233
41234
  gap: i = "1rem",
@@ -42852,6 +42853,7 @@ export {
42852
42853
  CEFileUpload,
42853
42854
  CEFileUploadDocument,
42854
42855
  CEFooter,
42856
+ CEGridItem,
42855
42857
  CEGridLayout,
42856
42858
  CEGridMenuButton,
42857
42859
  CEHamburgerButton,
@@ -11,6 +11,7 @@ interface CEButtonProps {
11
11
  sx?: React.CSSProperties;
12
12
  color?: string;
13
13
  icon?: React.ReactNode;
14
+ disabled?: boolean;
14
15
  }
15
16
  declare const CEButton: React.FC<CEButtonProps>;
16
17
  export default CEButton;
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ export { default as CEDateRangePicker } from './components/Common/DateRangePicke
21
21
  export { default as CEFieldsInput } from './components/Common/Fields/CEFields';
22
22
  export { default as CEModalPopUp } from './components/Common/CEModalPopUp/CEModalPopUp';
23
23
  export { default as CEFooter } from './components/Common/Footer/CEFooter';
24
- export { CEGridLayout } from './components/Common/GridLayout/CEGridLayout';
24
+ export { CEGridLayout, CEGridItem } from './components/Common/GridLayout/CEGridLayout';
25
25
  export { default as CEHeader } from './components/Common/Header/CEHeader';
26
26
  export { default as CEAvatarMenu } from './components/Common/Header/AvatarMenu';
27
27
  export { default as CEGridMenuButton } from './components/Common/Header/GridMenuButton';
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.95",
4
+ "version": "1.0.97",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/index.d.ts",