matcha-theme 1.0.25 → 18.0.27

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 (65) hide show
  1. package/core.scss +1210 -0
  2. package/matcha-core.css +62385 -0
  3. package/matcha-core.min.css +1 -0
  4. package/package.json +1 -1
  5. package/README.md +0 -304
  6. package/abstracts/_breakpoints.scss +0 -33
  7. package/abstracts/_colors.scss +0 -469
  8. package/abstracts/_elevation.scss +0 -102
  9. package/abstracts/_functions.scss +0 -398
  10. package/abstracts/_grid.scss +0 -159
  11. package/abstracts/_order.scss +0 -46
  12. package/abstracts/_position.scss +0 -51
  13. package/abstracts/_sizes.scss +0 -166
  14. package/abstracts/_spacings.scss +0 -216
  15. package/abstracts/_typography.scss +0 -124
  16. package/base/_helpers.scss +0 -2183
  17. package/base/_reset.scss +0 -9
  18. package/base/_typography.scss +0 -244
  19. package/components/matcha-audio-player.scss +0 -37
  20. package/components/matcha-buttons.scss +0 -199
  21. package/components/matcha-cards.scss +0 -93
  22. package/components/matcha-color-pick.scss +0 -32
  23. package/components/matcha-draggable.scss +0 -25
  24. package/components/matcha-header.scss +0 -327
  25. package/components/matcha-horizontal-tree.scss +0 -277
  26. package/components/matcha-progress-bar.scss +0 -107
  27. package/components/matcha-scrollbar.scss +0 -36
  28. package/components/matcha-scrollbox-shadow.scss +0 -127
  29. package/components/matcha-table.scss +0 -279
  30. package/fonts/CircularStd-Black.eot +0 -0
  31. package/fonts/CircularStd-Black.svg +0 -3426
  32. package/fonts/CircularStd-Black.ttf +0 -0
  33. package/fonts/CircularStd-Black.woff +0 -0
  34. package/fonts/CircularStd-Black.woff2 +0 -0
  35. package/fonts/CircularStd-Bold.eot +0 -0
  36. package/fonts/CircularStd-Bold.otf +0 -0
  37. package/fonts/CircularStd-Bold.svg +0 -13532
  38. package/fonts/CircularStd-Bold.ttf +0 -0
  39. package/fonts/CircularStd-Bold.woff +0 -0
  40. package/fonts/CircularStd-Bold.woff2 +0 -0
  41. package/fonts/CircularStd-Medium.eot +0 -0
  42. package/fonts/CircularStd-Medium.otf +0 -0
  43. package/fonts/CircularStd-Medium.svg +0 -13511
  44. package/fonts/CircularStd-Medium.ttf +0 -0
  45. package/fonts/CircularStd-Medium.woff +0 -0
  46. package/fonts/CircularStd-Medium.woff2 +0 -0
  47. package/fonts/CircularStd-Regular.eot +0 -0
  48. package/fonts/CircularStd-Regular.otf +0 -0
  49. package/fonts/CircularStd-Regular.svg +0 -2378
  50. package/fonts/CircularStd-Regular.ttf +0 -0
  51. package/fonts/CircularStd-Regular.woff +0 -0
  52. package/fonts/CircularStd-Regular.woff2 +0 -0
  53. package/main.scss +0 -133
  54. package/tokens/_animations.scss +0 -37
  55. package/tokens/_breakpoints.scss +0 -38
  56. package/tokens/_color-tokens.scss +0 -1391
  57. package/tokens/_elevation-tokens.scss +0 -14
  58. package/tokens/_spacing-tokens.scss +0 -96
  59. package/tokens/_typography-tokens.scss +0 -25
  60. package/vendors/angular-editor.scss +0 -56
  61. package/vendors/angular-material-fixes.scss +0 -261
  62. package/vendors/calendar.scss +0 -2880
  63. package/vendors/charts.scss +0 -92
  64. package/vendors/ng5-slider.scss +0 -56
  65. package/vendors/ngx-material-timepicker.scss +0 -50
