@industry-theme/principal-view-panels 0.4.29 → 0.4.30

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.
@@ -87,4 +87,12 @@ export declare const Scenario_InsufficientInventory: Story;
87
87
  * Shows checkout failure when processing takes too long.
88
88
  */
89
89
  export declare const Scenario_Timeout: Story;
90
+ /**
91
+ * Partial Narrative Coverage
92
+ *
93
+ * Demonstrates active node filtering: only nodes involved in the narrative are shown as active.
94
+ * This canvas has 11 event nodes, but the narrative only covers 3 events (payment flow).
95
+ * Default view should show only those 3 nodes as active, not all 11.
96
+ */
97
+ export declare const PartialNarrativeCoverage: Story;
90
98
  //# sourceMappingURL=CanvasDetailPanel.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/CanvasDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAE3E;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;CAsBgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA0wBnC;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAiC9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,EAAE,KAyCxC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,KA+CtC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,KA+CtC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,KA+C5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,KA+C9B,CAAC"}
1
+ {"version":3,"file":"CanvasDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/CanvasDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAE3E;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;CAsBgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA0wBnC;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAiC9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,EAAE,KAyCxC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,KA+CtC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,KA+CtC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,KA+C5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,KA+C9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,EAAE,KAsEtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/CanvasListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAW/E;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwqBzD,CAAC"}
1
+ {"version":3,"file":"CanvasListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/CanvasListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAW/E;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAirBzD,CAAC"}
@@ -61451,8 +61451,15 @@ const CanvasListPanel = ({
61451
61451
  const { theme } = useTheme$1();
61452
61452
  const panelRef = useRef(null);
61453
61453
  const renderCountRef = useRef(0);
61454
+ const prevPropsRef = useRef(null);
61454
61455
  renderCountRef.current += 1;
61455
- console.log(`[CanvasListPanel] Render #${renderCountRef.current}`);
61456
+ const propsChanged = {
61457
+ context: prevPropsRef.current ? prevPropsRef.current.context !== context : true,
61458
+ actions: prevPropsRef.current ? prevPropsRef.current.actions !== actions2 : true,
61459
+ events: prevPropsRef.current ? prevPropsRef.current.events !== events : true
61460
+ };
61461
+ console.log(`[CanvasListPanel] Render #${renderCountRef.current}`, propsChanged);
61462
+ prevPropsRef.current = { context, actions: actions2, events };
61456
61463
  at("canvas-list", events, () => {
61457
61464
  var _a;
61458
61465
  return (_a = panelRef.current) == null ? void 0 : _a.focus();