semi-bot fe089777be v2.63.1 1 yıl önce
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) 3 yıl önce
anchor b7287fd6c2 feat: anchor add token (#1843) 2 yıl önce
autoComplete 7837643d6c fix: autoComplete throw error when clear, #2013 (#2016) 2 yıl önce
avatar cab27191a0 feat: Button Badge add contentClassName (#2262) 1 yıl önce
backtop bd83d1f9cd chore: format code 3 yıl önce
badge abe83dc9dd fix: Badge proptypes define (#2091) 1 yıl önce
banner 13a4bde145 fix: update banner.scss, remove uselsss scss rules of align-items (#2204) 1 yıl önce
base f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 yıl önce
breadcrumb 75e708ee65 style: Fixed incorrect font-weight of the active item in breadcrumb due to changes in typography style 2 yıl önce
button bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
calendar f62c575cd2 fix: fixed rendering of monthly calendar events (#1826) 2 yıl önce
card dab2c08959 feat: chore backup 3 yıl önce
carousel e6c5c03bb2 chore: update judge in autoPlay 1 yıl önce
cascader 4b6f675ea4 style: Fixed the problem that when Cascader has no options and the emptyContent is hovering, the background color will exceed the popup layer area (#2377) 1 yıl önce
chat 68160ef36c feat: add new plus components - Chat (#2248) 1 yıl önce
checkbox bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
codeHighlight 0119fc7070 chore: change code highlight default theme 1 yıl önce
collapse 14bacab9c7 feat: collapse clickHeaderToExpand api 2 yıl önce
collapsible 75a6baf18a fix: replace animation token with none token (#1259) 3 yıl önce
datePicker bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
descriptions e5d53e0280 fix: [Descriptions] Children are not read directly in foundation, but adapter get is used to adapt to other frameworks. Adjust the calculation of horizontal colspan value to automatically complete the remaining part(#2121) 1 yıl önce
divider 24163ca972 chore: main merge release 3 yıl önce
dropdown bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
empty f76bd5879d feat: init 4 yıl önce
form bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
grid bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
highlight 868686ed9f style: update highlight, add global token 3 yıl önce
icons 626c4b9f9e Feat/support next (#245) 4 yıl önce
image 2303a57968 feat: ImagePreview add onDownloadError API (#2093) 1 yıl önce
input 8b647c52c5 Merge branch 'release' 1 yıl önce
inputNumber f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 yıl önce
keyframes d159394f03 feat: spin js2css 3 yıl önce
layout f76bd5879d feat: init 4 yıl önce
list 2a990d4ecd fix: change list empty padding token position 3 yıl önce
lottie 5a83d41be8 chore: doc 1 yıl önce
markdownRender b278be9f94 feat: add more token to markdownrender 1 yıl önce
modal 9c0f45c3d5 feat: add modalContentClass property 1 yıl önce
navigation bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
notification 04fe071c39 fix: fix notification type define of id (#1993) 2 yıl önce
overflowList d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 1 yıl önce
pagination e082a7d7c0 perf: improve pagination small size render (#1714) 2 yıl önce
pincode a7dd89e4e1 chore: lint add space-infix-ops 1 yıl önce
popconfirm bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
popover c8e5ca706b fix: popover trigger set (#1820) 2 yıl önce
progress bd83d1f9cd chore: format code 3 yıl önce
radio bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
rating f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 yıl önce
scripts f76bd5879d feat: init 4 yıl önce
scrollList 75a6baf18a fix: replace animation token with none token (#1259) 3 yıl önce
select bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
sideSheet 872a8e8d45 feat: sidesheet support for customized closeIcon (#1965) 2 yıl önce
skeleton 9c8ad48bd0 style: change skeleton radius form 4px to --semi-border-radius-small (#1739) 2 yıl önce
slider 46e633f513 fix: fix slider handleDot types error (#2336) 1 yıl önce
space f76bd5879d feat: init 4 yıl önce
spin 304ccdad70 style: Explicitly set the display of the svg in the spin to inline (#2272) 1 yıl önce
steps bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
switch bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
table bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
tabs bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
tag bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
tagInput a154de7e7d style: fix tagInput insetLabel not align with other component (#2216) 1 yıl önce
timePicker 066e632904 fix: Fixed the issue that when TimePicker selects a later time first, the invalid time value will be caused when onChangeWithDateFirst is false (#2376) 1 yıl önce
timeline 6511ea7423 fix: #865 3 yıl önce
toast 0898c11b47 style: fix toast not center horizontal, close #2256 1 yıl önce
tooltip 7193d2f006 chore: move order 1 yıl önce
transfer ef375fb64e refactor: change react-sortable-hoc to dnd-kit for Transfer/Taginput … (#1738) 2 yıl önce
tree bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 yıl önce
treeSelect 9712e5597b fix: TreeSelect showFilteredOnly, searchPosition in trigger, fix panel's options incorrectly display problem (#2345) 1 yıl önce
typography 31dfdeec20 feat: size of Typography support inherit (#2244) 1 yıl önce
upload 8b647c52c5 Merge branch 'release' 1 yıl önce
utils c473cfc689 fix: tooltip onMouseLeave not trigger sometimes when moving mouse quickly will cause hide not work (#2306) 1 yıl önce
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) 4 yıl önce
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 yıl önce
gulpfile.js 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 yıl önce
package.json fe089777be v2.63.1 1 yıl önce
tsconfig.json 599618a8c7 chore: setValue ts interface support recur path (#2245) 1 yıl önce

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