jaml-ui 6.0.2 → 8.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.
Files changed (59) hide show
  1. package/dist/chunks/{JimboSwipeDeck-DUwjKBbo.js → JimboSwipeDeck-BYXDxmy7.js} +890 -759
  2. package/dist/chunks/JimboSwipeDeck-BYXDxmy7.js.map +1 -0
  3. package/dist/components/DeckStakePicker.d.ts +1 -1
  4. package/dist/components/JamlCodeEditor.d.ts +1 -1
  5. package/dist/components/JamlIdeVisual.d.ts +0 -2
  6. package/dist/components/JamlyzerBulk.d.ts +2 -2
  7. package/dist/components/JamlyzerView.d.ts +1 -1
  8. package/dist/components/SeedCalculus.d.ts +1 -1
  9. package/dist/components/SeedLab.d.ts +7 -2
  10. package/dist/components/filterStory/FilterStory.d.ts +16 -0
  11. package/dist/components/jamlyzer/JamlyzerAnteDetails.d.ts +3 -3
  12. package/dist/components/jamlyzer/JamlyzerErraticDeck.d.ts +1 -1
  13. package/dist/components/jamlyzer/JamlyzerEvents.d.ts +1 -1
  14. package/dist/components/jamlyzer/JamlyzerItemCard.d.ts +1 -1
  15. package/dist/components/jamlyzer/JamlyzerPackSection.d.ts +1 -1
  16. package/dist/components/jamlyzer/JamlyzerPulls.d.ts +1 -1
  17. package/dist/components/jamlyzer/JamlyzerSeedCard.d.ts +0 -1
  18. package/dist/index.js +6846 -6631
  19. package/dist/index.js.map +1 -1
  20. package/dist/lib/jaml/jaml.d.ts +3 -0
  21. package/dist/motd/motd.d.ts +10 -0
  22. package/dist/motd/motdData.generated.d.ts +1 -0
  23. package/dist/motd.js +164 -0
  24. package/dist/motd.js.map +1 -0
  25. package/dist/motely.js +98 -92
  26. package/dist/motely.js.map +1 -1
  27. package/dist/ui/JimboApp.d.ts +1 -1
  28. package/dist/ui/JimboButton.d.ts +1 -1
  29. package/dist/ui/JimboCodeSurface.d.ts +1 -1
  30. package/dist/ui/JimboDivider.d.ts +1 -1
  31. package/dist/ui/JimboDock.d.ts +1 -2
  32. package/dist/ui/JimboErrorBlock.d.ts +1 -1
  33. package/dist/ui/JimboGrid.d.ts +1 -1
  34. package/dist/ui/JimboInset.d.ts +1 -1
  35. package/dist/ui/JimboLayout.d.ts +2 -2
  36. package/dist/ui/JimboListItem.d.ts +1 -1
  37. package/dist/ui/JimboMascot.d.ts +1 -1
  38. package/dist/ui/JimboOrbitalMenu.d.ts +1 -1
  39. package/dist/ui/JimboOuterTab.d.ts +1 -1
  40. package/dist/ui/JimboPanel.d.ts +1 -1
  41. package/dist/ui/JimboPanelSpinner.d.ts +1 -1
  42. package/dist/ui/JimboPicker.d.ts +8 -8
  43. package/dist/ui/JimboSectionHeader.d.ts +1 -1
  44. package/dist/ui/JimboSeedBatchInput.d.ts +29 -0
  45. package/dist/ui/JimboShopBelt.d.ts +1 -1
  46. package/dist/ui/JimboSpacer.d.ts +1 -1
  47. package/dist/ui/JimboStatusPill.d.ts +1 -1
  48. package/dist/ui/JimboTextArea.d.ts +1 -1
  49. package/dist/ui/JimboTextInput.d.ts +1 -1
  50. package/dist/ui/JimboWordmark.d.ts +1 -1
  51. package/dist/ui/jimbo.css +1 -1
  52. package/dist/ui/jimboTabs.d.ts +1 -1
  53. package/dist/ui/jimboText.d.ts +1 -1
  54. package/dist/ui/panel.d.ts +2 -2
  55. package/dist/ui/sprites.d.ts +1 -1
  56. package/dist/ui.d.ts +3 -1
  57. package/dist/ui.js +47 -46
  58. package/package.json +45 -45
  59. package/dist/chunks/JimboSwipeDeck-DUwjKBbo.js.map +0 -1
