@nswds/app 1.83.3 → 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 +0 -10
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -13
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/globals.css
CHANGED
|
@@ -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: "
|
|
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
|
|
14463
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex
|
|
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
|
{
|