林艳 1795fd3140 feat: add 3 ai components through semi agent il y a 6 mois
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) il y a 3 ans
aiCard 1795fd3140 feat: add 3 ai components through semi agent il y a 6 mois
aiLoading 1795fd3140 feat: add 3 ai components through semi agent il y a 6 mois
anchor b7287fd6c2 feat: anchor add token (#1843) il y a 2 ans
audioPlayer 9a87b78c67 fix: [AudioPlayer] Compatible with other framework (#2673) il y a 1 an
autoComplete f79576d9ce fix: autoComplete can't scroll when keyboard up and down, #1530 (#2501) il y a 1 an
avatar cab27191a0 feat: Button Badge add contentClassName (#2262) il y a 1 an
backtop 4441155288 chore: Fallback operation when targetNode does not exist (#2786) il y a 9 mois
badge abe83dc9dd fix: Badge proptypes define (#2091) il y a 1 an
banner 13a4bde145 fix: update banner.scss, remove uselsss scss rules of align-items (#2204) il y a 1 an
base f05ed24b0b chore: remove file head lint rule which already set global (#1706) il y a 2 ans
breadcrumb 75e708ee65 style: Fixed incorrect font-weight of the active item in breadcrumb due to changes in typography style il y a 2 ans
button 17f54c2b08 style: add $color-button_disabled_outline_text-default for disabled outline button (#2857) il y a 7 mois
calendar 7086deae41 feat: support side-by-side display of overlapping items in calendar components (#2393) il y a 1 an
card dab2c08959 feat: chore backup il y a 3 ans
carousel 2c43674a31 fix: render state value in children render always get init one (#2634) il y a 1 an
cascader dc2803a695 fix: Fixed the display problem of cascader with single selection, controlled value and value undefined, asynchronous loading, and showNext set to hover when loading multiple projects at the same time (#2832) il y a 8 mois
chat f8a673573c style: Fix the problem that the width of the chat content area is stretched by the table (#2775) il y a 9 mois
checkbox 7dfc9369b1 style: [Checkbox] Added disabled and check mark icon color settings in hover state (#2819) il y a 8 mois
codeHighlight 0119fc7070 chore: change code highlight default theme il y a 1 an
collapse 14bacab9c7 feat: collapse clickHeaderToExpand api il y a 2 ans
collapsible 75a6baf18a fix: replace animation token with none token (#1259) il y a 3 ans
colorPicker 6a5d84d880 chore: optimize code il y a 1 an
cropper 16294a73ef feat: [Cropper] add preview API for realtime preivew croppered image (#2782) il y a 10 mois
datePicker 9176c05534 fix: convert item.value to item.month to ensure that the datepicker can compare the correct numbers instead of letters in monthRange (#2871) il y a 7 mois
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) il y a 1 an
divider 24163ca972 chore: main merge release il y a 3 ans
dragMove d9e931c738 fix: Fixed the issue in DragMove that after setting the handler, DragMove child elements can still be dragged (#2662) il y a 1 an
dropdown ee39438657 style: [Dropdown] add $radius-dropdown_item token (#2817) il y a 8 mois
empty f76bd5879d feat: init il y a 4 ans
floatButton 1795fd3140 feat: add 3 ai components through semi agent il y a 6 mois
form d72b546e6b fix: add warning of field validate race warning, formApi.scrollToError type define, Form.InputGroup miss defaultProps (#2719) il y a 11 mois
grid bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) il y a 1 an
highlight 52b37b12e1 feat: highlight searchWords support object props (#2600) il y a 1 an
hotKeys 33d762b11d chore: Hotkeys, move the event DOM operation to the adapter (#2515) il y a 1 an
icons 626c4b9f9e Feat/support next (#245) il y a 4 ans
image b09e0a1836 fix: Set the max-width of the img node of the image preview to none to avoid the influence of tailwind (#2624) il y a 1 an
input 01c85b3f44 style: When the length of the placeholder of the Input exceeds the length, the content exceeding the length will be omitted (#2872) il y a 6 mois
inputNumber e1235e7972 style: add more token support for Button/Casader/inputnumber (#2809) il y a 9 mois
jsonViewer b3356487aa feat: expose jsonviewer search api (#2755) il y a 10 mois
keyframes d159394f03 feat: spin js2css il y a 3 ans
layout f76bd5879d feat: init il y a 4 ans
list 2a990d4ecd fix: change list empty padding token position il y a 3 ans
lottie ee4349804b Chore: fix type on lottie props (#2593) il y a 1 an
markdownRender 16cc39b46c feat: add remarkGfm switch to markdownRender il y a 1 an
modal db064df658 fix: Fix the problem that the height of modal does not cover the screen when fullScreen is set, since 2.82.0 (#2881) il y a 6 mois
navigation e9e704751b style: Fix incorrect paddingLeft of navigation (#2761) il y a 10 mois
notification 04fe071c39 fix: fix notification type define of id (#1993) il y a 2 ans
overflowList deeaf9c978 fix: an element in collapse Tabs may be a react element, Use shallow copy instead of fast copy (#2464) il y a 1 an
pagination e082a7d7c0 perf: improve pagination small size render (#1714) il y a 2 ans
pincode d05c08d728 fix: pinCode didn't trigger onChange on uncontrol mode (#2509) il y a 1 an
popconfirm bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) il y a 1 an
popover 6a4a47ed30 style: Modify the color of Popover arrow to ensure that the configuration can take effect through DSM (#2806) il y a 9 mois
progress 5b0e52d1dd style: Modify the implementation of background color and progress color in Progress to ensure that the DSM theme configuration takes effect (#2808) il y a 9 mois
radio d2aee87504 style: [Radio] add $color-radio_checked-icon-disabled for disabled, selected Radio dot (#2820) il y a 8 mois
rating f05ed24b0b chore: remove file head lint rule which already set global (#1706) il y a 2 ans
resizable 3c4e287508 fix: Fix Resizable not working on touch screen il y a 11 mois
scripts f76bd5879d feat: init il y a 4 ans
scrollList 9657b2776c style: [ScrollList] add overflow hidden for the outer layer (#2818) il y a 8 mois
select 669cfbbf42 docs: Fixed the problem that when Select is in multiple/small size, if the token of border is not set to 1, the minimum height will be incorrect (#2878) il y a 7 mois
sideSheet 872a8e8d45 feat: sidesheet support for customized closeIcon (#1965) il y a 2 ans
skeleton 9c8ad48bd0 style: change skeleton radius form 4px to --semi-border-radius-small (#1739) il y a 2 ans
slider eeafecf1f9 fix: fix slider handle flash in control mode (#2442) il y a 1 an
space f76bd5879d feat: init il y a 4 ans
spin 304ccdad70 style: Explicitly set the display of the svg in the spin to inline (#2272) il y a 1 an
steps 115eb5a60a fix: change Steps padding-bottom to margin bottom to make line center (#2689) il y a 11 mois
switch 129d131afc fix: change switch hover style (#2778) il y a 8 mois
table d117368c32 style: Fixed the issue that when the Table component sets the header background color through style in onHeaderCell, the fixed header does not take effect (#2821) il y a 8 mois
tabs b092971f02 fix: Modify the implementation of slashes & support dropdownProps settings il y a 1 an
tag bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) il y a 1 an
tagInput e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) il y a 10 mois
timePicker c91fd5f47d fix: modify createDateDefault to a time zone-independent function in TimePicker (#2727) il y a 10 mois
timeline 6511ea7423 fix: #865 il y a 3 ans
toast 0898c11b47 style: fix toast not center horizontal, close #2256 il y a 1 an
tooltip 5675a987dd fix: Modify the timing of getting position of container in tooltip to… (#2841) il y a 8 mois
transfer cde4825d2b fix: When all items except the disabled item in the left panel of tra… (#2574) il y a 1 an
tree 3af433032a fix: [TreeSelect] Fix the typeError when closing the panel when search is enabled and treeData is undefined il y a 11 mois
treeSelect e669ae67b4 style: For input type components, the styles of insetLabel and prefix… (#2758) il y a 10 mois
typography 31dfdeec20 feat: size of Typography support inherit (#2244) il y a 1 an
upload 87e357f6a8 fix: upload will cancel when destory by React.StrictMode, close #2410 il y a 1 an
userGuide 5d79300385 fix: UserGuide click-through behavior (#2764) il y a 10 mois
utils 52b37b12e1 feat: highlight searchWords support object props (#2600) il y a 1 an
videoPlayer 09d8752f3c feat: add videoPlayer support (#2822) il y a 8 mois
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) il y a 4 ans
getBabelConfig.js 496f3db0f7 chore: remove corejs il y a 3 ans
gulpfile.js 1b9c2f04c2 chore: replace divide operator to math.div (#1130) il y a 3 ans
package.json f775358bc5 v2.82.1 il y a 6 mois
tsconfig.json 75fa2004e5 feat: add new component Json viewer (#2561) il y a 1 an

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