tinacms 0.0.0-ce96a8d-20250829163200 β†’ 0.0.0-ced9076-20250922063813

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/client.js CHANGED
@@ -106,13 +106,13 @@
106
106
  additionalInfo = "Please check that your client ID, URL and read only token are configured properly.";
107
107
  }
108
108
  throw new Error(
109
- `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/errors/faq/`
109
+ `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/r/FAQ/`
110
110
  );
111
111
  }
112
112
  const json = await res.json();
113
113
  if (json.errors && errorPolicyDefined === "throw") {
114
114
  throw new Error(
115
- `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/errors/faq/
115
+ `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/r/FAQ/
116
116
  Errors:
117
117
  ${json.errors.map((error) => error.message).join("\n")}`
118
118
  );
package/dist/client.mjs CHANGED
@@ -103,13 +103,13 @@ async function requestFromServer(url, query, optionsObject, errorPolicyDefined)
103
103
  additionalInfo = "Please check that your client ID, URL and read only token are configured properly.";
104
104
  }
105
105
  throw new Error(
106
- `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/errors/faq/`
106
+ `Server responded with status code ${res.status}, ${res.statusText}. ${additionalInfo ? additionalInfo : ""} Please see our FAQ for more information: https://tina.io/docs/r/FAQ/`
107
107
  );
108
108
  }
109
109
  const json = await res.json();
