tinacms 1.4.4 → 1.4.6
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 +2 -6
- package/dist/index.js +2 -6
- package/dist/style.css +0 -4
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1838,10 +1838,6 @@ var styles = `.tina-tailwind {
|
|
|
1838
1838
|
--tw-text-opacity: 1;
|
|
1839
1839
|
color: rgb(67 62 82 / var(--tw-text-opacity));
|
|
1840
1840
|
}
|
|
1841
|
-
.tina-tailwind .text-gray-800 {
|
|
1842
|
-
--tw-text-opacity: 1;
|
|
1843
|
-
color: rgb(54 49 69 / var(--tw-text-opacity));
|
|
1844
|
-
}
|
|
1845
1841
|
.tina-tailwind .text-gray-900 {
|
|
1846
1842
|
--tw-text-opacity: 1;
|
|
1847
1843
|
color: rgb(37 35 54 / var(--tw-text-opacity));
|
|
@@ -3102,14 +3098,14 @@ const TemplateMenu = ({ templates }) => {
|
|
|
3102
3098
|
leaveFrom: "transform opacity-100 scale-100",
|
|
3103
3099
|
leaveTo: "transform opacity-0 scale-95"
|
|
3104
3100
|
}, /* @__PURE__ */ React.createElement(Menu.Items, {
|
|
3105
|
-
className: "origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
|
|
3101
|
+
className: "origin-top-right absolute right-0 mt-2 z-menu w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
|
|
3106
3102
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
3107
3103
|
className: "py-1"
|
|
3108
3104
|
}, templates.map((template) => /* @__PURE__ */ React.createElement(Menu.Item, {
|
|
3109
3105
|
key: `${template.label}-${template.name}`
|
|
3110
3106
|
}, ({ active }) => /* @__PURE__ */ React.createElement(Link, {
|
|
3111
3107
|
to: `${template.name}/new`,
|
|
3112
|
-
className: `w-full text-md px-4 py-2 tracking-wide flex items-center
|
|
3108
|
+
className: `w-full text-md px-4 py-2 tracking-wide flex items-center transition ease-out duration-100 ${active ? "text-blue-600 opacity-100 bg-gray-50" : "opacity-80 text-gray-600"}`
|
|
3113
3109
|
}, template.label))))))));
|
|
3114
3110
|
};
|
|
3115
3111
|
const handleNavigate = (navigate, cms, collection, collectionDefinition, document) => {
|
package/dist/index.js
CHANGED
|
@@ -1853,10 +1853,6 @@ mutation addPendingDocumentMutation(
|
|
|
1853
1853
|
--tw-text-opacity: 1;
|
|
1854
1854
|
color: rgb(67 62 82 / var(--tw-text-opacity));
|
|
1855
1855
|
}
|
|
1856
|
-
.tina-tailwind .text-gray-800 {
|
|
1857
|
-
--tw-text-opacity: 1;
|
|
1858
|
-
color: rgb(54 49 69 / var(--tw-text-opacity));
|
|
1859
|
-
}
|
|
1860
1856
|
.tina-tailwind .text-gray-900 {
|
|
1861
1857
|
--tw-text-opacity: 1;
|
|
1862
1858
|
color: rgb(37 35 54 / var(--tw-text-opacity));
|
|
@@ -3117,14 +3113,14 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
3117
3113
|
leaveFrom: "transform opacity-100 scale-100",
|
|
3118
3114
|
leaveTo: "transform opacity-0 scale-95"
|
|
3119
3115
|
}, /* @__PURE__ */ React__default["default"].createElement(react.Menu.Items, {
|
|
3120
|
-
className: "origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
|
|
3116
|
+
className: "origin-top-right absolute right-0 mt-2 z-menu w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
|
|
3121
3117
|
}, /* @__PURE__ */ React__default["default"].createElement("div", {
|
|
3122
3118
|
className: "py-1"
|
|
3123
3119
|
}, templates.map((template) => /* @__PURE__ */ React__default["default"].createElement(react.Menu.Item, {
|
|
3124
3120
|
key: `${template.label}-${template.name}`
|
|
3125
3121
|
}, ({ active }) => /* @__PURE__ */ React__default["default"].createElement(reactRouterDom.Link, {
|
|
3126
3122
|
to: `${template.name}/new`,
|
|
3127
|
-
className: `w-full text-md px-4 py-2 tracking-wide flex items-center
|
|
3123
|
+
className: `w-full text-md px-4 py-2 tracking-wide flex items-center transition ease-out duration-100 ${active ? "text-blue-600 opacity-100 bg-gray-50" : "opacity-80 text-gray-600"}`
|
|
3128
3124
|
}, template.label))))))));
|
|
3129
3125
|
};
|
|
3130
3126
|
const handleNavigate = (navigate, cms, collection, collectionDefinition, document) => {
|
package/dist/style.css
CHANGED
|
@@ -884,10 +884,6 @@
|
|
|
884
884
|
--tw-text-opacity: 1;
|
|
885
885
|
color: rgb(67 62 82 / var(--tw-text-opacity));
|
|
886
886
|
}
|
|
887
|
-
.tina-tailwind .text-gray-800 {
|
|
888
|
-
--tw-text-opacity: 1;
|
|
889
|
-
color: rgb(54 49 69 / var(--tw-text-opacity));
|
|
890
|
-
}
|
|
891
887
|
.tina-tailwind .text-gray-900 {
|
|
892
888
|
--tw-text-opacity: 1;
|
|
893
889
|
color: rgb(37 35 54 / var(--tw-text-opacity));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"exports": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@react-hook/window-size": "^3.0.7",
|
|
59
59
|
"@tinacms/schema-tools": "1.4.2",
|
|
60
60
|
"@tinacms/sharedctx": "1.0.1",
|
|
61
|
-
"@tinacms/toolkit": "1.6.
|
|
61
|
+
"@tinacms/toolkit": "1.6.4",
|
|
62
62
|
"crypto-js": "^4.0.0",
|
|
63
63
|
"encoding": "0.1.13",
|
|
64
64
|
"fetch-ponyfill": "^7.1.0",
|