@inchurch/matcha-theme 22.40.0 → 22.40.1

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 (93) hide show
  1. package/abstracts/_colors.scss +291 -291
  2. package/abstracts/_elevation.scss +108 -108
  3. package/abstracts/_functions.scss +321 -321
  4. package/abstracts/_media-breakpoint.scss +26 -26
  5. package/abstracts/_theme-api.scss +224 -224
  6. package/abstracts/_typography.scss +128 -128
  7. package/base/_reset.scss +487 -487
  8. package/components/app-page-header.scss +260 -260
  9. package/components/matcha-accordion.scss +297 -297
  10. package/components/matcha-audio-player.scss +31 -31
  11. package/components/matcha-autocomplete.scss +145 -145
  12. package/components/matcha-avatar.scss +426 -426
  13. package/components/matcha-badge.scss +120 -120
  14. package/components/matcha-breadcrumb.scss +231 -231
  15. package/components/matcha-button-toggle.scss +484 -484
  16. package/components/matcha-buttons.scss +973 -973
  17. package/components/matcha-calendar.scss +253 -253
  18. package/components/matcha-cards.scss +212 -212
  19. package/components/matcha-chart-card.scss +53 -53
  20. package/components/matcha-checkbox.scss +266 -266
  21. package/components/matcha-chip.scss +311 -311
  22. package/components/matcha-color-pick.scss +34 -34
  23. package/components/matcha-command-palette.scss +316 -316
  24. package/components/matcha-crop.scss +419 -419
  25. package/components/matcha-date.scss +81 -81
  26. package/components/matcha-divider.scss +100 -100
  27. package/components/matcha-draggable.scss +23 -23
  28. package/components/matcha-drawer.scss +376 -376
  29. package/components/matcha-drop-image.scss +14 -14
  30. package/components/matcha-drop-list.scss +430 -430
  31. package/components/matcha-emoji.scss +69 -69
  32. package/components/matcha-empty-state.scss +230 -230
  33. package/components/matcha-file-uploader.scss +650 -650
  34. package/components/matcha-flag.scss +103 -103
  35. package/components/matcha-footer.scss +91 -91
  36. package/components/matcha-form-field.scss +883 -883
  37. package/components/matcha-form-section.scss +100 -100
  38. package/components/matcha-header.scss +135 -135
  39. package/components/matcha-highlight.scss +164 -164
  40. package/components/matcha-hint-text.scss +90 -90
  41. package/components/matcha-horizontal-tree.scss +247 -247
  42. package/components/matcha-icon.scss +111 -111
  43. package/components/matcha-image.scss +60 -60
  44. package/components/matcha-list.scss +211 -211
  45. package/components/matcha-menu.scss +99 -99
  46. package/components/matcha-modal.scss +210 -210
  47. package/components/matcha-nav.scss +770 -770
  48. package/components/matcha-notification.scss +417 -417
  49. package/components/matcha-option.scss +170 -170
  50. package/components/matcha-page-builder.scss +4196 -4196
  51. package/components/matcha-paginator.scss +699 -699
  52. package/components/matcha-panel.scss +216 -216
  53. package/components/matcha-period.scss +174 -174
  54. package/components/matcha-profile-card.scss +50 -50
  55. package/components/matcha-progress-bar.scss +355 -355
  56. package/components/matcha-radio.scss +325 -325
  57. package/components/matcha-ripple.scss +7 -7
  58. package/components/matcha-scrollbar.scss +33 -33
  59. package/components/matcha-scrollbox-shadow.scss +120 -120
  60. package/components/matcha-section.scss +102 -102
  61. package/components/matcha-select-multiple.scss +56 -56
  62. package/components/matcha-select.scss +643 -629
  63. package/components/matcha-skeleton.scss +182 -182
  64. package/components/matcha-slide-toggle.scss +369 -369
  65. package/components/matcha-slider.scss +285 -285
  66. package/components/matcha-snack-bar.scss +259 -259
  67. package/components/matcha-spin.scss +164 -164
  68. package/components/matcha-spinner.scss +97 -97
  69. package/components/matcha-stepper.scss +376 -376
  70. package/components/matcha-table-cell.scss +107 -107
  71. package/components/matcha-table.scss +722 -722
  72. package/components/matcha-tabs.scss +642 -642
  73. package/components/matcha-text-editor.scss +111 -111
  74. package/components/matcha-time.scss +33 -33
  75. package/components/matcha-timepicker.scss +13 -13
  76. package/components/matcha-toolbar.scss +366 -366
  77. package/components/matcha-tooltip.scss +235 -235
  78. package/components/matcha-tree-view.scss +658 -658
  79. package/layout/matcha-page-layout.scss +778 -778
  80. package/main.scss +334 -334
  81. package/package.json +1 -1
  82. package/tokens/_animations-tokens.scss +37 -37
  83. package/tokens/_breakpoints-tokens.scss +35 -35
  84. package/tokens/_color-tokens.scss +288 -288
  85. package/tokens/_elevation-tokens.scss +33 -33
  86. package/tokens/_emit-tokens.scss +329 -329
  87. package/tokens/_material-palette.scss +1149 -1149
  88. package/tokens/_primitives.scss +98 -98
  89. package/tokens/_semantic-aliases.scss +120 -120
  90. package/tokens/_spacing-tokens.scss +94 -94
  91. package/tokens/_static-tokens.scss +137 -137
  92. package/tokens/_typography-tokens.scss +65 -65
  93. package/vendors/charts.scss +90 -90
