tinacms 0.68.7 → 0.68.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # tinacms
2
2
 
3
+ ## 0.68.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 999f0895a: Set font family on heading elements
8
+ - 41be5e7fc: Fixes subitem links to use breadcrumbs
9
+ - Updated dependencies [999f0895a]
10
+ - @tinacms/toolkit@0.56.31
11
+
3
12
  ## 0.68.7
4
13
 
5
14
  ### Patch Changes
package/dist/index.es.js CHANGED
@@ -3551,7 +3551,7 @@ const AuthTemplate = ({
3551
3551
  }, /* @__PURE__ */ React__default.createElement("div", {
3552
3552
  className: "px-5 py-4 border-b border-gray-150"
3553
3553
  }, /* @__PURE__ */ React__default.createElement("h2", {
3554
- className: "text-2xl tracking-wide text-gray-700 flex items-center gap-0.5"
3554
+ className: "text-2xl font-sans tracking-wide text-gray-700 flex items-center gap-0.5"
3555
3555
  }, /* @__PURE__ */ React__default.createElement("svg", {
3556
3556
  viewBox: "0 0 32 32",
3557
3557
  fill: "#EC4815",
@@ -3654,7 +3654,7 @@ const DashboardPage = () => {
3654
3654
  return /* @__PURE__ */ React__default.createElement(PageWrapper, null, /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(PageHeader, {
3655
3655
  isLocalMode: (_b = (_a = cms.api) == null ? void 0 : _a.tina) == null ? void 0 : _b.isLocalMode
3656
3656
  }, /* @__PURE__ */ React__default.createElement("h3", {
3657
- className: "text-2xl text-gray-700"
3657
+ className: "text-2xl font-sans text-gray-700"
3658
3658
  }, "Welcome to Tina!")), /* @__PURE__ */ React__default.createElement(PageBodyNarrow, null, "This is your dashboard for editing or creating content. Select a collection on the left to begin.")));
3659
3659
  });
3660
3660
  };
@@ -4025,7 +4025,7 @@ const CollectionListPage = () => {
4025
4025
  }), /* @__PURE__ */ React__default.createElement(PageHeader, {
4026
4026
  isLocalMode: (_b = (_a = cms == null ? void 0 : cms.api) == null ? void 0 : _a.tina) == null ? void 0 : _b.isLocalMode
4027
4027
  }, /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("h3", {
4028
- className: "text-2xl text-gray-700"
4028
+ className: "font-sans text-2xl text-gray-700"
4029
4029
  }, collection.label ? collection.label : collection.name), !collection.templates && /* @__PURE__ */ React__default.createElement(Link, {
4030
4030
  to: `new`,
4031
4031
  className: "icon-parent inline-flex items-center font-medium focus:outline-none focus:ring-2 focus:shadow-outline text-center rounded-full justify-center transition-all duration-150 ease-out shadow text-white bg-blue-500 hover:bg-blue-600 focus:ring-blue-500 text-sm h-10 px-6"
@@ -4090,7 +4090,7 @@ const CollectionListPage = () => {
4090
4090
  size: "1.3rem"
4091
4091
  }),
4092
4092
  onMouseDown: () => {
4093
- navigate(`${document.node._sys.filename}`, { replace: true });
4093
+ navigate(`${document.node._sys.breadcrumbs.join("/")}`, { replace: true });
4094
4094
  }
4095
4095
  },
4096
4096
  {
@@ -4103,7 +4103,7 @@ const CollectionListPage = () => {
4103
4103
  onMouseDown: () => {
4104
4104
  setVars({
4105
4105
  collection: collectionName,
4106
- relativePath: document.node._sys.filename + document.node._sys.extension
4106
+ relativePath: document.node._sys.breadcrumbs.join("/") + document.node._sys.extension
4107
4107
  });
4108
4108
  setOpen(true);
4109
4109
  }
@@ -4134,7 +4134,7 @@ const CollectionListPage = () => {
4134
4134
  });
4135
4135
  };
4136
4136
  const DeleteModal = ({ close: close2, deleteFunc, filename }) => {
4137
- return /* @__PURE__ */ React__default.createElement(Modal, null, /* @__PURE__ */ React__default.createElement(ModalPopup, null, /* @__PURE__ */ React__default.createElement(ModalHeader, {
4137
+ return /* @__PURE__ */ React__default.createElement(Modal, null, /* @__PURE__ */ React__default.createElement(ModalHeader, {
4138
4138
  close: close2
4139
4139
  }, "Delete ", filename), /* @__PURE__ */ React__default.createElement(ModalBody, {
4140
4140
  padded: true
@@ -4148,7 +4148,7 @@ const DeleteModal = ({ close: close2, deleteFunc, filename }) => {
4148
4148
  await deleteFunc();
4149
4149
  close2();
4150
4150
  }
4151
- }, "Delete"))));
4151
+ }, "Delete")));
4152
4152
  };
