jaml-ui 4.2.6 → 4.2.8
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/chunks/JimboWordmark-ByO9yaAi.js +284 -0
- package/dist/chunks/JimboWordmark-ByO9yaAi.js.map +1 -0
- package/dist/chunks/motelyItemDecoder-Cb-RjvQ0.js +692 -0
- package/dist/chunks/motelyItemDecoder-Cb-RjvQ0.js.map +1 -0
- package/dist/chunks/{spriteMapper-BiDkbZrD.js → spriteMapper-Dfr2_j0_.js} +55 -34
- package/dist/chunks/{spriteMapper-BiDkbZrD.js.map → spriteMapper-Dfr2_j0_.js.map} +1 -1
- package/dist/components/JamlSeedInput.d.ts +24 -0
- package/dist/components/JamlSeedSpinner.d.ts +10 -0
- package/dist/core.js +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.js +21720 -3300
- package/dist/index.js.map +1 -1
- package/dist/lib/jaml/jamlLangCodemirror.d.ts +13 -0
- package/dist/lib/jaml/jamlSeeds.d.ts +7 -0
- package/dist/lib/motely/runtime.d.ts +1 -0
- package/dist/motely.js +44 -717
- package/dist/motely.js.map +1 -1
- package/dist/ui/JimboApp.d.ts +15 -0
- package/dist/ui/JimboBadge.d.ts +12 -0
- package/dist/ui/JimboInset.d.ts +4 -0
- package/dist/ui/JimboLayout.d.ts +26 -0
- package/dist/ui/JimboPanel.d.ts +10 -3
- package/dist/ui/JimboSectionHeader.d.ts +8 -0
- package/dist/ui/JimboSeedCopyChip.d.ts +16 -0
- package/dist/ui/JimboSpinner.d.ts +19 -0
- package/dist/ui/JimboSwipeDeck.d.ts +17 -0
- package/dist/ui/JimboTextInput.d.ts +5 -3
- package/dist/ui/JimboWordmark.d.ts +7 -0
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui/jimboFlankNav.d.ts +17 -0
- package/dist/ui/tokens.d.ts +21 -8
- package/dist/ui.d.ts +5 -0
- package/dist/ui.js +12 -7
- package/package.json +11 -4
- package/dist/.gitkeep +0 -0
- package/dist/chunks/JimboBackground-CB7u0r54.js +0 -214
- package/dist/chunks/JimboBackground-CB7u0r54.js.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
|
2
|
+
/**
|
|
3
|
+
* CodeMirror completion source backed by jaml-lang's context-aware completions.
|
|
4
|
+
* Tap into `joker: ` and you get the joker list; type `Blue` and it narrows to
|
|
5
|
+
* Blueprint. Keys insert `label: `, values insert the bare value.
|
|
6
|
+
*/
|
|
7
|
+
export declare function jamlCompletionSource(context: CompletionContext): CompletionResult | null;
|
|
8
|
+
/**
|
|
9
|
+
* CodeMirror lint source backed by jaml-lang diagnostics (YAML syntax + Zod
|
|
10
|
+
* structural validation). The Motely WASM engine stays the final authority;
|
|
11
|
+
* this is the fast structural gate.
|
|
12
|
+
*/
|
|
13
|
+
export declare const jamlLinter: import('@codemirror/state').Extension;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Read top-level `seeds:` entries from a JAML document. */
|
|
2
|
+
export declare function parseJamlSeeds(jaml: string): string[];
|
|
3
|
+
/**
|
|
4
|
+
* Write seeds into JAML the same way Motely CLI `--save-seeds` does:
|
|
5
|
+
* replace the top-level `seeds:` block (or append one if missing).
|
|
6
|
+
*/
|
|
7
|
+
export declare function mergeSeedsIntoJaml(jaml: string, seeds: string[], max?: number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ensureMotelyReady(): Promise<void>;
|