@propbinder/mobile-design 0.1.17 → 0.1.18

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/index.d.ts CHANGED
@@ -342,7 +342,7 @@ declare class DsMobilePageMainComponent extends MobilePageBase implements AfterV
342
342
  title: _angular_core.InputSignal<string>;
343
343
  headerTitle: _angular_core.InputSignal<string>;
344
344
  headerSubtitle: _angular_core.InputSignal<string>;
345
- avatarType: _angular_core.InputSignal<"initials" | "photo" | "icon">;
345
+ avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
346
346
  avatarInitials: _angular_core.InputSignal<string>;
347
347
  avatarSrc: _angular_core.InputSignal<string>;
348
348
  avatarIconName: _angular_core.InputSignal<string>;
@@ -676,7 +676,7 @@ declare class DsMobileCommentComponent {
676
676
  /**
677
677
  * Avatar type
678
678
  */
679
- avatarType: _angular_core.InputSignal<"initials" | "photo" | "icon">;
679
+ avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
680
680
  /**
681
681
  * Whether the comment is clickable
682
682
  */
@@ -780,7 +780,7 @@ declare class DsMobilePostComposerComponent {
780
780
  /**
781
781
  * Avatar type
782
782
  */
783
- avatarType: _angular_core.InputSignal<"initials" | "photo" | "icon">;
783
+ avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
784
784
  /**
785
785
  * Avatar photo source (for photo type)
786
786
  */
@@ -1185,7 +1185,7 @@ declare class DsMobileInteractiveListItemPostComponent {
1185
1185
  /**
1186
1186
  * Avatar type
1187
1187
  */
1188
- avatarType: _angular_core.InputSignal<"initials" | "photo" | "icon">;
1188
+ avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
1189
1189
  /**
1190
1190
  * Avatar photo source (for photo type)
1191
1191
  */
@@ -1482,7 +1482,7 @@ declare class DsMobileInteractiveListItemMessageComponent {
1482
1482
  /**
1483
1483
  * Avatar type
1484
1484
  */
1485
- avatarType: _angular_core.InputSignal<"initials" | "photo" | "icon">;
1485
+ avatarType: _angular_core.InputSignal<"photo" | "initials" | "icon">;
1486
1486
  /**
1487
1487
  * Avatar photo source (for photo type)
1488
1488
  */
@@ -3185,7 +3185,7 @@ declare class DsMobileHandbookFolderMiniComponent {
3185
3185
  * ```
3186
3186
  */
3187
3187
  declare class DsTextInputComponent implements ControlValueAccessor {
3188
- type: _angular_core.InputSignal<"search" | "text" | "email" | "tel" | "password" | "url">;
3188
+ type: _angular_core.InputSignal<"search" | "text" | "email" | "tel" | "url" | "password">;
3189
3189
  placeholder: _angular_core.InputSignal<string>;
3190
3190
  disabled: _angular_core.InputSignal<boolean>;
3191
3191
  readonly: _angular_core.InputSignal<boolean>;
@@ -3229,7 +3229,7 @@ declare class UserService {
3229
3229
  private _avatarSrc;
3230
3230
  private _profileMenuItems;
3231
3231
  readonly avatarInitials: _angular_core.Signal<string>;
3232
- readonly avatarType: _angular_core.Signal<"initials" | "photo" | "icon">;
3232
+ readonly avatarType: _angular_core.Signal<"photo" | "initials" | "icon">;
3233
3233
  readonly avatarSrc: _angular_core.Signal<string>;
3234
3234
  readonly profileMenuItems: _angular_core.Signal<ActionGroup[] | undefined>;
3235
3235
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propbinder/mobile-design",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0 || ^21.0.0",
6
6
  "@angular/core": "^20.3.0 || ^21.0.0"
package/styles/ionic.css CHANGED
@@ -524,9 +524,8 @@ ion-tab-button::part(native) {
524
524
  --background: var(--color-background-neutral-primary, #ffffff);
525
525
  --width: 100%;
526
526
  --max-width: 640px;
527
- --height: calc(100dvh - var(--app-sheet-top-offset)); /* Subtract margin to fit within viewport */
527
+ --height: 100dvh; /* Full viewport height - content top offset creates gap */
528
528
  --border-radius: 16px 16px 0 0;
529
- margin-top: var(--app-sheet-top-offset);
530
529
  }
531
530
 
532
531
  .ds-post-detail-modal::part(content) {
@@ -535,6 +534,10 @@ ion-tab-button::part(native) {
535
534
  background: var(--color-background-neutral-primary, #ffffff);
536
535
  max-width: 640px;
537
536
  margin: 0 auto;
537
+ /* Use top positioning instead of margin-top to work with fixed positioning */
538
+ top: var(--app-sheet-top-offset) !important;
539
+ height: calc(100% - var(--app-sheet-top-offset)) !important;
540
+ max-height: calc(100vh - var(--app-sheet-top-offset)) !important;
538
541
  }
539
542
 
540
543
  .ds-post-detail-modal::part(backdrop) {