Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bumble/styleguide-visual-helpers

Package Overview
Dependencies
Maintainers
10
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bumble/styleguide-visual-helpers - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

2

package.json
{
"name": "@bumble/styleguide-visual-helpers",
"version": "1.0.0",
"version": "1.0.1",
"description": "Collection of helper tools, which is ported from Badoo-styleguide. It is used for visual regression tests. ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,5 +0,3 @@

# Badoo Styleguide
# Bumble Styleguide Visual Helpers
[![npm version](https://badge.fury.io/js/badoo-styleguide.svg)](https://badge.fury.io/js/badoo-styleguide)
## Available tools

@@ -9,13 +7,15 @@

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 parameters
* `StyleguideStatic` returns image src from [placeholder.com](https://placeholder.com) with provided parameters
* `StyleguideCell` returns component and its `legend`
* `StyleguideDeviceFrame` returns one of predefined frames, based on mobile device aspect-ratio
* `StyleguideDeviceGroup` returns set of predefined frames, based on mobile device aspect-ratio
* `getImageUrl` returns static image mockup src with provided parameters - as inlined image or as image from [placeholder.com](https://placeholder.com)
```js
import { getImageUrl } from 'badoo-styleguide';
import { getImageUrl } from '@bumble/styleguide-visual-helpers';

@@ -22,0 +22,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc