semi-bot 21f02cad42 v2.55.0 hace 2 años
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) hace 3 años
anchor b7287fd6c2 feat: anchor add token (#1843) hace 2 años
autoComplete 7837643d6c fix: autoComplete throw error when clear, #2013 (#2016) hace 2 años
avatar 7294eb3ad2 fix: fix avatar ext hace 2 años
backtop bd83d1f9cd chore: format code hace 3 años
badge abe83dc9dd fix: Badge proptypes define (#2091) hace 2 años
banner bd83d1f9cd chore: format code hace 3 años
base f05ed24b0b chore: remove file head lint rule which already set global (#1706) hace 2 años
breadcrumb 75e708ee65 style: Fixed incorrect font-weight of the active item in breadcrumb due to changes in typography style hace 2 años
button 1ff36baa4d feat: add button disable token (#1904) hace 2 años
calendar f62c575cd2 fix: fixed rendering of monthly calendar events (#1826) hace 2 años
card dab2c08959 feat: chore backup hace 3 años
carousel 9b82b7e001 chore: eslint fix hace 2 años
cascader 26457b6e36 feat: cascader ref method add search (#2105) hace 2 años
checkbox f05ed24b0b chore: remove file head lint rule which already set global (#1706) hace 2 años
collapse 14bacab9c7 feat: collapse clickHeaderToExpand api hace 3 años
collapsible 75a6baf18a fix: replace animation token with none token (#1259) hace 3 años
datePicker d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) hace 2 años
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) hace 2 años
divider 24163ca972 chore: main merge release hace 4 años
dropdown a79c0201c5 fix: prevent popover flow out of the radius limit area hace 2 años
empty f76bd5879d feat: init hace 4 años
form d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) hace 2 años
grid 925a0d54fb fix: Grid span = 0 not work when responsive (#1345) hace 3 años
highlight 868686ed9f style: update highlight, add global token hace 3 años
icons 626c4b9f9e Feat/support next (#245) hace 4 años
image 2303a57968 feat: ImagePreview add onDownloadError API (#2093) hace 2 años
input b601db236a Merge branch 'release' into feat_aweme hace 2 años
inputNumber f05ed24b0b chore: remove file head lint rule which already set global (#1706) hace 2 años
keyframes d159394f03 feat: spin js2css hace 3 años
layout f76bd5879d feat: init hace 4 años
list 2a990d4ecd fix: change list empty padding token position hace 3 años
modal 2dfe32b394 fix: add missing semicone hace 2 años
navigation 911c0cb5a8 fix: fix Nav openKeys bug when selectedKeys change #2115 (#2123) hace 2 años
notification 04fe071c39 fix: fix notification type define of id (#1993) hace 2 años
overflowList d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) hace 2 años
pagination e082a7d7c0 perf: improve pagination small size render (#1714) hace 2 años
popconfirm 1394ae47d6 style: popconfirm icon=null, remove marginLeft (#1828) hace 2 años
popover c8e5ca706b fix: popover trigger set (#1820) hace 2 años
progress bd83d1f9cd chore: format code hace 3 años
radio bb3471b68c fix: fix positioning of radio, close #1959 (#1960) hace 2 años
rating f05ed24b0b chore: remove file head lint rule which already set global (#1706) hace 2 años
scripts f76bd5879d feat: init hace 4 años
scrollList 75a6baf18a fix: replace animation token with none token (#1259) hace 3 años
select 23e8755de5 Merge branch 'release' hace 2 años
sideSheet 872a8e8d45 feat: sidesheet support for customized closeIcon (#1965) hace 2 años
skeleton 9c8ad48bd0 style: change skeleton radius form 4px to --semi-border-radius-small (#1739) hace 2 años
slider c44885512a fix: optimize code hace 2 años
space f76bd5879d feat: init hace 4 años
spin 1ed01d9df9 fix: add vertical-align top to fix wrong height (#1508) hace 3 años
steps 8420edae32 fix: fix vertical basic step style error after setting box-sizing to border-box globally (#1984) hace 2 años
switch f05ed24b0b chore: remove file head lint rule which already set global (#1706) hace 2 años
table cb59c0b996 fix: fixed Table header rowSelection is selected when dataSource is Empty #2128 (#2137) hace 2 años
tabs 9b82b7e001 chore: eslint fix hace 2 años
tag 1e4b31f644 feat: tag support suffixIcon、prefixIcon (#1832) hace 2 años
tagInput 375059cd41 fix: [Taginput] Fixed an issue in FireFox where Chinese input could not complete character-to-Chinese conversion (#1811) hace 2 años
timePicker d7a4270593 fix: when using timeZone and disabledHours at the same time in timepicker display value does not meet expectations (#2083) hace 2 años
timeline 6511ea7423 fix: #865 hace 3 años
toast b7830e1580 feat: toast component add theme config hace 2 años
tooltip 13030c8b5f chore: format code hace 2 años
transfer ef375fb64e refactor: change react-sortable-hoc to dnd-kit for Transfer/Taginput … (#1738) hace 2 años
tree d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) hace 2 años
treeSelect d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) hace 2 años
typography 07437bb89e feat: add smallText and paragraph fontWeight token (#1878) hace 2 años
upload bbe58f9a19 feat: upload addOnPsting (#1802) hace 2 años
utils d8f24f2985 perf: remove redundant clones and modify cloneDeep(lodash) call to copy(fast-copy) (#2002) hace 2 años
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) hace 4 años
getBabelConfig.js 496f3db0f7 chore: remove corejs hace 3 años
gulpfile.js 1b9c2f04c2 chore: replace divide operator to math.div (#1130) hace 3 años
package.json 21f02cad42 v2.55.0 hace 2 años
tsconfig.json 2f70e0bbc2 fix: ts check error of upload/witFied/fields in strict mode hace 4 años

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