asksuite-citrus 3.15.1 → 3.15.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 (30) hide show
  1. package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +2 -2
  2. package/esm2022/lib/components/arrow-tag/arrow-tag.component.mjs +2 -2
  3. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
  4. package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
  5. package/esm2022/lib/components/box/box.component.mjs +2 -2
  6. package/esm2022/lib/components/button/button.component.mjs +2 -2
  7. package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
  8. package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
  9. package/esm2022/lib/components/chips/chips.component.mjs +2 -2
  10. package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
  11. package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
  12. package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
  13. package/esm2022/lib/components/input/input.component.mjs +2 -2
  14. package/esm2022/lib/components/modal/confirmation-modal/confirmation-modal.component.mjs +2 -2
  15. package/esm2022/lib/components/modal/modal.component.mjs +2 -2
  16. package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
  17. package/esm2022/lib/components/phone-ddi/phone-ddi.component.mjs +2 -2
  18. package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +2 -2
  19. package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
  20. package/esm2022/lib/components/select/select.component.mjs +2 -2
  21. package/esm2022/lib/components/tab-group/tab/tab.component.mjs +2 -2
  22. package/esm2022/lib/components/tab-group/tab-group.component.mjs +2 -2
  23. package/esm2022/lib/components/table/table.component.mjs +2 -2
  24. package/esm2022/lib/components/toast/toast.component.mjs +2 -2
  25. package/esm2022/lib/services/theme/theme.service.mjs +12 -7
  26. package/fesm2022/asksuite-citrus.mjs +58 -54
  27. package/fesm2022/asksuite-citrus.mjs.map +1 -1
  28. package/lib/services/theme/theme.service.d.ts +8 -4
  29. package/package.json +1 -1
  30. package/styles/colors-light.scss +4 -0
@@ -1,13 +1,17 @@
1
1
  import { StorageUtilService } from "../storage/storage-util.service";
2
+ import { BehaviorSubject } from 'rxjs';
2
3
  import * as i0 from "@angular/core";
4
+ type Theme = 'dark' | 'light';
3
5
  export declare class ThemeService {
4
6
  private readonly storageUtilService;
5
- theme: 'dark' | 'light';
6
7
  themeKey: string;
7
- constructor(storageUtilService: StorageUtilService<'dark' | 'light'>);
8
- getTheme(): "dark" | "light";
9
- setTheme(theme: 'dark' | 'light'): void;
8
+ theme$: BehaviorSubject<Theme>;
9
+ constructor(storageUtilService: StorageUtilService<Theme>);
10
+ getTheme(): Theme;
11
+ setTheme(theme: Theme): void;
12
+ listenThemeChange(): import("rxjs").Observable<Theme>;
10
13
  private saveTheme;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
12
15
  static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
13
16
  }
17
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asksuite-citrus",
3
- "version": "3.15.1",
3
+ "version": "3.15.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.7",
6
6
  "@angular/core": "^17.3.7",
@@ -594,6 +594,8 @@ $color-texticon-danger: $color-r-600;
594
594
  $color-border-white-default: $color-nl-0;
595
595
  $color-background-accent-disabled: $color-nl-400;
596
596
  $color-border-white-disabled: $color-nda-1000;
597
+ $color-border-black-default: $color-nd-200;
598
+ $color-border-contrast: $color-nla-1200;
597
599
 
598
600
  @mixin theme {
599
601
  // brand
@@ -748,5 +750,7 @@ $color-border-white-disabled: $color-nda-1000;
748
750
  --color-texticon-inverse-disabled: #{$color-texticon-inverse-disabled};
749
751
  --color-background-accent-disabled: #{$color-background-accent-disabled};
750
752
  --color-border-white-disabled: #{$color-border-white-disabled};
753
+ --color-border-black-default: #{$color-border-black-default};
754
+ --color-border-contrast: #{$color-border-contrast};
751
755
  }
752
756