Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@vtex/styleguide
Advanced tools
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
VTEX Styleguide React components (Docs)
yarn add @vtex/styleguide --exact
# or
npm install @vtex/styleguide --save-exact
import Button from '@vtex/styleguide/lib/Button'
yarn install
yarn styleguide
To save the components snapshots use:
yarn snap:test
Check the snapshots and to approve the changes use:
yarn snap:approve
You can use the option --filter
to just test or approve a specific component. Example:
yarn snap:approve --filter "Button"
npm link
Run this in this repo:
yarn develop
In your project run:
npm link @vtex/styleguide
Import (case a <Button>
component in lib):
import Button from '@vtex/styleguide/lib/Button'
releasy pre
npm publish
To update the docs:
yarn deploy
[4.0.0] - 2018-05-28
size
prop: small
or regular
(default)BoldCheck
prefix
propButton
deprecated props. To run it:
yarn global add jscodeshift
jscodeshift -t node_modules/@vtex/styleguide/codemod/button-v4.js --ignore-pattern node_modules <path>
primary
and secondary
to variation="primary"
and variation="secondary"
fullWidth
to noPadding
size
prop typesize
prop typevalue
prop typerequired
prop typeFAQs
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
The npm package @vtex/styleguide receives a total of 3,196 weekly downloads. As such, @vtex/styleguide popularity was classified as popular.
We found that @vtex/styleguide demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
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.