@nswds/app 1.49.0 → 1.50.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
@@ -7784,7 +7784,7 @@ function Heading({
7784
7784
 
7785
7785
  // package.json
7786
7786
  var package_default = {
7787
- version: "1.48.3"};
7787
+ version: "1.49.0"};
7788
7788
  function Logo(props) {
7789
7789
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7790
7790
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "NSW Government" }),
@@ -16738,6 +16738,7 @@ function SheetContent({
16738
16738
  className,
16739
16739
  children,
16740
16740
  side = "right",
16741
+ showClose = true,
16741
16742
  ...props
16742
16743
  }) {
16743
16744
  return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
@@ -16757,7 +16758,7 @@ function SheetContent({
16757
16758
  ...props,
16758
16759
  children: [
16759
16760
  children,
16760
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { "data-slot": "sheet-close", className: "absolute top-4 right-4", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button2, { variant: "ghost", size: "icon", children: [
16761
+ showClose && /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { "data-slot": "sheet-close", className: "absolute top-4 right-4", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button2, { variant: "ghost", size: "icon", children: [
16761
16762
  /* @__PURE__ */ jsxRuntime.jsx(Icons.close, { className: "size-6", "aria-hidden": "true" }),
16762
16763
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
16763
16764
  ] }) })