feffery_antd_components 0.4.3-rc5 → 0.4.3-rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/DESCRIPTION CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyAntdComponents
2
2
  Title: Best implementation of Antd components in Plotly Dash.
3
- Version: 0.4.3-rc5
3
+ Version: 0.4.3-rc6
4
4
  Description: Best implementation of Antd components in Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/Project.toml CHANGED
@@ -2,7 +2,7 @@
2
2
  name = "FefferyAntdComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-674b58f7de79"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.4.3-rc5"
5
+ version = "0.4.3-rc6"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
package/README-en_US.md CHANGED
@@ -33,7 +33,7 @@ pip install feffery-antd-components -U
33
33
  ## 2 Install the latest preview release version
34
34
 
35
35
  > [!NOTE]
36
- > The latest preview release version (2025-11-28): `0.4.3rc5`
36
+ > The latest preview release version (2025-12-13): `0.4.3rc6`
37
37
 
38
38
  ```bash
39
39
  pip install feffery-antd-components --pre -U
package/README.md CHANGED
@@ -33,7 +33,7 @@ pip install feffery-antd-components -U
33
33
  ## 2 最新预发布版本安装方式
34
34
 
35
35
  > [!NOTE]
36
- > 最新预发布版本(2025-11-28):`0.4.3rc5`
36
+ > 最新预发布版本(2025-12-13):`0.4.3rc6`
37
37
 
38
38
  ```bash
39
39
  pip install feffery-antd-components --pre -U
@@ -51,6 +51,9 @@ Keyword arguments:
51
51
  - menuItemKeyToTitle (dict with strings as keys and values of type a list of or a singular dash component, string or number; optional):
52
52
  为指定节点定义组件型菜单项标题,优先级高于menuItems中对应节点的title属性.
53
53
 
54
+ - menuItemKeyToIcon (dict with strings as keys and values of type a list of or a singular dash component, string or number; optional):
55
+ 为指定节点定义组件型菜单项图标元素,优先级高于menuItems中对应节点的icon属性.
56
+
54
57
  - mode (a value equal to: 'vertical', 'horizontal', 'inline'; default 'vertical'):
55
58
  显示模式,可选项有`'vertical'`、`'horizontal'`、`'inline'` 默认值:`'vertical'`.
56
59
 
@@ -111,7 +114,7 @@ Keyword arguments:
111
114
 
112
115
  - persistence_type (a value equal to: 'local', 'session', 'memory'; optional):
113
116
  当前组件的属性持久化存储类型 默认值:`'local'`."""
114
- _children_props = ['expandIcon', 'expandIcon.expand', 'expandIcon.collapse', 'menuItemKeyToTitle{}']
117
+ _children_props = ['expandIcon', 'expandIcon.expand', 'expandIcon.collapse', 'menuItemKeyToTitle{}', 'menuItemKeyToIcon{}']
115
118
  _base_nodes = ['expandIcon', 'children']
116
119
  _namespace = 'feffery_antd_components'
117
120
  _type = 'AntdMenu'
@@ -133,6 +136,7 @@ Keyword arguments:
133
136
  expandIcon: typing.Optional[typing.Union[ComponentType, "ExpandIcon"]] = None,
134
137
  menuItems: typing.Optional[typing.Sequence] = None,
135
138
  menuItemKeyToTitle: typing.Optional[typing.Dict[typing.Union[str, float, int], ComponentType]] = None,
139
+ menuItemKeyToIcon: typing.Optional[typing.Dict[typing.Union[str, float, int], ComponentType]] = None,
136
140
  mode: typing.Optional[Literal["vertical", "horizontal", "inline"]] = None,
137
141
  theme: typing.Optional[Literal["light", "dark"]] = None,
138
142
  currentKey: typing.Optional[str] = None,
@@ -153,9 +157,9 @@ Keyword arguments:
153
157
  persistence_type: typing.Optional[Literal["local", "session", "memory"]] = None,
154
158
  **kwargs
155
159
  ):
156
- self._prop_names = ['id', 'key', 'style', 'className', 'expandIcon', 'menuItems', 'menuItemKeyToTitle', 'mode', 'theme', 'currentKey', 'currentItem', 'currentKeyPath', 'currentItemPath', 'openKeys', 'onlyExpandCurrentSubMenu', 'defaultOpenKeys', 'defaultSelectedKey', 'renderCollapsedButton', 'popupContainer', 'inlineCollapsed', 'inlineIndent', 'triggerSubMenuAction', 'data-*', 'aria-*', 'persistence', 'persisted_props', 'persistence_type']
160
+ self._prop_names = ['id', 'key', 'style', 'className', 'expandIcon', 'menuItems', 'menuItemKeyToTitle', 'menuItemKeyToIcon', 'mode', 'theme', 'currentKey', 'currentItem', 'currentKeyPath', 'currentItemPath', 'openKeys', 'onlyExpandCurrentSubMenu', 'defaultOpenKeys', 'defaultSelectedKey', 'renderCollapsedButton', 'popupContainer', 'inlineCollapsed', 'inlineIndent', 'triggerSubMenuAction', 'data-*', 'aria-*', 'persistence', 'persisted_props', 'persistence_type']
157
161
  self._valid_wildcard_attributes = ['data-', 'aria-']
158
- self.available_properties = ['id', 'key', 'style', 'className', 'expandIcon', 'menuItems', 'menuItemKeyToTitle', 'mode', 'theme', 'currentKey', 'currentItem', 'currentKeyPath', 'currentItemPath', 'openKeys', 'onlyExpandCurrentSubMenu', 'defaultOpenKeys', 'defaultSelectedKey', 'renderCollapsedButton', 'popupContainer', 'inlineCollapsed', 'inlineIndent', 'triggerSubMenuAction', 'data-*', 'aria-*', 'persistence', 'persisted_props', 'persistence_type']
162
+ self.available_properties = ['id', 'key', 'style', 'className', 'expandIcon', 'menuItems', 'menuItemKeyToTitle', 'menuItemKeyToIcon', 'mode', 'theme', 'currentKey', 'currentItem', 'currentKeyPath', 'currentItemPath', 'openKeys', 'onlyExpandCurrentSubMenu', 'defaultOpenKeys', 'defaultSelectedKey', 'renderCollapsedButton', 'popupContainer', 'inlineCollapsed', 'inlineIndent', 'triggerSubMenuAction', 'data-*', 'aria-*', 'persistence', 'persisted_props', 'persistence_type']
159
163
  self.available_wildcard_properties = ['data-', 'aria-']
160
164
  _explicit_args = kwargs.pop('_explicit_args')
161
165
  _locals = locals()