feffery_antd_components 0.3.6 → 0.3.7

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.3.6
3
+ Version: 0.3.7
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.3.6"
5
+ version = "0.3.7"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
package/README-en_US.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  [简体中文](./README.md) | English
17
17
 
18
- Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.3.4`
18
+ Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.3.6`
19
19
 
20
20
  ## 1 Install
21
21
 
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  简体中文 | [English](./README-en_US.md)
17
17
 
18
- `feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.3.4`
18
+ `feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.3.6`
19
19
 
20
20
  ## 1 最新版本安装方式
21
21
 
@@ -28,6 +28,12 @@ Keyword arguments:
28
28
  - text (string; default ''):
29
29
  复制目标内容.
30
30
 
31
+ - format (a value equal to: 'text/plain', 'text/html'; default 'text/plain'):
32
+ 剪切板内容的类型,可选项有`'text/plain'`、`text/html` 默认值:`'text/plain'`.
33
+
34
+ - tooltips (list of a list of or a singular dash component, string or numbers | boolean; optional):
35
+ 设置复制前后的文字提示内容,格式为`[复制前内容, 复制后内容]`,设置为`False`时关闭文字提示.
36
+
31
37
  - beforeIcon (a list of or a singular dash component, string or number; optional):
32
38
  组件型,未复制状态图标.
33
39
 
@@ -52,15 +58,15 @@ Keyword arguments:
52
58
 
53
59
  - prop_name (string; optional):
54
60
  Holds which property is loading."""
55
- _children_props = ['beforeIcon', 'afterIcon']
56
- _base_nodes = ['beforeIcon', 'afterIcon', 'children']
61
+ _children_props = ['tooltips', 'beforeIcon', 'afterIcon']
62
+ _base_nodes = ['tooltips', 'beforeIcon', 'afterIcon', 'children']
57
63
  _namespace = 'feffery_antd_components'
58
64
  _type = 'AntdCopyText'
59
65
  @_explicitize_args
60
- def __init__(self, id=Component.UNDEFINED, key=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, locale=Component.UNDEFINED, text=Component.UNDEFINED, beforeIcon=Component.UNDEFINED, afterIcon=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
61
- self._prop_names = ['id', 'key', 'style', 'className', 'locale', 'text', 'beforeIcon', 'afterIcon', 'data-*', 'aria-*', 'loading_state']
66
+ def __init__(self, id=Component.UNDEFINED, key=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, locale=Component.UNDEFINED, text=Component.UNDEFINED, format=Component.UNDEFINED, tooltips=Component.UNDEFINED, beforeIcon=Component.UNDEFINED, afterIcon=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
67
+ self._prop_names = ['id', 'key', 'style', 'className', 'locale', 'text', 'format', 'tooltips', 'beforeIcon', 'afterIcon', 'data-*', 'aria-*', 'loading_state']
62
68
  self._valid_wildcard_attributes = ['data-', 'aria-']
63
- self.available_properties = ['id', 'key', 'style', 'className', 'locale', 'text', 'beforeIcon', 'afterIcon', 'data-*', 'aria-*', 'loading_state']
69
+ self.available_properties = ['id', 'key', 'style', 'className', 'locale', 'text', 'format', 'tooltips', 'beforeIcon', 'afterIcon', 'data-*', 'aria-*', 'loading_state']
64
70
  self.available_wildcard_properties = ['data-', 'aria-']
65
71
  _explicit_args = kwargs.pop('_explicit_args')
66
72
  _locals = locals()
@@ -18,6 +18,9 @@ Keyword arguments:
18
18
  - children (a list of or a singular dash component, string or number; optional):
19
19
  组件型,内嵌元素.
20
20
 
21
+ - token (dict; optional):
22
+ 监听当前组件所在作用范围对应的样式`token`参数,需配合上层`AntdConfigProvider`组件使用.
23
+
21
24
  - loading_state (dict; optional)
22
25
 
23
26
  `loading_state` is a dict with keys:
@@ -35,10 +38,10 @@ Keyword arguments:
35
38
  _namespace = 'feffery_antd_components'
36
39
  _type = 'Fragment'
37
40
  @_explicitize_args
38
- def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
39
- self._prop_names = ['id', 'key', 'children', 'loading_state']
41
+ def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, token=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
42
+ self._prop_names = ['id', 'key', 'children', 'token', 'loading_state']
40
43
  self._valid_wildcard_attributes = []
41
- self.available_properties = ['id', 'key', 'children', 'loading_state']
44
+ self.available_properties = ['id', 'key', 'children', 'token', 'loading_state']
42
45
  self.available_wildcard_properties = []
43
46
  _explicit_args = kwargs.pop('_explicit_args')
44
47
  _locals = locals()