feffery_utils_components 0.0.31 → 0.0.32
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 +6 -4
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyCssVar.py +43 -0
- package/build/lib/feffery_utils_components/FefferyEyeDropper.py +45 -0
- package/build/lib/feffery_utils_components/_imports_.py +4 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/build/lib/feffery_utils_components/metadata.json +115 -0
- package/build/lib/feffery_utils_components/package-info.json +3 -2
- package/feffery_utils_components/FefferyDiv.py +5 -3
- package/feffery_utils_components/FefferyLazyLoadImage.py +53 -0
- package/feffery_utils_components/FefferySticky.py +51 -0
- package/feffery_utils_components/_imports_.py +12 -8
- package/feffery_utils_components/feffery_utils_components.min.js +8 -8
- package/feffery_utils_components/metadata.json +573 -333
- package/feffery_utils_components/package-info.json +3 -1
- package/package.json +3 -1
- package/src/FefferyUtilsComponents.jl +9 -7
- package/src/jl/''_fefferydiv.jl +2 -1
- package/src/jl/''_fefferylazyloadimage.jl +29 -0
- package/src/jl/''_fefferysticky.jl +34 -0
- package/src/lib/components/FefferyDiv.react.js +16 -2
- package/src/lib/components/{dom/FefferyExternalCss.react.js → FefferyExternalCss.react.js} +0 -0
- package/src/lib/components/{dom/FefferyExternalJs.react.js → FefferyExternalJs.react.js} +0 -0
- package/src/lib/components/FefferyLazyLoadImage.react.js +92 -0
- package/src/lib/components/{dom/FefferyRawHTML.react.js → FefferyRawHTML.react.js} +0 -0
- package/src/lib/components/{dom/FefferySetTitle.react.js → FefferySetTitle.react.js} +0 -0
- package/src/lib/components/FefferySticky.react.js +93 -0
- package/src/lib/components/styles.css +13 -0
- package/src/lib/index.js +9 -5
- package/tests/FefferyLazyLoadImageTest/app.py +33 -0
- package/tests/FefferyStickyTest/app.py +41 -0
- package/usage.py +0 -47
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -7,15 +7,13 @@ export(''FefferyHexColorPicker)
|
|
|
7
7
|
export(''FefferyRgbColorPicker)
|
|
8
8
|
export(''FefferyTwitterColorPicker)
|
|
9
9
|
export(''FefferyWheelColorPicker)
|
|
10
|
-
export(''FefferyExternalCss)
|
|
11
|
-
export(''FefferyExternalJs)
|
|
12
|
-
export(''FefferyRawHTML)
|
|
13
|
-
export(''FefferySetTitle)
|
|
14
10
|
export(''FefferyCaptcha)
|
|
15
11
|
export(''FefferyCountDown)
|
|
16
12
|
export(''FefferyCssVar)
|
|
17
13
|
export(''FefferyDiv)
|
|
18
14
|
export(''FefferyExecuteJs)
|
|
15
|
+
export(''FefferyExternalCss)
|
|
16
|
+
export(''FefferyExternalJs)
|
|
19
17
|
export(''FefferyExtraSpinner)
|
|
20
18
|
export(''FefferyEyeDropper)
|
|
21
19
|
export(''FefferyFancyMessage)
|
|
@@ -23,12 +21,16 @@ export(''FefferyFancyNotification)
|
|
|
23
21
|
export(''FefferyGuide)
|
|
24
22
|
export(''FefferyHighlightWords)
|
|
25
23
|
export(''FefferyLazyLoad)
|
|
24
|
+
export(''FefferyLazyLoadImage)
|
|
26
25
|
export(''FefferyLocation)
|
|
27
26
|
export(''FefferyQRCode)
|
|
27
|
+
export(''FefferyRawHTML)
|
|
28
28
|
export(''FefferyReload)
|
|
29
29
|
export(''FefferyScroll)
|
|
30
30
|
export(''FefferyScrollbars)
|
|
31
|
+
export(''FefferySetTitle)
|
|
31
32
|
export(''FefferyShortcutPanel)
|
|
33
|
+
export(''FefferySticky)
|
|
32
34
|
export(''FefferyStyle)
|
|
33
35
|
export(''FefferySyntaxHighlighter)
|
|
34
36
|
export(''FefferyTimeout)
|
package/Project.toml
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyCssVar(Component):
|
|
7
|
+
"""A FefferyCssVar component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- cssVars (dict; optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (dict; optional)
|
|
17
|
+
|
|
18
|
+
`loading_state` is a dict with keys:
|
|
19
|
+
|
|
20
|
+
- component_name (string; optional):
|
|
21
|
+
Holds the name of the component that is loading.
|
|
22
|
+
|
|
23
|
+
- is_loading (boolean; optional):
|
|
24
|
+
Determines if the component is loading or not.
|
|
25
|
+
|
|
26
|
+
- prop_name (string; optional):
|
|
27
|
+
Holds which property is loading."""
|
|
28
|
+
_children_props = []
|
|
29
|
+
_base_nodes = ['children']
|
|
30
|
+
_namespace = 'feffery_utils_components'
|
|
31
|
+
_type = 'FefferyCssVar'
|
|
32
|
+
@_explicitize_args
|
|
33
|
+
def __init__(self, id=Component.UNDEFINED, cssVars=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
34
|
+
self._prop_names = ['id', 'cssVars', 'loading_state']
|
|
35
|
+
self._valid_wildcard_attributes = []
|
|
36
|
+
self.available_properties = ['id', 'cssVars', 'loading_state']
|
|
37
|
+
self.available_wildcard_properties = []
|
|
38
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
39
|
+
_locals = locals()
|
|
40
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
41
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
42
|
+
|
|
43
|
+
super(FefferyCssVar, self).__init__(**args)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyEyeDropper(Component):
|
|
7
|
+
"""A FefferyEyeDropper component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- color (string; optional)
|
|
15
|
+
|
|
16
|
+
- enable (boolean; default False)
|
|
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
|
+
_children_props = []
|
|
31
|
+
_base_nodes = ['children']
|
|
32
|
+
_namespace = 'feffery_utils_components'
|
|
33
|
+
_type = 'FefferyEyeDropper'
|
|
34
|
+
@_explicitize_args
|
|
35
|
+
def __init__(self, id=Component.UNDEFINED, enable=Component.UNDEFINED, color=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['id', 'color', 'enable', 'loading_state']
|
|
37
|
+
self._valid_wildcard_attributes = []
|
|
38
|
+
self.available_properties = ['id', 'color', 'enable', 'loading_state']
|
|
39
|
+
self.available_wildcard_properties = []
|
|
40
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
41
|
+
_locals = locals()
|
|
42
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
43
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
44
|
+
|
|
45
|
+
super(FefferyEyeDropper, self).__init__(**args)
|
|
@@ -11,9 +11,11 @@ from .FefferyRawHTML import FefferyRawHTML
|
|
|
11
11
|
from .FefferySetTitle import FefferySetTitle
|
|
12
12
|
from .FefferyCaptcha import FefferyCaptcha
|
|
13
13
|
from .FefferyCountDown import FefferyCountDown
|
|
14
|
+
from .FefferyCssVar import FefferyCssVar
|
|
14
15
|
from .FefferyDiv import FefferyDiv
|
|
15
16
|
from .FefferyExecuteJs import FefferyExecuteJs
|
|
16
17
|
from .FefferyExtraSpinner import FefferyExtraSpinner
|
|
18
|
+
from .FefferyEyeDropper import FefferyEyeDropper
|
|
17
19
|
from .FefferyFancyMessage import FefferyFancyMessage
|
|
18
20
|
from .FefferyFancyNotification import FefferyFancyNotification
|
|
19
21
|
from .FefferyGuide import FefferyGuide
|
|
@@ -56,9 +58,11 @@ __all__ = [
|
|
|
56
58
|
"FefferySetTitle",
|
|
57
59
|
"FefferyCaptcha",
|
|
58
60
|
"FefferyCountDown",
|
|
61
|
+
"FefferyCssVar",
|
|
59
62
|
"FefferyDiv",
|
|
60
63
|
"FefferyExecuteJs",
|
|
61
64
|
"FefferyExtraSpinner",
|
|
65
|
+
"FefferyEyeDropper",
|
|
62
66
|
"FefferyFancyMessage",
|
|
63
67
|
"FefferyFancyNotification",
|
|
64
68
|
"FefferyGuide",
|