design-zystem 1.0.318 → 1.0.319

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
@@ -337,6 +337,7 @@ interface IconProps {
337
337
  shadow?: string;
338
338
  onClick?: () => void;
339
339
  cursor?: string;
340
+ visibility?: 'visible' | 'hidden';
340
341
  className?: string;
341
342
  style?: CSSProperties;
342
343
  title?: string;
@@ -735,6 +736,7 @@ declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttri
735
736
  interface TableHeaderProps extends HTMLAttributes<HTMLDivElement> {
736
737
  children?: ReactNode;
737
738
  backgroundColor?: string;
739
+ borderBottom?: string;
738
740
  style?: CSSProperties;
739
741
  className?: string;
740
742
  }
@@ -770,6 +772,8 @@ interface TableCellProps extends HTMLAttributes<HTMLDivElement> {
770
772
  flexGrow?: string | number;
771
773
  flexShrink?: string | number;
772
774
  borderLeft?: string;
775
+ borderRight?: string;
776
+ minHeight?: string;
773
777
  padding?: string;
774
778
  width?: string;
775
779
  style?: CSSProperties;
@@ -787,6 +791,7 @@ interface TableHeaderCellProps extends HTMLAttributes<HTMLDivElement> {
787
791
  flexShrink?: string | number;
788
792
  width?: string;
789
793
  borderLeft?: string;
794
+ textAlign?: string;
790
795
  style?: CSSProperties;
791
796
  className?: string;
792
797
  }
package/dist/index.d.ts CHANGED
@@ -337,6 +337,7 @@ interface IconProps {
337
337
  shadow?: string;
338
338
  onClick?: () => void;
339
339
  cursor?: string;
340
+ visibility?: 'visible' | 'hidden';
340
341
  className?: string;
341
342
  style?: CSSProperties;
342
343
  title?: string;
@@ -735,6 +736,7 @@ declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttri
735
736
  interface TableHeaderProps extends HTMLAttributes<HTMLDivElement> {
736
737
  children?: ReactNode;
737
738
  backgroundColor?: string;
739
+ borderBottom?: string;
738
740
  style?: CSSProperties;
739
741
  className?: string;
740
742
  }
@@ -770,6 +772,8 @@ interface TableCellProps extends HTMLAttributes<HTMLDivElement> {
770
772
  flexGrow?: string | number;
771
773
  flexShrink?: string | number;
772
774
  borderLeft?: string;
775
+ borderRight?: string;
776
+ minHeight?: string;
773
777
  padding?: string;
774
778
  width?: string;
775
779
  style?: CSSProperties;
@@ -787,6 +791,7 @@ interface TableHeaderCellProps extends HTMLAttributes<HTMLDivElement> {
787
791
  flexShrink?: string | number;
788
792
  width?: string;
789
793
  borderLeft?: string;
794
+ textAlign?: string;
790
795
  style?: CSSProperties;
791
796
  className?: string;
792
797
  }
package/dist/index.js CHANGED
@@ -716,7 +716,8 @@ var shouldForwardProp3 = (prop) => ![
716
716
  "backgroundColor",
717
717
  "isRound",
718
718
  "shadow",
719
- "cursor"
719
+ "cursor",
720
+ "visibility"
720
721
  ].includes(prop);
721
722
  var StyledIcon = import_styled_components6.default.i.withConfig({ shouldForwardProp: shouldForwardProp3 })`
722
723
  font-size: ${(props) => textSizes2[props.size] || props.size || "1em"};
@@ -732,6 +733,7 @@ var StyledIcon = import_styled_components6.default.i.withConfig({ shouldForwardP
732
733
  text-align: center;
733
734
  align-self: center;
734
735
  cursor: ${(props) => props.cursor || (props.onClick ? "pointer" : "inherit")};
736
+ visibility: ${(props) => props.visibility || "visible"};
735
737
  background-color: ${(props) => colors[props.backgroundColor] || props.backgroundColor || "transparent"};
736
738
  border-radius: ${(props) => props.isRound ? "50%" : "0"};
737
739
  text-shadow: ${(props) => props.shadow ? `0 0 6px ${colors[props.shadow] || props.shadow}` : "none"};
@@ -3928,7 +3930,7 @@ Table.displayName = "Table";
3928
3930
  // src/ui-legacy/Components/Table/TableHeader/TableHeader.tsx
3929
3931
  var import_styled_components30 = __toESM(require("styled-components"));
3930
3932
  var import_jsx_runtime34 = require("react/jsx-runtime");
3931
- var shouldForwardPropTableHeader = (prop) => !["backgroundColor"].includes(prop);
3933
+ var shouldForwardPropTableHeader = (prop) => !["backgroundColor", "borderBottom"].includes(prop);
3932
3934
  var StyledTableHeader = import_styled_components30.default.div.withConfig({
3933
3935
  shouldForwardProp: shouldForwardPropTableHeader
3934
3936
  })`
@@ -3937,6 +3939,7 @@ var StyledTableHeader = import_styled_components30.default.div.withConfig({
3937
3939
  position: sticky;
3938
3940
  top: 0;
3939
3941
  background-color: ${(props) => props.backgroundColor || colors.grey_100};
3942
+ border-bottom: ${(props) => props.borderBottom || "none"};
3940
3943
  color: ${() => colors.text};
3941
3944
  font-weight: bold;
3942
3945
  font-size: 1.5em;
@@ -4015,6 +4018,8 @@ var shouldForwardPropTableCell = (prop) => ![
4015
4018
  "flexGrow",
4016
4019
  "flexShrink",
4017
4020
  "borderLeft",
4021
+ "borderRight",
4022
+ "minHeight",
4018
4023
  "width",
4019
4024
  "colSpan",
4020
4025
  "padding"
@@ -4033,6 +4038,8 @@ var StyledTableCell = import_styled_components33.default.div.withConfig({
4033
4038
  text-overflow: ellipsis;
4034
4039
  font-size: 1em;
4035
4040
  border-left: ${(props) => props.borderLeft || "none"};
4041
+ border-right: ${(props) => props.borderRight || "none"};
4042
+ min-height: ${(props) => props.minHeight || "auto"};
4036
4043
  max-width: ${(props) => props.width || "auto"};
4037
4044
  min-width: ${(props) => props.width || "auto"};
4038
4045
  `;
@@ -4051,7 +4058,8 @@ var shouldForwardPropTableHeaderCell = (prop) => ![
4051
4058
  "flexGrow",
4052
4059
  "flexShrink",
4053
4060
  "width",
4054
- "borderLeft"
4061
+ "borderLeft",
4062
+ "textAlign"
4055
4063
  ].includes(prop);
4056
4064
  var StyledTableHeaderCell = import_styled_components34.default.div.withConfig({
4057
4065
  shouldForwardProp: shouldForwardPropTableHeaderCell
@@ -4064,7 +4072,7 @@ var StyledTableHeaderCell = import_styled_components34.default.div.withConfig({
4064
4072
  white-space: nowrap;
4065
4073
  overflow: hidden;
4066
4074
  text-overflow: ellipsis;
4067
- text-align: center;
4075
+ text-align: ${(props) => props.textAlign || "center"};
4068
4076
  font-size: 0.6em;
4069
4077
  font-weight: bold;
4070
4078
  max-width: ${(props) => props.width || "auto"};
package/dist/index.mjs CHANGED
@@ -573,7 +573,8 @@ var shouldForwardProp3 = (prop) => ![
573
573
  "backgroundColor",
574
574
  "isRound",
575
575
  "shadow",
576
- "cursor"
576
+ "cursor",
577
+ "visibility"
577
578
  ].includes(prop);
578
579
  var StyledIcon = styled6.i.withConfig({ shouldForwardProp: shouldForwardProp3 })`
579
580
  font-size: ${(props) => textSizes2[props.size] || props.size || "1em"};
@@ -589,6 +590,7 @@ var StyledIcon = styled6.i.withConfig({ shouldForwardProp: shouldForwardProp3 })
589
590
  text-align: center;
590
591
  align-self: center;
591
592
  cursor: ${(props) => props.cursor || (props.onClick ? "pointer" : "inherit")};
593
+ visibility: ${(props) => props.visibility || "visible"};
592
594
  background-color: ${(props) => colors[props.backgroundColor] || props.backgroundColor || "transparent"};
593
595
  border-radius: ${(props) => props.isRound ? "50%" : "0"};
594
596
  text-shadow: ${(props) => props.shadow ? `0 0 6px ${colors[props.shadow] || props.shadow}` : "none"};
@@ -3791,7 +3793,7 @@ Table.displayName = "Table";
3791
3793
  // src/ui-legacy/Components/Table/TableHeader/TableHeader.tsx
3792
3794
  import styled30 from "styled-components";
3793
3795
  import { jsx as jsx34 } from "react/jsx-runtime";
3794
- var shouldForwardPropTableHeader = (prop) => !["backgroundColor"].includes(prop);
3796
+ var shouldForwardPropTableHeader = (prop) => !["backgroundColor", "borderBottom"].includes(prop);
3795
3797
  var StyledTableHeader = styled30.div.withConfig({
3796
3798
  shouldForwardProp: shouldForwardPropTableHeader
3797
3799
  })`
@@ -3800,6 +3802,7 @@ var StyledTableHeader = styled30.div.withConfig({
3800
3802
  position: sticky;
3801
3803
  top: 0;
3802
3804
  background-color: ${(props) => props.backgroundColor || colors.grey_100};
3805
+ border-bottom: ${(props) => props.borderBottom || "none"};
3803
3806
  color: ${() => colors.text};
3804
3807
  font-weight: bold;
3805
3808
  font-size: 1.5em;
@@ -3878,6 +3881,8 @@ var shouldForwardPropTableCell = (prop) => ![
3878
3881
  "flexGrow",
3879
3882
  "flexShrink",
3880
3883
  "borderLeft",
3884
+ "borderRight",
3885
+ "minHeight",
3881
3886
  "width",
3882
3887
  "colSpan",
3883
3888
  "padding"
@@ -3896,6 +3901,8 @@ var StyledTableCell = styled33.div.withConfig({
3896
3901
  text-overflow: ellipsis;
3897
3902
  font-size: 1em;
3898
3903
  border-left: ${(props) => props.borderLeft || "none"};
3904
+ border-right: ${(props) => props.borderRight || "none"};
3905
+ min-height: ${(props) => props.minHeight || "auto"};
3899
3906
  max-width: ${(props) => props.width || "auto"};
3900
3907
  min-width: ${(props) => props.width || "auto"};
3901
3908
  `;
@@ -3914,7 +3921,8 @@ var shouldForwardPropTableHeaderCell = (prop) => ![
3914
3921
  "flexGrow",
3915
3922
  "flexShrink",
3916
3923
  "width",
3917
- "borderLeft"
3924
+ "borderLeft",
3925
+ "textAlign"
3918
3926
  ].includes(prop);
3919
3927
  var StyledTableHeaderCell = styled34.div.withConfig({
3920
3928
  shouldForwardProp: shouldForwardPropTableHeaderCell
@@ -3927,7 +3935,7 @@ var StyledTableHeaderCell = styled34.div.withConfig({
3927
3935
  white-space: nowrap;
3928
3936
  overflow: hidden;
3929
3937
  text-overflow: ellipsis;
3930
- text-align: center;
3938
+ text-align: ${(props) => props.textAlign || "center"};
3931
3939
  font-size: 0.6em;
3932
3940
  font-weight: bold;
3933
3941
  max-width: ${(props) => props.width || "auto"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.318",
3
+ "version": "1.0.319",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",