Skip to content

Releases: CNFeffery/feffery-antd-components

Fac v0.3.12

27 Dec 03:42
Compare
Choose a tag to compare

feffery-antd-components v0.3.12

Update Time: 2024-12-27

New Contributors

JohnorJohnny

New Features

  • Tab component AntdTabs

    • Added feature parameter icon in the sub-item of items to set icon elements for tabs @CNFeffery
    • Added feature parameter tabBarStyle to set styles for tabs individually @CNFeffery
  • Table component AntdTable

    • Added support for editable mode in nested table structures @JohnorJohnny
    • Added sub-parameter disabledKeys in the field configuration parameter editOptions for editable mode, to disable input boxes for specified row cells @CNFeffery
    • Added field configuration parameter headerAlign to control the alignment of table headers individually @CNFeffery
    • Added feature parameter loading to enable the built-in loading effect for the table @CNFeffery
    • Added feature parameter rowClassName to add additional custom CSS class names to table rows @CNFeffery
  • Dropdown component AntdSelect

    • Added feature parameter maxCount to limit the maximum number of selectable items @CNFeffery

Bug Fixes

  • Fixed the issue of abnormal interaction in AntdCheckbox when controlled by batch form controls @CNFeffery
  • Fixed the issue where options could be clicked to delete in AntdSelect, AntdCascader, and AntdTreeSelect when in non-single selection mode + read-only mode @CNFeffery
  • Fixed the issue of abnormal display in the summary bar of AntdTable after using multi-level headers @CNFeffery

feffery-antd-components v0.3.12

更新时间:2024-12-27

新增贡献者

JohnorJohnny

新增功能

  • 标签页组件AntdTabs

    • 参数items子项新增功能类参数icon,用于为标签设置图标元素 @CNFeffery
    • 新增功能类参数tabBarStyle,用于单独为标签设置样式 @CNFeffery
  • 表格组件AntdTable

    • 多层嵌套表格结构,新增可编辑模式支持 @JohnorJohnny
    • 针对可编辑模式,为字段配置参数editOptions新增子参数disabledKeys,用于禁用指定行单元格的输入框 @CNFeffery
    • 新增字段配置参数headerAlign,用于单独控制表头对齐方式 @CNFeffery
    • 新增功能类参数loading,用于为表格启用自带的加载中效果 @CNFeffery
    • 新增功能类参数rowClassName,用于为表格行记录添加额外的自定义css类名 @CNFeffery
  • 下拉选择组件AntdSelect

    • 新增功能类参数maxCount,用于限制最多可选择的项数 @CNFeffery

修复问题

  • 修复了AntdCheckbox在受表单批量控制时交互异常的问题 @CNFeffery
  • 修复了AntdSelectAntdCascaderAntdTreeSelect在非单选模式+只读模式下,选项可点击删除的问题 @CNFeffery
  • 修复了AntdTable使用多层表头后,总结栏显示异常的问题 @CNFeffery

Fac v0.3.11

29 Nov 03:14
Compare
Choose a tag to compare

feffery-antd-components v0.3.11

Update Date: November 29, 2024

New Features

  • Center Component AntdCenter
    • Added a functional parameter inheritStyleToken to control whether the background color, font color, and other properties of the center component are affected by the default theme style attributes of the upper layer. @CNFeffery
  • Description List Component AntdDescriptions
    • For the items parameter used to define the sub-items of the description list, a new setting item 'filled' has been added to the span parameter of each sub-item. @CNFeffery
  • For the drop-down selection component AntdSelect, tree selection component AntdTreeSelect, cascader selection component AntdCascader, date selection component AntdDatePicker, date range selection component AntdDataRangePicker, time selection component AntdTimePicker, and time range selection component AntdTimeRangePicker, a new functional parameter prefix has been added to customize the embedded element before the selection box. @CNFeffery
  • For the drop-down selection component AntdSelect, cascader selection component AntdCascader, date selection component AntdDatePicker, date range selection component AntdDataRangePicker, time selection component AntdTimePicker, and time range selection component AntdTimeRangePicker, a new functional parameter suffixIcon has been added to customize the embedded icon element after the selection box. @CNFeffery

