jaml-ui 8.0.0 → 9.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.
- package/dist/chunks/{JimboSwipeDeck-BYXDxmy7.js → JimboPager-BBzrmMrB.js} +833 -812
- package/dist/chunks/JimboPager-BBzrmMrB.js.map +1 -0
- package/dist/components/SeedLab.d.ts +9 -3
- package/dist/components/jamlyzer/JamlyzerItemCard.d.ts +1 -1
- package/dist/engineVocab.d.ts +2 -0
- package/dist/index.js +9324 -9063
- package/dist/index.js.map +1 -1
- package/dist/lib/jaml/engineGrammar.generated.d.ts +256 -0
- package/dist/lib/jaml/engineYamlCodemirror.d.ts +8 -0
- package/dist/ui/JimboDock.d.ts +8 -1
- package/dist/ui/JimboPager.d.ts +25 -0
- package/dist/ui/dockTree.d.ts +6 -0
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +41 -41
- package/dist/vocab.d.ts +1 -6
- package/package.json +5 -6
- package/dist/chunks/JimboSwipeDeck-BYXDxmy7.js.map +0 -1
- package/dist/lib/jaml/jamlLangCodemirror.d.ts +0 -13
- package/dist/ui/JimboSwipeDeck.d.ts +0 -17
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
export type JimboSwipeDirection = "keep" | "pass";
|
|
3
|
-
export interface JimboSwipeDeckProps {
|
|
4
|
-
/**
|
|
5
|
-
* One card per child. Taken as children (not a render prop) so the deck can
|
|
6
|
-
* live in the json-render registry — a spec can only carry data, and a
|
|
7
|
-
* function prop would never survive the trip through JSON.
|
|
8
|
-
*/
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
/** Direct-React callers only; a spec cannot carry this. */
|
|
11
|
-
onDecide?: (index: number, direction: JimboSwipeDirection) => void;
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
/** Horizontal px before a release counts as a decision. */
|
|
15
|
-
threshold?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare function JimboSwipeDeck({ children, onDecide, width, height, threshold, }: JimboSwipeDeckProps): React.JSX.Element;
|