asksuite-citrus 3.16.21 → 3.16.23-beta.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.
Files changed (42) hide show
  1. package/esm2022/lib/asksuite-citrus.module.mjs +9 -4
  2. package/esm2022/lib/classes/richtext-wrapper.mjs +1 -6
  3. package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +2 -2
  4. package/esm2022/lib/components/arrow-tag/arrow-tag.component.mjs +2 -2
  5. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
  6. package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
  7. package/esm2022/lib/components/box/box.component.mjs +2 -2
  8. package/esm2022/lib/components/button/button.component.mjs +2 -2
  9. package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
  10. package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
  11. package/esm2022/lib/components/chips/chips.component.mjs +2 -2
  12. package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
  13. package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
  14. package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
  15. package/esm2022/lib/components/input/input.component.mjs +2 -2
  16. package/esm2022/lib/components/modal/confirmation-modal/confirmation-modal.component.mjs +2 -2
  17. package/esm2022/lib/components/modal/modal.component.mjs +2 -2
  18. package/esm2022/lib/components/notification-tooltip/notification-tooltip.component.mjs +48 -0
  19. package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
  20. package/esm2022/lib/components/phone-ddi/phone-ddi.component.mjs +2 -2
  21. package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +2 -2
  22. package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
  23. package/esm2022/lib/components/select/select.component.mjs +2 -2
  24. package/esm2022/lib/components/tab-group/tab/tab.component.mjs +2 -2
  25. package/esm2022/lib/components/tab-group/tab-group.component.mjs +2 -2
  26. package/esm2022/lib/components/table/table.component.mjs +2 -2
  27. package/esm2022/lib/components/toast/toast.component.mjs +2 -2
  28. package/esm2022/lib/constants/url-regex.constant.mjs +2 -2
  29. package/esm2022/lib/directives/richtext-toolbox/richtext-toolbox.directive.mjs +1 -4
  30. package/esm2022/public-api.mjs +2 -1
  31. package/fesm2022/asksuite-citrus.mjs +101 -61
  32. package/fesm2022/asksuite-citrus.mjs.map +1 -1
  33. package/lib/asksuite-citrus.module.d.ts +12 -11
  34. package/lib/classes/richtext-wrapper.d.ts +0 -1
  35. package/lib/components/notification-tooltip/notification-tooltip.component.d.ts +19 -0
  36. package/lib/directives/richtext-toolbox/richtext-toolbox.directive.d.ts +0 -1
  37. package/package.json +1 -1
  38. package/public-api.d.ts +1 -0
  39. package/styles/colors-dark.scss +1 -3
  40. package/styles/colors-light.scss +2 -3
  41. package/styles/theme-colors.scss +0 -2
  42. package/styles/theme-primitives.scss +1 -21
@@ -48,16 +48,17 @@ import * as i43 from "./directives/list-item/list-item.directive";
48
48
  import * as i44 from "./components/arrow-tag/arrow-tag.component";
49
49
  import * as i45 from "./components/tab-group/tab-group.component";
50
50
  import * as i46 from "./components/tab-group/tab/tab.component";
51
- import * as i47 from "@angular/common";
52
- import * as i48 from "@angular/forms";
53
- import * as i49 from "@angular/cdk/overlay";
54
- import * as i50 from "@ngx-translate/core";
55
- import * as i51 from "ngx-skeleton-loader";
56
- import * as i52 from "@angular/material/tooltip";
57
- import * as i53 from "ngx-mask";
58
- import * as i54 from "@angular/material/progress-bar";
59
- import * as i55 from "./components/icon/icon.component";
60
- import * as i56 from "./components/icon-v2/icon-v2.component";
51
+ import * as i47 from "./components/notification-tooltip/notification-tooltip.component";
52
+ import * as i48 from "@angular/common";
53
+ import * as i49 from "@angular/forms";
54
+ import * as i50 from "@angular/cdk/overlay";
55
+ import * as i51 from "@ngx-translate/core";
56
+ import * as i52 from "ngx-skeleton-loader";
57
+ import * as i53 from "@angular/material/tooltip";
58
+ import * as i54 from "ngx-mask";
59
+ import * as i55 from "@angular/material/progress-bar";
60
+ import * as i56 from "./components/icon/icon.component";
61
+ import * as i57 from "./components/icon-v2/icon-v2.component";
61
62
  export declare function initMyLib(myLibService: Storage): StorageUtilService<unknown>;
62
63
  export declare class AsksuiteCitrusModule {
63
64
  private customIconsRegisterService;
@@ -66,6 +67,6 @@ export declare class AsksuiteCitrusModule {
66
67
  }): ModuleWithProviders<AsksuiteCitrusModule>;
67
68
  constructor(customIconsRegisterService: CustomIconsRegisterService);
68
69
  static ɵfac: i0.ɵɵFactoryDeclaration<AsksuiteCitrusModule, never>;
69
- static ɵmod: i0.ɵɵNgModuleDeclaration<AsksuiteCitrusModule, [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i15.SpinnerComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i21.ToastComponent, typeof i22.AskButtonDirective, typeof i23.ModalComponent, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i31.TagComponent, typeof i32.PaginationComponent, typeof i33.PaginatePipe, typeof i34.RichtextToolboxDirective, typeof i35.RichtextUrlPromptComponent, typeof i36.RichtextToolboxComponent, typeof i37.AskTextButtonDirective, typeof i38.ForceBreakLinePipe, typeof i39.ConfirmationModalComponent, typeof i40.LoadingBarComponent, typeof i41.AskStrokedButtonDirective, typeof i42.InputDirective, typeof i43.ListItemDirective, typeof i44.ArrowTagComponent, typeof i45.TabGroupComponent, typeof i46.TabComponent], [typeof i47.CommonModule, typeof i48.FormsModule, typeof i48.ReactiveFormsModule, typeof i49.CdkOverlayOrigin, typeof i49.CdkConnectedOverlay, typeof i49.OverlayModule, typeof i50.TranslateModule, typeof i51.NgxSkeletonLoaderModule, typeof i52.MatTooltipModule, typeof i53.NgxMaskDirective, typeof i53.NgxMaskPipe, typeof i54.MatProgressBarModule, typeof i55.IconComponent, typeof i56.IconV2Component], [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i22.AskButtonDirective, typeof i37.AskTextButtonDirective, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i32.PaginationComponent, typeof i33.PaginatePipe, typeof i34.RichtextToolboxDirective, typeof i38.ForceBreakLinePipe, typeof i40.LoadingBarComponent, typeof i41.AskStrokedButtonDirective, typeof i42.InputDirective, typeof i43.ListItemDirective, typeof i55.IconComponent, typeof i31.TagComponent, typeof i44.ArrowTagComponent, typeof i45.TabGroupComponent, typeof i46.TabComponent, typeof i56.IconV2Component]>;
70
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AsksuiteCitrusModule, [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i15.SpinnerComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i21.ToastComponent, typeof i22.AskButtonDirective, typeof i23.ModalComponent, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i31.TagComponent, typeof i32.PaginationComponent, typeof i33.PaginatePipe, typeof i34.RichtextToolboxDirective, typeof i35.RichtextUrlPromptComponent, typeof i36.RichtextToolboxComponent, typeof i37.AskTextButtonDirective, typeof i38.ForceBreakLinePipe, typeof i39.ConfirmationModalComponent, typeof i40.LoadingBarComponent, typeof i41.AskStrokedButtonDirective, typeof i42.InputDirective, typeof i43.ListItemDirective, typeof i44.ArrowTagComponent, typeof i45.TabGroupComponent, typeof i46.TabComponent, typeof i47.NotificationTooltipComponent], [typeof i48.CommonModule, typeof i49.FormsModule, typeof i49.ReactiveFormsModule, typeof i50.CdkOverlayOrigin, typeof i50.CdkConnectedOverlay, typeof i50.OverlayModule, typeof i51.TranslateModule, typeof i52.NgxSkeletonLoaderModule, typeof i53.MatTooltipModule, typeof i54.NgxMaskDirective, typeof i54.NgxMaskPipe, typeof i55.MatProgressBarModule, typeof i56.IconComponent, typeof i57.IconV2Component], [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i22.AskButtonDirective, typeof i37.AskTextButtonDirective, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i32.PaginationComponent, typeof i33.PaginatePipe, typeof i34.RichtextToolboxDirective, typeof i38.ForceBreakLinePipe, typeof i40.LoadingBarComponent, typeof i41.AskStrokedButtonDirective, typeof i42.InputDirective, typeof i43.ListItemDirective, typeof i56.IconComponent, typeof i31.TagComponent, typeof i44.ArrowTagComponent, typeof i45.TabGroupComponent, typeof i46.TabComponent, typeof i57.IconV2Component, typeof i47.NotificationTooltipComponent]>;
70
71
  static ɵinj: i0.ɵɵInjectorDeclaration<AsksuiteCitrusModule>;
