Skip to content

Releases: DouyinFE/semi-design

v2.1.2

30 Nov 08:46
Compare
Choose a tag to compare
  • 【Feature】
    • 支持 Next.js #153
    • 替换飞书Logo图标
  • 【Fix】
    • 修复 AutoComplete 的样式问题
    • 修复 InputNumber 在编辑器没有 API 语法提示问题 #327
    • 修复 Input focus 时 hover 态边框颜色错误问题 #332

  • 【Feature】
    • Support Next.js #153
    • Replace Feishu Logo icon
  • 【Fix】
    • Fix the style problem of AutoComplete
    • Fixed the problem that InputNumber does not have API syntax hints in the editor #327
    • Fix the wrong color of hover state border when Input focus #332

v2.1.1

26 Nov 12:55
Compare
Choose a tag to compare
  • 【Fix】
    • 提供 semi-icons、semi-illustrations 的 UMD 产物,解决 UMD 场景下无法使用 icon 的问题 #215

  • 【Fix】
    • Provide UMD products of semi-icons and semi-illustrations to solve the problem that icons cannot be used in UMD scenarios #215

v2.1.0

26 Nov 11:34
Compare
Choose a tag to compare
  • 【Fix】
    • 提供 semi-icons、semi-illustrations 的 UMD 产物,解决 UMD 场景下无法使用 icon 的问题 #215
    • 修复 Collapsible 组件在 content 有 margin 时展开/收起卡顿的问题 @ChelesteWang
  • 【Style】
    • Timeline 新增 $color-timeline_item_content-text-default Sass 变量,用于配置时间轴标题文字颜色
  • 【Docs】
    • 增加对局部模块应用暗色模式、亮色模式的 Demo 例子 #301
    • 更新 Table 示例,使用更符合使用场景的示例代码,对一些常见问题添加备注 #315
    • List 增加与 Checkbox、Radio、Input、Pagination 搭配使用的 Demo 示例;增加拖拽排序的Demo示例;增加键盘响应事件的 Demo 示例

  • 【Fix】
    • Provide UMD products of semi-icons and semi-illustrations to solve the problem that icons cannot be used in UMD scenarios #215
    • Fix the issue that the Collapsible component is stuck when expanding/retracting when the content has a margin @ChelesteWang
  • 【Style】
    • Timeline adds $color-timeline_item_content-text-default Sass variable, which is used to configure the timeline title text color
  • 【Docs】
    • Add a demo example of applying dark mode and bright mode to some modules #301
    • Update the Table sample, use sample code that is more suitable for the usage scenario, and add notes to some common problems #315
    • Added demo examples for use with Checkbox, Radio, Input, Pagination; added demo examples for drag sorting; added demo examples for keyboard response events

v2.1.0-beta.3

24 Nov 13:41
Compare
Choose a tag to compare
v2.1.0-beta.3 Pre-release
Pre-release
  • 【Fix】
    • 更新部分组件的ts类型定义,修复 tsconfig.json 开启 strict: true 且 skipLibCheck为false时 build报错的问题 #283

  • 【Fix】
    • Update the ts type definitions of some components, and fix the problem that the build report error when strict: true is enabled and skipLibCheck is false in tscofnig.json #283

v2.1.0-beta.2

24 Nov 13:24
Compare
Choose a tag to compare
v2.1.0-beta.2 Pre-release
Pre-release

v2.1.0-beta.1

24 Nov 03:44
Compare
Choose a tag to compare
v2.1.0-beta.1 Pre-release
Pre-release
  • 【Fix】
    • Select
      • 修复虚拟化使用崩溃的问题 #308
      • 修复 Option children 不是 string 时的渲染问题
    • 修复 TreeSelect leafOnly 和 searchPosition='hover' 同时开启时报错的问题 #306
    • 修复 Cascader 多选时,triggerRender 入参中 value 为空的问题 259
    • 修复 Tree 的 interface ExpanedOtherProps 命名不正确的问题,将其修正为 ExpandedOtherProps 297

  • 【Fix】
    • Select
      • Fix the crash of virtualization. #308
      • Fix the rendering problem when Option children are not string.
    • Fix an error when TreeSelect leafOnly and searchPosition='hover' are opened at the same time. #306
    • Fix that the value of triggerRender in the parameter is empty when Cascader is multi-selected. 259
    • Fix the incorrect naming of the interface ExpanedOtherProps of Tree and amend it to ExpandedOtherProps. 297

