@donotdev/components 0.1.42 → 0.1.43

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.
@@ -4085,7 +4085,21 @@ em {
4085
4085
  object-fit: cover;
4086
4086
  }
4087
4087
 
4088
- /* Overlay — sits above both cover and body slot. */
4088
+ /* Full-card overlay — covers entire card surface, participates in card transform.
4089
+ Enabled via data-has-full-overlay; overflow:hidden clips to card border-radius. */
4090
+
4091
+ .dndev-card[data-has-full-overlay='true'] {
4092
+ overflow: hidden;
4093
+ }
4094
+
4095
+ .dndev-card-full-overlay {
4096
+ position: absolute;
4097
+ inset: 0;
4098
+ z-index: 3;
4099
+ pointer-events: none;
4100
+ }
4101
+
4102
+ /* Corner overlay — sits above both cover and body slot. */
4089
4103
 
4090
4104
  .dndev-card-overlay {
4091
4105
  position: absolute;
@@ -4093,6 +4107,12 @@ em {
4093
4107
  pointer-events: none;
4094
4108
  }
4095
4109
 
4110
+ /* When a full-overlay scrim is present, raise the corner overlay above it. */
4111
+
4112
+ .dndev-card[data-has-full-overlay='true'] > .dndev-card-overlay {
4113
+ z-index: 4;
4114
+ }
4115
+
4096
4116
  .dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
4097
4117
  top: var(--gap-md);
4098
4118
  inset-inline-start: var(--gap-md);