@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 +1 -11
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -14
- package/dist/styles.css.map +1 -1
- package/package.json +11 -7
package/dist/index.js
CHANGED
|
@@ -14400,13 +14400,13 @@ function CodeDemoContent({ data, showCode = true, controls = defaultControls })
|
|
|
14400
14400
|
}
|
|
14401
14401
|
}, [themeCategory, primaryColor, accentColor, greyColor, isThemeInitialized]);
|
|
14402
14402
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8", children: [
|
|
14403
|
-
/* @__PURE__ */ 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__ */ jsxs("div", { className: "
|
|
14403
|
+
/* @__PURE__ */ 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__ */ jsxs("div", { className: "relative flex w-full items-center", children: [
|
|
14404
14404
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
14405
14405
|
data.githubSlug && /* @__PURE__ */ jsx(EditOnGithubButton, { githubSlug: data.githubSlug }),
|
|
14406
14406
|
data.figmaSlug && /* @__PURE__ */ jsx(OpenInFigmaButton, { figmaSlug: data.figmaSlug })
|
|
14407
14407
|
] }),
|
|
14408
|
-
/* @__PURE__ */ jsx("div", { className: "flex
|
|
14409
|
-
/* @__PURE__ */ jsxs("div", { className: "flex
|
|
14408
|
+
/* @__PURE__ */ jsx("div", { className: "absolute left-1/2 flex -translate-x-1/2 items-center", children: controls.viewToggle && /* @__PURE__ */ jsx(ToggleViewButtons, { onSelect: setView }) }),
|
|
14409
|
+
/* @__PURE__ */ jsxs("div", { className: "ml-auto flex items-center gap-3", children: [
|
|
14410
14410
|
controls.themeSelector && /* @__PURE__ */ jsx(
|
|
14411
14411
|
ThemeSelectorDropDown,
|
|
14412
14412
|
{
|
|
@@ -17475,7 +17475,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
17475
17475
|
|
|
17476
17476
|
// package.json
|
|
17477
17477
|
var package_default = {
|
|
17478
|
-
version: "1.83.
|
|
17478
|
+
version: "1.83.4"};
|
|
17479
17479
|
var SluggerContext = React5__default.createContext(null);
|
|
17480
17480
|
function flattenText(nodes) {
|
|
17481
17481
|
if (nodes == null || typeof nodes === "boolean") return "";
|