@propbinder/mobile-design 0.2.33 → 0.2.34

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
@@ -616,7 +616,7 @@ declare class DsMobileProfileActionsSheetComponent implements OnInit, OnChanges
616
616
  /**
617
617
  * Current view state
618
618
  */
619
- currentView: _angular_core.WritableSignal<"language" | "main">;
619
+ currentView: _angular_core.WritableSignal<"main" | "language">;
620
620
  /**
621
621
  * Reference to the view container for height calculations
622
622
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propbinder/mobile-design",
3
- "version": "0.2.33",
3
+ "version": "0.2.34",
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
@@ -279,16 +279,17 @@ ion-modal:not(.ds-bottom-sheet) {
279
279
  --background: var(--color-background-neutral-primary);
280
280
  --border-radius: 16px;
281
281
  --box-shadow: var(--box-shadow-lg);
282
- /* Prevent modal from resizing when keyboard appears */
283
- height: 100% !important;
284
- max-height: 100vh !important;
282
+ --height: auto;
283
+ max-height: 100dvh;
284
+ height: 100dvh !important;
285
285
  }
286
286
 
287
287
  /* Prevent modal container from resizing when keyboard appears */
288
288
  ion-modal:not(.ds-bottom-sheet)::part(content) {
289
289
  position: fixed !important;
290
- height: 100% !important;
291
- max-height: 100vh !important;
290
+ max-height: 100dvh !important;
291
+ /* Ensure content doesn't get cut off by keyboard or safe area */
292
+ padding-bottom: env(safe-area-inset-bottom);
292
293
  }
293
294
 
294
295
  /* Prevent ion-content inside modals from resizing */