tinacms 2.6.2 → 2.6.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/index.js CHANGED
@@ -5197,7 +5197,7 @@ flowchart TD
5197
5197
  side: "bottom",
5198
5198
  className: cn(
5199
5199
  "rounded-md border bg-white p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
5200
- "max-h-[30vh] max-w-[30vh] overflow-y-auto",
5200
+ "max-h-[30vh] max-w-[30vw] overflow-y-auto",
5201
5201
  className
5202
5202
  ),
5203
5203
  ...props
@@ -5289,11 +5289,7 @@ flowchart TD
5289
5289
  const node = nodes.find((node2) => node2.id === value);
5290
5290
  return node ? node._internalSys.filename : null;
5291
5291
  };
5292
- const ComboboxDemo = ({
5293
- cms,
5294
- input,
5295
- field
5296
- }) => {
5292
+ const Combobox = ({ cms, input, field }) => {
5297
5293
  const [open2, setOpen] = React__namespace.useState(false);
5298
5294
  const [value, setValue] = React__namespace.useState(input.value);
5299
5295
  const [displayText, setDisplayText] = React__namespace.useState(null);
@@ -5317,17 +5313,17 @@ flowchart TD
5317
5313
  if (loading === true) {
5318
5314
  return /* @__PURE__ */ React__namespace.createElement(LoadingDots, { color: "var(--tina-color-primary)" });
5319
5315
  }
5320
- return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(Popover, { open: open2, onOpenChange: setOpen }, /* @__PURE__ */ React__namespace.createElement(PopoverTrigger, { asChild: true }, /* @__PURE__ */ React__namespace.createElement(
5316
+ return /* @__PURE__ */ React__namespace.createElement(Popover, { open: open2, onOpenChange: setOpen }, /* @__PURE__ */ React__namespace.createElement(PopoverTrigger, { asChild: true }, /* @__PURE__ */ React__namespace.createElement(
5321
5317
  Button,
5322
5318
  {
5323
5319
  variant: "outline",
5324
5320
  role: "combobox",
5325
5321
  "aria-expanded": open2,
5326
- className: "w-52 justify-between"
5322
+ className: "w-full justify-between"
5327
5323
  },
5328
5324
  /* @__PURE__ */ React__namespace.createElement("p", { className: "truncate" }, displayText ?? "Choose an option..."),
5329
5325
  open2 ? /* @__PURE__ */ React__namespace.createElement(IoMdArrowDropup, { size: 20 }) : /* @__PURE__ */ React__namespace.createElement(IoMdArrowDropdown, { size: 20 })
5330
- )), /* @__PURE__ */ React__namespace.createElement(PopoverContent, { className: "p-0 relative" }, /* @__PURE__ */ React__namespace.createElement(
5326
+ )), /* @__PURE__ */ React__namespace.createElement(PopoverContent, { className: "p-0 relative min-w-[var(--radix-popover-trigger-width)]" }, /* @__PURE__ */ React__namespace.createElement(
5331
5327
  Command,
5332
5328
  {
5333
5329
  shouldFilter: !field.experimental___filter,
@@ -5351,32 +5347,25 @@ flowchart TD
5351
5347
  }
5352
5348
  ),
5353
5349
  /* @__PURE__ */ React__namespace.createElement(CommandEmpty, null, "No reference found"),
5354
- /* @__PURE__ */ React__namespace.createElement(CommandList, null, filteredOptionsList.length > 0 && (filteredOptionsList == null ? void 0 : filteredOptionsList.map(({ collection, edges }) => /* @__PURE__ */ React__namespace.createElement(
5355
- CommandGroup,
5356
- {
5357
- key: `${collection}-group`,
5358
- heading: collection
5359
- },
5360
- /* @__PURE__ */ React__namespace.createElement(CommandList, null, edges == null ? void 0 : edges.map(({ node }) => {
5361
- const { id, _values } = node;
5362
- return /* @__PURE__ */ React__namespace.createElement(
5363
- OptionComponent,
5364
- {
5365
- id,
5366
- key: id,
5367
- value,
5368
- field,
5369
- _values,
5370
- node,
5371
- onSelect: (currentValue) => {
5372
- setValue(currentValue);
5373
- setOpen(false);
5374
- }
5350
+ /* @__PURE__ */ React__namespace.createElement(CommandList, null, filteredOptionsList.length > 0 && (filteredOptionsList == null ? void 0 : filteredOptionsList.map(({ collection, edges }) => /* @__PURE__ */ React__namespace.createElement(CommandGroup, { key: `${collection}-group`, heading: collection }, /* @__PURE__ */ React__namespace.createElement(CommandList, null, edges == null ? void 0 : edges.map(({ node }) => {
5351
+ const { id, _values } = node;
5352
+ return /* @__PURE__ */ React__namespace.createElement(
5353
+ OptionComponent,
5354
+ {
5355
+ id,
5356
+ key: id,
5357
+ value,
5358
+ field,
5359
+ _values,
5360
+ node,
5361
+ onSelect: (currentValue) => {
5362
+ setValue(currentValue);
5363
+ setOpen(false);
5375
5364
  }
5376
- );
5377
- }))
5378
- ))))
5379
- ))));
5365
+ }
5366
+ );
5367
+ }))))))
5368
+ )));
5380
5369
  };
