Shopify / polaris-viz

A collection of React and React native components that compose Shopify's data visualization system
https://polaris-viz.shopify.dev
Other
335 stars 26 forks source link

Add overflow legend prop and update Donut Chart legend width #1691

Closed michaelnesen closed 4 months ago

michaelnesen commented 4 months ago

What does this implement/fix?

Part of: https://github.com/Shopify/core-issues/issues/73397

Does this close any currently open issues?

What do the changes look like?

Storybook link

https://6062ad4a2d14cd0021539c1b-jnckoierdc.chromatic.com/

Before merging

github-actions[bot] commented 4 months ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
polaris-viz-core-cjs 61.14 KB (0%) 1.3 s (0%) 712 ms (-47.07% 🔽) 2 s
polaris-viz-cjs 215.96 KB (+0.06% 🔺) 4.4 s (+0.06% 🔺) 2.3 s (+18.07% 🔺) 6.6 s
polaris-viz-esm 176.68 KB (+0.04% 🔺) 3.6 s (+0.04% 🔺) 1.2 s (-25% 🔽) 4.7 s
polaris-viz-css 4.79 KB (0%) 96 ms (0%) 413 ms (+90% 🔺) 508 ms
polaris-viz-esnext 182.46 KB (+0.04% 🔺) 3.7 s (+0.04% 🔺) 1.4 s (-0.91% 🔽) 5 s