走鹃 1a6f3789a8 fix(button): button type definition 3 ani în urmă
..
_portal f76bd5879d feat: init 4 ani în urmă
anchor 626c4b9f9e Feat/support next (#245) 4 ani în urmă
autoComplete 626c4b9f9e Feat/support next (#245) 4 ani în urmă
avatar f76bd5879d feat: init 4 ani în urmă
backtop f76bd5879d feat: init 4 ani în urmă
badge f76bd5879d feat: init 4 ani în urmă
banner f76bd5879d feat: init 4 ani în urmă
base 626c4b9f9e Feat/support next (#245) 4 ani în urmă
breadcrumb ef7f7b5608 feat: [Breadcrumb] add a11y aria-* (#489) 4 ani în urmă
button 1a6f3789a8 fix(button): button type definition 3 ani în urmă
calendar ef2531c8be Fix strict ts (#314) 4 ani în urmă
card f76bd5879d feat: init 4 ani în urmă
cascader e03e896beb style(cascader): tag alignment in multi-select mode (#643) 3 ani în urmă
checkbox cd95ebb1b3 chore: feat/a11y-aira rebase master v2.2 4 ani în urmă
collapse ef2531c8be Fix strict ts (#314) 4 ani în urmă
collapsible f76bd5879d feat: init 4 ani în urmă
datePicker 08b797befb fix(datepicker): clear input focus when type is dateTimeRange and and open is controlled #528 (#528) 3 ani în urmă
descriptions f76bd5879d feat: init 4 ani în urmă
dropdown f76bd5879d feat: init 4 ani în urmă
empty f76bd5879d feat: init 4 ani în urmă
form f3ce1202a4 style: adjust Form.RadioGroup padding when type=button, close #677 (#682) 3 ani în urmă
grid f76bd5879d feat: init 4 ani în urmă
icons 1a6f3789a8 fix(button): button type definition 3 ani în urmă
input 8997a8aee4 fix: disabled input text invisible when setting some special color in safari, close #670 (#671) 3 ani în urmă
inputNumber f426adce1f fix(inputnumber): button right click bug (#540) 4 ani în urmă
keyframes f76bd5879d feat: init 4 ani în urmă
layout f76bd5879d feat: init 4 ani în urmă
list f76bd5879d feat: init 4 ani în urmă
modal c33c463ed9 style: add some Sass variables to Button, Input, Modal, Select, ScrollList and TreeSelect components(#570) 4 ani în urmă
navigation cd95ebb1b3 chore: feat/a11y-aira rebase master v2.2 4 ani în urmă
notification 5452012214 fix: fix notification show and hide order (#531) 4 ani în urmă
overflowList 626c4b9f9e Feat/support next (#245) 4 ani în urmă
pagination ef2531c8be Fix strict ts (#314) 4 ani în urmă
popconfirm b6ce00f945 Feat click out side (#273) 4 ani în urmă
popover f76bd5879d feat: init 4 ani în urmă
progress f76bd5879d feat: init 4 ani în urmă
radio cd95ebb1b3 chore: feat/a11y-aira rebase master v2.2 4 ani în urmă
rating 1301e6199f fix(rating): half star ui error when set parant element line-height (#355) 4 ani în urmă
scripts f76bd5879d feat: init 4 ani în urmă
scrollList c33c463ed9 style: add some Sass variables to Button, Input, Modal, Select, ScrollList and TreeSelect components(#570) 4 ani în urmă
select e85e471f2e feat(select): update scrollTop after key down/up (#607) 3 ani în urmă
sideSheet cd95ebb1b3 chore: feat/a11y-aira rebase master v2.2 4 ani în urmă
skeleton f76bd5879d feat: init 4 ani în urmă
slider d88385500c fix: fix slider throw error in shadowDOM or other DocumentFragment env 3 ani în urmă
space f76bd5879d feat: init 4 ani în urmă
spin f76bd5879d feat: init 4 ani în urmă
steps f76bd5879d feat: init 4 ani în urmă
switch 81f421ec49 style: [switch] add token $color-switch_disabled-bg-hover/ $color-switch_disabled-bg-active, close #115 (#185) 4 ani în urmă
table 23a2882e32 style(table): support text select in table header (#642) 3 ani în urmă
tabs 626c4b9f9e Feat/support next (#245) 4 ani în urmă
tag f76bd5879d feat: init 4 ani în urmă
tagInput 46b8737b9d fix(taginput): update TagInput Sass variable reference relationship (#615) 4 ani în urmă
timePicker c2745eedfc feat: add support for `onChangeWithDateFirst` API (#571) 4 ani în urmă
timeline 648beea4ff style: fix timeline custom dot props not align (#395) 4 ani în urmă
toast 626c4b9f9e Feat/support next (#245) 4 ani în urmă
tooltip 19d7accbee feat(tooltip): leftTopOver supports autoAdjustOverflow #294 (#551) 4 ani în urmă
transfer 9375fc6d6d feat: a11y transfer (#420) 4 ani în urmă
tree 33646b6114 feat: [Tree] support checkRelation #522 (#609) 3 ani în urmă
treeSelect 58c2f21a4b Merge branch 'main' of https://github.com/DouyinFE/semi-design into release 3 ani în urmă
typography f76bd5879d feat: init 4 ani în urmă
upload 5852628513 feat: upload #556 (#568) 4 ani în urmă
utils 075fce8673 feat(a11y): remove useless aria-label #205 (#536) 4 ani în urmă
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) 4 ani în urmă
getBabelConfig.js 626c4b9f9e Feat/support next (#245) 4 ani în urmă
gulpfile.js 9498eead2b feat: upgrade sass to 1.45.0 and set the option charset to false (#440) 4 ani în urmă
package.json 856255d8b5 v2.5.0 3 ani în urmă
tsconfig.json 2f70e0bbc2 fix: ts check error of upload/witFied/fields in strict mode 4 ani în urmă

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