lucid-ui

WebJar for lucid-ui

Лицензия

Лицензия

Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

github-com-appnexus-lucid
Последняя версия

Последняя версия

2.3.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

lucid-ui
WebJar for lucid-ui
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/appnexus/lucid

Скачать github-com-appnexus-lucid

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-appnexus-lucid/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-appnexus-lucid</artifactId>
    <version>2.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-appnexus-lucid/
implementation 'org.webjars.npm:github-com-appnexus-lucid:2.3.1'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-appnexus-lucid/
implementation ("org.webjars.npm:github-com-appnexus-lucid:2.3.1")
'org.webjars.npm:github-com-appnexus-lucid:jar:2.3.1'
<dependency org="org.webjars.npm" name="github-com-appnexus-lucid" rev="2.3.1">
  <artifact name="github-com-appnexus-lucid" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-appnexus-lucid', version='2.3.1')
)
libraryDependencies += "org.webjars.npm" % "github-com-appnexus-lucid" % "2.3.1"
[org.webjars.npm/github-com-appnexus-lucid "2.3.1"]

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
org.webjars.npm : reselect jar [2.5.1,3)
org.webjars.npm : d3-format jar [1.0.2,2)
org.webjars.npm : react-motion jar [0.4.3,0.5)
org.webjars.npm : element-resize-detector jar [1.1.6,2)
org.webjars.npm : d3-time jar [1.0.0,2)
org.webjars.npm : d3-time-format jar [2.0.0,3)
org.webjars.npm : d3-scale jar [1.0.0,2)
org.webjars.npm : classnames jar [2.2.3,3)
org.webjars.npm : d3-shape jar [1.0.0,2)
org.webjars.npm : lodash jar [4.11.0,5)

Модули Проекта

Данный проект не имеет модулей.

Lucid codecov

A UI component library from AppNexus.

Install

Lucid can be installed with npm

  npm install --save lucid-ui

or yarn

  yarn add lucid-ui

Usage

  import React from 'react';
  import ReactDOM from 'react-dom';
  import { Button } from 'lucid-ui';

  ReactDOM.render(
    <Button>Hello World</Button>,
    mountNode
  );

Lucid uses less for its stylesheets. If you use less, you can include the styles like so:

@import "node_modules/lucid-ui/src/index.less";

If you don't use less, you can use the precompiled css file node_modules/lucid-ui/dist/lucid.css.

Custom CSS Scope

There are some very rare situations where you might need to customize the prefix for all the css class names emitted by the library and less. If you find yourself in that unenviable position, you can do the following:

In your webpack config use the DefinePlugin to specify LUCID_CSS_NAMESPACE like so:

new webpack.DefinePlugin({
  LUCID_CSS_NAMESPACE: "'something-custom'",
});

When you render the less, make sure to set the prefix variable to the same thing you set in in your webpack config. E.g.

lessc node_modules/lucid-ui/src/index.less --modify-var='prefix=something-custom'

Dependencies

lucid-ui has several React peer dependencies. This means your application is responsible for declaring dependencies on compatible versions. Currently we support React 15 and 16.

Example package.json:

  {
    "dependencies": {
      "lucid-ui": "^5.0.0",
      "react": "^16.0.0",
      "react-dom": "^16.0.0",
    }
  }

To contribute to lucid, please see CONTRIBUTING.md.

Credits

  • BrowserStack for providing cross-browser testing infrastructure.
  • Travis CI for providing continuous integration infrastructure.
  • CodeCov for providing code coverage analysis infrastructure.
org.webjars.npm

AppNexus

Версии библиотеки

Версия
2.3.1