@colijnit/sharedcomponents 1.0.52 → 1.0.54

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 (41) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +45 -16
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/key-pad/key-pad.component.js +8 -1
  5. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +25 -3
  6. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +4 -2
  7. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +13 -2
  8. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +12 -10
  9. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +18 -7
  10. package/esm2015/lib/components/simple-tags/simple-tags.component.js +11 -13
  11. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +9 -9
  12. package/esm2015/lib/components/stock/stock.component.js +12 -7
  13. package/esm2015/lib/enum/icon.enum.js +2 -1
  14. package/esm2015/lib/model/icon-svg.js +2 -1
  15. package/fesm2015/colijnit-sharedcomponents.js +102 -45
  16. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  17. package/lib/components/key-pad/key-pad.component.d.ts +2 -0
  18. package/lib/components/key-pad/style/_layout.scss +1 -0
  19. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +6 -0
  20. package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +10 -0
  21. package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +6 -6
  22. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +1 -0
  23. package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +10 -0
  24. package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +6 -8
  25. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +5 -0
  26. package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +1 -1
  27. package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +5 -5
  28. package/lib/components/send-method-dialog/style/_layout.scss +104 -1
  29. package/lib/components/send-method-dialog/style/_material-definition.scss +25 -7
  30. package/lib/components/simple-tags/style/_layout.scss +79 -39
  31. package/lib/components/simple-tags/style/_material-definition.scss +24 -4
  32. package/lib/enum/icon.enum.d.ts +1 -0
  33. package/lib/style/_variables.scss +1 -1
  34. package/package.json +1 -1
  35. package/3rdpartylicenses.txt +0 -1160
  36. package/favicon.ico +0 -0
  37. package/index.html +0 -12
  38. package/main.170a4a55a0e938c9ae69.js +0 -1
  39. package/polyfills.907fe9d1887c5de17993.js +0 -1
  40. package/runtime.8aac21847ed3d3829cca.js +0 -1
  41. package/styles.2a9423c42b08c088cadb.css +0 -1
@@ -7,6 +7,7 @@ export declare class KeyPadComponent {
7
7
  set model(value: number);
8
8
  get model(): number;
9
9
  showValue: boolean;
10
+ resetModelOnInit: boolean;
10
11
  emitModelChangeOnEnter: boolean;
11
12
  modelChange: EventEmitter<number>;
12
13
  internalModelChange: EventEmitter<string>;
@@ -14,6 +15,7 @@ export declare class KeyPadComponent {
14
15
  showClass(): boolean;
15
16
  handleKeyDown(event: KeyboardEvent): void;
16
17
  private readonly _validKeyMap;
18
+ private _init;
17
19
  constructor(iconCacheService: IconCacheService);
18
20
  set internalModel(value: string);
19
21
  get internalModel(): string;
@@ -87,6 +87,7 @@
87
87
  }
88
88
  .key-pad-button-text {
89
89
  position: absolute;
90
+ pointer-events: none;
90
91
  }
91
92
  .text {
92
93
  display: flex;
@@ -1,13 +1,19 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ReportLayoutSelectionBase } from '@colijnit/mainapi/build/model/report-layout-selection-base.bo';
3
3
  import { ReportingDocumentBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-base-request';
4
+ import { Icon } from "../../../../enum/icon.enum";
5
+ import { IconCacheService } from "../../../../service/icon-cache.service";
4
6
  export declare class LayoutSelectionComponent implements OnInit {
7
+ iconCacheService: IconCacheService;
8
+ readonly icons: typeof Icon;
5
9
  request: ReportingDocumentBaseRequest;
6
10
  layouts: ReportLayoutSelectionBase[];
7
11
  requestChange: EventEmitter<ReportingDocumentBaseRequest>;
8
12
  showClass(): boolean;
9
13
  currentLayout: ReportLayoutSelectionBase;
10
14
  showLayoutList: boolean;
15
+ constructor(iconCacheService: IconCacheService);
11
16
  ngOnInit(): void;
12
17
  handleSelectLayout(reportLayout: ReportLayoutSelectionBase): void;
18
+ closeSelectLayout(): void;
13
19
  }
@@ -12,6 +12,7 @@
12
12
  border-width: $sc-co-layout-selection-border-width;
13
13
  border-radius: $sc-co-layout-selection-border-radius;
14
14
  padding: $sc-co-layout-selection-padding;
15
+ background: $sc-co-layout-selection-background;
15
16
  .layout-description {
16
17
  font-size: $sc-co-layout-selection-description-font-size;
17
18
  font-weight: $sc-co-layout-selection-description-font-weight;
@@ -30,5 +31,14 @@
30
31
  box-shadow: $sc-co-layout-selection-selections-shadow;
31
32
  padding: $sc-co-layout-selection-selections-padding;
32
33
  }
34
+ .layouts-wrapper-header {
35
+ display: flex;
36
+ justify-content: space-between;
37
+ align-items: center;
38
+ .co-icon {
39
+ width: 12px;
40
+ height: 12px;
41
+ }
42
+ }
33
43
  }
34
44
  }
