@charisol/plexo-sdk 1.0.0

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.
Files changed (79) hide show
  1. package/README.md +242 -0
  2. package/dist/components/CodeViewer.d.ts +18 -0
  3. package/dist/components/InternalAlert.d.ts +7 -0
  4. package/dist/components/PlexoBuilder.d.ts +4 -0
  5. package/dist/components/PropertyAccordions.d.ts +10 -0
  6. package/dist/components/SidebarContainer.d.ts +16 -0
  7. package/dist/components/SidebarMenu.d.ts +6 -0
  8. package/dist/components/SidebarProperties.d.ts +12 -0
  9. package/dist/components/TopHeader.d.ts +25 -0
  10. package/dist/components/VisualCanvas.d.ts +10 -0
  11. package/dist/components/editor/CanvasDndComponents.d.ts +6 -0
  12. package/dist/components/editor/dnd/DraggablePaletteItem.d.ts +3 -0
  13. package/dist/components/editor/dnd/DroppableCanvas.d.ts +3 -0
  14. package/dist/components/editor/dnd/DroppableColumn.d.ts +3 -0
  15. package/dist/components/editor/dnd/LayoutPreview.d.ts +5 -0
  16. package/dist/components/editor/dnd/SortableElement.d.ts +15 -0
  17. package/dist/components/editor/dnd/SortableRow.d.ts +3 -0
  18. package/dist/components/icons.d.ts +61 -0
  19. package/dist/components/inlineControls/AccordionSection.d.ts +3 -0
  20. package/dist/components/inlineControls/BorderRadiusControls.d.ts +3 -0
  21. package/dist/components/inlineControls/ColumnsSelector.d.ts +3 -0
  22. package/dist/components/inlineControls/CustomSelect.d.ts +3 -0
  23. package/dist/components/inlineControls/InlineAlignment.d.ts +3 -0
  24. package/dist/components/inlineControls/InlineColorPicker.d.ts +3 -0
  25. package/dist/components/inlineControls/InlineCounter.d.ts +3 -0
  26. package/dist/components/inlineControls/InlineSelect.d.ts +3 -0
  27. package/dist/components/inlineControls/InlineTextArea.d.ts +3 -0
  28. package/dist/components/inlineControls/InlineTextInput.d.ts +3 -0
  29. package/dist/components/inlineControls/SpacingControls.d.ts +3 -0
  30. package/dist/components/inlineControls/StrataTokenPicker.d.ts +12 -0
  31. package/dist/components/inlineControls/Toggle.d.ts +3 -0
  32. package/dist/components/inlineControls/UploadZone.d.ts +3 -0
  33. package/dist/components/inlineControls/index.d.ts +14 -0
  34. package/dist/components/properties/ElementPropertyAccordions.d.ts +1 -0
  35. package/dist/components/properties/accordionSections/AdditionalSettingsAccordion.d.ts +2 -0
  36. package/dist/components/properties/accordionSections/ButtonPropertiesAccordion.d.ts +2 -0
  37. package/dist/components/properties/accordionSections/CarouselPropertiesAccordion.d.ts +2 -0
  38. package/dist/components/properties/accordionSections/FormContainerPropertiesAccordion.d.ts +2 -0
  39. package/dist/components/properties/accordionSections/HeadingPropertiesAccordion.d.ts +2 -0
  40. package/dist/components/properties/accordionSections/HtmlPropertiesAccordion.d.ts +2 -0
  41. package/dist/components/properties/accordionSections/IconPropertiesAccordion.d.ts +2 -0
  42. package/dist/components/properties/accordionSections/ImagePropertiesAccordion.d.ts +2 -0
  43. package/dist/components/properties/accordionSections/LayoutSpacingAccordion.d.ts +2 -0
  44. package/dist/components/properties/accordionSections/MenuPropertiesAccordion.d.ts +2 -0
  45. package/dist/components/properties/accordionSections/ParagraphPropertiesAccordion.d.ts +2 -0
  46. package/dist/components/properties/accordionSections/ResponsiveDesignAccordion.d.ts +2 -0
  47. package/dist/components/properties/accordionSections/SocialPropertiesAccordion.d.ts +2 -0
  48. package/dist/components/properties/accordionSections/SpacerPropertiesAccordion.d.ts +2 -0
  49. package/dist/components/properties/accordionSections/TablePropertiesAccordion.d.ts +2 -0
  50. package/dist/components/properties/accordionSections/TimerPropertiesAccordion.d.ts +2 -0
  51. package/dist/components/properties/accordionSections/VideoPropertiesAccordion.d.ts +2 -0
  52. package/dist/components/sidebarTabs/AuditTab.d.ts +12 -0
  53. package/dist/components/sidebarTabs/BlocksTab.d.ts +12 -0
  54. package/dist/components/sidebarTabs/BodyGlobalSettingsTab.d.ts +18 -0
  55. package/dist/components/sidebarTabs/ContentTab.d.ts +10 -0
  56. package/dist/components/sidebarTabs/ImagesTab.d.ts +19 -0
  57. package/dist/components/sidebarTabs/SidebarTabsRail.d.ts +9 -0
  58. package/dist/components/sidebarTabs/StrataTab.d.ts +12 -0
  59. package/dist/components/sidebarTabs/UploadsTab.d.ts +18 -0
  60. package/dist/favicon.svg +1 -0
  61. package/dist/icons.svg +24 -0
  62. package/dist/index.d.ts +9 -0
  63. package/dist/index.js +50846 -0
  64. package/dist/playground.d.ts +5 -0
  65. package/dist/plexo-sdk.css +2 -0
  66. package/dist/store.d.ts +59 -0
  67. package/dist/utilities/aiHelper.d.ts +21 -0
  68. package/dist/utilities/compiler.d.ts +17 -0
  69. package/dist/utilities/compilerClient.d.ts +3 -0
  70. package/dist/utilities/initialDemoTemplate.d.ts +2 -0
  71. package/dist/utilities/playground.constants.d.ts +31 -0
  72. package/dist/utilities/playground.helpers.d.ts +936 -0
  73. package/dist/utilities/playground.interfaces.d.ts +256 -0
  74. package/dist/utilities/plexoBuilderRuntime.d.ts +23 -0
  75. package/dist/utilities/strataTokenMapping.d.ts +42 -0
  76. package/dist/utilities/tierFeatures.d.ts +26 -0
  77. package/dist/utilities/types.d.ts +78 -0
  78. package/dist/utilities/useApiKeyValidation.d.ts +18 -0
  79. package/package.json +63 -0
