Skip to content

Releases: tajo/ladle

@ladle/[email protected]

14 Feb 03:16
78c8e8b
Compare
Choose a tag to compare

Patch Changes

@ladle/[email protected]

13 Feb 06:00
e5c149b
Compare
Choose a tag to compare

Patch Changes

  • #355 3277dce Thanks @tajo! - Change the way how values from config.mjs are passed to the client. We were doing direct import into the app but that breaks cases when config.mjs uses Node APIs. Also, it risks leaking potentially sensitive stuff from the CLI side. And it's cubersome when used through programatic API / wrapper libraries. The new solution picks just a subset of config.mjs values that are really needed in the client, serializes them and embeds them into our virtual module.

@ladle/[email protected]

10 Feb 21:50
5d0d416
Compare
Choose a tag to compare

Patch Changes

  • #352 efb6193 Thanks @tajo! - Use esbuild to compile JSX after MDX. Remove unused babel deps.

@ladle/[email protected]

10 Feb 18:54
0d0d7ad
Compare
Choose a tag to compare

Patch Changes

@ladle/[email protected]

10 Feb 03:04
7276820
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@ladle/[email protected]

07 Feb 18:36
719b911
Compare
Choose a tag to compare

Patch Changes

  • #340 047dcab Thanks @tajo! - Reset control state when navigating between stories.

@ladle/[email protected]

05 Feb 05:08
38dc2fd
Compare
Choose a tag to compare

Patch Changes

  • #330 2f85341 Thanks @tajo! - Fix default files/folders that are allowed to be served by Ladle. It didn't work correctly when the Vite's base setting was used.

  • #331 2ba29c8 Thanks @tajo! - Change internal implementation of controls to keep it simpler. Remove typings from the URL args.

  • 2ea1605 Thanks @tajo! - Greenkeeping

  • #332 b3de582 Thanks @tajo! - Fix RTL in inframed mode. Simplify URL state persistance.

  • #327 fb6634f Thanks @tajo! - Prevent story remounts when Ladle state changes (control changed, action fired...)

  • #333 1cf19bd Thanks @tajo! - Remove types from the virtual-module

@ladle/[email protected]

31 Jan 22:45
4bc1ab1
Compare
Choose a tag to compare

Patch Changes

  • #324 116f219 Thanks @tajo! - Preventing Vite to serve files outside of root workspace. The dev server also doens't autobind to all network interfaces (aligned with the Vite's default).

@ladle/[email protected]

26 Jan 21:34
94c890d
Compare
Choose a tag to compare

Patch Changes

@ladle/[email protected]

26 Jan 08:09
7ce1e2f
Compare
Choose a tag to compare

Minor Changes

  • #317 9339a40 Thanks @tajo! - Add support for file-level args and argTypes

  • #298 2616fa5 Thanks @tajo! - Ugrade to Vite4 and all other deps

  • #316 eb37c47 Thanks @tajo! - Add new control types - check, inline-check, multi-select, inline-radio

  • 91c758c Thanks @tajo! - Provider has access to story.meta values through a new argument storyMeta.

Patch Changes

  • #305 e355c4b Thanks @apttap! - Patched bug relating to console errors and unexpected behavior when using undefined values in controls addon / argTypes

  • #315 ca48380 Thanks @tajo! - Coerce boolean and undefined values into strings when used in radio and select controls. This also makes it easy to pass those values through the URL.

  • #300 bee0789 Thanks @tajo! - publicDir should default to the folder public if there is no vite.config.js