pixelize-design-library 3.3.4 → 3.3.5

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/CHANGELOG.md CHANGED
@@ -9,6 +9,15 @@ Found a bug or a gap? Report it as a GitHub issue and track it to closure — se
9
9
  [COMPONENT-GOTCHAS.md](COMPONENT-GOTCHAS.md#found-a-gap-or-a-bug-report-it-then-track-it). A fix's
10
10
  line below names its issue number.
11
11
 
12
+ ## [3.3.5] — 2026-11-18
13
+
14
+ ### Fixed
15
+
16
+ - **A closed `NotificationCenter` panel still caught clicks** (Bata: clicking a field in a drawer opened a
17
+ notification's link). The panel stays mounted after its first open and hides with `visibility: hidden`, but
18
+ every row set `visibility: visible` on itself, which overrides a hidden parent, so its invisible links sat over
19
+ whatever was below the bell. Rows now inherit the panel's visibility and only set `hidden` while collapsed.
20
+
12
21
  ## [3.3.4] — 2026-11-16
13
22
 
14
23
  ### Fixed
@@ -106,7 +106,7 @@ const NotificationRow = ({ item, variant = "panel", isSelected = false, isChecke
106
106
  },
107
107
  };
108
108
  const linkBody = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isUnread && (0, jsx_runtime_1.jsx)(VisuallyHidden_1.default, { children: `${labels.unread}. ` }), entry.eyebrow && ((0, jsx_runtime_1.jsxs)(react_2.chakra.span, { fontFamily: "mono", fontSize: "xs", fontWeight: 500, color: colors.textMuted, children: [entry.eyebrow, " "] })), (0, jsx_runtime_1.jsx)(rowParts_1.TitleText, { parts: entry.title, isUnread: isUnread })] }));
109
- return ((0, jsx_runtime_1.jsx)(react_2.chakra.li, { listStyleType: "none", display: "grid", gridTemplateRows: isHidden ? "0fr" : "1fr", opacity: isHidden ? 0 : 1, visibility: isHidden ? "hidden" : "visible", "aria-hidden": isHidden ? true : undefined, "data-testid": entry.testId, "data-notification-id": entry.id, "data-status": state.status, sx: {
109
+ return ((0, jsx_runtime_1.jsx)(react_2.chakra.li, { listStyleType: "none", display: "grid", gridTemplateRows: isHidden ? "0fr" : "1fr", opacity: isHidden ? 0 : 1, visibility: isHidden ? "hidden" : undefined, "aria-hidden": isHidden ? true : undefined, "data-testid": entry.testId, "data-notification-id": entry.id, "data-status": state.status, sx: {
110
110
  transition: isHidden ? HIDE : SHOW,
111
111
  contentVisibility: "auto",
112
112
  containIntrinsicSize: "auto 4.5rem",
@@ -101,7 +101,7 @@ const NotificationRow = ({ item, variant = "panel", isSelected = false, isChecke
101
101
  },
102
102
  };
103
103
  const linkBody = (_jsxs(_Fragment, { children: [isUnread && _jsx(VisuallyHidden, { children: `${labels.unread}. ` }), entry.eyebrow && (_jsxs(chakra.span, { fontFamily: "mono", fontSize: "xs", fontWeight: 500, color: colors.textMuted, children: [entry.eyebrow, " "] })), _jsx(TitleText, { parts: entry.title, isUnread: isUnread })] }));
104
- return (_jsx(chakra.li, { listStyleType: "none", display: "grid", gridTemplateRows: isHidden ? "0fr" : "1fr", opacity: isHidden ? 0 : 1, visibility: isHidden ? "hidden" : "visible", "aria-hidden": isHidden ? true : undefined, "data-testid": entry.testId, "data-notification-id": entry.id, "data-status": state.status, sx: {
104
+ return (_jsx(chakra.li, { listStyleType: "none", display: "grid", gridTemplateRows: isHidden ? "0fr" : "1fr", opacity: isHidden ? 0 : 1, visibility: isHidden ? "hidden" : undefined, "aria-hidden": isHidden ? true : undefined, "data-testid": entry.testId, "data-notification-id": entry.id, "data-status": state.status, sx: {
105
105
  transition: isHidden ? HIDE : SHOW,
106
106
  contentVisibility: "auto",
107
107
  containIntrinsicSize: "auto 4.5rem",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "description": "React component library for Pixelize apps: themeable Chakra-based components, design tokens and light/dark brand theming.",
5
5
  "keywords": [
6
6
  "react",