@nswds/app 1.83.2 → 1.83.3
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 +10 -3
- package/dist/index.cjs +8 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -3
- package/dist/styles.css.map +1 -1
- package/package.json +2 -1
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
|
}
|
|
@@ -8635,6 +8632,11 @@
|
|
|
8635
8632
|
grid-template-columns: 1fr auto;
|
|
8636
8633
|
}
|
|
8637
8634
|
}
|
|
8635
|
+
.sm\:grid-cols-\[auto\,1fr\,auto\] {
|
|
8636
|
+
@media (width >= 40rem) {
|
|
8637
|
+
grid-template-columns: auto,1fr,auto;
|
|
8638
|
+
}
|
|
8639
|
+
}
|
|
8638
8640
|
.sm\:grid-cols-\[min\(50\%\,--spacing\(80\)\)_auto\] {
|
|
8639
8641
|
@media (width >= 40rem) {
|
|
8640
8642
|
grid-template-columns: min(50%, calc(var(--spacing) * 80)) auto;
|
|
@@ -8645,6 +8647,11 @@
|
|
|
8645
8647
|
flex-direction: row;
|
|
8646
8648
|
}
|
|
8647
8649
|
}
|
|
8650
|
+
.sm\:items-center {
|
|
8651
|
+
@media (width >= 40rem) {
|
|
8652
|
+
align-items: center;
|
|
8653
|
+
}
|
|
8654
|
+
}
|
|
8648
8655
|
.sm\:justify-center {
|
|
8649
8656
|
@media (width >= 40rem) {
|
|
8650
8657
|
justify-content: center;
|
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-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
|
|
14461
|
-
|
|
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: [
|
|
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: "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
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.
|
|
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 "";
|