@industry-theme/principal-view-panels 0.12.16 → 0.12.17
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryboardListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/StoryboardListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"StoryboardListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/StoryboardListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAqE9D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CA29BvE,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -98679,8 +98679,14 @@ const StoryboardListPanel = ({
|
|
|
98679
98679
|
var _a;
|
|
98680
98680
|
return (_a = panelRef.current) == null ? void 0 : _a.focus();
|
|
98681
98681
|
});
|
|
98682
|
+
const selectedNodeIdFromContext = context2.selectedNodeId;
|
|
98682
98683
|
const [selectedNodeId, setSelectedNodeId] = useState(null);
|
|
98683
98684
|
const [searchQuery, setSearchQuery] = useState("");
|
|
98685
|
+
useEffect(() => {
|
|
98686
|
+
if (selectedNodeIdFromContext !== void 0) {
|
|
98687
|
+
setSelectedNodeId(selectedNodeIdFromContext);
|
|
98688
|
+
}
|
|
98689
|
+
}, [selectedNodeIdFromContext]);
|
|
98684
98690
|
const [isRefreshing, setIsRefreshing] = useState(false);
|
|
98685
98691
|
const [showHelp, setShowHelp] = useState(false);
|
|
98686
98692
|
const [cliCommandCopied, setCliCommandCopied] = useState(false);
|