@carlonicora/nextjs-jsonapi 1.58.3 → 1.58.4
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-VZLCGW5U.js → BlockNoteEditor-FHHM2PHL.js} +6 -6
- package/dist/{BlockNoteEditor-VZLCGW5U.js.map → BlockNoteEditor-FHHM2PHL.js.map} +1 -1
- package/dist/{BlockNoteEditor-N4ZQEQKQ.mjs → BlockNoteEditor-WAE53RNS.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-EA3LXVPR.mjs → chunk-LSJ6IP34.mjs} +5 -5
- package/dist/chunk-LSJ6IP34.mjs.map +1 -0
- package/dist/{chunk-ASLPUCP2.js → chunk-OAMGPP2G.js} +5 -5
- package/dist/{chunk-ASLPUCP2.js.map → chunk-OAMGPP2G.js.map} +1 -1
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.d.ts +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/package.json +1 -1
- package/src/components/forms/FormInput.tsx +4 -4
- package/src/components/forms/__tests__/FormInput.test.tsx +9 -7
- package/dist/chunk-EA3LXVPR.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-N4ZQEQKQ.mjs.map → BlockNoteEditor-WAE53RNS.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -8368,7 +8368,7 @@ __name(FormCheckbox, "FormCheckbox");
|
|
|
8368
8368
|
import dynamic from "next/dynamic";
|
|
8369
8369
|
import React14 from "react";
|
|
8370
8370
|
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
8371
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
8371
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-WAE53RNS.mjs"), {
|
|
8372
8372
|
ssr: false
|
|
8373
8373
|
});
|
|
8374
8374
|
var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -8751,7 +8751,7 @@ function FormInput({
|
|
|
8751
8751
|
const value = e.target.value.replace(/[^0-9]/g, "");
|
|
8752
8752
|
field.onChange(+value);
|
|
8753
8753
|
if (onChange) onChange(+value);
|
|
8754
|
-
} else if (type === "currency") {
|
|
8754
|
+
} else if (type === "currency" || type === "decimal") {
|
|
8755
8755
|
let value = e.target.value.replace(/[^0-9.,]/g, "");
|
|
8756
8756
|
const firstSep = value.search(/[.,]/);
|
|
8757
8757
|
if (firstSep !== -1) {
|
|
@@ -8771,8 +8771,8 @@ function FormInput({
|
|
|
8771
8771
|
...field,
|
|
8772
8772
|
autoFocus: autoFocus === true,
|
|
8773
8773
|
type: type === "password" ? "password" : "text",
|
|
8774
|
-
inputMode: type === "number" || type === "currency" ? "decimal" : void 0,
|
|
8775
|
-
className: `w-full ${type === "number" || type === "currency" ? "text-end" : ""}`,
|
|
8774
|
+
inputMode: type === "number" || type === "currency" || type === "decimal" ? "decimal" : void 0,
|
|
8775
|
+
className: `w-full ${type === "number" || type === "currency" || type === "decimal" ? "text-end" : ""}`,
|
|
8776
8776
|
disabled: disabled === true || form.formState.isSubmitting,
|
|
8777
8777
|
placeholder: placeholder || "",
|
|
8778
8778
|
onBlur: handleBlur,
|
|
@@ -18806,4 +18806,4 @@ export {
|
|
|
18806
18806
|
useOAuthClients,
|
|
18807
18807
|
useOAuthClient
|
|
18808
18808
|
};
|
|
18809
|
-
//# sourceMappingURL=chunk-
|
|
18809
|
+
//# sourceMappingURL=chunk-LSJ6IP34.mjs.map
|