@brandsync/angular 1.15.0 → 1.16.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.
@@ -27,6 +27,8 @@ import type { BsFileUploadCustomEvent } from '@brandsync/wc/dist/components';
27
27
  import type { BsFileUploadItemCustomEvent } from '@brandsync/wc/dist/components';
28
28
  import type { BsInlineTabCustomEvent } from '@brandsync/wc/dist/components';
29
29
  import type { BsInputCustomEvent } from '@brandsync/wc/dist/components';
30
+ import type { BsListCustomEvent } from '@brandsync/wc/dist/components';
31
+ import type { BsListItemCustomEvent } from '@brandsync/wc/dist/components';
30
32
  import type { BsMenuItemCustomEvent } from '@brandsync/wc/dist/components';
31
33
  import type { BsMessageListCustomEvent } from '@brandsync/wc/dist/components';
32
34
  import type { BsNavigationDrawerCustomEvent } from '@brandsync/wc/dist/components';
@@ -49,6 +51,8 @@ import type { BsTabsCustomEvent } from '@brandsync/wc/dist/components';
49
51
  import type { BsTimepickerCustomEvent } from '@brandsync/wc/dist/components';
50
52
  import type { BsTimepickerChange as IBsTimepickerBsTimepickerChange } from '@brandsync/wc/dist/components';
51
53
  import type { BsToastCustomEvent } from '@brandsync/wc/dist/components';
54
+ import type { BsTreeCustomEvent } from '@brandsync/wc/dist/components';
55
+ import type { BsTreeItemCustomEvent } from '@brandsync/wc/dist/components';
52
56
  import type { BsWhatsNewCustomEvent } from '@brandsync/wc/dist/components';
53
57
  import type { BsWhatsNewEntryCustomEvent } from '@brandsync/wc/dist/components';
54
58
  import * as i0 from "@angular/core";
@@ -802,6 +806,34 @@ export declare interface BsInput extends Components.BsInput {
802
806
  */
803
807
  bsCountryChange: EventEmitter<BsInputCustomEvent<string>>;
804
808
  }
