jaml-ui 8.1.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/index.js +5634 -5587
- package/dist/index.js.map +1 -1
- 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/package.json +3 -3
- package/dist/chunks/JimboSwipeDeck-BYXDxmy7.js.map +0 -1
- package/dist/ui/JimboSwipeDeck.d.ts +0 -17
|
@@ -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;
|