@colijnit/sharedcomponents 262.1.7 → 262.1.9

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 (37) hide show
  1. package/browser/index.html +2 -2
  2. package/browser/main-YTXKJY3E.js +289 -0
  3. package/browser/styles-FA2CB3GS.css +1 -0
  4. package/fesm2022/colijnit-sharedcomponents.mjs +3799 -526
  5. package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
  6. package/index.d.ts +610 -10
  7. package/lib/components/activity-timeline/style/_layout.scss +60 -0
  8. package/lib/components/activity-timeline/style/_material-definition.scss +9 -0
  9. package/lib/components/activity-timeline/style/_theme.scss +4 -0
  10. package/lib/components/activity-timeline/style/material.scss +4 -0
  11. package/lib/components/avatar/style/_layout.scss +4 -0
  12. package/lib/components/avatar/style/_material-definition.scss +0 -0
  13. package/lib/components/avatar/style/_theme.scss +4 -0
  14. package/lib/components/avatar/style/material.scss +4 -0
  15. package/lib/components/email-selector/style/_layout.scss +1 -1
  16. package/lib/components/input-calculation-key/style/_layout.scss +4 -0
  17. package/lib/components/input-calculation-key/style/_material-definition.scss +0 -0
  18. package/lib/components/input-calculation-key/style/_theme.scss +4 -0
  19. package/lib/components/input-calculation-key/style/material.scss +4 -0
  20. package/lib/components/input-duration/style/_layout.scss +5 -0
  21. package/lib/components/input-duration/style/_material-definition.scss +0 -0
  22. package/lib/components/input-duration/style/_theme.scss +4 -0
  23. package/lib/components/input-duration/style/material.scss +4 -0
  24. package/lib/components/input-search-employee/style/_layout.scss +4 -0
  25. package/lib/components/input-search-employee/style/_material-definition.scss +0 -0
  26. package/lib/components/input-search-employee/style/_theme.scss +4 -0
  27. package/lib/components/input-search-employee/style/material.scss +4 -0
  28. package/lib/components/modify-task-form/style/_layout.scss +6 -0
  29. package/lib/components/task-creator/style/_layout.scss +156 -63
  30. package/lib/components/task-modifyer/style/_layout.scss +22 -2
  31. package/lib/components/timeline/style/_layout.scss +72 -0
  32. package/lib/components/timeline/style/_material-definition.scss +23 -0
  33. package/lib/components/timeline/style/_theme.scss +4 -0
  34. package/lib/components/timeline/style/material.scss +4 -0
  35. package/package.json +1 -1
  36. package/browser/main-QQDYZ5GW.js +0 -287
  37. package/browser/styles-WUNXPYW7.css +0 -1
