@propbinder/mobile-design 0.1.18 → 0.1.19

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
@@ -2594,6 +2594,10 @@ declare class DsMobilePostDetailModalComponent implements AfterViewInit, OnDestr
2594
2594
  private lightbox;
2595
2595
  private bottomSheet;
2596
2596
  postData: PostDetailData;
2597
+ onSubmitComment?: (payload: {
2598
+ postId: string;
2599
+ text: string;
2600
+ }) => void;
2597
2601
  /**
2598
2602
  * Loading state - when true, shows loading indicator
2599
2603
  * Set this to true while fetching post data from your API
@@ -2691,7 +2695,7 @@ declare class DsMobilePostDetailModalComponent implements AfterViewInit, OnDestr
2691
2695
  */
2692
2696
  handleCommentLongPress(authorName: string, content: string, isOwnComment: boolean): Promise<void>;
2693
2697
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobilePostDetailModalComponent, never>;
2694
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobilePostDetailModalComponent, "ds-mobile-post-detail-modal", never, { "postData": { "alias": "postData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
2698
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobilePostDetailModalComponent, "ds-mobile-post-detail-modal", never, { "postData": { "alias": "postData"; "required": false; }; "onSubmitComment": { "alias": "onSubmitComment"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
2695
2699
  }
2696
2700
 
2697
2701
  /**
@@ -2750,6 +2754,10 @@ declare class DsMobilePostDetailModalService {
2750
2754
  open(postData: PostDetailData, options?: {
2751
2755
  loading?: boolean;
2752
2756
  error?: string;
2757
+ onSubmitComment?: (payload: {
2758
+ postId: string;
2759
+ text: string;
2760
+ }) => void;
2753
2761
  }): Promise<void>;
2754
2762
  /**
2755
2763
  * Close the currently open post detail modal
@@ -3185,7 +3193,7 @@ declare class DsMobileHandbookFolderMiniComponent {
3185
3193
  * ```
3186
3194
  */
3187
3195
  declare class DsTextInputComponent implements ControlValueAccessor {
3188
- type: _angular_core.InputSignal<"search" | "text" | "email" | "tel" | "url" | "password">;
3196
+ type: _angular_core.InputSignal<"search" | "text" | "email" | "tel" | "password" | "url">;
3189
3197
  placeholder: _angular_core.InputSignal<string>;
3190
3198
  disabled: _angular_core.InputSignal<boolean>;
3191
3199
  readonly: _angular_core.InputSignal<boolean>;
@@ -3487,8 +3495,8 @@ interface WhitelabelConfig {
3487
3495
  * Initialize with custom config:
3488
3496
  * ```typescript
3489
3497
  * whitelabelService.initialize({
3490
- * logoUrl: '/assets/logos/acme-logo.svg',
3491
- * logoMarkUrl: '/assets/logos/acme-mark.svg',
3498
+ * logoUrl: '/Assets/logos/acme-logo.svg',
3499
+ * logoMarkUrl: '/Assets/logos/acme-mark.svg',
3492
3500
  * primaryColor: '#2563eb',
3493
3501
  * secondaryColor: '#3b82f6',
3494
3502
  * organizationName: 'Acme Corp'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propbinder/mobile-design",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0 || ^21.0.0",
6
6
  "@angular/core": "^20.3.0 || ^21.0.0"