Skip to content

Releases: alibaba/x-render

v0.6.1

18 Sep 02:22

Choose a tag to compare

  • [!] ui:button 的 callback 的入参从(value, onChange, newItem)变为 (value, onChange, schema, newItem)
  • [!] modal/drawer list 类数据,在配置按钮旁显示(xx 条数据)
  • [!] modal 添加确定按钮,给使用者一个配置成功的感受
  • [!] 修复了 fusion 下 modal 的 2 个展示瑕疵
  • [!] 在“新功能”添加新的 modal 样例

众多便利更新

20 Jul 10:43

Choose a tag to compare

  • [!] 解决 css 覆盖问题

  • [+] 复杂结构支持单独放置在弹层(modal/drawer)中,目前支持 type 为 object 和 list,配置方式是在 schema 中添加

    {
      "ui:options": {
        "modal": true
      }
    }
  • [+] 添加 color 组件对 opacity 的支持

  • [+] 开放 antd 的 ConfigProvider 给用户配置

支持函数表达式

22 Nov 06:42
a780413

Choose a tag to compare

  • [+] 重磅:schema 里大部分属性现在都支持函数表达式,方便表单组件间的关联(详见文档 UISchema、PropsSchema 部分)
  • [!] 依赖组件库的抽离,避免了重复下载 antd/fusion
  • [!] 修复了 ui:options/format 被 format 属性覆盖的问题@ColinChen2

v0.2.0

06 Nov 02:06

Choose a tag to compare

  • [!] 优化打包构建脚本,减少包大小
  • [+] 放出对应的 Demo 效果
  • [!] 使用时候不需要再引入 antd 或者 fusion 的 css

v0.1.5

06 Nov 02:05

Choose a tag to compare

  • [+] array type 支持使用 uniqueItems 字段校验列表中元素是否重复。uniqueItems 接受 boolean 和 string 类的值
  • [!] fix 了 array 类样式展示空白过多的问题

v0.1.3

16 Oct 01:46

Choose a tag to compare

  • [+] 列表会默认显示一个 item
  • [+] hidden 表达式现在支持取顶层 formData 的值,例如'ui:hidden':'formData.a.b.c == "xxx"'
  • [!] 修复了列表最后一个 item 无法删除