Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@bumble/styleguide-visual-helpers
Advanced tools
Collection of helper tools, which is ported from Badoo-styleguide. It is used for visual regression tests.
Work in progress: This is a list of visual components, which can help with most regular test-cases.
It is a React UI based list of components with zero dependencies (build based on consumer setup) for visual regression tests.
For easier work with different devices / media-queries we introduced several components:
StyleguidePlaceholder
returns mockup of component with provided parametersStyleguideCell
returns component and its legend
StyleguideDeviceFrame
returns one of predefined frames, based on mobile device aspect-ratioStyleguideDeviceGroup
returns set of predefined frames, based on mobile device aspect-ratiogetImageUrl
returns static image mockup src with provided parameters - as inlined image or as image from placeholder.comimport { getImageUrl } from "@bumble/styleguide-visual-helpers";
Now we can setup consistent font-sizes via config
this is example of how to setup these settings in config:
module.exports = {
// part of config
legendFontSize: 25,
placeholderFontSize: 30,
};
If you would prefer to setup individualy font-sizes - you can do it for each instance of component.
1.0.4
FAQs
Collection of helper tools, which is ported from Badoo-styleguide. It is used for visual regression tests.
The npm package @bumble/styleguide-visual-helpers receives a total of 273 weekly downloads. As such, @bumble/styleguide-visual-helpers popularity was classified as not popular.
We found that @bumble/styleguide-visual-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.