@donotdev/components 0.1.42 → 0.1.44
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/dist/atomic/Card/index.d.ts +14 -2
- package/dist/atomic/Card/index.d.ts.map +1 -1
- package/dist/atomic/Card/index.js +3 -2
- package/dist/atomic/Stepper/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/styles/index.css +21 -1
- package/dist/symbol-index.json +1 -1
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -4085,7 +4085,21 @@ em {
|
|
|
4085
4085
|
object-fit: cover;
|
|
4086
4086
|
}
|
|
4087
4087
|
|
|
4088
|
-
/*
|
|
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);
|