@inchurch/matcha-theme 22.39.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,107 +1,107 @@
1
- @mixin matcha-table-cell-theme($theme) {
2
- .matcha-table{
3
- .td-with-image,
4
- .td-with-checkbox,
5
- .td-with-icon,
6
- .td-duble-line {
7
- display: flex;
8
- align-items: center;
9
-
10
- .td-text-aside {
11
- display: inline-block;
12
- width: calc(100% - 48px);
13
- }
14
-
15
- .avatar {
16
- width: 48px;
17
- min-width: 48px;
18
- height: 48px;
19
- line-height: 48px;
20
- border-width: 0;
21
- margin-right: 24px;
22
- }
23
-
24
- .thumbnail {
25
- width: 72px;
26
- min-width: 72px;
27
- height: 48px;
28
- border-radius: var(--matcha-radius-lg, 8px);
29
- margin: 0 8px 0 0;
30
-
31
- &-portrait {
32
- width: 56px;
33
- min-width: 56px;
34
- height: 72px;
35
- border-radius: var(--matcha-radius-lg, 8px);
36
- margin: 0 8px 0 0;
37
- }
38
- }
39
- }
40
- }
41
- }
42
-
43
- // =============================================================================
44
- // Família matcha-cell-* (DSV3) — cells de tabela canônicas, seletor de atributo
45
- // em <td> nativo (td[matcha-cell-<tipo>]). Cada cell é um wrapper fino sobre um
46
- // átomo do DS (identity→matcha-avatar, status→matcha-status-pill,
47
- // contact→matcha-contact), então o estilo mora no átomo — não aqui.
48
- //
49
- // EXCEÇÃO: `media` (→matcha-image). As outras três envolvem átomos que já se
50
- // diagramam sozinhos; o `matcha-image` não posiciona nada ao lado dele, então a
51
- // linha miniatura+texto é responsabilidade da cell e mora aqui. O `.scss` do
52
- // componente segue vazio, como os irmãos: com encapsulation emulada um seletor
53
- // `td[attr]` escrito lá vira CSS morto (precisaria de `:host([attr])`).
54
- // =============================================================================
55
-
56
- .matcha-cell-media {
57
- display: inline-flex;
58
- align-items: center;
59
- gap: var(--matcha-space-100, 8px);
60
- // Sem isto o texto não encolhe e a coluna estoura com nome longo.
61
- max-width: 100%;
62
- }
63
-
64
- .matcha-cell-media__thumb {
65
- // A altura vem do input `height`, por style inline no elemento. Radius e overflow NÃO
66
- // entram aqui: o `.matcha-image` já traz os dois.
67
- flex-shrink: 0;
68
- display: flex;
69
- }
70
-
71
- // Inverte a direção do `matcha-image`, que por padrão é `width: 100%` + `aspect-ratio`
72
- // (largura mandando). Numa linha de tabela a altura é o recurso escasso, então ela manda e a
73
- // largura sai da razão — é o que faz `3:4` caber na linha em vez de esticá-la.
74
- .matcha-cell-media__thumb matcha-image {
75
- height: 100%;
76
- width: auto;
77
- }
78
-
79
- // O placeholder do matcha-image é `--matcha-icon-size-lg` (48px), maior que a miniatura de
80
- // 40px: ficaria recortado pelo overflow do proprio matcha-image.
81
- .matcha-cell-media__thumb .matcha-image__placeholder-icon {
82
- width: var(--matcha-icon-size-md, 24px);
83
- height: var(--matcha-icon-size-md, 24px);
84
- }
85
-
86
- .matcha-cell-media__text {
87
- display: flex;
88
- flex-direction: column;
89
- // `min-width: 0` é o que permite o filho encolher abaixo do conteúdo e o ellipsis
90
- // acontecer — sem ele o flex usa a largura intrínseca do texto. Mesmo motivo do
91
- // `.matcha-avatar-text`.
92
- min-width: 0;
93
- }
94
-
95
- // Truncam em uma linha, como matcha-avatar-name/-caption fazem na cell de identity:
96
- // numa linha de tabela a altura é fixa, então quebrar texto desalinha a linha inteira.
97
- .matcha-cell-media__name,
98
- .matcha-cell-media__caption {
99
- display: block;
100
- overflow: hidden;
101
- text-overflow: ellipsis;
102
- white-space: nowrap;
103
- }
104
-
105
- .matcha-cell-media__caption {
106
- font-variant-numeric: tabular-nums;
107
- }
1
+ @mixin matcha-table-cell-theme($theme) {
2
+ .matcha-table{
3
+ .td-with-image,
4
+ .td-with-checkbox,
5
+ .td-with-icon,
6
+ .td-duble-line {
7
+ display: flex;
8
+ align-items: center;
9
+
10
+ .td-text-aside {
11
+ display: inline-block;
12
+ width: calc(100% - 48px);
13
+ }
14
+
15
+ .avatar {
16
+ width: 48px;
17
+ min-width: 48px;
18
+ height: 48px;
19
+ line-height: 48px;
20
+ border-width: 0;
21
+ margin-right: 24px;
22
+ }
23
+
24
+ .thumbnail {
25
+ width: 72px;
26
+ min-width: 72px;
27
+ height: 48px;
28
+ border-radius: var(--matcha-radius-lg, 8px);
29
+ margin: 0 8px 0 0;
30
+
31
+ &-portrait {
32
+ width: 56px;
33
+ min-width: 56px;
34
+ height: 72px;
35
+ border-radius: var(--matcha-radius-lg, 8px);
36
+ margin: 0 8px 0 0;
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ // =============================================================================
44
+ // Família matcha-cell-* (DSV3) — cells de tabela canônicas, seletor de atributo
45
+ // em <td> nativo (td[matcha-cell-<tipo>]). Cada cell é um wrapper fino sobre um
46
+ // átomo do DS (identity→matcha-avatar, status→matcha-status-pill,
47
+ // contact→matcha-contact), então o estilo mora no átomo — não aqui.
48
+ //
49
+ // EXCEÇÃO: `media` (→matcha-image). As outras três envolvem átomos que já se
50
+ // diagramam sozinhos; o `matcha-image` não posiciona nada ao lado dele, então a
51
+ // linha miniatura+texto é responsabilidade da cell e mora aqui. O `.scss` do
52
+ // componente segue vazio, como os irmãos: com encapsulation emulada um seletor
53
+ // `td[attr]` escrito lá vira CSS morto (precisaria de `:host([attr])`).
54
+ // =============================================================================
55
+
56
+ .matcha-cell-media {
57
+ display: inline-flex;
58
+ align-items: center;
59
+ gap: var(--matcha-space-100, 8px);
60
+ // Sem isto o texto não encolhe e a coluna estoura com nome longo.
61
+ max-width: 100%;
62
+ }
63
+
64
+ .matcha-cell-media__thumb {
65
+ // A altura vem do input `height`, por style inline no elemento. Radius e overflow NÃO
66
+ // entram aqui: o `.matcha-image` já traz os dois.
67
+ flex-shrink: 0;
68
+ display: flex;
69
+ }
70
+
71
+ // Inverte a direção do `matcha-image`, que por padrão é `width: 100%` + `aspect-ratio`
72
+ // (largura mandando). Numa linha de tabela a altura é o recurso escasso, então ela manda e a
73
+ // largura sai da razão — é o que faz `3:4` caber na linha em vez de esticá-la.
74
+ .matcha-cell-media__thumb matcha-image {
75
+ height: 100%;
76
+ width: auto;
77
+ }
78
+
79
+ // O placeholder do matcha-image é `--matcha-icon-size-lg` (48px), maior que a miniatura de
80
+ // 40px: ficaria recortado pelo overflow do proprio matcha-image.
81
+ .matcha-cell-media__thumb .matcha-image__placeholder-icon {
82
+ width: var(--matcha-icon-size-md, 24px);
83
+ height: var(--matcha-icon-size-md, 24px);
84
+ }
85
+
86
+ .matcha-cell-media__text {
87
+ display: flex;
88
+ flex-direction: column;
89
+ // `min-width: 0` é o que permite o filho encolher abaixo do conteúdo e o ellipsis
90
+ // acontecer — sem ele o flex usa a largura intrínseca do texto. Mesmo motivo do
91
+ // `.matcha-avatar-text`.
92
+ min-width: 0;
93
+ }
94
+
95
+ // Truncam em uma linha, como matcha-avatar-name/-caption fazem na cell de identity:
96
+ // numa linha de tabela a altura é fixa, então quebrar texto desalinha a linha inteira.
97
+ .matcha-cell-media__name,
98
+ .matcha-cell-media__caption {
99
+ display: block;
100
+ overflow: hidden;
101
+ text-overflow: ellipsis;
102
+ white-space: nowrap;
103
+ }
104
+
105
+ .matcha-cell-media__caption {
106
+ font-variant-numeric: tabular-nums;
107
+ }