5381
5370
  const useGetNode = (cms, id) => {
5382
5371
  const [document2, setDocument] = React__namespace.useState(
@@ -5449,7 +5438,7 @@ flowchart TD
5449
5438
  };
5450
5439
  const Reference = ({ input, field }) => {
5451
5440
  const cms = useCMS();
5452
- return /* @__PURE__ */ React__namespace.createElement("div", null, /* @__PURE__ */ React__namespace.createElement("div", { className: "relative group" }, /* @__PURE__ */ React__namespace.createElement(ComboboxDemo, { cms, input, field })), /* @__PURE__ */ React__namespace.createElement(ReferenceLink, { cms, input }));
5441
+ return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement("div", { className: "relative group" }, /* @__PURE__ */ React__namespace.createElement(Combobox, { cms, input, field })), /* @__PURE__ */ React__namespace.createElement(ReferenceLink, { cms, input }));
5453
5442
  };
5454
5443
  const ButtonToggle = ({
5455
5444
  input,
@@ -9300,6 +9289,19 @@ flowchart TD
9300
9289
  }
9301
9290
  }
9302
9291
  }
9292
+ const encodeUrlIfNeeded = (url) => {
9293
+ if (url) {
9294
+ try {
9295
+ const parsed = new URL(url);
9296
+ parsed.pathname = parsed.pathname.split("/").filter((part) => part !== "").map(encodeURIComponent).join("/");
9297
+ return parsed.toString();
9298
+ } catch (e) {
9299
+ return url;
9300
+ }
9301
+ } else {
9302
+ return url;
9303
+ }
9304
+ };
9303
9305
  let MediaManager$1 = class MediaManager {
9304
9306
  constructor(store, events) {
9305
9307
  this.store = store;
@@ -9372,6 +9374,20 @@ flowchart TD
9372
9374
  try {
9373
9375
  this.events.dispatch({ type: "media:list:start", ...options });
9374
9376
  const media = await this.store.list(options);
9377
+ media.items = media.items.map((item) => {
9378
+ if (item.type === "dir") {
9379
+ return item;
9380
+ }
9381
+ if (item.thumbnails) {
9382
+ for (const [size, src] of Object.entries(item.thumbnails)) {
9383
+ item.thumbnails[size] = encodeUrlIfNeeded(src);
9384
+ }
9385
+ }
9386
+ return {
9387
+ ...item,
9388
+ src: encodeUrlIfNeeded(item.src)
9389
+ };
9390
+ });
9375
9391
  this.events.dispatch({ type: "media:list:success", ...options, media });
9376
9392
  return media;
9377
9393
  } catch (error) {
@@ -10179,7 +10195,7 @@ flowchart TD
10179
10195
  "Event Log"
10180
10196
  ));
10181
10197
  };
