@nypl/design-system-react-components 3.5.0-rc2 → 3.5.0-rc3

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.
@@ -42910,19 +42910,27 @@ function l$() {
42910
42910
  showRightFade: n
42911
42911
  };
42912
42912
  }
42913
- const s$ = ({ id: n, children: a, isOutlined: o, isSelected: l, screenreaderOnlyText: i = "" }) => {
42914
- const f = S2("SubNavChildren", {
42913
+ const s$ = ({
42914
+ id: n,
42915
+ children: a,
42916
+ isOutlined: o,
42917
+ isSelected: l,
42918
+ onClick: i,
42919
+ screenreaderOnlyText: f = ""
42920
+ }) => {
42921
+ const d = S2("SubNavChildren", {
42915
42922
  isOutlined: o
42916
42923
  });
42917
42924
  return /* @__PURE__ */ x.jsx("li", { children: /* @__PURE__ */ x.jsx(
42918
42925
  y3,
42919
42926
  {
42920
- id: n,
42927
+ "aria-current": l ? "page" : null,
42921
42928
  buttonType: "text",
42922
42929
  className: l ? "selectedItem" : "",
42923
- sx: f.outLine,
42924
- "aria-current": l ? "page" : null,
42925
- screenreaderOnlyText: i,
42930
+ id: n,
42931
+ onClick: i,
42932
+ screenreaderOnlyText: f,
42933
+ sx: d.outLine,
42926
42934
  children: a
42927
42935
  }
42928
42936
  ) });
@@ -42940,13 +42948,13 @@ const s$ = ({ id: n, children: a, isOutlined: o, isSelected: l, screenreaderOnly
42940
42948
  return /* @__PURE__ */ x.jsx("li", { children: /* @__PURE__ */ x.jsx(
42941
42949
  we,
42942
42950
  {
42943
- id: n,
42944
- type: "action",
42951
+ "aria-current": l ? "page" : null,
42952
+ className: l ? "selectedItem" : "",
42945
42953
  href: i,
42954
+ id: n,
42946
42955
  isUnderlined: !1,
42947
42956
  screenreaderOnlyText: f,
42948
- "aria-current": l ? "page" : null,
42949
- className: l ? "selectedItem" : "",
42957
+ type: "action",
42950
42958
  sx: d.outLine,
42951
42959
  children: a
42952
42960
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.5.0-rc2",
3
+ "version": "3.5.0-rc3",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",