@juspay/svelte-ui-components 2.97.1 → 2.97.2

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.
@@ -68,7 +68,11 @@
68
68
  box-shadow: var(--choicebox-focus-ring, 0 0 0 3px rgba(33, 150, 243, 0.3));
69
69
  }
70
70
 
71
- .choicebox:not(.disabled):hover {
71
+ /* Exclude the selected state from hover: without :not(.selected) this rule
72
+ (specificity 0,3,0) outranks .choicebox.selected (0,2,0), so hovering a
73
+ selected card repaints it with the neutral hover border/fill until the
74
+ cursor leaves. Excluding selected lets .choicebox.selected show through. */
75
+ .choicebox:not(.disabled):not(.selected):hover {
72
76
  border-color: var(--choicebox-hover-border-color, #9e9e9e);
73
77
  background: var(--choicebox-hover-background, var(--choicebox-background, #ffffff));
74
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "2.97.1",
3
+ "version": "2.97.2",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",