asksuite-citrus 3.8.0 → 3.9.1
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 +14 -3
- package/esm2022/lib/services/toast/toast.config.mjs +1 -1
- package/esm2022/lib/services/toast/toast.service.mjs +5 -5
- package/fesm2022/asksuite-citrus.mjs +56 -46
- package/fesm2022/asksuite-citrus.mjs.map +1 -1
- package/lib/components/toast/toast.component.d.ts +2 -0
- package/lib/services/toast/toast.config.d.ts +2 -0
- package/lib/services/toast/toast.service.d.ts +2 -2
- package/package.json +1 -1
- package/styles/colors.scss +5 -0
@@ -6,12 +6,14 @@ export declare class ToastComponent implements OnInit, OnDestroy {
|
|
6
6
|
readonly data: ToastData;
|
7
7
|
private ref;
|
8
8
|
message: string;
|
9
|
+
text: string;
|
9
10
|
icon: string;
|
10
11
|
timeoutRef: number;
|
11
12
|
config: ToastConfig;
|
12
13
|
color: string;
|
13
14
|
fontColor: string;
|
14
15
|
isClosing: boolean;
|
16
|
+
width: string;
|
15
17
|
private readonly TYPES;
|
16
18
|
constructor(data: ToastData, ref: ToastRef);
|
17
19
|
set type(type: 'success' | 'warning' | 'danger' | 'info' | ToastType);
|
@@ -12,9 +12,9 @@ export declare class ToastService {
|
|
12
12
|
constructor(overlay: Overlay, injector: Injector);
|
13
13
|
success(message: string, config?: ToastConfig): void;
|
14
14
|
info(message: string, config?: ToastConfig): void;
|
15
|
-
danger(message: string, config?: ToastConfig): void;
|
15
|
+
danger(message: string, config?: ToastConfig, text?: string): void;
|
16
16
|
warning(message: string, config?: ToastConfig): void;
|
17
|
-
pop(type: ToastType, message: string, config?: ToastConfig): void;
|
17
|
+
pop(type: ToastType, message: string, config?: ToastConfig, text?: string): void;
|
18
18
|
private createInjector;
|
19
19
|
private getPositionStrategy;
|
20
20
|
private getTopOffset;
|
package/package.json
CHANGED
package/styles/colors.scss
CHANGED
@@ -685,4 +685,9 @@ $color-text-link-default: $color-b-500;
|
|
685
685
|
--color-divider-default: #{$color-divider-default};
|
686
686
|
--color-skeleton: #{$color-skeleton};
|
687
687
|
--color-text-link-default: #{$color-text-link-default};
|
688
|
+
--color-background-accent-green-subtle-default: #{$color-background-accent-green-subtle-default};
|
689
|
+
--color-background-accent-grey-contrast-default: #{$color-background-accent-grey-contrast-default};
|
690
|
+
--color-background-accent-red-subtle-default: #{$color-background-accent-red-subtle-default};
|
691
|
+
--color-texticon-accent-red-bold: #{$color-texticon-accent-red-bold};
|
692
|
+
--color-texticon-accent-green-bold: #{$color-texticon-accent-green-bold};
|
688
693
|
}
|