@plasmicpkgs/plasmic-rich-components 1.0.83 → 1.0.85
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.
|
@@ -957,7 +957,8 @@ function omitUndefined(x) {
|
|
|
957
957
|
return v !== undefined;
|
|
958
958
|
}));
|
|
959
959
|
}
|
|
960
|
-
|
|
960
|
+
// width: 100% needed because parent is display: flex, which is needed for the min-height behavior.
|
|
961
|
+
var baseStyles = "\n.ant-pro-layout-bg-list {\n display: none;\n}\n.ant-pro-layout {\n display: flex;\n width: 100%;\n}\n";
|
|
961
962
|
function RichLayout(_a) {
|
|
962
963
|
var _b, _c, _d;
|
|
963
964
|
var children = _a.children, navMenuItems = _a.navMenuItems, _e = _a.rootUrl, rootUrl = _e === void 0 ? "/" : _e, actionsChildren = _a.actionsChildren, footerChildren = _a.footerChildren, avatarLabel = _a.avatarLabel, avatarImage = _a.avatarImage, showAvatarMenu = _a.showAvatarMenu, className = _a.className, simpleNavTheme = _a.simpleNavTheme, layoutProps = __rest(_a, ["children", "navMenuItems", "rootUrl", "actionsChildren", "footerChildren", "avatarLabel", "avatarImage", "showAvatarMenu", "className", "simpleNavTheme"]);
|
|
@@ -1520,7 +1521,7 @@ function useRowSelectionProps(data, props) {
|
|
|
1520
1521
|
onRow: function (row) { return ({
|
|
1521
1522
|
onClick: function (event) {
|
|
1522
1523
|
var key = deriveKeyOfRow(row, deriveRowKey(data, rowKey));
|
|
1523
|
-
if (key) {
|
|
1524
|
+
if (key != null) {
|
|
1524
1525
|
if (canSelectRows === "click") {
|
|
1525
1526
|
// Some heuristics to avoid selecting a row when
|
|
1526
1527
|
// the object clicked is interactable -- like button, anchor,
|