tinacms 1.6.4 → 1.6.5

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
@@ -56,7 +56,7 @@ var __publicField = (obj, key, value) => {
56
56
  return modalContainer;
57
57
  }
58
58
  const ModalOverlay = ({ children }) => {
59
- return /* @__PURE__ */ React__namespace.createElement("div", { className: "fixed inset-0 z-modal w-screen h-screen overflow-y-auto" }, children, /* @__PURE__ */ React__namespace.createElement("div", { className: "fixed -z-1 inset-0 opacity-80 bg-gradient-to-br from-gray-800 via-gray-900 to-black" }));
59
+ return /* @__PURE__ */ React__namespace.createElement("div", { className: "fixed inset-0 z-modal w-screen h-dvh overflow-y-auto" }, children, /* @__PURE__ */ React__namespace.createElement("div", { className: "fixed -z-1 inset-0 opacity-80 bg-gradient-to-br from-gray-800 via-gray-900 to-black" }));
60
60
  };
61
61
  const Modal = (props) => {
62
62
  const { portalNode } = useModalContainer();
@@ -5870,6 +5870,8 @@ var __publicField = (obj, key, value) => {
5870
5870
  handlersMap[_this._uid] = function(event) {
5871
5871
  if (_this.componentNode === null)
5872
5872
  return;
5873
+ if (_this.initTimeStamp > event.timeStamp)
5874
+ return;
5873
5875
  if (_this.props.preventDefault) {
5874
5876
  event.preventDefault();
5875
5877
  }
@@ -5906,6 +5908,7 @@ var __publicField = (obj, key, value) => {
5906
5908
  return _this.instanceRef = ref;
5907
5909
  };
5908
5910
  _this._uid = uid();
5911
+ _this.initTimeStamp = performance.now();
5909
5912
  return _this;
5910
5913
  }
5911
5914
  var _proto = onClickOutside.prototype;
@@ -8074,7 +8077,7 @@ var __publicField = (obj, key, value) => {
8074
8077
  this.events.dispatch({ type: "flag:set", key, value });
8075
8078
  }
8076
8079
  }
8077
- const _CMS = class {
8080
+ const _CMS = class _CMS2 {
8078
8081
  /**
8079
8082
  * @hidden
8080
8083
  */
@@ -8086,11 +8089,11 @@ var __publicField = (obj, key, value) => {
8086
8089
  this.media = new MediaManager$1(new DummyMediaStore(), this.events);
8087
8090
  this.enable = () => {
8088
8091
  this._enabled = true;
8089
- this.events.dispatch(_CMS.ENABLED);
8092
+ this.events.dispatch(_CMS2.ENABLED);
8090
8093
  };
8091
8094
  this.disable = () => {
8092
8095
  this._enabled = false;
8093
- this.events.dispatch(_CMS.DISABLED);
8096
+ this.events.dispatch(_CMS2.DISABLED);
8094
8097
  };
8095
8098
  this.toggle = () => {
8096
8099
  if (this.enabled) {
@@ -8172,9 +8175,9 @@ var __publicField = (obj, key, value) => {
8172
8175
  return !this._enabled;
8173
8176
  }
8174
8177
  };
8178
+ _CMS.ENABLED = { type: "cms:enable" };
8179
+ _CMS.DISABLED = { type: "cms:disable" };
8175
8180
  let CMS = _CMS;
8176
- CMS.ENABLED = { type: "cms:enable" };
8177
- CMS.DISABLED = { type: "cms:disable" };
8178
8181
  let Alerts$1 = class Alerts {
8179
8182
  constructor(events, map = {}) {
8180
8183
  this.events = events;
@@ -28589,7 +28592,7 @@ mutation addPendingDocumentMutation(
28589
28592
  !schema.config.contentApiUrlOverride
28590
28593
  ) {
28591
28594
  throw new Error(
28592
- "Invalid setup. See https://tina.io/docs/tina-cloud/connecting-site/ for more information."
28595
+ "Invalid setup. See https://tina.io/docs/tina-cloud/overview for more information."
28593
28596
  );
28594
28597
  }
28595
28598
  if (!schema) {
package/dist/index.mjs CHANGED
@@ -64,7 +64,7 @@ function useModalContainer() {
64
64
  return modalContainer;
65
65
  }
66
66
  const ModalOverlay = ({ children }) => {
67
- return /* @__PURE__ */ React.createElement("div", { className: "fixed inset-0 z-modal w-screen h-screen overflow-y-auto" }, children, /* @__PURE__ */ React.createElement("div", { className: "fixed -z-1 inset-0 opacity-80 bg-gradient-to-br from-gray-800 via-gray-900 to-black" }));
67
+ return /* @__PURE__ */ React.createElement("div", { className: "fixed inset-0 z-modal w-screen h-dvh overflow-y-auto" }, children, /* @__PURE__ */ React.createElement("div", { className: "fixed -z-1 inset-0 opacity-80 bg-gradient-to-br from-gray-800 via-gray-900 to-black" }));
68
68
  };
69
69
  const Modal = (props) => {
70
70
  const { portalNode } = useModalContainer();
@@ -5878,6 +5878,8 @@ function onClickOutsideHOC(WrappedComponent, config) {
5878
5878
  handlersMap[_this._uid] = function(event) {
5879
5879
  if (_this.componentNode === null)
5880
5880
  return;
5881
+ if (_this.initTimeStamp > event.timeStamp)
5882
+ return;
5881
5883
  if (_this.props.preventDefault) {
5882
5884
  event.preventDefault();
5883
5885
  }
@@ -5914,6 +5916,7 @@ function onClickOutsideHOC(WrappedComponent, config) {
5914
5916
  return _this.instanceRef = ref;
5915
5917
  };
5916
5918
  _this._uid = uid();
5919
+ _this.initTimeStamp = performance.now();
5917
5920
  return _this;
5918
5921
  }
5919
5922
  var _proto = onClickOutside.prototype;
@@ -8082,7 +8085,7 @@ class Flags {
8082
8085
  this.events.dispatch({ type: "flag:set", key, value });
8083
8086
  }
8084
8087
  }
8085
- const _CMS = class {
8088
+ const _CMS = class _CMS2 {
8086
8089
  /**
8087
8090
  * @hidden
8088
8091
  */
@@ -8094,11 +8097,11 @@ const _CMS = class {
8094
8097
  this.media = new MediaManager$1(new DummyMediaStore(), this.events);
8095
8098
  this.enable = () => {
8096
8099
  this._enabled = true;
8097
- this.events.dispatch(_CMS.ENABLED);
8100
+ this.events.dispatch(_CMS2.ENABLED);
8098
8101
  };
8099
8102
  this.disable = () => {
8100
8103
  this._enabled = false;
8101
- this.events.dispatch(_CMS.DISABLED);
8104
+ this.events.dispatch(_CMS2.DISABLED);
8102
8105
  };
8103
8106
  this.toggle = () => {
8104
8107
  if (this.enabled) {
@@ -8180,9 +8183,9 @@ const _CMS = class {
8180
8183
  return !this._enabled;
8181
8184
  }
8182
8185
  };
8186
+ _CMS.ENABLED = { type: "cms:enable" };
8187
+ _CMS.DISABLED = { type: "cms:disable" };
8183
8188
  let CMS = _CMS;
8184
- CMS.ENABLED = { type: "cms:enable" };
8185
- CMS.DISABLED = { type: "cms:disable" };
8186
8189
  let Alerts$1 = class Alerts {
8187
8190
  constructor(events, map = {}) {
8188
8191
  this.events = events;
@@ -28597,7 +28600,7 @@ const TinaCMSProvider2 = ({
28597
28600
  !schema.config.contentApiUrlOverride
28598
28601
  ) {
28599
28602
  throw new Error(
28600
- "Invalid setup. See https://tina.io/docs/tina-cloud/connecting-site/ for more information."
28603
+ "Invalid setup. See https://tina.io/docs/tina-cloud/overview for more information."
28601
28604
  );
28602
28605
  }
28603
28606
  if (!schema) {
@@ -5,5 +5,5 @@ export interface PasswordFieldProps extends a {
5
5
  ref?: any;
6
6
  }
7
7
  export declare const passwordFieldClasses = "shadow-inner focus:shadow-outline focus:border-blue-500 focus:outline-none block text-base placeholder:text-gray-300 px-3 py-2 text-gray-600 w-full bg-white border border-gray-200 transition-all ease-out duration-150 focus:text-gray-900 rounded-md";
8
- export declare const BasePasswordField: React.ForwardRefExoticComponent<Pick<PasswordFieldProps, "key" | "value" | "error" | "type" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "dir" | "src" | "hidden" | "list" | "className" | "name" | "id" | "onChange" | "onSubmit" | "alt" | "disabled" | "accept" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "placeholder" | "readOnly" | "required" | "size" | "step" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLInputElement>>;
8
+ export declare const BasePasswordField: React.ForwardRefExoticComponent<Pick<PasswordFieldProps, "key" | "value" | "error" | "type" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "src" | "alt" | "name" | "dir" | "className" | "onClick" | "hidden" | "id" | "list" | "onChange" | "onSubmit" | "accept" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "placeholder" | "readOnly" | "required" | "size" | "step" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLInputElement>>;
9
9
  export {};
@@ -57,6 +57,14 @@ export default class Datetime extends React.Component<any, any, any> {
57
57
  };
58
58
  static moment: typeof moment;
59
59
  constructor(props: any);
60
+ state: {
61
+ open: boolean;
62
+ currentView: any;
63
+ viewDate: any;
64
+ selectedDate: any;
65
+ inputValue: any;
66
+ };
67
+ render(): JSX.Element;
60
68
  renderInput(): JSX.Element;
61
69
  renderView(): any;
62
70
  _renderCalendar: () => JSX.Element;
@@ -99,6 +107,7 @@ export default class Datetime extends React.Component<any, any, any> {
99
107
  localMoment(date: any, format: any, props: any): any;
100
108
  checkTZ(): void;
101
109
  tzWarning: boolean;
110
+ componentDidUpdate(prevProps: any): void;
102
111
  regenerateDates(): void;
103
112
  getSelectedDate(): any;
104
113
  getInitialInputValue(selectedDate: any): any;
@@ -5,6 +5,7 @@ export default class DaysView extends React.Component<any, any, any> {
5
5
  };
6
6
  constructor(props: any);
7
7
  constructor(props: any, context: any);
8
+ render(): JSX.Element;
8
9
  renderNavigation(): JSX.Element;
9
10
  renderDayHeaders(): JSX.Element;
10
11
  renderDays(): JSX.Element[];
@@ -1,6 +1,7 @@
1
1
  export default class MonthsView extends React.Component<any, any, any> {
2
2
  constructor(props: any);
3
3
  constructor(props: any, context: any);
4
+ render(): JSX.Element;
4
5
  renderNavigation(): JSX.Element;
5
6
  renderMonths(): JSX.Element[];
6
7
  renderMonth(month: any): any;
@@ -1,6 +1,14 @@
1
1
  export default class TimeView extends React.Component<any, any, any> {
2
2
  constructor(props: any);
3
3
  constraints: {};
4
+ state: {
5
+ hours: string;
6
+ minutes: string;
7
+ seconds: string;
8
+ milliseconds: string;
9
+ ampm: string;
10
+ };
11
+ render(): JSX.Element;
4
12
  renderCounter(type: any, value: any): JSX.Element;
5
13
  renderHeader(): JSX.Element;
6
14
  onStartClicking(e: any, action: any, type: any): void;
@@ -19,5 +27,6 @@ export default class TimeView extends React.Component<any, any, any> {
19
27
  milliseconds: string;
20
28
  ampm: string;
21
29
  };
30
+ componentDidUpdate(prevProps: any): void;
22
31
  }
23
32
  import React from "react";
@@ -4,6 +4,7 @@ export default class YearsView extends React.Component<any, any, any> {
4
4
  };
5
5
  constructor(props: any);
6
6
  constructor(props: any, context: any);
7
+ render(): JSX.Element;
7
8
  renderNavigation(): JSX.Element;
8
9
  renderYears(): JSX.Element[];
9
10
  renderYear(year: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {
@@ -57,28 +57,18 @@
57
57
  "typings": "dist/index.d.ts",
58
58
  "license": "Apache-2.0",
59
59
  "dependencies": {
60
- "@floating-ui/dom": "^1.4.4",
60
+ "@floating-ui/dom": "^1.6.6",
61
61
  "@floating-ui/react-dom": "^2.0.1",
62
62
  "@graphql-inspector/core": "^4.0.0",
63
63
  "@headlessui/react": "^1.5.0",
64
64
  "@heroicons/react": "^1.0.4",
65
65
  "@monaco-editor/react": "4.4.5",
66
66
  "@radix-ui/react-popover": "^1.0.6",
67
- "@react-aria/i18n": "^3.3.4",
68
67
  "@react-hook/window-size": "^3.0.7",
69
- "@react-types/combobox": "^3.2.0",
70
- "@react-types/shared": "^3.10.0",
71
- "@sambego/storybook-styles": "^1.0.0",
72
- "@tinacms/mdx": "1.3.25",
73
- "@tinacms/schema-tools": "1.4.16",
74
- "@tinacms/search": "1.0.20",
75
- "@tinacms/sharedctx": "1.0.2",
76
68
  "@udecode/plate-headless": "^21.4.0",
77
- "atob": "2.1.2",
78
69
  "color-string": "^1.5.3",
79
- "crypto-js": "^4.0.0",
70
+ "crypto-js": "^4.1.1",
80
71
  "date-fns": "2.30.0",
81
- "encoding": "0.1.13",
82
72
  "fetch-ponyfill": "^7.1.0",
83
73
  "final-form": "4.20.10",
84
74
  "final-form-arrays": "^3.0.1",
@@ -90,8 +80,7 @@
90
80
  "lodash.set": "^4.3.2",
91
81
  "moment": "2.29.4",
92
82
  "monaco-editor": "0.31.0",
93
- "prism-react-renderer": "^2.0.6",
94
- "prismjs": "^1.28.0",
83
+ "prism-react-renderer": "^2.3.1",
95
84
  "prop-types": "15.7.2",
96
85
  "react-beautiful-dnd": "^13.1.0",
97
86
  "react-color": "^2.17.3",
@@ -101,15 +90,17 @@
101
90
  "react-icons": "^5.2.1",
102
91
  "react-onclickoutside": "^6.13.0",
103
92
  "react-router-dom": "6.3.0",
104
- "react-textarea-autosize": "8.5.2",
105
- "scheduler": "0.19.0",
106
93
  "slate": "^0.94.1",
107
94
  "slate-history": "^0.93.0",
108
95
  "slate-hyperscript": "^0.77.0",
109
96
  "slate-react": "^0.97.1",
110
97
  "webfontloader": "1.6.28",
111
98
  "yup": "^0.32.0",
112
- "zod": "^3.14.3"
99
+ "zod": "^3.14.3",
100
+ "@tinacms/mdx": "1.3.26",
101
+ "@tinacms/schema-tools": "1.4.17",
102
+ "@tinacms/search": "1.0.21",
103
+ "@tinacms/sharedctx": "1.0.3"
113
104
  },
114
105
  "devDependencies": {
115
106
  "@graphql-tools/utils": "^8.6.1",
@@ -118,7 +109,6 @@
118
109
  "@testing-library/react": "^12.0.0",
119
110
  "@testing-library/react-hooks": "^7.0.2",
120
111
  "@testing-library/user-event": "^12.7.0",
121
- "@tinacms/scripts": "1.1.4",
122
112
  "@types/atob": "^2.1.2",
123
113
  "@types/codemirror": "^0.0.71",
124
114
  "@types/color-string": "^1.5.0",
@@ -144,9 +134,10 @@
144
134
  "react-is": "^17.0.2",
145
135
  "tsc-alias": "^1.8.7",
146
136
  "tslib": "^2.3.0",
147
- "typescript": "4.3.5",
137
+ "typescript": "4.6.4",
148
138
  "vite": "^4.3.9",
149
- "vitest": "^0.32.2"
139
+ "vitest": "^0.32.2",
140
+ "@tinacms/scripts": "1.1.5"
150
141
  },
151
142
  "peerDependencies": {
152
143
  "react": ">=16.14.0",