@cakemail-org/ui-components-v2 2.2.19 → 2.2.21

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.
@@ -6,6 +6,8 @@ export default function getMuiTableCell(theme: Theme): {
6
6
  boxSizing: string;
7
7
  marginBottom: string;
8
8
  border: string;
9
+ maxWidth: string;
10
+ overflow: string;
9
11
  ".cellContainer .MuiTypography-root, .cellContainer p": {
10
12
  maxWidth: string;
11
13
  overflow: string;
package/dist/cjs/index.js CHANGED
@@ -7020,8 +7020,10 @@ function getMuiTableCell(theme) {
7020
7020
  boxSizing: "border-box",
7021
7021
  marginBottom: theme.spacing(5),
7022
7022
  border: "none",
7023
+ maxWidth: "25rem !important",
7024
+ overflow: "hidden",
7023
7025
  ".cellContainer .MuiTypography-root, .cellContainer p": {
7024
- maxWidth: "25rem !important",
7026
+ maxWidth: "23rem !important",
7025
7027
  overflow: "hidden",
7026
7028
  textOverflow: "ellipsis",
7027
7029
  whiteSpace: "nowrap",
@@ -16905,7 +16907,7 @@ function ResourceEdit(_a) {
16905
16907
  desc && React.createElement(material.Typography, { variant: "body1", color: "shade500.main" }, desc)),
16906
16908
  editable && React.createElement(material.Box, null,
16907
16909
  React.createElement(Button, { color: "body1", variant: 'text', iconOnly: true, onClick: handleToggleOpen },
16908
- React.createElement(Icon, { name: "Chevron18" })))),
16910
+ React.createElement(Icon, { name: "Chevron18", sx: { transform: open ? "rotate(0deg)" : "rotate(-180deg)" } })))),
16909
16911
  !!editableContent && React.createElement(material.Box, { className: "resource-content ".concat(open ? "open" : "hidden") }, editableContent),
16910
16912
  !!support && React.createElement(material.Box, { className: "resource-support ".concat(!open ? "open" : "hidden") }, support));
16911
16913
  }
@@ -6,6 +6,8 @@ export default function getMuiTableCell(theme: Theme): {
6
6
  boxSizing: string;
7
7
  marginBottom: string;
8
8
  border: string;
9
+ maxWidth: string;
10
+ overflow: string;
9
11
  ".cellContainer .MuiTypography-root, .cellContainer p": {
10
12
  maxWidth: string;
11
13
  overflow: string;
package/dist/esm/index.js CHANGED
@@ -7000,8 +7000,10 @@ function getMuiTableCell(theme) {
7000
7000
  boxSizing: "border-box",
7001
7001
  marginBottom: theme.spacing(5),
7002
7002
  border: "none",
7003
+ maxWidth: "25rem !important",
7004
+ overflow: "hidden",
7003
7005
  ".cellContainer .MuiTypography-root, .cellContainer p": {
7004
- maxWidth: "25rem !important",
7006
+ maxWidth: "23rem !important",
7005
7007
  overflow: "hidden",
7006
7008
  textOverflow: "ellipsis",
7007
7009
  whiteSpace: "nowrap",
@@ -16885,7 +16887,7 @@ function ResourceEdit(_a) {
16885
16887
  desc && React__default.createElement(Typography$1, { variant: "body1", color: "shade500.main" }, desc)),
16886
16888
  editable && React__default.createElement(Box, null,
16887
16889
  React__default.createElement(Button, { color: "body1", variant: 'text', iconOnly: true, onClick: handleToggleOpen },
16888
- React__default.createElement(Icon, { name: "Chevron18" })))),
16890
+ React__default.createElement(Icon, { name: "Chevron18", sx: { transform: open ? "rotate(0deg)" : "rotate(-180deg)" } })))),
16889
16891
  !!editableContent && React__default.createElement(Box, { className: "resource-content ".concat(open ? "open" : "hidden") }, editableContent),
16890
16892
  !!support && React__default.createElement(Box, { className: "resource-support ".concat(!open ? "open" : "hidden") }, support));
16891
16893
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.19",
3
+ "version": "2.2.21",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",