@blocknote/shadcn 0.23.5 → 0.24.0

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.
@@ -245,7 +245,7 @@ const Y = l.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ a(
245
245
  Y.displayName = h.Separator.displayName;
246
246
  const Ee = T(
247
247
  "bn-text-sm bn-font-medium bn-leading-none peer-disabled:bn-cursor-not-allowed peer-disabled:bn-opacity-70"
248
- ), D = l.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ a(
248
+ ), P = l.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ a(
249
249
  G.Root,
250
250
  {
251
251
  ref: e,
@@ -253,7 +253,7 @@ const Ee = T(
253
253
  ...n
254
254
  }
255
255
  ));
256
- D.displayName = G.Root.displayName;
256
+ P.displayName = G.Root.displayName;
257
257
  const je = ve, $e = l.createContext(
258
258
  {}
259
259
  ), I = () => {
@@ -279,7 +279,7 @@ Ge.displayName = "FormItem";
279
279
  const Ue = l.forwardRef(({ className: t, ...n }, e) => {
280
280
  const { error: o, formItemId: r } = I();
281
281
  return /* @__PURE__ */ a(
282
- D,
282
+ P,
283
283
  {
284
284
  ref: e,
285
285
  className: d(o && "bn-text-destructive", t),
@@ -579,7 +579,7 @@ const tn = {
579
579
  Input: _
580
580
  },
581
581
  Label: {
582
- Label: D
582
+ Label: P
583
583
  },
584
584
  Popover: {
585
585
  Popover: qe,
@@ -1057,7 +1057,7 @@ const on = (t) => {
1057
1057
  children: o
1058
1058
  }
1059
1059
  );
1060
- }), R = p(
1060
+ }), D = p(
1061
1061
  (t, n) => {
1062
1062
  const { className: e, children: o, onMouseEnter: r, onMouseLeave: s, ...i } = t;
1063
1063
  c(i);
@@ -1076,7 +1076,7 @@ const on = (t) => {
1076
1076
  }
1077
1077
  ) });
1078
1078
  }
1079
- ), P = p(
1079
+ ), R = p(
1080
1080
  (t, n) => {
1081
1081
  const {
1082
1082
  className: e,
@@ -1245,8 +1245,8 @@ const on = (t) => {
1245
1245
  );
1246
1246
  }), zn = {
1247
1247
  FormattingToolbar: {
1248
- Root: R,
1249
- Button: P,
1248
+ Root: D,
1249
+ Button: R,
1250
1250
  Select: Pn
1251
1251
  },
1252
1252
  FilePanel: {
@@ -1257,8 +1257,8 @@ const on = (t) => {
1257
1257
  TextInput: fn
1258
1258
  },
1259
1259
  LinkToolbar: {
1260
- Root: R,
1261
- Button: P
1260
+ Root: D,
1261
+ Button: R
1262
1262
  },
1263
1263
  SideMenu: {
1264
1264
  Root: Nn,
@@ -1282,6 +1282,10 @@ const on = (t) => {
1282
1282
  ExtendButton: Dn
1283
1283
  },
1284
1284
  Generic: {
1285
+ Toolbar: {
1286
+ Root: D,
1287
+ Button: R
1288
+ },
1285
1289
  Form: {
1286
1290
  Root: on,
1287
1291
  TextInput: rn