@neos-project/react-ui-components
The UI components which power the Neos backend application.
Last updated a month ago by neos-project .
GNU GPLv3 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @neos-project/react-ui-components 
SYNC missed versions from official npm registry.

@neos-project/react-ui-components

Dependency Status peerDependencies Status devDependency Status Slack Forum Twitter

The UI components which power the Neos backend application.

Dependencies

This package requires some peerDependencies which you need to install after installing this package, see the package.json.

Installation

yarn add @neos-project/react-ui-components

Usage (general)

To reduce the bundled size of applications, we enforce singular import statements of components. You can import components by pointing to the lib/ folder, f.e.

import Button from '@neos-project/react-ui-components/src/Button/';

Usage WITH CSS modules

Within the index.js file of each component, CSS gets imported and injected as a theme prop. Your build-tool (f.e. webpack) may can handle this, but we require some additional PostCSS-plugins to be configured. In case you don't want this, scroll down to the section below, otherwise go on! :-)

An example webpack setup can be found in .storybook/webpack.config.js. You can see that we require at least a CSS modules compliant loader for *.css files, as well as the postcss-css-variables, postcss-nested and postcss-hexrgba PostCSS-plugins to be properly configured.

In case you have problems with your webpack setup, please attach it within the issue you may want to create.

Usage WITHOUT CSS modules

You can also use the components without any styles provided by this package, but bear in mind that each component requires a theme prop with the classNames you need to provide.

In case you want to use the components purely, adjust the import statement to point to the react component only e.g.

import Button from '@neos-project/react-ui-components/src/Button/button.js';

Theming

All components can be themed using the react-css-themr package, visit their docs for more information about how this approach works. Our identifiers can be imported e.g.

import identifiers from '@neos-project/react-ui-components/src/identifiers';

Contributing

Requirements

  • yarn

Setup

Clone this repository, execute yarn in the root directory of the project. After the installation succeeded, execute yarn start to start the development server of the styleguide.

Setup for developing inside the Neos.Neos.Ui Package

Neos.Neos.Ui

Make a symbolic link inside your Neos installation to your cloned sources od this package. The following example assumes that both installations are in the same folder.

cd YourNeosUiInstanz/Packages/Application/Neos.Neos.Ui/node_modules/@neos-project
rm -rf react-ui-components
ln -s ./../../../../../../react-ui-components/ .

run the watcher inside the react-ui-components

yarn watch:build

run the watcher inside the Neos.Neos.Ui Package

cd YourNeosUiInstanz/Packages/Application/Neos.Neos.Ui
yarn watch:build

Commit Guidelines

Please folllow these commit guidlines. commit-analyzer

Building for standalone usage outside of Neos

we build a lib-esm/ folder to be consumed by e.g. webpack.

This is done by yarn run build-standalone-esm.

License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Current Tags

  • 5.3.4                                ...           latest (a month ago)

136 Versions

  • 5.3.4                                ...           a month ago
  • 5.2.7                                ...           a month ago
  • 5.3.3                                ...           a month ago
  • 5.3.2                                ...           a month ago
  • 5.2.6                                ...           a month ago
  • 5.1.11                                ...           a month ago
  • 5.0.11                                ...           a month ago
  • 4.0.12                                ...           a month ago
  • 5.3.1                                ...           3 months ago
  • 5.2.5                                ...           3 months ago
  • 5.1.10                                ...           3 months ago
  • 5.0.10                                ...           3 months ago
  • 4.0.11                                ...           3 months ago
  • 5.2.4                                ...           3 months ago
  • 5.1.9                                ...           3 months ago
  • 5.0.9                                ...           3 months ago
  • 4.0.10                                ...           3 months ago
  • 5.3.0                                ...           3 months ago
  • 4.0.9                                ...           5 months ago
  • 5.2.3                                ...           5 months ago
  • 5.1.8                                ...           5 months ago
  • 5.0.8                                ...           5 months ago
  • 5.2.2                                ...           5 months ago
  • 5.1.7                                ...           5 months ago
  • 5.0.7                                ...           5 months ago
  • 5.2.1                                ...           7 months ago
  • 5.2.0                                ...           7 months ago
  • 5.1.6                                ...           7 months ago
  • 5.1.5                                ...           8 months ago
  • 5.0.6                                ...           8 months ago
  • 5.1.4                                ...           9 months ago
  • 5.0.5                                ...           9 months ago
  • 5.1.3                                ...           9 months ago
  • 5.0.4                                ...           9 months ago
  • 5.1.2                                ...           a year ago
  • 5.0.3                                ...           a year ago
  • 5.1.1                                ...           a year ago
  • 5.1.0                                ...           a year ago
  • 5.0.2                                ...           a year ago
  • 2.9.2                                ...           a year ago
  • 2.9.1                                ...           a year ago
  • 5.0.1                                ...           a year ago
  • 5.0.0                                ...           a year ago
  • 3.9.0                                ...           a year ago
  • 2.9.0                                ...           a year ago
  • 3.8.1                                ...           a year ago
  • 2.8.1                                ...           a year ago
  • 3.8.0                                ...           a year ago
  • 2.8.0                                ...           a year ago
  • 3.7.0                                ...           a year ago
  • 2.7.0                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 3.6.1                                ...           a year ago
  • 3.6.0                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 3.5.0                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 3.4.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 3.3.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 3.2.1                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.3-beta                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.4                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 0.0.9-automaticRelease                                ...           2 years ago
  • 0.0.8-automaticRelease                                ...           2 years ago
  • 0.0.7-automaticRelease                                ...           2 years ago
  • 0.0.6-automaticRelease                                ...           2 years ago
  • 0.0.5-autoRelease                                ...           2 years ago
  • 0.0.2-automaticReleaseTest                                ...           2 years ago
  • 0.0.1-automaticReleaseTest                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.0-beta8                                ...           3 years ago
  • 1.0.0-beta7                                ...           3 years ago
  • 1.0.0-beta6                                ...           3 years ago
  • 1.0.0-beta4                                ...           3 years ago
  • 1.0.0-beta3                                ...           3 years ago
  • 1.0.0-beta2                                ...           3 years ago
  • 4.4.8                                ...           4 years ago
  • 4.4.7                                ...           4 years ago
  • 4.4.6                                ...           4 years ago
  • 4.4.5                                ...           4 years ago
  • 4.4.4                                ...           4 years ago
  • 4.4.3                                ...           4 years ago
  • 4.4.2                                ...           4 years ago
  • 4.4.1                                ...           4 years ago
  • 4.4.0                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.8                                ...           4 years ago
  • 4.0.7                                ...           4 years ago
  • 4.0.6                                ...           4 years ago
  • 4.0.5                                ...           4 years ago
  • 4.0.4                                ...           4 years ago
  • 4.0.3                                ...           4 years ago
  • 4.0.2                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 137
Last Day 0
Last Week 0
Last Month 147
Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |