Reusable React environment and components for creating visualization engines.
GPL-3.0 License
Bot releases are hidden (Show)
Published by jhmullen almost 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
This release adds generators, materializers, and selectors to Stories.
It also adds a visible toggle for stories for pre-releases, and doesn't show stories whose date is past the present day. There is also a new image
column for the story header which can point to a static image on disk.
Because of the changes to the database, it requires a migration script, explained in migration section of the README.
A huge number of read/write endpoints were rewired in this release, so please keep an eye on behaviors and keep daily backups as usual.
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by davelandry about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
@datawheel/[email protected]
Published by jhmullen about 3 years ago
This release changes css loading behavior and requires upgrade steps:
Add the following block to style.yml
:
# RGB versions of colors for use with alpha channels
white-RGB: 255, 255, 255
light-1-RGB: 248, 249, 250
light-2-RGB: 236, 239, 241
light-3-RGB: 207, 218, 226
gray-RGB: 174, 189, 204
dark-1-RGB: 138, 151, 174
dark-2-RGB: 42, 47, 59
dark-3-RGB: 32, 36, 46
black-RGB: 24, 26, 33
accent-light-RGB: 255, 214, 91
Convert all instances of color( )
in CSS to use a different method, typically rgba( )
. For example, this:
color: color(var(--black) a(0.5));
Should become this:
color: rgba(var(--black-RGB), 0.5);
If you are using custom colors (none of the YML variables posted above), then you will have to convert the color to RGB (Googling the hex value shows the rgb values) and store it either in style.yml or at the top of the CSS file like this:
:root {
--custom-color: 100, 50, 25;
}
And finally, the following REGEX syntax can work well to capture a large portion of the changes with a find/replace:
Find: color\(var\(--dark-3\) a\(([0-9.]{1,})\)\)
Replace: rgba(var(--dark-3-RGB), $1)
Published by davelandry about 3 years ago
Published by jhmullen about 3 years ago
@datawheel/[email protected]
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago
Published by jhmullen about 3 years ago