@@ -12,7 +12,7 @@ export type JimboLayoutProps = HTMLAttributes<HTMLDivElement> & {
12
12
  justify?: JimboJustify;
13
13
  };
14
14
  /** Vertical stack — the answer for "these go under each other". */
15
- export declare function JimboStack({ gap, align, justify, className, children, ...rest }: JimboLayoutProps): import("react").JSX.Element;
15
+ export declare function JimboStack({ gap, align, justify, className, children, ...rest }: JimboLayoutProps): import('react').JSX.Element;
16
16
  export type JimboRowProps = JimboLayoutProps & {
17
17
  /** Soft-wrap onto more rows when the row runs out of width. */
18
18
  wrap?: boolean;
@@ -23,4 +23,4 @@ export type JimboRowProps = JimboLayoutProps & {
23
23
  * hand-rolled layout div in the consumer screens should collapse into.
24
24
  * Defaults to vertically centred.
25
25
  */
26
- export declare function JimboRow({ gap, align, justify, wrap, className, children, ...rest }: JimboRowProps): import("react").JSX.Element;
26
+ export declare function JimboRow({ gap, align, justify, wrap, className, children, ...rest }: JimboRowProps): import('react').JSX.Element;
@@ -2,4 +2,4 @@ import { ButtonHTMLAttributes } from 'react';
2
2
  export interface JimboListItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
3
  active?: boolean;
4
4
  }
5
- export declare function JimboListItem({ active, className, children, ...rest }: JimboListItemProps): import("react").JSX.Element;
5
+ export declare function JimboListItem({ active, className, children, ...rest }: JimboListItemProps): import('react').JSX.Element;
@@ -55,4 +55,4 @@ export interface JimboMascotProps extends HTMLAttributes<HTMLDivElement> {
55
55
  }) => ReactNode;
56
56
  }
57
57
  /** Jammy, the seed mascot — bounces, shakes, and hosts the orbital menu. */
