linaria

Zero-runtime CSS in JS library

MIT License

Downloads
4.5M
Stars
11.2K
Committers
134

Bot releases are visible (Hide)

linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • 05ad266c: Improved compatibility with redux and some other libraries.
  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • Updated dependencies [890b4aca]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • Updated dependencies [890b4aca]
  • Updated dependencies [418e40af]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
  • Updated dependencies [a6a29da7]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • 10859924: Don't add mocked-styled classnames outside test env
  • Updated dependencies [890b4aca]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
linaria - [email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • Updated dependencies [890b4aca]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • 00b43a6b: Cannot find module 'xxx' with esbuild 0.17 and linaria 4.2
  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • Updated dependencies [890b4aca]
  • Updated dependencies [418e40af]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • Updated dependencies [890b4aca]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

  • af5bb92d: The end of support for Node.js 14. Migration to pnpm 8.
  • Updated dependencies [890b4aca]
  • Updated dependencies [418e40af]
  • Updated dependencies [05ad266c]
  • Updated dependencies [16c057df]
  • Updated dependencies [af5bb92d]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • 16c057df: Breaking Change: Performance Optimization for styled

    When a component is wrapped in styled, Linaria needs to determine if that component is already a styled component. To accomplish this, the wrapped component is included in the list of variables for evaluation, along with the interpolated values used in styles. The issue arises when a wrapped component, even if it is not styled, brings along a substantial dependency tree. This situation is particularly evident when using styled to style components from third-party UI libraries.

    To address this problem, Linaria will now examine the import location of the component and check if there is an annotation in the package.json file of the package containing the components. This annotation indicates whether the package includes other Linaria components. If there is no such annotation, Linaria will refrain from evaluating the component.

    Please note that this Breaking Change solely affects developers of component libraries. In order for users to style components from your library, you must include the linaria.components property in the library's package.json file. This property should have a mask that covers all imported files with components. Here's an example of how to specify it:

    "linaria": {
      "components": "**/*"
    }
    

Patch Changes

linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 54ab61b2: Enhance @linaria/shaker strategy: better search in namespace imports, add support for side effect imports, fix file skipping.
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 54ab61b2: Enhance @linaria/shaker strategy: better search in namespace imports, add support for side effect imports, fix file skipping.
  • Updated dependencies [54ab61b2]
linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

linaria - [email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

linaria - @linaria/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

Package Rankings
Top 0.66% on Npmjs.org
Badges
Extracted from project README
Build Status Code Coverage Version MIT License All Contributors PRs Welcome Chat Code of Conduct Greenkeeper Sponsored by Callstack tweet Edit Linaria Demo
Related Projects