semi-bot 8c62788a94 v2.71.0 11 luni în urmă
..
_base 6a81a795f3 chore: docs & example in story optimize 1 an în urmă
_cssAnimation 73401f34e4 fix: fix tooltip animation in react18 #1225 (#1227) 3 ani în urmă
_portal dc6f3f7fee fix: optimize code 2 ani în urmă
_sortable 1d5f248c93 fix: Fixed the issue in Transfer that quick drag failed due to too long drag sensing delay time 1 an în urmă
_test_ d4c3d4b522 chore: use eslint to format code (#1162) 3 ani în urmă
_utils 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 luni în urmă
anchor 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
autoComplete 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 luni în urmă
avatar 53bb70ba9b chore: fix Avatar/AvatarGroup size type error 1 an în urmă
backtop 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
badge 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
banner 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
breadcrumb 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
button 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
calendar 95dc5a430b Merge branch 'release' 1 an în urmă
card 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
carousel 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
cascader a218ee1f8a feat: [Cascader] support CheckRelation API (#2594) 11 luni în urmă
chat 7259dc8107 fix: [Chat] Fixed the problem that the file attachment URL error in the dialog box (#2589) 11 luni în urmă
checkbox f8004dfb8f style: [Checkbox] Modify unreasonable naming, undisabled -> enable (#2494) 1 an în urmă
codeHighlight a87ee93f0b fix: code highlight add semi-light-scrollbar 1 an în urmă
collapse 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
collapsible 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
colorPicker c5ca0a25c7 fix: optimize colorPicker code 1 an în urmă
configProvider 458a4dcbd2 feat: ConfigConsumer 1 an în urmă
datePicker 8df42ba7d3 fix: Update the display logic of months in different years under type monthRange (#2608) 11 luni în urmă
descriptions 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
divider 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
dragMove 28336e40ec [New component] DragMove (#2595) 11 luni în urmă
dropdown fd051c8198 fix: fix dropdown onVisibleChange not defined some time (#2454) 1 an în urmă
empty 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
form ffe398277c fix: arrayField allowEmpty=false, condiction show arrayField, add need to call twice (#2568) 11 luni în urmă
grid 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
highlight 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 luni în urmă
hotKeys 33d762b11d chore: Hotkeys, move the event DOM operation to the adapter (#2515) 1 an în urmă
iconButton cab27191a0 feat: Button Badge add contentClassName (#2262) 1 an în urmă
icons 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
image 63d0a0b499 chore: Image component props support native img element attributes (#2427) 1 an în urmă
input a4a95a4935 perf: optimize Input, TextArea getValueLength judgment times (#2432) 1 an în urmă
inputNumber 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
jsonViewer dd74228786 chore: fix type export 11 luni în urmă
layout 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
list 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
locale 4f5978740f fix: ja_JP table pageText incorrect (#2573) 11 luni în urmă
lottie 5a83d41be8 chore: doc 1 an în urmă
markdownRender 53995698c3 fix: fix markdownTable error in some case (#2590) 11 luni în urmă
modal 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
navigation a6ff57af63 feat: add dropdownProps to navigation (#2555) 1 an în urmă
notification 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
overflowList cf816b24b4 fix: deepclone items when getOverflowItem to Prevent props.items from being changed internally due to rapid clicks (#2423) 1 an în urmă
pagination 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
pincode 71984f156d test: fix import miss in pincode story 1 an în urmă
popconfirm 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
popover 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
progress 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
radio 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
rating 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
resizable 2ac586be39 Fix:resize group bugs (#2551) 11 luni în urmă
resizeObserver 63efc79d5f fix: fix the error accessing empty element in ReactResizeObserver (#2095) 1 an în urmă
scripts 6ebc1b8a5e chore: remove useless license.txt in the dist dir 1 an în urmă
scrollList 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
select 43fd2bde15 test: fix select unit test spell error of class -> className 11 luni în urmă
sideSheet 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
skeleton 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
slider eeafecf1f9 fix: fix slider handle flash in control mode (#2442) 1 an în urmă
space 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
spin 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
steps 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
switch 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
table 2cec6ef7fb feat: table add shouldCellUpdate API (#2584) 11 luni în urmă
tabs b092971f02 fix: Modify the implementation of slashes & support dropdownProps settings 1 an în urmă
tag 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
tagInput 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
timePicker 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
timeline 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
toast 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 an în urmă
tooltip 505003f324 chore:backup 1 an în urmă
transfer cde4825d2b fix: When all items except the disabled item in the left panel of tra… (#2574) 11 luni în urmă
tree be2aeff01f chore: merge release into main 11 luni în urmă
treeSelect 41b2a3dc1f fix: Fixed the placeHolder of TreeSelect is blocked when the search box is in trigger, single selection 11 luni în urmă
trigger f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 ani în urmă
typography 347887c213 fix: [Typography] fix uncorrectly js truncation problem when width is auto 11 luni în urmă
upload f399585b94 fix: upload addOnPasting can't work in Sidesheet, close #2478 (#2480) 1 an în urmă
README.md 407d3761d9 docs: update homepage translate & update token count 1 an în urmă
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 ani în urmă
gulpfile.js 9c3a607100 chore: auto format code 3 ani în urmă
index.ts 75fa2004e5 feat: add new component Json viewer (#2561) 11 luni în urmă
package.json 8c62788a94 v2.71.0 11 luni în urmă
tsconfig.json ea4a06bb0e fix: change tsconfig libo 1 an în urmă
webpack.config.js bd811b964d chore: lock webpack version 1 an în urmă

README.md

Semi-UI

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

[![LICENSE][license-badge]][license-url] [![NPM][npm-badge]][npm-url] [![CONTRIBUTORS][contributors-badge]][contributors-url] ![Design Token][Design Token] [![FIGMA][figma-badge]][figma-url] [![CODECOV][codecov-badge]][codecov-url] [![Chromatic][chromatic-badge]][chromatic-url] [![Cypress][cypress-badge]][cypress-url] [![Twitter Follow](https://img.shields.io/twitter/follow/SemiDesignUI?style=social)](https://twitter.com/SemiDesignUI)

🎉 Features

  • 💪 Up to 60+ high-quality Components.
  • 💅 Code2Design, automatically generate Figma UI Kit according to different themes, keep same between design and code
  • 🚀 Powerful Design2Code support, convert figma draft to code in a few seconds
  • 💕 Complete A11y support, follows W3C standards to provide keyboard interaction, focus management and ARIA for all components
  • 💅 Up to 3000+ Design Tokens can be easily modify by Semi Design system management, make Semi Design to Any Design quickly.
  • 🌍 Internationalization Support for Dozens of Languages, timezone, RTL support
  • ⚙️ Strict quality assurance, covering unit testing, E2E testing, visual testing
  • 👏 Written in Typescript, friendly Static Type Support. Based on Foundation/Adapter architecture, easy to read and contribute
  • 🥳 SSR (Server Side Rendering) Compatible.

🔥 Install

# with npm
npm install @douyinfe/semi-ui

# with yarn
yarn add @douyinfe/semi-ui

👍 Usage

Here is a quick example to get you started, it's all you need:

import React from 'react';
import ReactDOM from 'react-dom';
import { Button, Switch } from '@douyinfe/semi-ui';

const App = () => (
    <>
        <Button type='primary'>primary button</Button>
        <Switch size='large' />
    </>
);

ReactDOM.render(<App />, document.querySelector('#app'));

And Semi UI Doc Site has hundreds of editable examples and live preview, welcome to play with those examples.

📰 News about Semi UI

📌 Documentation

👌 Platform Support

Semi UI supports all major modern browsers.

|chrome
chrome|firefox
firefox|safari
safari|IE/Edge
IE/Edge|electron
Electron| |--|--|--|--|--| | latest 2 versions | latest 2 versions | latest 2 versions | Edge | latest 2 versions |

👨‍👨‍👧‍👦 User Group

Join User Group on Feishu / Lark

💖 Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Cypress

Thanks to Cypress for providing E2E testing.

👐 Contributing

Thanks to all the people who already contributed!

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Semi UI.

See CONTRIBUTING documentation.

🎈 License

Semi UI is MIT Licensed