@brandsync/angular 0.0.11 → 0.1.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.
- package/fesm2022/brandsync-angular.mjs +309 -95
- package/fesm2022/brandsync-angular.mjs.map +1 -1
- package/lib/components.d.ts +95 -13
- package/lib/index.d.ts +1 -1
- package/package.json +2 -2
package/lib/components.d.ts
CHANGED
|
@@ -10,14 +10,16 @@ import type { BsCheckboxCustomEvent } from '@brandsync/wc/dist/components';
|
|
|
10
10
|
import type { BsComposerCustomEvent } from '@brandsync/wc/dist/components';
|
|
11
11
|
import type { BsComposerStatusBannerCustomEvent } from '@brandsync/wc/dist/components';
|
|
12
12
|
import type { BsDataTableCustomEvent } from '@brandsync/wc/dist/components';
|
|
13
|
+
import type { BsDialogCustomEvent } from '@brandsync/wc/dist/components';
|
|
13
14
|
import type { BsInlineTabCustomEvent } from '@brandsync/wc/dist/components';
|
|
14
15
|
import type { BsInputCustomEvent } from '@brandsync/wc/dist/components';
|
|
15
16
|
import type { BsMenuItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
16
|
-
import type { BsModalCustomEvent } from '@brandsync/wc/dist/components';
|
|
17
17
|
import type { BsNavigationDrawerCustomEvent } from '@brandsync/wc/dist/components';
|
|
18
18
|
import type { BsNavigationDrawerItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
19
|
+
import type { BsPaginationCustomEvent } from '@brandsync/wc/dist/components';
|
|
19
20
|
import type { BsRadioCustomEvent } from '@brandsync/wc/dist/components';
|
|
20
21
|
import type { BsSliderCustomEvent } from '@brandsync/wc/dist/components';
|
|
22
|
+
import type { BsSnackbarCustomEvent } from '@brandsync/wc/dist/components';
|
|
21
23
|
import type { BsSourceLinkCustomEvent } from '@brandsync/wc/dist/components';
|
|
22
24
|
import type { BsSwitchCustomEvent } from '@brandsync/wc/dist/components';
|
|
23
25
|
import type { BsTabCustomEvent } from '@brandsync/wc/dist/components';
|
|
@@ -72,6 +74,15 @@ export declare class BsAttachmentList {
|
|
|
72
74
|
}
|
|
73
75
|
export declare interface BsAttachmentList extends Components.BsAttachmentList {
|
|
74
76
|
}
|
|
77
|
+
export declare class BsAvatar {
|
|
78
|
+
protected z: NgZone;
|
|
79
|
+
protected el: HTMLBsAvatarElement;
|
|
80
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsAvatar, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsAvatar, "bs-avatar", never, { "alt": { "alias": "alt"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
83
|
+
}
|
|
84
|
+
export declare interface BsAvatar extends Components.BsAvatar {
|
|
85
|
+
}
|
|
75
86
|
export declare class BsBadge {
|
|
76
87
|
protected z: NgZone;
|
|
77
88
|
protected el: HTMLBsBadgeElement;
|
|
@@ -81,6 +92,33 @@ export declare class BsBadge {
|
|
|
81
92
|
}
|
|
82
93
|
export declare interface BsBadge extends Components.BsBadge {
|
|
83
94
|
}
|
|
95
|
+
export declare class BsBreadcrumb {
|
|
96
|
+
protected z: NgZone;
|
|
97
|
+
protected el: HTMLBsBreadcrumbElement;
|
|
98
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsBreadcrumb, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsBreadcrumb, "bs-breadcrumb", never, { "current": { "alias": "current"; "required": false; }; "href": { "alias": "href"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
101
|
+
}
|
|
102
|
+
export declare interface BsBreadcrumb extends Components.BsBreadcrumb {
|
|
103
|
+
}
|
|
104
|
+
export declare class BsBreadcrumbOverflow {
|
|
105
|
+
protected z: NgZone;
|
|
106
|
+
protected el: HTMLBsBreadcrumbOverflowElement;
|
|
107
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsBreadcrumbOverflow, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsBreadcrumbOverflow, "bs-breadcrumb-overflow", never, { "items": { "alias": "items"; "required": false; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
110
|
+
}
|
|
111
|
+
export declare interface BsBreadcrumbOverflow extends Components.BsBreadcrumbOverflow {
|
|
112
|
+
}
|
|
113
|
+
export declare class BsBreadcrumbs {
|
|
114
|
+
protected z: NgZone;
|
|
115
|
+
protected el: HTMLBsBreadcrumbsElement;
|
|
116
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsBreadcrumbs, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsBreadcrumbs, "bs-breadcrumbs", never, { "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
119
|
+
}
|
|
120
|
+
export declare interface BsBreadcrumbs extends Components.BsBreadcrumbs {
|
|
121
|
+
}
|
|
84
122
|
export declare class BsButton {
|
|
85
123
|
protected z: NgZone;
|
|
86
124
|
protected el: HTMLBsButtonElement;
|
|
@@ -260,6 +298,15 @@ export declare interface BsCheckbox extends Components.BsCheckbox {
|
|
|
260
298
|
*/
|
|
261
299
|
bsChange: EventEmitter<BsCheckboxCustomEvent<boolean>>;
|
|
262
300
|
}
|
|
301
|
+
export declare class BsCheckboxSkeleton {
|
|
302
|
+
protected z: NgZone;
|
|
303
|
+
protected el: HTMLBsCheckboxSkeletonElement;
|
|
304
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsCheckboxSkeleton, never>;
|
|
306
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsCheckboxSkeleton, "bs-checkbox-skeleton", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
307
|
+
}
|
|
308
|
+
export declare interface BsCheckboxSkeleton extends Components.BsCheckboxSkeleton {
|
|
309
|
+
}
|
|
263
310
|
export declare class BsComposer {
|
|
264
311
|
protected z: NgZone;
|
|
265
312
|
protected el: HTMLBsComposerElement;
|
|
@@ -344,6 +391,17 @@ export declare interface BsDataTable extends Components.BsDataTable {
|
|
|
344
391
|
selected: boolean;
|
|
345
392
|
}>>;
|
|
346
393
|
}
|
|
394
|
+
export declare class BsDialog {
|
|
395
|
+
protected z: NgZone;
|
|
396
|
+
protected el: HTMLBsDialogElement;
|
|
397
|
+
bsClose: EventEmitter<BsDialogCustomEvent<void>>;
|
|
398
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
399
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsDialog, never>;
|
|
400
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsDialog, "bs-dialog", never, { "centered": { "alias": "centered"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "open": { "alias": "open"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "bsClose": "bsClose"; }, never, ["*"], true, never>;
|
|
401
|
+
}
|
|
402
|
+
export declare interface BsDialog extends Components.BsDialog {
|
|
403
|
+
bsClose: EventEmitter<BsDialogCustomEvent<void>>;
|
|
404
|
+
}
|
|
347
405
|
export declare class BsIconButton {
|
|
348
406
|
protected z: NgZone;
|
|
349
407
|
protected el: HTMLBsIconButtonElement;
|
|
@@ -438,17 +496,6 @@ export declare interface BsMenuItem extends Components.BsMenuItem {
|
|
|
438
496
|
*/
|
|
439
497
|
bsSelect: EventEmitter<BsMenuItemCustomEvent<void>>;
|
|
440
498
|
}
|
|
441
|
-
export declare class BsModal {
|
|
442
|
-
protected z: NgZone;
|
|
443
|
-
protected el: HTMLBsModalElement;
|
|
444
|
-
bsClose: EventEmitter<BsModalCustomEvent<void>>;
|
|
445
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
446
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModal, never>;
|
|
447
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsModal, "bs-modal", never, { "heading": { "alias": "heading"; "required": false; }; "open": { "alias": "open"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "bsClose": "bsClose"; }, never, ["*"], true, never>;
|
|
448
|
-
}
|
|
449
|
-
export declare interface BsModal extends Components.BsModal {
|
|
450
|
-
bsClose: EventEmitter<BsModalCustomEvent<void>>;
|
|
451
|
-
}
|
|
452
499
|
export declare class BsNavigationDrawer {
|
|
453
500
|
protected z: NgZone;
|
|
454
501
|
protected el: HTMLBsNavigationDrawerElement;
|
|
@@ -456,7 +503,7 @@ export declare class BsNavigationDrawer {
|
|
|
456
503
|
bsSearchClick: EventEmitter<BsNavigationDrawerCustomEvent<void>>;
|
|
457
504
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
458
505
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavigationDrawer, never>;
|
|
459
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavigationDrawer, "bs-navigation-drawer", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "logoBackground": { "alias": "logoBackground"; "required": false; }; }, { "bsCollapse": "bsCollapse"; "bsSearchClick": "bsSearchClick"; }, never, ["*"], true, never>;
|
|
506
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavigationDrawer, "bs-navigation-drawer", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "logoBackground": { "alias": "logoBackground"; "required": false; }; "showLogo": { "alias": "showLogo"; "required": false; }; }, { "bsCollapse": "bsCollapse"; "bsSearchClick": "bsSearchClick"; }, never, ["*"], true, never>;
|
|
460
507
|
}
|
|
461
508
|
export declare interface BsNavigationDrawer extends Components.BsNavigationDrawer {
|
|
462
509
|
/**
|
|
@@ -500,6 +547,21 @@ export declare class BsNavigationHeader {
|
|
|
500
547
|
}
|
|
501
548
|
export declare interface BsNavigationHeader extends Components.BsNavigationHeader {
|
|
502
549
|
}
|
|
550
|
+
export declare class BsPagination {
|
|
551
|
+
protected z: NgZone;
|
|
552
|
+
protected el: HTMLBsPaginationElement;
|
|
553
|
+
bsPageChange: EventEmitter<BsPaginationCustomEvent<number>>;
|
|
554
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsPagination, never>;
|
|
556
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsPagination, "bs-pagination", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "siblingCount": { "alias": "siblingCount"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; }, { "bsPageChange": "bsPageChange"; }, never, ["*"], true, never>;
|
|
557
|
+
}
|
|
558
|
+
export declare interface BsPagination extends Components.BsPagination {
|
|
559
|
+
/**
|
|
560
|
+
* Fires whenever the active page changes as a result of the user clicking a page/prev/next
|
|
561
|
+
button -- not when `currentPage` is set programmatically from outside.
|
|
562
|
+
*/
|
|
563
|
+
bsPageChange: EventEmitter<BsPaginationCustomEvent<number>>;
|
|
564
|
+
}
|
|
503
565
|
export declare class BsRadio {
|
|
504
566
|
protected z: NgZone;
|
|
505
567
|
protected el: HTMLBsRadioElement;
|
|
@@ -544,6 +606,26 @@ export declare interface BsSlider extends Components.BsSlider {
|
|
|
544
606
|
end: number;
|
|
545
607
|
}>>;
|
|
546
608
|
}
|
|
609
|
+
export declare class BsSnackbar {
|
|
610
|
+
protected z: NgZone;
|
|
611
|
+
protected el: HTMLBsSnackbarElement;
|
|
612
|
+
bsAction: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
613
|
+
bsDismiss: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
614
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
615
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbar, never>;
|
|
616
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsSnackbar, "bs-snackbar", never, { "actionLabel": { "alias": "actionLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "bsAction": "bsAction"; "bsDismiss": "bsDismiss"; }, never, ["*"], true, never>;
|
|
617
|
+
}
|
|
618
|
+
export declare interface BsSnackbar extends Components.BsSnackbar {
|
|
619
|
+
/**
|
|
620
|
+
* Fires when the action button is clicked. Ignored/never fires if `actionLabel` isn't set.
|
|
621
|
+
*/
|
|
622
|
+
bsAction: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
623
|
+
/**
|
|
624
|
+
* Fires when the close button is clicked. This component doesn't remove itself from the DOM --
|
|
625
|
+
the consumer is expected to do that (or hide it) in response to this event.
|
|
626
|
+
*/
|
|
627
|
+
bsDismiss: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
628
|
+
}
|
|
547
629
|
export declare class BsSourceLink {
|
|
548
630
|
protected z: NgZone;
|
|
549
631
|
protected el: HTMLBsSourceLinkElement;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAttachment | typeof d.BsAttachmentList | typeof d.BsBadge | 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.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsDataTable | typeof d.BsIconButton | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsLogo | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.
|
|
2
|
+
export declare const DIRECTIVES: (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.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.BsRadio | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTabs | typeof d.BsTooltip)[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brandsync/angular",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.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": "^0.0
|
|
12
|
+
"@brandsync/wc": "^0.1.0",
|
|
13
13
|
"tslib": "^2.3.0"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|