cps-ui-kit 0.151.0 → 0.153.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.
Files changed (82) hide show
  1. package/README.md +2 -0
  2. package/esm2020/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +85 -23
  3. package/esm2020/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +6 -6
  4. package/esm2020/lib/components/cps-checkbox/cps-checkbox.component.mjs +3 -3
  5. package/esm2020/lib/components/cps-chip/cps-chip.component.mjs +2 -2
  6. package/esm2020/lib/components/cps-datepicker/cps-datepicker.component.mjs +6 -6
  7. package/esm2020/lib/components/cps-expansion-panel/cps-expansion-panel.component.mjs +3 -3
  8. package/esm2020/lib/components/cps-info-circle/cps-info-circle.component.mjs +2 -2
  9. package/esm2020/lib/components/cps-input/cps-input.component.mjs +7 -7
  10. package/esm2020/lib/components/cps-loader/cps-loader.component.mjs +2 -2
  11. package/esm2020/lib/components/cps-menu/cps-menu.component.mjs +4 -4
  12. package/esm2020/lib/components/cps-paginator/cps-paginator.component.mjs +3 -3
  13. package/esm2020/lib/components/cps-radio-group/cps-radio-button/cps-radio-button.component.mjs +3 -3
  14. package/esm2020/lib/components/cps-radio-group/cps-radio-group.component.mjs +4 -4
  15. package/esm2020/lib/components/cps-select/cps-select.component.mjs +9 -9
  16. package/esm2020/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.mjs +2 -2
  17. package/esm2020/lib/components/cps-tab-group/cps-tab/cps-tab.component.mjs +4 -4
  18. package/esm2020/lib/components/cps-tab-group/cps-tab-group.component.mjs +2 -2
  19. package/esm2020/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.mjs +9 -9
  20. package/esm2020/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.mjs +4 -4
  21. package/esm2020/lib/components/cps-table/cps-table.component.mjs +30 -30
  22. package/esm2020/lib/components/cps-table/directives/cps-table-column-filter.directive.mjs +9 -9
  23. package/esm2020/lib/components/cps-tag/cps-tag.component.mjs +3 -3
  24. package/esm2020/lib/components/cps-textarea/cps-textarea.component.mjs +8 -8
  25. package/esm2020/lib/components/cps-timepicker/cps-timepicker.component.mjs +351 -0
  26. package/esm2020/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +3 -3
  27. package/esm2020/lib/components/cps-tree-select/cps-tree-select.component.mjs +3 -3
  28. package/esm2020/lib/components/cps-tree-table/cps-tree-table.component.mjs +29 -31
  29. package/esm2020/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.mjs +9 -9
  30. package/esm2020/lib/components/internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component.mjs +7 -7
  31. package/esm2020/lib/directives/cps-tooltip.directive.mjs +3 -3
  32. package/esm2020/lib/pipes/internal/combine-labels.pipe.mjs +2 -2
  33. package/esm2020/lib/pipes/internal/label-by-value.pipe.mjs +2 -2
  34. package/esm2020/lib/services/cps-dialog/cps-dialog.service.mjs +3 -4
  35. package/esm2020/lib/services/cps-dialog/utils/cps-dialog-config.mjs +1 -1
  36. package/esm2020/lib/services/cps-notification/cps-notification.service.mjs +94 -0
  37. package/esm2020/lib/services/cps-notification/internal/components/cps-notification-container/cps-notification-container.component.mjs +91 -0
  38. package/esm2020/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.mjs +106 -0
  39. package/esm2020/lib/services/cps-notification/utils/cps-notification-config.mjs +25 -0
  40. package/esm2020/lib/services/cps-notification/utils/internal/cps-notification-data.mjs +12 -0
  41. package/esm2020/public-api.mjs +4 -1
  42. package/fesm2015/cps-ui-kit.mjs +927 -208
  43. package/fesm2015/cps-ui-kit.mjs.map +1 -1
  44. package/fesm2020/cps-ui-kit.mjs +906 -207
  45. package/fesm2020/cps-ui-kit.mjs.map +1 -1
  46. package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +38 -11
  47. package/lib/components/cps-button-toggle/cps-button-toggle.component.d.ts +3 -3
  48. package/lib/components/cps-checkbox/cps-checkbox.component.d.ts +2 -2
  49. package/lib/components/cps-chip/cps-chip.component.d.ts +1 -1
  50. package/lib/components/cps-datepicker/cps-datepicker.component.d.ts +5 -5
  51. package/lib/components/cps-expansion-panel/cps-expansion-panel.component.d.ts +2 -2
  52. package/lib/components/cps-info-circle/cps-info-circle.component.d.ts +1 -1
  53. package/lib/components/cps-input/cps-input.component.d.ts +4 -4
  54. package/lib/components/cps-loader/cps-loader.component.d.ts +1 -1
  55. package/lib/components/cps-menu/cps-menu.component.d.ts +3 -3
  56. package/lib/components/cps-paginator/cps-paginator.component.d.ts +2 -2
  57. package/lib/components/cps-radio-group/cps-radio-button/cps-radio-button.component.d.ts +2 -2
  58. package/lib/components/cps-radio-group/cps-radio-group.component.d.ts +3 -3
  59. package/lib/components/cps-select/cps-select.component.d.ts +6 -6
  60. package/lib/components/cps-sidebar-menu/cps-sidebar-menu.component.d.ts +1 -1
  61. package/lib/components/cps-tab-group/cps-tab/cps-tab.component.d.ts +3 -3
  62. package/lib/components/cps-tab-group/cps-tab-group.component.d.ts +1 -1
  63. package/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.d.ts +8 -8
  64. package/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.d.ts +2 -2
  65. package/lib/components/cps-table/cps-table.component.d.ts +29 -29
  66. package/lib/components/cps-table/directives/cps-table-column-filter.directive.d.ts +8 -8
  67. package/lib/components/cps-tag/cps-tag.component.d.ts +2 -2
  68. package/lib/components/cps-textarea/cps-textarea.component.d.ts +5 -5
  69. package/lib/components/cps-timepicker/cps-timepicker.component.d.ts +135 -0
  70. package/lib/components/cps-tree-table/cps-tree-table.component.d.ts +28 -30
  71. package/lib/components/cps-tree-table/directives/cps-tree-table-column-filter.directive.d.ts +8 -8
  72. package/lib/components/internal/cps-base-tree-dropdown/cps-base-tree-dropdown.component.d.ts +6 -6
  73. package/lib/directives/cps-tooltip.directive.d.ts +2 -2
  74. package/lib/services/cps-dialog/utils/cps-dialog-config.d.ts +7 -7
  75. package/lib/services/cps-notification/cps-notification.service.d.ts +24 -0
  76. package/lib/services/cps-notification/internal/components/cps-notification-container/cps-notification-container.component.d.ts +44 -0
  77. package/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.d.ts +28 -0
  78. package/lib/services/cps-notification/utils/cps-notification-config.d.ts +49 -0
  79. package/lib/services/cps-notification/utils/internal/cps-notification-data.d.ts +23 -0
  80. package/package.json +1 -1
  81. package/public-api.d.ts +3 -0
  82. package/styles/_colors.scss +10 -10
