@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.
Files changed (77) hide show
  1. package/assets/add.svg +1 -0
  2. package/assets/analysis.svg +1 -0
  3. package/assets/arrowRightOutlined.svg +1 -0
  4. package/assets/avatar.svg +1 -0
  5. package/assets/bpn.svg +1 -0
  6. package/assets/businessStatsFilled.svg +1 -0
  7. package/assets/calendar.svg +3 -0
  8. package/assets/channelkey.svg +1 -0
  9. package/assets/chatHelpOutlined.svg +1 -0
  10. package/assets/chatIcon.svg +1 -0
  11. package/assets/checkCircleFilled.svg +1 -0
  12. package/assets/checkCircleOutlined.svg +1 -0
  13. package/assets/checkOutlined.svg +1 -0
  14. package/assets/circleFilled.svg +1 -0
  15. package/assets/closeBlueOutlined.svg +1 -0
  16. package/assets/closeCircleFilled.svg +1 -0
  17. package/assets/closeOutlined.svg +1 -0
  18. package/assets/compassNorthWest.svg +1 -0
  19. package/assets/dataonavatar.svg +1 -0
  20. package/assets/desktopSpeakerOutlined.svg +1 -0
  21. package/assets/disabledCheckboxFilled.svg +1 -0
  22. package/assets/doubleDownOutlined.svg +1 -0
  23. package/assets/downChevronOutlined.svg +5 -0
  24. package/assets/downOutlined.svg +1 -0
  25. package/assets/errorCircleOutlined.svg +1 -0
  26. package/assets/errorCrossOutlined.svg +3 -0
  27. package/assets/eyeFilled.svg +1 -0
  28. package/assets/eyeOff.svg +3 -0
  29. package/assets/eyeOutlined.svg +1 -0
  30. package/assets/formDetailsOutlined.svg +1 -0
  31. package/assets/gridViewOutlined.svg +1 -0
  32. package/assets/headsetOutlined.svg +3 -0
  33. package/assets/homeOutlined.svg +1 -0
  34. package/assets/infoCircleOutlined.svg +3 -0
  35. package/assets/infoTriangleFilled.svg +1 -0
  36. package/assets/infoTriangleOutlined.svg +1 -0
  37. package/assets/innosupps.svg +1 -0
  38. package/assets/leftChevronCircle.svg +2 -0
  39. package/assets/locationOutlined.svg +1 -0
  40. package/assets/lost-connection.svg +100 -0
  41. package/assets/mailOutlined.svg +1 -0
  42. package/assets/multiConnectionHub.svg +1 -0
  43. package/assets/multipleDocumentPercentage.svg +1 -0
  44. package/assets/murad.svg +1 -0
  45. package/assets/peopleAudience.svg +1 -0
  46. package/assets/personOutlined.svg +1 -0
  47. package/assets/personSupport.svg +1 -0
  48. package/assets/pricingIcon.svg +3 -0
  49. package/assets/refresh.svg +3 -0
  50. package/assets/rightChevronCircle.svg +1 -0
  51. package/assets/rightChevronOutlined.svg +1 -0
  52. package/assets/sarasFullLogo.svg +13 -0
  53. package/assets/sarasWhite.svg +1 -0
  54. package/assets/screenPerson.svg +1 -0
  55. package/assets/sendArrowOutlined.svg +1 -0
  56. package/assets/settingsOutlined.svg +1 -0
  57. package/assets/slideSettings.svg +1 -0
  58. package/assets/sourcesOutlined.svg +1 -0
  59. package/assets/tabDesktopArrowClockwiseOutlined.svg +1 -0
  60. package/assets/targetScanOutlined.svg +1 -0
  61. package/assets/timerOutlined.svg +5 -0
  62. package/assets/upwardTriangleFilled.svg +1 -0
  63. package/esm2022/interfaces/message-banner.mjs +1 -1
  64. package/esm2022/lib/accordion/accordion.component.mjs +3 -3
  65. package/esm2022/lib/card/guide-card/guide-card.component.mjs +3 -3
  66. package/esm2022/lib/card/menu-card/menu-card.component.mjs +3 -3
  67. package/esm2022/lib/dialog/dialog.component.mjs +35 -0
  68. package/esm2022/lib/message-banner/message-banner.component.mjs +25 -4
  69. package/esm2022/lib/message-banner-v2/message-banner-v2.component.mjs +3 -3
  70. package/esm2022/public-api.mjs +2 -1
  71. package/fesm2022/sarasanalytics-com-design-system.mjs +151 -106
  72. package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -1
  73. package/interfaces/message-banner.d.ts +1 -1
  74. package/lib/dialog/dialog.component.d.ts +20 -0
  75. package/lib/message-banner/message-banner.component.d.ts +6 -2
  76. package/package.json +2 -2
  77. 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.85",
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';