design-zystem 1.0.290 → 1.0.291

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.d.mts CHANGED
@@ -766,6 +766,7 @@ interface TableHeaderCellProps extends HTMLAttributes<HTMLDivElement> {
766
766
  flexGrow?: string | number;
767
767
  flexShrink?: string | number;
768
768
  width?: string;
769
+ borderLeft?: string;
769
770
  style?: CSSProperties;
770
771
  className?: string;
771
772
  }
package/dist/index.d.ts CHANGED
@@ -766,6 +766,7 @@ interface TableHeaderCellProps extends HTMLAttributes<HTMLDivElement> {
766
766
  flexGrow?: string | number;
767
767
  flexShrink?: string | number;
768
768
  width?: string;
769
+ borderLeft?: string;
769
770
  style?: CSSProperties;
770
771
  className?: string;
771
772
  }
package/dist/index.js CHANGED
@@ -3796,7 +3796,14 @@ var TableCell = (props) => {
3796
3796
  var import_react19 = require("react");
3797
3797
  var import_styled_components33 = __toESM(require("styled-components"));
3798
3798
  var import_jsx_runtime37 = require("react/jsx-runtime");
3799
- var shouldForwardPropTableHeaderCell = (prop) => !["useSort", "isSort", "flexGrow", "flexShrink", "width"].includes(prop);
3799
+ var shouldForwardPropTableHeaderCell = (prop) => ![
3800
+ "useSort",
3801
+ "isSort",
3802
+ "flexGrow",
3803
+ "flexShrink",
3804
+ "width",
3805
+ "borderLeft"
3806
+ ].includes(prop);
3800
3807
  var StyledTableHeaderCell = import_styled_components33.default.div.withConfig({
3801
3808
  shouldForwardProp: shouldForwardPropTableHeaderCell
3802
3809
  })`
@@ -3813,6 +3820,7 @@ var StyledTableHeaderCell = import_styled_components33.default.div.withConfig({
3813
3820
  font-weight: bold;
3814
3821
  max-width: ${(props) => props.width || "auto"};
3815
3822
  min-width: ${(props) => props.width || "auto"};
3823
+ ${(props) => props.borderLeft ? `border-left: ${props.borderLeft};` : ""}
3816
3824
  `;
3817
3825
  var SortingButton = import_styled_components33.default.span`
3818
3826
  display: inline-flex;
package/dist/index.mjs CHANGED
@@ -3663,7 +3663,14 @@ var TableCell = (props) => {
3663
3663
  import { useState as useState10 } from "react";
3664
3664
  import styled33 from "styled-components";
3665
3665
  import { jsx as jsx37, jsxs as jsxs17 } from "react/jsx-runtime";
3666
- var shouldForwardPropTableHeaderCell = (prop) => !["useSort", "isSort", "flexGrow", "flexShrink", "width"].includes(prop);
3666
+ var shouldForwardPropTableHeaderCell = (prop) => ![
3667
+ "useSort",
3668
+ "isSort",
3669
+ "flexGrow",
3670
+ "flexShrink",
3671
+ "width",
3672
+ "borderLeft"
3673
+ ].includes(prop);
3667
3674
  var StyledTableHeaderCell = styled33.div.withConfig({
3668
3675
  shouldForwardProp: shouldForwardPropTableHeaderCell
3669
3676
  })`
@@ -3680,6 +3687,7 @@ var StyledTableHeaderCell = styled33.div.withConfig({
3680
3687
  font-weight: bold;
3681
3688
  max-width: ${(props) => props.width || "auto"};
3682
3689
  min-width: ${(props) => props.width || "auto"};
3690
+ ${(props) => props.borderLeft ? `border-left: ${props.borderLeft};` : ""}
3683
3691
  `;
3684
3692
  var SortingButton = styled33.span`
3685
3693
  display: inline-flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.290",
3
+ "version": "1.0.291",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",