semi-team dd073a7b07 v2.87.0 2 weeks ago
..
_portal 3d150d1b7f fix: remove fit-content with max-content to match chromium breakchange in 104. (#1032) 3 years ago
anchor b7287fd6c2 feat: anchor add token (#1843) 2 years ago
audioPlayer 9a87b78c67 fix: [AudioPlayer] Compatible with other framework (#2673) 9 months ago
autoComplete 534f4e5cc4 fix: Fixed the problem that AutoComplete did not highlight matching items when searching after data update (#2952) 2 months ago
avatar cab27191a0 feat: Button Badge add contentClassName (#2262) 1 year ago
backtop 4441155288 chore: Fallback operation when targetNode does not exist (#2786) 6 months ago
badge 9163f9f174 fix: the light theme badge does not look as expected when used alone (#2930) 2 months ago
banner 13a4bde145 fix: update banner.scss, remove uselsss scss rules of align-items (#2204) 1 year ago
base f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
breadcrumb c2a12271e8 style: Fix the style problem of BreadCrumb in noLink mode (#2884) 3 months ago
button 82d76c604f chore: change incorrect scss token description 1 month ago
calendar 7086deae41 feat: support side-by-side display of overlapping items in calendar components (#2393) 1 year ago
card dab2c08959 feat: chore backup 3 years ago
carousel 2c43674a31 fix: render state value in children render always get init one (#2634) 10 months ago
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) 5 months ago
chat f8a673573c style: Fix the problem that the width of the chat content area is stretched by the table (#2775) 6 months ago
checkbox 7dfc9369b1 style: [Checkbox] Added disabled and check mark icon color settings in hover state (#2819) 5 months ago
codeHighlight c808f41d4d Update codeHighlight.scss 2 months ago
collapse 14bacab9c7 feat: collapse clickHeaderToExpand api 2 years ago
collapsible 75a6baf18a fix: replace animation token with none token (#1259) 3 years ago
colorPicker 6a5d84d880 chore: optimize code 1 year ago
cropper 16294a73ef feat: [Cropper] add preview API for realtime preivew croppered image (#2782) 7 months ago
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) 4 months ago
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 year ago
divider 24163ca972 chore: main merge release 3 years ago
dragMove d9e931c738 fix: Fixed the issue in DragMove that after setting the handler, DragMove child elements can still be dragged (#2662) 9 months ago
dropdown 58209e65fa feat: add backdrop-filter token for Dropdown, Modal, Sidesheet, Popover, Tooltip (#2985) 2 weeks ago
empty 3ef14b89da feat: success build css 3 years ago
form d72b546e6b fix: add warning of field validate race warning, formApi.scrollToError type define, Form.InputGroup miss defaultProps (#2719) 8 months ago
grid bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 year ago
highlight 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 months ago
hotKeys 33d762b11d chore: Hotkeys, move the event DOM operation to the adapter (#2515) 1 year ago
icons 626c4b9f9e Feat/support next (#245) 3 years ago
image b09e0a1836 fix: Set the max-width of the img node of the image preview to none to avoid the influence of tailwind (#2624) 10 months ago
input 5bbcc241fb feat(input): add compositionEvent callback in input component (#2922) 2 months ago
inputNumber e1235e7972 style: add more token support for Button/Casader/inputnumber (#2809) 6 months ago
jsonViewer 4a8c83539e fix: resolve jsonviewer dsm style loss issue (#2926) 2 months ago
keyframes d159394f03 feat: spin js2css 3 years ago
layout f76bd5879d feat: init 4 years ago
list 2a990d4ecd fix: change list empty padding token position 3 years ago
lottie ee4349804b Chore: fix type on lottie props (#2593) 11 months ago
markdownRender 16cc39b46c feat: add remarkGfm switch to markdownRender 11 months ago
modal 58209e65fa feat: add backdrop-filter token for Dropdown, Modal, Sidesheet, Popover, Tooltip (#2985) 2 weeks ago
navigation e9e704751b style: Fix incorrect paddingLeft of navigation (#2761) 7 months ago
notification 04fe071c39 fix: fix notification type define of id (#1993) 1 year ago
overflowList deeaf9c978 fix: an element in collapse Tabs may be a react element, Use shallow copy instead of fast copy (#2464) 1 year ago
pagination e082a7d7c0 perf: improve pagination small size render (#1714) 2 years ago
pincode d05c08d728 fix: pinCode didn't trigger onChange on uncontrol mode (#2509) 1 year ago
popconfirm bca3ec6cac style: fix sass version >= 1.77.7, this use of declarations after nes… (#2370) 1 year ago
popover 58209e65fa feat: add backdrop-filter token for Dropdown, Modal, Sidesheet, Popover, Tooltip (#2985) 2 weeks ago
progress 5b0e52d1dd style: Modify the implementation of background color and progress color in Progress to ensure that the DSM theme configuration takes effect (#2808) 6 months ago
radio d2aee87504 style: [Radio] add $color-radio_checked-icon-disabled for disabled, selected Radio dot (#2820) 5 months ago
rating f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
resizable 3c4e287508 fix: Fix Resizable not working on touch screen 8 months ago
scripts f76bd5879d feat: init 4 years ago
scrollList 9657b2776c style: [ScrollList] add overflow hidden for the outer layer (#2818) 5 months ago
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) 4 months ago
sideSheet 58209e65fa feat: add backdrop-filter token for Dropdown, Modal, Sidesheet, Popover, Tooltip (#2985) 2 weeks ago
skeleton 9c8ad48bd0 style: change skeleton radius form 4px to --semi-border-radius-small (#1739) 2 years ago
slider 0efd57035e fix: fixed the problem that the handle position of Slider is incorrect when clicking or dragging under scrollable conditions 3 months ago
space 3ef14b89da feat: success build css 3 years ago
spin 304ccdad70 style: Explicitly set the display of the svg in the spin to inline (#2272) 1 year ago
steps 115eb5a60a fix: change Steps padding-bottom to margin bottom to make line center (#2689) 8 months ago
switch 129d131afc fix: change switch hover style (#2778) 5 months ago
table ddd968d3d9 fix: Fixed the problem of no hover background color when the fixed column in Table is hovered, affecting version 2.79.0-2.84.0 (#2954) 2 months ago
tabs b092971f02 fix: Modify the implementation of slashes & support dropdownProps settings 1 year ago
tag a0a218d3ba style: Fixed the closeIcon color error of solid and white tags (#2935) 3 months ago
tagInput b9f472724f style: add $color-tagInput_disabled-bg for disabled Taginput background (#2973) 2 months ago
timePicker c91fd5f47d fix: modify createDateDefault to a time zone-independent function in TimePicker (#2727) 8 months ago
timeline 6511ea7423 fix: #865 3 years ago
toast 0898c11b47 style: fix toast not center horizontal, close #2256 1 year ago
tooltip 58209e65fa feat: add backdrop-filter token for Dropdown, Modal, Sidesheet, Popover, Tooltip (#2985) 2 weeks ago
transfer cde4825d2b fix: When all items except the disabled item in the left panel of tra… (#2574) 11 months ago
tree f7170b2958 chore: Add code backup and instructions for using keyMaps (#2938) 3 months ago
treeSelect 2502d38a9e fix: Fixed when TreeSelect is disabled, clicking on the trigger would… (#2969) 2 months ago
typography 31dfdeec20 feat: size of Typography support inherit (#2244) 1 year ago
upload 87e357f6a8 fix: upload will cancel when destory by React.StrictMode, close #2410 1 year ago
userGuide 5d79300385 fix: UserGuide click-through behavior (#2764) 7 months ago
utils 27e7a6779a fix: inputnumber plus calculate wrong cause by js precision (#2937) 3 months ago
videoPlayer 09d8752f3c feat: add videoPlayer support (#2822) 5 months ago
README.md d8893466dc fix: semi-foundation/README.md gammar optimize (#165) 4 years ago
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 years ago
gulpfile.js 1b9c2f04c2 chore: replace divide operator to math.div (#1130) 3 years ago
package.json dd073a7b07 v2.87.0 2 weeks ago
tsconfig.json 75fa2004e5 feat: add new component Json viewer (#2561) 11 months ago

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