Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ygd

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ygd

An enterprise-class UI design language and React-based implementation

  • 3.15.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
85
decreased by-42.57%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js Version js-standard-style

YG Design

An enterprise-class UI design language and React implementation.

English | 简体中文

✨ Features

  • An enterprise-class UI design system for web applications.
  • A set of high-quality React components out of the box.
  • Written in TypeScript with predictable static types.
  • The whole package of development and design resources and tools.

🖥 Environment Support

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
IE9, IE10, IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

⌨️ ops deploy

cnpm i
npm run site
server {
    listen       80;
    server_name  ygd.f.me;
    location / {
        add_header Access-Control-Allow-Origin *;
        add_header Access-Control-Allow-Headers: content-type;
        try_files $uri /index.html;
        autoindex on;
        root /Users/fugang/workspace/xinao/ygyg-design/_site/;
    }    
}

📦 Install

npm install ygd
yarn add ygd

🔨 Usage

import { DatePicker } from 'ygd';
ReactDOM.render(<DatePicker />, mountNode);

And import style manually:

import 'ygd/dist/ygd.css';  // or 'ygd/dist/ygd.less'

Or import components on demand.

TypeScript

See Use in TypeScript.

🌍 Internationalization

See i18n.

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or clone locally:

$ git clone git@git.ennew.alpha:front-end/ygyg-design.git
$ cd ygyg-design
$ npm install
$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at Development.

🤝 Contributing PRs Welcome

Read our contributing guide and let's build a better ygd together.

We welcome all contributions.

plan

增加reqpath 处理 自动处理接口请求,并返回数据 。

reqpath -> dispatch -> model -> service -> data render view ui

用于 解决 以往 cloneRow 的习惯

对应原有bind事件,如delegate ,事件一直都在。不需要再考虑.

默认resultData为列表数据,可指定列表数据返回值 是否为resultData

border-box

menu/style/index.less 保持右侧导航 select/style/index.less

contentbox

layout layout/style/index.less

date-picker/style/TimePicker.less

pagnation pagination/style/index.less

upload/style/index.less

time-picker/style/index.less

switch/style/index.less

carousel/style/index.less

table/style/index.less

grid/style/mixin.less

grid/style/index.less

form/style/mixin.less

start

$ antd-tools run guard antd-tools run guard

Keywords

FAQs

Package last updated on 22 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc