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

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