@nswds/app 1.119.1 → 1.120.0

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.cjs CHANGED
@@ -18998,7 +18998,7 @@ function FormatToggle({ format, setFormat }) {
18998
18998
 
18999
18999
  // package.json
19000
19000
  var package_default = {
19001
- version: "1.119.0"};
19001
+ version: "1.119.2"};
19002
19002
  var SluggerContext = React5__namespace.default.createContext(null);
19003
19003
  function flattenText(nodes) {
19004
19004
  if (nodes == null || typeof nodes === "boolean") return "";
@@ -31425,13 +31425,14 @@ function SidebarProvider({
31425
31425
  } else {
31426
31426
  _setOpen(openState);
31427
31427
  }
31428
- document.cookie = [
31428
+ const cookieParts = [
31429
31429
  `${SIDEBAR_COOKIE_NAME}=${encodeURIComponent(String(openState))}`,
31430
31430
  "path=/",
31431
31431
  `max-age=${SIDEBAR_COOKIE_MAX_AGE}`,
31432
31432
  "SameSite=Lax",
31433
31433
  "Secure"
31434
- ].join("; ");
31434
+ ];
31435
+ document.cookie = cookieParts.join("; ");
31435
31436
  },
31436
31437
  [setOpenProp, open]
31437
31438
  );