@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.
- package/dist/{BlockNoteEditor-WUDLPAKY.mjs → BlockNoteEditor-3V7LHCFY.mjs} +2 -2
- package/dist/{BlockNoteEditor-WAJ4EEUA.js → BlockNoteEditor-S6LWQDMF.js} +9 -9
- package/dist/{BlockNoteEditor-WAJ4EEUA.js.map → BlockNoteEditor-S6LWQDMF.js.map} +1 -1
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-R6FRTQXV.mjs → chunk-7ZEETAQV.mjs} +6 -5
- package/dist/chunk-7ZEETAQV.mjs.map +1 -0
- package/dist/{chunk-TH7LJXCQ.js → chunk-S4G7IXZZ.js} +6 -5
- package/dist/chunk-S4G7IXZZ.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/index.mjs.map +1 -1
- package/package.json +51 -52
- package/src/components/forms/FileUploader.tsx +18 -3
- package/src/components/forms/FormInput.tsx +1 -2
- package/src/features/auth/utils/AuthCookies.ts +2 -2
- package/src/server/ServerSession.ts +2 -2
- package/src/shadcnui/ui/calendar.tsx +1 -1
- package/dist/chunk-R6FRTQXV.mjs.map +0 -1
- package/dist/chunk-TH7LJXCQ.js.map +0 -1
- /package/dist/{BlockNoteEditor-WUDLPAKY.mjs.map → BlockNoteEditor-3V7LHCFY.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -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
|
-
|
|
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
|
|
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-
|
|
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-
|
|
23953
|
+
//# sourceMappingURL=chunk-7ZEETAQV.mjs.map
|