Skip to content

Releases: tajo/ladle

@ladle/[email protected]

10 Jun 00:01
a2e4ada
Compare
Choose a tag to compare

Patch Changes

  • #154 a53c25a Thanks @tajo! - Set default cacheDir to process.cwd() + node_modules/.vite

@ladle/[email protected]

09 Jun 23:34
5ec00ba
Compare
Choose a tag to compare

Major Changes

  • #153 05bee5d Thanks @tajo! - - Ladle now loads top-level vite.config.js/ts/mjs and uses all its options.
    • All Vite related options from config.mjs removed and an error will be thrown, use vite.config.js instead.
    • enableFlow option removed, you can create your own plugin (check our e2e/flow test).
    • Programmatic API imports changed to @ladle/react/serve and @ladle/react/build.
    • --out renamed to --outDir to mimic Vite configuration, added -o alias, outDir moved to top-level in config.mjs.
    • --port has alias -p, port moved to top-level in config.mjs.
    • vite.config.js can be customized through viteConfig and --viteConfig.
    • --base-url removed, use base in vite.config.js.
    • --open removed, use server.open in vite.config.js.
    • --sourcemap removed, use build.sourcemap in vite.config.js.

Patch Changes

  • #147 f9a4965 Thanks @tajo! - Add generic Axe check for (mostly) empty Ladle instance to make sure that projects running axe don't have a problem with Ladle.

@ladle/[email protected]

25 May 21:22
52db7ee
Compare
Choose a tag to compare

Minor Changes

  • #146 8568de6 Thanks @tajo! - Reload the page if there was a new story added or removed.

Patch Changes

  • #144 daa717d Thanks @tajo! - Fixing sourcemaps when using ladle build --sourcemap while using virtual module for our story list and metadata.

@ladle/[email protected]

24 May 20:20
2e06dc6
Compare
Choose a tag to compare

Patch Changes

  • #139 421a0c3 Thanks @tajo! - Force page reload for stories that are defined through .bind({}) syntax (controls). It seems that react-refresh can't detect those when creating boundaries.

@ladle/[email protected]

11 May 08:30
2ddb790
Compare
Choose a tag to compare

Patch Changes

  • #134 2351356 Thanks @tajo! - Stories with controls defined through ArgTypes only (and not args at the same time) caused runtime error

  • #133 f0a42ad Thanks @tajo! - Add explicit types for children of GlobalProvider (required for React 18 compatibility)

  • #137 515d069 Thanks @tajo! - Allow typescript typecast default export syntax when parsing stories.

  • #135 c027c8c Thanks @tajo! - Surface all errors that happen during the story discovery (parsing) stage. Show them in the UI (a new landing page) and the CLI. Adds information how to deal with them as well.

  • #136 fa8db60 Thanks @tajo! - Undo some basic CSS resets from normalize/preflight that impact Ladle's UI when used.

  • #138 e2069f4 Thanks @tajo! - Add a section explaining the limitations of story syntax - some parts need to be static so they can be parsed.

  • #126 0a44aa2 Thanks @beckend! - feat: allow configuration of the whole Vite config.resolve object

@ladle/[email protected]

03 May 18:04
Compare
Choose a tag to compare

Minor Changes

  • d40aa73: Changing the tooling to turborepo

Patch Changes

  • 2c7263c: Remove conventional commits

Support tsconfig paths, css.modules and other improvements

29 Mar 21:59
Compare
Choose a tag to compare

Related issues: #78, #76, #70, #66, #59