@@ -20,27 +20,27 @@ export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnChan
20
20
  */
21
21
  filterType: CpsColumnFilterType;
22
22
  /**
23
- * Whether the filter menu should be persistent.
23
+ * Determines whether the filter menu should be persistent.
24
24
  * @group Props
25
25
  */
26
26
  filterPersistent: boolean;
27
27
  /**
28
- * Whether the filter should have clear button.
28
+ * Determines whether the filter should have clear button.
29
29
  * @group Props
30
30
  */
31
31
  filterShowClearButton: boolean;
32
32
  /**
33
- * Whether the filter should have apply button.
33
+ * Determines whether the filter should have apply button.
34
34
  * @group Props
35
35
  */
36
36
  filterShowApplyButton: boolean;
37
37
  /**
38
- * Whether the filter should have close button.
38
+ * Determines whether the filter should have close button.
39
39
  * @group Props
40
40
  */
41
41
  filterShowCloseButton: boolean;
42
42
  /**
43
- * Whether the filter should have match modes.
43
+ * Determines whether the filter should have match modes.
44
44
  * @group Props
45
45
  */
46
46
  filterShowMatchModes: boolean;
@@ -50,7 +50,7 @@ export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnChan
50
50
  */
51
51
  filterMatchModes: CpsColumnFilterMatchMode[];
