vibe-design-system 2.4.10 → 2.4.11
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/package.json
CHANGED
|
@@ -536,9 +536,9 @@ function buildStoryFileContent(comp) {
|
|
|
536
536
|
const fileNoExt = comp.file.replace(/\.(tsx|jsx)$/, "");
|
|
537
537
|
let importPath = "";
|
|
538
538
|
if (fileNoExt.startsWith("pages/")) {
|
|
539
|
-
importPath = "
|
|
539
|
+
importPath = "../" + fileNoExt; // Sonuç: "../pages/Home" olacak
|
|
540
540
|
} else {
|
|
541
|
-
importPath = "
|
|
541
|
+
importPath = "../components/" + fileNoExt; // Sonuç: "../components/ui/button" olacak
|
|
542
542
|
}
|
|
543
543
|
const group = comp.group || "Components";
|
|
544
544
|
const category = comp.category || null;
|