v2.1.0-beta.0

19 Nov 09:45
Compare
Choose a tag to compare
v2.1.0-beta.0 Pre-release
Pre-release
  • 【Feature】
    • Tabs 新增 关闭可选项 closable API @xieyezi
    • TagInput 新增 onKeyDown API #255
    • Tooltip、Popover、Popconfirm新增 onClickOutSide API,更易于在trigger='custom'情况下实现点击空白处关闭的行为 #268
  • 【Fix】
    • 修复 Radio在某些主题包下可能存在的垂直方向未对齐问题:Radio $height-radio_inner_min值由 继承 $spacing-base-loose改为固定20px,避免受不同主题包影响
    • 修复 Tabs 点击激活状态的 tab 仍触发 onChange 的问题 #208
    • 修复Collapsible组件默认打开时,组件高度没有完全展开问题 #85
    • 修复 Slider value 受控时点击轨道未触发 onAfterChange 的问题
    • 修复 Select, AutoComplete UMD CSS丢失问题
  • 【Chore】
    • 修复 TreeSelect 的 renderSelectedItem ts 类型不准确问题 #265
    • Typescript Interface相关变更 #277
      • Form增加 WithFieldOption 的导出
      • Notification增加 ConfigProps的导出
      • Toast增加 ConfigProps的导出
      • Upload增加 BeforeUploadObjectResult、AfterUploadResult的导出
      • Cascader 增加 CascaderType 和 ShowNextType 的导出

  • 【Feature】
    • Tabs add close options closable API @xieyezi
    • TagInput added onKeyDown API #255
    • Tooltip, Popover, and Popconfirm add onClickOutSide API, which makes it easier to implement the behavior of clicking the blank space to close when trigger='custom'#268
  • 【Fix】
    • Fix the possible vertical misalignment of Radio under certain theme packages: the value of Radio $height-radio_inner_min is changed from inheriting $spacing-base-loose to fixed 20px to avoid being affected by different theme packages
    • Fix the problem that onChange is still triggered when Tabs is clicked on the active tab #208
    • Fix the problem that the height of the Collapsible component is not fully expanded when the collapsible component is opened by default #85
    • Fix the problem that onAfterChange is not triggered when clicking on the track when the Slider value is controlled
    • Fix Select, AutoComplete UMD CSS missing problem
  • 【Chore】
    • Fix the inaccurate definition of the renderSelectedItem ts of TreeSelect #265
    • Typescript Interface related changes #277
      • Form adds the export of WithFieldOption
      • Notification adds the export of ConfigProps
      • Toast adds the export of ConfigProps
      • Upload adds the export of BeforeUploadObjectResult and AfterUploadResult
      • Cascader adds CascaderType and ShowNextType export

v2.0.8

11 Nov 09:12
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Modal afterClose 部分场景失效

  • 【Fix】
    • Fix Modal afterClose not work in some scenario

v2.0.7

10 Nov 10:23
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Icon 包缺少 classnames 依赖问题 #231
  • 【Style】
    • Table 修复了固定列/表头场景,所有列均不设置宽度时表格对不齐问题 #247

  • 【Fix】
    • semi-icons add dependencies classnames #231
  • 【Style】
    • Table Fixed the problem of table misalignment when there is a fixed column/header scenario, all columns are not set to width #247

v2.0.6

10 Nov 07:39
Compare
Choose a tag to compare
  • 【Style】
    • Table 移除固定列/固定表头时在表头插入的滚动轴列,使用 overflow-y 方案模拟滚动轴 #164

  • 【Style】
    • Table removed scrollbar column when there is a fixed column/header scenario by using the overflow-y to simulate the scrollbar #164