58
- export declare function JimboMascot({ mood, size, menuItems, getMenuItems, onMenuAction, maxOrbitRadius, orbitBoxHeight, orbitBoxWidth, baseOrbitRadius, menuHidden, closeLabel, orbitalStore, renderImage, className, ...rest }: JimboMascotProps): import("react").JSX.Element;
58
+ export declare function JimboMascot({ mood, size, menuItems, getMenuItems, onMenuAction, maxOrbitRadius, orbitBoxHeight, orbitBoxWidth, baseOrbitRadius, menuHidden, closeLabel, orbitalStore, renderImage, className, ...rest }: JimboMascotProps): import('react').JSX.Element;
@@ -84,4 +84,4 @@ export interface JimboOrbitalMenuProps {
84
84
  * See ./orbitalLayout for why there is no iterative solver — the evenness is
85
85
  * the whole effect.
86
86
  */
87
- export declare function JimboOrbitalMenu({ items, onAction, onNavigate, onBack, currentMenu, closing, mascotSize, radius, radiusY, boxHeight, translateY, breadcrumb, showPageControls, onPagePrev, onPageNext, center, className, "aria-label": ariaLabel, }: JimboOrbitalMenuProps): import("react").JSX.Element | null;
87
+ export declare function JimboOrbitalMenu({ items, onAction, onNavigate, onBack, currentMenu, closing, mascotSize, radius, radiusY, boxHeight, translateY, breadcrumb, showPageControls, onPagePrev, onPageNext, center, className, "aria-label": ariaLabel, }: JimboOrbitalMenuProps): import('react').JSX.Element | null;
@@ -18,4 +18,4 @@ export interface JimboOuterTabProps extends HTMLAttributes<HTMLDivElement> {
18
18
  * the consumer (this primitive just passes `draggable` + `onDrag*` through
19
19
  * `...rest`); fullscreen is a one-prop toggle. Layout is grid per design rule 1.
20
20
  */
21
- export declare function JimboOuterTab({ label, tone, active, fullscreen, onToggleFullscreen, className, children, ...rest }: JimboOuterTabProps): import("react").JSX.Element;
21
+ export declare function JimboOuterTab({ label, tone, active, fullscreen, onToggleFullscreen, className, children, ...rest }: JimboOuterTabProps): import('react').JSX.Element;
@@ -7,4 +7,4 @@ export interface JimboPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "t
7
7
  /** Wrap children in .j-panel__body (default true when title set, else false for flex freestyle) */
8
8
  body?: boolean;
9
9
  }
10
- export declare function JimboPanel({ title, tone, body, className, children, ...rest }: JimboPanelProps): import("react").JSX.Element;
10
+ export declare function JimboPanel({ title, tone, body, className, children, ...rest }: JimboPanelProps): import('react').JSX.Element;
@@ -11,4 +11,4 @@ export interface JimboPanelSpinnerProps {
11
11
  className?: string;
12
12
  }
13
13
  /** Fat Balatro option cycler: 140px arrows flanking a fixed-height face. */
14
- export declare function JimboPanelSpinner({ label, title, description, media, onPrev, onNext, canPrev, canNext, className, }: JimboPanelSpinnerProps): import("react").JSX.Element;
14
+ export declare function JimboPanelSpinner({ label, title, description, media, onPrev, onNext, canPrev, canNext, className, }: JimboPanelSpinnerProps): import('react').JSX.Element;
@@ -1,19 +1,19 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
- export declare function JimboPicker({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
3
- export declare function JimboPickerSection({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
4
- export declare function JimboPickerSearch({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
5
- export declare function JimboPickerHint({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
2
+ export declare function JimboPicker({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import('react').JSX.Element;
3
+ export declare function JimboPickerSection({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import('react').JSX.Element;
4
+ export declare function JimboPickerSearch({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import('react').JSX.Element;
5
+ export declare function JimboPickerHint({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import('react').JSX.Element;
6
6
  export interface JimboPickerGridProps extends HTMLAttributes<HTMLDivElement> {
7
7
  legendary?: boolean;
8
8
  scroll?: boolean;
9
9
  }
10
- export declare function JimboPickerGrid({ legendary, className, children, ...rest }: JimboPickerGridProps): import("react").JSX.Element;
10
+ export declare function JimboPickerGrid({ legendary, className, children, ...rest }: JimboPickerGridProps): import('react').JSX.Element;
11
11
  export interface JimboPickerItemProps extends HTMLAttributes<HTMLButtonElement> {
12
12
  muted?: boolean;
13
13
  title?: string;
14
14
  onClick?: () => void;
15
15
  children?: ReactNode;
16
16
  }
17
- export declare function JimboPickerItem({ muted, className, children, ...rest }: JimboPickerItemProps): import("react").JSX.Element;
18
- export declare function JimboPickerPair({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
19
- export declare function JimboPickerEmpty({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
17
+ export declare function JimboPickerItem({ muted, className, children, ...rest }: JimboPickerItemProps): import('react').JSX.Element;
18
+ export declare function JimboPickerPair({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import('react').JSX.Element;
19
+ export declare function JimboPickerEmpty({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): import('react').JSX.Element;
@@ -5,4 +5,4 @@ export interface JimboSectionHeaderProps extends HTMLAttributes<HTMLDivElement>
5
5
  tone?: JimboSectionTone;
6
6
  }
7
7
  /** Colored tag + rule — section divider inside a panel. */
8
- export declare function JimboSectionHeader({ label, tone, className, ...rest }: JimboSectionHeaderProps): import("react").JSX.Element;
8
+ export declare function JimboSectionHeader({ label, tone, className, ...rest }: JimboSectionHeaderProps): import('react').JSX.Element;
@@ -0,0 +1,29 @@
1
+ import { default as React } from 'react';
2
+ export interface JimboSeedBatchInputProps {
3
+ /** Called with the cleaned seed list when the user hits Analyze. */
4
+ onAnalyze: (seeds: string[]) => void;
5
+ /** Optional: also inject seeds into the JAML document as a `seeds:` block. */
6
+ onInjectIntoJaml?: (seeds: string[]) => void;
7
+ /** Whether the engine is ready to analyze. */
8
+ ready?: boolean;
9
+ /** Whether an analysis is currently running. */
10
+ running?: boolean;
11
+ /** Optional pre-filled text (e.g. from clipboard sniff). */
12
+ defaultText?: string;
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+ }
16
+ /**
17
+ * A concrete surface for batch seed input.
18
+ *
19
+ * Aphantasia UX: every state is described in words, not shown by position or
20
+ * color alone. The user always knows:
21
+ * - how many seeds were found
22
+ * - how many are valid (8 chars)
23
+ * - how many are partial (4-7 chars — maybe typos)
24
+ * - what the next action is called and what it will do
25
+ *
26
+ * The textarea is the only input. Paste anywhere inside it. No hidden
27
+ * shortcuts. The Analyze button is disabled with a sentence explaining why.
28
+ */
29
+ export declare function JimboSeedBatchInput({ onAnalyze, onInjectIntoJaml, ready, running, defaultText, className, style, }: JimboSeedBatchInputProps): React.JSX.Element;
@@ -6,4 +6,4 @@ export interface JimboShopBeltProps {
6
6
  snap?: boolean;
7
7
  }
8
8
  /** Horizontal pixel-card tape. Drag follows the finger; wheel maps to x. */
9
- export declare function JimboShopBelt({ children, className, onNearEnd, snap }: JimboShopBeltProps): import("react").JSX.Element;
9
+ export declare function JimboShopBelt({ children, className, onNearEnd, snap }: JimboShopBeltProps): import('react').JSX.Element;
@@ -4,4 +4,4 @@ export interface JimboSpacerProps extends HTMLAttributes<HTMLDivElement> {
4
4
  size?: number;
5
5
  }
6
6
  /** Empty vertical breathing room between stacks of content. */
7
- export declare function JimboSpacer({ size, style, ...rest }: JimboSpacerProps): import("react").JSX.Element;
7
+ export declare function JimboSpacer({ size, style, ...rest }: JimboSpacerProps): import('react').JSX.Element;
@@ -5,4 +5,4 @@ export interface JimboStatusPillProps extends HTMLAttributes<HTMLSpanElement> {
5
5
  label?: string;
6
6
  }
7
7
  /** Short single-word state indicator — the missing React half of `.j-status-pill`. */
8
- export declare function JimboStatusPill({ status, label, className, children, ...rest }: JimboStatusPillProps): import("react").JSX.Element;
8
+ export declare function JimboStatusPill({ status, label, className, children, ...rest }: JimboStatusPillProps): import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { TextareaHTMLAttributes } from 'react';
2
2
  export type JimboTextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement>;
3
- export declare function JimboTextArea({ className, style, ...rest }: JimboTextAreaProps): import("react").JSX.Element;
3
+ export declare function JimboTextArea({ className, style, ...rest }: JimboTextAreaProps): import('react').JSX.Element;
@@ -2,4 +2,4 @@ import { InputHTMLAttributes, Ref } from 'react';
2
2
  export type JimboTextInputProps = InputHTMLAttributes<HTMLInputElement> & {
3
3
  ref?: Ref<HTMLInputElement>;
4
4
  };
5
- export declare function JimboTextInput({ className, ref, ...rest }: JimboTextInputProps): import("react").JSX.Element;
5
+ export declare function JimboTextInput({ className, ref, ...rest }: JimboTextInputProps): import('react').JSX.Element;
@@ -4,4 +4,4 @@ export interface JimboWordmarkProps extends Omit<HTMLAttributes<HTMLDivElement>,
4
4
  sub?: ReactNode;
5
5
  }
6
6
  /** Hero title + optional subtitle — gold wordmark, grey sub. */
7
- export declare function JimboWordmark({ title, sub, className, ...rest }: JimboWordmarkProps): import("react").JSX.Element;
7
+ export declare function JimboWordmark({ title, sub, className, ...rest }: JimboWordmarkProps): import('react').JSX.Element;