@brandsync/angular 1.6.0 → 1.7.0

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.
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/co
2
2
  import type { Components } from '@brandsync/wc/dist/components';
3
3
  import type { BsAccordionCustomEvent } from '@brandsync/wc/dist/components';
4
4
  import type { BsAttachmentCustomEvent } from '@brandsync/wc/dist/components';
5
+ import type { BsCarouselCustomEvent } from '@brandsync/wc/dist/components';
5
6
  import type { BsChatbotFeedbackCustomEvent } from '@brandsync/wc/dist/components';
6
7
  import type { BsChatbotHeaderCustomEvent } from '@brandsync/wc/dist/components';
7
8
  import type { BsChatbotResponseActionCustomEvent } from '@brandsync/wc/dist/components';
@@ -14,6 +15,8 @@ import type { BsComposerCustomEvent } from '@brandsync/wc/dist/components';
14
15
  import type { BsComposerStatusBannerCustomEvent } from '@brandsync/wc/dist/components';
15
16
  import type { BsDataTableCustomEvent } from '@brandsync/wc/dist/components';
16
17
  import type { BsDialogCustomEvent } from '@brandsync/wc/dist/components';
18
+ import type { BsFileUploadCustomEvent } from '@brandsync/wc/dist/components';
19
+ import type { BsFileUploadItemCustomEvent } from '@brandsync/wc/dist/components';
17
20
  import type { BsInlineTabCustomEvent } from '@brandsync/wc/dist/components';
18
21
  import type { BsInputCustomEvent } from '@brandsync/wc/dist/components';
19
22
  import type { BsMenuItemCustomEvent } from '@brandsync/wc/dist/components';
@@ -165,6 +168,26 @@ export declare class BsCard {
165
168
  }
166
169
  export declare interface BsCard extends Components.BsCard {
167
170
  }
