@propbinder/mobile-design 0.2.23 → 0.2.25

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
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnDestroy, AfterViewInit, OnInit, ElementRef, Injector, TemplateRef, EventEmitter, ApplicationRef, EnvironmentInjector, Type, AfterContentInit, ChangeDetectorRef } from '@angular/core';
2
+ import { OnDestroy, AfterViewInit, OnInit, ElementRef, OnChanges, Injector, SimpleChanges, TemplateRef, EventEmitter, ApplicationRef, EnvironmentInjector, Type, AfterContentInit, ChangeDetectorRef } from '@angular/core';
3
3
  import { ModalController, IonContent, NavController, GestureController, ModalOptions as ModalOptions$1 } from '@ionic/angular/standalone';
4
4
  import { Style } from '@capacitor/status-bar';
5
5
  import { ImpactStyle } from '@capacitor/haptics';
@@ -422,7 +422,7 @@ interface Language {
422
422
  * }
423
423
  * ```
424
424
  */
425
- declare class DsMobileProfileActionsSheetComponent {
425
+ declare class DsMobileProfileActionsSheetComponent implements OnInit, OnChanges {
426
426
  private modalController;
427
427
  private injector;
428
428
  /**
@@ -470,6 +470,12 @@ declare class DsMobileProfileActionsSheetComponent {
470
470
  */
471
471
  isAnimating: _angular_core.WritableSignal<boolean>;
472
472
  constructor(modalController: ModalController, injector: Injector);
473
+ ngOnChanges(changes: SimpleChanges): void;
474
+ ngOnInit(): void;
475
+ /**
476
+ * Try to resolve short language code from localStorage ('selectedLanguage' key)
477
+ */
478
+ private getLanguageFromStorage;
473
479
  /**
474
480
  * Handle action item click
475
481
  */
@@ -2387,7 +2393,7 @@ declare class DsMobileListItemComponent {
2387
2393
  * - 'center' - Align to center
2388
2394
  * - 'bottom' - Align to bottom
2389
2395
  */
2390
- align: _angular_core.InputSignal<"top" | "center" | "bottom">;
2396
+ align: _angular_core.InputSignal<"center" | "top" | "bottom">;
2391
2397
  /**
2392
2398
  * Whether the list item is interactive (clickable and long-pressable)
2393
2399
  * When true, adds interactive background, cursor pointer, and touch handlers
@@ -4741,7 +4747,7 @@ declare class DsMobileCardInlineComponent {
4741
4747
  * - 'default' - Column layout with standard padding (gap: 12px, padding: 10px 12px)
4742
4748
  * - 'compact' - Row layout with reduced padding (gap: 8px, padding: 10px)
4743
4749
  */
4744
- variant: _angular_core.InputSignal<"compact" | "default">;
4750
+ variant: _angular_core.InputSignal<"default" | "compact">;
4745
4751
  /**
4746
4752
  * Whether the card is disabled
4747
4753
  * Disables all interactions and reduces opacity
@@ -4804,7 +4810,7 @@ declare class DsMobileCardInlineBannerComponent {
4804
4810
  * - 'default' - Standard padding and column layout
4805
4811
  * - 'compact' - Reduced padding and row layout
4806
4812
  */
4807
- layout: _angular_core.InputSignal<"compact" | "default">;
4813
+ layout: _angular_core.InputSignal<"default" | "compact">;
4808
4814
  /**
4809
4815
  * Emits when the banner is clicked
4810
4816
  */
@@ -4855,7 +4861,7 @@ declare class DsMobileCardInlineContactComponent {
4855
4861
  * - 'default' - Standard padding and column layout
4856
4862
  * - 'compact' - Reduced padding and row layout
4857
4863
  */
4858
- layout: _angular_core.InputSignal<"compact" | "default">;
4864
+ layout: _angular_core.InputSignal<"default" | "compact">;
4859
4865
  /**
4860
4866
  * Whether the contact item is clickable
4861
4867
  */
@@ -4912,7 +4918,7 @@ declare class DsMobileCardInlineFileComponent {
4912
4918
  * - 'default' - Standard padding and column layout
4913
4919
  * - 'compact' - Reduced padding and row layout
4914
4920
  */
4915
- layout: _angular_core.InputSignal<"compact" | "default">;
4921
+ layout: _angular_core.InputSignal<"default" | "compact">;
4916
4922
  /**
4917
4923
  * Optional URL to open when clicked
4918
4924
  * If provided, clicking the card will open this URL in a new tab
@@ -6502,7 +6508,7 @@ declare class MobileInquiriesPageComponent {
6502
6508
  private newInquiryModal;
6503
6509
  pageComponent: DsMobilePageMainComponent;
6504
6510
  constructor(userService: UserService, navCtrl: NavController, newInquiryModal: DsMobileNewInquiryModalService);
6505
- filterStatus: _angular_core.WritableSignal<"all" | "open" | "closed">;
6511
+ filterStatus: _angular_core.WritableSignal<"open" | "closed" | "all">;
6506
6512
  tabItems: InlineTabItem[];
6507
6513
  inquiries: _angular_core.WritableSignal<Inquiry[]>;
6508
6514
  filteredInquiries: _angular_core.Signal<Inquiry[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propbinder/mobile-design",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0 || ^21.0.0",
6
6
  "@angular/core": "^20.3.0 || ^21.0.0"