matcha-theme 20.263.0 → 20.265.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.
@@ -114,6 +114,47 @@
114
114
  }
115
115
  }
116
116
 
117
+ // =============================================================================
118
+ // DROP ZONE (matchaDropZone directive — reparenting target)
119
+ // =============================================================================
120
+
121
+ .matcha-drop-zone-cannot-accept {
122
+ border: 2px dashed getRed($theme) !important;
123
+ border-radius: 8px;
124
+ background-color: getRedAlpha($theme);
125
+ cursor: not-allowed;
126
+ transition: background-color 0.15s linear, border-color 0.15s linear;
127
+ }
128
+
129
+ // Fix C: quando o drop zone pai está rejeitado (vermelho), a lista filha
130
+ // recebendo o drag também deve ficar vermelha — não verde.
131
+ .matcha-drop-zone-cannot-accept .matcha-drop-list-container.matcha-drop-list-receiving {
132
+ background-color: getRedAlpha($theme);
133
+ border-color: getRed($theme);
134
+
135
+ &::before {
136
+ background: linear-gradient(45deg,
137
+ transparent 25%, getRedAlpha($theme) 25%, getRedAlpha($theme) 50%,
138
+ transparent 50%, transparent 75%, getRedAlpha($theme) 75%, getRedAlpha($theme));
139
+ background-size: 16px 16px;
140
+ animation: drop-zone-animation 0.8s linear infinite;
141
+ opacity: 0.6;
142
+ }
143
+ }
144
+
145
+ // =============================================================================
146
+ // GHOST CLONE (criado dinamicamente no body durante o drag)
147
+ // =============================================================================
148
+
149
+ .matcha-drag-ghost {
150
+ pointer-events: none;
151
+ opacity: 0.85;
152
+ z-index: 9999;
153
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
154
+ border-radius: 4px;
155
+ will-change: transform;
156
+ }
157
+
117
158
  // =============================================================================
118
159
  // ITENS ARRASTÁVEIS
119
160
  // =============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "20.263.0",
3
+ "version": "20.265.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {