@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 +0 -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 +0 -3
- package/dist/styles.css.map +1 -1
- package/package.json +2 -1
package/dist/globals.css
CHANGED
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: "
|
|
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: "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.
|
|
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 "";
|