@@ -5,15 +5,15 @@ $sc-co-layout-selection-font-color: $sc-color-font !default;
5
5
  $sc-co-layout-selection-row-gap: 10px !default;
6
6
  $sc-co-layout-selection-border-style: solid !default;
7
7
  $sc-co-layout-selection-border-color: $sc-color-border !default;
8
- $sc-co-layout-selection-border-width: 1px !default;
9
- $sc-co-layout-selection-border-radius: 10px !default;
10
- $sc-co-layout-selection-padding: 10px !default;
8
+ $sc-co-layout-selection-border-width: 0px !default;
9
+ $sc-co-layout-selection-border-radius: 5px !default;
10
+ $sc-co-layout-selection-padding: 5px 10px !default;
11
11
  $sc-co-layout-selection-description-font-size: $sc-font-size !default;
12
12
  $sc-co-layout-selection-description-font-weight: bold !default;
13
-
14
- $sc-co-layout-selection-selections-row-gap: 10px !default;
13
+ $sc-co-layout-selection-background: #FFFFFF !default;
14
+ $sc-co-layout-selection-selections-row-gap: 5px !default;
15
15
  $sc-co-layout-selection-selections-shadow: 0px 0px 8px rgba(1, 1, 1, 0.2) !default;
16
- $sc-co-layout-selection-selections-padding: 10px 0 !default;
16
+ $sc-co-layout-selection-selections-padding: 15px 15px !default;
17
17
  $sc-co-layout-selection-selections-background-color: white !default;
18
18
  $sc-co-layout-selection-selections-selected-background-color: $sc-color-background !default;
19
19
  $sc-co-layout-selection-selections-selected-description-font-color: $sc-color-action !default;
@@ -15,4 +15,5 @@ export declare class PrinterSelectionComponent implements OnInit {
15
15
  constructor(sendMethodService: SendMethodService, iconService: IconCacheService, _service: SharedService);
16
16
  ngOnInit(): void;
17
17
  handlePrinterClicked(printer: Printer): void;
18
+ closePrinterClicked(): void;
18
19
  }
@@ -10,6 +10,7 @@
10
10
  border-width: $sc-co-printer-selection-border-width;
11
11
  border-radius: $sc-co-printer-selection-border-radius;
12
12
  padding: $sc-co-printer-selection-padding;
13
+ background: $sc-co-printer-selection-background;
13
14
  .printer-name {
14
15
  font-size: $sc-co-printer-selection-description-font-size;
15
16
  font-weight: $sc-co-printer-selection-description-font-weight;
@@ -55,5 +56,14 @@
55
56
  font-weight: $sc-co-printer-selection-printer-status-font-weight;
56
57
  font-style: $sc-co-printer-selection-printer-status-font-style;
57
58
  }
