feffery_utils_components 0.0.32 → 0.1.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 +1 -1
- package/NAMESPACE +2 -2
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyDiv.py +5 -3
- package/build/lib/feffery_utils_components/FefferyLazyLoadImage.py +53 -0
- package/build/lib/feffery_utils_components/FefferySticky.py +51 -0
- package/build/lib/feffery_utils_components/_imports_.py +12 -8
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +8 -8
- package/build/lib/feffery_utils_components/metadata.json +573 -333
- package/build/lib/feffery_utils_components/package-info.json +3 -1
- package/feffery_utils_components/FefferyDiv.py +5 -3
- package/feffery_utils_components/_imports_.py +2 -4
- package/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/feffery_utils_components/metadata.json +74 -153
- package/feffery_utils_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/FefferyUtilsComponents.jl +4 -5
- package/src/jl/''_fefferydiv.jl +2 -1
- package/src/lib/components/FefferyDiv.react.js +12 -4
- package/src/lib/components/FefferyTopProgress.react.js +1 -1
- package/src/lib/components/{FefferyEyeDropper.react.js → colorPickers/FefferyEyeDropper.react.js} +0 -0
- package/src/lib/index.js +1 -3
- package/usage.py +39 -0
- package/src/lib/components/FefferyLocation.react.js +0 -161
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export(''FefferyBlockColorPicker)
|
|
4
4
|
export(''FefferyCircleColorPicker)
|
|
5
|
+
export(''FefferyEyeDropper)
|
|
5
6
|
export(''FefferyGithubColorPicker)
|
|
6
7
|
export(''FefferyHexColorPicker)
|
|
7
8
|
export(''FefferyRgbColorPicker)
|
|
@@ -15,14 +16,12 @@ export(''FefferyExecuteJs)
|
|
|
15
16
|
export(''FefferyExternalCss)
|
|
16
17
|
export(''FefferyExternalJs)
|
|
17
18
|
export(''FefferyExtraSpinner)
|
|
18
|
-
export(''FefferyEyeDropper)
|
|
19
19
|
export(''FefferyFancyMessage)
|
|
20
20
|
export(''FefferyFancyNotification)
|
|
21
21
|
export(''FefferyGuide)
|
|
22
22
|
export(''FefferyHighlightWords)
|
|
23
23
|
export(''FefferyLazyLoad)
|
|
24
24
|
export(''FefferyLazyLoadImage)
|
|
25
|
-
export(''FefferyLocation)
|
|
26
25
|
export(''FefferyQRCode)
|
|
27
26
|
export(''FefferyRawHTML)
|
|
28
27
|
export(''FefferyReload)
|
|
@@ -47,3 +46,4 @@ export(''FefferySortableContainer)
|
|
|
47
46
|
export(''FefferySortableItem)
|
|
48
47
|
export(''FefferySplit)
|
|
49
48
|
export(''FefferySplitPane)
|
|
49
|
+
export(FefferyLocation)
|
package/Project.toml
CHANGED
|
@@ -80,16 +80,18 @@ Keyword arguments:
|
|
|
80
80
|
|
|
81
81
|
- index (number; optional)
|
|
82
82
|
|
|
83
|
+
- shadow (a value equal to: 'no-shadow', 'hover-shadow', 'always-shadow'; default 'no-shadow')
|
|
84
|
+
|
|
83
85
|
- style (dict; optional)"""
|
|
84
86
|
_children_props = ['appendChild', 'insertChild.element', 'replaceChild.element']
|
|
85
87
|
_base_nodes = ['appendChild', 'children']
|
|
86
88
|
_namespace = 'feffery_utils_components'
|
|
87
89
|
_type = 'FefferyDiv'
|
|
88
90
|
@_explicitize_args
|
|
89
|
-
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, appendChild=Component.UNDEFINED, insertChild=Component.UNDEFINED, replaceChild=Component.UNDEFINED, deleteChildIndex=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, clickAwayCount=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
90
|
-
self._prop_names = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'style']
|
|
91
|
+
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, appendChild=Component.UNDEFINED, insertChild=Component.UNDEFINED, replaceChild=Component.UNDEFINED, deleteChildIndex=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, clickAwayCount=Component.UNDEFINED, shadow=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
92
|
+
self._prop_names = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'shadow', 'style']
|
|
91
93
|
self._valid_wildcard_attributes = []
|
|
92
|
-
self.available_properties = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'style']
|
|
94
|
+
self.available_properties = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'shadow', 'style']
|
|
93
95
|
self.available_wildcard_properties = []
|
|
94
96
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
95
97
|
_locals = locals()
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyLazyLoadImage(Component):
|
|
7
|
+
"""A FefferyLazyLoadImage component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- alt (string; optional)
|
|
15
|
+
|
|
16
|
+
- height (string | number; optional)
|
|
17
|
+
|
|
18
|
+
- loading_state (dict; optional)
|
|
19
|
+
|
|
20
|
+
`loading_state` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- component_name (string; optional):
|
|
23
|
+
Holds the name of the component that is loading.
|
|
24
|
+
|
|
25
|
+
- is_loading (boolean; optional):
|
|
26
|
+
Determines if the component is loading or not.
|
|
27
|
+
|
|
28
|
+
- prop_name (string; optional):
|
|
29
|
+
Holds which property is loading.
|
|
30
|
+
|
|
31
|
+
- placeholderSrc (string; optional)
|
|
32
|
+
|
|
33
|
+
- src (string; optional)
|
|
34
|
+
|
|
35
|
+
- threshold (number; default 100)
|
|
36
|
+
|
|
37
|
+
- width (string | number; optional)"""
|
|
38
|
+
_children_props = []
|
|
39
|
+
_base_nodes = ['children']
|
|
40
|
+
_namespace = 'feffery_utils_components'
|
|
41
|
+
_type = 'FefferyLazyLoadImage'
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, id=Component.UNDEFINED, alt=Component.UNDEFINED, height=Component.UNDEFINED, width=Component.UNDEFINED, src=Component.UNDEFINED, placeholderSrc=Component.UNDEFINED, threshold=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['id', 'alt', 'height', 'loading_state', 'placeholderSrc', 'src', 'threshold', 'width']
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['id', 'alt', 'height', 'loading_state', 'placeholderSrc', 'src', 'threshold', 'width']
|
|
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
|
+
super(FefferyLazyLoadImage, self).__init__(**args)
|
|
@@ -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 FefferySticky(Component):
|
|
7
|
+
"""A FefferySticky 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
|
+
- bottomBoundary (number | string; optional)
|
|
17
|
+
|
|
18
|
+
- enabled (boolean; default True)
|
|
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
|
+
- top (number | string; optional)
|
|
34
|
+
|
|
35
|
+
- zIndex (number | string; optional)"""
|
|
36
|
+
_children_props = []
|
|
37
|
+
_base_nodes = ['children']
|
|
38
|
+
_namespace = 'feffery_utils_components'
|
|
39
|
+
_type = 'FefferySticky'
|
|
40
|
+
@_explicitize_args
|
|
41
|
+
def __init__(self, children=None, id=Component.UNDEFINED, enabled=Component.UNDEFINED, top=Component.UNDEFINED, bottomBoundary=Component.UNDEFINED, zIndex=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['children', 'id', 'bottomBoundary', 'enabled', 'loading_state', 'top', 'zIndex']
|
|
43
|
+
self._valid_wildcard_attributes = []
|
|
44
|
+
self.available_properties = ['children', 'id', 'bottomBoundary', 'enabled', 'loading_state', 'top', 'zIndex']
|
|
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(FefferySticky, self).__init__(children=children, **args)
|
|
@@ -5,15 +5,13 @@ from .FefferyHexColorPicker import FefferyHexColorPicker
|
|
|
5
5
|
from .FefferyRgbColorPicker import FefferyRgbColorPicker
|
|
6
6
|
from .FefferyTwitterColorPicker import FefferyTwitterColorPicker
|
|
7
7
|
from .FefferyWheelColorPicker import FefferyWheelColorPicker
|
|
8
|
-
from .FefferyExternalCss import FefferyExternalCss
|
|
9
|
-
from .FefferyExternalJs import FefferyExternalJs
|
|
10
|
-
from .FefferyRawHTML import FefferyRawHTML
|
|
11
|
-
from .FefferySetTitle import FefferySetTitle
|
|
12
8
|
from .FefferyCaptcha import FefferyCaptcha
|
|
13
9
|
from .FefferyCountDown import FefferyCountDown
|
|
14
10
|
from .FefferyCssVar import FefferyCssVar
|
|
15
11
|
from .FefferyDiv import FefferyDiv
|
|
16
12
|
from .FefferyExecuteJs import FefferyExecuteJs
|
|
13
|
+
from .FefferyExternalCss import FefferyExternalCss
|
|
14
|
+
from .FefferyExternalJs import FefferyExternalJs
|
|
17
15
|
from .FefferyExtraSpinner import FefferyExtraSpinner
|
|
18
16
|
from .FefferyEyeDropper import FefferyEyeDropper
|
|
19
17
|
from .FefferyFancyMessage import FefferyFancyMessage
|
|
@@ -21,12 +19,16 @@ from .FefferyFancyNotification import FefferyFancyNotification
|
|
|
21
19
|
from .FefferyGuide import FefferyGuide
|
|
22
20
|
from .FefferyHighlightWords import FefferyHighlightWords
|
|
23
21
|
from .FefferyLazyLoad import FefferyLazyLoad
|
|
22
|
+
from .FefferyLazyLoadImage import FefferyLazyLoadImage
|
|
24
23
|
from .FefferyLocation import FefferyLocation
|
|
25
24
|
from .FefferyQRCode import FefferyQRCode
|
|
25
|
+
from .FefferyRawHTML import FefferyRawHTML
|
|
26
26
|
from .FefferyReload import FefferyReload
|
|
27
27
|
from .FefferyScroll import FefferyScroll
|
|
28
28
|
from .FefferyScrollbars import FefferyScrollbars
|
|
29
|
+
from .FefferySetTitle import FefferySetTitle
|
|
29
30
|
from .FefferyShortcutPanel import FefferyShortcutPanel
|
|
31
|
+
from .FefferySticky import FefferySticky
|
|
30
32
|
from .FefferyStyle import FefferyStyle
|
|
31
33
|
from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
|
|
32
34
|
from .FefferyTimeout import FefferyTimeout
|
|
@@ -52,15 +54,13 @@ __all__ = [
|
|
|
52
54
|
"FefferyRgbColorPicker",
|
|
53
55
|
"FefferyTwitterColorPicker",
|
|
54
56
|
"FefferyWheelColorPicker",
|
|
55
|
-
"FefferyExternalCss",
|
|
56
|
-
"FefferyExternalJs",
|
|
57
|
-
"FefferyRawHTML",
|
|
58
|
-
"FefferySetTitle",
|
|
59
57
|
"FefferyCaptcha",
|
|
60
58
|
"FefferyCountDown",
|
|
61
59
|
"FefferyCssVar",
|
|
62
60
|
"FefferyDiv",
|
|
63
61
|
"FefferyExecuteJs",
|
|
62
|
+
"FefferyExternalCss",
|
|
63
|
+
"FefferyExternalJs",
|
|
64
64
|
"FefferyExtraSpinner",
|
|
65
65
|
"FefferyEyeDropper",
|
|
66
66
|
"FefferyFancyMessage",
|
|
@@ -68,12 +68,16 @@ __all__ = [
|
|
|
68
68
|
"FefferyGuide",
|
|
69
69
|
"FefferyHighlightWords",
|
|
70
70
|
"FefferyLazyLoad",
|
|
71
|
+
"FefferyLazyLoadImage",
|
|
71
72
|
"FefferyLocation",
|
|
72
73
|
"FefferyQRCode",
|
|
74
|
+
"FefferyRawHTML",
|
|
73
75
|
"FefferyReload",
|
|
74
76
|
"FefferyScroll",
|
|
75
77
|
"FefferyScrollbars",
|
|
78
|
+
"FefferySetTitle",
|
|
76
79
|
"FefferyShortcutPanel",
|
|
80
|
+
"FefferySticky",
|
|
77
81
|
"FefferyStyle",
|
|
78
82
|
"FefferySyntaxHighlighter",
|
|
79
83
|
"FefferyTimeout",
|