走鹃 58f801d44b v2.19.0-alpha.0 hace 3 años
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) hace 3 años
anchor 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
autoComplete 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
avatar 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
backtop f76bd5879d feat: init hace 4 años
badge f76bd5879d feat: init hace 4 años
banner f76bd5879d feat: init hace 4 años
base 591051eb86 test: add istanbul ignore to some file and update jest exclude config hace 3 años
breadcrumb 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
button 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
calendar 28bd50e9a6 feat: calendar support weekStartsOn, close #1020 (#1028) hace 3 años
card f76bd5879d feat: init hace 4 años
carousel 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
cascader 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
checkbox 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
collapse c712e7009c feat: add showArrow and disabled API to Collapse (#1000) hace 3 años
collapsible f76bd5879d feat: init hace 4 años
datePicker 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
descriptions f76bd5879d feat: init hace 4 años
divider 24163ca972 chore: main merge release hace 3 años
dropdown 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
empty f76bd5879d feat: init hace 4 años
form cbcc54ad24 [Feat] Support auto append form label optional text (#1049) hace 3 años
grid f76bd5879d feat: init hace 4 años
icons 626c4b9f9e Feat/support next (#245) hace 3 años
input 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
inputNumber 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
keyframes f76bd5879d feat: init hace 4 años
layout f76bd5879d feat: init hace 4 años
list 2a990d4ecd fix: change list empty padding token position hace 3 años
modal ff08f87af2 fix: fix centered modal blur text on some 1080p monitor (#1046) hace 3 años
navigation 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
notification 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
overflowList 5509240454 fix: fix tabs when vertical scroll and collapse shows extra arrow (#927) hace 3 años
pagination 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
popconfirm b6ce00f945 Feat click out side (#273) hace 4 años
popover 1e9d1b5955 fix: scss optimize, add unit in scss (#749) hace 3 años
progress f76bd5879d feat: init hace 4 años
radio 6ec39bb021 feat: add type API for checkbox & radio (#1061) hace 3 años
rating 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
scripts f76bd5879d feat: init hace 4 años
scrollList 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
select 1c5cfcebef fix: 修复 select 勾选 icon 会闪烁的问题 hace 3 años
sideSheet 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
skeleton 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
slider 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
space f76bd5879d feat: init hace 4 años
spin 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
steps 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
switch 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
table 3dd9b8052e style: Add click hotspot for sorting (#1031) hace 3 años
tabs 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
tag b1fb629a38 style: update avatar, button, radio, steps, switch, tag white color t… (#894) hace 3 años
tagInput 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
timePicker 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
timeline 6511ea7423 fix: #865 hace 3 años
toast 626c4b9f9e Feat/support next (#245) hace 3 años
tooltip 358412547f fix: add disableFocusListener to tooltip (#1013) hace 3 años
transfer 7ae6cf6585 feat: 20+ component add animation css token (#924) hace 3 años
tree e04782bb51 refactor: treeSelect checkbox hace 3 años
treeSelect 5b0dfea847 fix: fix multiple selection, TreeSelect arrow width is not uniform (#983) hace 3 años
typography e174b00f16 Revert "fix: [Typography] fix misalignment of the icon and text of the Text c… (#973)" (#1001) hace 3 años
upload f6fcac2a61 Merge branch 'release' into main hace 3 años
utils e9e693bf09 feat: [TagInput] Support drag and drop sorting (#1014) hace 3 años
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) hace 4 años
getBabelConfig.js 626c4b9f9e Feat/support next (#245) hace 3 años
gulpfile.js 8275e0666a fix: add exclude to animation.scss hace 3 años
package.json 58f801d44b v2.19.0-alpha.0 hace 3 años
tsconfig.json 2f70e0bbc2 fix: ts check error of upload/witFied/fields in strict mode hace 3 años

README.md

The infrastructure layer is used to build modern component libraries.

Semi UI adopts a set of cross-front-end framework technical solutions to split the JavaScript of each component into two parts: Foundation and Adapter. This allows us to reuse Foundation code across frameworks by only re-implementing the adapter, e.g, React and Vue. Quickly build common component libraries on different platforms.

  • Foundation

    Foundation contains the business logic that best represents Semi Design without actually referencing any DOM elements. Foundation delegates Adapter methods for any logic that requires DOM manipulation

  • Adapter

    Adapter is an interface that has all the methods needed by Foundation to implement Semi Design business logic. Adapter can have many implementations, allowing interoperability with different frameworks.

Directory Structure

  ├── semi-foundation         // Foundation and Stylesheet of component
  │   ├── utils
  │   └── tooltip
  │       ├── constants.js    // Constant definition, including numbers, strings, cssClass
  │       ├── foundation.js   // Core foundation
  │       ├── tooltip.scss    // Stylesheet
  │       ├── mixin.scss      // Scss mixin
  │       ├── rtl.scss        // Rtl 
  │       ├── variables.scss  // Scss variable

Related documents

Technical solutions

image

License

MIT