@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.
package/dist/index.js
CHANGED
|
@@ -965,7 +965,8 @@ function omitUndefined(x) {
|
|
|
965
965
|
return v !== undefined;
|
|
966
966
|
}));
|
|
967
967
|
}
|
|
968
|
-
|
|
968
|
+
// width: 100% needed because parent is display: flex, which is needed for the min-height behavior.
|
|
969
|
+
var baseStyles = "\n.ant-pro-layout-bg-list {\n display: none;\n}\n.ant-pro-layout {\n display: flex;\n width: 100%;\n}\n";
|
|
969
970
|
function RichLayout(_a) {
|
|
970
971
|
var _b, _c, _d;
|
|
971
972
|
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"]);
|
|
@@ -1528,7 +1529,7 @@ function useRowSelectionProps(data, props) {
|
|
|
1528
1529
|
onRow: function (row) { return ({
|
|
1529
1530
|
onClick: function (event) {
|
|
1530
1531
|
var key = deriveKeyOfRow(row, deriveRowKey(data, rowKey));
|
|
1531
|
-
if (key) {
|
|
1532
|
+
if (key != null) {
|
|
1532
1533
|
if (canSelectRows === "click") {
|
|
1533
1534
|
// Some heuristics to avoid selecting a row when
|
|
1534
1535
|
// the object clicked is interactable -- like button, anchor,
|