10182
- const version = "2.6.2";
10198
+ const version = "2.6.4";
10183
10199
  const Nav = ({
10184
10200
  isLocalMode,
10185
10201
  className = "",
@@ -14499,7 +14515,7 @@ flowchart TD
14499
14515
  key: template.name,
14500
14516
  onMouseDown: (e) => {
14501
14517
  e.preventDefault();
14502
- close();
14518
+ setOpen(false);
14503
14519
  insertMDX(editor, template);
14504
14520
  },
14505
14521
  className: ""
@@ -33093,15 +33109,24 @@ This will work when developing locally but NOT when deployed to production.
33093
33109
  }
33094
33110
  }
33095
33111
  if (state === "creatingPR") {
33096
- const foo = await tinaApi.createPullRequest({
33097
- baseBranch,
33098
- branch,
33099
- title: `${branch.replace("tina/", "").replace("-", " ")} (PR from TinaCMS)`
33100
- });
33101
- console.log("PR created", foo);
33102
- cms.alerts.success("Pull request created.");
33103
- localStorage.setItem("tina.createBranchState", "done");
33104
- setState("done");
33112
+ try {
33113
+ const foo = await tinaApi.createPullRequest({
33114
+ baseBranch,
33115
+ branch,
33116
+ title: `${branch.replace("tina/", "").replace("-", " ")} (PR from TinaCMS)`
33117
+ });
33118
+ console.log("PR created", foo);
33119
+ cms.alerts.success("Pull request created.");
33120
+ localStorage.setItem("tina.createBranchState", "done");
33121
+ setState("done");
33122
+ } catch (e) {
33123
+ console.error(e);
33124
+ cms.alerts.error("Failed to create PR");
33125
+ setErrorMessage(
33126
+ "Failed to create PR, please try again. If the problem persists please contact support."
33127
+ );
33128
+ setState("error");
33129
+ }
33105
33130
  }
33106
33131
  if (state === "done") {
33107
33132
  window.location.href = back;
package/dist/index.mjs CHANGED
@@ -15,12 +15,12 @@ import { ELEMENT_SLASH_INPUT, createSlashPlugin } from "@udecode/plate-slash-com
15
15
  import { useSelected, useReadOnly, ReactEditor } from "slate-react";
16
16
  import { useCodeBlockElementState, useCodeSyntaxLeaf, ELEMENT_CODE_BLOCK as ELEMENT_CODE_BLOCK$1 } from "@udecode/plate-code-block";
17
17
  import MonacoEditor, { loader, useMonaco } from "@monaco-editor/react";
18
- import { Combobox, ComboboxInput, ComboboxButton, Transition, ComboboxOptions, ComboboxOption, Popover as Popover$3, PopoverButton, PopoverPanel, TransitionChild, Disclosure, DisclosureButton, DisclosurePanel, Menu, MenuButton, MenuItems, MenuItem } from "@headlessui/react";
18
+ import { Combobox as Combobox$1, ComboboxInput, ComboboxButton, Transition, ComboboxOptions, ComboboxOption, Popover as Popover$3, PopoverButton, PopoverPanel, TransitionChild, Disclosure, DisclosureButton, DisclosurePanel, Menu, MenuButton, MenuItems, MenuItem } from "@headlessui/react";
19
19
  import { cva } from "class-variance-authority";
20
20
  import { Eye, SquarePen, Plus, AlignCenter as AlignCenter$1, AlignJustify, AlignLeft as AlignLeft$1, AlignRight as AlignRight$1, ChevronDown, PaintBucket, Quote, Check, ChevronRight, ChevronsUpDown, X, FileCode, Baseline, RectangleVertical, Combine, Ungroup, MessageSquare, MessageSquarePlus, Trash, GripVertical, Edit2, Smile, ExternalLink, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Indent, Keyboard, WrapText, Minus, MoreHorizontal, Outdent, Pilcrow, RotateCcw, RectangleHorizontal, Search, Settings, Strikethrough, Subscript, Superscript, Table, Text, Underline, Link2Off, Moon, SunMedium, Twitter } from "lucide-react";
21
21
  import mermaid from "mermaid";
22
22
  import { ELEMENT_H1, ELEMENT_H2, ELEMENT_H3, ELEMENT_H4 as ELEMENT_H4$1, ELEMENT_H5 as ELEMENT_H5$1, ELEMENT_H6 as ELEMENT_H6$1 } from "@udecode/plate-heading";
23
- import { useComboboxContext, Combobox as Combobox$1, useComboboxStore, ComboboxProvider, Portal, ComboboxPopover, ComboboxItem } from "@ariakit/react";
23
+ import { useComboboxContext, Combobox as Combobox$2, useComboboxStore, ComboboxProvider, Portal, ComboboxPopover, ComboboxItem } from "@ariakit/react";
24
24
  import { useHTMLInputCursorState, useComboboxInput, filterWords } from "@udecode/plate-combobox";
25
25
  import { useTableCellElementState, useTableCellElement, useTableCellElementResizableState, useTableCellElementResizable, useTableBordersDropdownMenuContentState, useTableMergeState, TableProvider, useTableElementState, useTableElement, mergeTableCells, unmergeTableCells, ELEMENT_TABLE as ELEMENT_TABLE$1, getTableColumnCount, insertTable, deleteTable, insertTableColumn, deleteColumn, insertTableRow, deleteRow } from "@udecode/plate-table";
26
26
  import { ResizeHandle as ResizeHandle$1 } from "@udecode/plate-resizable";
@@ -992,7 +992,7 @@ const Autocomplete = ({
992
992
  }
993
993
  }, [items2, query]);
