@vectoriox/iox-ui 5.151.0 → 5.152.0

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.
@@ -21729,11 +21729,18 @@ function contentCapOf(column, rowValue) {
21729
21729
  const width = contentWidthOf(column, rowValue);
21730
21730
  return width === WIDE_CONTENT_WIDTH ? WIDE_CONTENT_CAP : width;
21731
21731
  }
21732
- /** The selector a column word's block is declared on, inside `scope` (the builder's token scope — the attribute sits on
21733
- * the scope element itself) or anywhere (the engine's `<body>`). */
21732
+ /**
21733
+ * The selector a column word's block is declared on, inside `scope` (the builder's token scope — the attribute sits on
21734
+ * the scope element itself) or anywhere (the engine's `<body>`).
21735
+ *
21736
+ * ⚠️ A token scope NESTED under the element carrying the word follows it too (`[word] scope`): the canvas's
21737
+ * `<iox-page-component class="iox-token-scope" data-iox-column>` hands its `class` to its own `.iox-page-wrapper`, so the
21738
+ * page sits in a second scope that re-declares the site's `content-width` — without this form a page's own word
21739
+ * (Page ▸ Design ▸ Content width) moved the attribute and nothing on the canvas (award §0c CW3).
21740
+ */
21734
21741
  function columnSelector(word, scope) {
21735
21742
  const attr = `[${COLUMN_ATTRIBUTE}="${word}"]`;
21736
- return scope ? `${scope}${attr}, ${scope} ${attr}` : attr;
21743
+ return scope ? `${scope}${attr}, ${scope} ${attr}, ${attr} ${scope}` : attr;
21737
21744
  }
21738
21745
  /**
21739
21746
  * The SITE's column word, read from the token rows the renderer already holds: the word whose literal `content-width`