@propbinder/mobile-design 0.0.26 → 0.0.27

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.
@@ -4650,6 +4650,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
4650
4650
  type: Output
4651
4651
  }] } });
4652
4652
 
4653
+ /**
4654
+ * DsMobileTabBarComponent
4655
+ *
4656
+ * Pill-style tab bar for filtering/switching views
4657
+ * Used in the purple header section of pages
4658
+ *
4659
+ * @example
4660
+ * ```html
4661
+ * <ds-mobile-tab-bar
4662
+ * [tabs]="[
4663
+ * { id: 'all', label: 'All' },
4664
+ * { id: 'open', label: 'Open' },
4665
+ * { id: 'closed', label: 'Closed' }
4666
+ * ]"
4667
+ * [activeTab]="'all'"
4668
+ * (tabChange)="handleTabChange($event)">
4669
+ * </ds-mobile-tab-bar>
4670
+ * ```
4671
+ */
4672
+ class DsMobileTabBarComponent {
4673
+ /**
4674
+ * Array of tab items to display
4675
+ */
4676
+ tabs = input.required(...(ngDevMode ? [{ debugName: "tabs" }] : []));
4677
+ /**
4678
+ * Currently active tab ID
4679
+ */
4680
+ activeTab = input.required(...(ngDevMode ? [{ debugName: "activeTab" }] : []));
4681
+ /**
4682
+ * Emitted when a tab is clicked
4683
+ */
4684
+ tabChange = output();
4685
+ handleTabClick(tabId) {
4686
+ this.tabChange.emit(tabId);
4687
+ }
4688
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileTabBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4689
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", type: DsMobileTabBarComponent, isStandalone: true, selector: "ds-mobile-tab-bar", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: true, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: `
4690
+ <div class="filter-tabs">
4691
+ @for (tab of tabs(); track tab.id) {
4692
+ <button
4693
+ class="filter-tab"
4694
+ [class.active]="activeTab() === tab.id"
4695
+ (click)="handleTabClick(tab.id)"
4696
+ [attr.aria-label]="tab.label"
4697
+ [attr.aria-selected]="activeTab() === tab.id">
4698
+ {{ tab.label }}
4699
+ @if (tab.badge && tab.badge > 0) {
4700
+ <span class="tab-badge">{{ tab.badge }}</span>
4701
+ }
4702
+ </button>
4703
+ }
4704
+ </div>
4705
+ `, isInline: true, styles: [".filter-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;height:40px}.filter-tab{min-width:48px;justify-content:center;padding:0 12px;height:32px;border-radius:20px;background:transparent;border:none;font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);font-weight:600;color:#fff9;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.filter-tab.active{background:var(--color-background-brand, #5d5fef);color:#fff}.filter-tab:hover:not(.active){background:#ffffff1a}.tab-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:#fff3;color:#fff;font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1}.filter-tab.active .tab-badge{background:#ffffff4d;color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
4706
+ }
4707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileTabBarComponent, decorators: [{
4708
+ type: Component,
4709
+ args: [{ selector: 'ds-mobile-tab-bar', standalone: true, imports: [CommonModule], template: `
4710
+ <div class="filter-tabs">
4711
+ @for (tab of tabs(); track tab.id) {
4712
+ <button
4713
+ class="filter-tab"
4714
+ [class.active]="activeTab() === tab.id"
4715
+ (click)="handleTabClick(tab.id)"
4716
+ [attr.aria-label]="tab.label"
4717
+ [attr.aria-selected]="activeTab() === tab.id">
4718
+ {{ tab.label }}
4719
+ @if (tab.badge && tab.badge > 0) {
4720
+ <span class="tab-badge">{{ tab.badge }}</span>
4721
+ }
4722
+ </button>
4723
+ }
4724
+ </div>
4725
+ `, styles: [".filter-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;height:40px}.filter-tab{min-width:48px;justify-content:center;padding:0 12px;height:32px;border-radius:20px;background:transparent;border:none;font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);font-weight:600;color:#fff9;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.filter-tab.active{background:var(--color-background-brand, #5d5fef);color:#fff}.filter-tab:hover:not(.active){background:#ffffff1a}.tab-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:#fff3;color:#fff;font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1}.filter-tab.active .tab-badge{background:#ffffff4d;color:#fff}\n"] }]
4726
+ }], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: true }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: true }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }] } });
4727
+
4653
4728
  /**
4654
4729
  * DsMobileLightboxHeaderComponent
4655
4730
  *
@@ -9886,81 +9961,6 @@ const customBackTransition = (_, opts) => {
9886
9961
  return rootTransition;
9887
9962
  };
9888
9963
 
9889
- /**
9890
- * DsMobileTabBarComponent
9891
- *
9892
- * Pill-style tab bar for filtering/switching views
9893
- * Used in the purple header section of pages
9894
- *
9895
- * @example
9896
- * ```html
9897
- * <ds-mobile-tab-bar
9898
- * [tabs]="[
9899
- * { id: 'all', label: 'All' },
9900
- * { id: 'open', label: 'Open' },
9901
- * { id: 'closed', label: 'Closed' }
9902
- * ]"
9903
- * [activeTab]="'all'"
9904
- * (tabChange)="handleTabChange($event)">
9905
- * </ds-mobile-tab-bar>
9906
- * ```
9907
- */
9908
- class DsMobileTabBarComponent {
9909
- /**
9910
- * Array of tab items to display
9911
- */
9912
- tabs = input.required(...(ngDevMode ? [{ debugName: "tabs" }] : []));
9913
- /**
9914
- * Currently active tab ID
9915
- */
9916
- activeTab = input.required(...(ngDevMode ? [{ debugName: "activeTab" }] : []));
9917
- /**
9918
- * Emitted when a tab is clicked
9919
- */
9920
- tabChange = output();
9921
- handleTabClick(tabId) {
9922
- this.tabChange.emit(tabId);
9923
- }
9924
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileTabBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9925
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", type: DsMobileTabBarComponent, isStandalone: true, selector: "ds-mobile-tab-bar", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: true, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: `
9926
- <div class="filter-tabs">
9927
- @for (tab of tabs(); track tab.id) {
9928
- <button
9929
- class="filter-tab"
9930
- [class.active]="activeTab() === tab.id"
9931
- (click)="handleTabClick(tab.id)"
9932
- [attr.aria-label]="tab.label"
9933
- [attr.aria-selected]="activeTab() === tab.id">
9934
- {{ tab.label }}
9935
- @if (tab.badge && tab.badge > 0) {
9936
- <span class="tab-badge">{{ tab.badge }}</span>
9937
- }
9938
- </button>
9939
- }
9940
- </div>
9941
- `, isInline: true, styles: [".filter-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;height:40px}.filter-tab{min-width:48px;justify-content:center;padding:0 12px;height:32px;border-radius:20px;background:transparent;border:none;font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);font-weight:600;color:#fff9;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.filter-tab.active{background:var(--color-background-brand, #5d5fef);color:#fff}.filter-tab:hover:not(.active){background:#ffffff1a}.tab-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:#fff3;color:#fff;font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1}.filter-tab.active .tab-badge{background:#ffffff4d;color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
9942
- }
9943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: DsMobileTabBarComponent, decorators: [{
9944
- type: Component,
9945
- args: [{ selector: 'ds-mobile-tab-bar', standalone: true, imports: [CommonModule], template: `
9946
- <div class="filter-tabs">
9947
- @for (tab of tabs(); track tab.id) {
9948
- <button
9949
- class="filter-tab"
9950
- [class.active]="activeTab() === tab.id"
9951
- (click)="handleTabClick(tab.id)"
9952
- [attr.aria-label]="tab.label"
9953
- [attr.aria-selected]="activeTab() === tab.id">
9954
- {{ tab.label }}
9955
- @if (tab.badge && tab.badge > 0) {
9956
- <span class="tab-badge">{{ tab.badge }}</span>
9957
- }
9958
- </button>
9959
- }
9960
- </div>
9961
- `, styles: [".filter-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;height:40px}.filter-tab{min-width:48px;justify-content:center;padding:0 12px;height:32px;border-radius:20px;background:transparent;border:none;font-family:Brockmann,sans-serif;font-size:var(--font-size-sm);font-weight:600;color:#fff9;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.filter-tab.active{background:var(--color-background-brand, #5d5fef);color:#fff}.filter-tab:hover:not(.active){background:#ffffff1a}.tab-badge{min-width:24px;height:16px;padding:0 6px;border-radius:10px;background:#fff3;color:#fff;font-family:Brockmann,sans-serif;font-size:var(--font-size-xs);font-weight:600;display:flex;align-items:center;justify-content:center;line-height:1}.filter-tab.active .tab-badge{background:#ffffff4d;color:#fff}\n"] }]
9962
- }], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: true }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: true }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }] } });
9963
-
9964
9964
  class MobileInquiriesPageComponent {
9965
9965
  userService;
9966
9966
  navCtrl;
@@ -12600,5 +12600,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
12600
12600
  * Generated bundle index. Do not edit.
12601
12601
  */
12602
12602
 
12603
- export { ActionCommentComponent$1 as ActionCommentComponent, ActionLikeComponent$1 as ActionLikeComponent, ContentRowComponent, DsMobileActionsBottomSheetComponent, DsMobileAppLayoutComponent, DsMobileBottomSheetService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileLongPressDirective, DsMobileModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostCardComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileTabsComponent$1 as DsMobileTabsComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent$1 as PostActionsComponent, PostAttachmentsComponent$1 as PostAttachmentsComponent, PostContentComponent$1 as PostContentComponent, PostCreatePageComponent, PostMediaComponent$1 as PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent$1 as PostTextComponent, SectionHeaderComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, customBackTransition, customPageTransition };
12603
+ export { ActionCommentComponent$1 as ActionCommentComponent, ActionLikeComponent$1 as ActionLikeComponent, ContentRowComponent, DsMobileActionsBottomSheetComponent, DsMobileAppLayoutComponent, DsMobileBottomSheetService, DsMobileActionsBottomSheetComponent as DsMobileCommentActionsBottomSheetComponent, DsMobileCommentComponent, DsMobileContactListItemComponent, DsMobileContentComponent, DsMobileContentSectionComponent, DsMobileHandbookDetailModalComponent, DsMobileHandbookDetailModalService, DsMobileHandbookFolderComponent, DsMobileHandbookFolderMiniComponent, DsMobileHeaderContentComponent, DsMobileHeaderContentTileComponent, DsMobileInlinePhotoComponent, DsMobileInteractiveListItemInquiryComponent, DsMobileInteractiveListItemMessageComponent, DsMobileInteractiveListItemPostComponent, DsMobileLightboxImageComponent as DsMobileLightboxComponent, DsMobileLightboxFooterComponent, DsMobileLightboxHeaderComponent, DsMobileLightboxImageComponent, DsMobileLightboxPdfComponent, DsMobileLightboxService, DsMobileListItemComponent, DsMobileLongPressDirective, DsMobileModalService, DsMobilePageDetailsComponent, DsMobilePageMainComponent, DsMobileActionsBottomSheetComponent as DsMobilePostActionsBottomSheetComponent, DsMobilePostCardComponent, DsMobilePostComposerComponent, DsMobilePostCreateBottomSheetComponent, DsMobilePostDetailModalComponent, DsMobilePostDetailModalService, DsMobileTabBarComponent, DsMobileTabsComponent$1 as DsMobileTabsComponent, MobileCommunityPageComponent, MobileHandbookPageComponent, MobileHomePageComponent, MobileInquiriesPageComponent, MobileInquiryDetailPageComponent, MobilePageBase, MobilePostDetailPageComponent, MobileTabsExampleComponent, PostActionsComponent$1 as PostActionsComponent, PostAttachmentsComponent$1 as PostAttachmentsComponent, PostContentComponent$1 as PostContentComponent, PostCreatePageComponent, PostMediaComponent$1 as PostMediaComponent, PostPdfAttachmentComponent, PostTextComponent$1 as PostTextComponent, SectionHeaderComponent, TileContentComponent, TileIconComponent, TileLabelComponent, TileValueComponent, UserService, WhitelabelDemoPage, customBackTransition, customPageTransition };
12604
12604
  //# sourceMappingURL=propbinder-mobile-design.mjs.map