@carlonicora/nextjs-jsonapi 6.27.0 → 6.28.0

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.
Files changed (37) hide show
  1. package/dist/{BlockNoteEditor-D2DXVXTJ.mjs → BlockNoteEditor-2LO34HXR.mjs} +2 -2
  2. package/dist/{BlockNoteEditor-NQB75M47.js → BlockNoteEditor-SWDRMNLT.js} +9 -9
  3. package/dist/{BlockNoteEditor-NQB75M47.js.map → BlockNoteEditor-SWDRMNLT.js.map} +1 -1
  4. package/dist/billing/index.js +378 -378
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-YGV27OAW.js → chunk-6RWEYSYE.js} +27 -5
  7. package/dist/chunk-6RWEYSYE.js.map +1 -0
  8. package/dist/{chunk-HU3AGUFI.mjs → chunk-NV3NNNS6.mjs} +27 -5
  9. package/dist/chunk-NV3NNNS6.mjs.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/containers/RoundPageContainer.d.ts +3 -1
  13. package/dist/components/containers/RoundPageContainer.d.ts.map +1 -1
  14. package/dist/components/index.js +2 -2
  15. package/dist/components/index.mjs +1 -1
  16. package/dist/components/typography/DetailField.d.ts +3 -1
  17. package/dist/components/typography/DetailField.d.ts.map +1 -1
  18. package/dist/contexts/index.js +2 -2
  19. package/dist/contexts/index.mjs +1 -1
  20. package/dist/email-automations/index.js +78 -78
  21. package/dist/email-automations/index.mjs +1 -1
  22. package/dist/features/analytics/index.js +107 -107
  23. package/dist/features/analytics/index.mjs +1 -1
  24. package/dist/features/blog/index.js +93 -93
  25. package/dist/features/blog/index.mjs +1 -1
  26. package/dist/features/help/index.js +31 -31
  27. package/dist/features/help/index.mjs +1 -1
  28. package/dist/features/tokenusage/index.js +102 -102
  29. package/dist/features/tokenusage/index.mjs +1 -1
  30. package/package.json +1 -1
  31. package/src/components/containers/RoundPageContainer.tsx +21 -2
  32. package/src/components/containers/__tests__/RoundPageContainer.detailsSurface.spec.tsx +82 -0
  33. package/src/components/typography/DetailField.tsx +4 -1
  34. package/src/components/typography/__tests__/DetailField.spec.tsx +13 -0
  35. package/dist/chunk-HU3AGUFI.mjs.map +0 -1
  36. package/dist/chunk-YGV27OAW.js.map +0 -1
  37. /package/dist/{BlockNoteEditor-D2DXVXTJ.mjs.map → BlockNoteEditor-2LO34HXR.mjs.map} +0 -0
@@ -9253,6 +9253,7 @@ function DetailField({
9253
9253
  value,
9254
9254
  horizontal = false,
9255
9255
  labelWidth,
9256
+ valueClassName,
9256
9257
  className,
9257
9258
  children,
9258
9259
  ...props
@@ -9265,7 +9266,7 @@ function DetailField({
9265
9266
  ...props,
9266
9267
  children: [
9267
9268
  /* @__PURE__ */ jsx75("span", { className: cn("text-muted-foreground text-xs", horizontal && labelWidth && cn("shrink-0", labelWidth)), children: label }),
9268
- /* @__PURE__ */ jsx75("div", { className: "text-sm", children: value ?? children })
9269
+ /* @__PURE__ */ jsx75("div", { className: cn("text-sm", valueClassName), children: value ?? children })
9269
9270
  ]
9270
9271
  }
9271
9272
  );
@@ -10875,7 +10876,7 @@ import { useRef as useRef18 } from "react";
10875
10876
  import dynamic from "next/dynamic";
10876
10877
  import React18 from "react";
10877
10878
  import { jsx as jsx91 } from "react/jsx-runtime";
10878
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-D2DXVXTJ.mjs"), {
10879
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-2LO34HXR.mjs"), {
10879
10880
  ssr: false
10880
10881
  });
10881
10882
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -16506,6 +16507,7 @@ function RoundPageContainer({
16506
16507
  defaultDetailsOpen = false,
16507
16508
  detailsTitle,
16508
16509
  detailsIcon,
16510
+ detailsSurface = "default",
16509
16511
  scroll = "fixed"
16510
16512
  }) {
16511
16513
  const t = useTranslations63();
@@ -16860,7 +16862,17 @@ function RoundPageContainer({
16860
16862
  className: "data-[side=left]:w-full data-[side=right]:w-full data-[side=left]:sm:max-w-none data-[side=right]:sm:max-w-none",
16861
16863
  children: [
16862
16864
  /* @__PURE__ */ jsx172(SheetHeader, { children: /* @__PURE__ */ jsx172(SheetTitle, { children: detailsTitle ?? t("ui.labels.details") }) }),
16863
- /* @__PURE__ */ jsx172("div", { className: "overflow-y-auto p-6 pt-0", children: details })
16865
+ /* @__PURE__ */ jsx172(
16866
+ "div",
16867
+ {
16868
+ "data-slot": "details-body",
16869
+ className: cn(
16870
+ "overflow-y-auto",
16871
+ detailsSurface === "muted" ? "bg-muted dark:bg-background p-3" : "p-6 pt-0"
16872
+ ),
16873
+ children: details
16874
+ }
16875
+ )
16864
16876
  ]
16865
16877
  }
16866
16878
  ) }) : /* @__PURE__ */ jsxs96(
@@ -16892,7 +16904,17 @@ function RoundPageContainer({
16892
16904
  // inside the measured row instead leaves this header 1px short of
16893
16905
  // the page title bar, since `box-sizing: border-box` absorbs it.
16894
16906
  /* @__PURE__ */ jsx172("div", { className: "shrink-0 border-b", children: /* @__PURE__ */ jsx172("div", { className: cn("flex items-center p-4", HEADER_ROW_MIN_H), children: /* @__PURE__ */ jsx172("span", { className: "text-primary truncate text-sm font-semibold", children: detailsTitle }) }) }),
16895
- /* @__PURE__ */ jsx172("div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: details })
16907
+ /* @__PURE__ */ jsx172(
16908
+ "div",
16909
+ {
16910
+ "data-slot": "details-body",
16911
+ className: cn(
16912
+ "min-h-0 flex-1 overflow-y-auto",
16913
+ detailsSurface === "muted" ? "bg-muted dark:bg-background p-3" : "p-4"
16914
+ ),
16915
+ children: details
16916
+ }
16917
+ )
16896
16918
  ]
16897
16919
  }
16898
16920
  ))
@@ -30979,4 +31001,4 @@ export {
30979
31001
  useOAuthClients,
30980
31002
  useOAuthClient
30981
31003
  };
30982
- //# sourceMappingURL=chunk-HU3AGUFI.mjs.map
31004
+ //# sourceMappingURL=chunk-NV3NNNS6.mjs.map