@sarasanalytics-com/design-system 0.0.85 → 0.0.87
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/assets/add.svg +1 -0
- package/assets/analysis.svg +1 -0
- package/assets/arrowRightOutlined.svg +1 -0
- package/assets/avatar.svg +1 -0
- package/assets/bpn.svg +1 -0
- package/assets/businessStatsFilled.svg +1 -0
- package/assets/calendar.svg +3 -0
- package/assets/channelkey.svg +1 -0
- package/assets/chatHelpOutlined.svg +1 -0
- package/assets/chatIcon.svg +1 -0
- package/assets/checkCircleFilled.svg +1 -0
- package/assets/checkCircleOutlined.svg +1 -0
- package/assets/checkOutlined.svg +1 -0
- package/assets/circleFilled.svg +1 -0
- package/assets/closeBlueOutlined.svg +1 -0
- package/assets/closeCircleFilled.svg +1 -0
- package/assets/closeOutlined.svg +1 -0
- package/assets/compassNorthWest.svg +1 -0
- package/assets/dataonavatar.svg +1 -0
- package/assets/desktopSpeakerOutlined.svg +1 -0
- package/assets/disabledCheckboxFilled.svg +1 -0
- package/assets/doubleDownOutlined.svg +1 -0
- package/assets/downChevronOutlined.svg +5 -0
- package/assets/downOutlined.svg +1 -0
- package/assets/errorCircleOutlined.svg +1 -0
- package/assets/errorCrossOutlined.svg +3 -0
- package/assets/eyeFilled.svg +1 -0
- package/assets/eyeOff.svg +3 -0
- package/assets/eyeOutlined.svg +1 -0
- package/assets/formDetailsOutlined.svg +1 -0
- package/assets/gridViewOutlined.svg +1 -0
- package/assets/headsetOutlined.svg +3 -0
- package/assets/homeOutlined.svg +1 -0
- package/assets/infoCircleOutlined.svg +3 -0
- package/assets/infoTriangleFilled.svg +1 -0
- package/assets/infoTriangleOutlined.svg +1 -0
- package/assets/innosupps.svg +1 -0
- package/assets/leftChevronCircle.svg +2 -0
- package/assets/locationOutlined.svg +1 -0
- package/assets/lost-connection.svg +100 -0
- package/assets/mailOutlined.svg +1 -0
- package/assets/multiConnectionHub.svg +1 -0
- package/assets/multipleDocumentPercentage.svg +1 -0
- package/assets/murad.svg +1 -0
- package/assets/peopleAudience.svg +1 -0
- package/assets/personOutlined.svg +1 -0
- package/assets/personSupport.svg +1 -0
- package/assets/pricingIcon.svg +3 -0
- package/assets/refresh.svg +3 -0
- package/assets/rightChevronCircle.svg +1 -0
- package/assets/rightChevronOutlined.svg +1 -0
- package/assets/sarasFullLogo.svg +13 -0
- package/assets/sarasWhite.svg +1 -0
- package/assets/screenPerson.svg +1 -0
- package/assets/sendArrowOutlined.svg +1 -0
- package/assets/settingsOutlined.svg +1 -0
- package/assets/slideSettings.svg +1 -0
- package/assets/sourcesOutlined.svg +1 -0
- package/assets/tabDesktopArrowClockwiseOutlined.svg +1 -0
- package/assets/targetScanOutlined.svg +1 -0
- package/assets/timerOutlined.svg +5 -0
- package/assets/upwardTriangleFilled.svg +1 -0
- package/esm2022/interfaces/message-banner.mjs +1 -1
- package/esm2022/lib/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/card/guide-card/guide-card.component.mjs +3 -3
- package/esm2022/lib/card/menu-card/menu-card.component.mjs +3 -3
- package/esm2022/lib/dialog/dialog.component.mjs +35 -0
- package/esm2022/lib/message-banner/message-banner.component.mjs +25 -4
- package/esm2022/lib/message-banner-v2/message-banner-v2.component.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/sarasanalytics-com-design-system.mjs +151 -106
- package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -1
- package/interfaces/message-banner.d.ts +1 -1
- package/lib/dialog/dialog.component.d.ts +20 -0
- package/lib/message-banner/message-banner.component.d.ts +6 -2
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export type MessageType = 'success' | 'warning' | 'info' | 'error' | 'disclaimer';
|
|
1
|
+
export type MessageType = 'success' | 'warning' | 'info' | 'error' | 'disclaimer' | 'standby';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonClickEvent, ButtonInterface } from '../../interfaces/button-interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DialogComponent {
|
|
5
|
+
data: {
|
|
6
|
+
topMessageBanners?: any[];
|
|
7
|
+
middleRegion?: any;
|
|
8
|
+
lowerMessageBanners?: any[];
|
|
9
|
+
buttons?: ButtonInterface[];
|
|
10
|
+
buttonsWithType?: any[];
|
|
11
|
+
closeButton?: string;
|
|
12
|
+
showCloseButton?: boolean;
|
|
13
|
+
};
|
|
14
|
+
buttonClick: EventEmitter<any>;
|
|
15
|
+
onButtonClick(button: any, event?: Event): void;
|
|
16
|
+
handleButtonClick(event: ButtonClickEvent): void;
|
|
17
|
+
onCloseButtonClick(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "sa-dialog", never, { "data": { "alias": "data"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { MessageType } from '../../interfaces/message-banner';
|
|
2
3
|
import { IconName } from '../../interfaces/icon-interface';
|
|
3
|
-
import { ButtonIconPosition, ButtonSize, ButtonType } from '../../interfaces/button-interface';
|
|
4
|
+
import { ButtonIconPosition, ButtonInterface, ButtonSize, ButtonType } from '../../interfaces/button-interface';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MessageBannerComponent {
|
|
6
7
|
type: MessageType;
|
|
@@ -13,7 +14,10 @@ export declare class MessageBannerComponent {
|
|
|
13
14
|
buttonIconPosition?: ButtonIconPosition;
|
|
14
15
|
buttonSize?: ButtonSize;
|
|
15
16
|
buttonIconSize?: string;
|
|
17
|
+
button?: ButtonInterface;
|
|
16
18
|
onAction: () => void;
|
|
19
|
+
actionClick: EventEmitter<any>;
|
|
20
|
+
handleButtonClick(event: any, button?: ButtonInterface): void;
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBannerComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageBannerComponent, "sa-message-banner", never, { "type": { "alias": "type"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "content": { "alias": "content"; "required": false; }; "bannerIcon": { "alias": "bannerIcon"; "required": false; }; "bannerIconSize": { "alias": "bannerIconSize"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonIconPosition": { "alias": "buttonIconPosition"; "required": false; }; "buttonSize": { "alias": "buttonSize"; "required": false; }; "buttonIconSize": { "alias": "buttonIconSize"; "required": false; }; "onAction": { "alias": "onAction"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageBannerComponent, "sa-message-banner", never, { "type": { "alias": "type"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "content": { "alias": "content"; "required": false; }; "bannerIcon": { "alias": "bannerIcon"; "required": false; }; "bannerIconSize": { "alias": "bannerIconSize"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonIconPosition": { "alias": "buttonIconPosition"; "required": false; }; "buttonSize": { "alias": "buttonSize"; "required": false; }; "buttonIconSize": { "alias": "buttonIconSize"; "required": false; }; "button": { "alias": "button"; "required": false; }; "onAction": { "alias": "onAction"; "required": false; }; }, { "actionClick": "actionClick"; }, never, ["*"], true, never>;
|
|
19
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarasanalytics-com/design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.87",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.2.0",
|
|
6
6
|
"@angular/core": "^17.2.0"
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"default": "./fesm2022/sarasanalytics-com-design-system.mjs"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './lib/checkbox/checkbox.component';
|
|
|
17
17
|
export * from './lib/chips/chips.component';
|
|
18
18
|
export * from './lib/component-library.component';
|
|
19
19
|
export * from './lib/datepicker/datepicker.component';
|
|
20
|
+
export * from './lib/dialog/dialog.component';
|
|
20
21
|
export * from './lib/form-input/form-input.component';
|
|
21
22
|
export * from './lib/form-select/form-select.component';
|
|
22
23
|
export * from './lib/grid-cell/grid-cell.component';
|