asksuite-citrus 3.14.0-beta.1 → 3.14.0-beta.10
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/asksuite-citrus.module.mjs +25 -5
- package/esm2022/lib/components/accordion/extendable-panel/extendable-panel.component.mjs +2 -2
- package/esm2022/lib/components/arrow-tag/arrow-tag.component.mjs +28 -0
- 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 +13 -3
- 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 +17 -3
- 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/tab-group/tab/tab.component.mjs +19 -0
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +37 -0
- package/esm2022/lib/components/table/table.component.mjs +2 -2
- package/esm2022/lib/components/tag/tag.component.mjs +25 -0
- package/esm2022/lib/components/toast/toast.component.mjs +2 -2
- package/esm2022/public-api.mjs +5 -2
- package/fesm2022/asksuite-citrus.mjs +187 -64
- package/fesm2022/asksuite-citrus.mjs.map +1 -1
- package/lib/asksuite-citrus.module.d.ts +26 -22
- package/lib/components/arrow-tag/arrow-tag.component.d.ts +8 -0
- package/lib/components/input/input.component.d.ts +2 -0
- package/lib/components/phone-ddi/phone-ddi.component.d.ts +1 -0
- package/lib/components/tab-group/tab/tab.component.d.ts +9 -0
- package/lib/components/tab-group/tab-group.component.d.ts +12 -0
- package/lib/components/tag/tag.component.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -1
- package/styles/ask-mixins.scss +3 -3
- package/styles/badge.scss +1 -1
- package/styles/button.scss +24 -24
- package/styles/{colors-light.scss → colors.scss} +43 -47
- package/styles/list-item.scss +1 -1
- package/styles/material.scss +21 -21
- package/styles/styles.scss +1 -1
- package/styles/tokens.scss +1 -2
- package/styles/tooltip.scss +2 -2
- package/esm2022/lib/services/theme/theme.service.mjs +0 -19
- package/lib/services/theme/theme.service.d.ts +0 -7
- package/styles/colors-dark.scss +0 -351
- package/styles/old-theme.scss +0 -61
- package/styles/theme-colors.scss +0 -13
- package/styles/theme-primitives.scss +0 -208
@@ -30,32 +30,36 @@ import * as i27 from "./components/character-counter/character-counter.component
|
|
30
30
|
import * as i28 from "./components/accordion/accordion.component";
|
31
31
|
import * as i29 from "./components/accordion/extendable-panel/extendable-panel.component";
|
32
32
|
import * as i30 from "./components/table/table.component";
|
33
|
-
import * as i31 from "./components/
|
34
|
-
import * as i32 from "./
|
35
|
-
import * as i33 from "./
|
36
|
-
import * as i34 from "./
|
37
|
-
import * as i35 from "./components/richtext-
|
38
|
-
import * as i36 from "./
|
39
|
-
import * as i37 from "./
|
40
|
-
import * as i38 from "./
|
41
|
-
import * as i39 from "./components/
|
42
|
-
import * as i40 from "./
|
43
|
-
import * as i41 from "./directives/
|
44
|
-
import * as i42 from "./directives/
|
45
|
-
import * as i43 from "
|
46
|
-
import * as i44 from "
|
47
|
-
import * as i45 from "
|
48
|
-
import * as i46 from "
|
49
|
-
import * as i47 from "
|
50
|
-
import * as i48 from "@angular/
|
51
|
-
import * as i49 from "
|
52
|
-
import * as i50 from "@
|
53
|
-
import * as i51 from "
|
33
|
+
import * as i31 from "./components/tag/tag.component";
|
34
|
+
import * as i32 from "./components/pagination/pagination.component";
|
35
|
+
import * as i33 from "./pipes/paginate/paginate.pipe";
|
36
|
+
import * as i34 from "./directives/richtext-toolbox/richtext-toolbox.directive";
|
37
|
+
import * as i35 from "./components/richtext-url-prompt/richtext-url-prompt.component";
|
38
|
+
import * as i36 from "./components/richtext-toolbox/richtext-toolbox.component";
|
39
|
+
import * as i37 from "./directives/button/ask-text-button.directive";
|
40
|
+
import * as i38 from "./pipes/force-break-line/force-break-line.pipe";
|
41
|
+
import * as i39 from "./components/modal/confirmation-modal/confirmation-modal.component";
|
42
|
+
import * as i40 from "./components/loading-bar/loading-bar.component";
|
43
|
+
import * as i41 from "./directives/button/ask-stroked-button.directive";
|
44
|
+
import * as i42 from "./directives/input/input.directive";
|
45
|
+
import * as i43 from "./directives/list-item/list-item.directive";
|
46
|
+
import * as i44 from "./components/arrow-tag/arrow-tag.component";
|
47
|
+
import * as i45 from "./components/tab-group/tab-group.component";
|
48
|
+
import * as i46 from "./components/tab-group/tab/tab.component";
|
49
|
+
import * as i47 from "@angular/common";
|
50
|
+
import * as i48 from "@angular/forms";
|
51
|
+
import * as i49 from "@angular/cdk/overlay";
|
52
|
+
import * as i50 from "@ngx-translate/core";
|
53
|
+
import * as i51 from "ngx-skeleton-loader";
|
54
|
+
import * as i52 from "@angular/material/tooltip";
|
55
|
+
import * as i53 from "ngx-mask";
|
56
|
+
import * as i54 from "@angular/material/progress-bar";
|
57
|
+
import * as i55 from "./components/icon/icon.component";
|
54
58
|
export declare class AsksuiteCitrusModule {
|
55
59
|
static forRoot(params?: {
|
56
60
|
flagUrl?: string;
|
57
61
|
}): ModuleWithProviders<AsksuiteCitrusModule>;
|
58
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsksuiteCitrusModule, never>;
|
59
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AsksuiteCitrusModule, [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i15.SpinnerComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i21.ToastComponent, typeof i22.AskButtonDirective, typeof i23.ModalComponent, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i31.
|
63
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AsksuiteCitrusModule, [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i15.SpinnerComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i21.ToastComponent, typeof i22.AskButtonDirective, typeof i23.ModalComponent, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i31.TagComponent, typeof i32.PaginationComponent, typeof i33.PaginatePipe, typeof i34.RichtextToolboxDirective, typeof i35.RichtextUrlPromptComponent, typeof i36.RichtextToolboxComponent, typeof i37.AskTextButtonDirective, typeof i38.ForceBreakLinePipe, typeof i39.ConfirmationModalComponent, typeof i40.LoadingBarComponent, typeof i41.AskStrokedButtonDirective, typeof i42.InputDirective, typeof i43.ListItemDirective, typeof i44.ArrowTagComponent, typeof i45.TabGroupComponent, typeof i46.TabComponent], [typeof i47.CommonModule, typeof i48.FormsModule, typeof i48.ReactiveFormsModule, typeof i49.CdkOverlayOrigin, typeof i49.CdkConnectedOverlay, typeof i49.OverlayModule, typeof i50.TranslateModule, typeof i51.NgxSkeletonLoaderModule, typeof i52.MatTooltipModule, typeof i53.NgxMaskDirective, typeof i53.NgxMaskPipe, typeof i54.MatProgressBarModule, typeof i55.IconComponent], [typeof i1.ButtonComponent, typeof i2.InputComponent, typeof i3.SelectComponent, typeof i4.BoxComponent, typeof i5.AvatarComponent, typeof i6.DropdownContainerComponent, typeof i7.AskDropdownDirective, typeof i8.AutocompleteComponent, typeof i9.PhoneDdiComponent, typeof i10.ChipsComponent, typeof i11.CheckboxComponent, typeof i12.DatePickerComponent, typeof i13.DatePickerCalendarComponent, typeof i14.SkeletonComponent, typeof i16.SpinnerDirective, typeof i17.BadgeDirective, typeof i18.AutofocusDirective, typeof i19.ScrollDirective, typeof i20.AskTooltipDirective, typeof i22.AskButtonDirective, typeof i37.AskTextButtonDirective, typeof i24.ModalBodyDirective, typeof i25.ModalHeaderDirective, typeof i26.ModalFooterDirective, typeof i27.CharacterCounterComponent, typeof i28.AccordionComponent, typeof i29.ExtendablePanelComponent, typeof i30.TableComponent, typeof i32.PaginationComponent, typeof i33.PaginatePipe, typeof i34.RichtextToolboxDirective, typeof i38.ForceBreakLinePipe, typeof i40.LoadingBarComponent, typeof i41.AskStrokedButtonDirective, typeof i42.InputDirective, typeof i43.ListItemDirective, typeof i55.IconComponent, typeof i31.TagComponent, typeof i44.ArrowTagComponent, typeof i45.TabGroupComponent, typeof i46.TabComponent]>;
|
60
64
|
static ɵinj: i0.ɵɵInjectorDeclaration<AsksuiteCitrusModule>;
|
61
65
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class ArrowTagComponent {
|
3
|
+
value: string;
|
4
|
+
backgroundColor: string;
|
5
|
+
fontColor: string;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrowTagComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArrowTagComponent, "ask-arrow-tag", never, { "value": { "alias": "value"; "required": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "fontColor": { "alias": "fontColor"; "required": false; }; }, {}, never, never, false, never>;
|
8
|
+
}
|
@@ -34,6 +34,8 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
34
34
|
handleInput(event: Event): void;
|
35
35
|
handleFocus(event: FocusEvent): void;
|
36
36
|
handleBlur(event: FocusEvent): void;
|
37
|
+
focusInput(): void;
|
38
|
+
blurInput(): void;
|
37
39
|
registerOnChange(fn: any): void;
|
38
40
|
registerOnTouched(fn: any): void;
|
39
41
|
setDisabledState(isDisabled: boolean): void;
|
@@ -30,6 +30,7 @@ export declare class PhoneDdiComponent extends OverlayComponent implements OnIni
|
|
30
30
|
private scrollSub?;
|
31
31
|
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, countryFlagService: CountryFlagService);
|
32
32
|
ngOnInit(): void;
|
33
|
+
onPaste(event: any): void;
|
33
34
|
handleOptionSelected(item: any): void;
|
34
35
|
display(option: any): string;
|
35
36
|
shouldClose(event: MouseEvent): boolean;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class TabComponent {
|
3
|
+
value: any;
|
4
|
+
callbackFn: Function;
|
5
|
+
active: boolean;
|
6
|
+
protected onClick(): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "ask-tab", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
|
9
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
2
|
+
import { TabComponent } from "./tab/tab.component";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class TabGroupComponent implements AfterContentInit {
|
5
|
+
active: any;
|
6
|
+
activeChange: EventEmitter<any>;
|
7
|
+
tabs: QueryList<TabComponent>;
|
8
|
+
ngAfterContentInit(): void;
|
9
|
+
onTabChange(tab: TabComponent): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "ask-tab-group", never, { "active": { "alias": "active"; "required": false; }; }, { "activeChange": "activeChange"; }, ["tabs"], ["*"], false, never>;
|
12
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class TagComponent {
|
3
|
+
prefix: string;
|
4
|
+
content: string | number | null;
|
5
|
+
suffix: string;
|
6
|
+
bold: boolean;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ask-tag", never, { "prefix": { "alias": "prefix"; "required": false; }; "content": { "alias": "content"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; }, {}, never, never, false, never>;
|
9
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -19,12 +19,15 @@ export * from './lib/components/table/table.component';
|
|
19
19
|
export * from './lib/components/pagination/pagination.component';
|
20
20
|
export * from './lib/components/loading-bar/loading-bar.component';
|
21
21
|
export * from './lib/components/icon/icon.component';
|
22
|
+
export * from './lib/components/tag/tag.component';
|
23
|
+
export * from './lib/components/arrow-tag/arrow-tag.component';
|
24
|
+
export * from './lib/components/tab-group/tab-group.component';
|
25
|
+
export * from './lib/components/tab-group/tab/tab.component';
|
22
26
|
export * from './lib/directives';
|
23
27
|
export * from './lib/components/modal/directives';
|
24
28
|
export * from './lib/services/toast/toast.service';
|
25
29
|
export * from './lib/services/modal';
|
26
30
|
export * from './lib/services/dynamic-dropdown/dynamic-dropdown.service';
|
27
|
-
export * from './lib/services/theme/theme.service';
|
28
31
|
export * from './lib/pipes/paginate/paginate.pipe';
|
29
32
|
export * from './lib/pipes/force-break-line/force-break-line.pipe';
|
30
33
|
export * from './lib/services/toast/toast.config';
|
package/styles/ask-mixins.scss
CHANGED
@@ -21,19 +21,19 @@
|
|
21
21
|
display: flex;
|
22
22
|
align-items: center;
|
23
23
|
border-radius: $radii-xs;
|
24
|
-
border: 1px solid
|
24
|
+
border: 1px solid $grey-200;
|
25
25
|
padding: 16px;
|
26
26
|
outline: none;
|
27
27
|
gap: 8px;
|
28
28
|
line-height: 14px;
|
29
|
-
color:
|
29
|
+
color: $grey-700;
|
30
30
|
height: 58px;
|
31
31
|
font-size: $font-sm;
|
32
32
|
font-weight: $font-weight-regular;
|
33
33
|
transition: border 0.2s;
|
34
34
|
|
35
35
|
&:focus {
|
36
|
-
border-color:
|
36
|
+
border-color: $asksuite-orange;
|
37
37
|
}
|
38
38
|
|
39
39
|
.material-icons {
|
package/styles/badge.scss
CHANGED
package/styles/button.scss
CHANGED
@@ -46,14 +46,14 @@
|
|
46
46
|
|
47
47
|
.ask-button {
|
48
48
|
@include baseButton;
|
49
|
-
background:
|
49
|
+
background: white;
|
50
50
|
|
51
51
|
&:not(.-primary, .-secondary, .-danger) {
|
52
52
|
box-shadow: 0 1px 2px 0 rgba(42, 48, 66, 0.16);
|
53
53
|
}
|
54
54
|
|
55
55
|
&:not(.-primary):hover:not(:disabled) {
|
56
|
-
box-shadow: 0 0 6px
|
56
|
+
box-shadow: 0 0 6px $shadow;
|
57
57
|
}
|
58
58
|
&:hover:not(:disabled) {
|
59
59
|
box-shadow: 0 0 6px rgba(255, 87, 36, 0.4);
|
@@ -64,32 +64,32 @@
|
|
64
64
|
}
|
65
65
|
|
66
66
|
&.-secondary:active:not(:disabled) {
|
67
|
-
background-color: rgba(
|
67
|
+
background-color: rgba(#fff,.8);
|
68
68
|
}
|
69
69
|
|
70
70
|
&.-danger:active:not(:disabled) {
|
71
|
-
background-color: rgba(
|
71
|
+
background-color: rgba($error-red,.8);
|
72
72
|
}
|
73
73
|
|
74
74
|
&.-secondary {
|
75
75
|
&:not(:disabled):hover{
|
76
|
-
background-color:
|
76
|
+
background-color: $color-background-accent-grey-subtlest-hovered;
|
77
77
|
}
|
78
78
|
}
|
79
79
|
|
80
80
|
&.-danger {
|
81
|
-
background:
|
82
|
-
color:
|
81
|
+
background: $error-red;
|
82
|
+
color: white;
|
83
83
|
}
|
84
84
|
|
85
85
|
&.-primary {
|
86
|
-
background:
|
87
|
-
color:
|
86
|
+
background: $asksuite-orange;
|
87
|
+
color: white;
|
88
88
|
}
|
89
89
|
|
90
90
|
&:disabled {
|
91
91
|
cursor: not-allowed;
|
92
|
-
background-color:
|
92
|
+
background-color: $grey-300;
|
93
93
|
}
|
94
94
|
}
|
95
95
|
|
@@ -100,7 +100,7 @@
|
|
100
100
|
|
101
101
|
&:hover {
|
102
102
|
text-decoration: none;
|
103
|
-
background:
|
103
|
+
background: $grey-50;
|
104
104
|
}
|
105
105
|
|
106
106
|
&.-primary {
|
@@ -108,20 +108,20 @@
|
|
108
108
|
}
|
109
109
|
|
110
110
|
&.-secondary {
|
111
|
-
color:
|
111
|
+
color: $grey-500;
|
112
112
|
}
|
113
113
|
|
114
114
|
&.-danger {
|
115
|
-
color:
|
115
|
+
color: $error-red;
|
116
116
|
}
|
117
117
|
|
118
118
|
&.-danger:active:not(:disabled) {
|
119
|
-
background-color: rgba(
|
119
|
+
background-color: rgba($error-red, .1);
|
120
120
|
}
|
121
121
|
|
122
122
|
&:disabled {
|
123
123
|
cursor: not-allowed;
|
124
|
-
color:
|
124
|
+
color: $grey-300;
|
125
125
|
}
|
126
126
|
}
|
127
127
|
|
@@ -136,30 +136,30 @@
|
|
136
136
|
}
|
137
137
|
|
138
138
|
&.-secondary {
|
139
|
-
border-color:
|
140
|
-
color:
|
139
|
+
border-color: $grey-500;
|
140
|
+
color: $grey-500;
|
141
141
|
}
|
142
142
|
|
143
143
|
&.-danger {
|
144
|
-
color:
|
145
|
-
border-color:
|
144
|
+
color: $error-red;
|
145
|
+
border-color: $error-red;
|
146
146
|
}
|
147
147
|
|
148
148
|
&.-primary:active:not(:disabled) {
|
149
|
-
background-color: rgba(
|
149
|
+
background-color: rgba($asksuite-orange, .1);
|
150
150
|
}
|
151
151
|
|
152
152
|
&.-danger:active:not(:disabled) {
|
153
|
-
background-color: rgba(
|
153
|
+
background-color: rgba($error-red, .1);
|
154
154
|
}
|
155
155
|
|
156
156
|
&.-secondary:active:not(:disabled) {
|
157
|
-
background-color: rgba(
|
157
|
+
background-color: rgba($grey-300, .8);
|
158
158
|
}
|
159
159
|
|
160
160
|
&:disabled {
|
161
161
|
cursor: not-allowed;
|
162
|
-
border-color:
|
163
|
-
color:
|
162
|
+
border-color: $grey-300;
|
163
|
+
color: $grey-300;
|
164
164
|
}
|
165
165
|
}
|
@@ -3,58 +3,58 @@
|
|
3
3
|
*/
|
4
4
|
|
5
5
|
// brand
|
6
|
-
$asksuite-orange: #
|
6
|
+
$asksuite-orange: #FF5724;
|
7
7
|
|
8
8
|
// neutral
|
9
|
-
$white: #
|
9
|
+
$white: #FFF;
|
10
10
|
|
11
11
|
// grey
|
12
|
-
$grey-50: #
|
13
|
-
$grey-100: #
|
14
|
-
$grey-150: #
|
15
|
-
$grey-200: #
|
16
|
-
$grey-300: #
|
17
|
-
$grey-400: #
|
18
|
-
$grey-500: #
|
19
|
-
$grey-600: #
|
20
|
-
$grey-700: #
|
21
|
-
$grey-800: #
|
22
|
-
$grey-900: #
|
12
|
+
$grey-50: #F5F7FA;
|
13
|
+
$grey-100: #E4E7EB;
|
14
|
+
$grey-150: #DBDBDB;
|
15
|
+
$grey-200: #CBD2D9;
|
16
|
+
$grey-300: #9AA5B1;
|
17
|
+
$grey-400: #7B8794;
|
18
|
+
$grey-500: #616E7C;
|
19
|
+
$grey-600: #52606D;
|
20
|
+
$grey-700: #3E4C59;
|
21
|
+
$grey-800: #2A3042;
|
22
|
+
$grey-900: #1F2933;
|
23
23
|
|
24
24
|
// yellow
|
25
|
-
$yellow-50: #
|
26
|
-
$yellow-200: #
|
25
|
+
$yellow-50: #FFF8E2;
|
26
|
+
$yellow-200: #FFECB3;
|
27
27
|
|
28
28
|
// color
|
29
|
-
$success-green: #
|
30
|
-
$warning-yellow: #
|
31
|
-
$error-red: #
|
29
|
+
$success-green: #4BAF50;
|
30
|
+
$warning-yellow: #FFC107;
|
31
|
+
$error-red: #E8453E;
|
32
32
|
|
33
33
|
// shadow
|
34
|
-
$shadow: #
|
34
|
+
$shadow: #2A304229;
|
35
35
|
|
36
36
|
// livechat tags
|
37
|
-
$lightblue-tag: #
|
38
|
-
$lavender-tag: #
|
39
|
-
$green-tag: #
|
40
|
-
$pink-tag: #
|
41
|
-
$orange-tag: #
|
42
|
-
$purple-tag: #
|
43
|
-
$yellow-tag: #
|
44
|
-
$blue-tag: #
|
45
|
-
$brown-tag: #
|
37
|
+
$lightblue-tag: #CDF9F3;
|
38
|
+
$lavender-tag: #D4DAF3;
|
39
|
+
$green-tag: #CEEEAA;
|
40
|
+
$pink-tag: #FBC5FF;
|
41
|
+
$orange-tag: #FED5C9;
|
42
|
+
$purple-tag: #DDBFE5;
|
43
|
+
$yellow-tag: #FFE0B2;
|
44
|
+
$blue-tag: #B2E5FD;
|
45
|
+
$brown-tag: #EFC89C;
|
46
46
|
|
47
47
|
// communication channels
|
48
|
-
$whatsapp-green: #
|
49
|
-
$facebook-blue: #
|
50
|
-
$instagram-pink: #
|
51
|
-
$google-blue: #
|
52
|
-
$telegram-blue: #
|
53
|
-
$telephone-yellow: #
|
48
|
+
$whatsapp-green: #68B35D;
|
49
|
+
$facebook-blue: #0084FF;
|
50
|
+
$instagram-pink: #D53E91;
|
51
|
+
$google-blue: #345DC8;
|
52
|
+
$telegram-blue: #34AADF;
|
53
|
+
$telephone-yellow: #FECB00;
|
54
54
|
|
55
55
|
// backgrounds
|
56
56
|
$primary-background: $white;
|
57
|
-
$secondary-background: #
|
57
|
+
$secondary-background: #EFF3F8;
|
58
58
|
$hover-background: $grey-50;
|
59
59
|
$divider-background: $grey-100;
|
60
60
|
|
@@ -63,6 +63,7 @@ $font-color-100: $grey-800;
|
|
63
63
|
$font-color-200: $grey-500;
|
64
64
|
$font-color-300: $grey-300;
|
65
65
|
|
66
|
+
|
66
67
|
// new tokens livechat
|
67
68
|
|
68
69
|
//reference
|
@@ -238,13 +239,13 @@ $color-y-600: #d79428;
|
|
238
239
|
$color-y-700: #be800e;
|
239
240
|
$color-y-800: #a66e0c;
|
240
241
|
$color-y-900: #775409;
|
241
|
-
$color-a-100: #
|
242
|
+
$color-a-100: #F9E7E2;
|
242
243
|
$color-a-1000: $color-o-1000;
|
243
244
|
$color-a-200: $color-o-200;
|
244
|
-
$color-a-300: #
|
245
|
+
$color-a-300: #FBAF99;
|
245
246
|
$color-a-400: $color-o-400;
|
246
247
|
$color-a-500: $color-o-500;
|
247
|
-
$color-a-600: #
|
248
|
+
$color-a-600: #FF5724;
|
248
249
|
$color-a-700: $color-o-700;
|
249
250
|
$color-a-800: $color-o-800;
|
250
251
|
$color-a-900: $color-o-900;
|
@@ -259,6 +260,7 @@ $color-f-700: $color-v-700;
|
|
259
260
|
$color-f-800: $color-v-800;
|
260
261
|
$color-f-900: $color-v-900;
|
261
262
|
|
263
|
+
|
262
264
|
$color-light-neutral-NLA200: $color-nla-200;
|
263
265
|
$color-light-neutral-NLA300: #13293921;
|
264
266
|
// livechat - tokens
|
@@ -586,9 +588,9 @@ $color-texticon-warning: $color-texticon-accent-yellow-contrast;
|
|
586
588
|
$color-skeleton: $color-nla-200;
|
587
589
|
$color-text-link-default: $color-b-500;
|
588
590
|
$color-texticon-inverse-default: $color-nl-0;
|
589
|
-
$color-texticon-danger: $color-r-600;
|
591
|
+
$color-texticon-danger: $color-r-600;
|
590
592
|
|
591
|
-
|
593
|
+
:root {
|
592
594
|
// brand
|
593
595
|
--asksuite-orange: #{$asksuite-orange};
|
594
596
|
|
@@ -705,10 +707,4 @@ $color-texticon-danger: $color-r-600;
|
|
705
707
|
--color-background-alpha-subtlest-hovered: #{$color-background-alpha-subtlest-hovered};
|
706
708
|
--color-icon-brand-asksuite-contrast: #{$color-icon-brand-asksuite-contrast};
|
707
709
|
--color-border-brand-asksuite-contrast: #{$color-border-brand-asksuite-contrast};
|
708
|
-
|
709
|
-
|
710
|
-
--color-background-accent-grey-bold-default: #{$color-background-accent-grey-bold-default};
|
711
|
-
--color-border-inverse-subtle: #{$color-border-inverse-subtle};
|
712
|
-
--color-background-accent-grey-subtler-hovered: #{$color-background-accent-grey-subtler-hovered};
|
713
|
-
}
|
714
|
-
|
710
|
+
}
|
package/styles/list-item.scss
CHANGED
package/styles/material.scss
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
@use '@angular/material' as mat;
|
2
2
|
@include mat.core();
|
3
|
-
@import './colors
|
3
|
+
@import './colors';
|
4
4
|
|
5
5
|
$ask-gray-palette: (
|
6
|
-
50:
|
7
|
-
100:
|
8
|
-
200:
|
9
|
-
300:
|
10
|
-
400:
|
11
|
-
500:
|
12
|
-
600:
|
13
|
-
700:
|
14
|
-
800:
|
15
|
-
900:
|
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
16
|
contrast: (
|
17
|
-
50:
|
18
|
-
100:
|
19
|
-
200:
|
20
|
-
300:
|
21
|
-
400:
|
22
|
-
500:
|
23
|
-
600:
|
24
|
-
700:
|
25
|
-
800:
|
26
|
-
900:
|
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
27
|
)
|
28
28
|
);
|
29
29
|
|
package/styles/styles.scss
CHANGED
package/styles/tokens.scss
CHANGED
package/styles/tooltip.scss
CHANGED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Injectable } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class ThemeService {
|
4
|
-
constructor() {
|
5
|
-
document.body.className = 'light';
|
6
|
-
}
|
7
|
-
setTheme(theme) {
|
8
|
-
document.body.className = theme;
|
9
|
-
}
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
11
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeService, providedIn: 'root' }); }
|
12
|
-
}
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeService, decorators: [{
|
14
|
-
type: Injectable,
|
15
|
-
args: [{
|
16
|
-
providedIn: 'root'
|
17
|
-
}]
|
18
|
-
}], ctorParameters: () => [] });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fza3N1aXRlLWNpdHJ1cy9zcmMvbGliL3NlcnZpY2VzL3RoZW1lL3RoZW1lLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLM0MsTUFBTSxPQUFPLFlBQVk7SUFFdkI7UUFDRSxRQUFRLENBQUMsSUFBSSxDQUFDLFNBQVMsR0FBRyxPQUFPLENBQUM7SUFDbkMsQ0FBQztJQUVGLFFBQVEsQ0FBQyxLQUF1QjtRQUM5QixRQUFRLENBQUMsSUFBSSxDQUFDLFNBQVMsR0FBRyxLQUFLLENBQUM7SUFDbEMsQ0FBQzs4R0FSVSxZQUFZO2tIQUFaLFlBQVksY0FGWCxNQUFNOzsyRkFFUCxZQUFZO2tCQUh4QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgVGhlbWVTZXJ2aWNlIHtcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBkb2N1bWVudC5ib2R5LmNsYXNzTmFtZSA9ICdsaWdodCc7XG4gICB9XG5cbiAgc2V0VGhlbWUodGhlbWU6ICdkYXJrJyB8ICdsaWdodCcpIHtcbiAgICBkb2N1bWVudC5ib2R5LmNsYXNzTmFtZSA9IHRoZW1lO1xuICB9XG59XG4iXX0=
|