asksuite-citrus 1.12.1 → 1.12.3

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 (28) hide show
  1. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +6 -3
  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 +7 -3
  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/phone-ddi/phone-ddi.component.mjs +3 -3
  15. package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +2 -2
  16. package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
  17. package/esm2022/lib/components/select/select.component.mjs +2 -2
  18. package/esm2022/lib/components/table/table.component.mjs +2 -2
  19. package/esm2022/lib/components/toast/toast.component.mjs +2 -2
  20. package/esm2022/lib/directives/autofocus/autofocus.directive.mjs +8 -5
  21. package/fesm2022/asksuite-citrus.mjs +66 -57
  22. package/fesm2022/asksuite-citrus.mjs.map +1 -1
  23. package/lib/components/autocomplete/autocomplete.component.d.ts +2 -1
  24. package/lib/components/input/input.component.d.ts +2 -1
  25. package/lib/directives/autofocus/autofocus.directive.d.ts +2 -1
  26. package/package.json +1 -1
  27. package/styles/material.scss +32 -6
  28. package/styles/tooltip.scss +7 -3
@@ -57,6 +57,7 @@ export declare class AutocompleteComponent implements AfterViewInit, ControlValu
57
57
  allOptionsSelectedText: string | null;
58
58
  selectAllMessage: any;
59
59
  iconPropReference?: string;
60
+ enableRemove: boolean;
60
61
  itemCheck: EventEmitter<any>;
61
62
  selectionDone: EventEmitter<any>;
62
63
  optionRemoved: EventEmitter<any>;
@@ -91,5 +92,5 @@ export declare class AutocompleteComponent implements AfterViewInit, ControlValu
91
92
  registerOnTouched(fn: any): void;
92
93
  setDisabledState(isDisabled: boolean): void;
93
94
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
94
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ask-autocomplete", never, { "filterFn": { "alias": "filterFn"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueProp": { "alias": "valueProp"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fixedOptions": { "alias": "fixedOptions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "allOptionsSelectedText": { "alias": "allOptionsSelectedText"; "required": false; }; "selectAllMessage": { "alias": "selectAllMessage"; "required": false; }; "iconPropReference": { "alias": "iconPropReference"; "required": false; }; }, { "itemCheck": "itemCheck"; "selectionDone": "selectionDone"; "optionRemoved": "optionRemoved"; }, never, never, false, never>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ask-autocomplete", never, { "filterFn": { "alias": "filterFn"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueProp": { "alias": "valueProp"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fixedOptions": { "alias": "fixedOptions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "allOptionsSelectedText": { "alias": "allOptionsSelectedText"; "required": false; }; "selectAllMessage": { "alias": "selectAllMessage"; "required": false; }; "iconPropReference": { "alias": "iconPropReference"; "required": false; }; "enableRemove": { "alias": "enableRemove"; "required": false; }; }, { "itemCheck": "itemCheck"; "selectionDone": "selectionDone"; "optionRemoved": "optionRemoved"; }, never, never, false, never>;
95
96
  }
