Coder Social home page Coder Social logo

mohouyizme / clay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liferay/clay

1.0 1.0 0.0 137.66 MB

A web implementation of the Lexicon Experience Language

Home Page: http://clayui.com

License: Other

CSS 40.76% JavaScript 5.97% HTML 40.75% TypeScript 12.52%

clay's Introduction

🏺 Clay · Build Status Coverage Status

Clay is Liferay's web implementation of Lexicon Experience Language. Built with Bootstrap as a foundation, it's comprised of HTML, CSS, and JS.

🚨This Branch contains the version of Clay v3, if you are looking for the components in Metal.js visit the 2.x branch

Packages

Clay repository follows the monorepo approach, all the major components that are the pillars of Clay are here in this repository.

The pillar to give colors and structure to Clay, where is the css and examples of HTML markups of the components.

All components that follow clay-css marking and Lexicon use cases, developed on React.js

Contains the source code and documentation powering clayui.com.

Browser support

Internet Explorer 11 Google Chrome Last 2 Microsoft Edge Latest Mozilla Firefox Last 2 and 52 Opera Latest Safari Last 2 Chrome Android Safari iOS Latest

Documentation

You can find the Clay documentation on the site.

You can improve by sending pull requests to this repository.

Installation

Clay is available as the clay package in npm for components and for css like clay-css. It is also available on a CDN for components and for css, check. But if you just want the separate components, it's also available in the npm as clay-.

See the Getting Started guide for more information.

Migration Guides

Do you already have the Clay v2 components implemented in your project? These handy guides will help you perform the migration from Clay v2 to v3.

Contributing

Feel free to open up problems or send pull requests. We will always be looking at these problems and we will be responding whenever possible.

Before opening a issue make sure it exists.

See the contribution guided for more details.

Setup

Packages

  1. Install NodeJS >= v6.11.0, if you don't have it yet.

  2. Install global dependencies:

[sudo] npm install -g yarn
  1. Install project dependencies:
yarn
  1. Install dependencies for each package and link them together:
yarn lerna
  1. Build all packages
yarn build
  1. Start storybook server
yarn workspace @clayui/css run build && yarn storybook
  1. Run tests:
yarn test

clayui.com

To contribute to the documentation and the site in general, you can try to run locally to test your changes:

  1. Move to the site folder
cd clayui.com
  1. Install dependencies:
yarn
  1. Run in development environment
yarn develop

If you want to test in a production environment so that you do not take risks of inconsistencies, in the root folder:

yarn site

License

BSD License © Liferay, Inc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.