ladle

🥄 Develop, test and document your React story components faster.

MIT License

Downloads
719.3K
Stars
2.6K
Committers
50
ladle - @ladle/[email protected]

Published by tajo over 1 year ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo over 1 year ago

Minor Changes

Patch Changes

ladle - @ladle/[email protected]

Published by tajo over 1 year ago

Patch Changes

  • #340 047dcab Thanks @tajo! - Reset control state when navigating between stories.
ladle - @ladle/[email protected]

Published by tajo over 1 year ago

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 - @ladle/[email protected]

Published by tajo over 1 year ago

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 - @ladle/[email protected]

Published by tajo over 1 year ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo over 1 year ago

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

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

  • #277 6245aa7 Thanks @frehner! - Fix types for CJS projects using TypeScript's "NodeNext" or "Node16" resolution.

  • #275 4ef2e1d Thanks @frehner! - Update package.json's "types" and "exports" so that they point to the type definition file, but only when publishing to NPM.

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

  • #257 7d2af89 Thanks @tajo! - Replace Jest with Vitest

  • #263 7880686 Thanks @tajo! - Use absolute paths for imports to simplify and fix resolver issues in workspaces

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Minor Changes

  • #243 f2d2cd3 Thanks @tajo! - Inject HTML into through .ladle/head.html or appendToHead config option.

Patch Changes

  • #241 946f060 Thanks @tajo! - Use the system settings for default browser if nothing is specified by user.
ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Minor Changes

  • #238 41d6e97 Thanks @tajo! - Add red badges to addon buttons to signify when their state is changed.

  • #240 5ca04b6 Thanks @tajo! - Add the addon Action. Can be used through argTypes or dynamically as a direct import from Ladle.

  • #240 5ca04b6 Thanks @tajo! - Add linkTo as a simpler alternative to the useLink hook. It seems you can't really break the rule of hooks while using it directly.

  • #234 15e179e Thanks @jcleefw! - Fix config file to support entry files of array of strings

    The .ladle/config.mjs files now supports array of strings for stories

    // array of strings
    export default {
      stories: [
        "src/**/control.stories.{js,jsx,ts,tsx}",
        "src/stories.custom.tsx",
      ],
    };
    
ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

  • #235 7aee108 Thanks @tajo! - Fix an edge case where args/decorators could cause a React hook rules error.
ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

  • 8d50c58 Thanks @tajo! - Fix leaking CSS styles for input and textarea
ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Minor Changes

  • #230 2ecf274 Thanks @tajo! - Add Ladle context as the second parameter for decorators. This change also fixes a bug when the usage of arg/argTypes disabled the decorators for the related story. More documentation added. New StoryDecorator type exported.

Patch Changes

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Patch Changes

ladle - @ladle/[email protected]

Published by tajo about 2 years ago

Minor Changes

  • #202 7fcdc97 Thanks @akx! - Add --base and --mode options à la vite build

Patch Changes

  • #214 8ff5d29 Thanks @tajo! - Enforce importsNotUsedAsValues tsc option, fix bad imports.

  • #216 e9c2318 Thanks @tajo! - Error out when story named export has __. We use it to encode sublevels internally and this would break the sidebar navigation.

  • #215 46a6b97 Thanks @tajo! - Fix browser open script when for pnp environments.

  • #217 bc6ad85 Thanks @tajo! - Bump all dependencies to the latest versions.

Package Rankings
Top 1.49% on Npmjs.org
Top 6.72% on Proxy.golang.org
Related Projects