Bug Fixes

  • Fixed the issue of abnormal functionality when a node in the menuItems parameter of AntdMenu does not define props. @CNFeffery
  • Fixed the issue of abnormal functionality when the parameter value of AntdDateRangePicker is assigned with [] or [None, None]. @CNFeffery
  • Fixed the issue of misalignment in the multi-line summary bar of AntdTable after setting summaryRowBlankColumns. @CNFeffery

feffery-antd-components v0.3.11

更新时间:2024-11-29

新增功能

  • 居中组件AntdCenter
    • 新增功能类参数inheritStyleToken,用于控制居中组件的背景色、字体颜色等属性,是否受上层默认主题样式属性影响 @CNFeffery
  • 描述列表组件AntdDescriptions
    • 针对用于定义描述列表子项的items参数,各子项参数span新增'filled'设置项 @CNFeffery
  • 针对下拉选择组件AntdSelect、树选择组件AntdTreeSelect、级联选择组件AntdCascader、日期选择组件AntdDatePicker、日期范围选择组件AntdDataRangePicker、时间选择组件AntdTimePicker、时间范围选择组件AntdTimeRangePicker,新增功能类参数prefix,用于自定义选择框前缀内嵌元素 @CNFeffery
  • 针对下拉选择组件AntdSelect、级联选择组件AntdCascader、日期选择组件AntdDatePicker、日期范围选择组件AntdDataRangePicker、时间选择组件AntdTimePicker、时间范围选择组件AntdTimeRangePicker,新增功能类参数suffixIcon,用于自定义选择框后缀内嵌图标元素 @CNFeffery

修复问题

  • 修复了当AntdMenu参数menuItems中有节点未定义props时,功能异常的问题 @CNFeffery
  • 修复了为AntdDateRangePicker的参数value赋值[][None, None]时,功能异常的问题 @CNFeffery
  • 修复了AntdTable多行总结栏在设置了summaryRowBlankColumns后显示错位的问题 @CNFeffery

Fac v0.3.10

02 Nov 03:36
Compare
Choose a tag to compare

feffery-antd-components v0.3.10

Update Date: November 1, 2024

New Features

  • Icon Component AntdIcon
    • New functional parameters mode and scriptUrl have been added for utilizing more custom icon resources generated on the iconfont website. @CNFeffery
  • Dropdown Menu Component AntdDropdown
    • Option nodes can now set an additional extra attribute. @CNFeffery
  • Tabs Component AntdTabs
    • A new functional parameter placeholder has been added for display when items is empty. @CNFeffery
  • Divider Component AntdDivider
    • A new functional parameter plain has been added to determine whether the divider text is presented in a regular paragraph format. @CNFeffery

Bug Fixes

  • Fixed the exception error that occurred when AntdTabs parameter items is [], and items is updated based on Patch. @CNFeffery
  • Fixed the issue with abnormal updates involving callback functions in internal components of AntdSplitter. @CNFeffery
  • Fixed the issue with event listening related attributes recentlyCellClickRecord, recentlyCellDoubleClickRecord, recentlyContextMenuClickRecord functioning abnormally when AntdTable contains custom component-type cell content. @CNFeffery

feffery-antd-components v0.3.10

更新时间:2024-11-01

新增功能

  • 图标组件AntdIcon
    • 新增功能类参数modescriptUrl,用于使用iconfont网站上生成的更多自定义图标资源 @CNFeffery
  • 下拉菜单组件AntdDropdown
    • 选项节点可设置额外的extra属性 @CNFeffery
  • 标签页组件AntdTabs
    • 新增功能类参数placeholder,用于在items为空时占位显示 @CNFeffery
  • 分割线组件AntdDivider
    • 新增功能类参数plain,用于设置分割线文字是否呈现为常规正文形式 @CNFeffery

修复问题

  • 修复了当AntdTabs参数items[]时,基于Patchitems更新时的异常错误 @CNFeffery
  • 修复了AntdSplitter内部组件涉及回调函数更新异常的问题 @CNFeffery
  • 修复了AntdTable在存在自定义组件型单元格内容时,事件监听相关属性recentlyCellClickRecordrecentlyCellDoubleClickRecordrecentlyContextMenuClickRecord功能异常的问题 @CNFeffery

Fac v0.3.9

12 Oct 08:06
Compare
Choose a tag to compare

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

