You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see here, we set default values for the legend properties to eliminate the need for setting a default value in the component and define those properties as required without forcing the consumer to always pass those parameters.
In this PR, we introduced a new label option property called widthLimit and we need to make this field required and set a default for it in the themes. Something like:
labelOptions: {
maxLines: 1,
widthLimit: 250
}
Note
If no theme is selected on the consumer side, the LIGHT theme will be used as a fallback.
Users can adjust these properties by passing a different theme or adding customization (that will be merged together with the current base theme)
Summary
As you can see here, we set default values for the legend properties to eliminate the need for setting a default value in the component and define those properties as required without forcing the consumer to always pass those parameters.
In this PR, we introduced a new label option property called widthLimit and we need to make this field required and set a default for it in the themes. Something like:
Note
If no theme is selected on the consumer side, the LIGHT theme will be used as a fallback.
Users can adjust these properties by passing a different theme or adding customization (that will be merged together with the current base theme)
Acceptance criteria
widthLimit: 250to the themes