4153
4153
  function HiChevronRight(props) {
4154
4154
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 20 20", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z", "clipRule": "evenodd" } }] })(props);
package/dist/index.js CHANGED
@@ -3569,7 +3569,7 @@ This will work when developing locally but NOT when deployed to production.
3569
3569
  }, /* @__PURE__ */ React__default["default"].createElement("div", {
3570
3570
  className: "px-5 py-4 border-b border-gray-150"
3571
3571
  }, /* @__PURE__ */ React__default["default"].createElement("h2", {
3572
- className: "text-2xl tracking-wide text-gray-700 flex items-center gap-0.5"
3572
+ className: "text-2xl font-sans tracking-wide text-gray-700 flex items-center gap-0.5"
3573
3573
  }, /* @__PURE__ */ React__default["default"].createElement("svg", {
3574
3574
  viewBox: "0 0 32 32",
3575
3575
  fill: "#EC4815",
@@ -3672,7 +3672,7 @@ This will work when developing locally but NOT when deployed to production.
3672
3672
  return /* @__PURE__ */ React__default["default"].createElement(PageWrapper, null, /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(PageHeader, {
3673
3673
  isLocalMode: (_b = (_a = cms.api) == null ? void 0 : _a.tina) == null ? void 0 : _b.isLocalMode
3674
3674
  }, /* @__PURE__ */ React__default["default"].createElement("h3", {
3675
- className: "text-2xl text-gray-700"
3675
+ className: "text-2xl font-sans text-gray-700"
3676
3676
  }, "Welcome to Tina!")), /* @__PURE__ */ React__default["default"].createElement(PageBodyNarrow, null, "This is your dashboard for editing or creating content. Select a collection on the left to begin.")));
3677
3677
  });
3678
3678
  };
@@ -4043,7 +4043,7 @@ This will work when developing locally but NOT when deployed to production.
4043
4043
  }), /* @__PURE__ */ React__default["default"].createElement(PageHeader, {
4044
4044
  isLocalMode: (_b = (_a = cms == null ? void 0 : cms.api) == null ? void 0 : _a.tina) == null ? void 0 : _b.isLocalMode
4045
4045
  }, /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement("h3", {
4046
- className: "text-2xl text-gray-700"
4046
+ className: "font-sans text-2xl text-gray-700"
4047
4047
  }, collection.label ? collection.label : collection.name), !collection.templates && /* @__PURE__ */ React__default["default"].createElement(reactRouterDom.Link, {
4048
4048
  to: `new`,
4049
4049
  className: "icon-parent inline-flex items-center font-medium focus:outline-none focus:ring-2 focus:shadow-outline text-center rounded-full justify-center transition-all duration-150 ease-out shadow text-white bg-blue-500 hover:bg-blue-600 focus:ring-blue-500 text-sm h-10 px-6"
@@ -4108,7 +4108,7 @@ This will work when developing locally but NOT when deployed to production.
4108
4108
  size: "1.3rem"
4109
4109
  }),
4110
4110
  onMouseDown: () => {
4111
- navigate(`${document.node._sys.filename}`, { replace: true });
4111
+ navigate(`${document.node._sys.breadcrumbs.join("/")}`, { replace: true });
4112
4112
  }
4113
4113
  },
4114
4114
  {
@@ -4121,7 +4121,7 @@ This will work when developing locally but NOT when deployed to production.
4121
4121
  onMouseDown: () => {
4122
4122
  setVars({
4123
4123
  collection: collectionName,
4124
- relativePath: document.node._sys.filename + document.node._sys.extension
4124
+ relativePath: document.node._sys.breadcrumbs.join("/") + document.node._sys.extension
4125
4125
  });
4126
4126
  setOpen(true);
4127
4127
  }
@@ -4152,7 +4152,7 @@ This will work when developing locally but NOT when deployed to production.
4152
4152
  });
4153
4153
  };
4154
4154
  const DeleteModal = ({ close: close2, deleteFunc, filename }) => {
4155
- return /* @__PURE__ */ React__default["default"].createElement(toolkit.Modal, null, /* @__PURE__ */ React__default["default"].createElement(toolkit.ModalPopup, null, /* @__PURE__ */ React__default["default"].createElement(toolkit.ModalHeader, {
4155
+ return /* @__PURE__ */ React__default["default"].createElement(toolkit.Modal, null, /* @__PURE__ */ React__default["default"].createElement(toolkit.ModalHeader, {
4156
4156
  close: close2
4157
4157
  }, "Delete ", filename), /* @__PURE__ */ React__default["default"].createElement(toolkit.ModalBody, {
4158
4158
  padded: true
@@ -4166,7 +4166,7 @@ This will work when developing locally but NOT when deployed to production.
4166
4166
  await deleteFunc();
4167
4167
  close2();
4168
4168
  }
4169
- }, "Delete"))));
4169
+ }, "Delete")));
4170
4170
  };
4171
4171
  function HiChevronRight(props) {
4172
4172
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 20 20", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z", "clipRule": "evenodd" } }] })(props);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "0.68.7",
3
+ "version": "0.68.8",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist"
@@ -28,7 +28,7 @@
28
28
  "@react-hook/window-size": "^3.0.7",
29
29
  "@tinacms/schema-tools": "0.0.4",
30
30
  "@tinacms/sharedctx": "0.1.1",
31
- "@tinacms/toolkit": "0.56.30",
31
+ "@tinacms/toolkit": "0.56.31",
32
32
  "crypto-js": "^4.0.0",
33
33
  "fetch-ponyfill": "^7.1.0",
34
34
  "final-form": "4.20.1",