@vectoriox/iox-ui 5.32.0 → 5.32.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.32.0",
3
+ "version": "5.32.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -325,6 +325,8 @@ function drawer(kit: Kit, root: SerializedNode, pages: NavPage[], at: string): S
325
325
  reid(copy, 'drawer-cta');
326
326
  copy.role = NavRole.DrawerCta;
327
327
  copy.styleProps = { ...copy.styleProps, alignSelf: 'stretch' };
328
+ // Board 1: the full-width drawer button centres its words — a label filling its line would sit at the start.
329
+ for (const label of copy.children ?? []) if (label.type === TEXT) label.styleProps = { ...label.styleProps, width: 'auto' };
328
330
  dr.children.push(copy);
329
331
  }
330
332
  return dr;