astro-tractstack 2.0.11 → 2.0.12
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.js +8 -14
- package/package.json +1 -1
- package/templates/css/storykeep.css +1 -92872
- package/templates/src/components/compositor/Compositor.tsx +14 -6
- package/templates/src/components/compositor/Node.tsx +28 -0
- package/templates/src/components/compositor/nodes/Pane.tsx +0 -5
- package/templates/src/components/compositor/nodes/tagElements/NodeBasicTag.tsx +2 -1
- package/templates/src/components/edit/pane/AddPanePanel_new.tsx +136 -115
- package/templates/src/components/edit/pane/AiPaneGenerator.tsx +405 -0
- package/templates/src/components/edit/pane/AiPanePreview.tsx +257 -0
- package/templates/src/components/edit/pane/PageGenSelector.tsx +6 -3
- package/templates/src/constants/prompts.json +35 -40
- package/templates/src/stores/nodes.ts +18 -15
- package/templates/src/types/compositorTypes.ts +27 -13
- package/templates/src/utils/compositor/aiPaneParser.ts +587 -0
- package/templates/src/utils/compositor/allowInsert.ts +1 -3
- package/templates/src/utils/compositor/nodesHelper.ts +61 -42
- package/templates/src/utils/compositor/tailwindClasses.ts +200 -70
- package/utils/inject-files.ts +8 -14
- package/templates/src/components/edit/pane/AddPanePanel_newAICopy.tsx +0 -107
- package/templates/src/components/edit/pane/AddPanePanel_newAICopy_modal.tsx +0 -217
- package/templates/src/components/edit/pane/AddPanePanel_newCopyMode.tsx +0 -109
package/dist/index.js
CHANGED
|
@@ -429,22 +429,12 @@ async function w(t, e, c) {
|
|
|
429
429
|
dest: "src/components/edit/pane/AddPanePanel_codehook.tsx"
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
|
-
src: t(
|
|
433
|
-
|
|
434
|
-
),
|
|
435
|
-
dest: "src/components/edit/pane/AddPanePanel_newAICopy_modal.tsx"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
src: t(
|
|
439
|
-
"../templates/src/components/edit/pane/AddPanePanel_newAICopy.tsx"
|
|
440
|
-
),
|
|
441
|
-
dest: "src/components/edit/pane/AddPanePanel_newAICopy.tsx"
|
|
432
|
+
src: t("../templates/src/components/edit/pane/AiPaneGenerator.tsx"),
|
|
433
|
+
dest: "src/components/edit/pane/AiPaneGenerator.tsx"
|
|
442
434
|
},
|
|
443
435
|
{
|
|
444
|
-
src: t(
|
|
445
|
-
|
|
446
|
-
),
|
|
447
|
-
dest: "src/components/edit/pane/AddPanePanel_newCopyMode.tsx"
|
|
436
|
+
src: t("../templates/src/components/edit/pane/AiPanePreview.tsx"),
|
|
437
|
+
dest: "src/components/edit/pane/AiPanePreview.tsx"
|
|
448
438
|
},
|
|
449
439
|
{
|
|
450
440
|
src: t(
|
|
@@ -602,6 +592,10 @@ async function w(t, e, c) {
|
|
|
602
592
|
dest: "src/utils/etl/loader.ts"
|
|
603
593
|
},
|
|
604
594
|
// Compositor utils
|
|
595
|
+
{
|
|
596
|
+
src: t("../templates/src/utils/compositor/aiPaneParser.ts"),
|
|
597
|
+
dest: "src/utils/compositor/aiPaneParser.ts"
|
|
598
|
+
},
|
|
605
599
|
{
|
|
606
600
|
src: t("../templates/src/utils/compositor/processMarkdown.ts"),
|
|
607
601
|
dest: "src/utils/compositor/processMarkdown.ts"
|