59
+ .layouts-wrapper-header {
60
+ display: flex;
61
+ justify-content: space-between;
62
+ align-items: center;
63
+ .co-icon {
64
+ width: 12px;
65
+ height: 12px;
66
+ }
67
+ }
58
68
  }
59
69
  }
@@ -1,21 +1,19 @@
1
1
  $sc-co-printer-selection-font-family: $sc-font-family !default;
2
2
  $sc-co-printer-selection-font-size: $sc-font-size !default;
3
3
  $sc-co-printer-selection-font-color: $sc-color-font !default;
4
-
5
- $sc-co-printer-selection-row-gap: 10px !default;
6
-
7
- $sc-co-printer-selection-row-gap: 10px !default;
4
+ $sc-co-printer-selection-row-gap: 5px !default;
8
5
  $sc-co-printer-selection-border-style: solid !default;
9
6
  $sc-co-printer-selection-border-color: $sc-color-border !default;
10
- $sc-co-printer-selection-border-width: 1px !default;
11
- $sc-co-printer-selection-border-radius: 10px !default;
12
- $sc-co-printer-selection-padding: 10px !default;
7
+ $sc-co-printer-selection-border-width: 0px !default;
8
+ $sc-co-printer-selection-border-radius: 5px !default;
9
+ $sc-co-printer-selection-padding: 5px 10px !default;
13
10
  $sc-co-printer-selection-description-font-size: $sc-font-size !default;
14
11
  $sc-co-printer-selection-description-font-weight: bold !default;
12
+ $sc-co-printer-selection-background: #FFFFFF !default;
15
13
 
16
14
  $sc-co-printer-selection-selections-row-gap: 10px !default;
17
15
  $sc-co-printer-selection-selections-shadow: 0px 0px 8px rgba(1, 1, 1, 0.2) !default;
18
- $sc-co-printer-selection-selections-padding: 10px 0 !default;
16
+ $sc-co-printer-selection-selections-padding: 15px !default;
19
17
  $sc-co-printer-selection-selections-background-color: white !default;
20
18
 
21
19
  $sc-co-printer-selection-button-height: 50px !default;
