@carlonicora/nextjs-jsonapi 1.141.1 → 1.141.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.
Files changed (32) hide show
  1. package/dist/{BlockNoteEditor-WUDLPAKY.mjs → BlockNoteEditor-3V7LHCFY.mjs} +2 -2
  2. package/dist/{BlockNoteEditor-WAJ4EEUA.js → BlockNoteEditor-S6LWQDMF.js} +9 -9
  3. package/dist/{BlockNoteEditor-WAJ4EEUA.js.map → BlockNoteEditor-S6LWQDMF.js.map} +1 -1
  4. package/dist/billing/index.js +310 -310
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-R6FRTQXV.mjs → chunk-7ZEETAQV.mjs} +6 -5
  7. package/dist/chunk-7ZEETAQV.mjs.map +1 -0
  8. package/dist/{chunk-TH7LJXCQ.js → chunk-S4G7IXZZ.js} +6 -5
  9. package/dist/chunk-S4G7IXZZ.js.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/index.d.mts +2 -2
  13. package/dist/components/index.d.ts +2 -2
  14. package/dist/components/index.js +2 -2
  15. package/dist/components/index.mjs +1 -1
  16. package/dist/contexts/index.js +2 -2
  17. package/dist/contexts/index.mjs +1 -1
  18. package/dist/features/help/index.js +31 -31
  19. package/dist/features/help/index.mjs +1 -1
  20. package/dist/server/index.js +3 -3
  21. package/dist/server/index.js.map +1 -1
  22. package/dist/server/index.mjs +2 -2
  23. package/dist/server/index.mjs.map +1 -1
  24. package/package.json +51 -52
  25. package/src/components/forms/FileUploader.tsx +18 -3
  26. package/src/components/forms/FormInput.tsx +1 -2
  27. package/src/features/auth/utils/AuthCookies.ts +2 -2
  28. package/src/server/ServerSession.ts +2 -2
  29. package/src/shadcnui/ui/calendar.tsx +1 -1
  30. package/dist/chunk-R6FRTQXV.mjs.map +0 -1
  31. package/dist/chunk-TH7LJXCQ.js.map +0 -1
  32. /package/dist/{BlockNoteEditor-WUDLPAKY.mjs.map → BlockNoteEditor-3V7LHCFY.mjs.map} +0 -0
@@ -48,7 +48,7 @@ import {
48
48
  TabsList,
49
49
  TabsTrigger,
50
50
  useCurrentUserContext
51
- } from "../chunk-R6FRTQXV.mjs";
51
+ } from "../chunk-7ZEETAQV.mjs";
52
52
  import {
53
53
  getRoleId,
54
54
  getStripePublishableKey
@@ -703,7 +703,7 @@ function Calendar({
703
703
  captionLayout === "label" ? "text-sm" : "cn-calendar-caption-label rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",
704
704
  defaultClassNames.caption_label
705
705
  ),
706
- table: "w-full border-collapse",
706
+ month_grid: cn("w-full border-collapse", defaultClassNames.month_grid),
707
707
  weekdays: cn("flex", defaultClassNames.weekdays),
708
708
  weekday: cn(
709
709
  "text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-xs select-none",
@@ -10096,11 +10096,12 @@ var FileInput = forwardRef6(
10096
10096
  const { isDragActive: parentIsDragActive } = dropzoneState;
10097
10097
  const acceptedLabels = useMemo13(() => {
10098
10098
  if (!accept) return null;
10099
+ const entries = Array.isArray(accept) ? accept.flatMap((group) => Object.entries(group.accept)) : Object.entries(accept);
10099
10100
  const extensions = /* @__PURE__ */ new Set();
10100
10101
  let hasWildcardImages = false;
10101
- for (const [mime, exts] of Object.entries(accept)) {
10102
+ for (const [mime, exts] of entries) {
10102
10103
  if (mime === "image/*") hasWildcardImages = true;
10103
- for (const ext of exts) extensions.add(ext);
10104
+ for (const ext of typeof exts === "string" ? [exts] : exts) extensions.add(ext);
10104
10105
  }
10105
10106
  const labels = Array.from(extensions).sort();
10106
10107
  if (hasWildcardImages) labels.push(t("ui.labels.images"));
@@ -10163,7 +10164,7 @@ import { useRef as useRef17 } from "react";
10163
10164
  import dynamic from "next/dynamic";
10164
10165
  import React17 from "react";
10165
10166
  import { jsx as jsx86 } from "react/jsx-runtime";
10166
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-WUDLPAKY.mjs"), {
10167
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-3V7LHCFY.mjs"), {
10167
10168
  ssr: false
10168
10169
  });
10169
10170
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -23949,4 +23950,4 @@ export {
23949
23950
  useOAuthClients,
23950
23951
  useOAuthClient
23951
23952
  };
23952
- //# sourceMappingURL=chunk-R6FRTQXV.mjs.map
23953
+ //# sourceMappingURL=chunk-7ZEETAQV.mjs.map