@plasmicpkgs/plasmic-rich-components 1.0.82 → 1.0.84

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,6 +957,7 @@ function omitUndefined(x) {
957
957
  return v !== undefined;
958
958
  }));
959
959
  }
960
+ var baseStyles = "\n.ant-pro-layout-bg-list {\n display: none;\n}\n.ant-pro-layout {\n display: flex;\n}\n";
960
961
  function RichLayout(_a) {
961
962
  var _b, _c, _d;
962
963
  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"]);
@@ -999,8 +1000,8 @@ function RichLayout(_a) {
999
1000
  if (!isClient) {
1000
1001
  return null;
1001
1002
  }
1002
- return (React.createElement("div", { className: className },
1003
- React.createElement("style", null, ".ant-pro-layout-bg-list {\n display: none;\n }"),
1003
+ return (React.createElement("div", { className: className, style: { display: "flex" } },
1004
+ React.createElement("style", null, baseStyles),
1004
1005
  React.createElement(ProLayout, __assign({}, layoutProps, {
1005
1006
  // Theme just the header. If you simply pass in navTheme=realDark, it affects all main content as well.
1006
1007
  //
@@ -1519,7 +1520,7 @@ function useRowSelectionProps(data, props) {
1519
1520
  onRow: function (row) { return ({
1520
1521
  onClick: function (event) {
1521
1522
  var key = deriveKeyOfRow(row, deriveRowKey(data, rowKey));
1522
- if (key) {
1523
+ if (key != null) {
1523
1524
  if (canSelectRows === "click") {
1524
1525
  // Some heuristics to avoid selecting a row when
1525
1526
  // the object clicked is interactable -- like button, anchor,