asksuite-citrus 3.8.0-beta.0 → 3.9.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.
- 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 +7 -5
@@ -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
@@ -269,6 +269,8 @@ $color-light-neutral-NLA300: #13293921;
|
|
269
269
|
//TODO: REMOVE DUPLICATE SEMANTICS
|
270
270
|
$color-texticon-brand-asksuite-contrast: $color-a-600;
|
271
271
|
$color-texticon-inverse-default: $color-nl-0;
|
272
|
+
$color-texticon-contrast: $color-nla-1500;
|
273
|
+
$color-texticon-subtle: $color-nla-1200;
|
272
274
|
$color-texticon-subtlest: $color-nla-1000;
|
273
275
|
$color-texticon-disabled: $color-nla-700;
|
274
276
|
$color-texticon-link-default: $color-b-500;
|
@@ -586,10 +588,12 @@ $color-texticon-danger: $color-texticon-accent-red-contrast;
|
|
586
588
|
$color-texticon-info: $color-texticon-accent-blue-contrast;
|
587
589
|
$color-texticon-success: $color-texticon-accent-green-contrast;
|
588
590
|
$color-texticon-warning: $color-texticon-accent-yellow-contrast;
|
591
|
+
|
592
|
+
|
593
|
+
$color-divider-default: $color-nl-400;
|
589
594
|
$color-skeleton: $color-nla-200;
|
595
|
+
|
590
596
|
$color-text-link-default: $color-b-500;
|
591
|
-
$color-texticon-inverse-default: $color-nl-0;
|
592
|
-
$color-texticon-danger: $color-r-600;
|
593
597
|
|
594
598
|
:root {
|
595
599
|
// brand
|
@@ -681,6 +685,4 @@ $color-texticon-danger: $color-r-600;
|
|
681
685
|
--color-divider-default: #{$color-divider-default};
|
682
686
|
--color-skeleton: #{$color-skeleton};
|
683
687
|
--color-text-link-default: #{$color-text-link-default};
|
684
|
-
|
685
|
-
--color-background-danger-contrast-default: #{$color-background-danger-contrast-default};
|
686
|
-
}
|
688
|
+
}
|