zhangyumei.0319 2b2a8fbe42 chore: fix merge conflict 3 éve
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) 3 éve
anchor bd83d1f9cd chore: format code 3 éve
autoComplete 2b2a8fbe42 chore: fix merge conflict 3 éve
avatar bd83d1f9cd chore: format code 3 éve
backtop bd83d1f9cd chore: format code 3 éve
badge 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 éve
banner bd83d1f9cd chore: format code 3 éve
base 2b2a8fbe42 chore: fix merge conflict 3 éve
breadcrumb bd83d1f9cd chore: format code 3 éve
button 70b121b99d chore: change animation scss import order (#1122) 3 éve
calendar bd83d1f9cd chore: format code 3 éve
card dab2c08959 feat: chore backup 3 éve
carousel b82bd23183 fix: [carousel] Fix the problem that the timer is not updated when carousel switches the index through the left and right buttons or methods (#1165) 3 éve
cascader 11902fdde5 fix: Fixed the flickering problem when the pop-up window closes after searching in cascader 3 éve
checkbox 2b2a8fbe42 chore: fix merge conflict 3 éve
collapse d865d8d03a fix: change motion type to boolean 3 éve
collapsible cf091e52d8 fix: fix new collapsible collapseHeight 3 éve
datePicker 30ea4a0362 Merge pull request #1214 from DouyinFE/fix-timpicker-scrollbar 3 éve
descriptions f76bd5879d feat: init 4 éve
divider 24163ca972 chore: main merge release 3 éve
dropdown bd83d1f9cd chore: format code 3 éve
empty f76bd5879d feat: init 4 éve
form 2b2a8fbe42 chore: fix merge conflict 3 éve
grid 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 éve
icons 626c4b9f9e Feat/support next (#245) 3 éve
image 2b2a8fbe42 chore: fix merge conflict 3 éve
input 2b2a8fbe42 chore: fix merge conflict 3 éve
inputNumber 2b2a8fbe42 chore: fix merge conflict 3 éve
keyframes d159394f03 feat: spin js2css 3 éve
layout f76bd5879d feat: init 4 éve
list 2a990d4ecd fix: change list empty padding token position 3 éve
modal d865d8d03a fix: change motion type to boolean 3 éve
navigation 2b2a8fbe42 chore: fix merge conflict 3 éve
notification d865d8d03a fix: change motion type to boolean 3 éve
overflowList bd83d1f9cd chore: format code 3 éve
pagination bd83d1f9cd chore: format code 3 éve
popconfirm bd83d1f9cd chore: format code 3 éve
popover dab2c08959 feat: chore backup 3 éve
progress bd83d1f9cd chore: format code 3 éve
radio bd83d1f9cd chore: format code 3 éve
rating 2b2a8fbe42 chore: fix merge conflict 3 éve
scripts f76bd5879d feat: init 4 éve
scrollList 557fd13490 Merge branch 'release' into js2css 3 éve
select ac9385e4ce Feat: [Select] Added showRestTagsPopover and restTagsPopoverProps to support displaying redundant tags through popover (#1212) 3 éve
sideSheet d865d8d03a fix: change motion type to boolean 3 éve
skeleton 178251c04f feat: skeleton js2css 3 éve
slider 2b2a8fbe42 chore: fix merge conflict 3 éve
space f76bd5879d feat: init 4 éve
spin bd83d1f9cd chore: format code 3 éve
steps 70b121b99d chore: change animation scss import order (#1122) 3 éve
switch bd83d1f9cd chore: format code 3 éve
table 2b2a8fbe42 chore: fix merge conflict 3 éve
tabs bd83d1f9cd chore: format code 3 éve
tag 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 éve
tagInput bd83d1f9cd chore: format code 3 éve
timePicker 30ea4a0362 Merge pull request #1214 from DouyinFE/fix-timpicker-scrollbar 3 éve
timeline 6511ea7423 fix: #865 3 éve
toast bd83d1f9cd chore: format code 3 éve
tooltip 22522d675b Merge pull request #1164 from DouyinFE/fix_popover_mountContent_twice 3 éve
transfer bd83d1f9cd chore: format code 3 éve
tree bd83d1f9cd chore: format code 3 éve
treeSelect eadc7a15f9 Feat: [TreeSelect] adds showRestTagsPopover and restTagsPopoverProps parameters (#1210) 3 éve
typography dcc200e5ef fix: Putting unstable properties on the to-do list 3 éve
upload fdbaf7bf8d Merge branch 'release' into js2css 3 éve
utils 46e2d4027e fix: js2css fix 3 éve
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) 4 éve
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 éve
gulpfile.js 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 éve
package.json c587f9996f v2.21.2 3 éve
tsconfig.json 2f70e0bbc2 fix: ts check error of upload/witFied/fields in strict mode 3 éve

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