tinacms 0.69.20 → 0.69.22
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.es.js +4 -2
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -4523,6 +4523,7 @@ const Sidebar = ({ cms }) => {
|
|
|
4523
4523
|
const windowWidth = useWindowWidth();
|
|
4524
4524
|
const renderDesktopNav = windowWidth > navBreakpoint;
|
|
4525
4525
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, renderDesktopNav && /* @__PURE__ */ React.createElement(Nav, {
|
|
4526
|
+
isLocalMode,
|
|
4526
4527
|
sidebarWidth: 360,
|
|
4527
4528
|
showCollections: true,
|
|
4528
4529
|
collectionsInfo,
|
|
@@ -4555,6 +4556,7 @@ const Sidebar = ({ cms }) => {
|
|
|
4555
4556
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
4556
4557
|
className: "fixed left-0 top-0 z-overlay h-full transform"
|
|
4557
4558
|
}, /* @__PURE__ */ React.createElement(Nav, {
|
|
4559
|
+
isLocalMode,
|
|
4558
4560
|
className: "rounded-r-md",
|
|
4559
4561
|
sidebarWidth: 360,
|
|
4560
4562
|
showCollections: true,
|
|
@@ -5050,14 +5052,14 @@ const CollectionListPage = () => {
|
|
|
5050
5052
|
},
|
|
5051
5053
|
...fields.map((x) => [
|
|
5052
5054
|
{
|
|
5053
|
-
label: x.label || x.name + " (Ascending)",
|
|
5055
|
+
label: (x.label || x.name) + " (Ascending)",
|
|
5054
5056
|
value: JSON.stringify({
|
|
5055
5057
|
name: x.name,
|
|
5056
5058
|
order: "asc"
|
|
5057
5059
|
})
|
|
5058
5060
|
},
|
|
5059
5061
|
{
|
|
5060
|
-
label: x.label || x.name + " (Descending)",
|
|
5062
|
+
label: (x.label || x.name) + " (Descending)",
|
|
5061
5063
|
value: JSON.stringify({
|
|
5062
5064
|
name: x.name,
|
|
5063
5065
|
order: "desc"
|
package/dist/index.js
CHANGED
|
@@ -4539,6 +4539,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
4539
4539
|
const windowWidth = windowSize.useWindowWidth();
|
|
4540
4540
|
const renderDesktopNav = windowWidth > navBreakpoint;
|
|
4541
4541
|
return /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, renderDesktopNav && /* @__PURE__ */ React__default["default"].createElement(toolkit.Nav, {
|
|
4542
|
+
isLocalMode,
|
|
4542
4543
|
sidebarWidth: 360,
|
|
4543
4544
|
showCollections: true,
|
|
4544
4545
|
collectionsInfo,
|
|
@@ -4571,6 +4572,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
4571
4572
|
}, /* @__PURE__ */ React__default["default"].createElement("div", {
|
|
4572
4573
|
className: "fixed left-0 top-0 z-overlay h-full transform"
|
|
4573
4574
|
}, /* @__PURE__ */ React__default["default"].createElement(toolkit.Nav, {
|
|
4575
|
+
isLocalMode,
|
|
4574
4576
|
className: "rounded-r-md",
|
|
4575
4577
|
sidebarWidth: 360,
|
|
4576
4578
|
showCollections: true,
|
|
@@ -5066,14 +5068,14 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
5066
5068
|
},
|
|
5067
5069
|
...fields.map((x) => [
|
|
5068
5070
|
{
|
|
5069
|
-
label: x.label || x.name + " (Ascending)",
|
|
5071
|
+
label: (x.label || x.name) + " (Ascending)",
|
|
5070
5072
|
value: JSON.stringify({
|
|
5071
5073
|
name: x.name,
|
|
5072
5074
|
order: "asc"
|
|
5073
5075
|
})
|
|
5074
5076
|
},
|
|
5075
5077
|
{
|
|
5076
|
-
label: x.label || x.name + " (Descending)",
|
|
5078
|
+
label: (x.label || x.name) + " (Descending)",
|
|
5077
5079
|
value: JSON.stringify({
|
|
5078
5080
|
name: x.name,
|
|
5079
5081
|
order: "desc"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms",
|
|
3
|
-
"version": "0.69.
|
|
3
|
+
"version": "0.69.22",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"exports": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@react-hook/window-size": "^3.0.7",
|
|
58
58
|
"@tinacms/schema-tools": "0.1.9",
|
|
59
59
|
"@tinacms/sharedctx": "0.1.3",
|
|
60
|
-
"@tinacms/toolkit": "0.58.
|
|
60
|
+
"@tinacms/toolkit": "0.58.4",
|
|
61
61
|
"crypto-js": "^4.0.0",
|
|
62
62
|
"fetch-ponyfill": "^7.1.0",
|
|
63
63
|
"final-form": "4.20.1",
|