@@ -1,4 +1,9 @@
1
1
  @include export-module('co-send-method-printer-layout') {
2
+ .printer-layout-selections-wrapper {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 10px;
6
+ }
2
7
  .co-send-method-printer {
3
8
  font-family: $sc-co-send-method-printer-font-family;
4
9
  font-size: $sc-co-send-method-printer-font-size;
@@ -2,4 +2,4 @@ $sc-co-send-method-printer-font-family: $sc-font-family !default;
2
2
  $sc-co-send-method-printer-font-size: $sc-font-size !default;
3
3
  $sc-co-send-method-printer-font-color: $sc-color-font !default;
4
4
  $sc-co-send-method-printer-row-gap: 20px !default;
5
- $sc-co-send-method-printer-padding: 10px 25px !default;
5
+ $sc-co-send-method-printer-padding: 0 !default;
@@ -1,8 +1,8 @@
1
- $sc-co-signature-button-height: 50px !default;
2
- $sc-co-signature-button-width: 50px !default;
1
+ $sc-co-signature-button-height: 40px !default;
2
+ $sc-co-signature-button-width: 40px !default;
3
3
  $sc-co-signature-button-background-color: #f5f5fc !default;
4
4
  $sc-co-signature-button-selected-background-color: #1A73E8 !default;
5
- $sc-co-signature-button-border-radius: 10px !default;
6
- $sc-co-signature-button-icon-height: 40px !default;
7
- $sc-co-signature-button-icon-width: 40px !default;
5
+ $sc-co-signature-button-border-radius: 5px !default;
6
+ $sc-co-signature-button-icon-height: 30px !default;
7
+ $sc-co-signature-button-icon-width: 30px !default;
8
8
  $sc-co-signature-button-icon-selected-color: white !default;
@@ -2,6 +2,31 @@
2
2
  .co-send-method-dialog {
3
3
  font-family: $sc-co-send-method-dialog-font-family;
4
4
  font-size: $sc-co-send-method-dialog-font-size;
5
+ .co-dialog {
6
+ .co-dialog-wrapper {
7
+ max-height: 90vh;
8
+ width: 600px;
9
+ background-color: #f8f8fa;
10
+ }
11
+ .dialog-header, .dialog-content, .dialog-footer {
12
+ background-color: #f8f8fa;
13
+ }
14
+ .dialog-header {
15
+ .dialog-header-caption {
16
+ border: none;
17
+ }
18
+ }
19
+ }
20
+ .co-dialog-header-title-wrapper {
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 10px;
24
+ .co-icon {
25
+ width: 20px;
26
+ height: 20px;
27
+ margin: 0 0 20px 0;
28
+ }
29
+ }
5
30
  .dialog-content-wrapper {
6
31
  min-width: $sc-co-send-method-dialog-min-width;
7
32
  height: $sc-co-send-method-dialog-height;
@@ -27,9 +52,12 @@
27
52
  border-radius: $sc-co-send-method-dialog-send-method-button-radius;
28
53
  border-style: $sc-co-send-method-dialog-send-method-button-border-style;
29
54
  border-width: $sc-co-send-method-dialog-send-method-button-border-width;
55
+ flex-basis: 50px;
56
+ padding: 5px 15px;
57
+ margin: 0;
30
58
  &.selected {
31
59
  .custom-button-title {
32
- font-weight: $sc-co-send-method-dialog-send-method-selected-title-font-weight;
60
+ color: $sc-co-send-method-dialog-send-method-selected-title-font-color;
33
61
  }
34
62
  }
35
63
  .custom-button-icon {
@@ -43,6 +71,17 @@
43
71
  text-align: $sc-co-send-method-dialog-send-method-title-align;
44
72
  }
45
73
  }
74
+ .dialog-navigation-wrapper {
75
+ display: flex;
76
+ gap: 10px;
77
+ align-items: center;
78
+ justify-content: center;
79
+ border-radius: 5px;
80
+ padding: 0 0 10px 0;
81
+ border-style: solid;
82
+ border-width: 0 0 5px 0;
83
+ border-color: #ffffff;
84
+ }
46
85
  .send-method-navigation-wrapper {
47
86
  display: flex;
48
87
  overflow: hidden;
@@ -58,5 +97,69 @@
58
97
  overflow: auto;
59
98
  height: 100%;
60
99
  }
100
+ .dialog-footer {
101
+ background-color: $sc-co-send-method-dialog-footer-background;
102
+ border-width: $sc-co-send-method-dialog-footer-border-width;
103
+ border-style: solid;
104
+ border-color: $sc-co-send-method-dialog-footer-border-color;
105
+ padding: $sc-co-send-method-dialog-footer-padding;
106
+ .co-dialog-footer-button-wrapper {
107
+ gap: $sc-co-send-method-dialog-footer-button-wrapper-gap;
108
+ }
109
+ }
110
+ .save-button {
111
+ height: $sc-co-send-method-dialog-save-button-size;
112
+ width: $sc-co-send-method-dialog-save-button-size;
113
+ border-color: $sc-co-send-method-dialog-button-border-color;
114
+ border-style: $sc-co-send-method-dialog-button-border-style;
115
+ border-width: $sc-co-send-method-dialog-button-border-width;
116
+ background-color: $sc-co-send-method-dialog-button-background-color;
117
+ padding: $sc-co-send-method-dialog-button-padding;
118
+ box-shadow: $sc-co-send-method-dialog-button-box-shadow;
119
+ cursor: pointer;
120
+ .co-icon {
121
+ height: $sc-co-send-method-dialog-save-button-icon-size;
122
+ width: $sc-co-send-method-dialog-save-button-icon-size;
123
+ svg {
124
+ fill: $sc-co-send-method-dialog-save-button-icon-color;
125
+ }
126
+ }
127
+ }
128
+ .close-button {
129
+ height: $sc-co-send-method-dialog-close-button-size;
130
+ width: $sc-co-send-method-dialog-close-button-size;
131
+ border-color: $sc-co-send-method-dialog-button-border-color;
132
+ border-style: $sc-co-send-method-dialog-button-border-style;
133
+ border-width: $sc-co-send-method-dialog-button-border-width;
134
+ background-color: $sc-co-send-method-dialog-close-button-background-color;
135
+ padding: $sc-co-send-method-dialog-button-padding;
136
+ box-shadow: $sc-co-send-method-dialog-button-box-shadow;
137
+ cursor: pointer;
138
+ .co-icon {
139
+ height: $sc-co-send-method-dialog-save-button-icon-size;
140
+ width: $sc-co-send-method-dialog-save-button-icon-size;
141
+ svg {
142
+ fill: $sc-co-send-method-dialog-save-button-icon-color;
143
+ }
144
+ [fill] {
145
+ fill: $sc-co-send-method-dialog-save-button-icon-color;
146
+ }
147
+ }
148
+ }
149
+ .co-input-checkbox {
150
+ .checkbox {
151
+ border-color: #FFFFFF;
152
+ background-color: #FFFFFF;
153
+ &.checked {
154
+ border-color: $sc-popup-checkbox-checked-background-color;
155
+ background-color: $sc-popup-checkbox-checked-background-color;
156
+ }
157
+ .checkmark {
158
+ &.show {
159
+ border-color: #FFFFFF;
160
+ }
161
+ }
162
+ }
163
+ }
61
164
  }
62
165
  }
@@ -5,11 +5,11 @@ $sc-co-send-method-dialog-font-color: $sc-color-font !default;
5
5
  $sc-co-send-method-dialog-send-method-buttons-column-gap: 5px;
6
6
  $sc-co-send-method-dialog-send-method-buttons-justify-content: center;
7
7
 
8
- $sc-co-send-method-dialog-send-method-button-height: 80px !default;
9
- $sc-co-send-method-dialog-send-method-button-width: 80px !default;
8
+ $sc-co-send-method-dialog-send-method-button-height: auto !default;
9
+ $sc-co-send-method-dialog-send-method-button-width: auto !default;
10
10
  $sc-co-send-method-dialog-send-method-button-radius: 10px !default;
11
- $sc-co-send-method-dialog-send-method-button-background-color: white !default;
12
- $sc-co-send-method-dialog-send-method-button-selected-background-color: $sc-color-background !default;
11
+ $sc-co-send-method-dialog-send-method-button-background-color: transparent !default;
12
+ $sc-co-send-method-dialog-send-method-button-selected-background-color: white !default;
13
13
  $sc-co-send-method-dialog-send-method-button-border-style: solid !default;
14
14
  $sc-co-send-method-dialog-send-method-button-border-color: $sc-color-border !default;
15
15
  $sc-co-send-method-dialog-send-method-button-border-width: 0 !default;
@@ -24,7 +24,25 @@ $sc-co-send-method-dialog-send-method-title-font-color: $sc-color-font !default;
24
24
  $sc-co-send-method-dialog-send-method-title-font-weight: normal !default;
25
25
  $sc-co-send-method-dialog-send-method-title-align: center !default;
26
26
  $sc-co-send-method-dialog-send-method-selected-title-font-color: $sc-color-action !default;
27
- $sc-co-send-method-dialog-send-method-selected-title-font-weight: bold !default;
28
27
 
29
- $sc-co-send-method-dialog-height: 415px !default;
30
- $sc-co-send-method-dialog-min-width: 350px !default;
28
+ $sc-co-send-method-dialog-height: auto !default;
29
+ $sc-co-send-method-dialog-min-width: auto !default;
30
+
31
+ $sc-co-send-method-dialog-footer-border-width: 5px 0 0 0 !default;
32
+ $sc-co-send-method-dialog-footer-border-color: #ffffff !default;
33
+ $sc-co-send-method-dialog-footer-padding: 20px 0 0 0 !default;
34
+ $sc-co-send-method-dialog-footer-background: #f8f8fa !default;
35
+ $sc-co-send-method-dialog-footer-button-wrapper-gap: 5px !default;
36
+
37
+ $sc-co-send-method-dialog-save-button-size: auto !default;
38
+ $sc-co-send-method-dialog-save-button-icon-size: 20px !default;
39
+ $sc-co-send-method-dialog-save-button-icon-color: $sc-color-light !default;
40
+ $sc-co-send-method-dialog-button-border-color: #DCE4EA !default;
41
+ $sc-co-send-method-dialog-button-border-width: 0 0 0 0 !default;
42
+ $sc-co-send-method-dialog-button-border-style: solid !default;
43
+ $sc-co-send-method-dialog-button-padding: 8px !default;
44
+ $sc-co-send-method-dialog-button-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3) !default;
45
+ $sc-co-send-method-dialog-button-background-color: $sc-color-action !default;
46
+ $sc-co-send-method-dialog-close-button-size: auto !default;
47
+ $sc-co-send-method-dialog-close-button-background-color: #475060 !default;
48
+ $sc-popup-checkbox-checked-background-color: #1a73e8 !default;
@@ -18,8 +18,9 @@
18
18
  .dialog-content-wrapper {
19
19
  display: flex;
20
20
  flex-direction: row;
21
- width: 50vw;
22
- height: 50vh;
21
+ width: 600px;
22
+ height: 600px;
23
+ max-width: 100%;
23
24
  column-gap: $sc-co-simple-tags-content-column-gap;
24
25
 
25
26
  .collection-navigation {
@@ -32,6 +33,12 @@
32
33
 
33
34
  .co-input-search {
34
35
  display: block;
36
+ .co-input-text {
37
+ height: 30px;
38
+ &:before {
39
+ display: none;
40
+ }
41
+ }
35
42
  }
36
43
 
37
44
  .breadcrumbs {
@@ -98,6 +105,7 @@
98
105
  border: $sc-co-simple-tags-collection-item-border;
99
106
  display: flex;
100
107
  cursor: pointer;
108
+ background: $sc-co-simple-tags-collection-item-background-color;
101
109
  &:hover {
102
110
  background-color: $sc-co-simple-tags-collection-item-background-color;
103
111
  }
@@ -129,7 +137,7 @@
129
137
  align-items: center;
130
138
  justify-content: space-between;
131
139
  overflow: hidden;
132
-
140
+ background: $sc-co-simple-tags-collection-item-background-color;
133
141
  .thumbnail-description {
134
142
  display: flex;
135
143
  height: 100%;
@@ -148,6 +156,8 @@
148
156
 
149
157
  .co-icon {
150
158
  margin: 0 8px;
159
+ width: $sc-co-simple-tags-collection-tag-icon-size;
160
+ height: $sc-co-simple-tags-collection-tag-icon-size;
151
161
  }
152
162
 
153
163
  .description-wrapper {
@@ -178,46 +188,67 @@
178
188
  }
179
189
  }
180
190
 
181
- .commit-button-wrapper {
182
- width: 100%;
183
- display: flex;
184
- justify-content: center;
185
- column-gap: 4px;
186
-
187
- co-button {
188
- height: auto;
189
- width: auto;
190
- background-color: #f5f5fc;
191
- border-bottom: 2px solid #DCE4EA;
192
- cursor: pointer;
193
-
194
- &:not(.circle) {
195
- padding: 10px;
191
+ .dialog-footer {
192
+ background-color: $sc-co-simple-tags-dialog-footer-background;
193
+ border-width: $sc-co-simple-tags-dialog-footer-border-width;
194
+ border-style: solid;
195
+ border-color: $sc-co-simple-tags-dialog-footer-border-color;
196
+ padding: $sc-co-simple-tags-dialog-footer-padding;
197
+ .co-dialog-footer-button-wrapper {
198
+ gap: $sc-co-simple-tags-dialog-footer-button-wrapper-gap;
199
+ }
200
+ }
201
+ .save-button {
202
+ height: $sc-co-simple-tags-dialog-save-button-size;
203
+ width: $sc-co-simple-tags-dialog-save-button-size;
204
+ border-color: $sc-co-simple-tags-dialog-button-border-color;
205
+ border-style: $sc-co-simple-tags-dialog-button-border-style;
206
+ border-width: $sc-co-simple-tags-dialog-button-border-width;
207
+ background-color: $sc-co-simple-tags-dialog-button-background-color;
208
+ padding: $sc-co-simple-tags-dialog-button-padding;
209
+ box-shadow: $sc-co-simple-tags-dialog-button-box-shadow;
210
+ cursor: pointer;
211
+ .co-icon {
212
+ height: $sc-co-simple-tags-dialog-save-button-icon-size;
213
+ width: $sc-co-simple-tags-dialog-save-button-icon-size;
214
+ svg {
215
+ fill: $sc-co-simple-tags-dialog-save-button-icon-color;
196
216
  }
197
-
198
- &.cancel-button {
199
- padding: 5px;
200
- co-icon {
201
- width: 15px;
202
- height: 15px;
203
- svg { // for fontawesome icons
204
- fill: #475060;
205
- }
206
- & [fill] { // for own icons
207
- fill: #475060;
208
- }
209
- }
217
+ }
218
+ }
219
+ .close-button {
220
+ height: $sc-co-simple-tags-dialog-close-button-size;
221
+ width: $sc-co-simple-tags-dialog-close-button-size;
222
+ border-color: $sc-co-simple-tags-dialog-button-border-color;
223
+ border-style: $sc-co-simple-tags-dialog-button-border-style;
224
+ border-width: $sc-co-simple-tags-dialog-button-border-width;
225
+ background-color: $sc-co-simple-tags-dialog-close-button-background-color;
226
+ padding: $sc-co-simple-tags-dialog-button-padding;
227
+ box-shadow: $sc-co-simple-tags-dialog-button-box-shadow;
228
+ cursor: pointer;
229
+ .co-icon {
230
+ height: $sc-co-simple-tags-dialog-save-button-icon-size;
231
+ width: $sc-co-simple-tags-dialog-save-button-icon-size;
232
+ svg {
233
+ fill: $sc-co-simple-tags-dialog-save-button-icon-color;
234
+ }
235
+ [fill] {
236
+ fill: $sc-co-simple-tags-dialog-save-button-icon-color;
210
237
  }
211
238
  }
212
-
213
- co-icon {
214
- width: 20px;
215
- height: 20px;
216
- svg { // for fontawesome icons
217
- fill: #1A73E8;
239
+ }
240
+ .co-input-checkbox {
241
+ .checkbox {
242
+ border-color: #FFFFFF;
243
+ background-color: #FFFFFF;
244
+ &.checked {
245
+ border-color: $sc-co-simple-tags-checkbox-checked-background-color;
246
+ background-color: $sc-co-simple-tags-checkbox-checked-background-color;
218
247
  }
219
- & [fill] { // for own icons
220
- fill: #1A73E8;
248
+ .checkmark {
249
+ &.show {
250
+ border-color: #FFFFFF;
251
+ }
221
252
  }
222
253
  }
223
254
  }
@@ -228,5 +259,14 @@
228
259
  .clickable {
229
260
  cursor: pointer;
230
261
  }
262
+ .co-dialog {
263
+ .co-dialog-wrapper {
264
+ background: #f8f8fa;
265
+ max-height: 90vh;
266
+ .dialog-header, .dialog-content, .dialog-footer {
267
+ background: #f8f8fa;
268
+ }
269
+ }
270
+ }
231
271
  }
232
272
  }
@@ -8,12 +8,32 @@ $sc-co-simple-tags-navigation-home-icon-size: 15px !default;
8
8
  $sc-co-simple-tags-navigation-collection-row-gap: 4px !default;
9
9
  $sc-co-simple-tags-linked-tags-width: 70% !default;
10
10
  $sc-co-simple-tags-linked-tags-row-gap: 15px !default;
11
- $sc-co-simple-tags-linked-tags-tag-height: 50px !default;
11
+ $sc-co-simple-tags-linked-tags-tag-height: 40px !default;
12
12
  $sc-co-simple-tags-linked-tags-gap-size: 10px !default;
13
13
  $sc-co-simple-tags-collection-item-border-radius: 7px !default;
14
14
  $sc-co-simple-tags-collection-item-padding: 6px !default;
15
- $sc-co-simple-tags-collection-item-border: 1px solid #dcdcdc !default;
16
- $sc-co-simple-tags-collection-item-background-color: #f8f8f8 !default;
15
+ $sc-co-simple-tags-collection-item-border: 0px solid #dcdcdc !default;
16
+ $sc-co-simple-tags-collection-item-background-color: #ffffff !default;
17
17
  $sc-co-simple-tags-collection-item-icon-size: 15px !default;
18
- $sc-co-simple-tags-linked-tag-delete-icon-size: 15px !default;
18
+ $sc-co-simple-tags-linked-tag-delete-icon-size: 10px !default;
19
19
  $sc-co-simple-tags-linked-tag-delete-icon-margin: 10px !default;
20
+ $sc-co-simple-tags-collection-tag-icon-size: 20px !default;
21
+
22
+ $sc-co-simple-tags-dialog-footer-border-width: 5px 0 0 0 !default;
23
+ $sc-co-simple-tags-dialog-footer-border-color: #ffffff !default;
24
+ $sc-co-simple-tags-dialog-footer-padding: 20px 0 0 0 !default;
25
+ $sc-co-simple-tags-dialog-footer-background: #f8f8fa !default;
26
+ $sc-co-simple-tags-dialog-footer-button-wrapper-gap: 5px !default;
27
+
28
+ $sc-co-simple-tags-dialog-save-button-size: auto !default;
29
+ $sc-co-simple-tags-dialog-save-button-icon-size: 20px !default;
30
+ $sc-co-simple-tags-dialog-save-button-icon-color: $sc-color-light !default;
31
+ $sc-co-simple-tags-dialog-button-border-color: #DCE4EA !default;
32
+ $sc-co-simple-tags-dialog-button-border-width: 0 0 0 0 !default;
33
+ $sc-co-simple-tags-dialog-button-border-style: solid !default;
34
+ $sc-co-simple-tags-dialog-button-padding: 8px !default;
35
+ $sc-co-simple-tags-dialog-button-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3) !default;
36
+ $sc-co-simple-tags-dialog-button-background-color: $sc-color-action !default;
37
+ $sc-co-simple-tags-dialog-close-button-size: auto !default;
38
+ $sc-co-simple-tags-dialog-close-button-background-color: #475060 !default;
39
+ $sc-co-simple-tags-checkbox-checked-background-color: #1a73e8 !default;
@@ -10,6 +10,7 @@ export declare enum Icon {
10
10
  BringForwardRegular = "bring_forward_regular",
11
11
  CheckDuotone = "check_duotone",
12
12
  CheckRound = "check_round",
13
+ CrossSkinny = "cross_skinny",
13
14
  DeleteLeftRegular = "delete_left_regular",
14
15
  DeliveryTruck = "delivery_truck",
15
16
  Email = "email",
@@ -9,7 +9,7 @@ $sc-font-size-small: 10px !default;
9
9
  $sc-color-font: #171721;
10
10
  $sc-color-border: #DCE4EA !default;
11
11
  $sc-color-background: #f5f5fc !default;
12
- $sc-color-action: #2b60a7 !default;
12
+ $sc-color-action: #1A73E8 !default;
13
13
  $sc-color-light-accent: #DCE4EA !default;
14
14
  $sc-color-light: #FFFFFF !default;
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",