GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - livike/grommet-controls: grommet 2 controls

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

185 Commits
185 Commits

Folders and files

NameName
Last commit message
Last commit date
src/js
src/js
 
 
tools
tools
 
 
.babelrc
.babelrc
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
webpack.config.babel.js
webpack.config.babel.js
 
 

Repository files navigation

Grommet Controls: a pack of extensions for Grommet 2

Visit the Grommet 2 website if you are not familiar with Grommet.

Documentation

Visit the grommet-nextjs website for more information.

Support / Contributing

Before opening an issue or pull request, please read the Contributing guide.

Sample App

The quickest way to get started is to clone the Grommet Controls Sample page.

Install

To install Grommet Controls:

  $ npm install grommet-controls

Configuration

To avoid the entire library being pulled into your bundles when using member imports, you can use babel-plugin-transform-imports and configure your .babelrc file:

  $npm install -save-dev babel-plugin-transform-imports

  edit .babelrc:
    ...
    "plugins": [
      ["styled-components", { "ssr": true, "displayName": true, "preprocess": false }],
      ["transform-imports", {
        "grommet-controls": {
          "transform": "grommet-controls/es6/components/${member}",
          "preventFullImport": true,
          "skipDefaultConversion": true
        },
        "grommet-controls/themes": {
          "transform": "grommet-controls/es6/themes/${member}",
          "preventFullImport": true
        },
        "grommet": {
          "transform": "grommet/es6/components/${member}",
          "preventFullImport": true,
          "skipDefaultConversion": true
        },
        "grommet/contexts": {
          "transform": "grommet/es6/contexts/${member}",
          "preventFullImport": true,
          "skipDefaultConversion": true
        },
        "grommet/themes": {
          "transform": "grommet/es6/themes/${member}",
          "preventFullImport": true,
          "skipDefaultConversion": true
        },
        "grommet/components/hocs": {
          "transform": "grommet/es6/components/hocs",
          "preventFullImport": true,
          "skipDefaultConversion": true
        },
        "grommet-icons/contexts": {
          "transform": "grommet-icons/es6/contexts/${member}",
          "preventFullImport": true,
          "skipDefaultConversion": true
        },
        "grommet-icons": {
           "transform": "grommet-icons/es6/icons/${member}",
           "preventFullImport": false,
           "skipDefaultConversion": true
        }
      }]
    ],
    ...

Components

  • PagingTable A Grommet 2 table component with pagination, filtering, footer, child rows and grouping.
  • Card A Card-type container.
  • Tag A tag control with a label and icon.
  • Tags A list of tags that can be removed.
  • Notification A Box to display notification messages.
  • Colors A color selection element, with custom color palettes.
  • ImageStamp A small image stamp used for avatars or image thumbnails.
  • DropInput An Input control with an optional drop button with the specified 'dropContent' or widgets.
  • MaskedInput A masked Input control with an optional drop button with the specified 'dropContent'.
  • DateInput A masked date entry field with a drop down calendar.
  • NumberInput A masked number input, with widgets to increment/decrement the value. Automatically converts the value to a numeric type, so you dont have to parse strings in your onChange event.
  • PasswordInput A password field with show/hide password toggle.
  • EmailInput A masked input with a default mask for handling email addresses.
  • ColorInput A masked color entry field, with a drop button to select a color.
  • Form A Form with built-in validation.
  • Spinning A spinning process indicator.
  • Value A single value with a label.
  • Sidebar Collapsible side bar component.
  • VerticalMenu Hierarchical collapsible menu.

Charts (chart.js)

    $ npm install chart.js
    $ npm install react-chartjs-2
  • BarChart
  • HorizontalBarChart
  • LineChart
  • DoughnutChart
  • PieChart
  • PolarChart
  • RadarChart
  • ScatterChart

Themes

  • Black
  • Material Light
  • Material Dark
  • Metro
  • Light

About

grommet 2 controls

grommet-nextjs.herokuapp.com/add-ons

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.