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.
Files changed (37) hide show
  1. package/dist/chunks/JimboWordmark-ByO9yaAi.js +284 -0
  2. package/dist/chunks/JimboWordmark-ByO9yaAi.js.map +1 -0
  3. package/dist/chunks/motelyItemDecoder-Cb-RjvQ0.js +692 -0
  4. package/dist/chunks/motelyItemDecoder-Cb-RjvQ0.js.map +1 -0
  5. package/dist/chunks/{spriteMapper-BiDkbZrD.js → spriteMapper-Dfr2_j0_.js} +55 -34
  6. package/dist/chunks/{spriteMapper-BiDkbZrD.js.map → spriteMapper-Dfr2_j0_.js.map} +1 -1
  7. package/dist/components/JamlSeedInput.d.ts +24 -0
  8. package/dist/components/JamlSeedSpinner.d.ts +10 -0
  9. package/dist/core.js +2 -2
  10. package/dist/index.d.ts +5 -1
  11. package/dist/index.js +21720 -3300
  12. package/dist/index.js.map +1 -1
  13. package/dist/lib/jaml/jamlLangCodemirror.d.ts +13 -0
  14. package/dist/lib/jaml/jamlSeeds.d.ts +7 -0
  15. package/dist/lib/motely/runtime.d.ts +1 -0
  16. package/dist/motely.js +44 -717
  17. package/dist/motely.js.map +1 -1
  18. package/dist/ui/JimboApp.d.ts +15 -0
  19. package/dist/ui/JimboBadge.d.ts +12 -0
  20. package/dist/ui/JimboInset.d.ts +4 -0
  21. package/dist/ui/JimboLayout.d.ts +26 -0
  22. package/dist/ui/JimboPanel.d.ts +10 -3
  23. package/dist/ui/JimboSectionHeader.d.ts +8 -0
  24. package/dist/ui/JimboSeedCopyChip.d.ts +16 -0
  25. package/dist/ui/JimboSpinner.d.ts +19 -0
  26. package/dist/ui/JimboSwipeDeck.d.ts +17 -0
  27. package/dist/ui/JimboTextInput.d.ts +5 -3
  28. package/dist/ui/JimboWordmark.d.ts +7 -0
  29. package/dist/ui/jimbo.css +1 -1
  30. package/dist/ui/jimboFlankNav.d.ts +17 -0
  31. package/dist/ui/tokens.d.ts +21 -8
  32. package/dist/ui.d.ts +5 -0
  33. package/dist/ui.js +12 -7
  34. package/package.json +11 -4
  35. package/dist/.gitkeep +0 -0
  36. package/dist/chunks/JimboBackground-CB7u0r54.js +0 -214
  37. package/dist/chunks/JimboBackground-CB7u0r54.js.map +0 -1
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ export type JamlSeedInputVariant = "normal" | "dark" | "alt";
3
+ export interface JamlSeedInputProps {
4
+ value?: string;
5
+ onChange?: (seed: string) => void;
6
+ placeholder?: string;
7
+ label?: React.ReactNode;
8
+ variant?: JamlSeedInputVariant;
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ autoFocus?: boolean;
12
+ onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
13
+ onBlur?: React.FocusEventHandler<HTMLInputElement>;
14
+ onFocus?: React.FocusEventHandler<HTMLInputElement>;
15
+ disabled?: boolean;
16
+ name?: string;
17
+ id?: string;
18
+ title?: string;
19
+ "aria-label"?: string;
20
+ }
21
+ /**
22
+ * Balatro-style seed input constrained to the real 8-character format.
23
+ */
24
+ export declare const JamlSeedInput: React.ForwardRefExoticComponent<JamlSeedInputProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { JamlSeedInputProps } from './JamlSeedInput.js';
3
+ export interface JamlSeedSpinnerProps extends Omit<JamlSeedInputProps, "onChange"> {
4
+ seeds?: string[];
5
+ onChange?: (seed: string) => void;
6
+ onCopy?: (seed: string) => void;
7
+ /** When true, center field is editable. Default false — browse + copy chip. */
8
+ editable?: boolean;
9
+ }
10
+ export declare function JamlSeedSpinner({ seeds, value, onChange, onCopy, editable, label, placeholder, variant, className, style, ...inputProps }: JamlSeedSpinnerProps): React.JSX.Element;
package/dist/core.js CHANGED
@@ -1,5 +1,5 @@
1
- import { E as r, S as t, a as o, R as E } from "./chunks/spriteMapper-BiDkbZrD.js";
2
- import { B as T, b as f, C as R, c as C, J as O, d as M, e as c, f as u, g as L, T as N, h as m, V as p, i as I, r as g } from "./chunks/spriteMapper-BiDkbZrD.js";
1
+ import { E as r, S as t, a as o, R as E } from "./chunks/spriteMapper-Dfr2_j0_.js";
2
+ import { B as T, b as f, C as R, c as C, J as O, d as M, e as c, f as u, g as L, T as N, h as m, V as p, i as I, r as g } from "./chunks/spriteMapper-Dfr2_j0_.js";
3
3
  import { L as J } from "./chunks/Layer-B5y9UIAt.js";
4
4
  function e(a, s) {
5
5
  return { x: E[a] ?? 0, y: o[s] ?? 0 };
package/dist/index.d.ts CHANGED
@@ -7,6 +7,10 @@ export { parseJamlClauses, type ParsedJamlClause, type JamlClauseKind, type Jaml
7
7
  export { DeckSprite, DECK_SPRITE_POS, STAKE_SPRITE_POS, type DeckSpriteProps, } from './components/DeckSprite.js';
8
8
  export { StandardCard } from './components/StandardCard.js';
9
9
  export { CardSuit, CardRank, CardEnhancement, CardSeal, CardEdition, } from './components/cardEnums.js';
10
+ export { JamlMapEditor, CategoryMenu, MysterySlot, JokerPicker, CategoryPicker, type JamlMapEditorProps, type MysterySlotProps, type SlotSelection, type SlotCategory, type JokerPickerProps, type JokerRarity, type CategoryPickerConfig, type CategoryPickerProps, VOUCHER_PICKER_CONFIG, TAG_PICKER_CONFIG, BOSS_PICKER_CONFIG, TAROT_PICKER_CONFIG, PLANET_PICKER_CONFIG, SPECTRAL_PICKER_CONFIG, PACK_PICKER_CONFIG, } from './components/jamlMap/index.js';
11
+ export { JamlIde, type JamlIdeProps, type JamlIdeSearchResult, type JamlVisualFilter, type JamlVisualClause, type JamlZone, } from './components/JamlIde.js';
12
+ export { JamlIdeVisual, type JamlIdeVisualProps } from './components/JamlIdeVisual.js';
13
+ export { JamlIdeToolbar, type JamlIdeToolbarProps, type JamlIdeMode } from './components/JamlIdeToolbar.js';
14
+ export { JamlMapPreview, type JamlMapPreviewProps } from './components/JamlMapPreview.js';
10
15
  export * from './ui.js';
11
- export * from './motely.js';
12
16
  export * from './json-render/index.js';