@vectoriox/iox-ui 5.96.0 → 5.96.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.96.0",
3
+ "version": "5.96.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -76,7 +76,8 @@ function setText(el: Element | null | undefined, words: string): void {
76
76
  function wordsOf(el: Element | null | undefined): Element | null {
77
77
  if (!el) return null;
78
78
  let cur: Element = el;
79
- while (cur.children.length === 1 && !cur.hasAttribute(CART_TITLE_COUNT_ATTRIBUTE)) cur = cur.children[0];
79
+ // Never INTO the count this runtime appended to a title — a second stamp would nest another inside it.
80
+ while (cur.children.length === 1 && !cur.children[0].hasAttribute(CART_TITLE_COUNT_ATTRIBUTE)) cur = cur.children[0];
80
81
  return cur;
81
82
  }
82
83
 
@@ -991,6 +991,9 @@ html:has(.iox-bar-reserve) .iox-toasts[data-iox-edge='bottom'] { bottom: calc(16
991
991
  [data-iox-shop-hidden] { display: none !important; }
992
992
  /* The earlier price shows only when there is one: `$variant.compareAt | money` reads '' otherwise. */
993
993
  .iox-role-shop-price-compare:empty { display: none !important; }
994
+ /* A swatch is a word-less button named by its aria-label: the canvas's "Button" placeholder for an empty button never
995
+ covers its colour. */
996
+ .iox-role-shop-variant-swatch > [data-iox-chrome] { display: none !important; }
994
997
  /* An empty bag: no count on the bag button; the drawer shows its "empty" words and nothing else of the bag. */
995
998
  .iox-role-shop-cart-button[data-iox-cart-empty] .iox-role-shop-cart-count { display: none !important; }
996
999
  .iox-role-shop-cart-drawer[data-iox-cart-empty] :is(.iox-role-shop-cart-lines, .iox-role-shop-cart-summary, .iox-role-shop-cart-vat-note,