Releases: tajo/ladle
@ladle/[email protected]
@ladle/[email protected]
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]
@ladle/[email protected]
@ladle/[email protected]
@ladle/[email protected]
@ladle/[email protected]
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. -
#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]
@ladle/[email protected]
@ladle/[email protected]
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