Fac v0.3.8

29 Sep 06:44
Compare
Choose a tag to compare

feffery-antd-components v0.3.8

Update Date: September 29, 2024

New Features

  • Table Component AntdTable
    • Added custom color functionality for the mini chart modes 'mini-line', 'mini-area', 'mini-bar' in re-rendering mode. @CNFeffery
  • Modal Component AntdModal
    • Introduced a new functional parameter forceRender to control whether to force render the child elements of the modal when it is initialized but not displayed. @CNFeffery
  • Pop-up Card Component AntdPopupCard
    • Added a new functional parameter forceRender with the same functionality as the AntdModal's parameter of the same name. @CNFeffery
    • Introduced a new functional parameter destroyOnClose to control whether to force destroy the child elements after each pop-up card is closed. @CNFeffery

Bug Fixes

  • Date Range Picker Component AntdDateRangePicker
    • Fixed the issue where the panel could not be switched using the left and right arrows in the selection panel after selecting the start date. @CNFeffery

feffery-antd-components v0.3.8

更新时间:2024-09-29

新增功能

  • 表格组件AntdTable
    • 针对再渲染模式中的迷你图'mini-line''mini-area''mini-bar'模式,新增自定义颜色功能 @CNFeffery
  • 模态框组件AntdModal
    • 新增功能类参数forceRender,用于在初始化模态框未显示时,控制是否强制渲染模态框的子元素 @CNFeffery
  • 弹出式卡片组件AntdPopupCard
    • 新增功能类参数forceRender,功能同AntdModal同名参数 @CNFeffery
    • 新增功能类参数destroyOnClose,用于控制是否在每次弹出式卡片关闭后,强制销毁子元素 @CNFeffery

修复问题

  • 日期范围选择组件AntdDateRangePicker
    • 修复了选中开始日期后,无法通过选择面板中的左右箭头切换面板的问题 @CNFeffery

Fac v0.3.7

20 Sep 09:05
Compare
Choose a tag to compare

feffery-antd-components v0.3.7

Update Date: September 20, 2024

New Features

  • Centering Component AntdCenter
    • Added automatic linkage feature for styles based on AntdConfigProvider tokens @CNFeffery
  • Empty Node Component Fragment
    • Added a listening class parameter token to retrieve the full style token information from the upper AntdConfigProvider @CNFeffery
  • Text Copy Component AntdCopyText
    • Added a functional parameter format to control the format of the content to be copied @CNFeffery
    • Added a functional parameter tooltips to control the informational prompts attached to the text copy trigger control @CNFeffery

feffery-antd-components v0.3.7

更新时间:2024-09-20

新增功能

  • 居中组件AntdCenter
    • 新增基于AntdConfigProvider的样式token自动联动功能 @CNFeffery
  • 空节点组件Fragment
    • 新增监听类参数token,用于获取来自上层AntdConfigProvider的全量样式token信息 @CNFeffery
  • 文本复制组件AntdCopyText
    • 新增功能类参数format,用于控制复制目标内容的格式 @CNFeffery
    • 新增功能类参数tooltips,用于控制文本复制触发控件附带的信息提示 @CNFeffery

Fac v0.3.6

14 Sep 08:06
Compare
Choose a tag to compare

feffery-antd-components v0.3.6

Update Date: September 14, 2024

New Features

  • Tree Select Component AntdTreeSelect
    • Added asynchronous node data loading feature @CNFeffery
  • Tree Component AntdTree
    • Added asynchronous node data loading feature @CNFeffery
  • Date Picker Component AntdDatePicker, Date Range Picker Component AntdDateRangePicker
    • Added feature parameter pickerValue for monitoring or setting the date that stays open in the selection panel, while removing the original defaultPickerValue parameter @CNFeffery
  • Table Component AntdTable
    • Added feature parameter scrollToFirstRowOnChange to control whether to scroll to the top of the table after changes triggered by pagination, sorting, or filtering operations @CNFeffery
    • Expanded the data types accepted by feature parameters maxWidth and maxHeight @CNFeffery

Changes

  • Optimized the order of parameters in the automatically generated doc-string of each component @CNFeffery
  • Skipped the Dash dependency version 2.18.0 to eliminate some issues @CNFeffery

