h2o-wave 1.1.0__py3-none-any.whl → 1.1.1__py3-none-any.whl
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.
Potentially problematic release.
This version of h2o-wave might be problematic. Click here for more details.
- h2o_wave/types.py +10 -0
- h2o_wave/ui.py +3 -0
- h2o_wave/version.py +1 -1
- {h2o_wave-1.1.0.dist-info → h2o_wave-1.1.1.dist-info}/METADATA +1 -1
- {h2o_wave-1.1.0.dist-info → h2o_wave-1.1.1.dist-info}/RECORD +8 -8
- {h2o_wave-1.1.0.dist-info → h2o_wave-1.1.1.dist-info}/WHEEL +0 -0
- {h2o_wave-1.1.0.dist-info → h2o_wave-1.1.1.dist-info}/entry_points.txt +0 -0
- {h2o_wave-1.1.0.dist-info → h2o_wave-1.1.1.dist-info}/licenses/LICENSE +0 -0
h2o_wave/types.py
CHANGED
|
@@ -7113,12 +7113,14 @@ class CopyableText:
|
|
|
7113
7113
|
name: Optional[str] = None,
|
|
7114
7114
|
multiline: Optional[bool] = None,
|
|
7115
7115
|
height: Optional[str] = None,
|
|
7116
|
+
width: Optional[str] = None,
|
|
7116
7117
|
):
|
|
7117
7118
|
_guard_scalar('CopyableText.value', value, (str,), False, False, False)
|
|
7118
7119
|
_guard_scalar('CopyableText.label', label, (str,), False, False, False)
|
|
7119
7120
|
_guard_scalar('CopyableText.name', name, (str,), False, True, False)
|
|
7120
7121
|
_guard_scalar('CopyableText.multiline', multiline, (bool,), False, True, False)
|
|
7121
7122
|
_guard_scalar('CopyableText.height', height, (str,), False, True, False)
|
|
7123
|
+
_guard_scalar('CopyableText.width', width, (str,), False, True, False)
|
|
7122
7124
|
self.value = value
|
|
7123
7125
|
"""Text to be displayed inside the component."""
|
|
7124
7126
|
self.label = label
|
|
@@ -7129,6 +7131,8 @@ class CopyableText:
|
|
|
7129
7131
|
"""True if the component should allow multi-line text entry."""
|
|
7130
7132
|
self.height = height
|
|
7131
7133
|
"""Custom height in px (e.g. '200px') or '1' to fill the remaining card space. Requires `multiline` to be set."""
|
|
7134
|
+
self.width = width
|
|
7135
|
+
"""The width of the copyable text , e.g. '100px'."""
|
|
7132
7136
|
|
|
7133
7137
|
def dump(self) -> Dict:
|
|
7134
7138
|
"""Returns the contents of this object as a dict."""
|
|
@@ -7137,12 +7141,14 @@ class CopyableText:
|
|
|
7137
7141
|
_guard_scalar('CopyableText.name', self.name, (str,), False, True, False)
|
|
7138
7142
|
_guard_scalar('CopyableText.multiline', self.multiline, (bool,), False, True, False)
|
|
7139
7143
|
_guard_scalar('CopyableText.height', self.height, (str,), False, True, False)
|
|
7144
|
+
_guard_scalar('CopyableText.width', self.width, (str,), False, True, False)
|
|
7140
7145
|
return _dump(
|
|
7141
7146
|
value=self.value,
|
|
7142
7147
|
label=self.label,
|
|
7143
7148
|
name=self.name,
|
|
7144
7149
|
multiline=self.multiline,
|
|
7145
7150
|
height=self.height,
|
|
7151
|
+
width=self.width,
|
|
7146
7152
|
)
|
|
7147
7153
|
|
|
7148
7154
|
@staticmethod
|
|
@@ -7158,17 +7164,21 @@ class CopyableText:
|
|
|
7158
7164
|
_guard_scalar('CopyableText.multiline', __d_multiline, (bool,), False, True, False)
|
|
7159
7165
|
__d_height: Any = __d.get('height')
|
|
7160
7166
|
_guard_scalar('CopyableText.height', __d_height, (str,), False, True, False)
|
|
7167
|
+
__d_width: Any = __d.get('width')
|
|
7168
|
+
_guard_scalar('CopyableText.width', __d_width, (str,), False, True, False)
|
|
7161
7169
|
value: str = __d_value
|
|
7162
7170
|
label: str = __d_label
|
|
7163
7171
|
name: Optional[str] = __d_name
|
|
7164
7172
|
multiline: Optional[bool] = __d_multiline
|
|
7165
7173
|
height: Optional[str] = __d_height
|
|
7174
|
+
width: Optional[str] = __d_width
|
|
7166
7175
|
return CopyableText(
|
|
7167
7176
|
value,
|
|
7168
7177
|
label,
|
|
7169
7178
|
name,
|
|
7170
7179
|
multiline,
|
|
7171
7180
|
height,
|
|
7181
|
+
width,
|
|
7172
7182
|
)
|
|
7173
7183
|
|
|
7174
7184
|
|
h2o_wave/ui.py
CHANGED
|
@@ -2632,6 +2632,7 @@ def copyable_text(
|
|
|
2632
2632
|
name: Optional[str] = None,
|
|
2633
2633
|
multiline: Optional[bool] = None,
|
|
2634
2634
|
height: Optional[str] = None,
|
|
2635
|
+
width: Optional[str] = None,
|
|
2635
2636
|
) -> Component:
|
|
2636
2637
|
"""Create a copyable text component.
|
|
2637
2638
|
Use this component when you want to enable your users to quickly copy paste sections of text.
|
|
@@ -2642,6 +2643,7 @@ def copyable_text(
|
|
|
2642
2643
|
name: An identifying name for this component.
|
|
2643
2644
|
multiline: True if the component should allow multi-line text entry.
|
|
2644
2645
|
height: Custom height in px (e.g. '200px') or '1' to fill the remaining card space. Requires `multiline` to be set.
|
|
2646
|
+
width: The width of the copyable text , e.g. '100px'.
|
|
2645
2647
|
Returns:
|
|
2646
2648
|
A `h2o_wave.types.CopyableText` instance.
|
|
2647
2649
|
"""
|
|
@@ -2651,6 +2653,7 @@ def copyable_text(
|
|
|
2651
2653
|
name,
|
|
2652
2654
|
multiline,
|
|
2653
2655
|
height,
|
|
2656
|
+
width,
|
|
2654
2657
|
))
|
|
2655
2658
|
|
|
2656
2659
|
|
h2o_wave/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.1.
|
|
1
|
+
__version__ = '1.1.1'
|
|
@@ -11,12 +11,12 @@ h2o_wave/routing.py,sha256=de8GVfUAb6bwFXtsWj6NXmjMVGELknlZb03F-R4ManY,10592
|
|
|
11
11
|
h2o_wave/server.py,sha256=u80Jma83mMKqmTitVDFO703SrcC4Y29DQM2letSVNyA,17900
|
|
12
12
|
h2o_wave/share.py,sha256=2zgywet8540O6xM-JD3po1glyP2PBJ3lIxaWBJbQvtQ,1164
|
|
13
13
|
h2o_wave/test.py,sha256=hF_fS5e25bACnzENjpDrikv7nPOs0iENh4MuXX9BaVA,2738
|
|
14
|
-
h2o_wave/types.py,sha256=
|
|
15
|
-
h2o_wave/ui.py,sha256=
|
|
14
|
+
h2o_wave/types.py,sha256=Wxe-osfyCgtN9ihYLpEfTlbX7sHzAN6UHxIBdIbaBSs,653120
|
|
15
|
+
h2o_wave/ui.py,sha256=3L07AhP0z2yl61gO9eeJp3RIgJQFwC_fUIkibPnHXJc,170389
|
|
16
16
|
h2o_wave/ui_ext.py,sha256=zx_2Ec2-p_ztm8brfVaVF0fTQWVDrb_YxcGfVb-wA10,2325
|
|
17
|
-
h2o_wave/version.py,sha256=
|
|
18
|
-
h2o_wave-1.1.
|
|
19
|
-
h2o_wave-1.1.
|
|
20
|
-
h2o_wave-1.1.
|
|
21
|
-
h2o_wave-1.1.
|
|
22
|
-
h2o_wave-1.1.
|
|
17
|
+
h2o_wave/version.py,sha256=E-6wAZjiLRVInABFxrWoqdYlO_t-zVhK8XNfNnaDyzI,22
|
|
18
|
+
h2o_wave-1.1.1.dist-info/METADATA,sha256=dl7rJg_AEth1I2arYoI-wz7XLS9lu5cnqKOmkjasAsI,2907
|
|
19
|
+
h2o_wave-1.1.1.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
20
|
+
h2o_wave-1.1.1.dist-info/entry_points.txt,sha256=kFeXNqSZlW1_H7YcRdSOhz5V00F4vhDQ0NuDuvRwLGw,43
|
|
21
|
+
h2o_wave-1.1.1.dist-info/licenses/LICENSE,sha256=hpuFayniDwysSKD0tHGELH2KJDVyhUrKS29torRIpqY,53
|
|
22
|
+
h2o_wave-1.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|