Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
evergreen-ui
Advanced tools
React UI Kit by Segment
Evergreen is built on the belief that you can never predict all future requirements, only prepare for it. Instead of creating fixed configurations that work today, Evergreen promotes building systems that anticipate new and changing design requirements.
Evergreen is built on the belief that things should work out of the box with smart defaults, but also offer full control when needed. For example, Evergreen uses CSS-in-JS and builds on top of the Box component in ui-box.
Evergreen is built on the belief that using Evergreen and contributing to Evergreen should be a pleasant experience. We prioritize documentation and all the tools for a solid developer experience. We advocate respect and inclusivity in our writings and interactions.
š² Evergreen is made up of multiple components and tools which you can import one by one. All you need to do is install the evergreen-ui
package:
$ yarn add evergreen-ui
# or
$ npm install --save evergreen-ui
A working version, assuming you are using something like Create React App, might look like this:
import React from 'react'
import ReactDOM from 'react-dom'
import { Button } from 'evergreen-ui'
ReactDOM.render(
<Button>I am using š² Evergreen!</Button>,
document.getElementById('root')
)
If you are using Atom, make sure to install the prettier-atom
, linter
and linter-xo
packages.
All the configuration for prettier and xo is in the package.json
.
You shouldn't have to configure things separately, please file a issue if there's a problem.
To actually start seeing the components you have to run React Storybook:
$ yarn dev
Please take a look at the contributing guide and roadmap to better understand what to work on.
Inside the package.json
there are a bunch of scripts that this repo uses
to run the project in development and to build the project.
Below you can read a description of each script.
yarn dev
Starts the development React Storybook.
yarn test
Lints the JavaScript files using XO and then runs the unit tests using AVA.
yarn build
Builds all of the JavaScript files using Babel.
yarn clean
Removes all untracked files (git clean -Xdf
).
yarn release
Releases new version of Evergreen, using np
to prepare it and CircleCI to publish it.
yarn create-package
This command scaffolds a package with no specific boilerplate. It's useful for creating utilities.
For the following command:
yarn create-package utils
The following file tree will be generated:
/src/utils
āāā /src/
āāā index.js
yarn create-package:components
This command scaffolds a package with React component(s) boilerplate. You can pass one or more components to this command.
For the following command:
yarn create-package:components typography Text Heading
The following file tree will be generated:
/src/typography
āāā /src/
| āāā Text.js
| āāā Heading.js
āāā /stories/
ā āāā index.stories.js
āāā index.js
We will add you to the list if you make any contribution!
This project is maintained by Segment
Please take a look at the contributing guide and roadmap to better understand what to work on.
Please respect our Code of Conduct, in short:
Evergreen is released under the MIT license.
Copyright Ā© 2017 Segment.io, Inc.
FAQs
š² React UI Kit by Segment š²
The npm package evergreen-ui receives a total of 6,754 weekly downloads. As such, evergreen-ui popularity was classified as popular.
We found that evergreen-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Ā It has 282 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.