Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eea/volto-widgets-view

DEPRECATED: Moved to Volto Core since 16.0.0
https://github.com/eea/volto-widgets-view

plone react volto volto-addon volto-metadata volto-widget volto-widgets widgets

Last synced: about 2 months ago
JSON representation

DEPRECATED: Moved to Volto Core since 16.0.0

Awesome Lists containing this project

README

        

# volto-widgets-view

[![Releases](https://img.shields.io/github/v/release/eea/volto-widgets-view)](https://github.com/eea/volto-widgets-view/releases)

[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-widgets-view%2Fmaster&subject=master)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-widgets-view/job/master/display/redirect)
[![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-master&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-master)
[![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-master&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-master)
[![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-master&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-master)
[![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-master&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-master)

[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-widgets-view%2Fdevelop&subject=develop)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-widgets-view/job/develop/display/redirect)
[![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-develop&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-develop)
[![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-develop&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-develop)
[![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-develop&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-develop)
[![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-widgets-view-develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-widgets-view-develop)

Add View components for [Volto](https://github.com/plone/volto#volto) Widgets

## Widgets

- [ArrayWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/ArrayWidget.jsx)
- [BooleanWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/BooleanWidget.jsx)
- [DatetimeWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/DatetimeWidget.jsx)
- [DateWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/DateWidget.jsx)
- [DescriptionWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/DescriptionWidget.jsx)
- [EmailWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/EmailWidget.jsx)
- [FileWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/FileWidget.jsx)
- [ImageWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/ImageWidget.jsx)
- [PasswordWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/PasswordWidget.jsx)
- [RelationsWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/RelationsWidget.jsx)
- [RelationWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/RelationWidget.jsx)
- [RichTextWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/RichTextWidget.jsx)
- [SelectWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/SelectWidget.jsx)
- [TextWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/TextWidget.jsx)
- [TitleWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/TitleWidget.jsx)
- [TokenWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/TokenWidget.jsx)
- [UrlWidget](https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/UrlWidget.jsx)

## Usage

This package registers the above widgets within global `@plone/volto/registry` at `config.widgets.views`

For usage examples see:

- [volto-metadata-block](https://github.com/eea/volto-metadata-block)
- [volto-slate-metadata-mentions](https://github.com/eea/volto-slate-metadata-mentions)

## Getting started

1. Create new volto project if you don't already have one:

```
$ npm install -g yo @plone/generator-volto
$ yo @plone/volto my-volto-project --addon @eeacms/volto-widgets-view

$ cd my-volto-project
$ yarn add -W @eeacms/volto-widgets-view
```

1. If you already have a volto project, just update `package.json`:

```JSON
"addons": [
"@eeacms/volto-widgets-view"
],

"dependencies": {
"@eeacms/volto-widgets-view": "^1.0.0"
}
```

1. Install new add-ons and restart Volto:

```
$ yarn
$ yarn start
```

1. Go to http://localhost:3000

1. Happy editing!

## Release

See [RELEASE.md](https://github.com/eea/volto-widgets-view/blob/master/RELEASE.md).

## How to contribute

See [DEVELOP.md](https://github.com/eea/volto-widgets-view/blob/master/DEVELOP.md).

## Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA).
All Rights Reserved.

See [LICENSE.md](https://github.com/eea/volto-widgets-view/blob/master/LICENSE.md) for details.

## Funding

[European Environment Agency (EU)](http://eea.europa.eu)