@carlonicora/nextjs-jsonapi 1.44.0 → 1.44.2

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.
@@ -8202,11 +8202,20 @@ __name(FormSlider, "FormSlider");
8202
8202
 
8203
8203
  // src/components/forms/FormSwitch.tsx
8204
8204
  import { jsx as jsx73, jsxs as jsxs42 } from "react/jsx-runtime";
8205
- function FormSwitch({ form, id, name, disabled }) {
8206
- return /* @__PURE__ */ jsx73("div", { className: "flex w-full flex-col", children: /* @__PURE__ */ jsx73(FormFieldWrapper, { form, name: id, orientation: "horizontal", children: (field) => /* @__PURE__ */ jsxs42("div", { className: "flex flex-row gap-x-4", children: [
8207
- /* @__PURE__ */ jsx73(Switch, { checked: field.value, onCheckedChange: field.onChange, disabled }),
8208
- name && /* @__PURE__ */ jsx73(FieldLabel, { children: name })
8209
- ] }) }) });
8205
+ function FormSwitch({
8206
+ form,
8207
+ id,
8208
+ name,
8209
+ disabled,
8210
+ description
8211
+ }) {
8212
+ return /* @__PURE__ */ jsxs42("div", { className: "flex w-full flex-col", children: [
8213
+ /* @__PURE__ */ jsx73(FormFieldWrapper, { form, name: id, orientation: "horizontal", children: (field) => /* @__PURE__ */ jsxs42("div", { className: "flex flex-row gap-x-4", children: [
8214
+ /* @__PURE__ */ jsx73(Switch, { checked: field.value, onCheckedChange: field.onChange, disabled }),
8215
+ name && /* @__PURE__ */ jsx73(FieldLabel, { children: name })
8216
+ ] }) }),
8217
+ description && /* @__PURE__ */ jsx73(FieldDescription, { children: description })
8218
+ ] });
8210
8219
  }
8211
8220
  __name(FormSwitch, "FormSwitch");
8212
8221
 
@@ -8704,7 +8713,7 @@ var UserProvider = /* @__PURE__ */ __name(({ children, dehydratedUser }) => {
8704
8713
  const response = [];
8705
8714
  if (hasPermissionToModule({ module: Modules.User, action: "update" /* Update */ })) {
8706
8715
  response.push({
8707
- name: t(`common.settings`),
8716
+ name: t(`common.settings`, { item: "settings" }),
8708
8717
  href: generateUrl({ page: `/settings` })
8709
8718
  });
8710
8719
  response.push({
@@ -10913,7 +10922,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
10913
10922
  import dynamic from "next/dynamic";
10914
10923
  import React15 from "react";
10915
10924
  import { jsx as jsx126 } from "react/jsx-runtime";
10916
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-6AFK4CWV.mjs"), {
10925
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-2ZP2BEZC.mjs"), {
10917
10926
  ssr: false
10918
10927
  });
10919
10928
  var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -11013,12 +11022,12 @@ function PageContentContainer({ header, details, footer, content, fullBleed }) {
11013
11022
  id: "right-panel",
11014
11023
  defaultSize: rightPanelDefaultSize,
11015
11024
  className: cn("w-full", isMobile ? "pt-4" : ""),
11016
- children: /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto", fullBleed ? "" : "px-4 pb-20"), children: content })
11025
+ children: /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto pt-4", fullBleed ? "" : "px-4 pb-20"), children: content })
11017
11026
  }
11018
11027
  )
11019
11028
  ]
11020
11029
  }
11021
- ) : /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto", fullBleed ? "" : "px-4 pb-20"), children: content }) })
11030
+ ) : /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto pt-4", fullBleed ? "" : "px-4 pb-20"), children: content }) })
11022
11031
  ] });
11023
11032
  }
11024
11033
  __name(PageContentContainer, "PageContentContainer");
@@ -16481,4 +16490,4 @@ export {
16481
16490
  useOAuthClients,
16482
16491
  useOAuthClient
16483
16492
  };
16484
- //# sourceMappingURL=chunk-7DS3XSAU.mjs.map
16493
+ //# sourceMappingURL=chunk-CLXIZJVH.mjs.map