@charisol/plexo-sdk 2.0.20 → 2.0.22
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/{v1-DQojvrOj.js → v1-CBDSeo-a.js} +2466 -1962
- package/dist/v2/sol/commands.d.ts +5 -0
- package/dist/v2/sol/describe.d.ts +14 -0
- package/dist/v2/sol/elements.d.ts +46 -0
- package/dist/v2/sol/prompt.d.ts +1 -1
- package/dist/v2/sol/schema.d.ts +95 -0
- package/dist/v2-compile.js +1 -1
- package/dist/v2.js +1 -1
- package/package.json +1 -1
|
@@ -14,6 +14,11 @@ export interface ApplyResult {
|
|
|
14
14
|
designSystem: DesignSystem;
|
|
15
15
|
results: CommandResult[];
|
|
16
16
|
}
|
|
17
|
+
/** Exported for the commands' plain-language summary. */
|
|
18
|
+
export declare function elementLabel(pages: PageDefinition[], nodeId: string): {
|
|
19
|
+
label: string;
|
|
20
|
+
page?: string;
|
|
21
|
+
};
|
|
17
22
|
/**
|
|
18
23
|
* Applies SOL's suggested changes. Pure and immutable; never throws. Each command is checked on its own: good ones apply,
|
|
19
24
|
* bad ones are reported in plain English and leave everything else untouched.
|
|
@@ -9,6 +9,8 @@ export interface SolSectionSummary {
|
|
|
9
9
|
preview: string;
|
|
10
10
|
/** Designed by hand (not built from a section kind): it can be moved, copied or removed, but not edited by content. */
|
|
11
11
|
freeForm?: boolean;
|
|
12
|
+
/** For a hand-designed section: its elements as an outline, each with the id the element commands use. */
|
|
13
|
+
elements?: SolElementSummary[];
|
|
12
14
|
}
|
|
13
15
|
export interface SolDesignSummary {
|
|
14
16
|
pages: Array<{
|
|
@@ -27,6 +29,18 @@ export interface SolDesignSummary {
|
|
|
27
29
|
roundness: string;
|
|
28
30
|
};
|
|
29
31
|
}
|
|
32
|
+
export interface SolElementSummary {
|
|
33
|
+
id: string;
|
|
34
|
+
type: string;
|
|
35
|
+
/** Only when it differs from the type, e.g. "Hero card". */
|
|
36
|
+
name?: string;
|
|
37
|
+
text?: string;
|
|
38
|
+
href?: string;
|
|
39
|
+
alt?: string;
|
|
40
|
+
/** The settings that decide how it is laid out and looks, so SOL can restructure it. */
|
|
41
|
+
styles?: Record<string, string | number | boolean>;
|
|
42
|
+
children?: SolElementSummary[];
|
|
43
|
+
}
|
|
30
44
|
export declare function describeSection(node: DocumentNode): SolSectionSummary;
|
|
31
45
|
/** A compact, JSON-friendly picture of the site (pages, their sections in order, the brand) for the model to read. */
|
|
32
46
|
export declare function describeDesign(pages: PageDefinition[], designSystem: DesignSystem): SolDesignSummary;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { DocumentNode, ElementStyles } from '../types/editor';
|
|
3
|
+
/** The kinds of element SOL may create. (Existing complex ones — carousels, forms, tables — can be moved, copied and restyled.) */
|
|
4
|
+
export declare const CREATABLE_TYPES: readonly ["container", "card", "heading", "paragraph", "button", "image", "badge", "divider", "spacer", "icon"];
|
|
5
|
+
/** Every style setting an element can carry (the editor's ElementStyles). Anything else SOL invents is dropped, and it is told so. */
|
|
6
|
+
export declare const STYLE_KEYS: ReadonlySet<string>;
|
|
7
|
+
/** Keeps the style settings the editor knows, with plain values; returns what it had to leave out. */
|
|
8
|
+
export declare function cleanStyles(input: unknown): {
|
|
9
|
+
styles: Partial<ElementStyles>;
|
|
10
|
+
dropped: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare function cleanProps(input: unknown): Record<string, string | number | boolean>;
|
|
13
|
+
export interface ElementSpec {
|
|
14
|
+
/** Optional: a short id (letters, numbers, - and _) so later changes in the same answer can refer to this element. */
|
|
15
|
+
id?: string;
|
|
16
|
+
type: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
content?: string;
|
|
19
|
+
props?: Record<string, unknown>;
|
|
20
|
+
styles?: Record<string, unknown>;
|
|
21
|
+
/** Different settings for tablets and phones, e.g. {"mobile": {"fontSize": "34px"}}. */
|
|
22
|
+
responsive?: {
|
|
23
|
+
tablet?: Record<string, unknown>;
|
|
24
|
+
mobile?: Record<string, unknown>;
|
|
25
|
+
};
|
|
26
|
+
hidden?: boolean;
|
|
27
|
+
children?: ElementSpec[];
|
|
28
|
+
}
|
|
29
|
+
export declare const elementSpecSchema: z.ZodType<ElementSpec>;
|
|
30
|
+
export interface Built {
|
|
31
|
+
node: DocumentNode;
|
|
32
|
+
dropped: string[];
|
|
33
|
+
}
|
|
34
|
+
/** Builds real nodes from a spec. Throws a plain-English Error when the spec can't be built. */
|
|
35
|
+
export declare function buildElement(spec: ElementSpec, taken: Set<string>, opts?: {
|
|
36
|
+
section?: boolean;
|
|
37
|
+
}): Built;
|
|
38
|
+
export declare const mapNode: (n: DocumentNode, id: string, fn: (n: DocumentNode) => DocumentNode) => DocumentNode;
|
|
39
|
+
export declare const hasNode: (n: DocumentNode, id: string) => boolean;
|
|
40
|
+
export declare const allIds: (n: DocumentNode, into?: Set<string>) => Set<string>;
|
|
41
|
+
export declare function findIn(n: DocumentNode, id: string): DocumentNode | null;
|
|
42
|
+
export declare function removeFrom(n: DocumentNode, id: string): DocumentNode;
|
|
43
|
+
/** Puts `child` into the element `parentId` at `index` (or the end). */
|
|
44
|
+
export declare function insertInto(root: DocumentNode, parentId: string, child: DocumentNode, index?: number): DocumentNode;
|
|
45
|
+
/** A copy with fresh ids all the way down. */
|
|
46
|
+
export declare function cloneFresh(n: DocumentNode, taken: Set<string>): DocumentNode;
|
package/dist/v2/sol/prompt.d.ts
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* A ready-made system prompt for the host's AI. Send it with `context.catalog` and `context.design` (both come with every
|
|
3
3
|
* `onAskSol` call) so SOL knows what can be built and what the site looks like right now.
|
|
4
4
|
*/
|
|
5
|
-
export declare const SOL_SYSTEM_PROMPT = "You are SOL, a friendly assistant inside a website builder. The site owner is not technical: speak plainly, never mention JSON, ids, code or \"blocks\" in what you say to them.\n\nYou are given two JSON documents: \"catalog\" (every kind of section you can add, its layouts and the fields you can fill in) and \"design\" (the site's pages, their sections in order, and the brand). Only use kinds, layouts and fields that appear in the catalog, and only refer to pages and sections by the ids in \"design\".\n\nWhen the owner asks for a change, reply with one or two short, warm sentences explaining what you suggest, then a fenced block of changes like this:\n\n```plexo-commands\n[\n {\"op\": \"addSection\", \"pageId\": \"<page id>\", \"kind\": \"hero\", \"variant\": \"<layout id>\", \"content\": {\"headline\": \"...\"}, \"afterSectionId\": \"<section id>\"},\n {\"op\": \"updateSection\", \"sectionId\": \"<section id>\", \"content\": {\"heading\": \"...\"}, \"variant\": \"<layout id>\", \"style\": {\"background\": \"surface\", \"align\": \"center\", \"spacing\": \"airy\"}},\n {\"op\": \"removeSection\", \"sectionId\": \"<section id>\"},\n {\"op\": \"moveSection\", \"sectionId\": \"<section id>\", \"index\": 0},\n {\"op\": \"duplicateSection\", \"sectionId\": \"<section id>\"},\n {\"op\": \"setBrand\", \"tokens\": {\"primaryColor\": \"#1D4ED8\", \"headingFont\": \"Poppins\", \"bodyFont\": \"Inter\", \"neutrals\": \"warm\", \"roundness\": \"round\"}},\n {\"op\": \"addPage\", \"name\": \"About\", \"templateId\": \"<optional, from catalog.pageTemplates>\"},\n {\"op\": \"renamePage\", \"pageId\": \"<page id>\", \"name\": \"Our story\"}\n]\n```\n\nRules:\n- The owner always reviews and approves your changes before anything happens, so suggest them confidently, but keep each suggestion small and focused.\n- Content keys are the field paths from the catalog (\"headline\", \"items.0.title\"). A list field needs the whole list. Keep text within each field's \"max\".\n- Write real, specific copy for the owner's business; never lorem ipsum.\n- Sections marked freeForm
|
|
5
|
+
export declare const SOL_SYSTEM_PROMPT = "You are SOL, a friendly assistant inside a website builder. The site owner is not technical: speak plainly, never mention JSON, ids, code or \"blocks\" in what you say to them.\n\nYou are given two JSON documents: \"catalog\" (every kind of section you can add, its layouts and the fields you can fill in) and \"design\" (the site's pages, their sections in order, and the brand). Only use kinds, layouts and fields that appear in the catalog, and only refer to pages and sections by the ids in \"design\".\n\nWhen the owner asks for a change, reply with one or two short, warm sentences explaining what you suggest, then a fenced block of changes like this:\n\n```plexo-commands\n[\n {\"op\": \"addSection\", \"pageId\": \"<page id>\", \"kind\": \"hero\", \"variant\": \"<layout id>\", \"content\": {\"headline\": \"...\"}, \"afterSectionId\": \"<section id>\"},\n {\"op\": \"updateSection\", \"sectionId\": \"<section id>\", \"content\": {\"heading\": \"...\"}, \"variant\": \"<layout id>\", \"style\": {\"background\": \"surface\", \"align\": \"center\", \"spacing\": \"airy\"}},\n {\"op\": \"updateElement\", \"nodeId\": \"<element id>\", \"text\": \"...\", \"href\": \"/about\", \"src\": \"https://...\", \"alt\": \"...\", \"name\": \"...\", \"hidden\": false, \"style\": {\"fontSize\": \"56px\", \"textColor\": \"#111\", \"display\": \"grid\"}, \"responsive\": {\"mobile\": {\"fontSize\": \"34px\"}, \"tablet\": {}}},\n {\"op\": \"addElement\", \"parentId\": \"<section, container or card id>\", \"element\": {\"type\": \"heading\", \"content\": \"...\", \"props\": {\"level\": 2}, \"styles\": {}}, \"afterNodeId\": \"<sibling id>\"},\n {\"op\": \"removeElement\", \"nodeId\": \"<element id>\"},\n {\"op\": \"moveElement\", \"nodeId\": \"<element id>\", \"parentId\": \"<group id>\", \"index\": 0},\n {\"op\": \"duplicateElement\", \"nodeId\": \"<element id>\"},\n {\"op\": \"addCustomSection\", \"pageId\": \"<page id>\", \"element\": {\"type\": \"section\", \"name\": \"Offer\", \"styles\": {\"backgroundColor\": \"#F4EFE6\"}, \"children\": []}, \"afterSectionId\": \"<section id>\"},\n {\"op\": \"replaceSection\", \"sectionId\": \"<section id>\", \"element\": {\"type\": \"section\", \"children\": []}},\n {\"op\": \"removeSection\", \"sectionId\": \"<section id>\"},\n {\"op\": \"moveSection\", \"sectionId\": \"<section id>\", \"index\": 0},\n {\"op\": \"duplicateSection\", \"sectionId\": \"<section id>\"},\n {\"op\": \"setBrand\", \"tokens\": {\"primaryColor\": \"#1D4ED8\", \"headingFont\": \"Poppins\", \"bodyFont\": \"Inter\", \"neutrals\": \"warm\", \"roundness\": \"round\"}},\n {\"op\": \"addPage\", \"name\": \"About\", \"templateId\": \"<optional, from catalog.pageTemplates>\"},\n {\"op\": \"renamePage\", \"pageId\": \"<page id>\", \"name\": \"Our story\"}\n]\n```\n\nRules:\n- The owner always reviews and approves your changes before anything happens, so suggest them confidently, but keep each suggestion small and focused.\n- Content keys are the field paths from the catalog (\"headline\", \"items.0.title\"). A list field needs the whole list. Keep text within each field's \"max\".\n- Write real, specific copy for the owner's business; never lorem ipsum.\n- Sections marked freeForm were designed by hand, so they have no fields. \"design\" lists each one as an outline of elements (id, type, words, link, the settings that decide its layout and look). You can change ANYTHING in them: updateElement for words, links, pictures and any look setting (also per screen with \"responsive\"); addElement, removeElement, moveElement and duplicateElement to restructure; replaceSection to rebuild a whole section from a fresh element tree; addCustomSection to build a new hand-designed section.\n- Elements you can create: container (a group; make columns with display \"grid\" and gridColumns or gridTemplateColumns, a row with display \"flex\" and flexDirection \"row\"), card, heading, paragraph, button, image (props src and alt), badge, divider, spacer, icon (props iconName). Give new elements real settings (padding, gap, colours, font sizes), use brand variables like var(--color-brand-primary-500) where they fit, set mobile settings (responsive.mobile) for anything wide, and give an element a short \"id\" if a later change in the same answer needs to refer to it.\n- Each element command changes one thing; send as many as needed. For a ready-made section (one with a kind) use updateSection; only use replaceSection on one when it truly needs a different structure \u2014 it becomes hand-designed afterwards.\n- When the owner has selected an element, \"Asking about\" gives its id: edit that element, not a different one. Make real, specific changes: a punchier headline is new words, not a restyle.\n- If you only need to answer a question or give advice, reply in plain text with no block.";
|
package/dist/v2/sol/schema.d.ts
CHANGED
|
@@ -59,6 +59,59 @@ export declare const updateSectionSchema: z.ZodObject<{
|
|
|
59
59
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
60
60
|
}, z.core.$strict>>;
|
|
61
61
|
}, z.core.$strip>;
|
|
62
|
+
/** Changes one element inside a hand-designed section: its words, link, picture or description, name, visibility, or any style setting (also per screen). */
|
|
63
|
+
export declare const updateElementSchema: z.ZodObject<{
|
|
64
|
+
op: z.ZodLiteral<"updateElement">;
|
|
65
|
+
nodeId: z.ZodString;
|
|
66
|
+
text: z.ZodOptional<z.ZodString>;
|
|
67
|
+
href: z.ZodOptional<z.ZodString>;
|
|
68
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
69
|
+
src: z.ZodOptional<z.ZodString>;
|
|
70
|
+
name: z.ZodOptional<z.ZodString>;
|
|
71
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
73
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
74
|
+
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
|
+
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
/** Adds a new element (or a whole group of them) inside a hand-designed section. */
|
|
79
|
+
export declare const addElementSchema: z.ZodObject<{
|
|
80
|
+
op: z.ZodLiteral<"addElement">;
|
|
81
|
+
parentId: z.ZodString;
|
|
82
|
+
element: z.ZodType<import("./elements").ElementSpec, unknown, z.core.$ZodTypeInternals<import("./elements").ElementSpec, unknown>>;
|
|
83
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
afterNodeId: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
export declare const removeElementSchema: z.ZodObject<{
|
|
87
|
+
op: z.ZodLiteral<"removeElement">;
|
|
88
|
+
nodeId: z.ZodString;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
export declare const moveElementSchema: z.ZodObject<{
|
|
91
|
+
op: z.ZodLiteral<"moveElement">;
|
|
92
|
+
nodeId: z.ZodString;
|
|
93
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
94
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
afterNodeId: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
export declare const duplicateElementSchema: z.ZodObject<{
|
|
98
|
+
op: z.ZodLiteral<"duplicateElement">;
|
|
99
|
+
nodeId: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
/** Adds a brand-new hand-designed section built from an element tree. */
|
|
102
|
+
export declare const addCustomSectionSchema: z.ZodObject<{
|
|
103
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
afterSectionId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
op: z.ZodLiteral<"addCustomSection">;
|
|
106
|
+
pageId: z.ZodString;
|
|
107
|
+
element: z.ZodType<import("./elements").ElementSpec, unknown, z.core.$ZodTypeInternals<import("./elements").ElementSpec, unknown>>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
/** Rebuilds a section from an element tree (keeps its place). A ready-made section becomes hand-designed. */
|
|
110
|
+
export declare const replaceSectionSchema: z.ZodObject<{
|
|
111
|
+
op: z.ZodLiteral<"replaceSection">;
|
|
112
|
+
sectionId: z.ZodString;
|
|
113
|
+
element: z.ZodType<import("./elements").ElementSpec, unknown, z.core.$ZodTypeInternals<import("./elements").ElementSpec, unknown>>;
|
|
114
|
+
}, z.core.$strip>;
|
|
62
115
|
export declare const removeSectionSchema: z.ZodObject<{
|
|
63
116
|
op: z.ZodLiteral<"removeSection">;
|
|
64
117
|
sectionId: z.ZodString;
|
|
@@ -145,6 +198,48 @@ export declare const solCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
145
198
|
}>>;
|
|
146
199
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
147
200
|
}, z.core.$strict>>;
|
|
201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
+
op: z.ZodLiteral<"updateElement">;
|
|
203
|
+
nodeId: z.ZodString;
|
|
204
|
+
text: z.ZodOptional<z.ZodString>;
|
|
205
|
+
href: z.ZodOptional<z.ZodString>;
|
|
206
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
207
|
+
src: z.ZodOptional<z.ZodString>;
|
|
208
|
+
name: z.ZodOptional<z.ZodString>;
|
|
209
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
211
|
+
responsive: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
tablet: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
213
|
+
mobile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
+
op: z.ZodLiteral<"addElement">;
|
|
217
|
+
parentId: z.ZodString;
|
|
218
|
+
element: z.ZodType<import("./elements").ElementSpec, unknown, z.core.$ZodTypeInternals<import("./elements").ElementSpec, unknown>>;
|
|
219
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
afterNodeId: z.ZodOptional<z.ZodString>;
|
|
221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
222
|
+
op: z.ZodLiteral<"removeElement">;
|
|
223
|
+
nodeId: z.ZodString;
|
|
224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
225
|
+
op: z.ZodLiteral<"moveElement">;
|
|
226
|
+
nodeId: z.ZodString;
|
|
227
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
228
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
afterNodeId: z.ZodOptional<z.ZodString>;
|
|
230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
231
|
+
op: z.ZodLiteral<"duplicateElement">;
|
|
232
|
+
nodeId: z.ZodString;
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
afterSectionId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
op: z.ZodLiteral<"addCustomSection">;
|
|
237
|
+
pageId: z.ZodString;
|
|
238
|
+
element: z.ZodType<import("./elements").ElementSpec, unknown, z.core.$ZodTypeInternals<import("./elements").ElementSpec, unknown>>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
op: z.ZodLiteral<"replaceSection">;
|
|
241
|
+
sectionId: z.ZodString;
|
|
242
|
+
element: z.ZodType<import("./elements").ElementSpec, unknown, z.core.$ZodTypeInternals<import("./elements").ElementSpec, unknown>>;
|
|
148
243
|
}, z.core.$strip>, z.ZodObject<{
|
|
149
244
|
op: z.ZodLiteral<"removeSection">;
|
|
150
245
|
sectionId: z.ZodString;
|
package/dist/v2-compile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, An as t, At as n, C as r, Dn as i, E as a, Fn as o, Ft as ee, Ln as te, Mn as s, Mt as c, N as l, Nn as u, Nt as d, On as f, Ot as p, P as m, Pn as h, Pt as g, Tn as _, _ as v, a as y, c as b, ct as x, d as S, dt as C, f as w, g as T, gn as E, h as D, hn as O, i as k, it as A, j as ne, jn as j, jt as M, kt as N, l as P, lt as F, m as I, n as L, nt as R, o as z, ot as B, p as V, r as H, rt as U, s as W, st as G, t as K, u as q, ut as J, v as Y } from "./v1-
|
|
1
|
+
import { A as e, An as t, At as n, C as r, Dn as i, E as a, Fn as o, Ft as ee, Ln as te, Mn as s, Mt as c, N as l, Nn as u, Nt as d, On as f, Ot as p, P as m, Pn as h, Pt as g, Tn as _, _ as v, a as y, c as b, ct as x, d as S, dt as C, f as w, g as T, gn as E, h as D, hn as O, i as k, it as A, j as ne, jn as j, jt as M, kt as N, l as P, lt as F, m as I, n as L, nt as R, o as z, ot as B, p as V, r as H, rt as U, s as W, st as G, t as K, u as q, ut as J, v as Y } from "./v1-CBDSeo-a.js";
|
|
2
2
|
import { n as X, t as Z } from "./lint-CV3DmM0X.js";
|
|
3
3
|
//#region src/v2/compile/react.ts
|
|
4
4
|
var re = /^[A-Z][A-Za-z0-9]*$/, Q = (e) => JSON.stringify(e);
|
package/dist/v2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, Ft as p, G as m, Gt as h, H as g, Ht as _, I as v, It as y, J as b, Jt as x, K as S, Kt as C, L as w, Lt as T, M as E, Mt as D, N as O, Nt as k, O as A, Ot as j, P as M, Pt as N, Q as P, Qt as ee, R as F, Rt as te, S as ne, St as re, T as I, Tt as ie, U as L, Ut as R, V as ae, Vt as oe, W as se, Wt as ce, X as le, Xt as ue, Y as de, Yt as fe, Z as z, Zt as pe, _ as me, _t as he, a as ge, an as _e, at as ve, b as ye, bt as be, c as xe, ct as Se, d as Ce, dt as we, en as Te, et as Ee, f as De, ft as Oe, g as ke, gt as Ae, h as je, ht as Me, i as Ne, in as Pe, it as Fe, j as Ie, jt as Le, k as Re, kt as ze, l as Be, lt as Ve, m as He, mt as Ue, nn as We, nt as Ge, o as Ke, ot as qe, p as Je, pt as Ye, q as B, qt as Xe, r as Ze, rn as Qe, rt as V, s as $e, st as et, t as tt, tn as nt, tt as rt, u as it, ut as at, v as ot, vt as st, w as ct, wt as lt, x as ut, xt as dt, y as ft, yt as pt, z as mt, zt as ht } from "./InlineColorPicker-BaWBhgH4.js";
|
|
2
2
|
import { a as gt, o as _t } from "./colorUtils-BaVkGjFC.js";
|
|
3
|
-
import { $ as vt, $t as yt, A as bt, An as xt, At as St, B as Ct, Bt as wt, C as Tt, Cn as Et, Ct as Dt, D as Ot, Dn as kt, Dt as At, E as jt, En as Mt, Et as Nt, F as Pt, Ft, G as It, Gt as Lt, H as Rt, Ht as zt, I as Bt, In as Vt, It as Ht, J as Ut, Jt as Wt, K as Gt, Kt, L as qt, Ln as Jt, Lt as Yt, M as Xt, Mn as Zt, Mt as Qt, N as $t, Nn as en, Nt as tn, O as nn, On as rn, Ot as an, Pn as on, Pt as sn, Q as cn, Qt as ln, R as un, Rn as dn, Rt as fn, S as pn, Sn as mn, St as hn, T as gn, Tn as _n, Tt as vn, U as yn, Ut as bn, V as xn, Vt as Sn, W as Cn, Wt as wn, X as Tn, Xt as En, Y as Dn, Yt as On, Z as kn, Zt as An, _n as jn, _t as Mn, an as Nn, at as Pn, b as Fn, bn as In, bt as Ln, c as Rn, cn as zn, ct as Bn, d as Vn, dn as Hn, en as Un, et as Wn, f as Gn, fn as Kn, ft as qn, g as Jn, gn as Yn, gt as Xn, h as Zn, ht as Qn, in as $n, it as er, j as tr, jn as nr, jt as rr, k as ir, kn as ar, kt as or, l as sr, ln as cr, lt as lr, m as ur, mn as dr, mt as fr, n as pr, nn as mr, nt as hr, on as gr, ot as _r, p as vr, pn as yr, pt as br, q as xr, qt as Sr, r as Cr, rn as wr, rt as Tr, s as Er, sn as Dr, st as Or, t as kr, tn as Ar, tt as jr, u as Mr, un as Nr, ut as Pr, vn as Fr, vt as Ir, w as Lr, wn as Rr, wt as zr, x as Br, xn as Vr, xt as Hr, y as Ur, yn as Wr, yt as Gr, z as Kr, zt as qr } from "./v1-
|
|
3
|
+
import { $ as vt, $t as yt, A as bt, An as xt, At as St, B as Ct, Bt as wt, C as Tt, Cn as Et, Ct as Dt, D as Ot, Dn as kt, Dt as At, E as jt, En as Mt, Et as Nt, F as Pt, Ft, G as It, Gt as Lt, H as Rt, Ht as zt, I as Bt, In as Vt, It as Ht, J as Ut, Jt as Wt, K as Gt, Kt, L as qt, Ln as Jt, Lt as Yt, M as Xt, Mn as Zt, Mt as Qt, N as $t, Nn as en, Nt as tn, O as nn, On as rn, Ot as an, Pn as on, Pt as sn, Q as cn, Qt as ln, R as un, Rn as dn, Rt as fn, S as pn, Sn as mn, St as hn, T as gn, Tn as _n, Tt as vn, U as yn, Ut as bn, V as xn, Vt as Sn, W as Cn, Wt as wn, X as Tn, Xt as En, Y as Dn, Yt as On, Z as kn, Zt as An, _n as jn, _t as Mn, an as Nn, at as Pn, b as Fn, bn as In, bt as Ln, c as Rn, cn as zn, ct as Bn, d as Vn, dn as Hn, en as Un, et as Wn, f as Gn, fn as Kn, ft as qn, g as Jn, gn as Yn, gt as Xn, h as Zn, ht as Qn, in as $n, it as er, j as tr, jn as nr, jt as rr, k as ir, kn as ar, kt as or, l as sr, ln as cr, lt as lr, m as ur, mn as dr, mt as fr, n as pr, nn as mr, nt as hr, on as gr, ot as _r, p as vr, pn as yr, pt as br, q as xr, qt as Sr, r as Cr, rn as wr, rt as Tr, s as Er, sn as Dr, st as Or, t as kr, tn as Ar, tt as jr, u as Mr, un as Nr, ut as Pr, vn as Fr, vt as Ir, w as Lr, wn as Rr, wt as zr, x as Br, xn as Vr, xt as Hr, y as Ur, yn as Wr, yt as Gr, z as Kr, zt as qr } from "./v1-CBDSeo-a.js";
|
|
4
4
|
import { A as Jr, C as Yr, D as Xr, E as Zr, F as Qr, I as $r, L as ei, M as ti, N as ni, O as ri, P as ii, S as ai, T as oi, _ as si, a as ci, b as li, c as ui, d as di, f as fi, g as pi, h as mi, i as hi, j as gi, k as _i, l as vi, m as yi, n as bi, o as xi, p as Si, r as Ci, s as wi, t as Ti, u as Ei, v as Di, w as Oi, x as ki, y as Ai } from "./lint-CV3DmM0X.js";
|
|
5
5
|
import { d as ji, o as Mi, s as Ni, t as Pi, u as Fi } from "./client-4pKkAJ3Y.js";
|
|
6
6
|
import Ii, { createContext as Li, forwardRef as Ri, useCallback as H, useContext as zi, useDeferredValue as Bi, useEffect as U, useImperativeHandle as Vi, useLayoutEffect as Hi, useMemo as W, useRef as G, useState as K } from "react";
|
package/package.json
CHANGED