Giter Club home page Giter Club logo

snake-design's Introduction

Build Status

介绍

基于 React hooks 开发的 PC 端组件库。文档地址

特性

  • 组件均基于 hooks 开发
  • 除了特殊说明都为受控组件
  • 基于 TDD 开发, 90% 以上的测试覆盖率

组件开发进度

开发进度

  • Icon 图标
  • Breadcrumb 面包屑
  • Button 按钮
  • BackTop 回到顶部
  • Affix 固钉
  • Radio 单选框
  • Checkbox 复选框
  • Overlay 弹出层
  • Tabs 标签页
  • Layout(Row, Col) 布局
  • Modal 模态框
  • DropDown 下拉框
  • Popover 气泡卡片
  • Tooltip 文字提示
  • Spin 加载
  • Input
  • Avatar
  • Badge
  • Card
  • Collapse
  • Divide
  • Menu
  • Pagination
  • Progress
  • Slide
  • Step
  • Spin
  • Switch
  • Tag
  • Upload
  • Popup
  • Tooltip
  • DataPicker
  • TimePicker
  • Cascader
  • Select
  • Table
  • AutoComplete

命令说明

  • yarn start: 启动项目
  • yarn test: 运行单元测试
  • yarn test:coverage: 查看代码覆盖率
  • yarn build: 编译打包组件
  • yarn publish: 自动化发布版本

snake-design's People

Contributors

anyexinglu avatar luckyoneday avatar muyunyun avatar rashomon511 avatar snakeuni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

snake-design's Issues

文档的构建

目前文档也有 TypeScript 构建, 目前有个坑点: 在 typescript 中没有办法读取 README 里的数据。

import * as React from 'react'
import ButtonDoc from './README.md' // 在 typescript 中没有办法取得 README 里的数据。

export default function () {
  return <ButtonDoc />
}

至使目前没办法在 markdown 中展现 demo 组件。

npm搜索不到snake-design库

What is the current behavior?
npm搜索不到snake-design库

What is the expected behavior?
希望可以npm i snake-design

markdown存在样式问题

problem: 初次进去的时候markdown样式是ok的,在刷新一次,markdown出现错乱
image
image
expected: 样式不会错乱,和第一张图标一致
image

侧边栏样式

problem:目前侧边栏太靠中间导致内容区太小,对于PC端操作区域太小会导致页面太长。并且会随着右边内容滚动条的滚动而滚动
image
expected: 侧边栏靠左边,不随着右边滚动条的滚动而滚动,如果随着滚动期望是sticky的形式,滚动的固定像素就不滚动了。类似于antd或者Taro都可以。
image

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.