semi-bot 21f02cad42 v2.55.0 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) 2 лет назад
avatar 7294eb3ad2 fix: fix avatar ext 1 год назад
backtop bd83d1f9cd chore: format code 3 лет назад
badge abe83dc9dd fix: Badge proptypes define (#2091) 1 год назад
banner bd83d1f9cd chore: format code 3 лет назад
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 2 лет назад
button 1ff36baa4d feat: add button disable token (#1904) 2 лет назад
calendar f62c575cd2 fix: fixed rendering of monthly calendar events (#1826) 2 лет назад
card dab2c08959 feat: chore backup 3 лет назад
carousel 9b82b7e001 chore: eslint fix 2 лет назад
cascader 26457b6e36 feat: cascader ref method add search (#2105) 1 год назад
checkbox f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 лет назад
collapse 14bacab9c7 feat: collapse clickHeaderToExpand api 2 лет назад
collapsible 75a6baf18a fix: replace animation token with none token (#1259) 3 лет назад
datePicker d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 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 a79c0201c5 fix: prevent popover flow out of the radius limit area 1 год назад
empty f76bd5879d feat: init 4 лет назад
form d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 1 год назад
grid 925a0d54fb fix: Grid span = 0 not work when responsive (#1345) 3 лет назад
highlight 868686ed9f style: update highlight, add global token 3 лет назад
icons 626c4b9f9e Feat/support next (#245) 4 лет назад
image 2303a57968 feat: ImagePreview add onDownloadError API (#2093) 1 год назад
input b601db236a Merge branch 'release' into feat_aweme 2 лет назад
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 лет назад
modal 2dfe32b394 fix: add missing semicone 2 лет назад
navigation 911c0cb5a8 fix: fix Nav openKeys bug when selectedKeys change #2115 (#2123) 1 год назад
notification 04fe071c39 fix: fix notification type define of id (#1993) 2 лет назад
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 лет назад
popconfirm 1394ae47d6 style: popconfirm icon=null, remove marginLeft (#1828) 2 лет назад
popover c8e5ca706b fix: popover trigger set (#1820) 2 лет назад
progress bd83d1f9cd chore: format code 3 лет назад
radio bb3471b68c fix: fix positioning of radio, close #1959 (#1960) 2 лет назад
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 23e8755de5 Merge branch 'release' 1 год назад
sideSheet 872a8e8d45 feat: sidesheet support for customized closeIcon (#1965) 2 лет назад
skeleton 9c8ad48bd0 style: change skeleton radius form 4px to --semi-border-radius-small (#1739) 2 лет назад
slider c44885512a fix: optimize code 2 лет назад
space f76bd5879d feat: init 4 лет назад
spin 1ed01d9df9 fix: add vertical-align top to fix wrong height (#1508) 2 лет назад
steps 8420edae32 fix: fix vertical basic step style error after setting box-sizing to border-box globally (#1984) 2 лет назад
switch f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 лет назад
table cb59c0b996 fix: fixed Table header rowSelection is selected when dataSource is Empty #2128 (#2137) 1 год назад
tabs 9b82b7e001 chore: eslint fix 2 лет назад
tag 1e4b31f644 feat: tag support suffixIcon、prefixIcon (#1832) 2 лет назад
tagInput 375059cd41 fix: [Taginput] Fixed an issue in FireFox where Chinese input could not complete character-to-Chinese conversion (#1811) 2 лет назад
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 b7830e1580 feat: toast component add theme config 1 год назад
tooltip 13030c8b5f chore: format code 2 лет назад
transfer ef375fb64e refactor: change react-sortable-hoc to dnd-kit for Transfer/Taginput … (#1738) 2 лет назад
tree d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 1 год назад
treeSelect d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 1 год назад
typography 07437bb89e feat: add smallText and paragraph fontWeight token (#1878) 2 лет назад
upload bbe58f9a19 feat: upload addOnPsting (#1802) 2 лет назад
utils d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) 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 21f02cad42 v2.55.0 1 год назад
tsconfig.json 2f70e0bbc2 fix: ts check error of upload/witFied/fields in strict mode 4 лет назад

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