feffery_antd_components 0.4.0-rc9 → 0.4.0

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.0-rc9
3
+ Version: 0.4.0
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.0-rc9"
5
+ version = "0.4.0"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -58,14 +58,6 @@ Keyword arguments:
58
58
  - valueStyle (dict; optional):
59
59
  数值内容css样式.
60
60
 
61
- - finishEvent (dict; optional):
62
- 监听倒计时结束事件.
63
-
64
- `finishEvent` is a dict with keys:
65
-
66
- - timestamp (number; optional):
67
- 事件时间戳.
68
-
69
61
  - data-* (string; optional):
70
62
  `data-*`格式属性通配.
71
63
 
@@ -75,12 +67,6 @@ Keyword arguments:
75
67
  _base_nodes = ['prefix', 'suffix', 'title', 'children']
76
68
  _namespace = 'feffery_antd_components'
77
69
  _type = 'AntdCountup'
78
- FinishEvent = TypedDict(
79
- "FinishEvent",
80
- {
81
- "timestamp": NotRequired[NumberType]
82
- }
83
- )
84
70
 
85
71
 
86
72
  def __init__(
@@ -97,12 +83,11 @@ Keyword arguments:
97
83
  title: typing.Optional[ComponentType] = None,
98
84
  titleTooltip: typing.Optional[str] = None,
99
85
  valueStyle: typing.Optional[dict] = None,
100
- finishEvent: typing.Optional["FinishEvent"] = None,
101
86
  **kwargs
102
87
  ):
103
- self._prop_names = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', 'finishEvent', 'data-*', 'aria-*']
88
+ self._prop_names = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', 'data-*', 'aria-*']
104
89
  self._valid_wildcard_attributes = ['data-', 'aria-']
105
- self.available_properties = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', 'finishEvent', 'data-*', 'aria-*']
90
+ self.available_properties = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', 'data-*', 'aria-*']
106
91
  self.available_wildcard_properties = ['data-', 'aria-']
107
92
  _explicit_args = kwargs.pop('_explicit_args')
108
93
  _locals = locals()
@@ -160,17 +160,23 @@ Keyword arguments:
160
160
 
161
161
  `width` is a number | string | dict with keys:
162
162
 
163
- - xs (number | string; optional)
163
+ - xs (number | string; optional):
164
+ 对应页面宽度<576px的响应式断点.
164
165
 
165
- - sm (number | string; optional)
166
+ - sm (number | string; optional):
167
+ 对应页面宽度≥576px的响应式断点.
166
168
 
167
- - md (number | string; optional)
169
+ - md (number | string; optional):
170
+ 对应页面宽度≥768px的响应式断点.
168
171
 
169
- - lg (number | string; optional)
172
+ - lg (number | string; optional):
173
+ 对应页面宽度≥992px的响应式断点.
170
174
 
171
- - xl (number | string; optional)
175
+ - xl (number | string; optional):
176
+ 对应页面宽度≥1200px的响应式断点.
172
177
 
173
- - xxl (number | string; optional)
178
+ - xxl (number | string; optional):
179
+ 对应页面宽度≥1600px的响应式断点.
174
180
 
175
181
  - centered (boolean; default False):
176
182
  是否垂直居中显示对话框 默认值:`False`.