asksuite-citrus 1.7.7 → 1.8.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 (27) hide show
  1. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
  2. package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
  3. package/esm2022/lib/components/box/box.component.mjs +2 -2
  4. package/esm2022/lib/components/button/button.component.mjs +2 -2
  5. package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
  6. package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
  7. package/esm2022/lib/components/chips/chips.component.mjs +2 -2
  8. package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
  9. package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
  10. package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
  11. package/esm2022/lib/components/input/input.component.mjs +2 -2
  12. package/esm2022/lib/components/modal/modal.component.mjs +2 -2
  13. package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
  14. package/esm2022/lib/components/richtext-toolbox-core/richtext-toolbox-core.component.mjs +2 -2
  15. package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
  16. package/esm2022/lib/components/select/select.component.mjs +2 -2
  17. package/esm2022/lib/components/table/table.component.mjs +6 -5
  18. package/esm2022/lib/components/toast/toast.component.mjs +2 -2
  19. package/esm2022/lib/directives/button/ask-base-button.directive.mjs +15 -9
  20. package/esm2022/lib/directives/button/ask-button.directive.mjs +2 -3
  21. package/esm2022/lib/directives/button/ask-text-button.directive.mjs +2 -3
  22. package/fesm2022/asksuite-citrus.mjs +52 -48
  23. package/fesm2022/asksuite-citrus.mjs.map +1 -1
  24. package/lib/components/table/table.component.d.ts +5 -0
  25. package/lib/directives/button/ask-base-button.directive.d.ts +5 -3
  26. package/package.json +1 -1
  27. package/styles/button.scss +1 -1
@@ -12,6 +12,11 @@ export type ColumnConfig = {
12
12
  hidden?: boolean;
13
13
  type?: 'PERCENTAGE' | 'DATE' | 'STRING' | 'NUMBER';
14
14
  };
15
+ icon?: ColumnConfigIcon;
16
+ };
17
+ export type ColumnConfigIcon = {
18
+ name: string;
19
+ message?: string;
15
20
  };
16
21
  export type PaginationConfig = {
17
22
  itemsPerPage: number;
@@ -1,9 +1,11 @@
1
- import { ElementRef } from "@angular/core";
1
+ import { ElementRef, OnChanges, SimpleChanges } from "@angular/core";
2
2
  import * as i0 from "@angular/core";
3
- export declare abstract class AskBaseButtonDirective {
3
+ export declare abstract class AskBaseButtonDirective implements OnChanges {
4
4
  private el;
5
5
  color: 'primary' | 'secondary' | '';
6
- protected constructor(el: ElementRef);
6
+ protected constructor(el: ElementRef, className: string);
7
+ ngOnChanges(changes: SimpleChanges): void;
8
+ private updateColor;
7
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AskBaseButtonDirective, never>;
8
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<AskBaseButtonDirective, never, never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asksuite-citrus",
3
- "version": "1.7.7",
3
+ "version": "1.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  &.-primary {
65
- color: white;
65
+ color: var(--asksuite-orange);
66
66
  }
67
67
 
68
68
  &.-secondary {