52
52
  /**
53
- * Whether the filter should have operator.
53
+ * Determines whether the filter should have operator.
54
54
  * @group Props
55
55
  */
56
56
  filterShowOperator: boolean;
@@ -60,7 +60,7 @@ export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnChan
60
60
  */
61
61
  filterHeaderTitle: string;
62
62
  /**
63
- * Whether the filter should hide on clear.
63
+ * Determines whether the filter should hide on clear.
64
64
  * @group Props
65
65
  */
66
66
  filterHideOnClear: boolean;
@@ -70,7 +70,7 @@ export declare class CpsTreeTableColumnFilterDirective implements OnInit, OnChan
70
70
  */
71
71
  filterCategoryOptions: CpsColumnFilterCategoryOption[] | string[];
72
72
  /**
73
- * Whether to show category filter as button toggles.
73
+ * Determines whether to show category filter as button toggles.
74
74
  * @group Props
75
75
  */
76
76
  filterAsButtonToggle: boolean;
@@ -29,7 +29,7 @@ export declare class CpsBaseTreeDropdownComponent implements ControlValueAccesso
29
29
  */
30
30
  multiple: boolean;
31
31
  /**
32
- * Whether the component is disabled.
32
+ * Determines whether the component is disabled.
33
33
  * @group Props
34
34
  */
35
35
  disabled: boolean;
@@ -44,7 +44,7 @@ export declare class CpsBaseTreeDropdownComponent implements ControlValueAccesso
44
44
  */
45
45
  chips: boolean;
46
46
  /**
47
- * Whether the chips can be directly removed.
47
+ * Determines whether the chips can be directly removed.
48
48
  * @group Props
49
49
  */
50
50
  closableChips: boolean;
@@ -54,7 +54,7 @@ export declare class CpsBaseTreeDropdownComponent implements ControlValueAccesso
54
54
  */
55
55
  clearable: boolean;
56
56
  /**
57
- * Whether the dropdown should open on clear.
57
+ * Determines whether the dropdown should open on clear.
58
58
  * @group Props
59
59
  */
60
60
  openOnClear: boolean;
@@ -74,7 +74,7 @@ export declare class CpsBaseTreeDropdownComponent implements ControlValueAccesso
74
74
  */
75
75
  hideDetails: boolean;
76
76
  /**
77
- * Whether the component should have persistent clear icon.
77
+ * Determines whether the component should have persistent clear icon.
78
78
  * @group Props
79
79
  */
80
80
  persistentClear: boolean;
@@ -94,7 +94,7 @@ export declare class CpsBaseTreeDropdownComponent implements ControlValueAccesso
94
94
  */
95
95
  loading: boolean;
96
96
  /**
97
- * Whether only the elements within scrollable area should be added into the DOM.
97
+ * Determines whether only the elements within scrollable area should be added into the DOM.
98
98
  * @group Props
99
99
  */
100
100
  virtualScroll: boolean;
@@ -119,7 +119,7 @@ export declare class CpsBaseTreeDropdownComponent implements ControlValueAccesso
119
119
  */
120
120
  infoTooltipMaxWidth: number | string;
121
121
  /**
122
- * Whether the infoTooltip is persistent.
122
+ * Determines whether the infoTooltip is persistent.
123
123
  * @group Props
124
124
  */
125
125
  infoTooltipPersistent: boolean;
