@propbinder/mobile-design 0.3.40 → 0.3.42

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
@@ -51,6 +51,16 @@ declare abstract class MobilePageBase implements OnDestroy {
51
51
  * until they explicitly opt in.
52
52
  */
53
53
  contentLoading: _angular_core.InputSignal<boolean>;
54
+ /**
55
+ * Layout variant for the skeleton loader when contentLoading is true.
56
+ * - 'list': Default list layout with shimmer animation
57
+ * - 'card': Grid of cards with pulse animation
58
+ * - 'details': Detail page structure with pulse animation
59
+ * - 'handbook': Grid of handbook folders with pulse animation
60
+ *
61
+ * @default 'list'
62
+ */
63
+ contentLoadingVariant: _angular_core.InputSignal<"details" | "list" | "card" | "handbook">;
54
64
  /**
55
65
  * Maximum content width (desktop only)
56
66
  *
@@ -144,7 +154,7 @@ declare abstract class MobilePageBase implements OnDestroy {
144
154
  */
145
155
  ngOnDestroy(): void;
146
156
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MobilePageBase, never>;
147
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MobilePageBase, never, never, { "contentLoading": { "alias": "contentLoading"; "required": false; "isSignal": true; }; "contentWidth": { "alias": "contentWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
157
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MobilePageBase, never, never, { "contentLoading": { "alias": "contentLoading"; "required": false; "isSignal": true; }; "contentLoadingVariant": { "alias": "contentLoadingVariant"; "required": false; "isSignal": true; }; "contentWidth": { "alias": "contentWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
148
158
  }
149
159
 
150
160
  interface ActionResult {
@@ -737,7 +747,7 @@ declare class DsMobileProfileActionsSheetComponent implements OnInit, OnChanges
737
747
  /**
738
748
  * Current view state
739
749
  */
740
- currentView: _angular_core.WritableSignal<"language" | "main">;
750
+ currentView: _angular_core.WritableSignal<"main" | "language">;
741
751
  /**
742
752
  * Reference to the view container for height calculations
743
753
  */
@@ -5031,7 +5041,7 @@ declare class DsMobileGroupAvatarStackComponent {
5031
5041
  customAvatarUrl: _angular_core.InputSignal<string>;
5032
5042
  size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl">;
5033
5043
  /** Row avatar (32×32, diagonal **xs** faces) vs header / hero stack. */
5034
- layout: _angular_core.InputSignal<"stack" | "list">;
5044
+ layout: _angular_core.InputSignal<"list" | "stack">;
5035
5045
  /** When set, this participant is omitted from the stack (e.g. current user id). */
5036
5046
  currentUserId: _angular_core.InputSignal<string>;
5037
5047
  private readonly cap;
@@ -5170,6 +5180,9 @@ declare class DsMobileTenantPickerModalComponent {
5170
5180
  pickMode: boolean;
5171
5181
  /** Optional set of tenant IDs to exclude from the list (e.g. already-selected admins). */
5172
5182
  excludeIds?: Set<string>;
5183
+ /** Optional list of external tenants to use instead of the internal dummy data */
5184
+ set tenants(val: PeerTenantContact[] | undefined);
5185
+ private _externalTenants;
5173
5186
  searchQuery: _angular_core.WritableSignal<string>;
5174
5187
  selectionMode: _angular_core.WritableSignal<boolean>;
5175
5188
  selectedIds: _angular_core.WritableSignal<Set<string>>;
@@ -5180,7 +5193,7 @@ declare class DsMobileTenantPickerModalComponent {
5180
5193
  openTenantActions(tenant: PeerTenantContact): Promise<void>;
5181
5194
  promptCreateGroup(): Promise<void>;
5182
5195
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileTenantPickerModalComponent, never>;
5183
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileTenantPickerModalComponent, "ds-mobile-tenant-picker-modal", never, { "pickMode": { "alias": "pickMode"; "required": false; }; "excludeIds": { "alias": "excludeIds"; "required": false; }; }, {}, never, never, true, never>;
5196
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileTenantPickerModalComponent, "ds-mobile-tenant-picker-modal", never, { "pickMode": { "alias": "pickMode"; "required": false; }; "excludeIds": { "alias": "excludeIds"; "required": false; }; "tenants": { "alias": "tenants"; "required": false; }; }, {}, never, never, true, never>;
5184
5197
  }
5185
5198
 
5186
5199
  interface CreateGroupMember {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propbinder/mobile-design",
3
- "version": "0.3.40",
3
+ "version": "0.3.42",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0 || ^21.0.0",
6
6
  "@angular/core": "^20.3.0 || ^21.0.0"