@vvedantb/ui 0.54.0 → 0.54.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.
@@ -24,6 +24,14 @@
24
24
  opacity: 1;
25
25
  pointer-events: auto;
26
26
  }
27
+ /*
28
+ * Closing keys on Radix `data-state="closed"` as well as `.is-closing`.
29
+ * Radix Presence reads the animation name in the same commit that sets
30
+ * `data-state`; the MutationObserver adds `.is-closing` a moment later, so
31
+ * keyed on the class alone Presence saw no animation and unmounted at once
32
+ * (no close transition ever played).
33
+ */
34
+ .t-modal[data-state="closed"],
27
35
  .t-modal.is-closing {
28
36
  transform: translate(-50%, -50%) scale(var(--modal-scale-close));
29
37
  opacity: 0;
@@ -157,6 +157,7 @@
157
157
 
158
158
  html[data-page-motion="off"] .t-modal,
159
159
  html[data-page-motion="off"] .t-modal.is-closing,
160
+ html[data-page-motion="off"] .t-modal[data-state="closed"],
160
161
  html[data-page-motion="off"] .t-tabs-pill {
161
162
  transition-duration: 0s !important;
162
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vvedantb/ui",
3
- "version": "0.54.0",
3
+ "version": "0.54.1",
4
4
  "license": "MIT",
5
5
  "description": "Shared React 19 UI for web apps: one main JavaScript entry (primitives, shell pieces, app helpers including the Convex and Clerk provider, VITE env parsing and ensure-user, artifact viewers over the @vvedantb/server artifacts core, native tokens), third-party brand logos (also @vvedantb/ui/logos), motion-driven animated SVG icons (@vvedantb/ui/icons/animated), a client entry without @vvedantb/server, convex or Clerk for Chrome extensions, design-token CSS, shared Tailwind v4 CSS, a Tailwind preset and packaged Instrument Sans fonts.",
6
6
  "type": "module",
@@ -24,6 +24,14 @@
24
24
  opacity: 1;
25
25
  pointer-events: auto;
26
26
  }
27
+ /*
28
+ * Closing keys on Radix `data-state="closed"` as well as `.is-closing`.
29
+ * Radix Presence reads the animation name in the same commit that sets
30
+ * `data-state`; the MutationObserver adds `.is-closing` a moment later, so
31
+ * keyed on the class alone Presence saw no animation and unmounted at once
32
+ * (no close transition ever played).
33
+ */
34
+ .t-modal[data-state="closed"],
27
35
  .t-modal.is-closing {
28
36
  transform: translate(-50%, -50%) scale(var(--modal-scale-close));
29
37
  opacity: 0;
@@ -157,6 +157,7 @@
157
157
 
158
158
  html[data-page-motion="off"] .t-modal,
159
159
  html[data-page-motion="off"] .t-modal.is-closing,
160
+ html[data-page-motion="off"] .t-modal[data-state="closed"],
160
161
  html[data-page-motion="off"] .t-tabs-pill {
161
162
  transition-duration: 0s !important;
162
163
  }