feffery_utils_components 0.1.27 → 0.1.28

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.27
3
+ Version: 0.1.28
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -61,4 +61,5 @@ export(''FefferySortableContainer)
61
61
  export(''FefferySortableItem)
62
62
  export(''FefferySplit)
63
63
  export(''FefferySplitPane)
64
+ export(''FefferyCookie)
64
65
  export(''FefferySessionStorage)
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.27"
5
+ version = "0.1.28"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -0,0 +1,58 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyCookie(Component):
7
+ """A FefferyCookie component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - cookieKey (string; required)
15
+
16
+ - defaultValue (string; optional)
17
+
18
+ - expires (number; optional)
19
+
20
+ - loading_state (dict; optional)
21
+
22
+ `loading_state` is a dict with keys:
23
+
24
+ - component_name (string; optional):
25
+ Holds the name of the component that is loading.
26
+
27
+ - is_loading (boolean; optional):
28
+ Determines if the component is loading or not.
29
+
30
+ - prop_name (string; optional):
31
+ Holds which property is loading.
32
+
33
+ - pathname (string; default '/')
34
+
35
+ - secure (boolean; default False)
36
+
37
+ - value (string; optional)"""
38
+ _children_props = []
39
+ _base_nodes = ['children']
40
+ _namespace = 'feffery_utils_components'
41
+ _type = 'FefferyCookie'
42
+ @_explicitize_args
43
+ def __init__(self, id=Component.UNDEFINED, cookieKey=Component.REQUIRED, defaultValue=Component.UNDEFINED, value=Component.UNDEFINED, expires=Component.UNDEFINED, pathname=Component.UNDEFINED, secure=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
+ self._prop_names = ['id', 'cookieKey', 'defaultValue', 'expires', 'loading_state', 'pathname', 'secure', 'value']
45
+ self._valid_wildcard_attributes = []
46
+ self.available_properties = ['id', 'cookieKey', 'defaultValue', 'expires', 'loading_state', 'pathname', 'secure', 'value']
47
+ self.available_wildcard_properties = []
48
+ _explicit_args = kwargs.pop('_explicit_args')
49
+ _locals = locals()
50
+ _locals.update(kwargs) # For wildcard attrs and excess named props
51
+ args = {k: _locals[k] for k in _explicit_args}
52
+
53
+ for k in ['cookieKey']:
54
+ if k not in args:
55
+ raise TypeError(
56
+ 'Required argument `' + k + '` was not specified.')
57
+
58
+ super(FefferyCookie, self).__init__(**args)
@@ -17,6 +17,12 @@ Keyword arguments:
17
17
 
18
18
  - _width (number; optional)
19
19
 
20
+ - align (string; optional)
21
+
22
+ - border (string; optional)
23
+
24
+ - borderRadius (string | number; optional)
25
+
20
26
  - className (string | dict; optional)
21
27
 
22
28
  - clickAwayCount (number; default 0)
@@ -47,6 +53,8 @@ Keyword arguments:
47
53
 
48
54
  - isHovering (boolean; optional)
49
55
 
56
+ - justify (string; optional)
57
+
50
58
  - key (string; optional)
51
59
 
52
60
  - loading_state (dict; optional)
@@ -62,6 +70,8 @@ Keyword arguments:
62
70
  - prop_name (string; optional):
63
71
  Holds which property is loading.
64
72
 
73
+ - margin (string | number; optional)
74
+
65
75
  - mouseEnterCount (number; default 0)
66
76
 
67
77
  - mouseLeaveCount (number; default 0)
@@ -70,20 +80,24 @@ Keyword arguments:
70
80
 
71
81
  - nDoubleClicks (number; default 0)
72
82
 
83
+ - padding (string | number; optional)
84
+
73
85
  - scrollbar (a value equal to: 'default', 'simple', 'hidden'; default 'default')
74
86
 
75
- - shadow (a value equal to: 'no-shadow', 'hover-shadow', 'always-shadow'; default 'no-shadow')
87
+ - shadow (a value equal to: 'no-shadow', 'hover-shadow', 'always-shadow', 'hover-shadow-light', 'always-shadow-light'; default 'no-shadow')
88
+
89
+ - style (dict; optional)
76
90
 
77
- - style (dict; optional)"""
91
+ - textAlign (a value equal to: 'left', 'center', 'right'; optional)"""
78
92
  _children_props = []
79
93
  _base_nodes = ['children']
80
94
  _namespace = 'feffery_utils_components'
81
95
  _type = 'FefferyDiv'
82
96
  @_explicitize_args
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
+ 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, textAlign=Component.UNDEFINED, justify=Component.UNDEFINED, align=Component.UNDEFINED, padding=Component.UNDEFINED, margin=Component.UNDEFINED, border=Component.UNDEFINED, borderRadius=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
98
+ self._prop_names = ['children', 'id', '_height', '_width', 'align', 'border', 'borderRadius', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'enableClickAway', 'enableListenContextMenu', 'isHovering', 'justify', 'key', 'loading_state', 'margin', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'padding', 'scrollbar', 'shadow', 'style', 'textAlign']
85
99
  self._valid_wildcard_attributes = []
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']
100
+ self.available_properties = ['children', 'id', '_height', '_width', 'align', 'border', 'borderRadius', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'enableClickAway', 'enableListenContextMenu', 'isHovering', 'justify', 'key', 'loading_state', 'margin', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'padding', 'scrollbar', 'shadow', 'style', 'textAlign']
87
101
  self.available_wildcard_properties = []
88
102
  _explicit_args = kwargs.pop('_explicit_args')
89
103
  _locals = locals()
@@ -59,6 +59,7 @@ from .FefferySortableContainer import FefferySortableContainer
59
59
  from .FefferySortableItem import FefferySortableItem
60
60
  from .FefferySplit import FefferySplit
61
61
  from .FefferySplitPane import FefferySplitPane
62
+ from .FefferyCookie import FefferyCookie
62
63
  from .FefferySessionStorage import FefferySessionStorage
63
64
 
64
65
  __all__ = [
@@ -123,5 +124,6 @@ __all__ = [
123
124
  "FefferySortableItem",
124
125
  "FefferySplit",
125
126
  "FefferySplitPane",
127
+ "FefferyCookie",
126
128
  "FefferySessionStorage"
127
129
  ]