@underlayerdev/ui 0.14.4 → 0.14.6

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": "@underlayerdev/ui",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -83,12 +83,12 @@ type UiTheme = 'fill-purple' | 'fill-white' | 'fill-yellow' | 'fill-red' | 'fill
83
83
 
84
84
  type IconSize$1 = '5' | '6' | '7' | '8' | '16';
85
85
  /**
86
- * Avatar-only size scale: the shared UiSize sizes, plus a larger '2xl' for
86
+ * Avatar-only size scale: the shared UiSize sizes, plus larger '2xl'/'3xl' for
87
87
  * contexts where the avatar itself is the focal point (e.g. an onboarding
88
88
  * photo step) rather than one control among many. Deliberately not folded
89
89
  * into UiSize — a giant size doesn't make sense on a button or input.
90
90
  */
91
- type AvatarSize = UiSize | '2xl';
91
+ type AvatarSize = UiSize | '2xl' | '3xl';
92
92
  /**
93
93
  * A reusable avatar component that displays user images, initials, or icons.
94
94
  * Supports multiple sizes and fallback options when an image is not available.
@@ -137,7 +137,12 @@ type IconWeight = 'medium' | 'bold';
137
137
  type IconName = string;
138
138
  declare class IconComponent {
139
139
  size: _angular_core.InputSignal<IconSize>;
140
- weight: _angular_core.InputSignal<IconWeight>;
140
+ /**
141
+ * Stroke weight of the glyph. Pass `null` to leave it out entirely, so the
142
+ * icon takes the surrounding `font-weight` (e.g. inside bold text) instead
143
+ * of always forcing `medium`.
144
+ */
145
+ weight: _angular_core.InputSignal<IconWeight | null>;
141
146
  icon: _angular_core.InputSignal<string>;
142
147
  readonly hostClasses: _angular_core.Signal<string>;
143
148
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
@@ -1032,6 +1037,9 @@ declare class ImageCropperComponent {
1032
1037
  protected readonly isLocked: _angular_core.Signal<boolean>;
1033
1038
  /** ngx-image-cropper always wants a number here; unused while isLocked() is false. */
1034
1039
  protected readonly effectiveAspectRatio: _angular_core.Signal<number>;
1040
+ private readonly fullFrameWidth;
1041
+ private readonly fullFrameHeight;
1042
+ private readonly frameScale;
1035
1043
  protected readonly frameWidth: _angular_core.Signal<number | undefined>;
1036
1044
  protected readonly frameHeight: _angular_core.Signal<number | undefined>;
1037
1045
  protected readonly minZoom = 1;