@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.js CHANGED
@@ -18942,7 +18942,7 @@ function FormatToggle({ format, setFormat }) {
18942
18942
 
18943
18943
  // package.json
18944
18944
  var package_default = {
18945
- version: "1.119.0"};
18945
+ version: "1.119.2"};
18946
18946
  var SluggerContext = React5__default.createContext(null);
18947
18947
  function flattenText(nodes) {
18948
18948
  if (nodes == null || typeof nodes === "boolean") return "";
@@ -31369,13 +31369,14 @@ function SidebarProvider({
31369
31369
  } else {
31370
31370
  _setOpen(openState);
31371
31371
  }
31372
- document.cookie = [
31372
+ const cookieParts = [
31373
31373
  `${SIDEBAR_COOKIE_NAME}=${encodeURIComponent(String(openState))}`,
31374
31374
  "path=/",
31375
31375
  `max-age=${SIDEBAR_COOKIE_MAX_AGE}`,
31376
31376
  "SameSite=Lax",
31377
31377
  "Secure"
31378
- ].join("; ");
31378
+ ];
31379
+ document.cookie = cookieParts.join("; ");
31379
31380
  },
31380
31381
  [setOpenProp, open]
31381
31382
  );