feffery_utils_components 0.1.21 → 0.1.22
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 +1 -1
- package/NAMESPACE +1 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyCountUp.py +68 -0
- package/build/lib/feffery_utils_components/FefferyDiv.py +13 -25
- package/build/lib/feffery_utils_components/FefferyMotion.py +5 -3
- package/build/lib/feffery_utils_components/_imports_.py +2 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +4 -4
- package/build/lib/feffery_utils_components/metadata.json +164 -39
- package/build/lib/feffery_utils_components/package-info.json +3 -2
- package/feffery_utils_components/FefferyCountUp.py +68 -0
- package/feffery_utils_components/FefferyDiv.py +13 -25
- package/feffery_utils_components/FefferyMotion.py +5 -3
- package/feffery_utils_components/_imports_.py +2 -0
- package/feffery_utils_components/feffery_utils_components.min.js +4 -4
- package/feffery_utils_components/metadata.json +164 -39
- package/feffery_utils_components/package-info.json +3 -2
- package/package.json +3 -2
- package/src/FefferyUtilsComponents.jl +4 -3
- package/src/jl/''_fefferycountup.jl +34 -0
- package/src/jl/''_fefferydiv.jl +6 -12
- package/src/jl/''_fefferymotion.jl +2 -1
- package/src/lib/components/FefferyCountUp.react.js +116 -0
- package/src/lib/components/FefferyDiv.react.js +10 -69
- package/src/lib/components/animations/FefferyMotion.react.js +4 -0
- package/src/lib/index.js +3 -1
- package/usage.py +17 -100
|
@@ -120,6 +120,13 @@
|
|
|
120
120
|
"required": false,
|
|
121
121
|
"description": ""
|
|
122
122
|
},
|
|
123
|
+
"key": {
|
|
124
|
+
"type": {
|
|
125
|
+
"name": "string"
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": ""
|
|
129
|
+
},
|
|
123
130
|
"initial": {
|
|
124
131
|
"type": {
|
|
125
132
|
"name": "union",
|
|
@@ -1797,9 +1804,9 @@
|
|
|
1797
1804
|
}
|
|
1798
1805
|
}
|
|
1799
1806
|
},
|
|
1800
|
-
"src/lib/components/
|
|
1807
|
+
"src/lib/components/FefferyCountUp.react.js": {
|
|
1801
1808
|
"description": "",
|
|
1802
|
-
"displayName": "
|
|
1809
|
+
"displayName": "FefferyCountUp",
|
|
1803
1810
|
"methods": [],
|
|
1804
1811
|
"props": {
|
|
1805
1812
|
"id": {
|
|
@@ -1809,13 +1816,111 @@
|
|
|
1809
1816
|
"required": false,
|
|
1810
1817
|
"description": ""
|
|
1811
1818
|
},
|
|
1812
|
-
"
|
|
1819
|
+
"className": {
|
|
1820
|
+
"type": {
|
|
1821
|
+
"name": "string"
|
|
1822
|
+
},
|
|
1823
|
+
"required": false,
|
|
1824
|
+
"description": ""
|
|
1825
|
+
},
|
|
1826
|
+
"style": {
|
|
1813
1827
|
"type": {
|
|
1814
1828
|
"name": "object"
|
|
1815
1829
|
},
|
|
1816
1830
|
"required": false,
|
|
1817
1831
|
"description": ""
|
|
1818
1832
|
},
|
|
1833
|
+
"key": {
|
|
1834
|
+
"type": {
|
|
1835
|
+
"name": "string"
|
|
1836
|
+
},
|
|
1837
|
+
"required": false,
|
|
1838
|
+
"description": ""
|
|
1839
|
+
},
|
|
1840
|
+
"end": {
|
|
1841
|
+
"type": {
|
|
1842
|
+
"name": "number"
|
|
1843
|
+
},
|
|
1844
|
+
"required": true,
|
|
1845
|
+
"description": ""
|
|
1846
|
+
},
|
|
1847
|
+
"start": {
|
|
1848
|
+
"type": {
|
|
1849
|
+
"name": "number"
|
|
1850
|
+
},
|
|
1851
|
+
"required": false,
|
|
1852
|
+
"description": "",
|
|
1853
|
+
"defaultValue": {
|
|
1854
|
+
"value": "0",
|
|
1855
|
+
"computed": false
|
|
1856
|
+
}
|
|
1857
|
+
},
|
|
1858
|
+
"duration": {
|
|
1859
|
+
"type": {
|
|
1860
|
+
"name": "number"
|
|
1861
|
+
},
|
|
1862
|
+
"required": false,
|
|
1863
|
+
"description": "",
|
|
1864
|
+
"defaultValue": {
|
|
1865
|
+
"value": "2",
|
|
1866
|
+
"computed": false
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
"decimals": {
|
|
1870
|
+
"type": {
|
|
1871
|
+
"name": "number"
|
|
1872
|
+
},
|
|
1873
|
+
"required": false,
|
|
1874
|
+
"description": "",
|
|
1875
|
+
"defaultValue": {
|
|
1876
|
+
"value": "0",
|
|
1877
|
+
"computed": false
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
"enableScrollSpy": {
|
|
1881
|
+
"type": {
|
|
1882
|
+
"name": "bool"
|
|
1883
|
+
},
|
|
1884
|
+
"required": false,
|
|
1885
|
+
"description": "",
|
|
1886
|
+
"defaultValue": {
|
|
1887
|
+
"value": "true",
|
|
1888
|
+
"computed": false
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"scrollSpyDelay": {
|
|
1892
|
+
"type": {
|
|
1893
|
+
"name": "number"
|
|
1894
|
+
},
|
|
1895
|
+
"required": false,
|
|
1896
|
+
"description": "",
|
|
1897
|
+
"defaultValue": {
|
|
1898
|
+
"value": "0",
|
|
1899
|
+
"computed": false
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
"scrollSpyOnce": {
|
|
1903
|
+
"type": {
|
|
1904
|
+
"name": "bool"
|
|
1905
|
+
},
|
|
1906
|
+
"required": false,
|
|
1907
|
+
"description": "",
|
|
1908
|
+
"defaultValue": {
|
|
1909
|
+
"value": "true",
|
|
1910
|
+
"computed": false
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
"separator": {
|
|
1914
|
+
"type": {
|
|
1915
|
+
"name": "string"
|
|
1916
|
+
},
|
|
1917
|
+
"required": false,
|
|
1918
|
+
"description": "",
|
|
1919
|
+
"defaultValue": {
|
|
1920
|
+
"value": "','",
|
|
1921
|
+
"computed": false
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1819
1924
|
"loading_state": {
|
|
1820
1925
|
"type": {
|
|
1821
1926
|
"name": "shape",
|
|
@@ -1849,9 +1954,9 @@
|
|
|
1849
1954
|
}
|
|
1850
1955
|
}
|
|
1851
1956
|
},
|
|
1852
|
-
"src/lib/components/
|
|
1957
|
+
"src/lib/components/FefferyCssVar.react.js": {
|
|
1853
1958
|
"description": "",
|
|
1854
|
-
"displayName": "
|
|
1959
|
+
"displayName": "FefferyCssVar",
|
|
1855
1960
|
"methods": [],
|
|
1856
1961
|
"props": {
|
|
1857
1962
|
"id": {
|
|
@@ -1861,64 +1966,68 @@
|
|
|
1861
1966
|
"required": false,
|
|
1862
1967
|
"description": ""
|
|
1863
1968
|
},
|
|
1864
|
-
"
|
|
1969
|
+
"cssVars": {
|
|
1865
1970
|
"type": {
|
|
1866
|
-
"name": "
|
|
1971
|
+
"name": "object"
|
|
1867
1972
|
},
|
|
1868
1973
|
"required": false,
|
|
1869
1974
|
"description": ""
|
|
1870
1975
|
},
|
|
1871
|
-
"
|
|
1976
|
+
"loading_state": {
|
|
1872
1977
|
"type": {
|
|
1873
|
-
"name": "
|
|
1978
|
+
"name": "shape",
|
|
1979
|
+
"value": {
|
|
1980
|
+
"is_loading": {
|
|
1981
|
+
"name": "bool",
|
|
1982
|
+
"description": "Determines if the component is loading or not",
|
|
1983
|
+
"required": false
|
|
1984
|
+
},
|
|
1985
|
+
"prop_name": {
|
|
1986
|
+
"name": "string",
|
|
1987
|
+
"description": "Holds which property is loading",
|
|
1988
|
+
"required": false
|
|
1989
|
+
},
|
|
1990
|
+
"component_name": {
|
|
1991
|
+
"name": "string",
|
|
1992
|
+
"description": "Holds the name of the component that is loading",
|
|
1993
|
+
"required": false
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1874
1996
|
},
|
|
1875
1997
|
"required": false,
|
|
1876
1998
|
"description": ""
|
|
1877
1999
|
},
|
|
1878
|
-
"
|
|
2000
|
+
"setProps": {
|
|
1879
2001
|
"type": {
|
|
1880
|
-
"name": "
|
|
2002
|
+
"name": "func"
|
|
1881
2003
|
},
|
|
1882
2004
|
"required": false,
|
|
1883
|
-
"description": ""
|
|
1884
|
-
}
|
|
1885
|
-
|
|
2005
|
+
"description": "Dash-assigned callback that should be called to report property changes\r\nto Dash, to make them available for callbacks."
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
},
|
|
2009
|
+
"src/lib/components/FefferyDiv.react.js": {
|
|
2010
|
+
"description": "",
|
|
2011
|
+
"displayName": "FefferyDiv",
|
|
2012
|
+
"methods": [],
|
|
2013
|
+
"props": {
|
|
2014
|
+
"id": {
|
|
1886
2015
|
"type": {
|
|
1887
|
-
"name": "
|
|
1888
|
-
"value": {
|
|
1889
|
-
"index": {
|
|
1890
|
-
"name": "number",
|
|
1891
|
-
"required": false
|
|
1892
|
-
},
|
|
1893
|
-
"element": {
|
|
1894
|
-
"name": "node",
|
|
1895
|
-
"required": false
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
2016
|
+
"name": "string"
|
|
1898
2017
|
},
|
|
1899
2018
|
"required": false,
|
|
1900
2019
|
"description": ""
|
|
1901
2020
|
},
|
|
1902
|
-
"
|
|
2021
|
+
"key": {
|
|
1903
2022
|
"type": {
|
|
1904
|
-
"name": "
|
|
1905
|
-
"value": {
|
|
1906
|
-
"index": {
|
|
1907
|
-
"name": "number",
|
|
1908
|
-
"required": false
|
|
1909
|
-
},
|
|
1910
|
-
"element": {
|
|
1911
|
-
"name": "node",
|
|
1912
|
-
"required": false
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
2023
|
+
"name": "string"
|
|
1915
2024
|
},
|
|
1916
2025
|
"required": false,
|
|
1917
2026
|
"description": ""
|
|
1918
2027
|
},
|
|
1919
|
-
"
|
|
2028
|
+
"children": {
|
|
1920
2029
|
"type": {
|
|
1921
|
-
"name": "
|
|
2030
|
+
"name": "node"
|
|
1922
2031
|
},
|
|
1923
2032
|
"required": false,
|
|
1924
2033
|
"description": ""
|
|
@@ -2037,6 +2146,22 @@
|
|
|
2037
2146
|
"name": "number",
|
|
2038
2147
|
"required": false
|
|
2039
2148
|
},
|
|
2149
|
+
"clientX": {
|
|
2150
|
+
"name": "number",
|
|
2151
|
+
"required": false
|
|
2152
|
+
},
|
|
2153
|
+
"clientY": {
|
|
2154
|
+
"name": "number",
|
|
2155
|
+
"required": false
|
|
2156
|
+
},
|
|
2157
|
+
"screenX": {
|
|
2158
|
+
"name": "number",
|
|
2159
|
+
"required": false
|
|
2160
|
+
},
|
|
2161
|
+
"screenY": {
|
|
2162
|
+
"name": "number",
|
|
2163
|
+
"required": false
|
|
2164
|
+
},
|
|
2040
2165
|
"timestamp": {
|
|
2041
2166
|
"name": "number",
|
|
2042
2167
|
"required": false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_utils_components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Build more utility components for Plotly Dash.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"react-color": "^2.19.3",
|
|
45
45
|
"react-colorful": "^5.6.1",
|
|
46
46
|
"react-copy-to-clipboard": "^5.0.4",
|
|
47
|
+
"react-countup": "^6.4.2",
|
|
47
48
|
"react-device-detect": "^2.2.2",
|
|
48
49
|
"react-flip-numbers": "^3.0.7",
|
|
49
50
|
"react-grid-layout": "^1.3.4",
|
|
@@ -114,4 +115,4 @@
|
|
|
114
115
|
"node": ">=8.11.0",
|
|
115
116
|
"npm": ">=6.1.0"
|
|
116
117
|
}
|
|
117
|
-
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyCountUp(Component):
|
|
7
|
+
"""A FefferyCountUp component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- decimals (number; default 0)
|
|
17
|
+
|
|
18
|
+
- duration (number; default 2)
|
|
19
|
+
|
|
20
|
+
- enableScrollSpy (boolean; default True)
|
|
21
|
+
|
|
22
|
+
- end (number; required)
|
|
23
|
+
|
|
24
|
+
- key (string; optional)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- scrollSpyDelay (number; default 0)
|
|
40
|
+
|
|
41
|
+
- scrollSpyOnce (boolean; default True)
|
|
42
|
+
|
|
43
|
+
- separator (string; default ',')
|
|
44
|
+
|
|
45
|
+
- start (number; default 0)
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)"""
|
|
48
|
+
_children_props = []
|
|
49
|
+
_base_nodes = ['children']
|
|
50
|
+
_namespace = 'feffery_utils_components'
|
|
51
|
+
_type = 'FefferyCountUp'
|
|
52
|
+
@_explicitize_args
|
|
53
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, end=Component.REQUIRED, start=Component.UNDEFINED, duration=Component.UNDEFINED, decimals=Component.UNDEFINED, enableScrollSpy=Component.UNDEFINED, scrollSpyDelay=Component.UNDEFINED, scrollSpyOnce=Component.UNDEFINED, separator=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['id', 'className', 'decimals', 'duration', 'enableScrollSpy', 'end', 'key', 'loading_state', 'scrollSpyDelay', 'scrollSpyOnce', 'separator', 'start', 'style']
|
|
55
|
+
self._valid_wildcard_attributes = []
|
|
56
|
+
self.available_properties = ['id', 'className', 'decimals', 'duration', 'enableScrollSpy', 'end', 'key', 'loading_state', 'scrollSpyDelay', 'scrollSpyOnce', 'separator', 'start', 'style']
|
|
57
|
+
self.available_wildcard_properties = []
|
|
58
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
59
|
+
_locals = locals()
|
|
60
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
61
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
62
|
+
|
|
63
|
+
for k in ['end']:
|
|
64
|
+
if k not in args:
|
|
65
|
+
raise TypeError(
|
|
66
|
+
'Required argument `' + k + '` was not specified.')
|
|
67
|
+
|
|
68
|
+
super(FefferyCountUp, self).__init__(**args)
|
|
@@ -17,8 +17,6 @@ Keyword arguments:
|
|
|
17
17
|
|
|
18
18
|
- _width (number; optional)
|
|
19
19
|
|
|
20
|
-
- appendChild (a list of or a singular dash component, string or number; optional)
|
|
21
|
-
|
|
22
20
|
- className (string | dict; optional)
|
|
23
21
|
|
|
24
22
|
- clickAwayCount (number; default 0)
|
|
@@ -27,28 +25,26 @@ Keyword arguments:
|
|
|
27
25
|
|
|
28
26
|
`contextMenuEvent` is a dict with keys:
|
|
29
27
|
|
|
28
|
+
- clientX (number; optional)
|
|
29
|
+
|
|
30
|
+
- clientY (number; optional)
|
|
31
|
+
|
|
30
32
|
- pageX (number; optional)
|
|
31
33
|
|
|
32
34
|
- pageY (number; optional)
|
|
33
35
|
|
|
36
|
+
- screenX (number; optional)
|
|
37
|
+
|
|
38
|
+
- screenY (number; optional)
|
|
39
|
+
|
|
34
40
|
- timestamp (number; optional)
|
|
35
41
|
|
|
36
42
|
- debounceWait (number; default 150)
|
|
37
43
|
|
|
38
|
-
- deleteChildIndex (number; optional)
|
|
39
|
-
|
|
40
44
|
- enableClickAway (boolean; default False)
|
|
41
45
|
|
|
42
46
|
- enableListenContextMenu (boolean; default False)
|
|
43
47
|
|
|
44
|
-
- insertChild (dict; optional)
|
|
45
|
-
|
|
46
|
-
`insertChild` is a dict with keys:
|
|
47
|
-
|
|
48
|
-
- element (a list of or a singular dash component, string or number; optional)
|
|
49
|
-
|
|
50
|
-
- index (number; optional)
|
|
51
|
-
|
|
52
48
|
- isHovering (boolean; optional)
|
|
53
49
|
|
|
54
50
|
- key (string; optional)
|
|
@@ -74,28 +70,20 @@ Keyword arguments:
|
|
|
74
70
|
|
|
75
71
|
- nDoubleClicks (number; default 0)
|
|
76
72
|
|
|
77
|
-
- replaceChild (dict; optional)
|
|
78
|
-
|
|
79
|
-
`replaceChild` is a dict with keys:
|
|
80
|
-
|
|
81
|
-
- element (a list of or a singular dash component, string or number; optional)
|
|
82
|
-
|
|
83
|
-
- index (number; optional)
|
|
84
|
-
|
|
85
73
|
- scrollbar (a value equal to: 'default', 'simple', 'hidden'; default 'default')
|
|
86
74
|
|
|
87
75
|
- shadow (a value equal to: 'no-shadow', 'hover-shadow', 'always-shadow'; default 'no-shadow')
|
|
88
76
|
|
|
89
77
|
- style (dict; optional)"""
|
|
90
|
-
_children_props = [
|
|
91
|
-
_base_nodes = ['
|
|
78
|
+
_children_props = []
|
|
79
|
+
_base_nodes = ['children']
|
|
92
80
|
_namespace = 'feffery_utils_components'
|
|
93
81
|
_type = 'FefferyDiv'
|
|
94
82
|
@_explicitize_args
|
|
95
|
-
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED,
|
|
96
|
-
self._prop_names = ['children', 'id', '_height', '_width', '
|
|
83
|
+
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=Component.UNDEFINED, mouseEnterCount=Component.UNDEFINED, mouseLeaveCount=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, isHovering=Component.UNDEFINED, enableClickAway=Component.UNDEFINED, clickAwayCount=Component.UNDEFINED, shadow=Component.UNDEFINED, scrollbar=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
84
|
+
self._prop_names = ['children', 'id', '_height', '_width', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'enableClickAway', 'enableListenContextMenu', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'scrollbar', 'shadow', 'style']
|
|
97
85
|
self._valid_wildcard_attributes = []
|
|
98
|
-
self.available_properties = ['children', 'id', '_height', '_width', '
|
|
86
|
+
self.available_properties = ['children', 'id', '_height', '_width', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'enableClickAway', 'enableListenContextMenu', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'scrollbar', 'shadow', 'style']
|
|
99
87
|
self.available_wildcard_properties = []
|
|
100
88
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
101
89
|
_locals = locals()
|
|
@@ -21,6 +21,8 @@ Keyword arguments:
|
|
|
21
21
|
|
|
22
22
|
- initial (dict | boolean | string; optional)
|
|
23
23
|
|
|
24
|
+
- key (string; optional)
|
|
25
|
+
|
|
24
26
|
- loading_state (dict; optional)
|
|
25
27
|
|
|
26
28
|
`loading_state` is a dict with keys:
|
|
@@ -78,10 +80,10 @@ Keyword arguments:
|
|
|
78
80
|
_namespace = 'feffery_utils_components'
|
|
79
81
|
_type = 'FefferyMotion'
|
|
80
82
|
@_explicitize_args
|
|
81
|
-
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, initial=Component.UNDEFINED, animate=Component.UNDEFINED, exit=Component.UNDEFINED, whileHover=Component.UNDEFINED, whileTap=Component.UNDEFINED, transition=Component.UNDEFINED, whileInView=Component.UNDEFINED, viewport=Component.UNDEFINED, variants=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
82
|
-
self._prop_names = ['children', 'id', 'animate', 'className', 'exit', 'initial', 'loading_state', 'style', 'transition', 'variants', 'viewport', 'whileHover', 'whileInView', 'whileTap']
|
|
83
|
+
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, key=Component.UNDEFINED, initial=Component.UNDEFINED, animate=Component.UNDEFINED, exit=Component.UNDEFINED, whileHover=Component.UNDEFINED, whileTap=Component.UNDEFINED, transition=Component.UNDEFINED, whileInView=Component.UNDEFINED, viewport=Component.UNDEFINED, variants=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
84
|
+
self._prop_names = ['children', 'id', 'animate', 'className', 'exit', 'initial', 'key', 'loading_state', 'style', 'transition', 'variants', 'viewport', 'whileHover', 'whileInView', 'whileTap']
|
|
83
85
|
self._valid_wildcard_attributes = []
|
|
84
|
-
self.available_properties = ['children', 'id', 'animate', 'className', 'exit', 'initial', 'loading_state', 'style', 'transition', 'variants', 'viewport', 'whileHover', 'whileInView', 'whileTap']
|
|
86
|
+
self.available_properties = ['children', 'id', 'animate', 'className', 'exit', 'initial', 'key', 'loading_state', 'style', 'transition', 'variants', 'viewport', 'whileHover', 'whileInView', 'whileTap']
|
|
85
87
|
self.available_wildcard_properties = []
|
|
86
88
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
89
|
_locals = locals()
|
|
@@ -12,6 +12,7 @@ from .FefferyGrid import FefferyGrid
|
|
|
12
12
|
from .FefferyGridItem import FefferyGridItem
|
|
13
13
|
from .FefferyCaptcha import FefferyCaptcha
|
|
14
14
|
from .FefferyCountDown import FefferyCountDown
|
|
15
|
+
from .FefferyCountUp import FefferyCountUp
|
|
15
16
|
from .FefferyCssVar import FefferyCssVar
|
|
16
17
|
from .FefferyDiv import FefferyDiv
|
|
17
18
|
from .FefferyExecuteJs import FefferyExecuteJs
|
|
@@ -70,6 +71,7 @@ __all__ = [
|
|
|
70
71
|
"FefferyGridItem",
|
|
71
72
|
"FefferyCaptcha",
|
|
72
73
|
"FefferyCountDown",
|
|
74
|
+
"FefferyCountUp",
|
|
73
75
|
"FefferyCssVar",
|
|
74
76
|
"FefferyDiv",
|
|
75
77
|
"FefferyExecuteJs",
|