Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
optimizely-oui
Advanced tools
npm install optimizely-oui
yarn add optimizely-oui
Typescript types are generated for src/components
from their JS files to aid consumption of this repo in Typescript.
The optimizely-oui
declaration file (types/templates/module-declaration.d.ts
) exports all named component exports.
To build the exported declaration file (types/index.d.ts
), the autogenerated individual component module declarations
are merged with the main declaration file (see yarn generate-types
).
PropTypes
can still be used for non-Typescript (.js
) components as well as when more complex validation is needed.
The (babel-plugin-typescript-to-proptypes
)[https://www.npmjs.com/package/babel-plugin-typescript-to-proptypes] plugin is used to ensure that all components (typed or not) are exported with PropTypes
.
Read how to contribute to Axiom for instructions on making pull requests.
Check out the Release a New Version section for instructions on releasing a new version of Axiom.
To use an Axiom component inside your React app:
import React from 'react';
import { Button } from 'optimizely-oui';
...
return ( <Button size="tiny">Click Me</Button> );
Thanks to Chromatic, Axiom runs visual regression tests on every pull request and merge. These tests are snapshots of each Storybook story within the repository. For implementation details, see the Chromatic section of the contributing guidelines.
To use Axiom Sass variables and mixins in your project read how to use Axiom sass.
FAQs
Optimizely's Component Library.
The npm package optimizely-oui receives a total of 29 weekly downloads. As such, optimizely-oui popularity was classified as not popular.
We found that optimizely-oui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.ย It has 6 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.