@exponential_app/eui 0.2.0 → 0.3.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.
- package/catalog/a11y.json +15 -1
- package/catalog/core.catalog.json +142 -0
- package/catalog/core.schema.json +198 -1
- package/catalog/host.json +10 -0
- package/catalog/macros.json +541 -1
- package/catalog/recipes.json +2 -2
- package/catalog/strings.json +5 -0
- package/catalog/theme.schema.json +2066 -212
- package/conformance/manifest.json +5 -5
- package/dist/chunks/{index-gtk2gwsb.js → index-4z7f2bp1.js} +160 -33
- package/dist/chunks/{index-gtk2gwsb.js.map → index-4z7f2bp1.js.map} +6 -5
- package/dist/chunks/{index-5fmaa0xq.js → index-abcjanhc.js} +629 -3
- package/dist/chunks/{index-5fmaa0xq.js.map → index-abcjanhc.js.map} +2 -2
- package/dist/chunks/{index-62yzr94z.js → index-dx45asrf.js} +99 -3
- package/dist/chunks/{index-62yzr94z.js.map → index-dx45asrf.js.map} +2 -2
- package/dist/chunks/{index-bg2jsgjq.js → index-h3zgfghf.js} +304 -6
- package/dist/chunks/{index-bg2jsgjq.js.map → index-h3zgfghf.js.map} +2 -2
- package/dist/conformance.js +7901 -614
- package/dist/conformance.js.map +2 -2
- package/dist/entries/prompt.js +2 -2
- package/dist/entries/schema.js +2 -2
- package/dist/host/index.js +20 -4
- package/dist/host/index.js.map +1 -1
- package/dist/index.js +46 -5
- package/dist/index.js.map +4 -3
- package/dist/types/src/catalog.generated.d.ts +23 -3
- package/dist/types/src/host/contract.d.ts +17 -0
- package/dist/types/src/host/exposes.d.ts +68 -0
- package/dist/types/src/host/index.d.ts +1 -0
- package/dist/types/src/host/package.d.ts +8 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/text-clusters.d.ts +11 -0
- package/dist/types/src/web/primitives/carousel.d.ts +17 -0
- package/dist/types/src/web/primitives/index.d.ts +3 -0
- package/dist/types/src/web/primitives/mosaic.d.ts +30 -0
- package/dist/types/src/web/primitives/outline.d.ts +22 -0
- package/dist/web/index.js +8 -2
- package/dist/web/index.js.map +4 -4
- package/dist/web/primitives/index.js +59 -1
- package/dist/web/primitives/index.js.map +6 -3
- package/docs/components.generated.json +150 -1
- package/docs/package-format.md +56 -1
- package/docs/round-6-contract.md +108 -0
- package/docs/themes.generated.json +39 -2
- package/fixtures/bind-time.json +1464 -0
- package/fixtures/catalog-components.json +96 -0
- package/fixtures/catalog-macros.json +1159 -48
- package/fixtures/conformance-baseline.json +46073 -44448
- package/fixtures/conformance-known.json +76 -64
- package/fixtures/host-router.json +539 -1
- package/fixtures/kitchen-sink.expanded.json +614 -1
- package/fixtures/kitchen-sink.json +69 -1
- package/fixtures/primitive-specimens.json +3 -0
- package/fixtures/prompt-budget.json +14 -14
- package/fixtures/specimens.json +122 -0
- package/fixtures/text-clusters.json +65 -0
- package/fixtures/theme-recipes.json +4617 -1691
- package/fixtures/theme-resolved.json +1154 -2
- package/generated/ExponentialUICatalog.generated.kt +13 -13
- package/generated/ExponentialUICatalog.generated.swift +13 -13
- package/generated/ExponentialUIThemes.generated.kt +7 -7
- package/generated/ExponentialUIThemes.generated.swift +7 -7
- package/generated/catalog.descriptions.generated.rs +1 -1
- package/generated/catalog.generated.rs +18 -18
- package/generated/catalog.themes.generated.rs +8 -8
- package/generated/core.descriptions.json +96 -0
- package/generated/core.runtime.json +86 -0
- package/package.json +1 -1
- package/themes/neutral.theme.json +288 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"// VAPP-85: the catalog as data. `catalog/core.catalog.json` is the source;\n// this module loads it, names the catalog ids and answers lookups across the\n// core plus any registered extensions. VAPP-106: what loads here is the\n// RUNTIME catalog `generated/core.runtime.json` (the source minus every\n// description, example and `$comment`), what a renderer needs and nothing a\n// model reads; `src/catalog.described.ts` attaches the text for the prompt,\n// the schema emitter and the docs.\n\nimport coreJson from \"../generated/core.runtime.json\" with { type: \"json\" }\nimport tokensJson from \"../catalog/tokens.json\" with { type: \"json\" }\nimport basicMapJson from \"../catalog/basic-map.json\" with { type: \"json\" }\nimport macrosJson from \"../catalog/macros.json\" with { type: \"json\" }\nimport type {\n CatalogSource,\n ComponentDef,\n DefSchema,\n ExtensionDef,\n MacroDef,\n} from \"./types\"\n\n/** The runtime catalog: no descriptions or examples until `describeCatalog()`\n * (src/catalog.described.ts; the `./prompt` and `./schema` entries) attaches them. */\nexport const coreCatalog = coreJson as unknown as CatalogSource\n\n/** `https://ui.exponential.at/catalogs/core/v1` */\nexport const CORE_CATALOG_ID: string = coreCatalog.id\n/** The prompt-sized subset: the app-shaped vocabulary (no overlays, media,\n * Chart, data tables or the rarer controls). A lite surface is a valid core\n * surface, so it is a second id over the same definitions. */\nexport const CORE_LITE_CATALOG_ID: string = coreCatalog.liteId\n/** The vendored A2UI basic catalog (vendor/a2ui/v0_9). */\nexport const A2UI_BASIC_CATALOG_ID: string = basicMapJson.from\n/** The A2UI wire `version` the vendored schemas carry. */\nexport const A2UI_VERSION: string = basicMapJson.version\n/** What a client sends as `supportedCatalogIds`. */\nexport const SUPPORTED_CATALOG_IDS: readonly string[] = [\n CORE_CATALOG_ID,\n CORE_LITE_CATALOG_ID,\n A2UI_BASIC_CATALOG_ID,\n]\nexport const UNKNOWN_COMPONENT: string = coreCatalog.unknownComponent\n\nexport const coreMacros = macrosJson.macros as unknown as Record<\n string,\n MacroDef\n>\n\n/** Token groups → names, flattened (`type.size`, not a nested object), so a\n * reference `$<group>.<name>` resolves by one lookup. */\nexport const TOKEN_GROUPS: Record<string, readonly string[]> = (() => {\n const out: Record<string, readonly string[]> = {}\n for (const [group, value] of Object.entries(tokensJson)) {\n if (group.startsWith(`$`)) continue\n if (Array.isArray(value)) out[group] = value\n else\n for (const [sub, names] of Object.entries(value as Record<string, string[]>))\n out[`${group}.${sub}`] = names\n }\n return out\n})()\n\nconst TOKEN_REF = /^\\$([a-z][a-zA-Z0-9]*(?:\\.[a-z][a-zA-Z0-9]*)*)\\.([a-zA-Z0-9]+)$/\n\n/** `$spacing.md` → `{ group: \"spacing\", name: \"md\" }`, or null when it is not\n * a well-formed reference. */\nexport function parseTokenRef(\n value: unknown\n): { group: string; name: string } | null {\n if (typeof value !== `string`) return null\n const match = TOKEN_REF.exec(value)\n if (!match) return null\n return { group: match[1], name: match[2] }\n}\n\n/** True when the reference names a token group AND a name in it. */\nexport function isKnownToken(value: unknown): boolean {\n const ref = parseTokenRef(value)\n return ref !== null && (TOKEN_GROUPS[ref.group]?.includes(ref.name) ?? false)\n}\n\nexport interface CatalogView {\n components: Record<string, ComponentDef>\n enums: Record<string, readonly string[]>\n defs: Record<string, DefSchema>\n macros: Record<string, MacroDef>\n}\n\n/** A prototype-less copy of a table: a lookup by an agent-chosen name\n * (`constructor`, `__proto__`, `valueOf`) finds nothing instead of\n * `Object.prototype`'s members (VAPP-107, property-tested). */\nfunction ownTable<T>(source: Record<string, T>): Record<string, T> {\n return Object.assign(Object.create(null) as Record<string, T>, source)\n}\n\n/** The core merged with the given extensions. Extension names never shadow a\n * core name (defineExtension refuses that), so a plain spread is exact. */\nexport function catalogView(extensions: readonly ExtensionDef[] = []): CatalogView {\n const view: CatalogView = {\n components: ownTable(coreCatalog.components),\n enums: ownTable(coreCatalog.enums),\n defs: ownTable(coreCatalog.defs),\n macros: ownTable(coreMacros),\n }\n for (const ext of extensions) {\n Object.assign(view.components, ext.components)\n Object.assign(view.enums, ext.enums ?? {})\n Object.assign(view.defs, ext.defs ?? {})\n Object.assign(view.macros, ext.macros ?? {})\n }\n return view\n}\n\nlet coreView: CatalogView | undefined\nconst views = new WeakMap<readonly ExtensionDef[], CatalogView>()\n\n/** `catalogView`, built once per extension list and SHARED (VAPP-152: the\n * reducer and the macro expander asked for a fresh copy of every table on\n * each streamed `updateComponents`). Read-only; an empty list is the\n * core's. */\nexport function sharedCatalogView(extensions: readonly ExtensionDef[] = []): CatalogView {\n if (extensions.length === 0) return (coreView ??= catalogView())\n let view = views.get(extensions)\n if (!view) views.set(extensions, (view = catalogView(extensions)))\n return view\n}\n\nexport function componentDef(\n name: string,\n extensions: readonly ExtensionDef[] = []\n): ComponentDef | undefined {\n return catalogView(extensions).components[name]\n}\n\n/** True for a component a model is offered: anything but the hidden\n * placeholder. */\nexport function isOffered(def: ComponentDef): boolean {\n return !def.hidden\n}\n\n/** Component names in source order, optionally the lite subset, never the\n * hidden placeholder. */\nexport function componentNames(options: { lite?: boolean } = {}): string[] {\n return Object.entries(coreCatalog.components)\n .filter(([, def]) => isOffered(def) && (!options.lite || def.lite))\n .map(([name]) => name)\n}\n\n/** The lite subset's names. */\nexport function coreLite(): string[] {\n return componentNames({ lite: true })\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AS,SAAQ,GAAa;AAAA,EACnC,OAAO,gBAAe,EAAE,MAAM,KAAK,CAAC;AAAA;",
|
|
8
|
+
"debugId": "A1A315F6C68A2DA064756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
coreCatalog2
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-abcjanhc.js";
|
|
4
4
|
// packages/exponential-ui/generated/core.descriptions.json
|
|
5
5
|
var core_descriptions_default = {
|
|
6
6
|
components: {
|
|
@@ -612,6 +612,12 @@ var core_descriptions_default = {
|
|
|
612
612
|
},
|
|
613
613
|
indicators: {
|
|
614
614
|
description: "Shows the page dots."
|
|
615
|
+
},
|
|
616
|
+
counter: {
|
|
617
|
+
description: "Shows `i / n`."
|
|
618
|
+
},
|
|
619
|
+
thumbnails: {
|
|
620
|
+
description: "A thumbnail URL per page."
|
|
615
621
|
}
|
|
616
622
|
},
|
|
617
623
|
description: "A horizontally paging scroller; each child is one page.",
|
|
@@ -620,6 +626,37 @@ var core_descriptions_default = {
|
|
|
620
626
|
indicators: true
|
|
621
627
|
}
|
|
622
628
|
},
|
|
629
|
+
Mosaic: {
|
|
630
|
+
props: {
|
|
631
|
+
pictures: {
|
|
632
|
+
description: "The pictures in order."
|
|
633
|
+
},
|
|
634
|
+
label: {
|
|
635
|
+
description: "The a11y label."
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
description: "Pictures: halves, or one large + two small with `+N`; press fires `select {index}`.",
|
|
639
|
+
example: {
|
|
640
|
+
pictures: [
|
|
641
|
+
{
|
|
642
|
+
src: "https://example.com/editor.png",
|
|
643
|
+
alt: "Editor"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
src: "https://example.com/preview.png",
|
|
647
|
+
alt: "Preview"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
src: "https://example.com/data.png",
|
|
651
|
+
alt: "Data"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
src: "https://example.com/versions.png",
|
|
655
|
+
alt: "Versions"
|
|
656
|
+
}
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
},
|
|
623
660
|
Tabs: {
|
|
624
661
|
props: {
|
|
625
662
|
tabs: {
|
|
@@ -864,6 +901,40 @@ var core_descriptions_default = {
|
|
|
864
901
|
]
|
|
865
902
|
}
|
|
866
903
|
},
|
|
904
|
+
Outline: {
|
|
905
|
+
props: {
|
|
906
|
+
items: {
|
|
907
|
+
description: "The rows in order."
|
|
908
|
+
},
|
|
909
|
+
value: {
|
|
910
|
+
description: "The active row id."
|
|
911
|
+
},
|
|
912
|
+
caption: {
|
|
913
|
+
description: "The heading."
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
description: "Anchor rows under a caption, one active; press fires `select {id}`.",
|
|
917
|
+
example: {
|
|
918
|
+
caption: "Outline",
|
|
919
|
+
value: "part-a",
|
|
920
|
+
items: [
|
|
921
|
+
{
|
|
922
|
+
id: "current",
|
|
923
|
+
title: "Current state"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
id: "part-a",
|
|
927
|
+
title: "Part A: editor-first creation",
|
|
928
|
+
count: 5
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
id: "part-b",
|
|
932
|
+
title: "Part B: MCP for eApps",
|
|
933
|
+
count: 2
|
|
934
|
+
}
|
|
935
|
+
]
|
|
936
|
+
}
|
|
937
|
+
},
|
|
867
938
|
Stepper: {
|
|
868
939
|
props: {
|
|
869
940
|
steps: {
|
|
@@ -2704,6 +2775,31 @@ var core_descriptions_default = {
|
|
|
2704
2775
|
}
|
|
2705
2776
|
},
|
|
2706
2777
|
description: "One step of a Plan."
|
|
2778
|
+
},
|
|
2779
|
+
outlineItem: {
|
|
2780
|
+
properties: {
|
|
2781
|
+
id: {
|
|
2782
|
+
description: "Reported by `select`."
|
|
2783
|
+
},
|
|
2784
|
+
title: {
|
|
2785
|
+
description: "The row text."
|
|
2786
|
+
},
|
|
2787
|
+
count: {
|
|
2788
|
+
description: "A muted count."
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
description: "One Outline row."
|
|
2792
|
+
},
|
|
2793
|
+
picture: {
|
|
2794
|
+
properties: {
|
|
2795
|
+
src: {
|
|
2796
|
+
description: "The image URL."
|
|
2797
|
+
},
|
|
2798
|
+
alt: {
|
|
2799
|
+
description: "The accessibility description."
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
description: "One picture of a Mosaic."
|
|
2707
2803
|
}
|
|
2708
2804
|
},
|
|
2709
2805
|
functions: {
|
|
@@ -2780,5 +2876,5 @@ function describeCatalog2() {
|
|
|
2780
2876
|
|
|
2781
2877
|
export { describeCatalog2 };
|
|
2782
2878
|
|
|
2783
|
-
//# debugId=
|
|
2784
|
-
//# sourceMappingURL=index-
|
|
2879
|
+
//# debugId=9E9E8979695368A164756E2164756E21
|
|
2880
|
+
//# sourceMappingURL=index-dx45asrf.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"// VAPP-106: the model-facing text of the catalog (every component and prop\n// description, every example, the functions' descriptions) lives OUTSIDE the\n// runtime catalog. `generated/core.runtime.json` is what the reducer, the\n// validator and every renderer read (and what the Rust core embeds);\n// `generated/core.descriptions.json` is the rest, keyed like the catalog.\n// `describeCatalog()` puts the two back together IN PLACE on `coreCatalog`\n// (once; later calls return at the first check): the `./prompt` and\n// `./schema` entries call it before they read a description, so a browser\n// that only renders never downloads a word of it. The generator\n// (scripts/generate.ts) makes the split from catalog/core.catalog.json, the\n// source, with `splitDescriptions`; `catalog.described.test.ts` proves the\n// round trip.\n\nimport descriptionsJson from \"../generated/core.descriptions.json\" with { type: \"json\" }\nimport { coreCatalog } from \"./catalog\"\nimport type { CatalogSource, ComponentDef, DefSchema, PropSchema } from \"./types\"\n\n/** The text a prop schema carries (recursing into `items`). */\nexport interface PropDescription {\n description?: string\n items?: PropDescription\n}\n\n/** The text of the catalog, keyed like the catalog itself. */\nexport interface CatalogDescriptions {\n components: Record<string, { description?: string; example?: Record<string, unknown>; props: Record<string, PropDescription> }>\n defs: Record<string, { description?: string; properties: Record<string, PropDescription> }>\n functions: { core: Record<string, string>; basic: Record<string, string> }\n}\n\n/** The runtime view of a schema object: its text may be absent (src/types.ts keeps it typed present). */\ntype Mutable<T> = { -readonly [K in keyof T as K extends `description` | `example` ? never : K]: T[K] } & { description?: string; example?: Record<string, unknown> }\n\nfunction takeProp(schema: Mutable<PropSchema>): PropDescription {\n const out: PropDescription = {}\n if (schema.description !== undefined) {\n out.description = schema.description\n delete schema.description\n }\n if (schema.items) {\n const items = takeProp(schema.items as Mutable<PropSchema>)\n if (Object.keys(items).length) out.items = items\n }\n return out\n}\n\nfunction giveProp(schema: Mutable<PropSchema>, text: PropDescription | undefined): void {\n if (!text) return\n if (text.description !== undefined) schema.description = text.description\n if (text.items && schema.items) giveProp(schema.items as Mutable<PropSchema>, text.items)\n}\n\n/** Every `$comment` dropped, recursively (the source carries them for people). */\nfunction withoutComments<T>(value: T): T {\n if (Array.isArray(value)) return value.map(withoutComments) as T\n if (typeof value === `object` && value !== null)\n return Object.fromEntries(\n Object.entries(value as Record<string, unknown>)\n .filter(([k]) => k !== `$comment`)\n .map(([k, v]) => [k, withoutComments(v)])\n ) as T\n return value\n}\n\n/** The source catalog split into what the runtime needs and the text only\n * the prompt, the schema and the docs read. Pure: the source stays as it is. */\nexport function splitDescriptions(source: CatalogSource): { runtime: CatalogSource; descriptions: CatalogDescriptions } {\n const runtime = withoutComments(structuredClone(source)) as Mutable<CatalogSource>\n const descriptions: CatalogDescriptions = { components: {}, defs: {}, functions: { core: {}, basic: {} } }\n for (const [name, def] of Object.entries(runtime.components) as [string, Mutable<ComponentDef>][]) {\n const entry: CatalogDescriptions[`components`][string] = { props: {} }\n if (def.description !== undefined) {\n entry.description = def.description\n delete def.description\n }\n if (def.example !== undefined) {\n entry.example = def.example\n delete def.example\n }\n for (const [prop, schema] of Object.entries(def.props)) {\n const text = takeProp(schema as Mutable<PropSchema>)\n if (Object.keys(text).length) entry.props[prop] = text\n }\n descriptions.components[name] = entry\n }\n for (const [name, def] of Object.entries(runtime.defs) as [string, Mutable<DefSchema>][]) {\n const entry: CatalogDescriptions[`defs`][string] = { properties: {} }\n if (def.description !== undefined) {\n entry.description = def.description\n delete def.description\n }\n for (const [prop, schema] of Object.entries(def.properties)) {\n const text = takeProp(schema as Mutable<PropSchema>)\n if (Object.keys(text).length) entry.properties[prop] = text\n }\n descriptions.defs[name] = entry\n }\n for (const group of [`core`, `basic`] as const)\n for (const [name, fn] of Object.entries(runtime.functions[group]) as [string, { description?: string }][]) {\n if (fn.description === undefined) continue\n descriptions.functions[group][name] = fn.description\n delete fn.description\n }\n return { runtime, descriptions }\n}\n\n/** Puts the text back onto a runtime catalog, in place. */\nexport function applyDescriptions(target: CatalogSource, descriptions: CatalogDescriptions): void {\n for (const [name, text] of Object.entries(descriptions.components)) {\n const def = target.components[name] as Mutable<ComponentDef> | undefined\n if (!def) continue\n if (text.description !== undefined) def.description = text.description\n if (text.example !== undefined) def.example = text.example\n for (const [prop, propText] of Object.entries(text.props)) giveProp(def.props[prop] as Mutable<PropSchema>, propText)\n }\n for (const [name, text] of Object.entries(descriptions.defs)) {\n const def = target.defs[name] as Mutable<DefSchema> | undefined\n if (!def) continue\n if (text.description !== undefined) def.description = text.description\n for (const [prop, propText] of Object.entries(text.properties)) giveProp(def.properties[prop] as Mutable<PropSchema>, propText)\n }\n for (const group of [`core`, `basic`] as const)\n for (const [name, description] of Object.entries(descriptions.functions[group])) {\n const fn = target.functions[group][name] as { description?: string } | undefined\n if (fn) fn.description = description\n }\n}\n\nlet described = false\n\n/** `coreCatalog` with its descriptions and examples attached (once per\n * process); what the prompt, the schema emitter and the docs read. */\nexport function describeCatalog(): CatalogSource {\n if (!described) {\n applyDescriptions(coreCatalog, descriptionsJson as unknown as CatalogDescriptions)\n described =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@ import {
|
|
|
3
3
|
parseTokenRef2,
|
|
4
4
|
isKnownToken2,
|
|
5
5
|
catalogView2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-abcjanhc.js";
|
|
7
7
|
import {
|
|
8
8
|
style_default
|
|
9
9
|
} from "./index-fy7y2nz8.js";
|
|
@@ -396,7 +396,7 @@ function contrast2(a, b) {
|
|
|
396
396
|
}
|
|
397
397
|
// packages/exponential-ui/catalog/recipes.json
|
|
398
398
|
var recipes_default = {
|
|
399
|
-
$comment: "VAPP-92: the RECIPE contract. A theme styles a component PART under a `when` selector (the node's recipe props + the interaction `state`); this file fixes what a theme may name. `states` = the interaction states a painter reports (`default` is the absence of all; round 1 adds `invalid` = a field whose checks failed, `dragover` = a drop zone a drag hovers); `keys` = the whitelist a recipe style may set: a SUBSET of style.json's visual keys plus the padding/gap/size keys a part's box needs and `native` (true = the painter may use the platform's own control for this part, geometry still from the tokens); round 1 lets a recipe set `transition`/`transitionEasing` (so a theme's motion tokens finally animate hover/press/open), `transform` (a chevron that rotates when `open`), `borderStyle`, the four per-side border widths (an app bar's bottom rule, a tab bar's top rule), `textDecoration`, `letterSpacing`, `fontStyle`, `textTransform`. A part-level discriminator the painter supplies per drawn piece: CodeBlock/token `kind` (the codeToken enum), Table/headerCell+cell `align` and Table/row `striped` (true on ODD rows of a striped table), Stepper's step `status` (a macro `$recipe`). `native` lists every native component's PARTS (the painter paints each part with its resolved recipe) and the PROPS a `when` may key on (the component's enum/boolean props; the catalog default fills an unset one, so a theme always sees a concrete value; a part-level discriminator the PAINTER supplies is listed too, see below). Macro parts come from macros.json (every template `part`) and their `when` props from the macro's `recipeProps` (+ a part's `$recipe` keys); src/recipes.ts derives them. Both lists are append-only. Round 2 (docs/round-2-contract.md §6): `parts` lists EVERY part a painter lays out (the conformance dump names each `<node id>.<part>[.<index or row key>]`), so the layout-only parts are here too (Switch/body, Radio/items, Slider/header, Table/body, CodeBlock/body+code, FileUpload/title+browse+fileIcon, the fields' `input`, Tooltip/anchor, Accordion/count, List/section, Carousel/controls+previous+next); keys add `backdropBlur` (`$blur.*`) and `animation`; Resizable is new. EXP-1259: SearchList is new (its parts are also a searchable Menu submenu's: head, search, count, list, empty, fade), Tabs gain `close` + `new` (props `closable`, `addable`), Skeleton gains its rows (`row`, `dot`, `bar`). EXP-1324: CodeBlock gains the `variant` (default|destructive) and `size` (default|sm) props, shadcn's code-block. VAPP-162 (docs/round-5-contract.md): Segmented gains `orientation` + the `badge` part (an option `count`), VoiceWave the `variant` prop + the `bar` part (the `bars` meter), QrCode and QrScanner are new.",
|
|
399
|
+
$comment: "VAPP-92: the RECIPE contract. A theme styles a component PART under a `when` selector (the node's recipe props + the interaction `state`); this file fixes what a theme may name. `states` = the interaction states a painter reports (`default` is the absence of all; round 1 adds `invalid` = a field whose checks failed, `dragover` = a drop zone a drag hovers); `keys` = the whitelist a recipe style may set: a SUBSET of style.json's visual keys plus the padding/gap/size keys a part's box needs and `native` (true = the painter may use the platform's own control for this part, geometry still from the tokens); round 1 lets a recipe set `transition`/`transitionEasing` (so a theme's motion tokens finally animate hover/press/open), `transform` (a chevron that rotates when `open`), `borderStyle`, the four per-side border widths (an app bar's bottom rule, a tab bar's top rule), `textDecoration`, `letterSpacing`, `fontStyle`, `textTransform`. A part-level discriminator the painter supplies per drawn piece: CodeBlock/token `kind` (the codeToken enum), Table/headerCell+cell `align` and Table/row `striped` (true on ODD rows of a striped table), Stepper's step `status` (a macro `$recipe`). `native` lists every native component's PARTS (the painter paints each part with its resolved recipe) and the PROPS a `when` may key on (the component's enum/boolean props; the catalog default fills an unset one, so a theme always sees a concrete value; a part-level discriminator the PAINTER supplies is listed too, see below). Macro parts come from macros.json (every template `part`) and their `when` props from the macro's `recipeProps` (+ a part's `$recipe` keys); src/recipes.ts derives them. Both lists are append-only. Round 2 (docs/round-2-contract.md §6): `parts` lists EVERY part a painter lays out (the conformance dump names each `<node id>.<part>[.<index or row key>]`), so the layout-only parts are here too (Switch/body, Radio/items, Slider/header, Table/body, CodeBlock/body+code, FileUpload/title+browse+fileIcon, the fields' `input`, Tooltip/anchor, Accordion/count, List/section, Carousel/controls+previous+next); keys add `backdropBlur` (`$blur.*`) and `animation`; Resizable is new. EXP-1259: SearchList is new (its parts are also a searchable Menu submenu's: head, search, count, list, empty, fade), Tabs gain `close` + `new` (props `closable`, `addable`), Skeleton gains its rows (`row`, `dot`, `bar`). EXP-1324: CodeBlock gains the `variant` (default|destructive) and `size` (default|sm) props, shadcn's code-block. VAPP-162 (docs/round-5-contract.md): Segmented gains `orientation` + the `badge` part (an option `count`), VoiceWave the `variant` prop + the `bar` part (the `bars` meter), QrCode and QrScanner are new. EXP-1495 (docs/round-6-contract.md): Carousel gains `counter` (prop + part) and the `thumbnails` strip (parts `thumbnails`, `thumbnail`, state `selected` = the current page).",
|
|
400
400
|
states: ["hover", "pressed", "focus", "disabled", "checked", "open", "selected", "invalid", "dragover"],
|
|
401
401
|
keys: [
|
|
402
402
|
"backgroundColor",
|
|
@@ -446,7 +446,7 @@ var recipes_default = {
|
|
|
446
446
|
AudioPlayer: { parts: ["root", "controls", "track"], props: [] },
|
|
447
447
|
Avatar: { parts: ["root", "image", "fallback"], props: ["size"] },
|
|
448
448
|
QrCode: { parts: ["root", "plate", "module", "label"], props: ["level"] },
|
|
449
|
-
Carousel: { parts: ["root", "page", "indicator", "controls", "previous", "next"], props: ["loop", "indicators"] },
|
|
449
|
+
Carousel: { parts: ["root", "page", "indicator", "controls", "previous", "next", "counter", "thumbnails", "thumbnail"], props: ["loop", "indicators", "counter"] },
|
|
450
450
|
Tabs: { parts: ["root", "list", "tab", "indicator", "content", "close", "new"], props: ["fill", "closable", "addable"] },
|
|
451
451
|
Segmented: { parts: ["root", "item", "icon", "label", "badge"], props: ["type", "variant", "size", "fill", "orientation"] },
|
|
452
452
|
Accordion: { parts: ["root", "item", "trigger", "content", "count"], props: ["type"] },
|
|
@@ -5355,6 +5355,212 @@ var neutral_theme_default = {
|
|
|
5355
5355
|
backgroundColor: "$color.primary"
|
|
5356
5356
|
}
|
|
5357
5357
|
}
|
|
5358
|
+
],
|
|
5359
|
+
counter: [
|
|
5360
|
+
{
|
|
5361
|
+
style: {
|
|
5362
|
+
height: 20,
|
|
5363
|
+
paddingHorizontal: "$spacing.sm",
|
|
5364
|
+
borderRadius: "$radius.full",
|
|
5365
|
+
backgroundColor: "#0000008c",
|
|
5366
|
+
color: "#ffffff",
|
|
5367
|
+
fontSize: "$type.size.xs",
|
|
5368
|
+
lineHeight: 20,
|
|
5369
|
+
fontWeight: "$type.weight.medium"
|
|
5370
|
+
}
|
|
5371
|
+
}
|
|
5372
|
+
],
|
|
5373
|
+
thumbnails: [
|
|
5374
|
+
{
|
|
5375
|
+
style: {
|
|
5376
|
+
gap: "$spacing.sm"
|
|
5377
|
+
}
|
|
5378
|
+
}
|
|
5379
|
+
],
|
|
5380
|
+
thumbnail: [
|
|
5381
|
+
{
|
|
5382
|
+
style: {
|
|
5383
|
+
width: 52,
|
|
5384
|
+
height: 52,
|
|
5385
|
+
borderRadius: "$radius.md",
|
|
5386
|
+
borderWidth: "$border.thick",
|
|
5387
|
+
borderColor: "#00000000",
|
|
5388
|
+
backgroundColor: "$color.muted",
|
|
5389
|
+
opacity: 0.7,
|
|
5390
|
+
transition: "$motion.fast",
|
|
5391
|
+
transitionEasing: "$ease.standard"
|
|
5392
|
+
}
|
|
5393
|
+
},
|
|
5394
|
+
{
|
|
5395
|
+
when: {
|
|
5396
|
+
state: "hover"
|
|
5397
|
+
},
|
|
5398
|
+
style: {
|
|
5399
|
+
opacity: 1
|
|
5400
|
+
}
|
|
5401
|
+
},
|
|
5402
|
+
{
|
|
5403
|
+
when: {
|
|
5404
|
+
state: "focus"
|
|
5405
|
+
},
|
|
5406
|
+
style: {
|
|
5407
|
+
borderColor: "$color.ring"
|
|
5408
|
+
}
|
|
5409
|
+
},
|
|
5410
|
+
{
|
|
5411
|
+
when: {
|
|
5412
|
+
state: "selected"
|
|
5413
|
+
},
|
|
5414
|
+
style: {
|
|
5415
|
+
borderColor: "$color.foreground",
|
|
5416
|
+
opacity: 1
|
|
5417
|
+
}
|
|
5418
|
+
}
|
|
5419
|
+
]
|
|
5420
|
+
},
|
|
5421
|
+
Mosaic: {
|
|
5422
|
+
root: [
|
|
5423
|
+
{
|
|
5424
|
+
style: {
|
|
5425
|
+
gap: 10
|
|
5426
|
+
}
|
|
5427
|
+
}
|
|
5428
|
+
],
|
|
5429
|
+
side: [
|
|
5430
|
+
{
|
|
5431
|
+
style: {
|
|
5432
|
+
gap: 10
|
|
5433
|
+
}
|
|
5434
|
+
}
|
|
5435
|
+
],
|
|
5436
|
+
lead: [
|
|
5437
|
+
{
|
|
5438
|
+
style: {
|
|
5439
|
+
borderRadius: "$radius.lg",
|
|
5440
|
+
borderWidth: "$border.hairline",
|
|
5441
|
+
borderColor: "$color.border",
|
|
5442
|
+
backgroundColor: "$color.muted",
|
|
5443
|
+
transition: "$motion.fast",
|
|
5444
|
+
transitionEasing: "$ease.standard"
|
|
5445
|
+
}
|
|
5446
|
+
},
|
|
5447
|
+
{
|
|
5448
|
+
when: {
|
|
5449
|
+
state: "hover"
|
|
5450
|
+
},
|
|
5451
|
+
style: {
|
|
5452
|
+
opacity: 0.92
|
|
5453
|
+
}
|
|
5454
|
+
},
|
|
5455
|
+
{
|
|
5456
|
+
when: {
|
|
5457
|
+
state: "focus"
|
|
5458
|
+
},
|
|
5459
|
+
style: {
|
|
5460
|
+
borderColor: "$color.ring"
|
|
5461
|
+
}
|
|
5462
|
+
}
|
|
5463
|
+
],
|
|
5464
|
+
pair: [
|
|
5465
|
+
{
|
|
5466
|
+
style: {
|
|
5467
|
+
borderRadius: "$radius.lg",
|
|
5468
|
+
borderWidth: "$border.hairline",
|
|
5469
|
+
borderColor: "$color.border",
|
|
5470
|
+
backgroundColor: "$color.muted",
|
|
5471
|
+
transition: "$motion.fast",
|
|
5472
|
+
transitionEasing: "$ease.standard"
|
|
5473
|
+
}
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
when: {
|
|
5477
|
+
state: "hover"
|
|
5478
|
+
},
|
|
5479
|
+
style: {
|
|
5480
|
+
opacity: 0.92
|
|
5481
|
+
}
|
|
5482
|
+
},
|
|
5483
|
+
{
|
|
5484
|
+
when: {
|
|
5485
|
+
state: "focus"
|
|
5486
|
+
},
|
|
5487
|
+
style: {
|
|
5488
|
+
borderColor: "$color.ring"
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5491
|
+
],
|
|
5492
|
+
top: [
|
|
5493
|
+
{
|
|
5494
|
+
style: {
|
|
5495
|
+
borderRadius: "$radius.lg",
|
|
5496
|
+
borderWidth: "$border.hairline",
|
|
5497
|
+
borderColor: "$color.border",
|
|
5498
|
+
backgroundColor: "$color.muted",
|
|
5499
|
+
transition: "$motion.fast",
|
|
5500
|
+
transitionEasing: "$ease.standard"
|
|
5501
|
+
}
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
when: {
|
|
5505
|
+
state: "hover"
|
|
5506
|
+
},
|
|
5507
|
+
style: {
|
|
5508
|
+
opacity: 0.92
|
|
5509
|
+
}
|
|
5510
|
+
},
|
|
5511
|
+
{
|
|
5512
|
+
when: {
|
|
5513
|
+
state: "focus"
|
|
5514
|
+
},
|
|
5515
|
+
style: {
|
|
5516
|
+
borderColor: "$color.ring"
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
],
|
|
5520
|
+
bottom: [
|
|
5521
|
+
{
|
|
5522
|
+
style: {
|
|
5523
|
+
borderRadius: "$radius.lg",
|
|
5524
|
+
borderWidth: "$border.hairline",
|
|
5525
|
+
borderColor: "$color.border",
|
|
5526
|
+
backgroundColor: "$color.muted",
|
|
5527
|
+
transition: "$motion.fast",
|
|
5528
|
+
transitionEasing: "$ease.standard"
|
|
5529
|
+
}
|
|
5530
|
+
},
|
|
5531
|
+
{
|
|
5532
|
+
when: {
|
|
5533
|
+
state: "hover"
|
|
5534
|
+
},
|
|
5535
|
+
style: {
|
|
5536
|
+
opacity: 0.92
|
|
5537
|
+
}
|
|
5538
|
+
},
|
|
5539
|
+
{
|
|
5540
|
+
when: {
|
|
5541
|
+
state: "focus"
|
|
5542
|
+
},
|
|
5543
|
+
style: {
|
|
5544
|
+
borderColor: "$color.ring"
|
|
5545
|
+
}
|
|
5546
|
+
}
|
|
5547
|
+
],
|
|
5548
|
+
more: [
|
|
5549
|
+
{
|
|
5550
|
+
style: {
|
|
5551
|
+
backgroundColor: "#0000008c"
|
|
5552
|
+
}
|
|
5553
|
+
}
|
|
5554
|
+
],
|
|
5555
|
+
moreLabel: [
|
|
5556
|
+
{
|
|
5557
|
+
style: {
|
|
5558
|
+
color: "#ffffff",
|
|
5559
|
+
fontSize: "$type.size.xl",
|
|
5560
|
+
lineHeight: "$type.lineHeight.xl",
|
|
5561
|
+
fontWeight: "$type.weight.semibold"
|
|
5562
|
+
}
|
|
5563
|
+
}
|
|
5358
5564
|
]
|
|
5359
5565
|
},
|
|
5360
5566
|
AudioPlayer: {
|
|
@@ -7613,6 +7819,88 @@ var neutral_theme_default = {
|
|
|
7613
7819
|
}
|
|
7614
7820
|
]
|
|
7615
7821
|
},
|
|
7822
|
+
Outline: {
|
|
7823
|
+
caption: [
|
|
7824
|
+
{
|
|
7825
|
+
style: {
|
|
7826
|
+
paddingHorizontal: "$spacing.sm",
|
|
7827
|
+
paddingVertical: "$spacing.xs",
|
|
7828
|
+
fontSize: 11,
|
|
7829
|
+
lineHeight: 16,
|
|
7830
|
+
fontWeight: "$type.weight.medium",
|
|
7831
|
+
letterSpacing: 0.5,
|
|
7832
|
+
textTransform: "uppercase",
|
|
7833
|
+
color: "$color.mutedForeground"
|
|
7834
|
+
}
|
|
7835
|
+
}
|
|
7836
|
+
],
|
|
7837
|
+
row: [
|
|
7838
|
+
{
|
|
7839
|
+
style: {
|
|
7840
|
+
borderRadius: "$radius.sm",
|
|
7841
|
+
backgroundColor: "#00000000",
|
|
7842
|
+
transition: "$motion.fast",
|
|
7843
|
+
transitionEasing: "$ease.standard"
|
|
7844
|
+
}
|
|
7845
|
+
},
|
|
7846
|
+
{
|
|
7847
|
+
when: {
|
|
7848
|
+
state: "hover"
|
|
7849
|
+
},
|
|
7850
|
+
style: {
|
|
7851
|
+
backgroundColor: "$color.accent"
|
|
7852
|
+
}
|
|
7853
|
+
},
|
|
7854
|
+
{
|
|
7855
|
+
when: {
|
|
7856
|
+
state: "focus"
|
|
7857
|
+
},
|
|
7858
|
+
style: {
|
|
7859
|
+
borderColor: "$color.ring"
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
when: {
|
|
7864
|
+
active: true
|
|
7865
|
+
},
|
|
7866
|
+
style: {
|
|
7867
|
+
backgroundColor: "$color.accent"
|
|
7868
|
+
}
|
|
7869
|
+
}
|
|
7870
|
+
],
|
|
7871
|
+
bar: [
|
|
7872
|
+
{
|
|
7873
|
+
style: {
|
|
7874
|
+
backgroundColor: "$color.foreground"
|
|
7875
|
+
}
|
|
7876
|
+
}
|
|
7877
|
+
],
|
|
7878
|
+
title: [
|
|
7879
|
+
{
|
|
7880
|
+
style: {
|
|
7881
|
+
fontSize: "$type.size.sm",
|
|
7882
|
+
lineHeight: "$type.lineHeight.sm",
|
|
7883
|
+
color: "$color.mutedForeground"
|
|
7884
|
+
}
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
when: {
|
|
7888
|
+
active: true
|
|
7889
|
+
},
|
|
7890
|
+
style: {
|
|
7891
|
+
color: "$color.foreground",
|
|
7892
|
+
fontWeight: "$type.weight.medium"
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
],
|
|
7896
|
+
count: [
|
|
7897
|
+
{
|
|
7898
|
+
style: {
|
|
7899
|
+
color: "$color.mutedForeground"
|
|
7900
|
+
}
|
|
7901
|
+
}
|
|
7902
|
+
]
|
|
7903
|
+
},
|
|
7616
7904
|
AppBar: {
|
|
7617
7905
|
root: [
|
|
7618
7906
|
{
|
|
@@ -8480,6 +8768,16 @@ var host_default = {
|
|
|
8480
8768
|
transports: ["http", "stdio", "script"],
|
|
8481
8769
|
functionPrefix: "tools."
|
|
8482
8770
|
},
|
|
8771
|
+
exposes: {
|
|
8772
|
+
$comment: "VAPP-180 (the format half of the eMCP contract, packages/emcp fixtures/exposes.json in the Exponential repo): `exposes: [{name, title, description, input, access, run}]` = MCP tools a host's broker lists (as `<app>__<name>`) and runs as the CALLING person, data never code. `name` matches `limits.namePattern`, at most `limits.nameMax`, never holds `limits.separator`, unique; `title` (at most titleMax) and `description` (at most descriptionMax) non-blank; `input` = a JSON Schema `{type: \"object\", properties?}`; `access` read | write; at most `limits.maxTools` tools. `run` holds EXACTLY ONE of `runKinds`: `records: {op, kind, id?, where?, data?, limit?}` over the package's OWN kinds (op in `recordOps`; `readRecordOps` read, upsert writes; a delete is destructive and refused); `action` (+ `args`) = a host function name matching `actionPattern` (it reads when the last word of its name is a `readOpWords` word, else it writes); `upstream` (+ `tool`, `args`) = one of the package's `upstreams` (the MCP server names the HOST provides: Exponential = the team's MCP servers). Every string of `run` may hold `${input.<dotted path>}` templates whose first key is a declared input property. Destructive is never exposed: an action or upstream tool whose name holds a `destructiveWords` word (words = the lowercase letter runs) is refused. A binding declared read whose run writes is refused; an upstream tool's level is its live annotations', checked by the host at call. Issues come in binding order with the eMCP error code (`exposeIssues`). What a run may reach on a given host (which actions exist and are grantable, destructive arguments, which upstreams the team has) is the host's own check on top.",
|
|
8773
|
+
limits: { namePattern: "^[a-z][a-z0-9_]*$", nameMax: 40, titleMax: 80, descriptionMax: 1024, maxTools: 32, separator: "__" },
|
|
8774
|
+
runKinds: ["records", "action", "upstream"],
|
|
8775
|
+
recordOps: ["list", "get", "upsert"],
|
|
8776
|
+
readRecordOps: ["list", "get"],
|
|
8777
|
+
readOpWords: ["list", "get", "show", "catalog", "activity", "files"],
|
|
8778
|
+
destructiveWords: ["delete", "merge", "close", "end", "remove", "trash"],
|
|
8779
|
+
actionPattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)+$"
|
|
8780
|
+
},
|
|
8483
8781
|
extensions: {
|
|
8484
8782
|
$comment: "VAPP-161: `extensions: [{id, version, components?}]`: an extension catalog id the package needs beyond its catalogId, the minimum MAJOR.MINOR.PATCH (caret: the host's has the same major and is not lower; an unversioned registration satisfies any) and the components it uses. Install issues: an id not registered on the host (`extension <id> is not available on this host`), a version that does not satisfy (`extension <id> <have> does not satisfy ^<want>`), a component the registered extension does not define (`extension <id> has no component <name>`), a duplicate id. A host registers an extension's version as ExtensionDef.version.",
|
|
8485
8783
|
versionPattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
|
|
@@ -8535,7 +8833,7 @@ function actionMessage2(action) {
|
|
|
8535
8833
|
return { version: host_default.a2uiVersion, action: out };
|
|
8536
8834
|
}
|
|
8537
8835
|
|
|
8538
|
-
export { STYLE_KEYS2, STYLE_LAYOUT_KEYS2, STYLE_VISUAL_KEYS2, STYLE_LAYOUT_EFFECT_KEYS2, STYLE_MEDIA2, STYLE_TRANSFORM2, STYLE_STATES2, styleKeyEnum2, styleKeyType2, validateStyle2, create2, props2, parseMediaCondition2, mediaMatches2, resolveConditions2, activeBreakpoint2, parseColor2, toHex2, isThemeHex2, toThemeHex2, luminance2, contrast2, RECIPE_STATES2, RECIPE_KEYS2, macroParts2, recipeParts2, nativeRecipeProps2, MODES2, DENSITIES2, THEME_SCHEMA_ID2, ThemeError2, validateTheme2, tryLoadTheme2, loadTheme2, resolveMode2, applyDensity2, applyContrast2, resolveToken2, resolveConditionKey2, resolveStyleValues2, recipeStyle2, resolveRecipe2, nodeRecipeQuery2, resolveNodeStyle2, shadowCss2, easingCss2, neutralTheme2, exponentialTheme2, playfulTheme2, orangeTheme2, BUILTIN_THEMES2, BUILTIN_THEME_IDS2, DEFAULT_THEME_ID2, builtinTheme2, themeOrDefault2, builtinThemes2, HOST_CONTRACT2, HOST_CONTRACT_VERSION2, A2UI_MESSAGE_KINDS2, EXTENSION_MESSAGE_KINDS2, MESSAGE_KINDS2, HOST_ERROR_CODES2, DEFAULT_URL_SCHEMES2, DEFAULT_MEDIA_SCHEMES2, MEDIA_LIMITS2, PAINT_ERROR_HOOK2, RENDER_FAILED2, MCP_MIME_TYPES2, MCP_ACTION_TOOL2, SSE_EVENTS2, SURFACE_SETTING_KEYS2, FORMATTER_METHODS2, SURFACE_COMMANDS2, errorMessage2, actionMessage2 };
|
|
8836
|
+
export { STYLE_KEYS2, STYLE_LAYOUT_KEYS2, STYLE_VISUAL_KEYS2, STYLE_LAYOUT_EFFECT_KEYS2, STYLE_MEDIA2, STYLE_TRANSFORM2, STYLE_STATES2, styleKeyEnum2, styleKeyType2, validateStyle2, create2, props2, parseMediaCondition2, mediaMatches2, resolveConditions2, activeBreakpoint2, parseColor2, toHex2, isThemeHex2, toThemeHex2, luminance2, contrast2, RECIPE_STATES2, RECIPE_KEYS2, macroParts2, recipeParts2, nativeRecipeProps2, MODES2, DENSITIES2, THEME_SCHEMA_ID2, ThemeError2, validateTheme2, tryLoadTheme2, loadTheme2, resolveMode2, applyDensity2, applyContrast2, resolveToken2, resolveConditionKey2, resolveStyleValues2, recipeStyle2, resolveRecipe2, nodeRecipeQuery2, resolveNodeStyle2, shadowCss2, easingCss2, neutralTheme2, exponentialTheme2, playfulTheme2, orangeTheme2, BUILTIN_THEMES2, BUILTIN_THEME_IDS2, DEFAULT_THEME_ID2, builtinTheme2, themeOrDefault2, builtinThemes2, host_default, HOST_CONTRACT2, HOST_CONTRACT_VERSION2, A2UI_MESSAGE_KINDS2, EXTENSION_MESSAGE_KINDS2, MESSAGE_KINDS2, HOST_ERROR_CODES2, DEFAULT_URL_SCHEMES2, DEFAULT_MEDIA_SCHEMES2, MEDIA_LIMITS2, PAINT_ERROR_HOOK2, RENDER_FAILED2, MCP_MIME_TYPES2, MCP_ACTION_TOOL2, SSE_EVENTS2, SURFACE_SETTING_KEYS2, FORMATTER_METHODS2, SURFACE_COMMANDS2, errorMessage2, actionMessage2 };
|
|
8539
8837
|
|
|
8540
|
-
//# debugId=
|
|
8541
|
-
//# sourceMappingURL=index-
|
|
8838
|
+
//# debugId=312EC12D66E89E0A64756E2164756E21
|
|
8839
|
+
//# sourceMappingURL=index-h3zgfghf.js.map
|