@@ -24,7 +24,7 @@ export declare class CpsTooltipDirective implements OnDestroy {
24
24
  */
25
25
  tooltipCloseDelay: string | number;
26
26
  /**
27
- * Whether the tooltip should open on hover, click or focus.
27
+ * Determines whether the tooltip should open on hover, click or focus.
28
28
  * @group Props
29
29
  */
30
30
  tooltipOpenOn: CpsTooltipOpenOn;
@@ -34,7 +34,7 @@ export declare class CpsTooltipDirective implements OnDestroy {
34
34
  */
35
35
  tooltipPosition: CpsTooltipPosition;
36
36
  /**
37
- * Whether the tooltip is persistent.
37
+ * Determines whether the tooltip is persistent.
38
38
  * @group Props
39
39
  */
40
40
  tooltipPersistent: boolean;
@@ -5,7 +5,7 @@ export declare class CpsDialogConfig<T = any> {
5
5
  */
6
6
  data?: T;
7
7
  /**
8
- * Whether to show the header or not.
8
+ * Determines whether to show the header or not.
9
9
  */
10
10
  showHeader?: boolean;
11
11
  /**
@@ -29,11 +29,11 @@ export declare class CpsDialogConfig<T = any> {
29
29
  */
30
30
  headerIconColor?: string;
31
31
  /**
32
- * Whether to show the header left border.
32
+ * Determines whether to show the header left border.
33
33
  */
34
34
  showHeaderLeftBorder?: boolean;
35
35
  /**
36
- * Whether to show the header bottom border.
36
+ * Determines whether to show the header bottom border.
37
37
  */
38
38
  showHeaderBottomBorder?: boolean;
39
39
  /**
@@ -73,7 +73,7 @@ export declare class CpsDialogConfig<T = any> {
73
73
  */
74
74
  baseZIndex?: number;
75
75
  /**
76
- * Whether to automatically manage layering.
76
+ * Determines whether to automatically manage layering.
77
77
  */
78
78
  autoZIndex?: boolean;
79
79
  /**
@@ -113,7 +113,7 @@ export declare class CpsDialogConfig<T = any> {
113
113
  */
114
114
  modal?: boolean;
115
115
  /**
116
- * When modal dialog is displayed, defines whether background should be blurred.
116
+ * When modal dialog is displayed, determines whether background should be blurred.
117
117
  */
118
118
  blurredBackground?: boolean;
119
119
  /**
@@ -141,11 +141,11 @@ export declare class CpsDialogConfig<T = any> {
141
141
  */
142
142
  minY?: number;
143
143
  /**
144
- * Whether the dialog can be displayed full screen.
144
+ * Determines whether the dialog can be displayed full screen.
145
145
  */
146
146
  maximizable?: boolean;
147
147
  /**
148
- * Whether the dialog is initially opened as full screen.
148
+ * Determines whether the dialog is initially opened as full screen.
149
149
  */
150
150
  maximized?: boolean;
151
151
  /**
@@ -0,0 +1,24 @@
1
+ import { ApplicationRef } from '@angular/core';
2
+ import { CpsNotificationConfig } from './utils/cps-notification-config';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Service for showing notifications.
6
+ * @group Services
7
+ */
8
+ export declare class CpsNotificationService {
9
+ private _appRef;
10
+ private document;
11
+ private _containersMap;
12
+ constructor(_appRef: ApplicationRef, document: Document);
13
+ info(message: string, details?: string, config?: CpsNotificationConfig): void;
14
+ warning(message: string, details?: string, config?: CpsNotificationConfig): void;
15
+ success(message: string, details?: string, config?: CpsNotificationConfig): void;
16
+ error(message: string, details?: string, config?: CpsNotificationConfig): void;
17
+ clear(): void;
18
+ private _createNotification;
19
+ private _initConfig;
20
+ private _appendNotificationToContainer;
21
+ private _tryRemoveContainer;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<CpsNotificationService, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<CpsNotificationService>;
24
+ }
@@ -0,0 +1,44 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
2
+ import { PrimeNGConfig } from 'primeng/api';
3
+ import { CpsNotificationConfig, CpsNotificationPosition } from '../../../utils/cps-notification-config';
4
+ import { CpsNotificationData } from '../../../utils/internal/cps-notification-data';
5
+ import * as i0 from "@angular/core";
6
+ type Nullable<T = void> = T | null | undefined;
7
+ export declare class CpsNotificationContainerComponent implements AfterViewInit, OnDestroy {
8
+ renderer: Renderer2;
9
+ zone: NgZone;
10
+ primeNGConfig: PrimeNGConfig;
11
+ private _cdRef;
12
+ /**
13
+ * Position of the notification container.
14
+ * @group Props
15
+ */
16
+ position: CpsNotificationPosition;
17
+ /**
18
+ * Max amount of notifications to be displayed within the container.
19
+ * @group Props
20
+ */
21
+ maxAmount?: number;
22
+ /**
23
+ * Callback to invoke on notification close.
24
+ * @param {CpsNotificationConfig} CpsNotificationConfig - notification closed.
25
+ * @group Emits
26
+ */
27
+ closed: EventEmitter<any>;
28
+ CpsNotificationPosition: typeof CpsNotificationPosition;
29
+ container: Nullable<ElementRef>;
30
+ wrapper: Nullable<HTMLElement>;
31
+ notifications: {
32
+ data: CpsNotificationData;
33
+ config: CpsNotificationConfig;
34
+ }[];
35
+ constructor(renderer: Renderer2, zone: NgZone, primeNGConfig: PrimeNGConfig, _cdRef: ChangeDetectorRef);
36
+ ngAfterViewInit(): void;
37
+ addNotification(config: CpsNotificationConfig, data: CpsNotificationData): void;
38
+ onCloseNotification(index: number): void;
39
+ moveOnTop(): void;
40
+ ngOnDestroy(): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<CpsNotificationContainerComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsNotificationContainerComponent, "cps-notification-container", never, { "position": "position"; "maxAmount": "maxAmount"; }, { "closed": "closed"; }, never, never, true, never>;
43
+ }
44
+ export {};
@@ -0,0 +1,28 @@
1
+ import { AfterViewInit, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
+ import { CpsNotificationConfig } from '../../../utils/cps-notification-config';
3
+ import { CpsNotificationData } from '../../../utils/internal/cps-notification-data';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CpsToastComponent implements OnInit, AfterViewInit, OnDestroy {
6
+ private zone;
7
+ config: CpsNotificationConfig;
8
+ data: CpsNotificationData;
9
+ /**
10
+ * Callback to invoke on toast close.
11
+ * @param {any}
12
+ * @group Emits
13
+ */
14
+ closed: EventEmitter<any>;
15
+ timeout: any;
16
+ maxWidth: string | undefined;
17
+ filled: boolean;
18
+ color: string;
19
+ constructor(zone: NgZone);
20
+ ngOnInit(): void;
21
+ ngAfterViewInit(): void;
22
+ ngOnDestroy(): void;
23
+ close(): void;
24
+ initiateTimeout(): void;
25
+ clearTimeout(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CpsToastComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsToastComponent, "cps-toast", never, { "config": "config"; "data": "data"; }, { "closed": "closed"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * An enumeration of appearances of notifications.
3
+ */
4
+ export declare enum CpsNotificationAppearance {
5
+ FILLED = "filled",
6
+ OUTLINED = "outlined"
7
+ }
8
+ /**
9
+ * An enumeration of positions of notifications.
10
+ */
11
+ export declare enum CpsNotificationPosition {
12
+ CENTER = "center",
13
+ TOP = "top",
14
+ BOTTOM = "bottom",
15
+ LEFT = "left",
16
+ RIGHT = "right",
17
+ TOPLEFT = "top-left",
18
+ TOPRIGHT = "top-right",
19
+ BOTTOMLEFT = "bottom-left",
20
+ BOTTOMRIGHT = "bottom-right"
21
+ }
22
+ export interface CpsNotificationConfig {
23
+ /**
24
+ * Position of the notification, options are "center", "top", "bottom", "left", "right", "top-left", "top-right", "bottom-left" or "bottom-right".
25
+ * @default top-right
26
+ */
27
+ position?: CpsNotificationPosition;
28
+ /**
29
+ * Appearance of the notification, options are "filled" or "outlined".
30
+ * @default filled
31
+ */
32
+ appearance?: CpsNotificationAppearance;
33
+ /**
34
+ * The duration (in milliseconds) that the notification will be displayed before automatically closing.
35
+ * Value 0 means that the notification is persistent and will not be automatically closed.
36
+ * @default 5000
37
+ */
38
+ timeout?: number;
39
+ /**
40
+ * Max amount of notifications that can be simultaneously visualized within a positioned container.
41
+ * @default undefined
42
+ */
43
+ maxAmount?: number;
44
+ /**
45
+ * Max width of the notification of type number denoting pixels or string.
46
+ * @default undefined
47
+ */
48
+ maxWidth?: string;
49
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * An enumeration of the different types of notifications that can be displayed.
3
+ */
4
+ export declare enum CpsNotificationType {
5
+ SUCCESS = "success",
6
+ ERROR = "error",
7
+ WARNING = "warning",
8
+ INFO = "info"
9
+ }
10
+ export interface CpsNotificationData {
11
+ /**
12
+ * Message to be displayed in the notification.
13
+ */
14
+ message?: string;
15
+ /**
16
+ * Details to be displayed in the notification.
17
+ */
18
+ details?: string;
19
+ /**
20
+ * Type of the notification, options are "warning", "success", "error" or "info".
21
+ */
22
+ type?: CpsNotificationType;
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.151.0",
3
+ "version": "0.153.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",
package/public-api.d.ts CHANGED
@@ -36,8 +36,11 @@ export * from './lib/components/cps-textarea/cps-textarea.component';
36
36
  export * from './lib/components/cps-button-toggle/cps-button-toggle.component';
37
37
  export * from './lib/components/cps-tab-group/cps-tab-group.component';
38
38
  export * from './lib/components/cps-tab-group/cps-tab/cps-tab.component';
39
+ export * from './lib/components/cps-timepicker/cps-timepicker.component';
39
40
  export * from './lib/directives/cps-tooltip.directive';
40
41
  export * from './lib/services/cps-dialog/cps-dialog.service';
41
42
  export * from './lib/services/cps-dialog/utils/cps-dialog-config';
42
43
  export * from './lib/services/cps-dialog/utils/cps-dialog-ref';
44
+ export * from './lib/services/cps-notification/cps-notification.service';
45
+ export * from './lib/services/cps-notification/utils/cps-notification-config';
43
46
  export * from './lib/utils/colors-utils';
@@ -230,17 +230,17 @@
230
230
  --cps-color-warn-darken3: #a15300;
231
231
  --cps-color-warn-darken4: #843b00;
232
232
 
233
- --cps-color-error: #f60e08;
233
+ --cps-color-error: #cc3333;
234
234
  --cps-color-error-highlighten: #f9e4e5;
235
- --cps-color-error-lighten5: #ffbd8c;
236
- --cps-color-error-lighten4: #ff9f72;
237
- --cps-color-error-lighten3: #ff8058;
238
- --cps-color-error-lighten2: #ff623f;
239
- --cps-color-error-lighten1: #ff4025;
240
- --cps-color-error-darken1: #d40000;
241
- --cps-color-error-darken2: #b30000;
242
- --cps-color-error-darken3: #940000;
243
- --cps-color-error-darken4: #760000;
235
+ --cps-color-error-lighten5: #f5d9d9;
236
+ --cps-color-error-lighten4: #f2cece;
237
+ --cps-color-error-lighten3: #e9a7a7;
238
+ --cps-color-error-lighten2: #df8080;
239
+ --cps-color-error-lighten1: #d55959;
240
+ --cps-color-error-darken1: #a32828;
241
+ --cps-color-error-darken2: #7a1e1e;
242
+ --cps-color-error-darken3: #511414;
243
+ --cps-color-error-darken4: #300c0c;
244
244
 
245
245
  // States backgrounds
246
246
  --cps-color-info-bg: #f7fcfe;