809
+ export declare class BsList {
810
+ protected z: NgZone;
811
+ protected el: HTMLBsListElement;
812
+ bsChange: EventEmitter<BsListCustomEvent<string | null>>;
813
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
814
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsList, never>;
815
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsList, "bs-list", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "dividers": { "alias": "dividers"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bsChange": "bsChange"; }, never, ["*"], true, never>;
816
+ }
817
+ export declare interface BsList extends Components.BsList {
818
+ /**
819
+ * Fires with the new `value` when the user changes the selection.
820
+ */
821
+ bsChange: EventEmitter<BsListCustomEvent<string | null>>;
822
+ }
823
+ export declare class BsListItem {
824
+ protected z: NgZone;
825
+ protected el: HTMLBsListItemElement;
826
+ bsItemClick: EventEmitter<BsListItemCustomEvent<string | null>>;
827
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
828
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsListItem, never>;
829
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsListItem, "bs-list-item", never, { "description": { "alias": "description"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "selectionRole": { "alias": "selectionRole"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bsItemClick": "bsItemClick"; }, never, ["*"], true, never>;
830
+ }
831
+ export declare interface BsListItem extends Components.BsListItem {
832
+ /**
833
+ * Fires on click / Enter / Space when the row is interactive and not disabled. Payload is `value`.
834
+ */
835
+ bsItemClick: EventEmitter<BsListItemCustomEvent<string | null>>;
836
+ }
805
837
  export declare class BsLogo {
806
838
  protected z: NgZone;
807
839
  protected el: HTMLBsLogoElement;
@@ -1371,6 +1403,42 @@ export declare class BsTooltipTrigger {
1371
1403
  }
1372
1404
  export declare interface BsTooltipTrigger extends Components.BsTooltipTrigger {
1373
1405
  }
1406
+ export declare class BsTree {
1407
+ protected z: NgZone;
1408
+ protected el: HTMLBsTreeElement;
1409
+ bsChange: EventEmitter<BsTreeCustomEvent<string>>;
1410
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1411
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsTree, never>;
1412
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsTree, "bs-tree", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bsChange": "bsChange"; }, never, ["*"], true, never>;
1413
+ }
1414
+ export declare interface BsTree extends Components.BsTree {
1415
+ /**
1416
+ * Emitted when the user changes the selection (click, Enter/Space), with the new value. Not
1417
+ emitted when `value` is set from code.
1418
+ */
1419
+ bsChange: EventEmitter<BsTreeCustomEvent<string>>;
1420
+ }
1421
+ export declare class BsTreeItem {
1422
+ protected z: NgZone;
1423
+ protected el: HTMLBsTreeItemElement;
1424
+ bsToggle: EventEmitter<BsTreeItemCustomEvent<boolean>>;
1425
+ bsSelect: EventEmitter<BsTreeItemCustomEvent<string>>;
1426
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1427
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsTreeItem, never>;
1428
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsTreeItem, "bs-tree-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bsToggle": "bsToggle"; "bsSelect": "bsSelect"; }, never, ["*"], true, never>;
1429
+ }
1430
+ export declare interface BsTreeItem extends Components.BsTreeItem {
1431
+ /**
1432
+ * Emitted when the user toggles expansion (caret click or keyboard), with the new `expanded`
1433
+ value. Not emitted when `expanded` is set from code.
1434
+ */
1435
+ bsToggle: EventEmitter<BsTreeItemCustomEvent<boolean>>;
1436
+ /**
1437
+ * Emitted (bubbling, composed) when the user activates the row, with the item's value. The
1438
+ owning `bs-tree` listens and updates the selection.
1439
+ */
1440
+ bsSelect: EventEmitter<BsTreeItemCustomEvent<string>>;
1441
+ }
1374
1442
  export declare class BsWhatsNew {
1375
1443
  protected z: NgZone;
1376
1444
  protected el: HTMLBsWhatsNewElement;
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.BsAccordionGroup | typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAppShell | 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.BsCitationPreview | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsContainer | typeof d.BsCookieConsent | typeof d.BsDataTable | typeof d.BsDatepicker | typeof d.BsDialog | typeof d.BsDivider | typeof d.BsErrorPage | typeof d.BsFileUpload | typeof d.BsFileUploadItem | typeof d.BsGrid | typeof d.BsIconButton | typeof d.BsIconTile | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsLogo | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.BsMessage | typeof d.BsMessageList | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsOnboardingChecklist | typeof d.BsPagination | typeof d.BsPopover | typeof d.BsProductTour | typeof d.BsProgress | typeof d.BsProgressLinear | typeof d.BsQrCode | typeof d.BsRadio | typeof d.BsSessionTimeout | typeof d.BsSidePanel | typeof d.BsSkeleton | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsSpinner | typeof d.BsSplitPane | typeof d.BsStack | typeof d.BsStepper | typeof d.BsStepperStep | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTabs | typeof d.BsTimepicker | typeof d.BsToast | typeof d.BsTooltip | typeof d.BsTooltipTrigger | typeof d.BsWhatsNew | typeof d.BsWhatsNewEntry)[];
2
+ export declare const DIRECTIVES: (typeof d.BsAccordion | typeof d.BsAccordionGroup | typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAppShell | 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.BsCitationPreview | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsContainer | typeof d.BsCookieConsent | typeof d.BsDataTable | typeof d.BsDatepicker | typeof d.BsDialog | typeof d.BsDivider | typeof d.BsErrorPage | typeof d.BsFileUpload | typeof d.BsFileUploadItem | typeof d.BsGrid | typeof d.BsIconButton | typeof d.BsIconTile | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsList | typeof d.BsListItem | typeof d.BsLogo | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.BsMessage | typeof d.BsMessageList | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsOnboardingChecklist | typeof d.BsPagination | typeof d.BsPopover | typeof d.BsProductTour | typeof d.BsProgress | typeof d.BsProgressLinear | typeof d.BsQrCode | typeof d.BsRadio | typeof d.BsSessionTimeout | typeof d.BsSidePanel | typeof d.BsSkeleton | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsSpinner | typeof d.BsSplitPane | typeof d.BsStack | typeof d.BsStepper | typeof d.BsStepperStep | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTabs | typeof d.BsTimepicker | typeof d.BsToast | typeof d.BsTooltip | typeof d.BsTooltipTrigger | typeof d.BsTree | typeof d.BsTreeItem | typeof d.BsWhatsNew | typeof d.BsWhatsNewEntry)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brandsync/angular",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Brandsync design system components as Angular standalone components",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,7 +10,7 @@
10
10
  "@angular/forms": "^19.0.0"
11
11
  },
12
12
  "dependencies": {
13
- "@brandsync/wc": "^1.15.0",
13
+ "@brandsync/wc": "^1.16.0",
14
14
  "tslib": "^2.3.0"
15
15
  },
16
16
  "license": "MIT",