@speakapbv/dough-component-library 9.22.1 → 9.23.0

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.
@@ -10,6 +10,7 @@ export interface CardProps {
10
10
  dataAttributes?: DoughDataAttributes;
11
11
  color?: Colors;
12
12
  fullHeight?: boolean;
13
+ maxHeight?: string;
13
14
  shadow?: boolean;
14
15
  padding?: Sizes;
15
16
  paddingHorizontal?: Sizes;
package/dist/index.es.js CHANGED
@@ -1264,7 +1264,7 @@ var Card = function (props) {
1264
1264
  }
1265
1265
  return React.createElement(React.Fragment, null);
1266
1266
  };
1267
- return (React.createElement(Box, { display: BoxDisplay.FLEX, width: "100%", height: fullHeight ? "100%" : undefined, direction: BoxDirection.COLUMN, border: border, shadow: shadow, borderRadius: !flat, color: color, overflow: fullHeight ? BoxOverflow.HIDDEN : undefined, className: cn("dough-card-wrapper", props.className, (_a = {},
1267
+ return (React.createElement(Box, { display: BoxDisplay.FLEX, width: "100%", height: fullHeight ? "100%" : undefined, maxHeight: props.maxHeight, direction: BoxDirection.COLUMN, border: border, shadow: shadow, borderRadius: !flat, color: color, overflow: fullHeight ? BoxOverflow.HIDDEN : undefined, className: cn("dough-card-wrapper", props.className, (_a = {},
1268
1268
  _a["dough-card-border-style-" + props.borderStyle] = props.borderStyle,
1269
1269
  _a)), dataAttributes: props.dataAttributes },
1270
1270
  getHeaderItems(props.children),
package/dist/index.js CHANGED
@@ -1249,7 +1249,7 @@ var Card = function (props) {
1249
1249
  }
1250
1250
  return React__default.createElement(React__default.Fragment, null);
1251
1251
  };
1252
- return (React__default.createElement(Box, { display: exports.BoxDisplay.FLEX, width: "100%", height: fullHeight ? "100%" : undefined, direction: exports.BoxDirection.COLUMN, border: border, shadow: shadow, borderRadius: !flat, color: color, overflow: fullHeight ? exports.BoxOverflow.HIDDEN : undefined, className: cn("dough-card-wrapper", props.className, (_a = {},
1252
+ return (React__default.createElement(Box, { display: exports.BoxDisplay.FLEX, width: "100%", height: fullHeight ? "100%" : undefined, maxHeight: props.maxHeight, direction: exports.BoxDirection.COLUMN, border: border, shadow: shadow, borderRadius: !flat, color: color, overflow: fullHeight ? exports.BoxOverflow.HIDDEN : undefined, className: cn("dough-card-wrapper", props.className, (_a = {},
1253
1253
  _a["dough-card-border-style-" + props.borderStyle] = props.borderStyle,
1254
1254
  _a)), dataAttributes: props.dataAttributes },
1255
1255
  getHeaderItems(props.children),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakapbv/dough-component-library",
3
- "version": "9.22.1",
3
+ "version": "9.23.0",
4
4
  "description": "DOUGH: Speakap React Component Library",
5
5
  "author": "Speakap",
6
6
  "license": "MIT",