DaiQiangReal 15d3752bb3 fix: markdown render types define error 10 месяцев назад
..
_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 лет назад
audioPlayer 9a87b78c67 fix: [AudioPlayer] Compatible with other framework (#2673) 1 год назад
autoComplete f79576d9ce fix: autoComplete can't scroll when keyboard up and down, #1530 (#2501) 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 2 лет назад
button 1f982e89d0 fix: fix iconButton lost keyframe when no spin component exist 1 год назад
calendar 7086deae41 feat: support side-by-side display of overlapping items in calendar components (#2393) 1 год назад
card dab2c08959 feat: chore backup 3 лет назад
carousel 2c43674a31 fix: render state value in children render always get init one (#2634) 1 год назад
cascader e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) 10 месяцев назад
chat a5ff50d5d8 Feat/chat 2735 (#2739) 10 месяцев назад
checkbox f8004dfb8f style: [Checkbox] Modify unreasonable naming, undisabled -> enable (#2494) 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 лет назад
colorPicker 6a5d84d880 chore: optimize code 1 год назад
cropper 7c205edb90 feat: add Cropper componnent (#2642) 1 год назад
datePicker 8df42ba7d3 fix: Update the display logic of months in different years under type monthRange (#2608) 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 лет назад
dragMove d9e931c738 fix: Fixed the issue in DragMove that after setting the handler, DragMove child elements can still be dragged (#2662) 1 год назад
dropdown bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 год назад
empty f76bd5879d feat: init 4 лет назад
form d72b546e6b fix: add warning of field validate race warning, formApi.scrollToError type define, Form.InputGroup miss defaultProps (#2719) 11 месяцев назад
grid bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 год назад
highlight 52b37b12e1 feat: highlight searchWords support object props (#2600) 1 год назад
hotKeys 33d762b11d chore: Hotkeys, move the event DOM operation to the adapter (#2515) 1 год назад
icons 626c4b9f9e Feat/support next (#245) 4 лет назад
image b09e0a1836 fix: Set the max-width of the img node of the image preview to none to avoid the influence of tailwind (#2624) 1 год назад
input e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) 10 месяцев назад
inputNumber 23e87e4dbc feat: inputnumber add currency support (#2742) 10 месяцев назад
jsonViewer 13de2784e9 chore: merge main into release 10 месяцев назад
keyframes d159394f03 feat: spin js2css 3 лет назад
layout f76bd5879d feat: init 4 лет назад
list 2a990d4ecd fix: change list empty padding token position 3 лет назад
lottie ee4349804b Chore: fix type on lottie props (#2593) 1 год назад
markdownRender 15d3752bb3 fix: markdown render types define error 10 месяцев назад
modal 9c0f45c3d5 feat: add modalContentClass property 1 год назад
navigation 674612e3d1 fix: add a new selector type for the hover style fallback in the renderWrapper scenario (#2691) 10 месяцев назад
notification 04fe071c39 fix: fix notification type define of id (#1993) 2 лет назад
overflowList deeaf9c978 fix: an element in collapse Tabs may be a react element, Use shallow copy instead of fast copy (#2464) 1 год назад
pagination e082a7d7c0 perf: improve pagination small size render (#1714) 2 лет назад
pincode d05c08d728 fix: pinCode didn't trigger onChange on uncontrol mode (#2509) 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 лет назад
resizable 3c4e287508 fix: Fix Resizable not working on touch screen 11 месяцев назад
scripts f76bd5879d feat: init 4 лет назад
scrollList 75a6baf18a fix: replace animation token with none token (#1259) 3 лет назад
select e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) 10 месяцев назад
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 eeafecf1f9 fix: fix slider handle flash in control mode (#2442) 1 год назад
space f76bd5879d feat: init 4 лет назад
spin 304ccdad70 style: Explicitly set the display of the svg in the spin to inline (#2272) 1 год назад
steps 115eb5a60a fix: change Steps padding-bottom to margin bottom to make line center (#2689) 11 месяцев назад
switch bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 год назад
table b6216f4a3e feat: Table onChange add extra.changeType API #1238 (#2617) 1 год назад
tabs b092971f02 fix: Modify the implementation of slashes & support dropdownProps settings 1 год назад
tag bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 год назад
tagInput e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) 10 месяцев назад
timePicker c91fd5f47d fix: modify createDateDefault to a time zone-independent function in TimePicker (#2727) 10 месяцев назад
timeline 6511ea7423 fix: #865 3 лет назад
toast 0898c11b47 style: fix toast not center horizontal, close #2256 1 год назад
tooltip cd80ea5060 feat: tooltip use native anchor 10 месяцев назад
transfer cde4825d2b fix: When all items except the disabled item in the left panel of tra… (#2574) 1 год назад
tree 3af433032a fix: [TreeSelect] Fix the typeError when closing the panel when search is enabled and treeData is undefined 11 месяцев назад
treeSelect e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) 10 месяцев назад
typography 31dfdeec20 feat: size of Typography support inherit (#2244) 1 год назад
upload 87e357f6a8 fix: upload will cancel when destory by React.StrictMode, close #2410 1 год назад
userGuide 573124c9e1 feat: support userGuide component (#2733) 10 месяцев назад
utils 52b37b12e1 feat: highlight searchWords support object props (#2600) 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 f492bd51b1 v2.77.0-beta.0 10 месяцев назад
tsconfig.json 75fa2004e5 feat: add new component Json viewer (#2561) 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