@luckydraw/cumulus 0.27.30 → 0.27.32

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.
@@ -44,12 +44,14 @@
44
44
 
45
45
  // ─── Styles ─────────────────────────────────────────────────────────────────
46
46
  var STYLES = [
47
- /* box-sizing applies everywhere including blex desired for consistent layout */
48
- '.cumulus-widget * { box-sizing: border-box; }',
47
+ /* box-sizing reset exclude blex block internals so blex CSS isn't overridden */
48
+ '.cumulus-widget *:not(.blex-block-container *), .cumulus-standalone-root *:not(.blex-block-container *) { box-sizing: border-box; }',
49
49
  /* Zero-specificity reset: any class selector (widget or blex) overrides this naturally */
50
- ':where(.cumulus-widget) :where(*) { margin: 0; padding: 0; }',
51
- /* Blex blocks inherit text theme from widget */
52
- '.blex-block-container { color: #e0e0e0; font-family: inherit; font-size: inherit; line-height: 1.5; isolation: isolate; }',
50
+ ':where(.cumulus-widget, .cumulus-standalone-root) :where(*:not(.blex-block-container *)) { margin: 0; padding: 0; }',
51
+ /* Blex container: isolate from widget styles, let blex own its internals */
52
+ '.blex-block-container { isolation: isolate; }',
53
+ /* Restore browser defaults for blex internals that the widget reset may have affected */
54
+ '.blex-block-container * { box-sizing: content-box; }',
53
55
 
54
56
  '.cumulus-widget {',
55
57
  ' font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;',
@@ -3538,9 +3540,10 @@
3538
3540
  var _streamingRow = null;
3539
3541
  function updateStreamingOnly() {
3540
3542
  if (!state.streaming) {
3541
- // Not streaming — fall back to full rebuild (cleans up stale streaming row)
3543
+ // Not streaming — just clear the streaming row reference.
3544
+ // Do NOT trigger a full rebuild here — the 'done' handler already did that.
3545
+ // A full rebuild would destroy blex blocks that are rendering asynchronously.
3542
3546
  _streamingRow = null;
3543
- renderPanelMessages();
3544
3547
  return;
3545
3548
  }
3546
3549
  if (!_streamingRow) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luckydraw/cumulus",
3
- "version": "0.27.30",
3
+ "version": "0.27.32",
4
4
  "description": "RLM-based CLI chat wrapper for Claude with external history context management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",