@alpaca-editor/core 1.0.3930 → 1.0.3932
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/revision.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "1.0.
|
|
2
|
-
export declare const buildDate = "2025-06-
|
|
1
|
+
export declare const version = "1.0.3932";
|
|
2
|
+
export declare const buildDate = "2025-06-04 01:52:40";
|
package/dist/revision.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const version = "1.0.
|
|
2
|
-
export const buildDate = "2025-06-
|
|
1
|
+
export const version = "1.0.3932";
|
|
2
|
+
export const buildDate = "2025-06-04 01:52:40";
|
|
3
3
|
//# sourceMappingURL=revision.js.map
|
|
@@ -59,13 +59,13 @@ export function SplashScreen() {
|
|
|
59
59
|
if (demoId && !demoWizard)
|
|
60
60
|
return (_jsxs("div", { className: "relative flex h-full w-full bg-gray-100 md:items-center md:justify-center", children: [_jsx(Spinner, {}), _jsx("div", { className: "bg-wizard absolute inset-0" })] }));
|
|
61
61
|
if (demoWizard) {
|
|
62
|
-
return (_jsx(_Fragment, { children: _jsxs("div", { className: "relative flex h-full w-full bg-gray-100 md:items-center md:justify-center", children: [_jsxs("div", { className: "mt-2 flex flex-col gap-6 p-4 md:mt-6 md:gap-12", children: [_jsxs("div", { className: "z-10", children: [_jsx("h1", { className: "text-xl font-semibold", children: "Your global website" }), _jsx("div", { className: "text-sm text-gray-500", children: "Add a new page or manage existing ones" })] }), _jsxs("div", { className: "z-10 flex flex-1 flex-col items-stretch gap-4 md:max-w-screen-xl md:flex-row", children: [_jsxs("div", { className: "flex flex-1 flex-col gap-4", children: [_jsxs("div", { className: "flex-1 flex-col gap-7 rounded-lg bg-white p-6", children: [_jsxs("div", { className: "flex flex-col gap-4 md:flex-row", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsxs("h1", { className: "text-normal flex items-center gap-2 font-bold", children: [_jsx(Logo, { className: "h-5" }), " Create content like magic"] }), _jsx("h2", { className: "mb-2 text-xs text-gray-500", children: "Stunning business pages in no time. Just describe your idea and let the AI-wizard do the magic." })] }), _jsxs(ActionButton, { onClick: launchDemoWizard, children: ["Launch wizard ", _jsx(MagicEditIcon, {})] })] }), _jsx("div", { className: "bg-wizard-demo mt-3 aspect-[1.75] w-full rounded-lg" })] }), _jsx(Card, { title: "
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
return (_jsx(_Fragment, { children: _jsxs("div", { className: "relative flex h-full w-full bg-gray-100 md:items-center md:justify-center", children: [_jsxs("div", { className: "mt-2 flex flex-col gap-6 p-4 md:mt-6 md:gap-12", children: [_jsxs("div", { className: "z-10", children: [_jsx("h1", { className: "text-xl font-semibold", children: "Your global website" }), _jsx("div", { className: "text-sm text-gray-500", children: "Add a new page or manage existing ones" })] }), _jsxs("div", { className: "z-10 flex flex-1 flex-col items-stretch gap-4 md:max-w-screen-xl md:flex-row", children: [_jsxs("div", { className: "flex flex-1 flex-col gap-4", children: [_jsxs("div", { className: "flex-1 flex-col gap-7 rounded-lg bg-white p-6", children: [_jsxs("div", { className: "flex flex-col gap-4 md:flex-row", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsxs("h1", { className: "text-normal flex items-center gap-2 font-bold", children: [_jsx(Logo, { className: "h-5" }), " Create content like magic"] }), _jsx("h2", { className: "mb-2 text-xs text-gray-500", children: "Stunning business pages in no time. Just describe your idea and let the AI-wizard do the magic." })] }), _jsxs(ActionButton, { onClick: launchDemoWizard, children: ["Launch wizard ", _jsx(MagicEditIcon, {})] })] }), _jsx("div", { className: "bg-wizard-demo mt-3 aspect-[1.75] w-full rounded-lg" })] }), _jsx(Card, { title: "Experience AI-Powered Editing", description: "Try our intelligent WYSIWYG editor with a ready-to-go sample page", icon: _jsx(PanelsTopLeft, {}), className: "flex-1", children: _jsxs("div", { className: "flex flex-col gap-4 text-sm text-gray-500", children: ["Dive into the future of content editing with our AI-integrated editor.", _jsx(ActionButton, { onClick: () => {
|
|
63
|
+
editContext?.loadItem({
|
|
64
|
+
id: demoId,
|
|
65
|
+
language: "en",
|
|
66
|
+
version: 0,
|
|
67
|
+
});
|
|
68
|
+
}, className: "w-1/3", children: "Try AI Editor" })] }) })] }), _jsx("div", { className: "flex-1", children: _jsx(RecentPages, {}) })] })] }), _jsx("div", { className: "bg-wizard absolute inset-0" })] }) }));
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
71
71
|
return (_jsxs("div", { className: "flex h-full w-full gap-2 bg-gray-100 md:items-center md:justify-center", children: [_jsxs("div", { className: "z-10 flex flex-1 flex-col items-stretch gap-4 p-4 md:min-h-[40vh] md:max-w-screen-xl md:flex-row", children: [_jsx(Card, { title: "Welcome to the Editor Without A Name", description: "The easiest way to create and manage your content", icon: _jsx(Logo, {}), className: "flex-1", children: _jsxs("div", { className: "flex flex-col gap-4 text-sm text-gray-500", children: ["Ai Workbench is an editor for your favorite content management system. It allows you to create and manage your content in a simple and intuitive way.", _jsxs("div", { className: "flex flex-col gap-4", children: [_jsx(ActionButton, { onClick: () => editContext?.switchView("new-page"), children: "Create new page" }), _jsx(ActionButton, { onClick: () => editContext?.switchView("open-page"), children: "Open existing page" }), _jsx(ActionButton, { onClick: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplashScreen.js","sourceRoot":"","sources":["../../src/splash-screen/SplashScreen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,O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GACL,CACJ,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO,CACL,eAAK,SAAS,EAAC,wEAAwE,aACrF,eAAK,SAAS,EAAC,kGAAkG,aAC/G,KAAC,IAAI,IACH,KAAK,EAAC,sCAAsC,EAC5C,WAAW,EAAC,mDAAmD,EAC/D,IAAI,EAAE,KAAC,IAAI,KAAG,EACd,SAAS,EAAC,QAAQ,YAElB,eAAK,SAAS,EAAC,2CAA2C,sKAIxD,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,YAAY,IACX,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,gCAGrC,EACf,KAAC,YAAY,IACX,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC,mCAGtC,EAIf,KAAC,YAAY,IACX,OAAO,EAAE,GAAG,EAAE;oDACZ,MAAM,CAAC,IAAI,CACT,wDAAwD,EACxD,QAAQ,CACT,CAAC;gDACJ,CAAC,wCAGY,EAEf,KAAC,YAAY,IACX,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,GAAG,EAAE;oDACZ,WAAW,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC;gDACzC,CAAC,iCAGY,IACX,IACF,GACD,EACP,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,WAAW,KAAG,GACX,IACF,EACN,cAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
package/src/revision.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "1.0.
|
|
2
|
-
export const buildDate = "2025-06-
|
|
1
|
+
export const version = "1.0.3932";
|
|
2
|
+
export const buildDate = "2025-06-04 01:52:40";
|
|
@@ -102,12 +102,14 @@ export function SplashScreen() {
|
|
|
102
102
|
<div className="bg-wizard-demo mt-3 aspect-[1.75] w-full rounded-lg"></div>
|
|
103
103
|
</div>
|
|
104
104
|
<Card
|
|
105
|
-
title="
|
|
106
|
-
description="
|
|
105
|
+
title="Experience AI-Powered Editing"
|
|
106
|
+
description="Try our intelligent WYSIWYG editor with a ready-to-go sample page"
|
|
107
107
|
icon={<PanelsTopLeft />}
|
|
108
108
|
className="flex-1"
|
|
109
109
|
>
|
|
110
110
|
<div className="flex flex-col gap-4 text-sm text-gray-500">
|
|
111
|
+
Dive into the future of content editing with our
|
|
112
|
+
AI-integrated editor.
|
|
111
113
|
<ActionButton
|
|
112
114
|
onClick={() => {
|
|
113
115
|
editContext?.loadItem({
|
|
@@ -118,7 +120,7 @@ export function SplashScreen() {
|
|
|
118
120
|
}}
|
|
119
121
|
className="w-1/3"
|
|
120
122
|
>
|
|
121
|
-
|
|
123
|
+
Try AI Editor
|
|
122
124
|
</ActionButton>
|
|
123
125
|
</div>
|
|
124
126
|
</Card>
|