@@ -15,6 +15,7 @@ export declare class InputComponent implements ControlValueAccessor {
15
15
  isClosed: boolean;
16
16
  mask?: string;
17
17
  valuePrefix: string;
18
+ autoFocus: boolean;
18
19
  set iconColor(color: string);
19
20
  valueChange: EventEmitter<string>;
20
21
  change: EventEmitter<Event>;
@@ -38,5 +39,5 @@ export declare class InputComponent implements ControlValueAccessor {
38
39
  setDisabledState(isDisabled: boolean): void;
39
40
  writeValue(value: string): void;
40
41
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ask-input", never, { "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variation": { "alias": "variation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noBorder": { "alias": "noBorder"; "required": false; }; "extraPadding": { "alias": "extraPadding"; "required": false; }; "isClosed": { "alias": "isClosed"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "valuePrefix": { "alias": "valuePrefix"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; "input": "input"; "click": "click"; "focus": "focus"; "blur": "blur"; "leftIconClick": "leftIconClick"; "rightIconClick": "rightIconClick"; }, never, never, false, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ask-input", never, { "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variation": { "alias": "variation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noBorder": { "alias": "noBorder"; "required": false; }; "extraPadding": { "alias": "extraPadding"; "required": false; }; "isClosed": { "alias": "isClosed"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "valuePrefix": { "alias": "valuePrefix"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; "input": "input"; "click": "click"; "focus": "focus"; "blur": "blur"; "leftIconClick": "leftIconClick"; "rightIconClick": "rightIconClick"; }, never, never, false, never>;
42
43
  }
@@ -2,8 +2,9 @@ import { AfterViewInit, ElementRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AutofocusDirective implements AfterViewInit {
4
4
  private elRef;
5
+ askAutofocus: boolean | string;
5
6
  constructor(elRef: ElementRef);
6
7
  ngAfterViewInit(): void;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[askAutofocus]", never, {}, {}, never, never, false, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[askAutofocus]", never, { "askAutofocus": { "alias": "askAutofocus"; "required": false; }; }, {}, never, never, false, never>;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asksuite-citrus",
3
- "version": "1.12.1",
3
+ "version": "1.12.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -1,14 +1,40 @@
1
1
  @use '@angular/material' as mat;
2
2
  @include mat.core();
3
+ @import './colors';
3
4
 
4
- $my-primary: mat.define-palette(mat.$deep-orange-palette, 500);
5
- $my-accent: mat.define-palette(mat.$blue-gray-palette, A200, A100, A400);
5
+ $ask-gray-palette: (
6
+ 50: $grey-50,
7
+ 100: $grey-100,
8
+ 200: $grey-200,
9
+ 300: $grey-300,
10
+ 400: $grey-400,
11
+ 500: $grey-500,
12
+ 600: $grey-600,
13
+ 700: $grey-700,
14
+ 800: $grey-800,
15
+ 900: $grey-900,
16
+ contrast: (
17
+ 50: rgba(black, .87),
18
+ 100: rgba(black, .87),
19
+ 200: rgba(black, .87),
20
+ 300: rgba(black, .87),
21
+ 400: rgba(black, .87),
22
+ 500: white,
23
+ 600: white,
24
+ 700: white,
25
+ 800: white,
26
+ 900: white,
27
+ )
28
+ );
6
29
 
7
- $my-theme: mat.define-light-theme((
30
+ $primary: mat.define-palette(mat.$deep-orange-palette, 500);
31
+ $accent: mat.define-palette($ask-gray-palette, 400);
32
+
33
+ $theme: mat.define-light-theme((
8
34
  color: (
9
- primary: $my-primary,
10
- accent: $my-accent,
35
+ primary: $primary,
36
+ accent: $accent,
11
37
  )
12
38
  ));
13
39
 
14
- @include mat.all-component-themes($my-theme);
40
+ @include mat.all-component-themes($theme);
@@ -4,7 +4,7 @@
4
4
  padding: 4px;
5
5
  border-radius: 8px;
6
6
  position: relative;
7
-
7
+
8
8
  > div {
9
9
  text-align: center !important;
10
10
  }
@@ -34,7 +34,7 @@
34
34
  &.-below {
35
35
  @include tooltipAfterPosition(margin-top, top, left, translateX);
36
36
  }
37
-
37
+
38
38
  &.-after, &.-right {
39
39
  @include tooltipAfterPosition(margin-left, left, top, translateY);
40
40
  }
@@ -42,4 +42,8 @@
42
42
  &.-before, &.-left {
43
43
  @include tooltipAfterPosition(margin-right, right, top, translateY);
44
44
  }
45
- }
45
+ }
46
+
47
+ ::ng-deep mat-tooltip-component .mat-mdc-tooltip .mdc-tooltip__surface {
48
+ background-color: transparent !important;
49
+ }