asksuite-citrus 3.14.0-beta.1 → 3.14.0-beta.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.
- package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +2 -2
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/components/avatar/avatar.component.mjs +2 -2
- package/esm2022/lib/components/box/box.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +2 -2
- package/esm2022/lib/components/character-counter/character-counter.component.mjs +2 -2
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/lib/components/chips/chips.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker-calendar/date-picker-calendar.component.mjs +2 -2
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +2 -2
- package/esm2022/lib/components/dropdown-container/dropdown-container.component.mjs +2 -2
- package/esm2022/lib/components/input/input.component.mjs +2 -2
- package/esm2022/lib/components/modal/confirmation-modal/confirmation-modal.component.mjs +2 -2
- package/esm2022/lib/components/modal/modal.component.mjs +2 -2
- package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
- package/esm2022/lib/components/phone-ddi/phone-ddi.component.mjs +2 -2
- package/esm2022/lib/components/richtext-toolbox/richtext-toolbox.component.mjs +2 -2
- package/esm2022/lib/components/richtext-url-prompt/richtext-url-prompt.component.mjs +2 -2
- package/esm2022/lib/components/select/select.component.mjs +2 -2
- package/esm2022/lib/components/table/table.component.mjs +2 -2
- package/esm2022/lib/components/toast/toast.component.mjs +2 -2
- package/esm2022/lib/services/storage/storage-util.service.mjs +25 -0
- package/esm2022/lib/services/theme/theme.service.mjs +19 -6
- package/fesm2022/asksuite-citrus.mjs +82 -47
- package/fesm2022/asksuite-citrus.mjs.map +1 -1
- package/lib/services/storage/storage-util.service.d.ts +10 -0
- package/lib/services/theme/theme.service.d.ts +7 -1
- package/package.json +1 -1
- package/styles/colors-dark.scss +1 -1
- package/styles/colors-light.scss +2 -0
- package/styles/theme-colors.scss +2 -2
- package/styles/tooltip.scss +3 -2
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class StorageUtilService<T> {
|
3
|
+
private localstorage;
|
4
|
+
constructor(localstorage: Storage);
|
5
|
+
getItem(key: string): T;
|
6
|
+
setItem(key: string, value: T): void;
|
7
|
+
removeItem(key: string): void;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageUtilService<any>, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StorageUtilService<any>>;
|
10
|
+
}
|
@@ -1,7 +1,13 @@
|
|
1
|
+
import { StorageUtilService } from "../storage/storage-util.service";
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class ThemeService {
|
3
|
-
|
4
|
+
private readonly storageUtilService;
|
5
|
+
theme: 'dark' | 'light';
|
6
|
+
themeKey: string;
|
7
|
+
constructor(storageUtilService: StorageUtilService<'dark' | 'light'>);
|
8
|
+
getTheme(): "dark" | "light";
|
4
9
|
setTheme(theme: 'dark' | 'light'): void;
|
10
|
+
private saveTheme;
|
5
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
6
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
7
13
|
}
|
package/package.json
CHANGED
package/styles/colors-dark.scss
CHANGED
@@ -332,7 +332,7 @@
|
|
332
332
|
|
333
333
|
--color-text-contrast: #{$color-nda-1500};
|
334
334
|
--color-text-subtlest: #{$color-nda-1000};
|
335
|
-
--color-text-disabled: #{$color-nda-
|
335
|
+
--color-text-disabled: #{$color-nda-700};
|
336
336
|
--color-text-inverse-contrast: #{$color-nd-0};
|
337
337
|
--color-skeleton: #{$color-nda-200};
|
338
338
|
--color-text-link-default: #{$color-b-500};
|
package/styles/colors-light.scss
CHANGED
@@ -650,6 +650,7 @@ $color-texticon-danger: $color-r-600;
|
|
650
650
|
--font-color-300: #{$grey-300};
|
651
651
|
|
652
652
|
// new livechat
|
653
|
+
--color-elevation-surface-default: #{$color-nl-0};
|
653
654
|
--color-light-neutral-NLA200: #{$color-light-neutral-NLA200};
|
654
655
|
--color-light-neutral-NLA300: #{$color-light-neutral-NLA300};
|
655
656
|
--color-texticon-brand-asksuite-contrast: #{$color-texticon-brand-asksuite-contrast};
|
@@ -670,6 +671,7 @@ $color-texticon-danger: $color-r-600;
|
|
670
671
|
--color-background-alpha-subtlest-default: #{$color-background-alpha-subtlest-default};
|
671
672
|
--color-background-inverse-default: #{$color-background-inverse-default};
|
672
673
|
--color-background-disabled: #{$color-background-disabled};
|
674
|
+
--color-background-skeleton: #{$color-background-disabled};
|
673
675
|
--color-text-contrast: #{$color-text-contrast};
|
674
676
|
--color-text-subtlest: #{$color-text-subtlest};
|
675
677
|
--color-text-disabled: #{$color-text-disabled};
|
package/styles/theme-colors.scss
CHANGED
package/styles/tooltip.scss
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.ask-tooltip {
|
2
|
-
background-color: var(--
|
3
|
-
color: var(--
|
2
|
+
background-color: var(--color-background-alpha-bolder-default);
|
3
|
+
color: var(--color-texticon-inverse-default);
|
4
4
|
padding: 4px;
|
5
5
|
border-radius: 8px;
|
6
6
|
position: relative;
|
@@ -46,4 +46,5 @@
|
|
46
46
|
|
47
47
|
::ng-deep mat-tooltip-component .mat-mdc-tooltip .mdc-tooltip__surface {
|
48
48
|
background-color: transparent !important;
|
49
|
+
color: var(--color-texticon-inverse-default) !important;
|
49
50
|
}
|