@carlonicora/nextjs-jsonapi 3.5.8 → 3.5.9
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-5LH6CCQF.mjs → BlockNoteEditor-5AQQQQY3.mjs} +2 -2
- package/dist/{BlockNoteEditor-J27BAKEF.js → BlockNoteEditor-EWMWY4SK.js} +9 -9
- package/dist/{BlockNoteEditor-J27BAKEF.js.map → BlockNoteEditor-EWMWY4SK.js.map} +1 -1
- package/dist/billing/index.js +333 -333
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-G2PQN6HK.js → chunk-EJIWXCXI.js} +29 -13
- package/dist/chunk-EJIWXCXI.js.map +1 -0
- package/dist/{chunk-Q2QO5XYN.mjs → chunk-OE2WEAPU.mjs} +29 -13
- package/dist/chunk-OE2WEAPU.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/dist/features/tokenusage/index.js +75 -75
- package/dist/features/tokenusage/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/forms/EditorSheet.tsx +28 -17
- package/dist/chunk-G2PQN6HK.js.map +0 -1
- package/dist/chunk-Q2QO5XYN.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-5LH6CCQF.mjs.map → BlockNoteEditor-5AQQQQY3.mjs.map} +0 -0
|
@@ -9746,17 +9746,33 @@ function EditorSheet({
|
|
|
9746
9746
|
// is resolved per trigger rather than hardcoded (a constant `false`
|
|
9747
9747
|
// warned on every native-button trigger).
|
|
9748
9748
|
/* @__PURE__ */ jsx86(SheetTrigger, { nativeButton: resolveTriggerIsNativeButton(trigger), render: trigger })
|
|
9749
|
-
) :
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9749
|
+
) : (
|
|
9750
|
+
// The default trigger goes through `render` for the SAME reason the
|
|
9751
|
+
// caller-supplied one above does. As CHILDREN, the Button rendered a
|
|
9752
|
+
// second `role="button"` inside SheetTrigger's own button: two nodes
|
|
9753
|
+
// with one accessible name, which a screen reader announces as a
|
|
9754
|
+
// button inside a button and which makes
|
|
9755
|
+
// `getByRole("button", { name })` ambiguous (e2e DRQ-01 failed strict
|
|
9756
|
+
// mode on exactly this). `nativeButton={false}` because both variants
|
|
9757
|
+
// render a <div>, matching the element the trigger actually emits.
|
|
9758
|
+
/* @__PURE__ */ jsx86(
|
|
9759
|
+
SheetTrigger,
|
|
9760
|
+
{
|
|
9761
|
+
nativeButton: false,
|
|
9762
|
+
render: isEdit ? /* @__PURE__ */ jsx86(
|
|
9763
|
+
Button,
|
|
9764
|
+
{
|
|
9765
|
+
render: /* @__PURE__ */ jsx86("div", {}),
|
|
9766
|
+
nativeButton: false,
|
|
9767
|
+
size: "sm",
|
|
9768
|
+
variant: "ghost",
|
|
9769
|
+
className: "text-muted-foreground",
|
|
9770
|
+
children: /* @__PURE__ */ jsx86(PencilIcon3, {})
|
|
9771
|
+
}
|
|
9772
|
+
) : /* @__PURE__ */ jsx86(Button, { render: /* @__PURE__ */ jsx86("div", {}), nativeButton: false, size: "sm", variant: "outline", children: t("ui.buttons.create") })
|
|
9773
|
+
}
|
|
9774
|
+
)
|
|
9775
|
+
)),
|
|
9760
9776
|
/* @__PURE__ */ jsxs48(SheetContent, { side: "end", className: sizeClasses[size], children: [
|
|
9761
9777
|
/* @__PURE__ */ jsx86(SheetHeader, { className: "border-b px-6 py-4", children: actions ? (
|
|
9762
9778
|
// pe-10 clears the SheetContent close button, which sits at the
|
|
@@ -10327,7 +10343,7 @@ import { useRef as useRef17 } from "react";
|
|
|
10327
10343
|
import dynamic from "next/dynamic";
|
|
10328
10344
|
import React18 from "react";
|
|
10329
10345
|
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
10330
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10346
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-5AQQQQY3.mjs"), {
|
|
10331
10347
|
ssr: false
|
|
10332
10348
|
});
|
|
10333
10349
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -25631,4 +25647,4 @@ export {
|
|
|
25631
25647
|
useOAuthClients,
|
|
25632
25648
|
useOAuthClient
|
|
25633
25649
|
};
|
|
25634
|
-
//# sourceMappingURL=chunk-
|
|
25650
|
+
//# sourceMappingURL=chunk-OE2WEAPU.mjs.map
|