poi-plugin-ship-info
Advanced tools
Comparing version 7.0.2 to 7.0.3
{ | ||
"name": "poi-plugin-ship-info", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"description": "Show detailed information of all owned ship girls", | ||
@@ -5,0 +5,0 @@ "main": "index.es", |
@@ -78,2 +78,7 @@ "use strict"; | ||
const ActionPanel = _styledComponents["default"].div.withConfig({ | ||
displayName: "planner__ActionPanel", | ||
componentId: "sc-1itvfpl-1" | ||
})(["display:flex;justify-content:center;align-items:center;"]); | ||
const PlannerContent = (0, _reactRedux.connect)(state => { | ||
@@ -104,2 +109,4 @@ const displayFleetName = (0, _lodash.get)(state.config, 'plugin.ShipInfo.displayFleetName', false); | ||
} | ||
dispatch(reorderShips); | ||
}); // const handleCaptureImage = useCallback(() => { | ||
@@ -121,2 +128,5 @@ // captureRect() | ||
}, [displayFleetName]); | ||
const handleRefresh = (0, _react.useCallback)(() => { | ||
dispatch(reorderShips); | ||
}, [dispatch]); | ||
const areas = mapname.map((name, index) => ({ | ||
@@ -129,3 +139,7 @@ areaIndex: index, | ||
const [fill, setFill] = (0, _react.useState)(-1); | ||
return _react["default"].createElement("div", null, activeTab === 'area' ? _react["default"].createElement("div", null, _react["default"].createElement("div", null, areas.map(area => _react["default"].createElement(_area.Area, { | ||
return _react["default"].createElement("div", null, _react["default"].createElement(ActionPanel, null, _react["default"].createElement(_core.Button, { | ||
intent: _core.Intent.PRIMARY, | ||
minimal: true, | ||
onClick: handleRefresh | ||
}, t('Refresh'))), activeTab === 'area' ? _react["default"].createElement("div", null, _react["default"].createElement("div", null, areas.map(area => _react["default"].createElement(_area.Area, { | ||
key: area.color, | ||
@@ -153,3 +167,3 @@ area: area, | ||
displayName: "planner__PlannerDialog", | ||
componentId: "sc-1itvfpl-1" | ||
componentId: "sc-1itvfpl-2" | ||
})(["width:80vw;height:90vh;", "{overflow:scroll;}"], `.${_core.Classes.DIALOG_BODY}`); | ||
@@ -159,3 +173,3 @@ | ||
displayName: "planner__Title", | ||
componentId: "sc-1itvfpl-2" | ||
componentId: "sc-1itvfpl-3" | ||
})(["display:flex;padding-right:2em;"]); | ||
@@ -165,3 +179,3 @@ | ||
displayName: "planner__Heading", | ||
componentId: "sc-1itvfpl-3" | ||
componentId: "sc-1itvfpl-4" | ||
})(["flex-grow:1;"]); | ||
@@ -168,0 +182,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1287819
20194
2