@nswds/app 1.83.2 → 1.83.4

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/globals.css CHANGED
@@ -513,9 +513,6 @@
513
513
  .z-\[1\] {
514
514
  z-index: 1;
515
515
  }
516
- .col-span-1 {
517
- grid-column: span 1 / span 1;
518
- }
519
516
  .col-start-1 {
520
517
  grid-column-start: 1;
521
518
  }
package/dist/index.cjs CHANGED
@@ -14454,11 +14454,13 @@ function CodeDemoContent({ data, showCode = true, controls = defaultControls })
14454
14454
  }
14455
14455
  }, [themeCategory, primaryColor, accentColor, greyColor, isThemeInitialized]);
14456
14456
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8", children: [
14457
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full rounded-t-xl border border-grey-200 bg-grey-50 p-4 dark:border-grey-600 dark:bg-grey-700", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 sm:grid-cols-3", children: [
14458
- data.githubSlug && /* @__PURE__ */ jsxRuntime.jsx(EditOnGithubButton, { githubSlug: data.githubSlug }),
14459
- data.figmaSlug && /* @__PURE__ */ jsxRuntime.jsx(OpenInFigmaButton, { figmaSlug: data.figmaSlug }),
14460
- controls.viewToggle && /* @__PURE__ */ jsxRuntime.jsx(ToggleViewButtons, { onSelect: setView }),
14461
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-1 flex justify-end gap-3", children: [
14457
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full rounded-t-xl border border-grey-200 bg-grey-50 p-4 dark:border-grey-600 dark:bg-grey-700", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex w-full items-center", children: [
14458
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14459
+ data.githubSlug && /* @__PURE__ */ jsxRuntime.jsx(EditOnGithubButton, { githubSlug: data.githubSlug }),
14460
+ data.figmaSlug && /* @__PURE__ */ jsxRuntime.jsx(OpenInFigmaButton, { figmaSlug: data.figmaSlug })
14461
+ ] }),
14462
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-1/2 flex -translate-x-1/2 items-center", children: controls.viewToggle && /* @__PURE__ */ jsxRuntime.jsx(ToggleViewButtons, { onSelect: setView }) }),
14463
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-auto flex items-center gap-3", children: [
14462
14464
  controls.themeSelector && /* @__PURE__ */ jsxRuntime.jsx(
14463
14465
  ThemeSelectorDropDown,
14464
14466
  {
@@ -17527,7 +17529,7 @@ function FormatToggle({ format, setFormat }) {
17527
17529
 
17528
17530
  // package.json
17529
17531
  var package_default = {
17530
- version: "1.82.1"};
17532
+ version: "1.83.2"};
17531
17533
  var SluggerContext = React5__namespace.default.createContext(null);
17532
17534
  function flattenText(nodes) {
17533
17535
  if (nodes == null || typeof nodes === "boolean") return "";