package/README.md ADDED
@@ -0,0 +1,242 @@
1
+ # @charisol/plexo-sdk
2
+
3
+ > Visual drag-and-drop email & landing page builder SDK with AI integration — built for React.
4
+
5
+ [![npm version](https://img.shields.io/npm/v/@charisol/plexo-sdk)](https://www.npmjs.com/package/@charisol/plexo-sdk)
6
+ [![license](https://img.shields.io/npm/l/@charisol/plexo-sdk)](./LICENSE)
7
+
8
+ ---
9
+
10
+ ## Features
11
+
12
+ - 🎨 **Visual drag-and-drop builder** — rows, columns, and elements with live editing
13
+ - 📧 **Email & Landing Page modes** — export clean, production-ready HTML for both
14
+ - 🤖 **AI content generation** — built-in support for OpenAI, Gemini, and Claude
15
+ - 🖼️ **Stock image search** — Unsplash, Pexels, Pixabay integrations
16
+ - 🎨 **Design token system** — Strata token support for consistent brand theming
17
+ - 📦 **ESM-only, pure client-side** — zero server-side dependencies
18
+
19
+ ---
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ npm install @charisol/plexo-sdk
25
+ ```
26
+
27
+ **Peer dependencies** (install if not already present):
28
+
29
+ ```bash
30
+ npm install react react-dom
31
+ ```
32
+
33
+ ---
34
+
35
+ ## Quick Start
36
+
37
+ ### Plain React (Vite / CRA)
38
+
39
+ ```tsx
40
+ import { useRef } from 'react';
41
+ import { PlexoBuilder, type PlexoBuilderRef } from '@charisol/plexo-sdk';
42
+ // Import the builder's stylesheet
43
+ import '@charisol/plexo-sdk/dist/sdk.css';
44
+
45
+ export function Editor() {
46
+ const builderRef = useRef<PlexoBuilderRef>(null);
47
+
48
+ const handleSave = async () => {
49
+ const result = await builderRef.current?.exportDesign('email');
50
+ console.log('HTML:', result?.html);
51
+ console.log('JSON:', result?.json);
52
+ };
53
+
54
+ return (
55
+ <div style={{ height: '100vh' }}>
56
+ <PlexoBuilder
57
+ ref={builderRef}
58
+ apiKey="your-api-key"
59
+ mode="email"
60
+ backgroundColor="#ffffff"
61
+ themeBgColor="#6d28d9"
62
+ themeFgColor="#ffffff"
63
+ textColor="#111827"
64
+ showSaveButton={false}
65
+ />
66
+ <button onClick={handleSave}>Save</button>
67
+ </div>
68
+ );
69
+ }
70
+ ```
71
+
72
+ ---
73
+
74
+ ## Next.js (App Router)
75
+
76
+ > **Important:** The SDK is a purely client-side component that uses drag-and-drop and browser APIs. It must never be rendered on the server.
77
+
78
+ ### Step 1 — Create a dynamic wrapper
79
+
80
+ Because the SDK uses browser-only APIs, wrap it with `next/dynamic` and disable SSR. Be sure to import the CSS stylesheet:
81
+
82
+ ```tsx
83
+ // components/template-editor.tsx
84
+ 'use client';
85
+
86
+ import dynamic from 'next/dynamic';
87
+ import type { PlexoBuilderRef } from '@charisol/plexo-sdk';
88
+ import { useRef } from 'react';
89
+
90
+ // Import the builder's stylesheet
91
+ import '@charisol/plexo-sdk/dist/sdk.css';
92
+
93
+ // Never SSR the builder — it relies on browser APIs (drag-and-drop, ResizeObserver, etc.)
94
+ const PlexoBuilder = dynamic(
95
+ () => import('@charisol/plexo-sdk').then((m) => ({ default: m.PlexoBuilder })),
96
+ { ssr: false, loading: () => <p>Loading builder…</p> }
97
+ );
98
+
99
+ export function TemplateEditor() {
100
+ const builderRef = useRef<PlexoBuilderRef>(null);
101
+
102
+ const handleSave = async () => {
103
+ const result = await builderRef.current?.exportDesign('email');
104
+ console.log(result?.html);
105
+ };
106
+
107
+ return (
108
+ <div style={{ height: '100vh' }}>
109
+ <PlexoBuilder
110
+ ref={builderRef}
111
+ apiKey="your-api-key"
112
+ mode="email"
113
+ backgroundColor="#ffffff"
114
+ themeBgColor="#6d28d9"
115
+ themeFgColor="#ffffff"
116
+ textColor="#111827"
117
+ showSaveButton={false}
118
+ />
119
+ <button onClick={handleSave}>Save</button>
120
+ </div>
121
+ );
122
+ }
123
+ ```
124
+
125
+ ### Step 2 — Use in a Server Component page
126
+
127
+ ```tsx
128
+ // app/editor/page.tsx (Server Component — no "use client")
129
+ import { TemplateEditor } from '@/components/template-editor';
130
+
131
+ export default function EditorPage() {
132
+ return <TemplateEditor />;
133
+ }
134
+ ```
135
+
136
+ ---
137
+
138
+ ## Props Reference
139
+
140
+ ### `PlexoBuilder`
141
+
142
+ | Prop | Type | Default | Description |
143
+ |------|------|---------|-------------|
144
+ | `mode` | `'email' \| 'landing_page'` | — | **Required.** Output mode for the editor |
145
+ | `apiKey` | `string` | — | **Required.** Your Plexo API key |
146
+ | `initialTemplate` | `TemplateJSON` | — | Pre-load a saved template JSON |
147
+ | `initialHtml` | `string` | — | Pre-load raw HTML (landing page mode) |
148
+ | `initialCss` | `string` | — | Pre-load CSS (landing page mode) |
149
+ | `initialJs` | `string` | — | Pre-load JS (landing page mode) |
150
+ | `showSaveButton` | `boolean` | `true` | Show/hide the built-in save button |
151
+ | `onSave` | `(data: { json, html }) => void` | — | Callback when built-in save button is clicked |
152
+ | `autoSave` | `boolean` | `false` | Auto-save periodically |
153
+ | `autoSaveDuration` | `number` | `3000` | Auto-save interval in ms |
154
+ | `onUpload` | `(file: File) => Promise<string> \| string` | — | Custom image upload handler, returns URL |
155
+ | `backgroundColor` | `string` | `'#ffffff'` | Canvas background colour |
156
+ | `themeBgColor` | `string` | `'#000000'` | Primary brand/accent colour |
157
+ | `themeFgColor` | `string` | `'#ffffff'` | Foreground colour on brand elements |
158
+ | `textColor` | `string` | `'#000000'` | Default body text colour |
159
+ | `useAi` | `boolean` | `false` | Enable AI content generation |
160
+ | `aiProvider` | `'openai' \| 'gemini' \| 'claude'` | `'openai'` | AI provider |
161
+ | `aiApiKey` | `string` | — | API key for the AI provider (client-side) |
162
+ | `aiTier` | `'AUTO' \| 'BASIC' \| 'MEDIUM' \| 'HIGH'` | `'AUTO'` | AI model tier |
163
+ | `unsplashKey` | `string` | — | Unsplash API key for stock images |
164
+ | `pexelsKey` | `string` | — | Pexels API key for stock images |
165
+ | `pixabayKey` | `string` | — | Pixabay API key for stock images |
166
+
167
+ ---
168
+
169
+ ## `PlexoBuilderRef` — Imperative API
170
+
171
+ Access via `ref` on the component:
172
+
173
+ ```tsx
174
+ const builderRef = useRef<PlexoBuilderRef>(null);
175
+
176
+ // Export the current design
177
+ const { json, html } = await builderRef.current.exportDesign('email');
178
+ // or:
179
+ const { json, html } = await builderRef.current.exportDesign('landing_page');
180
+
181
+ // Get the JSON without compiling HTML
182
+ const json = builderRef.current.getJson();
183
+ ```
184
+
185
+ | Method | Signature | Description |
186
+ |--------|-----------|-------------|
187
+ | `exportDesign` | `(target: 'email' \| 'landing_page') => Promise<{ json: TemplateJSON; html: string }>` | Compile & export the current design |
188
+ | `getJson` | `() => TemplateJSON` | Get the raw design JSON snapshot |
189
+
190
+ ---
191
+
192
+ ## Framework Notes
193
+
194
+ ### Vite
195
+ Works out of the box — no extra config needed.
196
+
197
+ ### Next.js (Pages Router)
198
+ Same dynamic import pattern applies:
199
+
200
+ ```tsx
201
+ import dynamic from 'next/dynamic';
202
+
203
+ const PlexoBuilder = dynamic(
204
+ () => import('@charisol/plexo-sdk').then((m) => ({ default: m.PlexoBuilder })),
205
+ { ssr: false }
206
+ );
207
+ ```
208
+
209
+ ### Remix / React Router v7
210
+ Use the `lazy` approach or a client-only guard:
211
+
212
+ ```tsx
213
+ import { lazy, Suspense } from 'react';
214
+
215
+ const PlexoBuilder = lazy(() =>
216
+ import('@charisol/plexo-sdk').then((m) => ({ default: m.PlexoBuilder }))
217
+ );
218
+
219
+ // In your component:
220
+ <Suspense fallback={<p>Loading…</p>}>
221
+ <PlexoBuilder ... />
222
+ </Suspense>
223
+ ```
224
+
225
+ > **Note:** In Remix, place this inside a `clientLoader` or use `<ClientOnly>` wrapper to ensure it's never executed on the server.
226
+
227
+ ---
228
+
229
+ ## Changelog
230
+
231
+ ### 1.0.1
232
+ - Fixed: Removed Rolldown CJS interop shim (`require()`) from ESM output — resolves compatibility issues with Turbopack (Next.js 15+/16+) and strict ESM environments
233
+ - All React sub-paths (`react/jsx-runtime`, etc.) are now properly externalized
234
+
235
+ ### 1.0.0
236
+ - Initial release
237
+
238
+ ---
239
+
240
+ ## License
241
+
242
+ MIT © Plexo HQ
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { TemplateJSON } from '../utilities/types';
3
+ interface CodeViewerProps {
4
+ activeTab: 'json' | 'html' | 'text';
5
+ template: TemplateJSON;
6
+ compiledHtml: string;
7
+ compiledText: string;
8
+ onNotify?: (message: string) => void;
9
+ theme?: {
10
+ panelColor: string;
11
+ borderColor: string;
12
+ textColor: string;
13
+ themeBgColor: string;
14
+ mutedTextColor: string;
15
+ };
16
+ }
17
+ export declare const CodeViewer: React.FC<CodeViewerProps>;
18
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface InternalAlertProps {
3
+ message: string;
4
+ onClose: () => void;
5
+ }
6
+ export declare const InternalAlert: React.FC<InternalAlertProps>;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { PlexoBuilderProps, PlexoBuilderRef } from '../utilities/playground.interfaces';
3
+ export type { PlexoBuilderProps, PlexoBuilderRef, PlexoTargetType } from '../utilities/playground.interfaces';
4
+ export declare const PlexoBuilder: React.ForwardRefExoticComponent<PlexoBuilderProps & React.RefAttributes<PlexoBuilderRef>>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface PropertyAccordionsProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare const PropertyAccordions: React.FC<PropertyAccordionsProps>;
6
+ export declare const TypographyAccordion: React.FC<PropertyAccordionsProps>;
7
+ export declare const SpacingAccordion: React.FC<PropertyAccordionsProps>;
8
+ export declare const PermissionsAccordion: React.FC<PropertyAccordionsProps>;
9
+ export declare const AdvancedAccordion: React.FC<PropertyAccordionsProps>;
10
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface SidebarContainerProps {
3
+ isPreviewMode: boolean;
4
+ activeTab: 'design' | 'json' | 'html' | 'text';
5
+ hasSelection: boolean;
6
+ propertiesView: React.ReactNode;
7
+ menuView: React.ReactNode;
8
+ theme?: {
9
+ backgroundColor: string;
10
+ borderColor: string;
11
+ textColor: string;
12
+ };
13
+ children?: React.ReactNode;
14
+ }
15
+ export declare const SidebarContainer: React.FC<SidebarContainerProps>;
16
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface SidebarMenuProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare const SidebarMenu: React.FC<SidebarMenuProps>;
6
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface SidebarPropertiesProps {
3
+ title: string;
4
+ actions: React.ReactNode;
5
+ children: React.ReactNode;
6
+ theme?: {
7
+ borderColor: string;
8
+ textColor: string;
9
+ };
10
+ }
11
+ export declare const SidebarProperties: React.FC<SidebarPropertiesProps>;
12
+ export {};
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ type TopHeaderTab = 'design' | 'json' | 'html' | 'text';
3
+ interface TopHeaderProps {
4
+ activeTab: TopHeaderTab;
5
+ setActiveTab: (tab: TopHeaderTab) => void;
6
+ showSaveButton: boolean;
7
+ isSavingLayout: boolean;
8
+ onSaveClick: () => void;
9
+ theme?: {
10
+ backgroundColor: string;
11
+ themeBgColor: string;
12
+ textColor: string;
13
+ borderColor: string;
14
+ panelColor: string;
15
+ mutedTextColor: string;
16
+ };
17
+ icons: {
18
+ designTab: React.ReactNode;
19
+ jsonTab: React.ReactNode;
20
+ htmlTab: React.ReactNode;
21
+ plainTab: React.ReactNode;
22
+ };
23
+ }
24
+ export declare const TopHeader: React.FC<TopHeaderProps>;
25
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface VisualCanvasProps {
3
+ children: React.ReactNode;
4
+ theme?: {
5
+ panelColor: string;
6
+ textColor: string;
7
+ };
8
+ }
9
+ export declare const VisualCanvas: React.FC<VisualCanvasProps>;
10
+ export {};
@@ -0,0 +1,6 @@
1
+ export { LayoutPreview } from './dnd/LayoutPreview';
2
+ export { DraggablePaletteItem } from './dnd/DraggablePaletteItem';
3
+ export { DroppableCanvas } from './dnd/DroppableCanvas';
4
+ export { SortableRow } from './dnd/SortableRow';
5
+ export { DroppableColumn } from './dnd/DroppableColumn';
6
+ export { SortableElement } from './dnd/SortableElement';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { PaletteItemProps } from '../../../utilities/playground.interfaces';
3
+ export declare const DraggablePaletteItem: React.FC<PaletteItemProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CanvasProps } from '../../../utilities/playground.interfaces';
3
+ export declare const DroppableCanvas: React.FC<CanvasProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ColumnProps } from '../../../utilities/playground.interfaces';
3
+ export declare const DroppableColumn: React.FC<ColumnProps>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const LayoutPreview: React.FC<{
3
+ widths: string[];
4
+ percentages: string[];
5
+ }>;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { ElementProps } from '../../../utilities/playground.interfaces';
3
+ interface SortableElementProps extends ElementProps {
4
+ ICONS: Record<string, React.ReactNode>;
5
+ getFormFields: (attrs: Record<string, any>) => any[];
6
+ getDefaultStyle: (type: string) => Record<string, any>;
7
+ isElementHiddenForView: (attrs: Record<string, any>, view: 'desktop' | 'tablet' | 'mobile' | 'custom') => boolean;
8
+ renderSocialIcon: (provider: string, className?: string) => React.ReactNode;
9
+ onNotify?: (message: string) => void;
10
+ textColor?: string;
11
+ backgroundColor?: string;
12
+ customCss?: string;
13
+ }
14
+ export declare const SortableElement: React.FC<SortableElementProps>;
15
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { RowProps } from '../../../utilities/playground.interfaces';
3
+ export declare const SortableRow: React.FC<RowProps>;
@@ -0,0 +1,61 @@
1
+ import React from 'react';
2
+ export declare const normalizeSocialProvider: (provider: string) => string;
3
+ export declare const renderSocialIcon: (provider: string, className?: string) => React.JSX.Element;
4
+ export declare const isElementHiddenForView: (attrs: Record<string, any>, deviceView: "desktop" | "tablet" | "mobile" | "custom") => boolean;
5
+ export declare const ICONS: {
6
+ heading: React.JSX.Element;
7
+ paragraph: React.JSX.Element;
8
+ button: React.JSX.Element;
9
+ image: React.JSX.Element;
10
+ divider: React.JSX.Element;
11
+ spacer: React.JSX.Element;
12
+ carousel: React.JSX.Element;
13
+ video: React.JSX.Element;
14
+ social: React.JSX.Element;
15
+ menu: React.JSX.Element;
16
+ html: React.JSX.Element;
17
+ table: React.JSX.Element;
18
+ timer: React.JSX.Element;
19
+ form: React.JSX.Element;
20
+ columns: React.JSX.Element;
21
+ icon: React.JSX.Element;
22
+ row1: React.JSX.Element;
23
+ row2: React.JSX.Element;
24
+ row3: React.JSX.Element;
25
+ contentTab: React.JSX.Element;
26
+ blocksTab: React.JSX.Element;
27
+ bodyTab: React.JSX.Element;
28
+ imagesTab: React.JSX.Element;
29
+ uploadsTab: React.JSX.Element;
30
+ auditTab: React.JSX.Element;
31
+ designTab: React.JSX.Element;
32
+ jsonTab: React.JSX.Element;
33
+ htmlTab: React.JSX.Element;
34
+ plainTab: React.JSX.Element;
35
+ desktop: React.JSX.Element;
36
+ tablet: React.JSX.Element;
37
+ mobile: React.JSX.Element;
38
+ custom: React.JSX.Element;
39
+ trash: React.JSX.Element;
40
+ copy: React.JSX.Element;
41
+ close: React.JSX.Element;
42
+ undo: React.JSX.Element;
43
+ redo: React.JSX.Element;
44
+ eye: React.JSX.Element;
45
+ chevronDown: React.JSX.Element;
46
+ chevronUp: React.JSX.Element;
47
+ alignLeft: React.JSX.Element;
48
+ alignCenter: React.JSX.Element;
49
+ alignRight: React.JSX.Element;
50
+ alignJustify: React.JSX.Element;
51
+ chevron: React.JSX.Element;
52
+ sun: React.JSX.Element;
53
+ moon: React.JSX.Element;
54
+ search: React.JSX.Element;
55
+ alertCircle: React.JSX.Element;
56
+ arrowRight: React.JSX.Element;
57
+ link: React.JSX.Element;
58
+ accessibility: React.JSX.Element;
59
+ settings: React.JSX.Element;
60
+ strataTab: React.JSX.Element;
61
+ };
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { AccordionSectionProps } from '../../utilities/playground.interfaces';
3
+ export declare const AccordionSection: React.FC<AccordionSectionProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { BorderRadiusControlsProps } from '../../utilities/playground.interfaces';
3
+ export declare const BorderRadiusControls: React.FC<BorderRadiusControlsProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ColumnsSelectorProps } from '../../utilities/playground.interfaces';
3
+ export declare const ColumnsSelector: React.FC<ColumnsSelectorProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CustomSelectProps } from '../../utilities/playground.interfaces';
3
+ export declare const CustomSelect: React.FC<CustomSelectProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { InlineAlignmentProps } from '../../utilities/playground.interfaces';
3
+ export declare const InlineAlignment: React.FC<InlineAlignmentProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { InlineColorPickerProps } from '../../utilities/playground.interfaces';
3
+ export declare const InlineColorPicker: React.FC<InlineColorPickerProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { InlineCounterProps } from '../../utilities/playground.interfaces';
3
+ export declare const InlineCounter: React.FC<InlineCounterProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { InlineSelectProps } from '../../utilities/playground.interfaces';
3
+ export declare const InlineSelect: React.FC<InlineSelectProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { InlineTextAreaProps } from '../../utilities/playground.interfaces';
3
+ export declare const InlineTextArea: React.FC<InlineTextAreaProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { InlineTextInputProps } from '../../utilities/playground.interfaces';
3
+ export declare const InlineTextInput: React.FC<InlineTextInputProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { SpacingControlsProps } from '../../utilities/playground.interfaces';
3
+ export declare const SpacingControls: React.FC<SpacingControlsProps>;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { StrataTokenFlat } from '../../store';
3
+ interface StrataTokenPickerProps {
4
+ /** Filter function — show only matching tokens */
5
+ filter: (token: StrataTokenFlat) => boolean;
6
+ /** Called with the resolved value when a token is selected */
7
+ onSelect: (value: string) => void;
8
+ /** Currently applied value — used to highlight the active token */
9
+ currentValue?: string;
10
+ }
11
+ export declare const StrataTokenPicker: React.FC<StrataTokenPickerProps>;
12
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ToggleProps } from '../../utilities/playground.interfaces';
3
+ export declare const Toggle: React.FC<ToggleProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { UploadZoneProps } from '../../utilities/playground.interfaces';
3
+ export declare const UploadZone: React.FC<UploadZoneProps>;
@@ -0,0 +1,14 @@
1
+ export { InlineCounter } from './InlineCounter';
2
+ export { CustomSelect } from './CustomSelect';
3
+ export { InlineSelect } from './InlineSelect';
4
+ export { InlineColorPicker } from './InlineColorPicker';
5
+ export { InlineAlignment } from './InlineAlignment';
6
+ export { InlineTextInput } from './InlineTextInput';
7
+ export { InlineTextArea } from './InlineTextArea';
8
+ export { Toggle } from './Toggle';
9
+ export { BorderRadiusControls } from './BorderRadiusControls';
10
+ export { AccordionSection } from './AccordionSection';
11
+ export { ColumnsSelector } from './ColumnsSelector';
12
+ export { SpacingControls } from './SpacingControls';
13
+ export { UploadZone } from './UploadZone';
14
+ export { StrataTokenPicker } from './StrataTokenPicker';
@@ -0,0 +1 @@
1
+ export declare const ElementPropertyAccordions: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const AdditionalSettingsAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ButtonPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const CarouselPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const FormContainerPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const HeadingPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const HtmlPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const IconPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ImagePropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LayoutSpacingAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const MenuPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ParagraphPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ResponsiveDesignAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SocialPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SpacerPropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TablePropertiesAccordion: React.FC<any>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TimerPropertiesAccordion: React.FC<any>;