@work-rjkashyap/unified-ui 0.2.2 → 0.2.4

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/styles.css CHANGED
@@ -193,14 +193,17 @@
193
193
  --shadow-focus-ring: 0 0 0 2px oklch(0.708 0 0 / 40%);
194
194
 
195
195
  /* --- Z-Index --- */
196
+ /* Values use wide spacing so popover-type layers (dropdown, popover,
197
+ tooltip) always render above modal/overlay layers — even when opened
198
+ from inside a dialog, sheet, or drawer. */
196
199
  --z-base: 0;
197
- --z-dropdown: 10;
198
- --z-sticky: 20;
199
- --z-overlay: 30;
200
- --z-modal: 40;
201
- --z-popover: 50;
202
- --z-toast: 60;
203
- --z-tooltip: 70;
200
+ --z-sticky: 10;
201
+ --z-overlay: 40;
202
+ --z-modal: 50;
203
+ --z-dropdown: 60;
204
+ --z-popover: 70;
205
+ --z-toast: 80;
206
+ --z-tooltip: 90;
204
207
  --z-max: 9999;
205
208
 
206
209
  /* --- Motion Durations --- */
@@ -522,13 +525,13 @@
522
525
 
523
526
  /* --- Z-Index --- */
524
527
  --z-index-base: 0;
525
- --z-index-dropdown: 10;
526
- --z-index-sticky: 20;
527
- --z-index-overlay: 30;
528
- --z-index-modal: 40;
529
- --z-index-popover: 50;
530
- --z-index-toast: 60;
531
- --z-index-tooltip: 70;
528
+ --z-index-sticky: 10;
529
+ --z-index-overlay: 40;
530
+ --z-index-modal: 50;
531
+ --z-index-dropdown: 60;
532
+ --z-index-popover: 70;
533
+ --z-index-toast: 80;
534
+ --z-index-tooltip: 90;
532
535
  --z-index-max: 9999;
533
536
 
534
537
  /* --- Transition Durations --- */