lecom-ui 4.0.6 → 4.0.8

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.
@@ -48,6 +48,15 @@ function DataTable({
48
48
  const left = leftStyleElemBefore + widthElemBefore;
49
49
  const lastRow = table.getRowCount() === elemIndex + 1;
50
50
  const boxShadow = elem === "td" ? `-0.5px ${lastRow ? "0px" : "-0.5px"}` : "-0.5px -1.5px";
51
+ console.log(
52
+ elemBefore,
53
+ leftStyleElemBefore,
54
+ widthElemBefore,
55
+ selector,
56
+ elemIndex,
57
+ elem,
58
+ columnIndex
59
+ );
51
60
  return {
52
61
  boxShadow: isLastLeftPinnedColumn ? `#c9c9c9 ${boxShadow} 0px 0px inset` : undefined,
53
62
  position: "sticky",
@@ -27,11 +27,35 @@ const Layout = ({ children, header, sideBar }) => {
27
27
  {
28
28
  variant: "heading-xsmall-600",
29
29
  textColor: "text-grey-800",
30
- className: "flex items-center gap-2"
30
+ className: "flex items-center gap-2 w-[200px]"
31
31
  },
32
32
  info.platformText,
33
33
  /* @__PURE__ */ React.createElement(LogoLecomBrand, { className: "w-16 shrink-0" })
34
- ), /* @__PURE__ */ React.createElement(Typography, { variant: "body-medium-400", textColor: "text-grey-800" }, info.versionText, " ", info.version, " - ", info.cycle, " ", info.build), /* @__PURE__ */ React.createElement(Typography, { variant: "body-medium-400", textColor: "text-grey-800" }, info.authorizedForText, " ", info.authorizedFor))), /* @__PURE__ */ React.createElement("main", { className: "grow w-full" }, children)));
34
+ ), /* @__PURE__ */ React.createElement(
35
+ Typography,
36
+ {
37
+ variant: "body-medium-400",
38
+ textColor: "text-grey-800",
39
+ className: "w-[200px]"
40
+ },
41
+ info.versionText,
42
+ " ",
43
+ info.version,
44
+ " - ",
45
+ info.cycle,
46
+ " ",
47
+ info.build
48
+ ), /* @__PURE__ */ React.createElement(
49
+ Typography,
50
+ {
51
+ variant: "body-medium-400",
52
+ textColor: "text-grey-800",
53
+ className: "w-[200px]"
54
+ },
55
+ info.authorizedForText,
56
+ " ",
57
+ info.authorizedFor
58
+ ))), /* @__PURE__ */ React.createElement("main", { className: "grow w-full" }, children)));
35
59
  };
36
60
  Layout.displayName = "Layout";
37
61
 
@@ -259,7 +259,7 @@ const SidebarFooter = React.forwardRef(({ className, ...props }, ref) => /* @__P
259
259
  ref,
260
260
  "data-sidebar": "footer",
261
261
  className: cn(
262
- "flex flex-col gap-2 p-2 group-data-[state=collapsed]:opacity-0 transition-all",
262
+ "flex flex-col gap-2 p-2 group-data-[state=collapsed]:opacity-0 transition-all overflow-hidden",
263
263
  className
264
264
  ),
265
265
  ...props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",