@@ -1,247 +1,247 @@
1
- @use "sass:map";
2
-
3
- // =============================================================================
4
- // matcha-horizontal-tree.scss — Horizontal org tree with connector lines
5
- // Angular: matcha-horizontal-tree
6
- // =============================================================================
7
-
8
- @mixin matcha-horizontal-tree-theme($theme) {
9
-
10
- .svg-line line {
11
- // Mesma cor que TODOS os outros conectores deste arquivo usam
12
- // (.the-line-connect-first/-last/etc = --matcha-color-accent). Estava
13
- // --matcha-color-text-placeholder (cinza), que sempre vencia a classe
14
- // stroke-primary aplicada pelo consumidor no <line> (.svg-line line e
15
- // seletor composto, mais especifico que uma unica classe) -- a linha
16
- // rendia cinza mesmo com a intencao de ser colorida.
17
- stroke: var(--matcha-color-accent);
18
- }
19
-
20
- .child {
21
- .the-line-connect-first {
22
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent);
23
- }
24
-
25
- .the-line-connect {
26
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent);
27
- }
28
-
29
- .the-line-connect-last {
30
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent);
31
- }
32
-
33
- .the-line-connect-first-modal {
34
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
35
- }
36
-
37
- .the-line-connect-second-modal {
38
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
39
- }
40
-
41
- .the-line-connect-last-modal {
42
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
43
- }
44
-
45
- .the-line-connect-middle {
46
- box-shadow: inset 2px -2px 0 2px var(--matcha-color-border);
47
- }
48
- }
49
-
50
- .tree-first-node {
51
- &-begin {
52
- &-btn-add-node {
53
- background: var(--matcha-color-surface);
54
- box-shadow: inset 0 0 0 3px var(--matcha-color-accent);
55
-
56
- &-i {
57
- color: var(--matcha-color-accent);
58
- }
59
- }
60
- }
61
- }
62
- }
63
-
64
- // ── Layout ──────────────────────────────────────────────────────────────────
65
-
66
- .svg-line {
67
- position: absolute;
68
- top: 0;
69
- left: 0;
70
- width: 100%;
71
- height: 100%;
72
- z-index: 0;
73
- pointer-events: none;
74
-
75
- line {
76
- stroke-width: var(--matcha-border-medium, 4px);
77
- }
78
- }
79
-
80
- .child {
81
- display: flex;
82
- position: relative;
83
- pointer-events: none;
84
-
85
- div {
86
- pointer-events: all;
87
- }
88
-
89
- .the-line-connect-first {
90
- width: 56px;
91
- height: var(--matcha-border-medium, 4px);
92
- margin: 56px -16px 56px -40px;
93
- display: flex;
94
- position: absolute;
95
- z-index: 0;
96
- background: transparent;
97
- }
98
-
99
- .the-line-connect {
100
- width: 56px;
101
- height: 92px;
102
- margin: -34px -16px 56px -40px;
103
- display: flex;
104
- position: absolute;
105
- z-index: 0;
106
- background: transparent;
107
- border-radius: 0 0 0 40px;
108
- }
109
-
110
- .the-line-connect-last {
111
- width: 56px;
112
- height: 136px;
113
- margin: -80px -16px 56px -40px;
114
- display: flex;
115
- position: absolute;
116
- z-index: 0;
117
- border-radius: 0 0 0 40px;
118
- background: transparent;
119
- }
120
-
121
- .the-line-connect-first-modal {
122
- width: 56px;
123
- height: var(--matcha-border-medium, 4px);
124
- margin: 56px -16px 56px -40px;
125
- display: flex;
126
- position: absolute;
127
- z-index: 0;
128
- background: transparent;
129
- }
130
-
131
- .the-line-connect-second-modal {
132
- width: 56px;
133
- border-radius: 0 0 0 40px;
134
- z-index: 1;
135
- margin: -16px -16px 56px -40px;
136
- height: 72px;
137
- display: flex;
138
- position: absolute;
139
- background: transparent;
140
- }
141
-
142
- .the-line-connect-last-modal {
143
- width: 56px;
144
- height: 150px;
145
- margin: -90px -16px 56px -40px;
146
- display: flex;
147
- position: absolute;
148
- border-radius: 0 0 0 40px;
149
- z-index: 1;
150
- background: transparent;
151
- }
152
-
153
- .the-line-connect-middle {
154
- height: 92px;
155
- margin: -34px -16px 56px -40px;
156
- width: 56px;
157
- border-radius: 0 0 0 40px;
158
- z-index: 0;
159
- display: flex;
160
- position: absolute;
161
- background: transparent;
162
- }
163
- }
164
-
165
- .tree-node {
166
- min-width: 264px;
167
- max-width: 264px;
168
- width: 264px;
169
- height: 80px;
170
- z-index: 1;
171
-
172
- // &-header, &-content e &-content-profile saíram: eram só display:flex +
173
- // justify-content/align-items — hoje cobertos por utilitárias
174
- // (flex-between/flex-align-center/flex-grow-1/min-w-0) direto no consumidor,
175
- // sem precisar de uma classe própria do tema pra isso. &-content-btn-add-node
176
- // e &-content-profile-avatar saíram por não terem mais consumidor (canonização
177
- // do control-panel-v2 pro matcha-card/matcha-avatar reais).
178
- &-content {
179
- &-profile {
180
- &-name {
181
- width: calc(100% - 48px);
182
- // display:flex aqui era o bug: -webkit-line-clamp exige display:-webkit-box
183
- // pra funcionar, e nowrap+ellipsis exige block/inline-block — nenhum dos
184
- // dois mecanismos de truncamento funcionava com flex, resultando em corte
185
- // cru sem "...". block resolve o ellipsis de 1 linha (não há espaço
186
- // vertical pra 2 linhas nesta altura de row).
187
- display: block;
188
- line-height: var(--matcha-leading-body-md, 20px);
189
- font-size: var(--matcha-text-title-sm, 16px);
190
- margin: 0 0 0 var(--matcha-space-100, 8px);
191
- overflow: hidden;
192
- text-overflow: ellipsis;
193
- word-break: break-word;
194
- white-space: nowrap;
195
- }
196
- }
197
- }
198
- }
199
-
200
- .tree-first-node {
201
- display: flex;
202
- justify-content: center;
203
- align-items: center;
204
- min-width: 264px;
205
- max-width: 264px;
206
- width: 264px;
207
- height: 80px;
208
- margin: var(--matcha-space-200, 16px) var(--matcha-space-200, 16px) -10px var(--matcha-space-200, 16px);
209
- border-radius: var(--matcha-radius-lg, 8px);
210
- position: relative;
211
- z-index: 1;
212
-
213
- &-begin {
214
- font-family: var(--matcha-font-family);
215
- font-size: var(--matcha-text-title-sm, 16px);
216
- font-weight: var(--matcha-weight-bold, 700);
217
- line-height: var(--matcha-leading-body-sm, 16px);
218
- display: -webkit-box;
219
- -webkit-line-clamp: 2;
220
- overflow: hidden;
221
- text-overflow: ellipsis;
222
- word-break: break-word;
223
- white-space: initial;
224
- -webkit-box-orient: vertical;
225
- text-transform: capitalize;
226
-
227
- &-btn-add-node {
228
- width: var(--matcha-icon-size-md, 24px);
229
- height: var(--matcha-icon-size-md, 24px);
230
- display: block;
231
- margin: 0 auto;
232
- position: relative;
233
- z-index: 1;
234
-
235
- &-i {
236
- line-height: var(--matcha-leading-body-sm, 16px);
237
- border-radius: var(--matcha-radius-pill, 9999px);
238
- }
239
- }
240
- }
241
- }
242
-
243
- .matcha-horizontal-tree {
244
- overflow: auto;
245
- user-select: none;
246
- -webkit-user-select: none;
247
- }
1
+ @use "sass:map";
2
+
3
+ // =============================================================================
4
+ // matcha-horizontal-tree.scss — Horizontal org tree with connector lines
5
+ // Angular: matcha-horizontal-tree
6
+ // =============================================================================
7
+
8
+ @mixin matcha-horizontal-tree-theme($theme) {
9
+
10
+ .svg-line line {
11
+ // Mesma cor que TODOS os outros conectores deste arquivo usam
12
+ // (.the-line-connect-first/-last/etc = --matcha-color-accent). Estava
13
+ // --matcha-color-text-placeholder (cinza), que sempre vencia a classe
14
+ // stroke-primary aplicada pelo consumidor no <line> (.svg-line line e
15
+ // seletor composto, mais especifico que uma unica classe) -- a linha
16
+ // rendia cinza mesmo com a intencao de ser colorida.
17
+ stroke: var(--matcha-color-accent);
18
+ }
19
+
20
+ .child {
21
+ .the-line-connect-first {
22
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent);
23
+ }
24
+
25
+ .the-line-connect {
26
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent);
27
+ }
28
+
29
+ .the-line-connect-last {
30
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent);
31
+ }
32
+
33
+ .the-line-connect-first-modal {
34
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
35
+ }
36
+
37
+ .the-line-connect-second-modal {
38
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
39
+ }
40
+
41
+ .the-line-connect-last-modal {
42
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
43
+ }
44
+
45
+ .the-line-connect-middle {
46
+ box-shadow: inset 2px -2px 0 2px var(--matcha-color-border);
47
+ }
48
+ }
49
+
50
+ .tree-first-node {
51
+ &-begin {
52
+ &-btn-add-node {
53
+ background: var(--matcha-color-surface);
54
+ box-shadow: inset 0 0 0 3px var(--matcha-color-accent);
55
+
56
+ &-i {
57
+ color: var(--matcha-color-accent);
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ // ── Layout ──────────────────────────────────────────────────────────────────
65
+
66
+ .svg-line {
67
+ position: absolute;
68
+ top: 0;
69
+ left: 0;
70
+ width: 100%;
71
+ height: 100%;
72
+ z-index: 0;
73
+ pointer-events: none;
74
+
75
+ line {
76
+ stroke-width: var(--matcha-border-medium, 4px);
77
+ }
78
+ }
79
+
80
+ .child {
81
+ display: flex;
82
+ position: relative;
83
+ pointer-events: none;
84
+
85
+ div {
86
+ pointer-events: all;
87
+ }
88
+
89
+ .the-line-connect-first {
90
+ width: 56px;
91
+ height: var(--matcha-border-medium, 4px);
92
+ margin: 56px -16px 56px -40px;
93
+ display: flex;
94
+ position: absolute;
95
+ z-index: 0;
96
+ background: transparent;
97
+ }
98
+
99
+ .the-line-connect {
100
+ width: 56px;
101
+ height: 92px;
102
+ margin: -34px -16px 56px -40px;
103
+ display: flex;
104
+ position: absolute;
105
+ z-index: 0;
106
+ background: transparent;
107
+ border-radius: 0 0 0 40px;
108
+ }
109
+
110
+ .the-line-connect-last {
111
+ width: 56px;
112
+ height: 136px;
113
+ margin: -80px -16px 56px -40px;
114
+ display: flex;
115
+ position: absolute;
116
+ z-index: 0;
117
+ border-radius: 0 0 0 40px;
118
+ background: transparent;
119
+ }
120
+
121
+ .the-line-connect-first-modal {
122
+ width: 56px;
123
+ height: var(--matcha-border-medium, 4px);
124
+ margin: 56px -16px 56px -40px;
125
+ display: flex;
126
+ position: absolute;
127
+ z-index: 0;
128
+ background: transparent;
129
+ }
130
+
131
+ .the-line-connect-second-modal {
132
+ width: 56px;
133
+ border-radius: 0 0 0 40px;
134
+ z-index: 1;
135
+ margin: -16px -16px 56px -40px;
136
+ height: 72px;
137
+ display: flex;
138
+ position: absolute;
139
+ background: transparent;
140
+ }
141
+
142
+ .the-line-connect-last-modal {
143
+ width: 56px;
144
+ height: 150px;
145
+ margin: -90px -16px 56px -40px;
146
+ display: flex;
147
+ position: absolute;
148
+ border-radius: 0 0 0 40px;
149
+ z-index: 1;
150
+ background: transparent;
151
+ }
152
+
153
+ .the-line-connect-middle {
154
+ height: 92px;
155
+ margin: -34px -16px 56px -40px;
156
+ width: 56px;
157
+ border-radius: 0 0 0 40px;
158
+ z-index: 0;
159
+ display: flex;
160
+ position: absolute;
161
+ background: transparent;
162
+ }
163
+ }
164
+
165
+ .tree-node {
166
+ min-width: 264px;
167
+ max-width: 264px;
168
+ width: 264px;
169
+ height: 80px;
170
+ z-index: 1;
171
+
172
+ // &-header, &-content e &-content-profile saíram: eram só display:flex +
173
+ // justify-content/align-items — hoje cobertos por utilitárias
174
+ // (flex-between/flex-align-center/flex-grow-1/min-w-0) direto no consumidor,
175
+ // sem precisar de uma classe própria do tema pra isso. &-content-btn-add-node
176
+ // e &-content-profile-avatar saíram por não terem mais consumidor (canonização
177
+ // do control-panel-v2 pro matcha-card/matcha-avatar reais).
178
+ &-content {
179
+ &-profile {
180
+ &-name {
181
+ width: calc(100% - 48px);
182
+ // display:flex aqui era o bug: -webkit-line-clamp exige display:-webkit-box
183
+ // pra funcionar, e nowrap+ellipsis exige block/inline-block — nenhum dos
184
+ // dois mecanismos de truncamento funcionava com flex, resultando em corte
185
+ // cru sem "...". block resolve o ellipsis de 1 linha (não há espaço
186
+ // vertical pra 2 linhas nesta altura de row).
187
+ display: block;
188
+ line-height: var(--matcha-leading-body-md, 20px);
189
+ font-size: var(--matcha-text-title-sm, 16px);
190
+ margin: 0 0 0 var(--matcha-space-100, 8px);
191
+ overflow: hidden;
192
+ text-overflow: ellipsis;
193
+ word-break: break-word;
194
+ white-space: nowrap;
195
+ }
196
+ }
197
+ }
198
+ }
199
+
200
+ .tree-first-node {
201
+ display: flex;
202
+ justify-content: center;
203
+ align-items: center;
204
+ min-width: 264px;
205
+ max-width: 264px;
206
+ width: 264px;
207
+ height: 80px;
208
+ margin: var(--matcha-space-200, 16px) var(--matcha-space-200, 16px) -10px var(--matcha-space-200, 16px);
209
+ border-radius: var(--matcha-radius-lg, 8px);
210
+ position: relative;
211
+ z-index: 1;
212
+
213
+ &-begin {
214
+ font-family: var(--matcha-font-family);
215
+ font-size: var(--matcha-text-title-sm, 16px);
216
+ font-weight: var(--matcha-weight-bold, 700);
217
+ line-height: var(--matcha-leading-body-sm, 16px);
218
+ display: -webkit-box;
219
+ -webkit-line-clamp: 2;
220
+ overflow: hidden;
221
+ text-overflow: ellipsis;
222
+ word-break: break-word;
223
+ white-space: initial;
224
+ -webkit-box-orient: vertical;
225
+ text-transform: capitalize;
226
+
227
+ &-btn-add-node {
228
+ width: var(--matcha-icon-size-md, 24px);
229
+ height: var(--matcha-icon-size-md, 24px);
230
+ display: block;
231
+ margin: 0 auto;
232
+ position: relative;
233
+ z-index: 1;
234
+
235
+ &-i {
236
+ line-height: var(--matcha-leading-body-sm, 16px);
237
+ border-radius: var(--matcha-radius-pill, 9999px);
238
+ }
239
+ }
240
+ }
241
+ }
242
+
243
+ .matcha-horizontal-tree {
244
+ overflow: auto;
245
+ user-select: none;
246
+ -webkit-user-select: none;
247
+ }