110
110
  if (json.errors && errorPolicyDefined === "throw") {
111
111
  throw new Error(
112
- `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/errors/faq/
112
+ `Unable to fetch, please see our FAQ for more information: https://tina.io/docs/r/FAQ/
113
113
  Errors:
114
114
  ${json.errors.map((error) => error.message).join("\n")}`
115
115
  );
package/dist/index.js CHANGED
@@ -41993,12 +41993,10 @@ Please wrap them with useCallback or configure the deps array correctly.`
41993
41993
  localMoment(date, format2, props) {
41994
41994
  props = props || this.props;
41995
41995
  let m = null;
41996
- if (props.utc) {
41997
- m = moment.utc(date, format2, props.strictParsing);
41998
- } else if (props.displayTimeZone) {
41996
+ if (props.displayTimeZone) {
41999
41997
  m = moment.tz(date, format2, props.displayTimeZone);
42000
41998
  } else {
42001
- m = moment(date, format2, props.strictParsing);
41999
+ m = moment.utc(date, format2, props.strictParsing);
42002
42000
  }
42003
42001
  if (props.locale)
42004
42002
  m.locale(props.locale);
@@ -42040,15 +42038,12 @@ Please wrap them with useCallback or configure the deps array correctly.`
42040
42038
  viewDate.locale(props.locale);
42041
42039
  selectedDate && selectedDate.locale(props.locale);
42042
42040
  }
42043
- if (props.utc) {
42044
- viewDate.utc();
42045
- selectedDate && selectedDate.utc();
42046
- } else if (props.displayTimeZone) {
42041
+ if (props.displayTimeZone) {
42047
42042
  viewDate.tz(props.displayTimeZone);
42048
42043
  selectedDate && selectedDate.tz(props.displayTimeZone);
42049
42044
  } else {
42050
- viewDate.locale();
42051
- selectedDate && selectedDate.locale();
42045
+ viewDate.utc();
42046
+ selectedDate && selectedDate.utc();
42052
42047
  }
42053
42048
  const update = { viewDate, selectedDate };
42054
42049
  if (selectedDate && selectedDate.isValid()) {
@@ -42590,13 +42585,13 @@ Please wrap them with useCallback or configure the deps array correctly.`
42590
42585
  {
42591
42586
  target: "_blank",
42592
42587
  className: "transition-all duration-150 ease-out text-blue-600 hover:text-blue-400 hover:underline no-underline",
42593
- href: "https://tina.io/docs/tina-cloud/"
42588
+ href: "https://tina.io/docs/r/what-is-tinacloud/"
42594
42589
  },
42595
42590
  "Learn more about moving to production with TinaCloud."
42596
42591
  )), /* @__PURE__ */ React__namespace.createElement("p", null, /* @__PURE__ */ React__namespace.createElement(
42597
42592
  Button$1,
42598
42593
  {
42599
- href: "https://tina.io/docs/tina-cloud/",
42594
+ href: "https://tina.io/docs/r/what-is-tinacloud/",
42600
42595
  target: "_blank",
42601
42596
  as: "a"
42602
42597
  },
@@ -42826,13 +42821,13 @@ Please wrap them with useCallback or configure the deps array correctly.`
42826
42821
  {
42827
42822
  target: "_blank",
42828
42823
  className: "transition-all duration-150 ease-out text-blue-600 hover:text-blue-400 hover:underline no-underline",
42829
- href: "https://tina.io/docs/tina-cloud/"
42824
+ href: "https://tina.io/docs/r/what-is-tinacloud/"
42830
42825
  },
42831
42826
  "Learn more about moving to production with TinaCloud."
42832
42827
  )), /* @__PURE__ */ React__namespace.createElement("p", null, /* @__PURE__ */ React__namespace.createElement(
42833
42828
  Button$1,
42834
42829
  {
42835
- href: "https://tina.io/docs/tina-cloud/",
42830
+ href: "https://tina.io/docs/r/what-is-tinacloud/",
42836
42831
  target: "_blank",
42837
42832
  as: "a"
42838
42833
  },
@@ -43749,18 +43744,14 @@ Please wrap them with useCallback or configure the deps array correctly.`
43749
43744
  }
43750
43745
  let res;
43751
43746
  if (!this.isLocal) {
43752
- if (await this.isAuthenticated()) {
43753
- res = await this.api.authProvider.fetchWithToken(
43754
- `${this.url}/list/${options.directory || ""}?limit=${options.limit || 20}${options.offset ? `&cursor=${options.offset}` : ""}`
43755
- );
43756
- if (res.status == 401) {
43757
- throw E_UNAUTHORIZED;
43758
- }
43759
- if (res.status == 404) {
43760
- throw E_BAD_ROUTE;
43761
- }
43762
- } else {
43763
- throw new Error("Not authenticated");
43747
+ res = await this.api.authProvider.fetchWithToken(
43748
+ `${this.url}/list/${options.directory || ""}?limit=${options.limit || 20}${options.offset ? `&cursor=${options.offset}` : ""}`
43749
+ );
43750
+ if (res.status == 401) {
43751
+ throw E_UNAUTHORIZED;
43752
+ }
43753
+ if (res.status == 404) {
43754
+ throw E_BAD_ROUTE;
43764
43755
  }
43765
43756
  } else {
43766
43757
  res = await this.fetchFunction(
@@ -43960,18 +43951,17 @@ Please wrap them with useCallback or configure the deps array correctly.`
43960
43951
  const E_UNAUTHORIZED = new MediaListError({
43961
43952
  title: "Unauthorized",
43962
43953
  message: "You don't have access to this resource.",
43963
- docsLink: "https://tina.io/docs/reference/media/overview"
43954
+ docsLink: "https://tina.io/docs/r/repo-based-media"
43964
43955
  });
43965
43956
  const E_BAD_ROUTE = new MediaListError({
43966
43957
  title: "Bad Route",
43967
43958
  message: "The Cloudinary API route is missing or misconfigured.",
43968
- docsLink: "https://tina.io/docs/reference/media/external/authentication/"
43959
+ docsLink: "https://tina.io/docs/r/backend-media-handler/"
43969
43960
  });
43970
43961
  new MediaListError({
43971
43962
  title: "An Error Occurred",
43972
43963
  message: "Something went wrong accessing your media from TinaCloud.",
43973
- docsLink: ""
43974
- // TODO
43964
+ docsLink: "https://tina.io/docs/r/repo-based-media"
43975
43965
  });
43976
43966
  class Flags {
43977
43967
  constructor(events2) {
@@ -44115,7 +44105,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
44115
44105
  "a",
44116
44106
  {
44117
44107
  className: "text-blue-500 underline",
44118
- href: "https://tina.io/docs/editing/markdown/#registering-the-field-plugins",
44108
+ href: "https://tina.io/docs/r/custom-fields-react",
44119
44109
  target: "_blank",
44120
44110
  rel: "noreferrer noopener"
44121
44111
  },
@@ -44454,7 +44444,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
44454
44444
  const defaultListError = new MediaListError({
44455
44445
  title: "Error fetching media",
44456
44446
  message: "Something went wrong while requesting the resource.",
44457
- docsLink: "https://tina.io/docs/media/#media-store"
44447
+ docsLink: "https://tina.io/docs/r/repo-based-media"
44458
44448
  });
44459
44449
  function MediaPicker({
44460
44450
  allowDelete,
@@ -44674,7 +44664,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
44674
44664
  {
44675
44665
  title: "No Media Store Configured",
44676
44666
  message: "To use the media manager, you need to configure a Media Store.",
44677
- docsLink: "https://tina.io/docs/reference/media/overview/"
44667
+ docsLink: "https://tina.io/docs/r/repo-based-media"
44678
44668
  }
44679
44669
  );
44680
44670
  }
@@ -45183,7 +45173,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
45183
45173
  if (!isLocalMode) {
45184
45174
  return null;
45185
45175
  }
45186
- return /* @__PURE__ */ React__namespace.createElement(Alert$1, { alertStyle: "warning" }, /* @__PURE__ */ React__namespace.createElement("a", { href: "https://tina.io/docs/tina-cloud/", target: "_blank" }, "You are in local mode"));
45176
+ return /* @__PURE__ */ React__namespace.createElement(Alert$1, { alertStyle: "warning" }, /* @__PURE__ */ React__namespace.createElement("a", { href: "https://tina.io/docs/r/what-is-tinacloud/", target: "_blank" }, "You are in local mode"));
45187
45177
  };
45188
45178
  const BillingWarning = () => {
45189
45179
  var _a2;
@@ -45924,7 +45914,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
45924
45914
  requiredArgs(1, arguments);
45925
45915
  return formatDistance(dirtyDate, Date.now(), options);
45926
45916
  }
45927
- const version$1 = "2.8.2";
45917
+ const version$1 = "2.8.3";
45928
45918
  const VersionInfo = () => {
45929
45919
  var _a2, _b, _c, _d, _e, _f;
45930
45920
  const cms = useCMS();
@@ -46187,7 +46177,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
46187
46177
  /* @__PURE__ */ React__namespace.createElement("div", { className: "flex flex-col px-6 flex-1 overflow-auto" }, showCollections && /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement("h4", { className: "flex space-x-1 justify-items-start uppercase font-sans font-bold text-sm mb-3 mt-8 text-gray-700" }, /* @__PURE__ */ React__namespace.createElement("span", null, "Collections"), isLocalMode && /* @__PURE__ */ React__namespace.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ React__namespace.createElement(
46188
46178
  "a",
46189
46179
  {
46190
- href: "https://tina.io/docs/schema/#defining-collections",
46180
+ href: "https://tina.io/docs/r/content-modelling-collections",
46191
46181
  target: "_blank"
46192
46182
  },
46193
46183
  /* @__PURE__ */ React__namespace.createElement(FiInfo, null)
@@ -46631,12 +46621,12 @@ Please wrap them with useCallback or configure the deps array correctly.`
46631
46621
  /* @__PURE__ */ React__namespace.createElement("p", { className: "block pt-5" }, /* @__PURE__ */ React__namespace.createElement(
46632
46622
  Button$1,
46633
46623
  {
46634
- href: "https://tina.io/docs/contextual-editing/overview",
46624
+ href: "https://tina.io/docs/r/visual-editing-setup",
46635
46625
  target: "_blank",
46636
46626
  as: "a"
46637
46627
  },
46638
46628
  /* @__PURE__ */ React__namespace.createElement(Emoji$1, { className: "mr-1.5" }, "πŸ“–"),
46639
- " Contextual Editing Docs"
46629
+ " Visual Editing Docs"
46640
46630
  ))
46641
46631
  );
46642
46632
  const Emoji$1 = ({ className = "", ...props }) => /* @__PURE__ */ React__namespace.createElement(
@@ -47285,7 +47275,7 @@ Please wrap them with useCallback or configure the deps array correctly.`
47285
47275
  name: "Support",
47286
47276
  link: {
47287
47277
  text: "Support",
47288
- href: "https://tina.io/docs/support"
47278
+ href: "https://tina.io/docs/r/support"
47289
47279
  },
47290
47280
  Icon: MdOutlineHelpOutline
47291
47281
  })
@@ -119899,7 +119889,7 @@ mutation addPendingDocumentMutation(
119899
119889
  {
119900
119890
  className: "text-gray-600",
119901
119891
  style: { textDecoration: "underline" },
119902
- href: "https://tina.io/docs/errors/faq/",
119892
+ href: "https://tina.io/docs/r/FAQ/",
119903
119893
  target: "_blank"
119904
119894
  },
119905
119895
  " ",
@@ -119957,7 +119947,7 @@ mutation addPendingDocumentMutation(
119957
119947
  !schema.config.contentApiUrlOverride
119958
119948
  ) {
119959
119949
  throw new Error(
119960
- "Invalid setup. See https://tina.io/docs/tina-cloud/overview for more information."
119950
+ "Invalid setup. See https://tina.io/docs/r/what-is-tinacloud for more information."
119961
119951
  );
119962
119952
  }
119963
119953
  if (!schema) {
@@ -120291,7 +120281,7 @@ This will work when developing locally but NOT when deployed to production.
120291
120281
  {
120292
120282
  className: "text-gray-600",
120293
120283
  style: { textDecoration: "underline" },
120294
- href: "https://tina.io/docs/errors/faq/",
120284
+ href: "https://tina.io/docs/r/FAQ/",
120295
120285
  target: "_blank"
120296
120286
  },
120297
120287
  " ",
@@ -120875,7 +120865,7 @@ This will work when developing locally but NOT when deployed to production.
120875
120865
  ) : /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-2 items-start w-full md:w-auto" }, /* @__PURE__ */ React.createElement("div", { className: "h-4" }), /* @__PURE__ */ React.createElement(
120876
120866
  Message,
120877
120867
  {
120878
- link: "https://tina.io/docs/reference/search/overview",
120868
+ link: "https://tina.io/docs/r/content-search",
120879
120869
  linkLabel: "Read The Docs",
120880
120870
  type: "info",
120881
120871
  size: "small"
@@ -120916,12 +120906,12 @@ This will work when developing locally but NOT when deployed to production.
120916
120906
  /* @__PURE__ */ React.createElement("p", null, "Folders can’t be manually added when using templates.", /* @__PURE__ */ React.createElement("br", null), "See the docs -", " ", /* @__PURE__ */ React.createElement(
120917
120907
  "a",
120918
120908
  {
120919
- href: "https://tina.io/docs/reference/templates",
120909
+ href: "https://tina.io/docs/r/content-modelling-templates",
120920
120910
  target: "_blank",
120921
120911
  rel: "noopener noreferrer",
120922
120912
  className: "underline text-blue-500"
120923
120913
  },
120924
- "https://tina.io/docs/reference/templates"
120914
+ "https://tina.io/docs/r/content-modelling-templates"
120925
120915
  ))
120926
120916
  )))), !collection.templates && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
120927
120917
  reactRouterDom.Link,
package/dist/index.mjs CHANGED
@@ -42020,12 +42020,10 @@ class Datetime extends React__default.Component {
42020
42020
  localMoment(date, format2, props) {
42021
42021
  props = props || this.props;
42022
42022
  let m = null;
42023
- if (props.utc) {
42024
- m = moment.utc(date, format2, props.strictParsing);
42025
- } else if (props.displayTimeZone) {
42023
+ if (props.displayTimeZone) {
42026
42024
  m = moment.tz(date, format2, props.displayTimeZone);
42027
42025
  } else {
42028
- m = moment(date, format2, props.strictParsing);
42026
+ m = moment.utc(date, format2, props.strictParsing);
42029
42027
  }
42030
42028
  if (props.locale)
42031
42029
  m.locale(props.locale);
@@ -42067,15 +42065,12 @@ class Datetime extends React__default.Component {
42067
42065
  viewDate.locale(props.locale);
42068
42066
  selectedDate && selectedDate.locale(props.locale);
42069
42067
  }
42070
- if (props.utc) {
42071
- viewDate.utc();
42072
- selectedDate && selectedDate.utc();
42073
- } else if (props.displayTimeZone) {
42068
+ if (props.displayTimeZone) {
42074
42069
  viewDate.tz(props.displayTimeZone);
42075
42070
  selectedDate && selectedDate.tz(props.displayTimeZone);
42076
42071
  } else {
42077
- viewDate.locale();
42078
- selectedDate && selectedDate.locale();
42072
+ viewDate.utc();
42073
+ selectedDate && selectedDate.utc();
42079
42074
  }
42080
42075
  const update = { viewDate, selectedDate };
42081
42076
  if (selectedDate && selectedDate.isValid()) {
@@ -42617,13 +42612,13 @@ const BranchSwitcherLegacy = ({
42617
42612
  {
42618
42613
  target: "_blank",
42619
42614
  className: "transition-all duration-150 ease-out text-blue-600 hover:text-blue-400 hover:underline no-underline",
42620
- href: "https://tina.io/docs/tina-cloud/"
42615
+ href: "https://tina.io/docs/r/what-is-tinacloud/"
42621
42616
  },
42622
42617
  "Learn more about moving to production with TinaCloud."
42623
42618
  )), /* @__PURE__ */ React.createElement("p", null, /* @__PURE__ */ React.createElement(
42624
42619
  Button$1,
42625
42620
  {
42626
- href: "https://tina.io/docs/tina-cloud/",
42621
+ href: "https://tina.io/docs/r/what-is-tinacloud/",
42627
42622
  target: "_blank",
42628
42623
  as: "a"
42629
42624
  },
@@ -42853,13 +42848,13 @@ const EditoralBranchSwitcher = ({
42853
42848
  {
42854
42849
  target: "_blank",
42855
42850
  className: "transition-all duration-150 ease-out text-blue-600 hover:text-blue-400 hover:underline no-underline",
42856
- href: "https://tina.io/docs/tina-cloud/"
42851
+ href: "https://tina.io/docs/r/what-is-tinacloud/"
42857
42852
  },
42858
42853
  "Learn more about moving to production with TinaCloud."
42859
42854
  )), /* @__PURE__ */ React.createElement("p", null, /* @__PURE__ */ React.createElement(
42860
42855
  Button$1,
42861
42856
  {
42862
- href: "https://tina.io/docs/tina-cloud/",
42857
+ href: "https://tina.io/docs/r/what-is-tinacloud/",
42863
42858
  target: "_blank",
42864
42859
  as: "a"
42865
42860
  },
@@ -43776,18 +43771,14 @@ class TinaMediaStore {
43776
43771
  }
43777
43772
  let res;
43778
43773
  if (!this.isLocal) {
43779
- if (await this.isAuthenticated()) {
43780
- res = await this.api.authProvider.fetchWithToken(
43781
- `${this.url}/list/${options.directory || ""}?limit=${options.limit || 20}${options.offset ? `&cursor=${options.offset}` : ""}`
43782
- );
43783
- if (res.status == 401) {
43784
- throw E_UNAUTHORIZED;
43785
- }
43786
- if (res.status == 404) {
43787
- throw E_BAD_ROUTE;
43788
- }
43789
- } else {
43790
- throw new Error("Not authenticated");
43774
+ res = await this.api.authProvider.fetchWithToken(
43775
+ `${this.url}/list/${options.directory || ""}?limit=${options.limit || 20}${options.offset ? `&cursor=${options.offset}` : ""}`
43776
+ );
43777
+ if (res.status == 401) {
43778
+ throw E_UNAUTHORIZED;
43779
+ }
43780
+ if (res.status == 404) {
43781
+ throw E_BAD_ROUTE;
43791
43782
  }
43792
43783
  } else {
43793
43784
  res = await this.fetchFunction(
@@ -43987,18 +43978,17 @@ class MediaListError extends Error {
43987
43978
  const E_UNAUTHORIZED = new MediaListError({
43988
43979
  title: "Unauthorized",
43989
43980
  message: "You don't have access to this resource.",
43990
- docsLink: "https://tina.io/docs/reference/media/overview"
43981
+ docsLink: "https://tina.io/docs/r/repo-based-media"
43991
43982
  });
43992
43983
  const E_BAD_ROUTE = new MediaListError({
43993
43984
  title: "Bad Route",
43994
43985
  message: "The Cloudinary API route is missing or misconfigured.",
43995
- docsLink: "https://tina.io/docs/reference/media/external/authentication/"
43986
+ docsLink: "https://tina.io/docs/r/backend-media-handler/"
43996
43987
  });
43997
43988
  new MediaListError({
43998
43989
  title: "An Error Occurred",
43999
43990
  message: "Something went wrong accessing your media from TinaCloud.",
44000
- docsLink: ""
44001
- // TODO
43991
+ docsLink: "https://tina.io/docs/r/repo-based-media"
44002
43992
  });
44003
43993
  class Flags {
44004
43994
  constructor(events2) {
@@ -44142,7 +44132,7 @@ function createPlaceholder(name, _pr) {
44142
44132
  "a",
44143
44133
  {
44144
44134
  className: "text-blue-500 underline",
44145
- href: "https://tina.io/docs/editing/markdown/#registering-the-field-plugins",
44135
+ href: "https://tina.io/docs/r/custom-fields-react",
44146
44136
  target: "_blank",
44147
44137
  rel: "noreferrer noopener"
44148
44138
  },
@@ -44481,7 +44471,7 @@ function MediaManager2() {
44481
44471
  const defaultListError = new MediaListError({
44482
44472
  title: "Error fetching media",
44483
44473
  message: "Something went wrong while requesting the resource.",
44484
- docsLink: "https://tina.io/docs/media/#media-store"
44474
+ docsLink: "https://tina.io/docs/r/repo-based-media"
44485
44475
  });
44486
44476
  function MediaPicker({
44487
44477
  allowDelete,
@@ -44701,7 +44691,7 @@ function MediaPicker({
44701
44691
  {
44702
44692
  title: "No Media Store Configured",
44703
44693
  message: "To use the media manager, you need to configure a Media Store.",
44704
- docsLink: "https://tina.io/docs/reference/media/overview/"
44694
+ docsLink: "https://tina.io/docs/r/repo-based-media"
44705
44695
  }
44706
44696
  );
44707
44697
  }
@@ -45210,7 +45200,7 @@ const LocalWarning = () => {
45210
45200
  if (!isLocalMode) {
45211
45201
  return null;
45212
45202
  }
45213
- return /* @__PURE__ */ React.createElement(Alert$1, { alertStyle: "warning" }, /* @__PURE__ */ React.createElement("a", { href: "https://tina.io/docs/tina-cloud/", target: "_blank" }, "You are in local mode"));
45203
+ return /* @__PURE__ */ React.createElement(Alert$1, { alertStyle: "warning" }, /* @__PURE__ */ React.createElement("a", { href: "https://tina.io/docs/r/what-is-tinacloud/", target: "_blank" }, "You are in local mode"));
45214
45204
  };
45215
45205
  const BillingWarning = () => {
45216
45206
  var _a2;
@@ -45951,7 +45941,7 @@ function formatDistanceToNow(dirtyDate, options) {
45951
45941
  requiredArgs(1, arguments);
45952
45942
  return formatDistance2(dirtyDate, Date.now(), options);
45953
45943
  }
45954
- const version$1 = "2.8.2";
45944
+ const version$1 = "2.8.3";
45955
45945
  const VersionInfo = () => {
45956
45946
  var _a2, _b, _c, _d, _e, _f;
45957
45947
  const cms = useCMS();
@@ -46214,7 +46204,7 @@ const Nav = ({
46214
46204
  /* @__PURE__ */ React.createElement("div", { className: "flex flex-col px-6 flex-1 overflow-auto" }, showCollections && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h4", { className: "flex space-x-1 justify-items-start uppercase font-sans font-bold text-sm mb-3 mt-8 text-gray-700" }, /* @__PURE__ */ React.createElement("span", null, "Collections"), isLocalMode && /* @__PURE__ */ React.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ React.createElement(
46215
46205
  "a",
46216
46206
  {
46217
- href: "https://tina.io/docs/schema/#defining-collections",
46207
+ href: "https://tina.io/docs/r/content-modelling-collections",
46218
46208
  target: "_blank"
46219
46209
  },
46220
46210
  /* @__PURE__ */ React.createElement(FiInfo, null)
@@ -46658,12 +46648,12 @@ const SidebarNoFormsPlaceholder = () => /* @__PURE__ */ React.createElement(
46658
46648
  /* @__PURE__ */ React.createElement("p", { className: "block pt-5" }, /* @__PURE__ */ React.createElement(
46659
46649
  Button$1,
46660
46650
  {
46661
- href: "https://tina.io/docs/contextual-editing/overview",
46651
+ href: "https://tina.io/docs/r/visual-editing-setup",
46662
46652
  target: "_blank",
46663
46653
  as: "a"
46664
46654
  },
46665
46655
  /* @__PURE__ */ React.createElement(Emoji$1, { className: "mr-1.5" }, "πŸ“–"),
46666
- " Contextual Editing Docs"
46656
+ " Visual Editing Docs"
46667
46657
  ))
46668
46658
  );
46669
46659
  const Emoji$1 = ({ className = "", ...props }) => /* @__PURE__ */ React.createElement(
@@ -47312,7 +47302,7 @@ class TinaCMS extends CMS {
47312
47302
  name: "Support",
47313
47303
  link: {
47314
47304
  text: "Support",
47315
- href: "https://tina.io/docs/support"
47305
+ href: "https://tina.io/docs/r/support"
47316
47306
  },
47317
47307
  Icon: MdOutlineHelpOutline
47318
47308
  })
@@ -119926,7 +119916,7 @@ class ErrorBoundary extends React__default.Component {
119926
119916
  {
119927
119917
  className: "text-gray-600",
119928
119918
  style: { textDecoration: "underline" },
119929
- href: "https://tina.io/docs/errors/faq/",
119919
+ href: "https://tina.io/docs/r/FAQ/",
119930
119920
  target: "_blank"
119931
119921
  },
119932
119922
  " ",
@@ -119984,7 +119974,7 @@ const TinaCMSProvider2 = ({
119984
119974
  !schema.config.contentApiUrlOverride
119985
119975
  ) {
119986
119976
  throw new Error(
119987
- "Invalid setup. See https://tina.io/docs/tina-cloud/overview for more information."
119977
+ "Invalid setup. See https://tina.io/docs/r/what-is-tinacloud for more information."
119988
119978
  );
119989
119979
  }
119990
119980
  if (!schema) {
@@ -120318,7 +120308,7 @@ const ErrorDialog = (props) => {
120318
120308
  {
120319
120309
  className: "text-gray-600",
120320
120310
  style: { textDecoration: "underline" },
120321
- href: "https://tina.io/docs/errors/faq/",
120311
+ href: "https://tina.io/docs/r/FAQ/",
120322
120312
  target: "_blank"
120323
120313
  },
120324
120314
  " ",
@@ -120902,7 +120892,7 @@ const CollectionListPage = () => {
120902
120892
  ) : /* @__PURE__ */ React__default.createElement("div", { className: "flex flex-col gap-2 items-start w-full md:w-auto" }, /* @__PURE__ */ React__default.createElement("div", { className: "h-4" }), /* @__PURE__ */ React__default.createElement(
120903
120893
  Message,
120904
120894
  {
120905
- link: "https://tina.io/docs/reference/search/overview",
120895
+ link: "https://tina.io/docs/r/content-search",
120906
120896
  linkLabel: "Read The Docs",
120907
120897
  type: "info",
120908
120898
  size: "small"
@@ -120943,12 +120933,12 @@ const CollectionListPage = () => {
120943
120933
  /* @__PURE__ */ React__default.createElement("p", null, "Folders can’t be manually added when using templates.", /* @__PURE__ */ React__default.createElement("br", null), "See the docs -", " ", /* @__PURE__ */ React__default.createElement(
120944
120934
  "a",
120945
120935
  {
120946
- href: "https://tina.io/docs/reference/templates",
120936
+ href: "https://tina.io/docs/r/content-modelling-templates",
120947
120937
  target: "_blank",
120948
120938
  rel: "noopener noreferrer",
120949
120939
  className: "underline text-blue-500"
120950
120940
  },
120951
- "https://tina.io/docs/reference/templates"
120941
+ "https://tina.io/docs/r/content-modelling-templates"
120952
120942
  ))
120953
120943
  )))), !collection.templates && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
120954
120944
  Link$1,
@@ -9,7 +9,7 @@ import type { TinaCMSProviderDefaultProps } from './types/cms';
9
9
  export declare const TinaCMSProvider2: ({ query, documentCreatorCallback, formifyCallback, schema, ...props }: TinaCMSProviderDefaultProps) => React.JSX.Element;
10
10
  export type DocumentCreatorCallback = Parameters<typeof useDocumentCreatorPlugin>[0];
11
11
  /**
12
- * @deprecated v0.62.0: Use `staticRequest` and a "try catch" block instead. see https://tina.io/docs/features/data-fetching/#querying-tina-content-in-nextjs for more details
12
+ * @deprecated v0.62.0: Use `staticRequest` and a "try catch" block instead. see https://tina.io/docs/r/content-api-overview for more details
13
13
  *
14
14
  * A convenience function which makes a GraphQL request
15
15
  * to a local GraphQL server and ensures the response fits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "0.0.0-ce96a8d-20250829163200",
3
+ "version": "0.0.0-ced9076-20250922063813",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {
@@ -142,8 +142,8 @@
142
142
  "yup": "^1.6.1",
143
143
  "zod": "^3.24.2",
144
144
  "@tinacms/mdx": "1.8.1",
145
- "@tinacms/search": "1.1.1",
146
- "@tinacms/schema-tools": "1.9.1"
145
+ "@tinacms/schema-tools": "1.9.1",
146
+ "@tinacms/search": "1.1.1"
147
147
  },
148
148
  "devDependencies": {
149
149
  "@graphql-tools/utils": "^10.8.1",