@juspay/svelte-ui-components 2.98.2 → 2.99.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.
@@ -244,7 +244,12 @@
244
244
  }
245
245
 
246
246
  .overlay-active {
247
- background-color: var(--background-color, #00000066);
247
+ /* Prefer the modal-specific token; fall back to the legacy generic
248
+ --background-color (kept for backward compatibility), then the default.
249
+ The generic name collides with app-level --background-color tokens, which
250
+ silently override the overlay; --modal-overlay-background-color lets a
251
+ consumer theme the backdrop without that collision. */
252
+ background-color: var(--modal-overlay-background-color, var(--background-color, #00000066));
248
253
  backdrop-filter: var(--modal-overlay-backdrop-filter, none);
249
254
  -webkit-backdrop-filter: var(--modal-overlay-backdrop-filter, none);
250
255
  pointer-events: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "2.98.2",
3
+ "version": "2.99.0",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",