Fac v0.3.9
feffery-antd-components v0.3.9
Update Date: October 12, 2024
New Features
- New split panel component
AntdSplitter
@insistence- For specific usage, see the AntdSplitter documentation page
- 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
- New feature parameter
- Segmented controller component
AntdSegmented
- New feature parameter
vertical
has been added to control the display of the segmented controller in a vertical format @CNFeffery
- New feature parameter
- Radio button group component
AntdRadioGroup
- New feature parameter
block
has been added to control the radio buttons to fill the parent container completely @CNFeffery
- New feature parameter
- Floating button group
AntdFloatButtonGroup
- New feature parameter
placement
has been added to control the direction of the menu mode expansion @CNFeffery
- New feature parameter
- Table component
AntdTable
- The parameter
columns
has a new sub-parameterminWidth
, which can restrict the minimum width of the field whentableLayout='auto'
@CNFeffery
- The parameter
- New built-in module
_icons
- You can obtain all the icon type names built into
AntdIcon
by usingfrom feffery_antd_components._icons import all_icons
@CNFeffery
- You can obtain all the icon type names built into
Changes
- The sub-parameter
fixed
of theAntdTable
parametercolumns
now supportsbool
type input, and setting it toTrue
is equivalent to freezing the column on the left @CNFeffery - The sub-parameter
label
of theAntdSegmented
parameteroptions
is no longer required to be set @CNFeffery
feffery-antd-components v0.3.9
更新时间:2024-10-12
新增功能
- 新增分隔面板组件
AntdSplitter
@insistence- 具体使用见AntdSplitter文档页
- 按钮组件
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