Bug Fixes

  • Fixed the issue where the filterMultiple and filterSearch parameters related to field filtering in AntdTable did not take effect in server-side data loading mode @CNFeffery
  • Fixed the issue where the field values defined in the data parameter of AntdTable did not accept bool type @insistence
  • Fixed the issue where the onlyExpandCurrentSubMenu parameter of AntdMenu functioned abnormally in multi-level menus @insistence

feffery-antd-components v0.3.6

更新时间:2024-09-14

新增功能

  • 树选择组件AntdTreeSelect
  • 树形控件AntdTree
  • 日期选择组件AntdDatePicker、日期范围选择组件AntdDateRangePicker
    • 新增功能类参数pickerValue,用于监听或设置选择面板展开停留的日期,同时移除原有的defaultPickerValue参数 @CNFeffery
  • 表格组件AntdTable
    • 新增功能类参数scrollToFirstRowOnChange,用于控制在分页、排序、筛选操作触发表格变化后,是否滚动到表格顶部 @CNFeffery
    • 拓展了功能类参数maxWidthmaxHeight可接受的数据类型 @CNFeffery

变化

  • 优化了各组件自动生成的doc-string中的参数顺序 @CNFeffery
  • Dash依赖版本跳过2.18.0以消除部分问题 @CNFeffery

修复问题

  • 修复了AntdTable在服务端数据加载模式下,字段筛选相关参数filterMultiplefilterSearch不生效的问题@CNFeffery
  • 修复了AntdTable参数data中定义的字段值不接受bool类型的问题 @insistence
  • 修复了AntdMenu参数onlyExpandCurrentSubMenu在多级菜单下功能异常的问题 @insistence

Fac v0.3.4

06 Sep 08:49
Compare
Choose a tag to compare

feffery-antd-components v0.3.4

Update Date: 2024-09-06

New Features

  • Date Picker Component AntdColorPicker, Date Range Picker Component AntdDateRangePicker
    • Added new feature parameter customCells for controlling the style of specific date cells, supporting wildcard rules @CNFeffery
  • Calendar Component AntdCalendar
    • Added support for wildcard rules for the feature parameter customCells @CNFeffery
  • Navigation Menu Component AntdMenu
    • Added new feature parameter expandIcon, which can be used with antd-* icons in AntdIcon for customizing the submenu expansion icon @insistence
    • Added new feature parameter triggerSubMenuAction for setting the trigger behavior type for submenu expansion @insistence
    • Added new listener parameters currentItem, currentKeyPath, currentItemPath to enhance the menu selection item monitoring feature @insistence
  • Pagination Component AntdPagination
    • Added new feature parameter align for setting alignment @insistence
  • Result Component AntdResult
    • Added new feature parameter extra for setting additional operation area content @insistence
  • Description List Component AntdDescriptions
    • Added new feature parameter extra for setting additional operation area content @insistence

feffery-antd-components v0.3.4

更新时间:2024-09-06

新增功能

  • 日期选择组件AntdColorPicker、日期范围选择组件AntdDateRangePicker
    • 新增功能类参数customCells,用于控制指定日期单元格的样式,支持通配规则 @CNFeffery
  • 日历组件AntdCalendar
    • 针对功能类参数customCells,新增通配规则支持 @CNFeffery
  • 导航菜单组件AntdMenu
    • 新增功能类参数expandIcon,可配合AntdIcon中的antd-*图标进行子菜单展开图标的自定义 @insistence
    • 新增功能类参数triggerSubMenuAction,用于设置子菜单展开的触发行为类型 @insistence
    • 新增监听类参数currentItemcurrentKeyPathcurrentItemPath,用于强化菜单选中项监听功能 @insistence
  • 分页组件AntdPagination
    • 新增功能类参数align,用于设置对齐方式 @insistence
  • 结果组件AntdResult
    • 新增功能类参数extra,用于设置额外操作区域内容 @insistence
  • 描述列表组件AntdDescriptions
    • 新增功能类参数extra,用于设置额外操作区域内容 @insistence

Fac v0.3.3

30 Aug 08:09
Compare
Choose a tag to compare

feffery-antd-components v0.3.3

Update Date: 2024-08-30

