feffery_utils_components 0.1.28 → 0.1.29

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: fefferyUtilsComponents
2
2
  Title: Build more utility components for Plotly Dash.
3
- Version: 0.1.28
3
+ Version: 0.1.29
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -57,6 +57,7 @@ export(''FefferyLocation)
57
57
  export(''FefferyMousePosition)
58
58
  export(''FefferyResponsive)
59
59
  export(''FefferyWindowSize)
60
+ export(''FefferyResizable)
60
61
  export(''FefferySortableContainer)
61
62
  export(''FefferySortableItem)
62
63
  export(''FefferySplit)
package/Project.toml CHANGED
@@ -2,7 +2,7 @@
2
2
  name = "FefferyUtilsComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-ea89cd6d0d23"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.1.28"
5
+ version = "0.1.29"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -0,0 +1,111 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyResizable(Component):
7
+ """A FefferyResizable 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
+ - bounds (a value equal to: 'window', 'parent'; default 'window')
17
+
18
+ - className (string; optional)
19
+
20
+ - defaultSize (dict; optional)
21
+
22
+ `defaultSize` is a dict with keys:
23
+
24
+ - height (number | string; optional)
25
+
26
+ - width (number | string; optional)
27
+
28
+ - direction (list of a value equal to: 'top', 'right', 'bottom', 'left', 'topRight', 'bottomRight', 'bottomLeft', 'topLeft's; default ['top', 'right', 'bottom', 'left', 'topRight', 'bottomRight', 'bottomLeft', 'topLeft'])
29
+
30
+ - grid (list of numbers; default [1, 1])
31
+
32
+ - handleClassNames (dict; optional)
33
+
34
+ `handleClassNames` is a dict with keys:
35
+
36
+ - bottom (string; optional)
37
+
38
+ - bottomLeft (string; optional)
39
+
40
+ - bottomRight (string; optional)
41
+
42
+ - left (string; optional)
43
+
44
+ - right (string; optional)
45
+
46
+ - top (string; optional)
47
+
48
+ - topLeft (string; optional)
49
+
50
+ - topRight (string; optional)
51
+
52
+ - handleStyles (dict; optional)
53
+
54
+ `handleStyles` is a dict with keys:
55
+
56
+ - bottom (dict; optional)
57
+
58
+ - bottomLeft (dict; optional)
59
+
60
+ - bottomRight (dict; optional)
61
+
62
+ - left (dict; optional)
63
+
64
+ - right (dict; optional)
65
+
66
+ - top (dict; optional)
67
+
68
+ - topLeft (dict; optional)
69
+
70
+ - topRight (dict; optional)
71
+
72
+ - key (string; optional)
73
+
74
+ - loading_state (dict; optional)
75
+
76
+ `loading_state` is a dict with keys:
77
+
78
+ - component_name (string; optional):
79
+ Holds the name of the component that is loading.
80
+
81
+ - is_loading (boolean; optional):
82
+ Determines if the component is loading or not.
83
+
84
+ - prop_name (string; optional):
85
+ Holds which property is loading.
86
+
87
+ - maxHeight (number | string; optional)
88
+
89
+ - maxWidth (number | string; optional)
90
+
91
+ - minHeight (number | string; default 10)
92
+
93
+ - minWidth (number | string; default 10)
94
+
95
+ - style (dict; optional)"""
96
+ _children_props = []
97
+ _base_nodes = ['children']
98
+ _namespace = 'feffery_utils_components'
99
+ _type = 'FefferyResizable'
100
+ @_explicitize_args
101
+ def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, defaultSize=Component.UNDEFINED, minWidth=Component.UNDEFINED, minHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, maxHeight=Component.UNDEFINED, direction=Component.UNDEFINED, grid=Component.UNDEFINED, bounds=Component.UNDEFINED, handleStyles=Component.UNDEFINED, handleClassNames=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
102
+ self._prop_names = ['children', 'id', 'bounds', 'className', 'defaultSize', 'direction', 'grid', 'handleClassNames', 'handleStyles', 'key', 'loading_state', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'style']
103
+ self._valid_wildcard_attributes = []
104
+ self.available_properties = ['children', 'id', 'bounds', 'className', 'defaultSize', 'direction', 'grid', 'handleClassNames', 'handleStyles', 'key', 'loading_state', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'style']
105
+ self.available_wildcard_properties = []
106
+ _explicit_args = kwargs.pop('_explicit_args')
107
+ _locals = locals()
108
+ _locals.update(kwargs) # For wildcard attrs and excess named props
109
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
110
+
111
+ super(FefferyResizable, self).__init__(children=children, **args)
@@ -55,6 +55,7 @@ from .FefferyLocation import FefferyLocation
55
55
  from .FefferyMousePosition import FefferyMousePosition
56
56
  from .FefferyResponsive import FefferyResponsive
57
57
  from .FefferyWindowSize import FefferyWindowSize
58
+ from .FefferyResizable import FefferyResizable
58
59
  from .FefferySortableContainer import FefferySortableContainer
59
60
  from .FefferySortableItem import FefferySortableItem
60
61
  from .FefferySplit import FefferySplit
@@ -120,6 +121,7 @@ __all__ = [
120
121
  "FefferyMousePosition",
121
122
  "FefferyResponsive",
122
123
  "FefferyWindowSize",
124
+ "FefferyResizable",
123
125
  "FefferySortableContainer",
124
126
  "FefferySortableItem",
125
127
  "FefferySplit",