@nswds/app 1.95.0 → 1.96.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
@@ -14504,7 +14504,7 @@ function CodeDemoContent({ data, showCode = true, controls = defaultControls })
14504
14504
  /* @__PURE__ */ jsx(SelectTrigger, { size: "sm", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select a variant" }) }),
14505
14505
  /* @__PURE__ */ jsx(SelectContent, { children: variants.map((v) => /* @__PURE__ */ jsx(SelectItem, { value: v, children: variantLabels[v] }, v)) })
14506
14506
  ] }),
14507
- /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: !controls.copyButton && /* @__PURE__ */ jsx(
14507
+ /* @__PURE__ */ jsx("div", { className: "flex justify-end", children: controls.copyButton && /* @__PURE__ */ jsx(
14508
14508
  CopyToClipboardButton,
14509
14509
  {
14510
14510
  isJustCopied,
@@ -17542,7 +17542,7 @@ function FormatToggle({ format, setFormat }) {
17542
17542
 
17543
17543
  // package.json
17544
17544
  var package_default = {
17545
- version: "1.94.0"};
17545
+ version: "1.95.1"};
17546
17546
  var SluggerContext = React5__default.createContext(null);
17547
17547
  function flattenText(nodes) {
17548
17548
  if (nodes == null || typeof nodes === "boolean") return "";