@vectoriox/iox-ui 5.175.0 → 5.176.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.
@@ -19150,6 +19150,9 @@ interface ListPanelContext {
19150
19150
  readonly never?: LayoutListNever | null;
19151
19151
  /** The admin's language — each word's hint is its meaning in it (`he`: the contract's `LIST.meaningsHe`, #123). */
19152
19152
  readonly locale?: string | null;
19153
+ /** The list sits in a held section (its Scene `pin`s): the scroll turns it, so a deck is judged a row, as `checkLayout`
19154
+ * judges it (vectoriox/iox-ui#128) — the host passes its section's pin. */
19155
+ readonly held?: boolean;
19153
19156
  }
19154
19157
  /** The word(s) a mix wears for an ingredient. */
19155
19158
  declare function listMixValue(mix: LayoutListMix, k: ListIngredient): string | ReadonlyArray<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.175.0",
3
+ "version": "5.176.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -49,6 +49,9 @@ export interface ListPanelContext {
49
49
  readonly never?: LayoutListNever | null;
50
50
  /** The admin's language — each word's hint is its meaning in it (`he`: the contract's `LIST.meaningsHe`, #123). */
51
51
  readonly locale?: string | null;
52
+ /** The list sits in a held section (its Scene `pin`s): the scroll turns it, so a deck is judged a row, as `checkLayout`
53
+ * judges it (vectoriox/iox-ui#128) — the host passes its section's pin. */
54
+ readonly held?: boolean;
52
55
  }
53
56
 
54
57
  const MANY: ReadonlySet<string> = new Set(LIST_TABLE.many as ReadonlyArray<string>);
@@ -120,7 +123,7 @@ export function pickListWord(mix: LayoutListMix, k: ListIngredient, word: string
120
123
  return { mix, said: [], words: [], refused: [{ code: LayoutIssueCode.Value, path: `list.${k}`, message: `${k} "${word}": ${refusal}` }] };
121
124
  }
122
125
  const next = withListWord(mix, k, word);
123
- const issues = checkList(next, ctx.shape, 'list', ctx.never, { tier: ctx.tier });
126
+ const issues = checkList(next, ctx.shape, 'list', ctx.never, { tier: ctx.tier, held: !!ctx.held });
124
127
  const refused = issues.filter(i => !i.mend);
125
128
  if (refused.length) return { mix, said: [], words: [], refused };
126
129
  const mend = issues.map(i => i.mend).find(m => m?.kind === LayoutMendKind.List);
@@ -1908,13 +1908,16 @@ span.iox-video__play { pointer-events: none; }
1908
1908
  style's heading size, inside a card padded as a full-width one: at 320 a half tile kept 46px for its words, and the
1909
1909
  price ran 9px past its card at 390, 24 at 360, the ₪ cut by the card's clip (vectoriox/iox-ui#127). In a half tile a
1910
1910
  card that sells keeps half its padding (only it: a turned or colour-block card keeps its own). The price itself is sized
1911
- against its CARD (below), so a list with no arrangement word steps it too. */
1911
+ against its CARD (below), so a list with no arrangement word steps it too — and so is a selling card's title (#147;
1912
+ the rule is repeated here because the list's own title step would otherwise outrank the card's). */
1912
1913
  @container iox-list (max-width: 640px) {
1913
- :is(.iox-role-list-grid-two, .iox-role-list-tilted-two, .iox-role-list-grid-two > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-size: var(--iox-size-lead); }
1914
+ :is(.iox-role-list-grid-two, .iox-role-list-tilted-two, .iox-role-list-grid-two > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-size: var(--iox-size-lead); overflow-wrap: break-word; }
1915
+ :is(.iox-role-list-grid-two, .iox-role-list-tilted-two, .iox-role-list-grid-two > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root .iox-role-card:has(.iox-role-shop-price-amount) .iox-role-card-title { font-size: clamp(var(--iox-size-small), calc(100cqi * 0.2), var(--iox-size-lead)); }
1914
1916
  :is(.iox-role-list-grid-two, .iox-role-list-tilted-two, .iox-role-list-grid-two > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root .iox-role-card:has(.iox-role-shop-price-amount) { padding: calc(var(--iox-card-pad) / 2); }
1915
1917
  }
1916
1918
  @container iox-strips (max-width: 640px) {
1917
- :is(.iox-role-list-strips-two, .iox-role-list-strips-two > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-size: var(--iox-size-lead); }
1919
+ :is(.iox-role-list-strips-two, .iox-role-list-strips-two > .repeater-wrapper) > .repeater-root .iox-role-card-title { font-size: var(--iox-size-lead); overflow-wrap: break-word; }
1920
+ :is(.iox-role-list-strips-two, .iox-role-list-strips-two > .repeater-wrapper) > .repeater-root .iox-role-card:has(.iox-role-shop-price-amount) .iox-role-card-title { font-size: clamp(var(--iox-size-small), calc(100cqi * 0.2), var(--iox-size-lead)); }
1918
1921
  :is(.iox-role-list-strips-two, .iox-role-list-strips-two > .repeater-wrapper) > .repeater-root .iox-role-card:has(.iox-role-shop-price-amount) { padding: calc(var(--iox-card-pad) / 2); }
1919
1922
  }
1920
1923
 
@@ -1924,10 +1927,15 @@ span.iox-video__play { pointer-events: none; }
1924
1927
  CARD it reaches every narrow card that sells: once the card's content box is under 220px (a half tile on any phone; a
1925
1928
  one-across card keeps its own size down to 320) the price is sized to that box (100cqi) over the ~5.2em an eleven-glyph
1926
1929
  price stands (`1,249.00 ₪`) — never above the lead size, never under the small one. "From ₪89.00" (#142) breaks at its
1927
- space. The card's own width comes from its cell (Card v2 is `width: 100%`), so inline-size containment changes no size. */
1930
+ space. The card's own width comes from its cell (Card v2 is `width: 100%`), so inline-size containment changes no size.
1931
+ vectoriox/iox-ui#147: its TITLE is sized to the same box. At the lead size one English word ("workshop", 4.6em in the
1932
+ display face) ran 27px past a 78px box at 320, 7 past 98 at 360 — Hebrew words are shorter and fit. Over 5em the
1933
+ title stands any word of nine or ten letters (15.6px in 78, 19.6 in 98, near the lead size at 390); a longer word than a
1934
+ size can hold breaks inside the card (`break-word`, the floor every two-across title keeps) instead of running out. */
1928
1935
  .iox-role-card:has(.iox-role-shop-price-amount) { container: iox-price-card / inline-size; }
1929
1936
  @container iox-price-card (max-width: 220px) {
1930
1937
  .iox-role-card .iox-role-shop-price-amount { font-size: clamp(var(--iox-size-small), calc(100cqi * 0.19), var(--iox-size-lead)); }
1938
+ .iox-role-card .iox-role-card-title { font-size: clamp(var(--iox-size-small), calc(100cqi * 0.2), var(--iox-size-lead)); overflow-wrap: break-word; }
1931
1939
  }
1932
1940
 
1933
1941
  /* ITEM WORDS — what each item is, carried by the frame (`iox-list-item-<word>`). */