@inchurch/matcha-theme 20.0.11 → 20.276.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.
- package/abstracts/_colors.scss +404 -404
- package/abstracts/_elevation.scss +102 -102
- package/abstracts/_functions.scss +1212 -1212
- package/abstracts/_media-breakpoint.scss +23 -23
- package/abstracts/_typography.scss +127 -127
- package/base/_reset.scss +438 -438
- package/components/app-page-header.scss +260 -0
- package/components/matcha-accordion.scss +294 -157
- package/components/matcha-avatar.scss +171 -31
- package/components/matcha-badge.scss +4 -4
- package/components/matcha-breadcrumb.scss +232 -126
- package/components/matcha-button-toggle.scss +44 -0
- package/components/matcha-buttons.scss +908 -784
- package/components/matcha-calendar.scss +70 -2
- package/components/matcha-cards.scss +28 -2
- package/components/matcha-checkbox.scss +191 -490
- package/components/matcha-chip.scss +297 -212
- package/components/matcha-command-palette.scss +291 -63
- package/components/matcha-crop.scss +407 -172
- package/components/matcha-date.scss +81 -81
- package/components/matcha-divider.scss +86 -31
- package/components/matcha-drawer.scss +201 -50
- package/components/matcha-drop-image.scss +14 -0
- package/components/matcha-drop-list.scss +42 -1
- package/components/matcha-empty-state.scss +195 -83
- package/components/matcha-flag.scss +93 -52
- package/components/matcha-footer.scss +68 -164
- package/components/matcha-form-field.scss +52 -0
- package/components/matcha-form-section.scss +101 -101
- package/components/matcha-header.scss +135 -325
- package/components/matcha-highlight.scss +65 -197
- package/components/matcha-hint-text.scss +21 -0
- package/components/matcha-horizontal-tree.scss +317 -317
- package/components/matcha-icon.scss +17 -25
- package/components/matcha-list.scss +5 -5
- package/components/matcha-menu.scss +13 -0
- package/components/matcha-modal.scss +58 -84
- package/components/matcha-nav.scss +361 -230
- package/components/matcha-notification.scss +413 -197
- package/components/matcha-option.scss +79 -23
- package/components/matcha-paginator.scss +689 -235
- package/components/matcha-panel.scss +42 -26
- package/components/matcha-profile-card.scss +50 -50
- package/components/matcha-progress-bar.scss +257 -153
- package/components/matcha-radio.scss +244 -452
- package/components/matcha-scrollbox-shadow.scss +122 -122
- package/components/matcha-select.scss +3 -3
- package/components/matcha-skeleton.scss +18 -0
- package/components/matcha-slide-toggle.scss +47 -2
- package/components/matcha-slider.scss +172 -75
- package/components/matcha-snack-bar.scss +114 -121
- package/components/matcha-spinner.scss +76 -57
- package/components/matcha-status-pill.scss +82 -0
- package/components/matcha-stepper.scss +377 -177
- package/components/matcha-table.scss +569 -785
- package/components/matcha-tabs.scss +624 -469
- package/components/matcha-toolbar.scss +359 -206
- package/components/matcha-tooltip.scss +156 -62
- package/components/matcha-tree-view.scss +189 -0
- package/components/matcha-uploader.scss +240 -62
- package/fonts/manrope/manrope-latin-ext.woff2 +0 -0
- package/fonts/manrope/manrope-latin.woff2 +0 -0
- package/layout/matcha-page-layout.scss +4 -4
- package/main.scss +232 -265
- package/package.json +1 -1
- package/tokens/_animations-tokens.scss +37 -37
- package/tokens/_breakpoints-tokens.scss +35 -26
- package/tokens/_color-tokens.scss +1152 -1152
- package/tokens/_css-custom-properties.scss +650 -568
- package/tokens/_spacing-tokens.scss +94 -94
- package/vendors/angular-editor.scss +56 -56
- package/vendors/angular-material-fixes.scss +297 -297
- package/vendors/charts.scss +92 -92
- package/vendors/ng5-slider.scss +56 -56
- package/vendors/ngx-material-timepicker.scss +50 -50
- package/fonts/CircularStd-Black.eot +0 -0
- package/fonts/CircularStd-Black.svg +0 -3426
- package/fonts/CircularStd-Black.ttf +0 -0
- package/fonts/CircularStd-Black.woff +0 -0
- package/fonts/CircularStd-Black.woff2 +0 -0
- package/fonts/CircularStd-Bold.eot +0 -0
- package/fonts/CircularStd-Bold.otf +0 -0
- package/fonts/CircularStd-Bold.svg +0 -13532
- package/fonts/CircularStd-Bold.ttf +0 -0
- package/fonts/CircularStd-Bold.woff +0 -0
- package/fonts/CircularStd-Bold.woff2 +0 -0
- package/fonts/CircularStd-Medium.eot +0 -0
- package/fonts/CircularStd-Medium.otf +0 -0
- package/fonts/CircularStd-Medium.svg +0 -13511
- package/fonts/CircularStd-Medium.ttf +0 -0
- package/fonts/CircularStd-Medium.woff +0 -0
- package/fonts/CircularStd-Medium.woff2 +0 -0
- package/fonts/CircularStd-Regular.eot +0 -0
- package/fonts/CircularStd-Regular.otf +0 -0
- package/fonts/CircularStd-Regular.svg +0 -2378
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/fonts/CircularStd-Regular.woff2 +0 -0
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
inset: 0;
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
|
-
|
|
9
|
+
// Acima de modal (999) e overlay base (1000) — panel pode ser aberto dentro de modal
|
|
10
|
+
z-index: var(--matcha-z-popover-floating, 10001);
|
|
10
11
|
pointer-events: none !important; // Permite clicar "através" do overlay (interação com inputs, scroll da página)
|
|
11
12
|
display: block;
|
|
12
13
|
}
|
|
@@ -20,22 +21,21 @@
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.matcha-panel {
|
|
23
|
-
// Figma matcha/panel: radius
|
|
24
|
+
// Figma matcha/panel (14276:67): radius xl, padding 8/0, max-height 280
|
|
24
25
|
border-radius: var(--matcha-radius-xl, 16px);
|
|
25
26
|
overflow-y: auto;
|
|
26
27
|
display: flex;
|
|
27
28
|
flex-direction: column;
|
|
28
|
-
max-height: 280px;
|
|
29
|
+
max-height: var(--matcha-panel-max-height, 280px);
|
|
29
30
|
width: 100%;
|
|
30
31
|
padding: var(--matcha-space-100, 8px) 0;
|
|
31
32
|
|
|
32
|
-
// Animações (fade + scale leve,
|
|
33
|
+
// Animações (fade + scale leve, easing standard)
|
|
33
34
|
opacity: 0;
|
|
34
|
-
transform: scale(0.96) translateY(-4px);
|
|
35
|
-
transition: opacity var(--matcha-duration-fast, 200ms) cubic-bezier(0.4, 0, 0.2, 1),
|
|
36
|
-
transform var(--matcha-duration-fast, 200ms) cubic-bezier(0.4, 0, 0.2, 1);
|
|
35
|
+
transform: scale(0.96) translateY(calc(-1 * var(--matcha-space-050, 4px)));
|
|
36
|
+
transition: opacity var(--matcha-duration-fast, 200ms) var(--matcha-easing-standard, cubic-bezier(0.4, 0, 0.2, 1)),
|
|
37
|
+
transform var(--matcha-duration-fast, 200ms) var(--matcha-easing-standard, cubic-bezier(0.4, 0, 0.2, 1));
|
|
37
38
|
|
|
38
|
-
// Position relative (agora contido no pane)
|
|
39
39
|
position: relative;
|
|
40
40
|
z-index: auto;
|
|
41
41
|
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
// ── Bottom-sheet em mobile (≤ 600px) ────────────────────────
|
|
89
89
|
// O panel com calendar vira um painel full-width grudado no rodapé da tela,
|
|
90
90
|
// com backdrop translúcido e slide-up. Sobrescreve o transform inline do JS.
|
|
91
|
-
@media (max-width:
|
|
91
|
+
@media (max-width: 639px) {
|
|
92
92
|
.matcha-panel-overlay:has(.matcha-calendar) {
|
|
93
93
|
pointer-events: auto !important; // precisa capturar o backdrop
|
|
94
|
-
background: rgba(0, 0, 0, 0.
|
|
95
|
-
backdrop-filter: blur(
|
|
96
|
-
animation: matcha-panel-backdrop-fade
|
|
94
|
+
background: var(--matcha-scrim-drawer, rgba(0, 0, 0, 0.3));
|
|
95
|
+
backdrop-filter: blur(var(--matcha-scrim-drawer-blur, 4px));
|
|
96
|
+
animation: matcha-panel-backdrop-fade var(--matcha-duration-fast, 200ms) var(--matcha-easing-standard, cubic-bezier(0.4, 0, 0.2, 1));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.matcha-panel-pane:has(.matcha-calendar) {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
min-width: 0 !important;
|
|
108
108
|
transform: none !important;
|
|
109
109
|
max-height: 90vh;
|
|
110
|
-
animation: matcha-panel-sheet-up 220ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
110
|
+
animation: matcha-panel-sheet-up var(--matcha-duration-normal, 220ms) var(--matcha-easing-standard, cubic-bezier(0.4, 0, 0.2, 1));
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
// Cartão do calendar ocupa a largura toda, com radius só em cima
|
|
@@ -141,27 +141,43 @@
|
|
|
141
141
|
$is-dark: map.get($theme, is-dark);
|
|
142
142
|
|
|
143
143
|
.matcha-panel {
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
// Floating overlay (dropdown/popover) — surface-card-strong (pure white
|
|
145
|
+
// light, lifted dark). Inline cards usam soft default; panel flutua.
|
|
146
|
+
background: var(--matcha-color-surface-card-strong, var(--matcha-color-surface-card, var(--matcha-color-surface, #{getSurface($theme)})));
|
|
147
|
+
color: var(--matcha-color-text-primary, var(--matcha-color-fg, #{getForeground($theme)}));
|
|
146
148
|
|
|
147
|
-
// Shadow level
|
|
148
|
-
box-shadow: var(--matcha-shadow-
|
|
149
|
-
|
|
150
|
-
@if $is-dark {
|
|
151
|
-
border: var(--matcha-border-hairline, 1px) solid rgba(255, 255, 255, 0.1);
|
|
152
|
-
}
|
|
149
|
+
// Shadow level 3 (floating panels — Figma DSV3 elevation/level-3)
|
|
150
|
+
box-shadow: var(--matcha-shadow-3, #{if($is-dark, $shadow-3-dark, $shadow-3-light)});
|
|
151
|
+
border: var(--matcha-border-hairline, 1px) solid var(--matcha-color-surface-border, rgba(255, 255, 255, 0.12));
|
|
153
152
|
|
|
154
153
|
&:focus-within {
|
|
155
|
-
box-shadow: var(--matcha-shadow-
|
|
154
|
+
box-shadow: var(--matcha-shadow-4, #{if($is-dark, $shadow-4-dark, $shadow-4-light)});
|
|
156
155
|
}
|
|
157
156
|
}
|
|
158
157
|
|
|
159
|
-
// Responsividade
|
|
158
|
+
// Responsividade — em mobile, panel mais compacto
|
|
160
159
|
@media (max-width: 768px) {
|
|
161
160
|
.matcha-panel {
|
|
162
|
-
max-height:
|
|
163
|
-
min-width:
|
|
164
|
-
border-radius: var(--matcha-radius-
|
|
161
|
+
max-height: var(--matcha-space-1600, 192px);
|
|
162
|
+
min-width: var(--matcha-space-1200, 96px);
|
|
163
|
+
border-radius: var(--matcha-radius-lg, 12px);
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
166
|
}
|
|
167
|
+
|
|
168
|
+
// ── Forced colors ──
|
|
169
|
+
@media (forced-colors: active) {
|
|
170
|
+
.matcha-panel {
|
|
171
|
+
background: Canvas !important;
|
|
172
|
+
border: 1px solid CanvasText !important;
|
|
173
|
+
box-shadow: none !important;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// ── Print ──
|
|
178
|
+
// Panels são floating/popover — somem em papel.
|
|
179
|
+
@media print {
|
|
180
|
+
.matcha-panel {
|
|
181
|
+
display: none !important;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
|
|
3
|
-
// =============================================================================
|
|
4
|
-
// matcha-profile-card.scss — Compact profile card (avatar + name + role)
|
|
5
|
-
// Aligned with Figma matcha/profile-card:
|
|
6
|
-
// Layout: avatar (40px) + text (name + role) — horizontal, pill radius
|
|
7
|
-
// Used in: headers, sidebars, user menus
|
|
8
|
-
// Angular: matcha-profile-card
|
|
9
|
-
// =============================================================================
|
|
10
|
-
|
|
11
|
-
@mixin matcha-profile-card-theme($theme) {
|
|
12
|
-
.matcha-profile-card {
|
|
13
|
-
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.matcha-profile-card__name {
|
|
17
|
-
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.matcha-profile-card__role {
|
|
21
|
-
color: var(--matcha-color-text-hint, #{getBlueGrey($theme)});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// ── Layout ──────────────────────────────────────────────────────────────────
|
|
26
|
-
|
|
27
|
-
.matcha-profile-card {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
gap: var(--matcha-space-200, 16px);
|
|
31
|
-
padding: var(--matcha-space-100, 8px) var(--matcha-space-300, 24px) var(--matcha-space-100, 8px) var(--matcha-space-150, 12px);
|
|
32
|
-
border-radius: var(--matcha-radius-pill, 9999px);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.matcha-profile-card__name {
|
|
36
|
-
font-family: var(--matcha-font-family);
|
|
37
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
38
|
-
font-weight: var(--matcha-weight-medium, 500);
|
|
39
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
40
|
-
white-space: nowrap;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
text-overflow: ellipsis;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.matcha-profile-card__role {
|
|
46
|
-
font-family: var(--matcha-font-family);
|
|
47
|
-
font-size: var(--matcha-text-
|
|
48
|
-
line-height: var(--matcha-leading-
|
|
49
|
-
white-space: nowrap;
|
|
50
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
// =============================================================================
|
|
4
|
+
// matcha-profile-card.scss — Compact profile card (avatar + name + role)
|
|
5
|
+
// Aligned with Figma matcha/profile-card:
|
|
6
|
+
// Layout: avatar (40px) + text (name + role) — horizontal, pill radius
|
|
7
|
+
// Used in: headers, sidebars, user menus
|
|
8
|
+
// Angular: matcha-profile-card
|
|
9
|
+
// =============================================================================
|
|
10
|
+
|
|
11
|
+
@mixin matcha-profile-card-theme($theme) {
|
|
12
|
+
.matcha-profile-card {
|
|
13
|
+
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.matcha-profile-card__name {
|
|
17
|
+
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.matcha-profile-card__role {
|
|
21
|
+
color: var(--matcha-color-text-hint, #{getBlueGrey($theme)});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// ── Layout ──────────────────────────────────────────────────────────────────
|
|
26
|
+
|
|
27
|
+
.matcha-profile-card {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: var(--matcha-space-200, 16px);
|
|
31
|
+
padding: var(--matcha-space-100, 8px) var(--matcha-space-300, 24px) var(--matcha-space-100, 8px) var(--matcha-space-150, 12px);
|
|
32
|
+
border-radius: var(--matcha-radius-pill, 9999px);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.matcha-profile-card__name {
|
|
36
|
+
font-family: var(--matcha-font-family);
|
|
37
|
+
font-size: var(--matcha-text-body-md, 14px);
|
|
38
|
+
font-weight: var(--matcha-weight-medium, 500);
|
|
39
|
+
line-height: var(--matcha-leading-body-md, 20px);
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.matcha-profile-card__role {
|
|
46
|
+
font-family: var(--matcha-font-family);
|
|
47
|
+
font-size: var(--matcha-text-p-tiny, 11px);
|
|
48
|
+
line-height: var(--matcha-leading-p-tiny, 14px);
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
}
|