71
72
  }
@@ -52,7 +52,6 @@ export declare class RichtextWrapper implements RichTextFunctions {
52
52
  setBreakOnEnter(breakOnEnter: boolean): void;
53
53
  setAllowImages(allowImages: boolean): void;
54
54
  getCurrentCursorPosition(): RangeStatic | null;
55
- setCursorPosition(position: number): void;
56
55
  destroy(): void;
57
56
  private isToolDisabled;
58
57
  private urlMatcher;
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NotificationTooltipComponent implements OnInit {
4
+ title: string;
5
+ message: string;
6
+ direction: 'vertical' | 'horizontal';
7
+ positionArrowHorizontal: 'left' | 'right' | 'center';
8
+ positionArrowVertical: 'top' | 'bottom' | 'center';
9
+ sideArrow: 'top' | 'bottom' | 'right' | 'left';
10
+ buttonTitle: string;
11
+ onClick: EventEmitter<MouseEvent>;
12
+ visible: boolean;
13
+ class: string;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ closeTooltip(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationTooltipComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationTooltipComponent, "app-tooltip", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "positionArrowHorizontal": { "alias": "positionArrowHorizontal"; "required": false; }; "positionArrowVertical": { "alias": "positionArrowVertical"; "required": false; }; "sideArrow": { "alias": "sideArrow"; "required": false; }; "buttonTitle": { "alias": "buttonTitle"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
19
+ }
@@ -38,7 +38,6 @@ export declare class RichtextToolboxDirective implements OnChanges, ControlValue
38
38
  registerOnTouched(fn: any): void;
39
39
  setDisabledState(isDisabled: boolean): void;
40
40
  getCurrentCursorPosition(): import("quill").RangeStatic | null | undefined;
41
- setCursorPosition(position: number): void | undefined;
42
41
  getTextWithoutHtmlTags(): string;
43
42
  insertText(index: number, text: string, emitEvent?: boolean): void;
44
43
  private prepareToolbar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asksuite-citrus",
3
- "version": "3.16.21",
3
+ "version": "3.16.23-beta.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.7",
6
6
  "@angular/core": "^17.3.7",
package/public-api.d.ts CHANGED
@@ -24,6 +24,7 @@ export * from './lib/components/tag/tag.component';
24
24
  export * from './lib/components/arrow-tag/arrow-tag.component';
25
25
  export * from './lib/components/tab-group/tab-group.component';
26
26
  export * from './lib/components/tab-group/tab/tab.component';
27
+ export * from './lib/components/notification-tooltip/notification-tooltip.component';
27
28
  export * from './lib/directives';
28
29
  export * from './lib/components/modal/directives';
29
30
  export * from './lib/services/toast/toast.service';
@@ -346,9 +346,7 @@
346
346
 
347
347
  --color-elevation-surface-sunken-hovered: #{$color-nd-100};
348
348
  --color-elevation-surface-selected: #{$color-a-100};
349
- --color-elevation-shadow-raised: #{$color-sda-700};
350
- --color-elevation-shadow-overlay: #{$color-sda-200};
351
- --color-elevation-shadow-base: #{$color-nd-500};
349
+ --color-elevation-shadow-raised: #{$color-nd-0};
352
350
 
353
351
  --color-background-accent-grey-bold-default: #{$color-background-accent-grey-bold-default};
354
352
  --color-border-inverse-subtle: #{$color-border-inverse-subtle};
@@ -279,7 +279,7 @@ $color-elevation-surface-selected-flow: $color-f-100;
279
279
  $color-elevation-surface-sunken-default: $color-nl-0;
280
280
  $color-elevation-surface-sunken-hovered: $color-nl-100;
281
281
  $color-elevation-surface-selected: $color-a-100;
282
- // $color-elevation-shadow-raised: #13293933;
282
+ $color-elevation-shadow-raised: #13293933;
283
283
 
284
284
 
285
285
  $color-border-default: $color-nla-300;
@@ -684,8 +684,7 @@ $color-border-contrast: $color-nla-1200;
684
684
  --color-elevation-surface-sunken-default: #{$color-elevation-surface-sunken-default};
685
685
  --color-elevation-surface-sunken-hovered: #{$color-elevation-surface-sunken-hovered};
686
686
  --color-elevation-surface-selected: #{$color-elevation-surface-selected};
687
- --color-elevation-shadow-raised: #{$color-nla-400};
688
- --color-elevation-shadow-overlay: #{$color-nla-700};
687
+ --color-elevation-shadow-raised: #{$color-elevation-shadow-raised};
689
688
  --color-elevation-surface-overlay: #{$color-nl-0};
690
689
  --color-border-default: #{$color-border-default};
691
690
  --color-border-brand-asksuite-subtle: #{$color-border-brand-asksuite-subtle};
@@ -6,10 +6,8 @@
6
6
 
7
7
  body.light{
8
8
  @include colors-light.theme();
9
- --elevation-shadow: 0px 0px 1px 0px var(--color-elevation-shadow-overlay), 0px 8px 12px 0px var(--color-elevation-shadow-raised);
10
9
  }
11
10
 
12
11
  body.dark{
13
12
  @include colors-dark.theme();
14
- --elevation-shadow: -1px 2px 0px var(--color-elevation-shadow-overlay), 0px 8px 12px 0px var(--color-elevation-shadow-raised), 0px 0px 0px 0px var(--color-elevation-shadow-base);
15
13
  }
@@ -196,26 +196,6 @@ $color-nda-1600: rgba(217, 229, 242, 0.94);
196
196
  $color-nda-1700: #d9e5f2;
197
197
  $color-Y200: #FFE5B2;
198
198
 
199
- //grey shadow dark
200
- $color-sda-0: rgba(3, 4, 4, 0);
201
- $color-sda-100: rgba(3, 4, 4, 0.03);
202
- $color-sda-200: rgba(3, 4, 4, 0.06);
203
- $color-sda-300: rgba(3, 4, 4, 0.13);
204
- $color-sda-400: rgba(3, 4, 4, 0.19);
205
- $color-sda-500: rgba(3, 4, 4, 0.25);
206
- $color-sda-600: rgba(3, 4, 4, 0.31);
207
- $color-sda-700: rgba(3, 4, 4, 0.38);
208
- $color-sda-800: rgba(3, 4, 4, 0.44);
209
- $color-sda-900: rgba(3, 4, 4, 0.5);
210
- $color-sda-1000: rgba(3, 4, 4, 0.56);
211
- $color-sda-1100: rgba(3, 4, 4, 0.63);
212
- $color-sda-1200: rgba(3, 4, 4, 0.69);
213
- $color-sda-1300: rgba(3, 4, 4, 0.75);
214
- $color-sda-1400: rgba(3, 4, 4, 0.81);
215
- $color-sda-1500: rgba(3, 4, 4, 0.88);
216
- $color-sda-1600: rgba(3, 4, 4, 0.94);
217
- $color-sda-1700: #030404;
218
-
219
199
 
220
200
  //outros
221
201
  $color-background-selected-ask-default: $color-a-900;
@@ -225,4 +205,4 @@ $color-elevation-surface-sunken-default: $color-nd-0;
225
205
  $color-background-accent-grey-bold-default: $color-nl-1400;
226
206
  $color-border-inverse-subtle: $color-nl-400;
227
207
  $color-background-accent-grey-subtler-hovered: $color-nl-400;
228
- //
208
+ //