YyumeiZhang bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) 3 년 전
anchor b7287fd6c2 feat: anchor add token (#1843) 2 년 전
autoComplete 7837643d6c fix: autoComplete throw error when clear, #2013 (#2016) 1 년 전
avatar cab27191a0 feat: Button Badge add contentClassName (#2262) 1 년 전
backtop bd83d1f9cd chore: format code 3 년 전
badge abe83dc9dd fix: Badge proptypes define (#2091) 1 년 전
banner 13a4bde145 fix: update banner.scss, remove uselsss scss rules of align-items (#2204) 1 년 전
base f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 년 전
breadcrumb 75e708ee65 style: Fixed incorrect font-weight of the active item in breadcrumb due to changes in typography style 1 년 전
button bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
calendar f62c575cd2 fix: fixed rendering of monthly calendar events (#1826) 2 년 전
card dab2c08959 feat: chore backup 3 년 전
carousel e6c5c03bb2 chore: update judge in autoPlay 1 년 전
cascader bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
checkbox bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
codeHighlight 0119fc7070 chore: change code highlight default theme 1 년 전
collapse 14bacab9c7 feat: collapse clickHeaderToExpand api 2 년 전
collapsible 75a6baf18a fix: replace animation token with none token (#1259) 3 년 전
datePicker bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
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 년 전
divider 24163ca972 chore: main merge release 3 년 전
dropdown bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
empty f76bd5879d feat: init 4 년 전
form bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
grid bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
highlight 868686ed9f style: update highlight, add global token 2 년 전
icons 626c4b9f9e Feat/support next (#245) 3 년 전
image 2303a57968 feat: ImagePreview add onDownloadError API (#2093) 1 년 전
input bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
inputNumber f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 년 전
keyframes d159394f03 feat: spin js2css 3 년 전
layout f76bd5879d feat: init 4 년 전
list 2a990d4ecd fix: change list empty padding token position 3 년 전
lottie 5a83d41be8 chore: doc 1 년 전
markdownRender b278be9f94 feat: add more token to markdownrender 1 년 전
modal 9c0f45c3d5 feat: add modalContentClass property 1 년 전
navigation bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
notification 04fe071c39 fix: fix notification type define of id (#1993) 1 년 전
overflowList d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 1 년 전
pagination e082a7d7c0 perf: improve pagination small size render (#1714) 2 년 전
pincode a7dd89e4e1 chore: lint add space-infix-ops 1 년 전
popconfirm bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
popover c8e5ca706b fix: popover trigger set (#1820) 2 년 전
progress bd83d1f9cd chore: format code 3 년 전
radio bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
rating f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 년 전
scripts f76bd5879d feat: init 4 년 전
scrollList 75a6baf18a fix: replace animation token with none token (#1259) 3 년 전
select bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
sideSheet 872a8e8d45 feat: sidesheet support for customized closeIcon (#1965) 1 년 전
skeleton 9c8ad48bd0 style: change skeleton radius form 4px to --semi-border-radius-small (#1739) 2 년 전
slider 46e633f513 fix: fix slider handleDot types error (#2336) 1 년 전
space f76bd5879d feat: init 4 년 전
spin 304ccdad70 style: Explicitly set the display of the svg in the spin to inline (#2272) 1 년 전
steps bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
switch bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
table bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
tabs bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
tag bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
tagInput a154de7e7d style: fix tagInput insetLabel not align with other component (#2216) 1 년 전
timePicker d7a4270593 fix: when using timeZone and disabledHours at the same time in timepicker display value does not meet expectations (#2083) 1 년 전
timeline 6511ea7423 fix: #865 3 년 전
toast 0898c11b47 style: fix toast not center horizontal, close #2256 1 년 전
tooltip 7193d2f006 chore: move order 1 년 전
transfer ef375fb64e refactor: change react-sortable-hoc to dnd-kit for Transfer/Taginput … (#1738) 2 년 전
tree bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
treeSelect 9712e5597b fix: TreeSelect showFilteredOnly, searchPosition in trigger, fix panel's options incorrectly display problem (#2345) 1 년 전
typography 31dfdeec20 feat: size of Typography support inherit (#2244) 1 년 전
upload bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 년 전
utils c473cfc689 fix: tooltip onMouseLeave not trigger sometimes when moving mouse quickly will cause hide not work (#2306) 1 년 전
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) 4 년 전
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 년 전
gulpfile.js 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 년 전
package.json 99b473508d v2.62.1 1 년 전
tsconfig.json 599618a8c7 chore: setValue ts interface support recur path (#2245) 1 년 전

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