@@ -1,327 +0,0 @@
1
- /*
2
- How to use
3
- @import '~matcha-ds/assets/scss/components/matcha-header.scss';
4
- @include matcha-headers-theme($theme);
5
- */
6
- // -----------------------------------------------------------------------------------------------------
7
- // Headers [Theme]
8
- // -----------------------------------------------------------------------------------------------------
9
- @mixin matcha-header-theme($theme) {
10
- $accent: map-get($theme, accent);
11
- $warn: map-get($theme, warn);
12
- $primary: map-get($theme, primary);
13
- $background: map-get($theme, background);
14
- $foreground: map-get($theme, foreground);
15
-
16
- .matcha-header {
17
-
18
- // matcha-header__content
19
- &__content {
20
-
21
- // matcha-header__content__title
22
- &__title {
23
-
24
- // matcha-header__content__title__icon
25
- &__icon {
26
- color: map-get($foreground, label);
27
- }
28
- }
29
-
30
- &__options {
31
- background: map-get($background, card);
32
- @include elevation(1);
33
- }
34
- }
35
- }
36
-
37
- @media (min-width: 1024px) {
38
- .matcha-header {
39
-
40
- // matcha-header__content
41
- &__content {
42
- background: map-get($background, card);
43
- @include elevation(1);
44
-
45
- // matcha-header__content__title
46
- &__title {
47
-
48
- // matcha-header__content__title__icon
49
- &__icon {
50
- color: map-get($foreground, label);
51
- }
52
- }
53
-
54
- &__options {
55
- background: transparent;
56
- @include elevation(0);
57
- }
58
- }
59
- }
60
-
61
- }
62
-
63
- // X-Large devices (big desktops, 1440px and up < 1920)
64
- @media (min-width: 1440px) {}
65
-
66
- // XX-Large devices (larger desktops, 1920px and up)
67
- @media (min-width: 1920px) {}
68
- }
69
-
70
- // -----------------------------------------------------------------------------------------------------
71
- // Headers [Style]
72
- // -----------------------------------------------------------------------------------------------------
73
- .matcha-header {
74
-
75
- // matcha-header__content
76
- &__content {
77
- // align-content: center;
78
- display: flex;
79
- flex-wrap: wrap;
80
- align-items: center;
81
- flex-direction: row;
82
- justify-content: space-between;
83
- width: 100%;
84
- height: auto;
85
-
86
- >div:nth-child(n + 2) {
87
- margin-top: 8px;
88
- }
89
-
90
-
91
- // matcha-header__content--few-options
92
- &--few-options {
93
- .matcha-header__content__options__buttons {
94
- display: flex;
95
- }
96
- }
97
-
98
- // matcha-header__content--full-options
99
- &--full-options {
100
- .matcha-header__content__options__buttons {
101
- display: flex;
102
- }
103
-
104
- .main-btn-new {
105
- display: none;
106
- }
107
-
108
- .float-btn-new {
109
- display: inline-block;
110
- }
111
- }
112
-
113
- // matcha-header__content__title
114
- &__title {
115
- font-size: 20px;
116
- font-family: "CircularStd", "Helvetica Neue", "Arial", sans-serif;
117
- font-weight: 700;
118
- margin: 0 16px 0 0;
119
- line-height: 48px;
120
- min-height: 48px;
121
- white-space: nowrap;
122
- overflow: hidden;
123
- text-overflow: ellipsis;
124
- display: flex;
125
- align-items: center;
126
-
127
- // matcha-header__content__title__icon
128
- &__icon {
129
- font-size: 32px;
130
- line-height: 32px;
131
- width: 32px;
132
- height: 32px;
133
- margin: 0px 16px 0 0px;
134
- }
135
-
136
- // matcha-header__content__title__label
137
- &__label {
138
- line-height: 24px;
139
- display: -webkit-box;
140
- -webkit-line-clamp: 2;
141
- overflow: hidden;
142
- text-overflow: ellipsis;
143
- word-break: break-word;
144
- white-space: initial;
145
-
146
- -webkit-box-orient: vertical;
147
-
148
- text-transform: capitalize;
149
- }
150
-
151
- }
152
-
153
- // matcha-header__content__options
154
- &__options {
155
- display: flex;
156
- margin: 0;
157
- flex-direction: column-reverse;
158
- justify-content: flex-end;
159
- width: 100%;
160
- padding: 16px;
161
- border-radius: 8px;
162
-
163
- >div:nth-child(n + 2) {
164
- margin-bottom: 8px;
165
- }
166
-
167
- // matcha-header__content__options__form
168
- &__form {
169
- display: flex;
170
- width: 100%;
171
- height: 48px;
172
- margin-top: 0px;
173
-
174
- form {
175
- display: flex;
176
- width: 100%;
177
- height: 48px;
178
- margin-top: 0px !important;
179
-
180
- // Deprecated warning
181
- // All angular material classes shuld become agnostics
182
- .mat-form-field {
183
- width: 100%;
184
- margin: 0 0 0 0 !important;
185
-
186
- .mat-form-field-wrapper {
187
- margin: 0
188
- }
189
-
190
- .mat-form-field-outline-end {
191
- border-radius: 0 0 0 0 !important;
192
- }
193
- }
194
- }
195
-
196
- .btn-search-filter {
197
- margin: 0 0 0 -2px !important;
198
- border-radius: 0 8px 8px 0 !important;
199
- }
200
- }
201
-
202
- // matcha-header__content__options__field
203
- &__field {
204
- display: flex;
205
- width: 100%;
206
- height: 48px;
207
- margin-top: 0px;
208
-
209
- form {
210
- display: flex;
211
- width: 100%;
212
- height: 48px;
213
- margin-top: 0px !important;
214
- }
215
-
216
- // Deprecated warning
217
- // All angular material classes shuld become agnostics
218
- .mat-form-field {
219
- width: 100%;
220
- margin: 0 0 0 0 !important;
221
-
222
- .mat-form-field-wrapper {
223
- margin: 0
224
- }
225
- }
226
-
227
- }
228
-
229
- // matcha-header__content__options__buttons
230
- &__buttons {
231
-
232
- button {
233
- &:nth-child(n):not(.float-btn-new):not(.btn-search-filter) {
234
- margin: 0 8px 0 0;
235
- }
236
-
237
- &:first-child {
238
- margin: 0 8px 0 0;
239
- }
240
- }
241
- }
242
- }
243
-
244
- .float-btn-new {
245
- position: fixed;
246
- z-index: 9999;
247
- top: calc(100vh - 72px);
248
- left: calc(100vw - 72px);
249
- }
250
- }
251
- }
252
-
253
- // Medium devices (landscapes and tablets, 600px and up < 1024px )
254
- @media (min-width: 600px) {}
255
-
256
- // Large devices (tablets and small monitors, 1024px and up < 1440px)
257
- @media (min-width: 1024px) {
258
- .matcha-header {
259
- &__content {
260
- padding: 16px;
261
- border-radius: 8px;
262
- flex-wrap: nowrap;
263
-
264
- >div:nth-child(n + 2) {
265
- margin-top: 0px;
266
- }
267
-
268
- &--few-options {
269
- .matcha-header__content__options__buttons {
270
- display: flex;
271
- }
272
- }
273
-
274
- &--full-options {
275
- .matcha-header__content__options__buttons {
276
- display: flex;
277
- }
278
-
279
- .main-btn-new {
280
- display: inline-block;
281
- }
282
-
283
- .float-btn-new {
284
- display: none;
285
- }
286
- }
287
-
288
- &__options {
289
- flex-direction: row;
290
- max-width: fit-content;
291
- padding: 0px;
292
- border-radius: 0px;
293
-
294
- >div:nth-child(n + 2) {
295
- margin-bottom: 0px;
296
- }
297
-
298
- &__form,
299
- &__field {
300
- min-width: 272px;
301
- }
302
-
303
- &__buttons {
304
- margin-bottom: 0px;
305
- display: flex;
306
-
307
- button {
308
- &:nth-child(n):not(.float-btn-new):not(.btn-search-filter) {
309
- margin: 0 0 0 16px;
310
- }
311
-
312
- &:first-child {
313
- margin: 0;
314
- }
315
- }
316
-
317
- }
318
- }
319
- }
320
- }
321
- }
322
-
323
- // X-Large devices (big desktops, 1440px and up < 1920)
324
- @media (min-width: 1440px) {}
325
-
326
- // XX-Large devices (larger desktops, 1920px and up)
327
- @media (min-width: 1920px) {}
@@ -1,277 +0,0 @@
1
- @mixin matcha-horizontal-tree($theme) {
2
- $primary: map-get($theme, primary);
3
- $accent: map-get($theme, accent);
4
- $warn: map-get($theme, warn);
5
- $background: map-get($theme, background);
6
- $foreground: map-get($theme, foreground);
7
-
8
- .svg-line {
9
- position: absolute;
10
- top: 0;
11
- left: 0;
12
- width: 100%;
13
- height: 100%;
14
- z-index: -1;
15
-
16
- line {
17
- stroke-width: 4px;
18
- stroke: map-get($foreground, placeholder);
19
- }
20
- }
21
-
22
- .child {
23
- display: flex;
24
- position: relative;
25
-
26
- .the-line-connect-first,
27
- .the-line-connect,
28
- .the-line-connect-last,
29
- .the-line-connect-first-modal,
30
- .the-line-connect-second-modal,
31
- .the-line-connect-last-modal {}
32
-
33
- .the-line-connect-first {
34
- width: 56px;
35
- height: 4px;
36
- margin: 56px -16px 56px -40px;
37
- display: flex;
38
- position: absolute;
39
- z-index: -1;
40
- background: transparent;
41
- box-shadow: inset 2px -2px 0px 2px map-get($foreground, placeholder);
42
- }
43
-
44
- .the-line-connect {
45
- width: 56px;
46
- margin: -90px -16px 56px -40px;
47
- height: 150px;
48
- display: flex;
49
- position: absolute;
50
- z-index: -1;
51
- background: transparent;
52
- border-radius: 0 0 0 40px;
53
- box-shadow: inset 2px -2px 0px 2px map-get($foreground, placeholder);
54
- }
55
-
56
- .the-line-connect-last {
57
- width: 56px;
58
- height: 136px;
59
- margin: -80px -16px 56px -40px;
60
- display: flex;
61
- position: absolute;
62
- z-index: -1;
63
- border-radius: 0 0 0 40px;
64
- background: transparent;
65
- box-shadow: inset 2px -2px 0px 2px map-get($foreground, placeholder);
66
- }
67
-
68
- .the-line-connect-first-modal {
69
- width: 56px;
70
- height: 4px;
71
- margin: 56px -16px 56px -40px;
72
- display: flex;
73
- position: absolute;
74
- z-index: -1;
75
- background: transparent;
76
- box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
77
- }
78
-
79
- .the-line-connect-second-modal {
80
- width: 56px;
81
- border-radius: 0 0 0 40px;
82
- z-index: 1;
83
- margin: -16px -16px 56px -40px;
84
- height: 72px;
85
- display: flex;
86
- position: absolute;
87
- background: transparent;
88
- box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
89
- }
90
-
91
- .the-line-connect-last-modal {
92
- width: 56px;
93
- height: 150px;
94
- margin: -90px -16px 56px -40px;
95
- display: flex;
96
- position: absolute;
97
- border-radius: 0 0 0 40px;
98
- z-index: 1;
99
- background: transparent;
100
- box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
101
- }
102
-
103
- .the-line-connect-start-modal {
104
- height: 92px;
105
- margin: -34px -16px 56px -40px;
106
- width: 56px;
107
- border-radius: 0 0 0 40px;
108
- z-index: 1;
109
- display: flex;
110
- position: absolute;
111
- background: transparent;
112
- box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
113
- }
114
-
115
- .the-line-connect {
116
- height: 92px !important;
117
- margin: -34px -16px 56px -40px !important;
118
- }
119
-
120
- .the-line-connect-middle {
121
- height: 92px;
122
- margin: -34px -16px 56px -40px;
123
- width: 56px;
124
- border-radius: 0 0 0 40px;
125
- z-index: 0;
126
- display: flex;
127
- position: absolute;
128
- background: transparent;
129
- box-shadow: inset 2px -2px 0px 2px #223744;
130
- }
131
- }
132
-
133
- .tree-node {
134
- min-width: 264px;
135
- max-width: 264px;
136
- width: 264px;
137
- height: 80px;
138
-
139
- &-header {
140
- display: flex;
141
- justify-content: space-between;
142
- margin-bottom: 4px;
143
-
144
- &-title {
145
- font-size: 12px;
146
- line-height: 12px;
147
- display: flex;
148
- margin: 0 0 4px 0;
149
- align-items: center;
150
- letter-spacing: 0.08em;
151
- text-transform: uppercase;
152
- font-family: "CircularStd";
153
- font-weight: 700;
154
-
155
- &-bullet {
156
- height: 16px;
157
- width: 8px;
158
- margin: 0px 8px 0 0;
159
- display: inline-block;
160
- position: relative;
161
- border-radius: 10px;
162
- }
163
- }
164
- }
165
-
166
- &-content {
167
- display: flex;
168
- justify-content: space-between;
169
-
170
- &-profile {
171
- display: flex;
172
- align-items: center;
173
- width: 100%;
174
-
175
- &-avatar {
176
- border-radius: 50px;
177
- min-width: 24px;
178
- min-height: 24px;
179
- width: 24px;
180
- height: 24px;
181
- max-width: 24px;
182
- max-height: 24px;
183
- }
184
-
185
- &-name {
186
- width: calc(100% - 48px);
187
- display: flex;
188
- line-height: 20px;
189
- font-size: 16px;
190
- margin: 0 0 0 8px;
191
- -webkit-line-clamp: 2;
192
- overflow: hidden;
193
- text-overflow: ellipsis;
194
- word-break: break-word;
195
- white-space: nowrap;
196
- -webkit-box-orient: vertical;
197
- }
198
- }
199
-
200
- &-btn-add-node {
201
- position: absolute;
202
- margin: 24px 0px 0 236px;
203
- width: 24px;
204
- height: 24px;
205
- background: map-get($background, card);
206
- box-shadow: inset 0px 0px 0px 3px map-get($accent, default);
207
-
208
- &-i {
209
- line-height: 12px;
210
- color: map-get($accent, default);
211
- border-radius: 50px;
212
- }
213
- }
214
- }
215
- }
216
-
217
- .tree-first-node {
218
- display: flex;
219
- justify-content: center;
220
- align-items: center;
221
- min-width: 264px;
222
- max-width: 264px;
223
- width: 264px;
224
- height: 80px;
225
- margin: 16px 16px -10px 16px;
226
- border-radius: 8px;
227
-
228
- &-begin {
229
- font-size: 16px;
230
- font-family: "CircularStd";
231
- font-weight: 700;
232
- line-height: 16px;
233
- display: -webkit-box;
234
- -webkit-line-clamp: 2;
235
- overflow: hidden;
236
- text-overflow: ellipsis;
237
- word-break: break-word;
238
- white-space: initial;
239
- -webkit-box-orient: vertical;
240
- text-transform: capitalize;
241
- text-overflow: ellipsis;
242
-
243
- &-btn-add-node {
244
- width: 24px;
245
- height: 24px;
246
- display: block;
247
- margin: 0 auto;
248
- position: relative;
249
- background: map-get($background, card);
250
- box-shadow: inset 0px 0px 0px 3px map-get($accent, default);
251
-
252
- &-i {
253
- line-height: 12px;
254
- color: map-get($accent, default);
255
- border-radius: 50px;
256
- }
257
- }
258
- }
259
- }
260
-
261
- .matcha-horizontal-tree {
262
- overflow: auto;
263
- // cursor: grab;
264
- -webkit-touch-callout: none;
265
- /* iOS Safari */
266
- -webkit-user-select: none;
267
- /* Safari */
268
- -khtml-user-select: none;
269
- /* Konqueror HTML */
270
- -moz-user-select: none;
271
- /* Old versions of Firefox */
272
- -ms-user-select: none;
273
- /* Internet Explorer/Edge */
274
- user-select: none;
275
- /* Non-prefixed version, currently */
276
- }
277
- }
@@ -1,107 +0,0 @@
1
- /*
2
- How to use
3
- @import '~matcha-ds/assets/scss/components/matcha-header.scss';
4
- @include matcha-progress-bar-theme($theme);
5
- */
6
- // -----------------------------------------------------------------------------------------------------
7
- // Progress-bar [Theme]
8
- // -----------------------------------------------------------------------------------------------------
9
- @mixin matcha-progress-bar-theme($theme) {
10
- $accent: map-get($theme, accent);
11
- $warn: map-get($theme, warn);
12
- $primary: map-get($theme, primary);
13
- $background: map-get($theme, background);
14
- $foreground: map-get($theme, foreground);
15
-
16
- .matcha-progress-bar {
17
-
18
- // matcha-progress-bar__field
19
- &__field {
20
- background: map-get($background, disabled);
21
- transition: all 300ms linear;
22
- }
23
-
24
- // matcha-progress-bar__progress
25
- &__progress {
26
- transition: all 300ms ease-out;
27
-
28
- &::before {
29
- content: '';
30
- border-radius: 8px;
31
- background-size: 50px 50px;
32
- background-image: linear-gradient(-45deg,
33
- rgba(0, 0, 0, 0) 25%,
34
- transparent 25%,
35
- transparent 50%,
36
- rgba(0, 0, 0, 0) 50%,
37
- rgba(0, 0, 0, 0) 75%,
38
- transparent 75%,
39
- transparent);
40
- animation: progress-bar-animation 2s linear infinite;
41
- width: 100%;
42
- display: flex;
43
- transition: all 300ms linear;
44
-
45
- }
46
- }
47
-
48
- @keyframes progress-bar-animation {
49
- 0% {
50
- background-position: 50px 50px;
51
- }
52
-
53
- 100% {
54
- background-position: 0px 0px;
55
- }
56
- }
57
-
58
- // matcha-progress-bar__progress
59
- &__label {
60
- color: map-get($foreground, text-inverse);
61
- }
62
- }
63
- }
64
-
65
- // -----------------------------------------------------------------------------------------------------
66
- // Progress-bar [Style]
67
- // -----------------------------------------------------------------------------------------------------
68
- .matcha-progress-bar {
69
- width: 100%;
70
- display: flex;
71
-
72
- // matcha-progress-bar__field
73
- &__field {
74
- border-radius: 8px;
75
- display: flex;
76
- width: 100%;
77
- }
78
-
79
- // matcha-progress-bar__progress
80
- &__progress {
81
- line-height: 12px;
82
- font-size: 12px;
83
- height: 16px;
84
- border-radius: 8px;
85
- display: flex;
86
- }
87
-
88
- // matcha-progress-bar__progress
89
- &__label {
90
- line-height: 16px;
91
- padding-left: 8px;
92
- display: flex;
93
- position: relative;
94
- }
95
- }
96
-
97
- // Medium devices (landscapes and tablets, 600px and up < 1024px )
98
- @media (min-width: 600px) {}
99
-
100
- // Large devices (tablets and small monitors, 1024px and up < 1440px)
101
- @media (min-width: 1024px) {}
102
-
103
- // X-Large devices (big desktops, 1440px and up < 1920)
104
- @media (min-width: 1440px) {}
105
-
106
- // XX-Large devices (larger desktops, 1920px and up)
107
- @media (min-width: 1920px) {}