New Features

  • Component copy language switch
    • For all components with the parameter locale, a new German language option 'de-de' has been added @deadkex @CNFeffery
  • Color picker component AntdColorPicker
    • A new base class parameter locale has been added for switching the language of the component's copy @CNFeffery
  • One-time password input component AntdOTP
    • A new feature class parameter mask has been added for setting a mask on the input content @insistence
  • Tree selection component AntdTreeSelect
    • A new feature class parameter suffixIcon has been added for setting a suffix icon in the input box @insistence
    • A new feature class parameter switcherIcon has been added, which can be used in conjunction with the antd-* icons in AntdIcon for customizing the tree node expansion icon @insistence
    • A new feature class parameter maxTagPlaceholder has been added for setting alternative placeholder content when hiding selected tag labels @insistence
    • A new feature class parameter maxTagTextLength has been added for setting the maximum length of the text displayed for selected tag labels @insistence

Bug Fixes

  • Fixed the issue where there was an exception in the .map file requests in the background running logs under the condition of non-debug mode + browser developer tools open @CNFeffery
  • Updated the minimum dependency version of the underlying dayjs to 1.11.13, thereby fixing the issue with the custom format of "week" in date selection related components @CNFeffery

feffery-antd-components v0.3.3

更新时间:2024-08-30

新增功能

  • 组件文案语种切换
    • 针对所有具有参数locale的组件,新增'de-de'德语语种选项 @deadkex @CNFeffery
  • 颜色选择组件AntdColorPicker
    • 新增基础类参数locale,用于切换组件文案语种 @CNFeffery
  • 一次性密码框组件AntdOTP
    • 新增功能类参数mask,用于为已输入内容设置遮罩 @insistence
  • 树选择组件AntdTreeSelect
    • 新增功能类参数sufficIcon,用于设置输入框内嵌后缀图标 @insistence
    • 新增功能类参数switcherIcon,可配合AntdIcon中的antd-*图标进行树节点展开图标的自定义 @insistence
    • 新增功能类参数maxTagPlaceholder,用于设置隐藏已选项标签时的替代占位内容 @insistence
    • 新增功能类参数maxTagTextLength,用于设置至多显示的已选项标签文本长度 @insistence

修复问题

  • 解决了非debug模式+浏览器开发者工具打开的条件下,后台运行日志中.map文件请求异常的问题 @CNFeffery
  • 更新底层dayjs最低依赖版本至1.11.13,从而修复了日期选择相关组件中“周”自定义格式异常的问题 @CNFeffery

Fac v0.3.2

23 Aug 09:11
Compare
Choose a tag to compare

feffery-antd-components v0.3.2

Update Date: August 23, 2024

New Features

  • Step bar component AntdSteps
    • New feature parameter percent added to set the percentage progress effect for the current step
  • Divider component AntdDivider
    • New feature parameter variant added to control the appearance of the divider @insistence
  • Numeric input box component AntdInputNumber
    • New feature parameter suffix added to add embedded suffix content to the input box @insistence
  • Color picker component AntdColorPicker
    • New gradient color selection feature added @insistence
  • Tree control AntdTree
    • New feature parameter switcherIcon added, which can be customized with antd-* icons in AntdIcon for the expansion icon of tree control nodes @insistence

Changes

  • The minimum version of the underlying Dash dependency has been updated to 2.17.1.

Bug Fixes

  • Removed irrelevant *.map file links in the accompanying static resources to eliminate console error messages in non-debug mode.

feffery-antd-components v0.3.2

更新时间:2024-08-23

新增功能

  • 步骤条组件AntdSteps
    • 新增功能类参数percent,用于为当前进行中的步骤设置对应的百分比进度效果
  • 分割线组件AntdDivider
    • 新增功能类参数variant,用于控制分割线形态 @insistence
  • 数值输入框组件AntdInputNumber
    • 新增功能类参数suffix,用于为输入框添加内嵌的后置内容 @insistence
  • 颜色选择组件AntdColorPicker
  • 树形控件AntdTree
    • 新增功能类参数switcherIcon,可配合AntdIcon中的antd-*图标进行树形控件节点展开图标的自定义 @insistence

变化

  • 底层Dash依赖最低版本更新至2.17.1

修复问题

  • 移除了附带静态资源中的无关*.map文件链接内容,以消除非debug模式下控制台相关报错信息