Skip to content

Releases: tajo/ladle

@ladle/[email protected]

24 Oct 22:38
4660f28
Compare
Choose a tag to compare

Minor Changes

@ladle/[email protected]

17 Oct 17:38
6ba03fc
Compare
Choose a tag to compare

Patch Changes

@ladle/[email protected]

03 Oct 02:08
bfcc611
Compare
Choose a tag to compare

Patch Changes

@ladle/[email protected]

03 Oct 01:45
1439d09
Compare
Choose a tag to compare

Minor Changes

  • #517 9727dc8 Thanks @tajo! - Make the side navigation resizeable and remember it
ladle-resizable.mov

@ladle/[email protected]

01 Oct 04:29
1c3e1bd
Compare
Choose a tag to compare

Minor Changes

  • #505 740378d Thanks @tajo! - Add out-of-the-box support for msw and API mocking

Patch Changes

@ladle/[email protected]

19 Sep 14:38
f7a5f63
Compare
Choose a tag to compare

Major Changes

  • #481 8050652 Thanks @tajo! - Switch Ladle to SWC compiler by using react-plugin-swc as the default. The babel based one (react-plugin) can still be used by adding setting it up through vite.config.js.

  • #479 657329a Thanks @tajo! - Convert StoryDefault type into interface, add hotkeys into Meta type, relax type of Meta.width

  • #485 fcf448f Thanks @tajo! - Update to Node v20

  • Only React v18+ is supported.

Patch Changes

  • #495 7cc65f8 Thanks @tajo! - Don't use CSS transform for sidebar chevrons so it doesn't create layering (stacking context) issues

  • #442 da95b96 Thanks @hiddenist! - Changes Meta from a type to an interface so it can be extended by declaring a module

  • #441 1b048c4 Thanks @calloc134! - Fixed the type of the "ArgType" object so that options are properly loaded into the type

  • #482 cf1a4a9 Thanks @tajo! - Inline react-frame-component

  • #486 0c3c5ff Thanks @tajo! - Add meta.mockDate feature so stories can mock/fix Date() values, great for testing and snapshots

  • #483 b1983a4 Thanks @tajo! - Add better styling for both markdown and MDX elements everywhere.

  • #478 7650d11 Thanks @tajo! - Preserve number type for controls (includes select, radio...). Previously, we incorrectly turned these values into strings on change.

  • #484 35eaece Thanks @tajo! - Set tab-size to 2 for the source code addon

  • #480 e22508e Thanks @tajo! - Bump vite-react-plugin to v4

@ladle/[email protected]

10 Aug 19:40
0f864e3
Compare
Choose a tag to compare

Patch Changes

  • #472 d51e5f4 Thanks @tajo! - Global hotkeys should work from inside of the iframe as well.

@ladle/[email protected]

07 Aug 09:22
92c7e73
Compare
Choose a tag to compare

Patch Changes

@ladle/[email protected]

07 Aug 08:55
dec5ade
Compare
Choose a tag to compare

Minor Changes

  • #468 92ea9b1 Thanks @tajo! - Ladle is adding a few hotkeys to make your life easier:

    • / or ⌘ cmd + p - Focus search input in the sidebar
    • ⌥ opt + → - Go to the next story
    • ⌥ opt + ← - Go to the previous story
    • ⌥ opt + ↓ - Go to the next component
    • ⌥ opt + ↑ - Go to the previous component
    • c - Toggle controls addon
    • d - Toggle dark mode
    • f - Toggle fullscreen mode
    • w - Toggle width addon
    • r - Toggle right-to-left mode
    • s - Toggle story source addon
    • a - Toggle accessibility addon

    These defaults can be customized through the configuration. Some stories might have utilize their own set of hotkeys. If you want to prevent conflicts with Ladle, you can disable all Ladle shortcuts for a specific story by using the meta parameter:

    export default {
      meta: {
        hotkeys: false,
      },
    };
    Story.meta = {
      hotkeys: false,
    };

@ladle/[email protected]

16 Jul 02:52
f0f2527
Compare
Choose a tag to compare

Patch Changes