@@ -0,0 +1,60 @@
1
+ @include export-module('co-activity-timeline-layout') {
2
+ .co-activity-timeline {
3
+ .leaf-wrapper {
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: $leaf-wrapper-gap;
7
+ }
8
+ .leaf-task-open {
9
+ position: absolute;
10
+ right: 0;
11
+ bottom: 0;
12
+ cursor: pointer;
13
+ }
14
+ .co-activity-leaf {
15
+ .leaf-header {
16
+ font-size: $leaf-header-font-size;
17
+ }
18
+ .leaf-body {
19
+ .trigger-wrapper {
20
+ display: flex;
21
+ gap: $leaf-trigger-wrapper-gap;
22
+ .workflow-state {
23
+ font-size: 11px;
24
+ display: flex;
25
+ align-items: center;
26
+ gap: $leaf-trigger-state-end-gap;
27
+ &.next {
28
+ gap: $leaf-trigger-state-gap;
29
+ }
30
+ &.ended {
31
+ color: $leaf-trigger-state-end-color;
32
+ }
33
+ .co-icon {
34
+ svg {
35
+ fill: $leaf-trigger-state-end-color;
36
+ }
37
+ }
38
+ }
39
+ .trigger-button {
40
+ padding: 7px 15px;
41
+ border: 1px solid $leaf-trigger-state-color;
42
+ color: $leaf-trigger-state-color;
43
+ border-radius: $leaf-trigger-state-border-radius;
44
+ cursor: pointer;
45
+ background: #FFF;
46
+ transition: all 0.2s ease-in-out;
47
+ &:hover {
48
+ color: #FFF;
49
+ background: $leaf-trigger-state-color;
50
+ transition: all 0.2s ease-in-out;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ .remark-content {
56
+ font-size: $leaf-header-font-size;
57
+ }
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,9 @@
1
+ $leaf-header-font-size: 12px !default;
2
+
3
+ $leaf-wrapper-gap: 15px !default;
4
+ $leaf-trigger-wrapper-gap: 15px !default;
5
+ $leaf-trigger-state-end-gap: 3px !default;
6
+ $leaf-trigger-state-gap: 5px !default;
7
+ $leaf-trigger-state-end-color: #5FDCB3 !default;
8
+ $leaf-trigger-state-color: #1A73E8;
9
+ $leaf-trigger-state-border-radius: 3px !default;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-activity-timeline-theme') {
2
+ .co-activity-timeline {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,4 @@
1
+ @include export-module('co-avatar-layout') {
2
+ .co-avatar {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-avatar-theme') {
2
+ .co-avatar {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -11,7 +11,7 @@
11
11
  display: flex;
12
12
  flex-direction: row;
13
13
  gap: 60px;
14
- border-bottom: 4px solid #f5f5fc;
14
+
15
15
  .recipients-bcc, .recipients-add {
16
16
  display: flex;
17
17
  gap: 5px;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-input-calculation-key-layout') {
2
+ .co-input-calculation-key {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-input-calculation-key-theme') {
2
+ .co-input-calculation-key {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,5 @@
1
+ @include export-module('co-input-duration-layout') {
2
+ .co-input-duration {
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-input-duration-theme') {
2
+ .co-input-duration {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,4 @@
1
+ @include export-module('co-input-search-employee-layout') {
2
+ .co-input-search-employee {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-input-search-employee-theme') {
2
+ .co-input-search-employee {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -48,6 +48,12 @@
48
48
  .content-right {
49
49
  flex-basis: 200px;
50
50
  }
51
+ .task-column {
52
+ display: flex;
53
+ flex-direction: column;
54
+ padding: 10px 0;
55
+ gap: 5px;
56
+ }
51
57
  }
52
58
  .activity-content-header {
53
59
  padding: 15px 0 10px 0;
@@ -10,16 +10,132 @@
10
10
  box-shadow: 0 1px 4px 0 #8083a385;
11
11
  border-radius: 5px;
12
12
  }
13
+ .top-rows {
14
+ &.expanded {
15
+ .top-row-header {
16
+ max-height: 40px;
17
+ opacity: 1;
18
+ transform: translateY(0);
19
+ pointer-events: auto;
20
+ display: flex;
21
+ }
22
+ .input-fields {
23
+ &.creator-remarks {
24
+ .co-input-text {
25
+ max-height: 40px;
26
+ opacity: 1;
27
+ transform: translateY(0);
28
+ pointer-events: auto;
29
+ display: block;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ .top-row-header {
36
+ overflow: hidden;
37
+ max-height: 0;
38
+ opacity: 0;
39
+ transform: translateY(-6px);
40
+ pointer-events: none;
41
+ display: flex;
42
+ border-bottom: 1px solid #ececec;
43
+ transition:
44
+ max-height 220ms ease,
45
+ opacity 160ms ease,
46
+ transform 220ms ease;
47
+ .co-email-selector {
48
+ flex-direction: row;
49
+ .recipients-add {
50
+ display: none;
51
+ }
52
+ }
53
+ .recipients-line {
54
+ max-width: 600px;
55
+ .co-input-text {
56
+ .input-wrapper {
57
+ label {
58
+ color: #000;
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ .co-list-of-icons {
65
+ position: absolute;
66
+ top: 4px;
67
+ left: 3px;
68
+ display: block;
69
+ height: fit-content;
70
+ box-shadow: 0 2px 2px 0 #0000001A;
71
+ border-radius: 3px;
72
+ background: #ffffff;
73
+ z-index: 2;
74
+ .icon-item {
75
+ display: flex;
76
+ align-items: center;
77
+ position: relative;
78
+ .drop-arrow {
79
+ display: none;
80
+ }
81
+ .label {
82
+ display: none;
83
+ }
84
+ .co-icon {
85
+ padding: 2px;
86
+ }
87
+ }
88
+ & > .icon-item {
89
+ cursor: pointer;
90
+ padding: 5px;
91
+ background: #212437;
92
+ width: 35px;
93
+ height: 30px;
94
+ border-radius: 5px;
95
+ .co-icon {
96
+ svg {
97
+ fill: #FFF;
98
+ }
99
+ }
100
+ }
101
+ .dropdown-menu {
102
+ padding: 5px;
103
+ display: flex;
104
+ flex-direction: column;
105
+ gap: 5px;
106
+ .icon-item {
107
+ cursor: pointer;
108
+ }
109
+ }
110
+ }
13
111
  .top-rows {
14
112
  display: flex;
15
113
  flex-direction: column;
16
114
  width: 100%;
17
115
  gap: 0;
116
+ &:not(.expanded) {
117
+ .input-fields {
118
+ &.creator-remarks {
119
+ .co-input-textarea {
120
+ &.large-remark {
121
+ min-height: 0;
122
+ overflow: hidden;
123
+ opacity: 0;
124
+ textarea {
125
+ min-height: 0;
126
+ padding-top: 0;
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ }
18
134
  .input-fields {
19
135
  display: flex;
20
136
  flex-direction: row;
21
137
  width: 100%;
22
- align-items: flex-start;
138
+ align-items: center;
23
139
  gap: 15px;
24
140
 
25
141
  .task-input-fields {
@@ -27,73 +143,29 @@
27
143
  flex-direction: column;
28
144
  width: 100%;
29
145
  }
30
- .co-list-of-icons {
31
- position: absolute;
32
- display: block;
33
- left: 0;
34
- top: 0;
35
- height: fit-content;
36
- box-shadow: 0 2px 2px 0 #0000001A;
37
- border-radius: 3px;
38
- background: #ffffff;
39
- z-index: 2;
40
- .icon-item {
41
- display: flex;
42
- align-items: center;
43
- position: relative;
44
- .drop-arrow {
45
- display: none;
46
- }
47
- .label {
48
- display: none;
49
- }
50
- .co-icon {
51
- padding: 2px;
52
- }
53
- }
54
- & > .icon-item {
55
- cursor: pointer;
56
- padding: 5px;
57
- &:after {
58
- content: '';
59
- width: 0;
60
- height: 0;
61
- border-left: 4px solid transparent;
62
- border-top: 4px solid transparent;
63
- border-right: 4px solid #000;
64
- border-bottom: 4px solid #000;
65
- position: absolute;
66
- right: -1px;
67
- bottom: -1px;
68
- transform: rotate(0deg);
69
- }
70
- }
71
-
72
- .dropdown-menu {
73
- padding: 5px;
74
- display: flex;
75
- flex-direction: column;
76
- gap: 5px;
77
-
78
- .icon-item {
79
- cursor: pointer;
80
- }
81
- }
82
- }
83
146
  &.creator-remarks {
84
147
  .co-input-text {
85
148
  width: 100%;
86
149
  margin-left: 0;
87
- border-bottom: 4px solid #f5f5fc;
150
+ overflow: hidden;
151
+ max-height: 0;
152
+ opacity: 0;
153
+ transform: translateY(-6px);
154
+ pointer-events: none;
155
+ display: flex;
156
+ border-bottom: 1px solid #ececec;
157
+ transition:
158
+ max-height 220ms ease,
159
+ opacity 160ms ease,
160
+ transform 220ms ease;
88
161
  &:before {
89
162
  box-shadow: none;
90
163
  }
91
164
  }
92
165
  .co-input-textarea {
93
166
  &.large-remark {
94
- min-height: 60px;
167
+ min-height: 90px;
95
168
  width: 100%;
96
- border-bottom: 4px solid #f5f5fc;
97
169
  }
98
170
  &:before {
99
171
  box-shadow: none;
@@ -104,8 +176,8 @@
104
176
  }
105
177
  textarea {
106
178
  margin-top: 0;
107
- padding-top: 30px;
108
- min-height: 60px;
179
+ padding-top: 10px;
180
+ min-height: 90px;
109
181
  }
110
182
  }
111
183
  }
@@ -117,12 +189,17 @@
117
189
  align-items: center;
118
190
  justify-content: space-between;
119
191
  padding: 10px;
120
- gap: 5px;
192
+ gap: 10px;
121
193
  .co-button {
122
194
  background-color: transparent;
123
195
  cursor: pointer;
124
- width: 30px;
125
- height: 30px;
196
+ width: 26px;
197
+ height: 26px;
198
+ .co-icon {
199
+ svg [fill] {
200
+ fill: #000;
201
+ }
202
+ }
126
203
  }
127
204
  .task-buttons {
128
205
  display: flex;
@@ -134,10 +211,26 @@
134
211
  fill: #000;
135
212
  }
136
213
  }
214
+ svg [fill] {
215
+ fill: #000;
216
+ }
217
+ }
218
+ }
219
+ }
220
+ .paper-plane {
221
+ padding: 5px 10px;
222
+ .co-button {
223
+ background-color: transparent;
224
+ cursor: pointer;
225
+ width: 24px;
226
+ height: 24px;
227
+ svg {
228
+ polygon {
229
+ fill: #000;
230
+ }
137
231
  }
138
232
  }
139
233
  }
140
-
141
234
  .co-files-upload {
142
235
  width: 100%;
143
236
  min-height: auto;
@@ -1,5 +1,25 @@
1
1
  @include export-module('co-task-modifier') {
2
- .co-task-modifier{
3
-
2
+ .co-task-modifier {
3
+ .co-dialog-wrapper {
4
+ max-width: 600px;
5
+ height: 650px;
6
+ }
7
+ .dialog-header {
8
+ display: flex;
9
+ flex-direction: row;
10
+ justify-content: space-between;
11
+ align-items: center;
12
+ font-size: 16px;
13
+ padding: 0;
14
+ .header-title-wrapper {
15
+ display: flex;
16
+ align-items: center;
17
+ gap: 10px;
18
+ .co-icon {
19
+ width: 20px;
20
+ height: 20px;
21
+ }
22
+ }
23
+ }
4
24
  }
5
25
  }
@@ -0,0 +1,72 @@
1
+ @include export-module('co-timeline-layout') {
2
+ .co-timeline {
3
+ .co-timeline-wrapper {
4
+ padding: $timeline-wrapper-padding;
5
+ }
6
+ .year-item {
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: $timeline-year-item-gap;
10
+ }
11
+ .state-change-wrapper {
12
+ display: flex;
13
+ gap: $timeline-state-change-gap;
14
+ background: $timeline-state-change-background;
15
+ padding: $timeline-state-change-padding;
16
+ width: fit-content;
17
+ border-radius: $timeline-state-change-border-radius;
18
+ .state-change-content {
19
+ display: flex;
20
+ gap: $timeline-state-change-content-gap;
21
+ font-size: $timeline-state-change-content-font-size;
22
+ color: $timeline-state-change-content-color;
23
+ text-transform: uppercase;
24
+ .change-desc {
25
+ font-weight: $timeline-state-change-change-desc-font-weight;
26
+ }
27
+ }
28
+ .state-change-date {
29
+ font-size: $timeline-state-change-date-font-size;
30
+ color: $timeline-state-change-content-color;
31
+ font-weight: $timeline-state-change-date-font-weight;
32
+ text-transform: uppercase;
33
+ }
34
+ }
35
+ .timeline-item-wrapper {
36
+ display: flex;
37
+ border-radius: $timeline-item-wrapper-border-radius;
38
+ padding: $timeline-item-wrapper-padding;
39
+ box-shadow: $timeline-item-wrapper-box-shadow;
40
+ background-color: $timeline-item-wrapper-background;
41
+ min-width: $timeline-item-wrapper-min-width;
42
+ width: fit-content;
43
+ }
44
+ .timeline-item {
45
+ display: flex;
46
+ width: 100%;
47
+ position: relative;
48
+ align-items: start;
49
+ gap: $timeline-item-gap;
50
+ padding: $timeline-item-padding;
51
+ .timeline-date-wrapper {
52
+ position: absolute;
53
+ right: 0;
54
+ top: 0;
55
+ .timeline-date {
56
+ font-size: $timeline-item-date-font-size;
57
+ display: flex;
58
+ align-items: center;
59
+ gap: $timeline-item-date-gap;
60
+ color: $timeline-item-date-color;
61
+ .co-icon {
62
+ cursor: pointer;
63
+ }
64
+ }
65
+ }
66
+ .co-icon {
67
+ width: $timeline-item-icon-size;
68
+ height: $timeline-item-icon-size;
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,23 @@
1
+ $timeline-wrapper-padding: 15px 0 30px 0 !default;
2
+ $timeline-year-item-gap: 20px !default;
3
+ $timeline-state-change-gap: 30px !default;
4
+ $timeline-state-change-background: #E2E8F0 !default;
5
+ $timeline-state-change-padding: 10px 15px !default;
6
+ $timeline-state-change-border-radius: 15px !default;
7
+ $timeline-state-change-content-gap: 3px !default;
8
+ $timeline-state-change-content-font-size: 10px !default;
9
+ $timeline-state-change-content-color: #334155 !default;
10
+ $timeline-state-change-change-desc-font-weight: 600 !important;
11
+ $timeline-state-change-date-font-size: 9px !default;
12
+ $timeline-state-change-date-font-weight: 300 !default;
13
+ $timeline-item-wrapper-border-radius: 5px !default;
14
+ $timeline-item-wrapper-padding: 10px !default;
15
+ $timeline-item-wrapper-box-shadow: 0 3px 5px 1px #0000001a !default;
16
+ $timeline-item-wrapper-background: #FFFFFF !default;
17
+ $timeline-item-wrapper-min-width: 50% !default;
18
+ $timeline-item-gap: 15px !default;
19
+ $timeline-item-date-font-size: 9px !default;
20
+ $timeline-item-date-gap: 15px !default;
21
+ $timeline-item-date-color: #172121 !default;
22
+ $timeline-item-icon-size: 15px !default;
23
+ $timeline-item-padding: 0 150px 0 0 !default;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-timeline-theme') {
2
+ .co-timeline {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.7",
3
+ "version": "262.1.9",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",