-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(partition): remove config in favor on spec and theme controls (
#1402) BREAKING CHANGES: The `PartitionSpec.config` prop is removed. All properties have been moved/renamed under new `Theme.partition` options or `PartitionSpec` itself with the following exceptions: - `PartitionSpec.config.margin` is removed in favor of `Theme.chartPaddings`. This no longer supports ratios. - `PartitionSpec.config.backgroundColor` is removed in favor of `Theme.background.color`. - `PartitionSpec.config.width` and `PartitionSpec.config.height` both removed as they were never used.
- Loading branch information
1 parent
f29c8dd
commit 6db2677
Showing
179 changed files
with
1,808 additions
and
1,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1.72 KB
(97%)
...tests-for-all-stories-flame-alpha-flame-chart-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+41 Bytes
(100%)
...ests-for-all-stories-flame-alpha-icicle-chart-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+263 Bytes
(100%)
...ll-stories-interactions-sunburst-slice-clicks-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-74 Bytes
(100%)
...r-all-stories-legend-piechart-repeated-labels-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+234 Bytes
(100%)
...-visual-tests-for-all-stories-legend-piechart-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+184 Bytes
(100%)
...ts-for-all-stories-mosaic-alpha-simple-mosaic-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.84 KB
(97%)
...r-all-stories-small-multiples-alpha-sunbursts-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+293 Bytes
(100%)
...for-all-stories-stylings-partition-background-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.46 KB
(100%)
...-tests-for-all-stories-sunburst-custom-stroke-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-119 Bytes
(100%)
...tests-for-all-stories-sunburst-custom-tooltip-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-349 Bytes
(99%)
...stories-sunburst-donut-chart-with-fill-labels-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-54 Bytes
(100%)
...ests-for-all-stories-sunburst-single-sunburst-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-251 Bytes
(99%)
...or-all-stories-sunburst-some-zero-value-slice-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-446 Bytes
(100%)
...l-stories-sunburst-sunburst-with-three-layers-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-119 Bytes
(100%)
...all-stories-sunburst-sunburst-with-two-layers-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...ual-tests-for-all-stories-test-cases-rtl-text-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-399 Bytes
(100%)
...-tests-for-all-stories-treemap-mid-two-layers-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+275 Bytes
(100%)
...ual-tests-for-all-stories-treemap-three-layer-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-435 Bytes
(100%)
...or-all-stories-treemap-two-layers-stress-test-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.92 KB
(78%)
...ual-tests-for-all-stories-waffle-alpha-simple-visually-looks-correct-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.56 KB
(96%)
...s__/dark-mode-test-ts-small-multiples-dark-mode-renders-panel-titles-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+257 Bytes
(100%)
...ctions-test-ts-interactions-tooltips-should-show-tooltip-on-sunburst-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+217 Bytes
(100%)
...ies-extra-values-should-display-flat-legend-extra-values-on-sunburst-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+358 Bytes
(100%)
...ries-extra-values-should-display-flat-legend-extra-values-on-treemap-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10 Bytes
(100%)
...s-extra-values-should-display-nested-legend-extra-values-on-sunburst-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+906 Bytes
(100%)
...es-extra-values-should-display-nested-legend-extra-values-on-treemap-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1.43 KB
(100%)
...egend-stories-should-correctly-render-multiline-nested-legend-labels-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+20 Bytes
(100%)
...ame-order-as-nested-with-no-indent-even-if-there-are-repeated-labels-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1.18 KB
(93%)
...-link-label-textcolor-dark-theme-should-show-custom-black-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1.2 KB
(93%)
...textcolor-dark-theme-should-show-custom-black-translucent-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1.07 KB
(98%)
...es-link-label-textcolor-dark-theme-should-show-custom-red-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-685 Bytes
(99%)
...-link-label-textcolor-dark-theme-should-show-custom-white-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1.38 KB
(97%)
...textcolor-dark-theme-should-show-custom-white-translucent-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+31.4 KB
(280%)
...ories-link-label-textcolor-dark-theme-should-show-default-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-681 Bytes
(98%)
...k-label-textcolor-eui-dark-theme-should-show-custom-black-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-734 Bytes
(98%)
...color-eui-dark-theme-should-show-custom-black-translucent-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-464 Bytes
(99%)
...ink-label-textcolor-eui-dark-theme-should-show-custom-red-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-348 Bytes
(99%)
...k-label-textcolor-eui-dark-theme-should-show-custom-white-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-671 Bytes
(99%)
...color-eui-dark-theme-should-show-custom-white-translucent-text-color-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-348 Bytes
(99%)
...s-link-label-textcolor-eui-dark-theme-should-show-default-text-color-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+73.1 KB
...es-should-render-link-labels-with-fallback-text-color-for-dark-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+74.8 KB
...hould-render-link-labels-with-fallback-text-color-for-eui-dark-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+71.9 KB
...ould-render-link-labels-with-fallback-text-color-for-eui-light-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+71.9 KB
...s-should-render-link-labels-with-fallback-text-color-for-light-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+73.1 KB
...on-should-render-link-labels-with-fallback-text-color-for-dark-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+74.8 KB
...hould-render-link-labels-with-fallback-text-color-for-eui-dark-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+71.9 KB
...ould-render-link-labels-with-fallback-text-color-for-eui-light-theme-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+71.9 KB
...n-should-render-link-labels-with-fallback-text-color-for-light-theme-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+46 Bytes
(100%)
...rst-chart-type-lang-ar-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+108 Bytes
(100%)
...g-ar-ltr-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+195 Bytes
(100%)
...rt-type-lang-ar-mostly-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+238 Bytes
(100%)
...stly-ltr-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-123 Bytes
(100%)
...rt-type-lang-ar-mostly-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-128 Bytes
(100%)
...stly-rtl-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-154 Bytes
(100%)
...rst-chart-type-lang-ar-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-194 Bytes
(100%)
...g-ar-rtl-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+46 Bytes
(100%)
...rst-chart-type-lang-he-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+108 Bytes
(100%)
...g-he-ltr-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+308 Bytes
(100%)
...rt-type-lang-he-mostly-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+421 Bytes
(100%)
...stly-ltr-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+118 Bytes
(100%)
...rt-type-lang-he-mostly-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+167 Bytes
(100%)
...stly-rtl-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+298 Bytes
(100%)
...rst-chart-type-lang-he-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+397 Bytes
(100%)
...g-he-rtl-text-should-render-with-correct-direction-clockwise-sectors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-186 Bytes
(100%)
...map-chart-type-lang-ar-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-452 Bytes
(100%)
...rt-type-lang-ar-mostly-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+290 Bytes
(100%)
...rt-type-lang-ar-mostly-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-349 Bytes
(100%)
...map-chart-type-lang-ar-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-186 Bytes
(100%)
...map-chart-type-lang-he-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-25 Bytes
(100%)
...rt-type-lang-he-mostly-ltr-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-290 Bytes
(100%)
...rt-type-lang-he-mostly-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...map-chart-type-lang-he-rtl-text-should-render-with-correct-direction-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-4.29 KB
(80%)
...waffle-stories-test-ts-waffle-should-render-cells-in-ascending-order-1-snap.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.