@vectoriox/iox-ui 5.96.1 → 5.96.2

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.1",
3
+ "version": "5.96.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -308,7 +308,7 @@ export function buildVariantPickerRecipe(create: CompositeNodeFactory): Composit
308
308
  export function buildQuantityRecipe(create: CompositeNodeFactory, compact = false, key = 'quantity'): CompositeNode {
309
309
  const size = compact ? '30px' : 'var(--iox-stepper-size)';
310
310
  const root = part(create, key, Type.Container, ShopRole.Quantity, Style.Quantity, {}, SHOP_LABELS.quantity,
311
- { ...ROW, alignItems: 'stretch', gap: '0px', ...(compact ? { minHeight: size } : {}) });
311
+ { ...ROW, alignItems: 'stretch', gap: '0px', minHeight: size });
312
312
  const down = button(create, `${key}-down`, ShopRole.QuantityDown, Style.QuantityButton, 'Decrease', 'Decrease quantity',
313
313
  { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', minWidth: size, padding: ZERO });
314
314
  down.children = [icon(create, `${key}-down-icon`, 'ph ph-minus', compact ? '14px' : '16px')];
@@ -347,7 +347,7 @@ export function buildCartButtonRecipe(create: CompositeNodeFactory): CompositeNo
347
347
  const root = button(create, 'cart-button', ShopRole.CartButton, Style.CartButton, SHOP_LABELS.cartButton, SHOP_RECIPE_WORDS.cart,
348
348
  { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', padding: '6px 6px 6px 6px', position: 'relative' });
349
349
  const count = part(create, 'cart-count', Type.Container, ShopRole.CartCount, Style.CartCount, {}, 'Count',
350
- { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', minHeight: 'auto', padding: '0px 4px 0px 4px', position: 'absolute', top: '-5px', right: '-5px' });
350
+ { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', width: 'auto', height: 'auto', minHeight: 'var(--iox-cart-count-size)', padding: '0px 4px 0px 4px', position: 'absolute', top: '-5px', right: '-5px' });
351
351
  const words = text(create, 'cart-count-text', null, Style.Label, SHOP_RECIPE_WORDS.count, 'Text', { ...WORDS, lineHeight: '1' }, 'span');
352
352
  bindSlot(words, 'content', '$cart', 'count');
353
353
  count.children = [words];