171
+ export declare class BsCarousel {
172
+ protected z: NgZone;
173
+ protected el: HTMLBsCarouselElement;
174
+ bsPageChange: EventEmitter<BsCarouselCustomEvent<number>>;
175
+ bsPauseChange: EventEmitter<BsCarouselCustomEvent<boolean>>;
176
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
177
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsCarousel, never>;
178
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsCarousel, "bs-carousel", never, { "autoplay": { "alias": "autoplay"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "label": { "alias": "label"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "pauseLabel": { "alias": "pauseLabel"; "required": false; }; "paused": { "alias": "paused"; "required": false; }; "playLabel": { "alias": "playLabel"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "slidesPerView": { "alias": "slidesPerView"; "required": false; }; "tracker": { "alias": "tracker"; "required": false; }; }, { "bsPageChange": "bsPageChange"; "bsPauseChange": "bsPauseChange"; }, never, ["*"], true, never>;
179
+ }
180
+ export declare interface BsCarousel extends Components.BsCarousel {
181
+ /**
182
+ * Fires after the visible page changes via the tracker, previous/next or autoplay, with the
183
+ new 1-based page.
184
+ */
185
+ bsPageChange: EventEmitter<BsCarouselCustomEvent<number>>;
186
+ /**
187
+ * Fires when the user toggles the Pause/Play button, with the new `paused` value.
188
+ */
189
+ bsPauseChange: EventEmitter<BsCarouselCustomEvent<boolean>>;
190
+ }
168
191
  export declare class BsChatbotFeedback {
169
192
  protected z: NgZone;
170
193
  protected el: HTMLBsChatbotFeedbackElement;
@@ -466,6 +489,46 @@ export declare class BsDialog {
466
489
  export declare interface BsDialog extends Components.BsDialog {
467
490
  bsClose: EventEmitter<BsDialogCustomEvent<void>>;
468
491
  }
492
+ export declare class BsFileUpload {
493
+ protected z: NgZone;
494
+ protected el: HTMLBsFileUploadElement;
495
+ bsFilesSelect: EventEmitter<BsFileUploadCustomEvent<File[]>>;
496
+ bsFilesReject: EventEmitter<BsFileUploadCustomEvent<File[]>>;
497
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
498
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsFileUpload, never>;
499
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsFileUpload, "bs-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dragging": { "alias": "dragging"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, { "bsFilesSelect": "bsFilesSelect"; "bsFilesReject": "bsFilesReject"; }, never, ["*"], true, never>;
500
+ }
501
+ export declare interface BsFileUpload extends Components.BsFileUpload {
502
+ /**
503
+ * Fires with the accepted files, after the picker closes or files are dropped.
504
+ */
505
+ bsFilesSelect: EventEmitter<BsFileUploadCustomEvent<File[]>>;
506
+ /**
507
+ * Fires with files that were not taken: they didn't match `accept`, or were extra files
508
+ dropped while `multiple` is off.
509
+ */
510
+ bsFilesReject: EventEmitter<BsFileUploadCustomEvent<File[]>>;
511
+ }
512
+ export declare class BsFileUploadItem {
513
+ protected z: NgZone;
514
+ protected el: HTMLBsFileUploadItemElement;
515
+ bsCancel: EventEmitter<BsFileUploadItemCustomEvent<void>>;
516
+ bsRemove: EventEmitter<BsFileUploadItemCustomEvent<void>>;
517
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
518
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsFileUploadItem, never>;
519
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsFileUploadItem, "bs-file-upload-item", never, { "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "fileSize": { "alias": "fileSize"; "required": false; }; "message": { "alias": "message"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "state": { "alias": "state"; "required": false; }; "thumbnailAlt": { "alias": "thumbnailAlt"; "required": false; }; "thumbnailSrc": { "alias": "thumbnailSrc"; "required": false; }; }, { "bsCancel": "bsCancel"; "bsRemove": "bsRemove"; }, never, ["*"], true, never>;
520
+ }
521
+ export declare interface BsFileUploadItem extends Components.BsFileUploadItem {
522
+ /**
523
+ * Fires when the cancel button is clicked (`loading`, `in-progress`, `error`). The consumer
524
+ stops the upload and removes the item.
525
+ */
526
+ bsCancel: EventEmitter<BsFileUploadItemCustomEvent<void>>;
527
+ /**
528
+ * Fires when the remove button is clicked (`success`). The consumer removes the file.
529
+ */
530
+ bsRemove: EventEmitter<BsFileUploadItemCustomEvent<void>>;
531
+ }
469
532
  export declare class BsIconButton {
470
533
  protected z: NgZone;
471
534
  protected el: HTMLBsIconButtonElement;
@@ -640,7 +703,7 @@ export declare class BsProgressLinear {
640
703
  protected el: HTMLBsProgressLinearElement;
641
704
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
642
705
  static ɵfac: i0.ɵɵFactoryDeclaration<BsProgressLinear, never>;
643
- static ɵcmp: i0.ɵɵComponentDeclaration<BsProgressLinear, "bs-progress-linear", never, { "showLabel": { "alias": "showLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
706
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsProgressLinear, "bs-progress-linear", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
644
707
  }
645
708
  export declare interface BsProgressLinear extends Components.BsProgressLinear {
646
709
  }
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.BsAccordion | typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAttachment | typeof d.BsAttachmentList | typeof d.BsAvatar | typeof d.BsBadge | typeof d.BsBreadcrumb | typeof d.BsBreadcrumbOverflow | typeof d.BsBreadcrumbs | typeof d.BsButton | typeof d.BsButtonSkeleton | typeof d.BsCard | typeof d.BsChatbotFeedback | typeof d.BsChatbotHeader | typeof d.BsChatbotResponseAction | typeof d.BsChatbotSourcesDrawer | typeof d.BsChatbotSuggestionButton | typeof d.BsCheckbox | typeof d.BsCheckboxSkeleton | typeof d.BsChipFilter | typeof d.BsChipInformative | typeof d.BsChipInput | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsDataTable | typeof d.BsDialog | typeof d.BsIconButton | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsLogo | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsPagination | typeof d.BsProgress | typeof d.BsProgressLinear | typeof d.BsRadio | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsStepper | typeof d.BsStepperStep | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTabs | typeof d.BsToast | typeof d.BsTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.BsAccordion | typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAttachment | typeof d.BsAttachmentList | typeof d.BsAvatar | typeof d.BsBadge | typeof d.BsBreadcrumb | typeof d.BsBreadcrumbOverflow | typeof d.BsBreadcrumbs | typeof d.BsButton | typeof d.BsButtonSkeleton | typeof d.BsCard | typeof d.BsCarousel | typeof d.BsChatbotFeedback | typeof d.BsChatbotHeader | typeof d.BsChatbotResponseAction | typeof d.BsChatbotSourcesDrawer | typeof d.BsChatbotSuggestionButton | typeof d.BsCheckbox | typeof d.BsCheckboxSkeleton | typeof d.BsChipFilter | typeof d.BsChipInformative | typeof d.BsChipInput | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsDataTable | typeof d.BsDialog | typeof d.BsFileUpload | typeof d.BsFileUploadItem | typeof d.BsIconButton | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsLogo | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsPagination | typeof d.BsProgress | typeof d.BsProgressLinear | typeof d.BsRadio | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsStepper | typeof d.BsStepperStep | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTabs | typeof d.BsToast | typeof d.BsTooltip)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brandsync/angular",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Brandsync design system components as Angular standalone components",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,7 +9,7 @@
9
9
  "@angular/core": "^19.0.0"
10
10
  },
11
11
  "dependencies": {
12
- "@brandsync/wc": "^1.6.0",
12
+ "@brandsync/wc": "^1.7.0",
13
13
  "tslib": "^2.3.0"
14
14
  },
15
15
  "license": "MIT",