docstra 1.0.0 → 1.0.1
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/index.js +2 -2
- package/dist/client/index.mjs +2 -2
- package/dist/styles.css +0 -28
- package/package.json +1 -1
package/dist/client/index.js
CHANGED
|
@@ -663,8 +663,8 @@ function DocstraTOC({ mdxFilePath, rawMdxContent }) {
|
|
|
663
663
|
const lastScrollY = (0, import_react6.useRef)(0);
|
|
664
664
|
const observerRef = (0, import_react6.useRef)(null);
|
|
665
665
|
const pathname = (0, import_navigation5.usePathname)();
|
|
666
|
-
const baseUrlOfGithub = docstraConfig?.githubRepo || "https://github.com/sudhucodes/docstra
|
|
667
|
-
const githubLink = baseUrlOfGithub + mdxFilePath.split("app")[1];
|
|
666
|
+
const baseUrlOfGithub = docstraConfig?.githubRepo || "https://github.com/sudhucodes/docstra";
|
|
667
|
+
const githubLink = baseUrlOfGithub + "/edit/main" + mdxFilePath.split("app")[1];
|
|
668
668
|
(0, import_react6.useEffect)(() => {
|
|
669
669
|
const onScroll = () => {
|
|
670
670
|
const currentY = window.scrollY;
|
package/dist/client/index.mjs
CHANGED
|
@@ -621,8 +621,8 @@ function DocstraTOC({ mdxFilePath, rawMdxContent }) {
|
|
|
621
621
|
const lastScrollY = useRef(0);
|
|
622
622
|
const observerRef = useRef(null);
|
|
623
623
|
const pathname = usePathname5();
|
|
624
|
-
const baseUrlOfGithub = docstraConfig?.githubRepo || "https://github.com/sudhucodes/docstra
|
|
625
|
-
const githubLink = baseUrlOfGithub + mdxFilePath.split("app")[1];
|
|
624
|
+
const baseUrlOfGithub = docstraConfig?.githubRepo || "https://github.com/sudhucodes/docstra";
|
|
625
|
+
const githubLink = baseUrlOfGithub + "/edit/main" + mdxFilePath.split("app")[1];
|
|
626
626
|
useEffect4(() => {
|
|
627
627
|
const onScroll = () => {
|
|
628
628
|
const currentY = window.scrollY;
|
package/dist/styles.css
CHANGED
|
@@ -448,9 +448,6 @@
|
|
|
448
448
|
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
449
449
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
450
450
|
}
|
|
451
|
-
.transform {
|
|
452
|
-
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
453
|
-
}
|
|
454
451
|
.animate-spin {
|
|
455
452
|
animation: var(--animate-spin);
|
|
456
453
|
}
|
|
@@ -1071,26 +1068,6 @@
|
|
|
1071
1068
|
inherits: false;
|
|
1072
1069
|
initial-value: 0;
|
|
1073
1070
|
}
|
|
1074
|
-
@property --tw-rotate-x {
|
|
1075
|
-
syntax: "*";
|
|
1076
|
-
inherits: false;
|
|
1077
|
-
}
|
|
1078
|
-
@property --tw-rotate-y {
|
|
1079
|
-
syntax: "*";
|
|
1080
|
-
inherits: false;
|
|
1081
|
-
}
|
|
1082
|
-
@property --tw-rotate-z {
|
|
1083
|
-
syntax: "*";
|
|
1084
|
-
inherits: false;
|
|
1085
|
-
}
|
|
1086
|
-
@property --tw-skew-x {
|
|
1087
|
-
syntax: "*";
|
|
1088
|
-
inherits: false;
|
|
1089
|
-
}
|
|
1090
|
-
@property --tw-skew-y {
|
|
1091
|
-
syntax: "*";
|
|
1092
|
-
inherits: false;
|
|
1093
|
-
}
|
|
1094
1071
|
@property --tw-space-y-reverse {
|
|
1095
1072
|
syntax: "*";
|
|
1096
1073
|
inherits: false;
|
|
@@ -1231,11 +1208,6 @@
|
|
|
1231
1208
|
--tw-translate-x: 0;
|
|
1232
1209
|
--tw-translate-y: 0;
|
|
1233
1210
|
--tw-translate-z: 0;
|
|
1234
|
-
--tw-rotate-x: initial;
|
|
1235
|
-
--tw-rotate-y: initial;
|
|
1236
|
-
--tw-rotate-z: initial;
|
|
1237
|
-
--tw-skew-x: initial;
|
|
1238
|
-
--tw-skew-y: initial;
|
|
1239
1211
|
--tw-space-y-reverse: 0;
|
|
1240
1212
|
--tw-space-x-reverse: 0;
|
|
1241
1213
|
--tw-divide-x-reverse: 0;
|