@aiaiai-pt/design-system 0.2.0 → 0.2.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.
- package/components/Panel.svelte +2 -2
- package/package.json +1 -1
- package/tokens/components.css +2 -0
package/components/Panel.svelte
CHANGED
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
position: fixed;
|
|
156
156
|
inset: 0;
|
|
157
157
|
background: var(--panel-backdrop);
|
|
158
|
-
z-index:
|
|
158
|
+
z-index: var(--panel-z-backdrop);
|
|
159
159
|
animation: fade-in var(--duration-normal) var(--easing-enter);
|
|
160
160
|
}
|
|
161
161
|
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
background: var(--panel-bg);
|
|
167
167
|
box-shadow: var(--panel-shadow);
|
|
168
168
|
border-radius: var(--panel-radius);
|
|
169
|
-
z-index:
|
|
169
|
+
z-index: var(--panel-z-panel);
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-direction: column;
|
|
172
172
|
}
|
package/package.json
CHANGED
package/tokens/components.css
CHANGED
|
@@ -281,6 +281,8 @@
|
|
|
281
281
|
--panel-backdrop: var(--color-overlay);
|
|
282
282
|
--panel-close-size: 28px;
|
|
283
283
|
--panel-close-icon-size: 16px;
|
|
284
|
+
--panel-z-backdrop: 200;
|
|
285
|
+
--panel-z-panel: 201;
|
|
284
286
|
|
|
285
287
|
/* ═══════════════════════════════════════════════
|
|
286
288
|
STEPPER (wizard / multi-step flow)
|