994
994
  return /* @__PURE__ */ React__default.createElement(
995
- Combobox,
995
+ Combobox$1,
996
996
  {
997
997
  value,
998
998
  onChange,
@@ -2173,7 +2173,7 @@ const InlineComboboxInput = forwardRef(({ className, ...props }, propRef) => {
2173
2173
  },
2174
2174
  value || "​"
2175
2175
  ), /* @__PURE__ */ React__default.createElement(
2176
- Combobox$1,
2176
+ Combobox$2,
2177
2177
  {
2178
2178
  autoSelect: true,
2179
2179
  className: cn$1(
@@ -5224,7 +5224,7 @@ const PopoverContent = React.forwardRef(({ className, align = "center", sideOffs
5224
5224
  side: "bottom",
5225
5225
  className: cn(
5226
5226
  "rounded-md border bg-white p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
5227
- "max-h-[30vh] max-w-[30vh] overflow-y-auto",
5227
+ "max-h-[30vh] max-w-[30vw] overflow-y-auto",
5228
5228
  className
5229
5229
  ),
5230
5230
  ...props
@@ -5316,11 +5316,7 @@ const getFilename = (optionSets, value) => {
5316
5316
  const node = nodes.find((node2) => node2.id === value);
5317
5317
  return node ? node._internalSys.filename : null;
5318
5318
  };
5319
- const ComboboxDemo = ({
5320
- cms,
5321
- input,
5322
- field
5323
- }) => {
5319
+ const Combobox = ({ cms, input, field }) => {
5324
5320
  const [open2, setOpen] = React.useState(false);
5325
5321
  const [value, setValue] = React.useState(input.value);
5326
5322
  const [displayText, setDisplayText] = React.useState(null);
@@ -5344,17 +5340,17 @@ const ComboboxDemo = ({
5344
5340
  if (loading === true) {
5345
5341
  return /* @__PURE__ */ React.createElement(LoadingDots, { color: "var(--tina-color-primary)" });
5346
5342
  }
5347
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Popover, { open: open2, onOpenChange: setOpen }, /* @__PURE__ */ React.createElement(PopoverTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(
5343
+ return /* @__PURE__ */ React.createElement(Popover, { open: open2, onOpenChange: setOpen }, /* @__PURE__ */ React.createElement(PopoverTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(
5348
5344
  Button,
5349
5345
  {
5350
5346
  variant: "outline",
5351
5347
  role: "combobox",
5352
5348
  "aria-expanded": open2,
5353
- className: "w-52 justify-between"
5349
+ className: "w-full justify-between"
5354
5350
  },
5355
5351
  /* @__PURE__ */ React.createElement("p", { className: "truncate" }, displayText ?? "Choose an option..."),
5356
5352
  open2 ? /* @__PURE__ */ React.createElement(IoMdArrowDropup, { size: 20 }) : /* @__PURE__ */ React.createElement(IoMdArrowDropdown, { size: 20 })
5357
- )), /* @__PURE__ */ React.createElement(PopoverContent, { className: "p-0 relative" }, /* @__PURE__ */ React.createElement(
5353
+ )), /* @__PURE__ */ React.createElement(PopoverContent, { className: "p-0 relative min-w-[var(--radix-popover-trigger-width)]" }, /* @__PURE__ */ React.createElement(
5358
5354
  Command,
5359
5355
  {
5360
5356
  shouldFilter: !field.experimental___filter,
@@ -5378,32 +5374,25 @@ const ComboboxDemo = ({
5378
5374
  }
5379
5375
  ),
5380
5376
  /* @__PURE__ */ React.createElement(CommandEmpty, null, "No reference found"),
5381
- /* @__PURE__ */ React.createElement(CommandList, null, filteredOptionsList.length > 0 && (filteredOptionsList == null ? void 0 : filteredOptionsList.map(({ collection, edges }) => /* @__PURE__ */ React.createElement(
5382
- CommandGroup,
5383
- {
5384
- key: `${collection}-group`,
5385
- heading: collection
5386
- },
5387
- /* @__PURE__ */ React.createElement(CommandList, null, edges == null ? void 0 : edges.map(({ node }) => {
5388
- const { id, _values } = node;
5389
- return /* @__PURE__ */ React.createElement(
5390
- OptionComponent,
5391
- {
5392
- id,
5393
- key: id,
5394
- value,
5395
- field,
5396
- _values,
5397
- node,
5398
- onSelect: (currentValue) => {
5399
- setValue(currentValue);
5400
- setOpen(false);
5401
- }
5377
+ /* @__PURE__ */ React.createElement(CommandList, null, filteredOptionsList.length > 0 && (filteredOptionsList == null ? void 0 : filteredOptionsList.map(({ collection, edges }) => /* @__PURE__ */ React.createElement(CommandGroup, { key: `${collection}-group`, heading: collection }, /* @__PURE__ */ React.createElement(CommandList, null, edges == null ? void 0 : edges.map(({ node }) => {
5378
+ const { id, _values } = node;
5379
+ return /* @__PURE__ */ React.createElement(
5380
+ OptionComponent,
5381
+ {
5382
+ id,
5383
+ key: id,
5384
+ value,
5385
+ field,
5386
+ _values,
5387
+ node,
5388
+ onSelect: (currentValue) => {
5389
+ setValue(currentValue);
5390
+ setOpen(false);
5402
5391
  }
5403
- );
5404
- }))
5405
- ))))
5406
- ))));
5392
+ }
5393
+ );
5394
+ }))))))
5395
+ )));
5407
5396
  };
5408
5397
  const useGetNode = (cms, id) => {
5409
5398
  const [document2, setDocument] = React.useState(
@@ -5476,7 +5465,7 @@ const ReferenceLink = ({ cms, input }) => {
5476
5465
  };
5477
5466
  const Reference = ({ input, field }) => {
5478
5467
  const cms = useCMS();
5479
- return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { className: "relative group" }, /* @__PURE__ */ React.createElement(ComboboxDemo, { cms, input, field })), /* @__PURE__ */ React.createElement(ReferenceLink, { cms, input }));
5468
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "relative group" }, /* @__PURE__ */ React.createElement(Combobox, { cms, input, field })), /* @__PURE__ */ React.createElement(ReferenceLink, { cms, input }));
5480
5469
  };
5481
5470
  const ButtonToggle = ({
5482
5471
  input,
@@ -9327,6 +9316,19 @@ class TinaMediaStore {
9327
9316
  }
9328
9317
  }
9329
9318
  }
9319
+ const encodeUrlIfNeeded = (url) => {
9320
+ if (url) {
9321
+ try {
9322
+ const parsed = new URL(url);
9323
+ parsed.pathname = parsed.pathname.split("/").filter((part) => part !== "").map(encodeURIComponent).join("/");
9324
+ return parsed.toString();
9325
+ } catch (e) {
9326
+ return url;
9327
+ }
9328
+ } else {
9329
+ return url;
9330
+ }
9331
+ };
9330
9332
  let MediaManager$1 = class MediaManager {
9331
9333
  constructor(store, events) {
9332
9334
  this.store = store;
@@ -9399,6 +9401,20 @@ let MediaManager$1 = class MediaManager {
9399
9401
  try {
9400
9402
  this.events.dispatch({ type: "media:list:start", ...options });
9401
9403
  const media = await this.store.list(options);
9404
+ media.items = media.items.map((item) => {
9405
+ if (item.type === "dir") {
9406
+ return item;
9407
+ }
9408
+ if (item.thumbnails) {
9409
+ for (const [size, src] of Object.entries(item.thumbnails)) {
9410
+ item.thumbnails[size] = encodeUrlIfNeeded(src);
9411
+ }
9412
+ }
9413
+ return {
9414
+ ...item,
9415
+ src: encodeUrlIfNeeded(item.src)
9416
+ };
9417
+ });
9402
9418
  this.events.dispatch({ type: "media:list:success", ...options, media });
9403
9419
  return media;
9404
9420
  } catch (error) {
@@ -10206,7 +10222,7 @@ const SyncStatus = ({ cms, setEventsOpen }) => {
10206
10222
  "Event Log"
10207
10223
  ));
10208
10224
  };
10209
- const version = "2.6.2";
10225
+ const version = "2.6.4";
10210
10226
  const Nav = ({
10211
10227
  isLocalMode,
10212
10228
  className = "",
@@ -14526,7 +14542,7 @@ const EmbedButton = ({ editor, templates }) => {
14526
14542
  key: template.name,
14527
14543
  onMouseDown: (e) => {
14528
14544
  e.preventDefault();
14529
- close();
14545
+ setOpen(false);
14530
14546
  insertMDX(editor, template);
14531
14547
  },
14532
14548
  className: ""
@@ -33120,15 +33136,24 @@ const IndexingPage = () => {
33120
33136
  }
33121
33137
  }
33122
33138
  if (state === "creatingPR") {
33123
- const foo = await tinaApi.createPullRequest({
33124
- baseBranch,
33125
- branch,
33126
- title: `${branch.replace("tina/", "").replace("-", " ")} (PR from TinaCMS)`
33127
- });
33128
- console.log("PR created", foo);
33129
- cms.alerts.success("Pull request created.");
33130
- localStorage.setItem("tina.createBranchState", "done");
33131
- setState("done");
33139
+ try {
33140
+ const foo = await tinaApi.createPullRequest({
33141
+ baseBranch,
33142
+ branch,
33143
+ title: `${branch.replace("tina/", "").replace("-", " ")} (PR from TinaCMS)`
33144
+ });
33145
+ console.log("PR created", foo);
33146
+ cms.alerts.success("Pull request created.");
33147
+ localStorage.setItem("tina.createBranchState", "done");
33148
+ setState("done");
33149
+ } catch (e) {
33150
+ console.error(e);
33151
+ cms.alerts.error("Failed to create PR");
33152
+ setErrorMessage(
33153
+ "Failed to create PR, please try again. If the problem persists please contact support."
33154
+ );
33155
+ setState("error");
33156
+ }
33132
33157
  }
33133
33158
  if (state === "done") {
33134
33159
  window.location.href = back;
@@ -7,5 +7,5 @@ interface ReferenceSelectProps {
7
7
  input: any;
8
8
  field: ReferenceFieldProps & Field;
9
9
  }
10
- declare const ComboboxDemo: React.FC<ReferenceSelectProps>;
11
- export default ComboboxDemo;
10
+ declare const Combobox: React.FC<ReferenceSelectProps>;
11
+ export default Combobox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "2.6.2",
3
+ "version": "2.6.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {
@@ -130,8 +130,8 @@
130
130
  "yup": "^1.4.0",
131
131
  "zod": "^3.23.8",
132
132
  "@tinacms/mdx": "1.5.4",
133
- "@tinacms/search": "1.0.38",
134
- "@tinacms/schema-tools": "1.7.0"
133
+ "@tinacms/schema-tools": "1.7.0",
134
+ "@tinacms/search": "1.0.39"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@graphql-tools/utils": "^10.5.6",