gov-layout 1.2.19 → 1.2.21
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/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +5 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -986,7 +986,7 @@ function StaffSidebar({
|
|
|
986
986
|
borderRight: `1px solid ${isDark ? "#374151" : "var(--color-border-colors-neutral, #c8cedd)"}`,
|
|
987
987
|
display: "flex",
|
|
988
988
|
flexDirection: "column",
|
|
989
|
-
zIndex:
|
|
989
|
+
zIndex: 50,
|
|
990
990
|
overflow: "hidden",
|
|
991
991
|
transition: "width 0.3s ease",
|
|
992
992
|
color: isDark ? "#ffffff" : void 0
|
|
@@ -1055,7 +1055,7 @@ function StaffSidebar({
|
|
|
1055
1055
|
position: "fixed",
|
|
1056
1056
|
top: "10%",
|
|
1057
1057
|
left: currentWidth,
|
|
1058
|
-
zIndex:
|
|
1058
|
+
zIndex: 51,
|
|
1059
1059
|
width: "24px",
|
|
1060
1060
|
height: "40px",
|
|
1061
1061
|
borderRadius: "0 6px 6px 0",
|
|
@@ -1121,7 +1121,6 @@ function UserHeader({
|
|
|
1121
1121
|
onToggleSidebar,
|
|
1122
1122
|
notificationBell,
|
|
1123
1123
|
onMarkAllRead,
|
|
1124
|
-
onViewAll,
|
|
1125
1124
|
onNotificationClick,
|
|
1126
1125
|
onProfile,
|
|
1127
1126
|
className
|
|
@@ -1150,7 +1149,7 @@ function UserHeader({
|
|
|
1150
1149
|
boxShadow: "0 2px 8px rgba(0,0,0,0.15)",
|
|
1151
1150
|
position: "sticky",
|
|
1152
1151
|
top: 0,
|
|
1153
|
-
zIndex:
|
|
1152
|
+
zIndex: 40,
|
|
1154
1153
|
color: "#ffffff"
|
|
1155
1154
|
},
|
|
1156
1155
|
children: /* @__PURE__ */ jsxs(
|
|
@@ -1465,35 +1464,7 @@ function UserHeader({
|
|
|
1465
1464
|
]
|
|
1466
1465
|
},
|
|
1467
1466
|
item.id
|
|
1468
|
-
)) })
|
|
1469
|
-
onViewAll && /* @__PURE__ */ jsx(
|
|
1470
|
-
"div",
|
|
1471
|
-
{
|
|
1472
|
-
style: {
|
|
1473
|
-
padding: "10px",
|
|
1474
|
-
borderTop: `1px solid ${isDark ? "#374151" : "#f3f4f6"}`,
|
|
1475
|
-
textAlign: "center",
|
|
1476
|
-
background: isDark ? "#1f2937" : "#fafafa"
|
|
1477
|
-
},
|
|
1478
|
-
children: /* @__PURE__ */ jsx(
|
|
1479
|
-
"button",
|
|
1480
|
-
{
|
|
1481
|
-
onClick: onViewAll,
|
|
1482
|
-
style: {
|
|
1483
|
-
fontSize: "13px",
|
|
1484
|
-
color: "#6b7280",
|
|
1485
|
-
background: "none",
|
|
1486
|
-
border: "none",
|
|
1487
|
-
cursor: "pointer",
|
|
1488
|
-
fontWeight: 500,
|
|
1489
|
-
width: "100%",
|
|
1490
|
-
padding: "4px"
|
|
1491
|
-
},
|
|
1492
|
-
children: "\u0E14\u0E39\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14"
|
|
1493
|
-
}
|
|
1494
|
-
)
|
|
1495
|
-
}
|
|
1496
|
-
)
|
|
1467
|
+
)) })
|
|
1497
1468
|
]
|
|
1498
1469
|
}
|
|
1499
1470
|
)
|
|
@@ -1591,7 +1562,7 @@ function UserSidebar({
|
|
|
1591
1562
|
position: "fixed",
|
|
1592
1563
|
inset: 0,
|
|
1593
1564
|
background: "rgba(0,0,0,0.5)",
|
|
1594
|
-
zIndex:
|
|
1565
|
+
zIndex: 45,
|
|
1595
1566
|
transition: "opacity 0.3s ease"
|
|
1596
1567
|
}
|
|
1597
1568
|
}
|