Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
ceca1611: Enable optimisation from #1276 for complex expressions such as styled(Component as unknow)
or styled(connect(Component))
.
13258306: Variables in props-based interpolation functions are no longer required for the evaluation stage.
Here's an example:
import { getColor } from "very-big-library";
export const Box = styled.div\`
color: ${props => getColor(props.kind)};
\`;
In versions prior to and including 4.5.0, the evaluator would attempt to import getColor
from very-big-library
, despite it having no relevance to style generation. However, in versions greater than 4.5.0, very-big-library
will be ignored.
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
ceca1611: Enable optimisation from #1276 for complex expressions such as styled(Component as unknow)
or styled(connect(Component))
.
13258306: Variables in props-based interpolation functions are no longer required for the evaluation stage.
Here's an example:
import { getColor } from "very-big-library";
export const Box = styled.div\`
color: ${props => getColor(props.kind)};
\`;
In versions prior to and including 4.5.0, the evaluator would attempt to import getColor
from very-big-library
, despite it having no relevance to style generation. However, in versions greater than 4.5.0, very-big-library
will be ignored.
Updated dependencies [ceca1611]
Updated dependencies [13258306]
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
ceca1611: Enable optimisation from #1276 for complex expressions such as styled(Component as unknow)
or styled(connect(Component))
.
13258306: Variables in props-based interpolation functions are no longer required for the evaluation stage.
Here's an example:
import { getColor } from "very-big-library";
export const Box = styled.div\`
color: ${props => getColor(props.kind)};
\`;
In versions prior to and including 4.5.0, the evaluator would attempt to import getColor
from very-big-library
, despite it having no relevance to style generation. However, in versions greater than 4.5.0, very-big-library
will be ignored.
Updated dependencies [ceca1611]
Updated dependencies [13258306]
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
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": "**/*"
}
Published by github-actions[bot] over 1 year ago
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": "**/*"
}
Published by github-actions[bot] over 1 year ago
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": "**/*"
}
Published by github-actions[bot] over 1 year ago
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": "**/*"
}
url()
resolve errorPublished by github-actions[bot] over 1 year ago
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": "**/*"
}
Published by github-actions[bot] over 1 year ago
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": "**/*"
}
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago