@carlonicora/nextjs-jsonapi 1.140.1 → 1.140.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-AXAC3W24.mjs → BlockNoteEditor-5ZEC7GOM.mjs} +2 -2
- package/dist/{BlockNoteEditor-GWVODMOP.js → BlockNoteEditor-WLZU6FDU.js} +9 -9
- package/dist/{BlockNoteEditor-GWVODMOP.js.map → BlockNoteEditor-WLZU6FDU.js.map} +1 -1
- package/dist/billing/index.js +310 -310
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-5KHBH3ZW.js → chunk-B6YG6SJ6.js} +13 -10
- package/dist/chunk-B6YG6SJ6.js.map +1 -0
- package/dist/{chunk-B5YZFCPE.mjs → chunk-LB5B5KYF.mjs} +13 -10
- package/dist/chunk-LB5B5KYF.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- 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/package.json +1 -1
- package/src/components/forms/DateRangeSelector.tsx +8 -4
- package/dist/chunk-5KHBH3ZW.js.map +0 -1
- package/dist/chunk-B5YZFCPE.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-AXAC3W24.mjs.map → BlockNoteEditor-5ZEC7GOM.mjs.map} +0 -0
|
@@ -9290,6 +9290,7 @@ import { useEffect as useEffect15, useState as useState21 } from "react";
|
|
|
9290
9290
|
import { Fragment as Fragment9, jsx as jsx82, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
9291
9291
|
function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth }) {
|
|
9292
9292
|
const t = useTranslations14();
|
|
9293
|
+
const dateFnsLocale = useI18nDateFnsLocale();
|
|
9293
9294
|
const [date, setDate] = useState21(
|
|
9294
9295
|
avoidSettingDates ? void 0 : {
|
|
9295
9296
|
from: new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
@@ -9330,10 +9331,11 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
|
|
|
9330
9331
|
children: [
|
|
9331
9332
|
/* @__PURE__ */ jsx82(CalendarIcon2, {}),
|
|
9332
9333
|
date?.from ? date.to ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
|
|
9333
|
-
format(date.from, "
|
|
9334
|
-
" -
|
|
9335
|
-
|
|
9336
|
-
|
|
9334
|
+
format(date.from, "d MMM yyyy", { locale: dateFnsLocale }),
|
|
9335
|
+
" -",
|
|
9336
|
+
" ",
|
|
9337
|
+
format(date.to, "d MMM yyyy", { locale: dateFnsLocale })
|
|
9338
|
+
] }) : format(date.from, "d MMM yyyy", { locale: dateFnsLocale }) : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
|
|
9337
9339
|
]
|
|
9338
9340
|
}
|
|
9339
9341
|
) });
|
|
@@ -9353,10 +9355,11 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
|
|
|
9353
9355
|
children: [
|
|
9354
9356
|
/* @__PURE__ */ jsx82(CalendarIcon2, {}),
|
|
9355
9357
|
date?.from ? date.to ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
|
|
9356
|
-
format(date.from, "
|
|
9357
|
-
" -
|
|
9358
|
-
|
|
9359
|
-
|
|
9358
|
+
format(date.from, "d MMM yyyy", { locale: dateFnsLocale }),
|
|
9359
|
+
" -",
|
|
9360
|
+
" ",
|
|
9361
|
+
format(date.to, "d MMM yyyy", { locale: dateFnsLocale })
|
|
9362
|
+
] }) : format(date.from, "d MMM yyyy", { locale: dateFnsLocale }) : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
|
|
9360
9363
|
]
|
|
9361
9364
|
}
|
|
9362
9365
|
),
|
|
@@ -10128,7 +10131,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10128
10131
|
import dynamic from "next/dynamic";
|
|
10129
10132
|
import React17 from "react";
|
|
10130
10133
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
10131
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10134
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-5ZEC7GOM.mjs"), {
|
|
10132
10135
|
ssr: false
|
|
10133
10136
|
});
|
|
10134
10137
|
var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -23914,4 +23917,4 @@ export {
|
|
|
23914
23917
|
useOAuthClients,
|
|
23915
23918
|
useOAuthClient
|
|
23916
23919
|
};
|
|
23917
|
-
//# sourceMappingURL=chunk-
|
|
23920
|
+
//# sourceMappingURL=chunk-LB5B5KYF.mjs.map
|