[WEB-4684] chore: dialog component enhancements (#7606)

* chore: z-index tokens added

* chore: dialog component code refactor

* chore: dialog component improvements

* fix: lint error

* fix: lint error

* fix: format error
This commit is contained in:
Anmol Singh Bhatia 2025-08-20 22:17:26 +05:30 committed by GitHub
parent b8a88fe89c
commit 03479cf6b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 121 additions and 81 deletions

View file

@ -442,6 +442,20 @@ module.exports = {
fontFamily: {
custom: ["Inter", "sans-serif"],
},
zIndex: {
base: 0 /* default content */,
header: 10 /* sticky headers, navbars */,
sidebar: 20 /* sidebars, drawers */,
dropdown: 30 /* dropdowns, select menus */,
popover: 40 /* popovers, hovercards */,
tooltip: 50 /* tooltips, hints */,
sticky: 60 /* sticky UI */,
backdrop: 90 /* backdrop / overlay */,
modal: 100 /* dialogs, modals */,
toast: 110 /* toast, alerts */,
loader: 120 /* blocking loader/spinner */,
max: 9999 /* emergency override (rare use) */,
},
},
},
plugins: [