feffery_utils_components 0.1.16 → 0.1.17
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 +2 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyAnimated.py +51 -0
- package/build/lib/feffery_utils_components/FefferyMotion.py +91 -0
- package/build/lib/feffery_utils_components/_imports_.py +2 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +6 -6
- package/build/lib/feffery_utils_components/metadata.json +325 -0
- package/build/lib/feffery_utils_components/package-info.json +3 -1
- package/feffery_utils_components/FefferyAnimated.py +51 -0
- package/feffery_utils_components/FefferyMotion.py +91 -0
- package/feffery_utils_components/_imports_.py +2 -0
- package/feffery_utils_components/feffery_utils_components.min.js +6 -6
- package/feffery_utils_components/metadata.json +325 -0
- package/feffery_utils_components/package-info.json +3 -1
- package/package.json +3 -1
- package/setup.py +8 -3
- package/src/FefferyUtilsComponents.jl +4 -3
- package/src/jl/''_fefferyanimated.jl +34 -0
- package/src/jl/''_fefferymotion.jl +54 -0
- package/src/lib/components/animations/FefferyMotion.react.js +218 -0
- package/src/lib/index.js +3 -1
- package/tests/MotionTest/app.py +59 -0
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
export(''FefferyMotion)
|
|
3
4
|
export(''FefferyBlockColorPicker)
|
|
4
5
|
export(''FefferyCircleColorPicker)
|
|
5
6
|
export(''FefferyEyeDropper)
|
|
@@ -56,3 +57,4 @@ export(''FefferySortableItem)
|
|
|
56
57
|
export(''FefferySplit)
|
|
57
58
|
export(''FefferySplitPane)
|
|
58
59
|
export(''FefferySessionStorage)
|
|
60
|
+
export(FefferyAnimated)
|
package/Project.toml
CHANGED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyAnimated(Component):
|
|
7
|
+
"""A FefferyAnimated component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
13
|
+
|
|
14
|
+
- id (string; optional)
|
|
15
|
+
|
|
16
|
+
- animate (dict; optional)
|
|
17
|
+
|
|
18
|
+
- className (string; optional)
|
|
19
|
+
|
|
20
|
+
- initial (dict; optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (dict; optional)
|
|
23
|
+
|
|
24
|
+
`loading_state` is a dict with keys:
|
|
25
|
+
|
|
26
|
+
- component_name (string; optional):
|
|
27
|
+
Holds the name of the component that is loading.
|
|
28
|
+
|
|
29
|
+
- is_loading (boolean; optional):
|
|
30
|
+
Determines if the component is loading or not.
|
|
31
|
+
|
|
32
|
+
- prop_name (string; optional):
|
|
33
|
+
Holds which property is loading.
|
|
34
|
+
|
|
35
|
+
- style (dict; optional)"""
|
|
36
|
+
_children_props = []
|
|
37
|
+
_base_nodes = ['children']
|
|
38
|
+
_namespace = 'feffery_utils_components'
|
|
39
|
+
_type = 'FefferyAnimated'
|
|
40
|
+
@_explicitize_args
|
|
41
|
+
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, initial=Component.UNDEFINED, animate=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['children', 'id', 'animate', 'className', 'initial', 'loading_state', 'style']
|
|
43
|
+
self._valid_wildcard_attributes = []
|
|
44
|
+
self.available_properties = ['children', 'id', 'animate', 'className', 'initial', 'loading_state', 'style']
|
|
45
|
+
self.available_wildcard_properties = []
|
|
46
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
|
+
_locals = locals()
|
|
48
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
49
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
50
|
+
|
|
51
|
+
super(FefferyAnimated, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyMotion(Component):
|
|
7
|
+
"""A FefferyMotion component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
13
|
+
|
|
14
|
+
- id (string; optional)
|
|
15
|
+
|
|
16
|
+
- animate (dict | string; optional)
|
|
17
|
+
|
|
18
|
+
- className (string; optional)
|
|
19
|
+
|
|
20
|
+
- exit (dict | string; optional)
|
|
21
|
+
|
|
22
|
+
- initial (dict | boolean | string; optional)
|
|
23
|
+
|
|
24
|
+
- loading_state (dict; optional)
|
|
25
|
+
|
|
26
|
+
`loading_state` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- component_name (string; optional):
|
|
29
|
+
Holds the name of the component that is loading.
|
|
30
|
+
|
|
31
|
+
- is_loading (boolean; optional):
|
|
32
|
+
Determines if the component is loading or not.
|
|
33
|
+
|
|
34
|
+
- prop_name (string; optional):
|
|
35
|
+
Holds which property is loading.
|
|
36
|
+
|
|
37
|
+
- style (dict; optional)
|
|
38
|
+
|
|
39
|
+
- transition (dict; optional)
|
|
40
|
+
|
|
41
|
+
`transition` is a dict with keys:
|
|
42
|
+
|
|
43
|
+
- delay (number; optional)
|
|
44
|
+
|
|
45
|
+
- duration (number; optional)
|
|
46
|
+
|
|
47
|
+
- ease (a value equal to: 'linear', 'easeIn', 'easeOut', 'easeInOut', 'circIn', 'circOut', 'circInOut', 'backIn', 'backOut', 'backInOut', 'anticipate'; optional)
|
|
48
|
+
|
|
49
|
+
- repeat (number | a value equal to: 'infinity'; optional)
|
|
50
|
+
|
|
51
|
+
- repeatDelay (number; optional)
|
|
52
|
+
|
|
53
|
+
- repeatType (a value equal to: 'loop', 'reverse', 'mirror'; optional)
|
|
54
|
+
|
|
55
|
+
- times (list of numbers; optional)
|
|
56
|
+
|
|
57
|
+
- type (a value equal to: 'spring', 'tween'; optional)
|
|
58
|
+
|
|
59
|
+
- variants (dict; optional)
|
|
60
|
+
|
|
61
|
+
- viewport (dict; optional)
|
|
62
|
+
|
|
63
|
+
`viewport` is a dict with keys:
|
|
64
|
+
|
|
65
|
+
- amount (a value equal to: 'some', 'all'; optional)
|
|
66
|
+
|
|
67
|
+
- margin (string; optional)
|
|
68
|
+
|
|
69
|
+
- once (boolean; optional)
|
|
70
|
+
|
|
71
|
+
- whileHover (dict | string; optional)
|
|
72
|
+
|
|
73
|
+
- whileInView (dict | string; optional)
|
|
74
|
+
|
|
75
|
+
- whileTap (dict | string; optional)"""
|
|
76
|
+
_children_props = []
|
|
77
|
+
_base_nodes = ['children']
|
|
78
|
+
_namespace = 'feffery_utils_components'
|
|
79
|
+
_type = 'FefferyMotion'
|
|
80
|
+
@_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
|
+
self._valid_wildcard_attributes = []
|
|
84
|
+
self.available_properties = ['children', 'id', 'animate', 'className', 'exit', 'initial', 'loading_state', 'style', 'transition', 'variants', 'viewport', 'whileHover', 'whileInView', 'whileTap']
|
|
85
|
+
self.available_wildcard_properties = []
|
|
86
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
|
+
_locals = locals()
|
|
88
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
89
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
90
|
+
|
|
91
|
+
super(FefferyMotion, self).__init__(children=children, **args)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from .FefferyMotion import FefferyMotion
|
|
1
2
|
from .FefferyBlockColorPicker import FefferyBlockColorPicker
|
|
2
3
|
from .FefferyCircleColorPicker import FefferyCircleColorPicker
|
|
3
4
|
from .FefferyEyeDropper import FefferyEyeDropper
|
|
@@ -56,6 +57,7 @@ from .FefferySplitPane import FefferySplitPane
|
|
|
56
57
|
from .FefferySessionStorage import FefferySessionStorage
|
|
57
58
|
|
|
58
59
|
__all__ = [
|
|
60
|
+
"FefferyMotion",
|
|
59
61
|
"FefferyBlockColorPicker",
|
|
60
62
|
"FefferyCircleColorPicker",
|
|
61
63
|
"FefferyEyeDropper",
|