Skip to content

Releases: sannajammeh/tw-classed

@tw-classed/react@1.8.0

09 Dec 21:16
ad279d1
Compare
Choose a tag to compare

Minor Changes

@tw-classed/solid@1.7.1

13 Dec 21:34
1f09a10
Compare
Choose a tag to compare

Patch Changes

@tw-classed/solid@1.7.0

13 Dec 21:26
7faa180
Compare
Choose a tag to compare

Patch Changes

@tw-classed/react@1.7.0

13 Dec 21:25
7faa180
Compare
Choose a tag to compare

Minor Changes

  • #132 6fd3d61 Thanks @sannajammeh! - Add getVariantConfig() utility to core & react api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition.

    Usage:

    const Button = classed("button", {
      variants: {
        color: {
          blue: "bg-blue-500",
        },
      },
    });
    
    const { variants } = getVariantConfig(Button);
    variants.color.blue; // "bg-blue-500"

Patch Changes

@tw-classed/core@1.7.0

13 Dec 21:25
7faa180
Compare
Choose a tag to compare

Minor Changes

  • #132 6fd3d61 Thanks @sannajammeh! - Add getVariantConfig() utility to core & react api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition.

    Usage:

    const Button = classed("button", {
      variants: {
        color: {
          blue: "bg-blue-500",
        },
      },
    });
    
    const { variants } = getVariantConfig(Button);
    variants.color.blue; // "bg-blue-500"

Patch Changes

@tw-classed/solid@1.7.0-canary.2

13 Dec 19:04
718fe50
Compare
Choose a tag to compare
Pre-release

Patch Changes

@tw-classed/solid@1.7.0-canary.1

13 Dec 16:16
748c699
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • #135 f04cc69 Thanks @sannajammeh! - Fix solid types - Rename Polymorphic.d.ts to polymorphic.ts to ensure dts plugin emits in bundle

@tw-classed/solid@1.7.0-canary.0

13 Dec 15:50
08de2b0
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Updated dependencies [97130ec, 6fd3d61]:
    • @tw-classed/core@1.7.0-canary.0

@tw-classed/react@1.7.0-canary.0

13 Dec 15:50
08de2b0
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • #132 6fd3d61 Thanks @sannajammeh! - Add getVariantConfig() utility to core & react api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition.

    Usage:

    const Button = classed("button", {
      variants: {
        color: {
          blue: "bg-blue-500",
        },
      },
    });
    
    const { variants } = getVariantConfig(Button);
    variants.color.blue; // "bg-blue-500"

Patch Changes

  • #133 97130ec Thanks @sannajammeh! - Ensure compatibility with exactOptionalPropertyTypes:true in tsconfig.json

  • Updated dependencies [97130ec, 6fd3d61]:

    • @tw-classed/core@1.7.0-canary.0

@tw-classed/core@1.7.0-canary.0

13 Dec 15:50
08de2b0
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • #132 6fd3d61 Thanks @sannajammeh! - Add getVariantConfig() utility to core & react api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition.

    Usage:

    const Button = classed("button", {
      variants: {
        color: {
          blue: "bg-blue-500",
        },
      },
    });
    
    const { variants } = getVariantConfig(Button);
    variants.color.blue; // "bg-blue-500"

Patch Changes