Skip to content

Fac v0.3.9

Compare
Choose a tag to compare
@CNFeffery CNFeffery released this 12 Oct 08:06
· 45 commits to main since this release

feffery-antd-components v0.3.9

Update Date: October 12, 2024

New Features

  • New split panel component AntdSplitter @insistence
  • Button component AntdButton
    • New feature parameter color has been added to set the preset theme color for the button @CNFeffery
    • New feature parameter variant has been added to set the variant type for the button @CNFeffery
  • Segmented controller component AntdSegmented
    • New feature parameter vertical has been added to control the display of the segmented controller in a vertical format @CNFeffery
  • Radio button group component AntdRadioGroup
    • New feature parameter block has been added to control the radio buttons to fill the parent container completely @CNFeffery
  • Floating button group AntdFloatButtonGroup
    • New feature parameter placement has been added to control the direction of the menu mode expansion @CNFeffery
  • Table component AntdTable
    • The parameter columns has a new sub-parameter minWidth, which can restrict the minimum width of the field when tableLayout='auto' @CNFeffery
  • New built-in module _icons
    • You can obtain all the icon type names built into AntdIcon by using from feffery_antd_components._icons import all_icons @CNFeffery

Changes

  • The sub-parameter fixed of the AntdTable parameter columns now supports bool type input, and setting it to True is equivalent to freezing the column on the left @CNFeffery
  • The sub-parameter label of the AntdSegmented parameter options is no longer required to be set @CNFeffery

feffery-antd-components v0.3.9

更新时间:2024-10-12

新增功能

  • 新增分隔面板组件AntdSplitter @insistence
  • 按钮组件AntdButton
    • 新增功能类参数color,用于为按钮设置预设主题色 @CNFeffery
    • 新增功能类参数variant,用于为按钮设置形态变体类型 @CNFeffery
  • 分段控制器组件AntdSegmented
    • 新增功能类参数vertical,用于控制分段控制器以垂直形式展示 @CNFeffery
  • 单选框组件AntdRadioGroup
    • 新增功能类参数block,用于控制单选框整体撑满父容器 @CNFeffery
  • 悬浮按钮组AntdFloatButtonGroup
    • 新增功能类参数placement,用于控制菜单模式展开方向 @CNFeffery
  • 表格组件AntdTable
    • 参数columns新增子参数minWidth,可在tableLayout='auto'时,限制字段的最小宽度 @CNFeffery
  • 新增内置模块_icons
    • 可通过from feffery_antd_components._icons import all_icons获取到AntdIcon内置的全部图标类型名称 @CNFeffery

变化

  • 表格组件AntdTable参数columns的子参数fixed新增bool型输入支持,设置为True时等价于冻结列在左侧 @CNFeffery
  • 分段控制器组件AntdSegmented参数options的子参数label不再要求必须设置 @CNFeffery