@nswds/app 1.83.3 → 1.83.5

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
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme, base, components, utilities;
@@ -8632,11 +8632,6 @@
8632
8632
  grid-template-columns: 1fr auto;
8633
8633
  }
8634
8634
  }
8635
- .sm\:grid-cols-\[auto\,1fr\,auto\] {
8636
- @media (width >= 40rem) {
8637
- grid-template-columns: auto,1fr,auto;
8638
- }
8639
- }
8640
8635
  .sm\:grid-cols-\[min\(50\%\,--spacing\(80\)\)_auto\] {
8641
8636
  @media (width >= 40rem) {
8642
8637
  grid-template-columns: min(50%, calc(var(--spacing) * 80)) auto;
@@ -8647,11 +8642,6 @@
8647
8642
  flex-direction: row;
8648
8643
  }
8649
8644
  }
8650
- .sm\:items-center {
8651
- @media (width >= 40rem) {
8652
- align-items: center;
8653
- }
8654
- }
8655
8645
  .sm\:justify-center {
8656
8646
  @media (width >= 40rem) {
8657
8647
  justify-content: center;
package/dist/index.cjs CHANGED
@@ -14454,13 +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-1 gap-3 sm:grid-cols-[auto,1fr,auto] sm:items-center", 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
14458
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
14459
14459
  data.githubSlug && /* @__PURE__ */ jsxRuntime.jsx(EditOnGithubButton, { githubSlug: data.githubSlug }),
14460
14460
  data.figmaSlug && /* @__PURE__ */ jsxRuntime.jsx(OpenInFigmaButton, { figmaSlug: data.figmaSlug })
14461
14461
  ] }),
14462
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center", children: controls.viewToggle && /* @__PURE__ */ jsxRuntime.jsx(ToggleViewButtons, { onSelect: setView }) }),
14463
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-3", children: [
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: [
14464
14464
  controls.themeSelector && /* @__PURE__ */ jsxRuntime.jsx(
14465
14465
  ThemeSelectorDropDown,
14466
14466
  {
@@ -17529,7 +17529,7 @@ function FormatToggle({ format, setFormat }) {
17529
17529
 
17530
17530
  // package.json
17531
17531
  var package_default = {
17532
- version: "1.83.2"};
17532
+ version: "1.83.4"};
17533
17533
  var SluggerContext = React5__namespace.default.createContext(null);
17534
17534
  function flattenText(nodes) {
17535
17535
  if (nodes == null || typeof nodes === "boolean") return "";