@carlonicora/nextjs-jsonapi 6.20.6 → 6.21.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 (36) hide show
  1. package/dist/{BlockNoteEditor-H5QBL25M.mjs → BlockNoteEditor-66ZACETR.mjs} +2 -2
  2. package/dist/{BlockNoteEditor-IRMQQGPS.js → BlockNoteEditor-NXCRWS2O.js} +9 -9
  3. package/dist/{BlockNoteEditor-IRMQQGPS.js.map → BlockNoteEditor-NXCRWS2O.js.map} +1 -1
  4. package/dist/billing/index.js +378 -378
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-EGTC75OW.js → chunk-3CGU6WXY.js} +8 -4
  7. package/dist/chunk-3CGU6WXY.js.map +1 -0
  8. package/dist/{chunk-RF2PR5G3.mjs → chunk-OHHA5BBX.mjs} +8 -4
  9. package/dist/chunk-OHHA5BBX.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.map +1 -1
  13. package/dist/components/index.js +2 -2
  14. package/dist/components/index.mjs +1 -1
  15. package/dist/contexts/index.js +2 -2
  16. package/dist/contexts/index.mjs +1 -1
  17. package/dist/email-automations/index.js +78 -78
  18. package/dist/email-automations/index.mjs +1 -1
  19. package/dist/features/analytics/index.js +107 -107
  20. package/dist/features/analytics/index.mjs +1 -1
  21. package/dist/features/blog/index.js +93 -93
  22. package/dist/features/blog/index.mjs +1 -1
  23. package/dist/features/help/index.js +31 -31
  24. package/dist/features/help/index.mjs +1 -1
  25. package/dist/features/tokenusage/index.js +102 -102
  26. package/dist/features/tokenusage/index.mjs +1 -1
  27. package/dist/shadcnui/ui/popover.d.ts +1 -1
  28. package/dist/shadcnui/ui/popover.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/components/containers/RoundPageContainer.tsx +11 -2
  31. package/src/components/containers/__tests__/RoundPageContainer.padding.spec.tsx +21 -0
  32. package/src/shadcnui/ui/__tests__/popover.container.spec.tsx +22 -0
  33. package/src/shadcnui/ui/popover.tsx +7 -2
  34. package/dist/chunk-EGTC75OW.js.map +0 -1
  35. package/dist/chunk-RF2PR5G3.mjs.map +0 -1
  36. /package/dist/{BlockNoteEditor-H5QBL25M.mjs.map → BlockNoteEditor-66ZACETR.mjs.map} +0 -0
@@ -3202,10 +3202,11 @@ function PopoverContent({
3202
3202
  side = "bottom",
3203
3203
  sideOffset = 4,
3204
3204
  anchor,
3205
+ container,
3205
3206
  ...props
3206
3207
  }) {
3207
3208
  const matchesAnchorWidth = typeof className === "string" && className.includes("--anchor-width");
3208
- return /* @__PURE__ */ jsx31(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx31(
3209
+ return /* @__PURE__ */ jsx31(PopoverPrimitive.Portal, { container, children: /* @__PURE__ */ jsx31(
3209
3210
  PopoverPrimitive.Positioner,
3210
3211
  {
3211
3212
  align,
@@ -10867,7 +10868,7 @@ import { useRef as useRef18 } from "react";
10867
10868
  import dynamic from "next/dynamic";
10868
10869
  import React18 from "react";
10869
10870
  import { jsx as jsx91 } from "react/jsx-runtime";
10870
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-H5QBL25M.mjs"), {
10871
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-66ZACETR.mjs"), {
10871
10872
  ssr: false
10872
10873
  });
10873
10874
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -16449,7 +16450,8 @@ function RoundPageContainer({
16449
16450
  document.documentElement.dataset.scrollMode = scroll;
16450
16451
  }, [scroll]);
16451
16452
  const isFixed = scroll === "fixed";
16452
- const shellHeight = isFixed ? `h-[calc(100svh-var(--app-header-h,3rem)-var(--app-banner-h,0px))]` : `min-h-[calc(100svh-var(--app-header-h,3rem)-var(--app-banner-h,0px))]`;
16453
+ const shellHeight = isFixed ? `h-[calc(100svh-var(--app-header-h,3rem)-var(--app-banner-h,0px)-var(--app-footer-h,0px))]` : `min-h-[calc(100svh-var(--app-header-h,3rem)-var(--app-banner-h,0px)-var(--app-footer-h,0px))]`;
16454
+ const footerSpace = isFixed ? `` : `mb-[var(--app-footer-h,0px)]`;
16453
16455
  const clip = isFixed ? `overflow-hidden` : ``;
16454
16456
  const scrollY = isFixed ? `overflow-y-auto` : ``;
16455
16457
  const mobileBarClass = isFixed ? `` : `sticky bottom-0 z-30`;
@@ -16524,6 +16526,7 @@ function RoundPageContainer({
16524
16526
  className: cn(
16525
16527
  "flex w-full flex-col",
16526
16528
  shellHeight,
16529
+ footerSpace,
16527
16530
  // Deliberately NO bottom safe-area inset, here or in
16528
16531
  // MobileNavigationBar. iOS still reports 34px of bottom inset
16529
16532
  // (measured in an installed PWA), but nothing is drawn in that strip
@@ -16561,6 +16564,7 @@ function RoundPageContainer({
16561
16564
  className: cn(
16562
16565
  `flex w-full flex-col`,
16563
16566
  shellHeight,
16567
+ footerSpace,
16564
16568
  // Deliberately NO bottom safe-area inset, here or in
16565
16569
  // MobileNavigationBar. iOS still reports 34px of bottom inset
16566
16570
  // (measured in an installed PWA), but nothing is drawn in that strip
@@ -30881,4 +30885,4 @@ export {
30881
30885
  useOAuthClients,
30882
30886
  useOAuthClient
30883
30887
  };
30884
- //# sourceMappingURL=chunk-RF2PR5G3.mjs.map
30888
+ //# sourceMappingURL=chunk-OHHA5BBX.mjs.map