streamlit-nightly 1.45.2.dev20250527__py3-none-any.whl → 1.45.2.dev20250530__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.
Files changed (180) hide show
  1. streamlit/auth_util.py +3 -3
  2. streamlit/commands/echo.py +1 -1
  3. streamlit/config.py +32 -12
  4. streamlit/config_option.py +3 -5
  5. streamlit/config_util.py +4 -5
  6. streamlit/connections/snowflake_connection.py +4 -3
  7. streamlit/delta_generator.py +10 -14
  8. streamlit/elements/arrow.py +1 -0
  9. streamlit/elements/deck_gl_json_chart.py +1 -0
  10. streamlit/elements/doc_string.py +7 -15
  11. streamlit/elements/exception.py +4 -12
  12. streamlit/elements/form.py +14 -0
  13. streamlit/elements/graphviz_chart.py +1 -1
  14. streamlit/elements/heading.py +3 -4
  15. streamlit/elements/json.py +7 -6
  16. streamlit/elements/layouts.py +21 -3
  17. streamlit/elements/lib/image_utils.py +2 -3
  18. streamlit/elements/lib/layout_utils.py +24 -0
  19. streamlit/elements/lib/mutable_status_container.py +9 -0
  20. streamlit/elements/lib/streamlit_plotly_theme.py +54 -53
  21. streamlit/elements/lib/utils.py +15 -0
  22. streamlit/elements/markdown.py +34 -4
  23. streamlit/elements/media.py +1 -1
  24. streamlit/elements/plotly_chart.py +1 -0
  25. streamlit/elements/progress.py +6 -15
  26. streamlit/elements/spinner.py +5 -4
  27. streamlit/elements/vega_charts.py +1 -0
  28. streamlit/elements/widgets/audio_input.py +4 -10
  29. streamlit/elements/widgets/button.py +3 -1
  30. streamlit/elements/widgets/button_group.py +1 -0
  31. streamlit/elements/widgets/camera_input.py +6 -9
  32. streamlit/elements/widgets/chat.py +11 -13
  33. streamlit/elements/widgets/checkbox.py +1 -0
  34. streamlit/elements/widgets/color_picker.py +9 -14
  35. streamlit/elements/widgets/data_editor.py +9 -5
  36. streamlit/elements/widgets/file_uploader.py +10 -9
  37. streamlit/elements/widgets/multiselect.py +1 -0
  38. streamlit/elements/widgets/number_input.py +12 -12
  39. streamlit/elements/widgets/radio.py +2 -1
  40. streamlit/elements/widgets/select_slider.py +4 -10
  41. streamlit/elements/widgets/selectbox.py +11 -13
  42. streamlit/elements/widgets/slider.py +28 -41
  43. streamlit/elements/widgets/text_widgets.py +16 -24
  44. streamlit/elements/widgets/time_widgets.py +15 -22
  45. streamlit/hello/animation_demo.py +9 -9
  46. streamlit/hello/dataframe_demo.py +2 -2
  47. streamlit/hello/hello.py +1 -0
  48. streamlit/hello/mapping_demo.py +5 -6
  49. streamlit/hello/streamlit_app.py +27 -25
  50. streamlit/logger.py +1 -1
  51. streamlit/proto/AudioInput_pb2.py +3 -4
  52. streamlit/proto/AudioInput_pb2.pyi +2 -7
  53. streamlit/proto/Block_pb2.py +27 -27
  54. streamlit/proto/Block_pb2.pyi +3 -17
  55. streamlit/proto/CameraInput_pb2.py +3 -4
  56. streamlit/proto/CameraInput_pb2.pyi +2 -8
  57. streamlit/proto/ChatInput_pb2.py +7 -8
  58. streamlit/proto/ChatInput_pb2.pyi +1 -10
  59. streamlit/proto/Code_pb2.py +3 -4
  60. streamlit/proto/DateInput_pb2.py +3 -4
  61. streamlit/proto/DateInput_pb2.pyi +2 -8
  62. streamlit/proto/DocString_pb2.py +5 -6
  63. streamlit/proto/DocString_pb2.pyi +1 -9
  64. streamlit/proto/FileUploader_pb2.py +3 -4
  65. streamlit/proto/FileUploader_pb2.pyi +2 -8
  66. streamlit/proto/Json_pb2.py +3 -4
  67. streamlit/proto/Json_pb2.pyi +2 -9
  68. streamlit/proto/NewSession_pb2.py +16 -16
  69. streamlit/proto/NewSession_pb2.pyi +7 -2
  70. streamlit/proto/NumberInput_pb2.py +5 -6
  71. streamlit/proto/NumberInput_pb2.pyi +2 -9
  72. streamlit/proto/Progress_pb2.py +3 -4
  73. streamlit/proto/Progress_pb2.pyi +1 -7
  74. streamlit/proto/Selectbox_pb2.py +3 -4
  75. streamlit/proto/Selectbox_pb2.pyi +2 -9
  76. streamlit/proto/Slider_pb2.py +7 -8
  77. streamlit/proto/Slider_pb2.pyi +2 -8
  78. streamlit/proto/TextArea_pb2.py +3 -4
  79. streamlit/proto/TextArea_pb2.pyi +2 -9
  80. streamlit/proto/TextInput_pb2.py +5 -6
  81. streamlit/proto/TextInput_pb2.pyi +2 -9
  82. streamlit/proto/TimeInput_pb2.py +3 -4
  83. streamlit/proto/TimeInput_pb2.pyi +2 -9
  84. streamlit/runtime/app_session.py +11 -8
  85. streamlit/runtime/caching/hashing.py +8 -9
  86. streamlit/runtime/caching/storage/local_disk_cache_storage.py +3 -3
  87. streamlit/runtime/connection_factory.py +12 -12
  88. streamlit/runtime/credentials.py +13 -26
  89. streamlit/runtime/runtime_util.py +2 -2
  90. streamlit/runtime/scriptrunner/script_runner.py +8 -7
  91. streamlit/static/index.html +1 -1
  92. streamlit/static/manifest.json +1240 -0
  93. streamlit/static/static/js/{ErrorOutline.esm.qteVcUUN.js → ErrorOutline.esm.D5NgCh5m.js} +1 -1
  94. streamlit/static/static/js/{FileDownload.esm.ncu7N-Hr.js → FileDownload.esm.NuObx1Tl.js} +1 -1
  95. streamlit/static/static/js/{FileHelper.zsMZ7RXt.js → FileHelper.BH7o4_P9.js} +5 -5
  96. streamlit/static/static/js/{FormClearHelper.W8yVYXZp.js → FormClearHelper.BAxB8JFY.js} +1 -1
  97. streamlit/static/static/js/{Hooks.DBj6srQ1.js → Hooks.Bjt8oBOT.js} +1 -1
  98. streamlit/static/static/js/{InputInstructions.BobLsJJb.js → InputInstructions.BZZLp6t9.js} +1 -1
  99. streamlit/static/static/js/{ProgressBar.CtvJrIzN.js → ProgressBar.BwRgGfI0.js} +2 -2
  100. streamlit/static/static/js/{RenderInPortalIfExists.DnT_UdzV.js → RenderInPortalIfExists.C_c286r8.js} +1 -1
  101. streamlit/static/static/js/{Toolbar.BVF7NtOB.js → Toolbar.5tXjF_eX.js} +1 -1
  102. streamlit/static/static/js/{base-input.B4sdS3vw.js → base-input.wfBDFTlB.js} +1 -1
  103. streamlit/static/static/js/{checkbox.DKDitzF8.js → checkbox.D1GhNngU.js} +1 -1
  104. streamlit/static/static/js/{createSuper.mhx956J9.js → createSuper.CudEEVs2.js} +1 -1
  105. streamlit/static/static/js/{data-grid-overlay-editor.CmXS0PAX.js → data-grid-overlay-editor.DUTI_Rbg.js} +1 -1
  106. streamlit/static/static/js/{downloader.Cnd9SuxG.js → downloader.BwLpAoXN.js} +1 -1
  107. streamlit/static/static/js/{es6.DM-pf09u.js → es6.B_HLnUb9.js} +2 -2
  108. streamlit/static/static/js/{iframeResizer.contentWindow.Gc5GAjZM.js → iframeResizer.contentWindow.BNcjOcan.js} +1 -1
  109. streamlit/static/static/js/{index.D4XRYl23.js → index.3WJoJFGb.js} +1 -1
  110. streamlit/static/static/js/{index.C_2m4F7k.js → index.B0h616Th.js} +1 -1
  111. streamlit/static/static/js/{index.p2Wl4zMi.js → index.B0paBg5x.js} +1 -1
  112. streamlit/static/static/js/index.B3vWaIrN.js +1 -0
  113. streamlit/static/static/js/{index.B45ExNhw.js → index.B4PbMsBe.js} +1 -1
  114. streamlit/static/static/js/{index.BWTBe3a1.js → index.BGKVW2u9.js} +1 -1
  115. streamlit/static/static/js/index.BJQPxOFd.js +12 -0
  116. streamlit/static/static/js/{index.DdyZtGcg.js → index.BOHEcsVb.js} +1 -1
  117. streamlit/static/static/js/{index.BR-S54Iv.js → index.BPGAPI9w.js} +1 -1
  118. streamlit/static/static/js/{index.gBOr8z2K.js → index.Bj6uLiaA.js} +1 -1
  119. streamlit/static/static/js/{index.I3iNnzJx.js → index.BkvVxUIW.js} +1 -1
  120. streamlit/static/static/js/{index._BaeK1t7.js → index.Bs0m0eUy.js} +1 -1
  121. streamlit/static/static/js/{index.DwUISpCs.js → index.BtpsTdHN.js} +177 -174
  122. streamlit/static/static/js/index.C1GNiWbH.js +1 -0
  123. streamlit/static/static/js/{index.B6xTo8b8.js → index.CL0UH4WF.js} +1 -1
  124. streamlit/static/static/js/{index.BJQNG4O1.js → index.CXP5ffxh.js} +1 -1
  125. streamlit/static/static/js/{index.DAvhwYMG.js → index.Ca-9xoC2.js} +1 -1
  126. streamlit/static/static/js/{index.COBionvf.js → index.Cdd7Ri21.js} +1 -1
  127. streamlit/static/static/js/index.Cf8KcH2X.js +1 -0
  128. streamlit/static/static/js/{index.BkLkRTpZ.js → index.CfzaRR6P.js} +1 -1
  129. streamlit/static/static/js/{index.CkKptP1T.js → index.CjRwuAdg.js} +1 -1
  130. streamlit/static/static/js/{index.CjBaoWYr.js → index.CkOUlPYT.js} +1 -1
  131. streamlit/static/static/js/{index.DQGSbu2C.js → index.CxtkoiKl.js} +1 -1
  132. streamlit/static/static/js/index.D3wYqvI6.js +1 -0
  133. streamlit/static/static/js/index.D8i27llu.js +3 -0
  134. streamlit/static/static/js/{index.BfusYuD8.js → index.DA7wmIe4.js} +1 -1
  135. streamlit/static/static/js/index.DIG9Mo9J.js +1 -0
  136. streamlit/static/static/js/index.DNR4wKJg.js +1 -0
  137. streamlit/static/static/js/{index.B29JQLHa.js → index.DNS8a-dx.js} +20 -20
  138. streamlit/static/static/js/{index.BNNR5Jmd.js → index.NveskZ7j.js} +1 -1
  139. streamlit/static/static/js/{index.CWgnk1N4.js → index.PR2mcvVR.js} +1 -1
  140. streamlit/static/static/js/{index.CJ-XXd1r.js → index.df4uuSoD.js} +1 -1
  141. streamlit/static/static/js/{index.WWYmGCrM.js → index.flyQEkeT.js} +1 -1
  142. streamlit/static/static/js/{index.vOqxh1m2.js → index.iF9jUtwl.js} +1 -1
  143. streamlit/static/static/js/{index.C5KKmyWy.js → index.jyqBAhvH.js} +1 -1
  144. streamlit/static/static/js/{index.AWkO-7e-.js → index.sYLAHlH0.js} +1 -1
  145. streamlit/static/static/js/{index.CZ5fZcT5.js → index.zq3LdRhj.js} +1 -1
  146. streamlit/static/static/js/{input.BvD9DHLa.js → input.CtZjQ6Pv.js} +1 -1
  147. streamlit/static/static/js/{memory.DCVB1HOm.js → memory.Ddl3R0up.js} +1 -1
  148. streamlit/static/static/js/{mergeWith.BqTORFAq.js → mergeWith.D-TqDY0-.js} +1 -1
  149. streamlit/static/static/js/{number-overlay-editor.VB_OvuPv.js → number-overlay-editor.Dndf05Hx.js} +1 -1
  150. streamlit/static/static/js/{possibleConstructorReturn.DhYxBDlj.js → possibleConstructorReturn.DNEY6J9G.js} +1 -1
  151. streamlit/static/static/js/{sandbox.CoN7LRFk.js → sandbox.B_XDPkfx.js} +1 -1
  152. streamlit/static/static/js/{textarea.DkHpIjdT.js → textarea.BZ9lTMhV.js} +1 -1
  153. streamlit/static/static/js/{timepicker.C8UIzYhf.js → timepicker.D9UUwpRT.js} +1 -1
  154. streamlit/static/static/js/{toConsumableArray.DXfr1fvT.js → toConsumableArray.DNJjbOUS.js} +1 -1
  155. streamlit/static/static/js/{uniqueId.CgrMSBTb.js → uniqueId.psBJ_tSg.js} +1 -1
  156. streamlit/static/static/js/{useBasicWidgetState.C-e-WEFS.js → useBasicWidgetState.CTpx4w-3.js} +1 -1
  157. streamlit/static/static/js/{useOnInputChange.CtRJhZD6.js → useOnInputChange.WKTDSC4O.js} +1 -1
  158. streamlit/static/static/js/{withFullScreenWrapper.od0SAvAK.js → withFullScreenWrapper.oyWCn2-3.js} +1 -1
  159. streamlit/watcher/local_sources_watcher.py +1 -1
  160. streamlit/watcher/path_watcher.py +2 -3
  161. streamlit/web/bootstrap.py +1 -1
  162. streamlit/web/cli.py +5 -5
  163. streamlit/web/server/authlib_tornado_integration.py +3 -3
  164. streamlit/web/server/oauth_authlib_routes.py +4 -2
  165. streamlit/web/server/oidc_mixin.py +6 -5
  166. streamlit/web/server/server.py +1 -1
  167. {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/METADATA +2 -2
  168. {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/RECORD +172 -171
  169. streamlit/static/static/js/index.B0E6Rv1F.js +0 -1
  170. streamlit/static/static/js/index.BONHiJUZ.js +0 -1
  171. streamlit/static/static/js/index.BV38yp5k.js +0 -1
  172. streamlit/static/static/js/index.CgOynO1t.js +0 -1
  173. streamlit/static/static/js/index.DIyx-z1Q.js +0 -1
  174. streamlit/static/static/js/index.DOYomqqU.js +0 -1
  175. streamlit/static/static/js/index.DOl-SOKu.js +0 -3
  176. streamlit/static/static/js/index.DTU7qmDP.js +0 -12
  177. {streamlit_nightly-1.45.2.dev20250527.data → streamlit_nightly-1.45.2.dev20250530.data}/scripts/streamlit.cmd +0 -0
  178. {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/WHEEL +0 -0
  179. {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/entry_points.txt +0 -0
  180. {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,6 @@ import collections.abc
22
22
  import google.protobuf.descriptor
23
23
  import google.protobuf.internal.containers
24
24
  import google.protobuf.message
25
- import streamlit.proto.WidthConfig_pb2
26
25
  import typing
27
26
 
28
27
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -38,7 +37,6 @@ class DocString(google.protobuf.message.Message):
38
37
  NAME_FIELD_NUMBER: builtins.int
39
38
  VALUE_FIELD_NUMBER: builtins.int
40
39
  MEMBERS_FIELD_NUMBER: builtins.int
41
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
42
40
  doc_string: builtins.str
43
41
  """The doc string."""
44
42
  type: builtins.str
@@ -51,10 +49,6 @@ class DocString(google.protobuf.message.Message):
51
49
  def members(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Member]:
52
50
  """List of this object's methods and member variables."""
53
51
 
54
- @property
55
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig:
56
- """Indicates the width setting: "stetch" or a pixel value."""
57
-
58
52
  def __init__(
59
53
  self,
60
54
  *,
@@ -63,10 +57,8 @@ class DocString(google.protobuf.message.Message):
63
57
  name: builtins.str = ...,
64
58
  value: builtins.str = ...,
65
59
  members: collections.abc.Iterable[global___Member] | None = ...,
66
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
67
60
  ) -> None: ...
68
- def HasField(self, field_name: typing.Literal["width_config", b"width_config"]) -> builtins.bool: ...
69
- def ClearField(self, field_name: typing.Literal["doc_string", b"doc_string", "members", b"members", "name", b"name", "type", b"type", "value", b"value", "width_config", b"width_config"]) -> None: ...
61
+ def ClearField(self, field_name: typing.Literal["doc_string", b"doc_string", "members", b"members", "name", b"name", "type", b"type", "value", b"value"]) -> None: ...
70
62
 
71
63
  global___DocString = DocString
72
64
 
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
17
16
 
18
17
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/FileUploader.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\x99\x02\n\x0c\x46ileUploader\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x04 \x01(\x05\x12\x16\n\x0emultiple_files\x18\x06 \x01(\x08\x12\x0c\n\x04help\x18\x07 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x08 \x01(\t\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x31\n\x10label_visibility\x18\n \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x31\n\x0cwidth_config\x18\x0b \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\x42\x0f\n\r_width_configJ\x04\x08\x05\x10\x06\x42\x31\n\x1c\x63om.snowflake.apps.streamlitB\x11\x46ileUploaderProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/FileUploader.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xd5\x01\n\x0c\x46ileUploader\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x04 \x01(\x05\x12\x16\n\x0emultiple_files\x18\x06 \x01(\x08\x12\x0c\n\x04help\x18\x07 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x08 \x01(\t\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x31\n\x10label_visibility\x18\n \x01(\x0b\x32\x17.LabelVisibilityMessageJ\x04\x08\x05\x10\x06\x42\x31\n\x1c\x63om.snowflake.apps.streamlitB\x11\x46ileUploaderProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.FileUploade
24
23
  if not _descriptor._USE_C_DESCRIPTORS:
25
24
  _globals['DESCRIPTOR']._loaded_options = None
26
25
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\021FileUploaderProto'
27
- _globals['_FILEUPLOADER']._serialized_start=120
28
- _globals['_FILEUPLOADER']._serialized_end=401
26
+ _globals['_FILEUPLOADER']._serialized_start=85
27
+ _globals['_FILEUPLOADER']._serialized_end=298
29
28
  # @@protoc_insertion_point(module_scope)
@@ -23,7 +23,6 @@ import google.protobuf.descriptor
23
23
  import google.protobuf.internal.containers
24
24
  import google.protobuf.message
25
25
  import streamlit.proto.LabelVisibilityMessage_pb2
26
- import streamlit.proto.WidthConfig_pb2
27
26
  import typing
28
27
 
29
28
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -43,7 +42,6 @@ class FileUploader(google.protobuf.message.Message):
43
42
  FORM_ID_FIELD_NUMBER: builtins.int
44
43
  DISABLED_FIELD_NUMBER: builtins.int
45
44
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
46
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
47
45
  id: builtins.str
48
46
  """The widget id"""
49
47
  label: builtins.str
@@ -61,8 +59,6 @@ class FileUploader(google.protobuf.message.Message):
61
59
 
62
60
  @property
63
61
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
64
- @property
65
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
66
62
  def __init__(
67
63
  self,
68
64
  *,
@@ -75,10 +71,8 @@ class FileUploader(google.protobuf.message.Message):
75
71
  form_id: builtins.str = ...,
76
72
  disabled: builtins.bool = ...,
77
73
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
78
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
79
74
  ) -> None: ...
80
- def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "label_visibility", b"label_visibility", "width_config", b"width_config"]) -> builtins.bool: ...
81
- def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_upload_size_mb", b"max_upload_size_mb", "multiple_files", b"multiple_files", "type", b"type", "width_config", b"width_config"]) -> None: ...
82
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
75
+ def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
76
+ def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_upload_size_mb", b"max_upload_size_mb", "multiple_files", b"multiple_files", "type", b"type"]) -> None: ...
83
77
 
84
78
  global___FileUploader = FileUploader
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
16
15
 
17
16
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Json.proto\x1a!streamlit/proto/WidthConfig.proto\"\x88\x01\n\x04Json\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x10\n\x08\x65xpanded\x18\x02 \x01(\x08\x12\x1d\n\x10max_expand_depth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12,\n\x0cwidth_config\x18\x04 \x01(\x0b\x32\x16.streamlit.WidthConfigB\x13\n\x11_max_expand_depthB)\n\x1c\x63om.snowflake.apps.streamlitB\tJsonProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Json.proto\"Z\n\x04Json\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x10\n\x08\x65xpanded\x18\x02 \x01(\x08\x12\x1d\n\x10max_expand_depth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\x13\n\x11_max_expand_depthB)\n\x1c\x63om.snowflake.apps.streamlitB\tJsonProtob\x06proto3')
19
18
 
20
19
  _globals = globals()
21
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,6 +22,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Json_pb2',
23
22
  if not _descriptor._USE_C_DESCRIPTORS:
24
23
  _globals['DESCRIPTOR']._loaded_options = None
25
24
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\tJsonProto'
26
- _globals['_JSON']._serialized_start=66
27
- _globals['_JSON']._serialized_end=202
25
+ _globals['_JSON']._serialized_start=30
26
+ _globals['_JSON']._serialized_end=120
28
27
  # @@protoc_insertion_point(module_scope)
@@ -20,7 +20,6 @@ limitations under the License.
20
20
  import builtins
21
21
  import google.protobuf.descriptor
22
22
  import google.protobuf.message
23
- import streamlit.proto.WidthConfig_pb2
24
23
  import typing
25
24
 
26
25
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -32,7 +31,6 @@ class Json(google.protobuf.message.Message):
32
31
  BODY_FIELD_NUMBER: builtins.int
33
32
  EXPANDED_FIELD_NUMBER: builtins.int
34
33
  MAX_EXPAND_DEPTH_FIELD_NUMBER: builtins.int
35
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
36
34
  body: builtins.str
37
35
  """Content to display."""
38
36
  expanded: builtins.bool
@@ -41,20 +39,15 @@ class Json(google.protobuf.message.Message):
41
39
  """
42
40
  max_expand_depth: builtins.int
43
41
  """The maximum depth to expand the JSON object."""
44
- @property
45
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig:
46
- """Width configuration"""
47
-
48
42
  def __init__(
49
43
  self,
50
44
  *,
51
45
  body: builtins.str = ...,
52
46
  expanded: builtins.bool = ...,
53
47
  max_expand_depth: builtins.int | None = ...,
54
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
55
48
  ) -> None: ...
56
- def HasField(self, field_name: typing.Literal["_max_expand_depth", b"_max_expand_depth", "max_expand_depth", b"max_expand_depth", "width_config", b"width_config"]) -> builtins.bool: ...
57
- def ClearField(self, field_name: typing.Literal["_max_expand_depth", b"_max_expand_depth", "body", b"body", "expanded", b"expanded", "max_expand_depth", b"max_expand_depth", "width_config", b"width_config"]) -> None: ...
49
+ def HasField(self, field_name: typing.Literal["_max_expand_depth", b"_max_expand_depth", "max_expand_depth", b"max_expand_depth"]) -> builtins.bool: ...
50
+ def ClearField(self, field_name: typing.Literal["_max_expand_depth", b"_max_expand_depth", "body", b"body", "expanded", b"expanded", "max_expand_depth", b"max_expand_depth"]) -> None: ...
58
51
  def WhichOneof(self, oneof_group: typing.Literal["_max_expand_depth", b"_max_expand_depth"]) -> typing.Literal["max_expand_depth"] | None: ...
59
52
 
60
53
  global___Json = Json
@@ -16,7 +16,7 @@ from streamlit.proto import AppPage_pb2 as streamlit_dot_proto_dot_AppPage__pb2
16
16
  from streamlit.proto import SessionStatus_pb2 as streamlit_dot_proto_dot_SessionStatus__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/NewSession.proto\x1a\x1dstreamlit/proto/AppPage.proto\x1a#streamlit/proto/SessionStatus.proto\"\xa5\x02\n\nNewSession\x12\x1f\n\ninitialize\x18\x01 \x01(\x0b\x32\x0b.Initialize\x12\x15\n\rscript_run_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x18\n\x10main_script_path\x18\x04 \x01(\t\x12\x17\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x07.Config\x12(\n\x0c\x63ustom_theme\x18\x07 \x01(\x0b\x32\x12.CustomThemeConfig\x12\x1b\n\tapp_pages\x18\x08 \x03(\x0b\x32\x08.AppPage\x12\x18\n\x10page_script_hash\x18\t \x01(\t\x12\x1d\n\x15\x66ragment_ids_this_run\x18\n \x03(\t\x12\x18\n\x10main_script_hash\x18\x0b \x01(\tJ\x04\x08\x05\x10\x06\"\xba\x01\n\nInitialize\x12\x1c\n\tuser_info\x18\x01 \x01(\x0b\x32\t.UserInfo\x12*\n\x10\x65nvironment_info\x18\x03 \x01(\x0b\x32\x10.EnvironmentInfo\x12&\n\x0esession_status\x18\x04 \x01(\x0b\x32\x0e.SessionStatus\x12\x14\n\x0c\x63ommand_line\x18\x05 \x01(\t\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12\x10\n\x08is_hello\x18\x07 \x01(\x08\"\x97\x02\n\x06\x43onfig\x12\x1a\n\x12gather_usage_stats\x18\x02 \x01(\x08\x12\x1e\n\x16max_cached_message_age\x18\x03 \x01(\x05\x12\x14\n\x0cmapbox_token\x18\x04 \x01(\t\x12\x19\n\x11\x61llow_run_on_save\x18\x05 \x01(\x08\x12\x14\n\x0chide_top_bar\x18\x06 \x01(\x08\x12\x18\n\x10hide_sidebar_nav\x18\x07 \x01(\x08\x12)\n\x0ctoolbar_mode\x18\x08 \x01(\x0e\x32\x13.Config.ToolbarMode\"?\n\x0bToolbarMode\x12\x08\n\x04\x41UTO\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\n\n\x06VIEWER\x10\x02\x12\x0b\n\x07MINIMAL\x10\x03J\x04\x08\x01\x10\x02\"\xb6\x07\n\x11\x43ustomThemeConfig\x12\x15\n\rprimary_color\x18\x01 \x01(\t\x12\"\n\x1asecondary_background_color\x18\x02 \x01(\t\x12\x18\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\t\x12\x12\n\ntext_color\x18\x04 \x01(\t\x12+\n\x04\x66ont\x18\x05 \x01(\x0e\x32\x1d.CustomThemeConfig.FontFamily\x12*\n\x04\x62\x61se\x18\x06 \x01(\x0e\x32\x1c.CustomThemeConfig.BaseTheme\x12\x1f\n\x17widget_background_color\x18\x07 \x01(\t\x12\x1b\n\x13widget_border_color\x18\x08 \x01(\t\x12\x15\n\x05radii\x18\t \x01(\x0b\x32\x06.Radii\x12\x14\n\x0cheading_font\x18\x0c \x01(\t\x12\x11\n\tbody_font\x18\r \x01(\t\x12\x11\n\tcode_font\x18\x0e \x01(\t\x12\x1d\n\nfont_faces\x18\x0f \x03(\x0b\x32\t.FontFace\x12\x1e\n\nfont_sizes\x18\x10 \x01(\x0b\x32\n.FontSizes\x12!\n\x19skeleton_background_color\x18\x11 \x01(\t\x12\x18\n\x0b\x62\x61se_radius\x18\x12 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x62order_color\x18\x13 \x01(\tH\x01\x88\x01\x01\x12\x1f\n\x12show_widget_border\x18\x14 \x01(\x08H\x02\x88\x01\x01\x12\x17\n\nlink_color\x18\x15 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0e\x62\x61se_font_size\x18\x16 \x01(\x05H\x04\x88\x01\x01\x12 \n\x13show_sidebar_border\x18\x17 \x01(\x08H\x05\x88\x01\x01\x12(\n\x07sidebar\x18\x18 \x01(\x0b\x32\x12.CustomThemeConfigH\x06\x88\x01\x01\x12\"\n\x15\x63ode_background_color\x18\x19 \x01(\tH\x07\x88\x01\x01\" \n\tBaseTheme\x12\t\n\x05LIGHT\x10\x00\x12\x08\n\x04\x44\x41RK\x10\x01\"6\n\nFontFamily\x12\x0e\n\nSANS_SERIF\x10\x00\x12\t\n\x05SERIF\x10\x01\x12\r\n\tMONOSPACE\x10\x02\x42\x0e\n\x0c_base_radiusB\x0f\n\r_border_colorB\x15\n\x13_show_widget_borderB\r\n\x0b_link_colorB\x11\n\x0f_base_font_sizeB\x16\n\x14_show_sidebar_borderB\n\n\x08_sidebarB\x18\n\x16_code_background_color\"F\n\x08\x46ontFace\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x02 \x01(\t\x12\x0e\n\x06weight\x18\x03 \x01(\x05\x12\r\n\x05style\x18\x04 \x01(\t\"<\n\x05Radii\x12\x1a\n\x12\x62\x61se_widget_radius\x18\x01 \x01(\x05\x12\x17\n\x0f\x63heckbox_radius\x18\x02 \x01(\x05\"T\n\tFontSizes\x12\x16\n\x0etiny_font_size\x18\x01 \x01(\x05\x12\x17\n\x0fsmall_font_size\x18\x02 \x01(\x05\x12\x16\n\x0e\x62\x61se_font_size\x18\x03 \x01(\x05\"a\n\x08UserInfo\x12\x17\n\x0finstallation_id\x18\x01 \x01(\t\x12\x1a\n\x12installation_id_v3\x18\x05 \x01(\t\x12\x1a\n\x12installation_id_v4\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\"l\n\x0f\x45nvironmentInfo\x12\x19\n\x11streamlit_version\x18\x01 \x01(\t\x12\x16\n\x0epython_version\x18\x02 \x01(\t\x12\x11\n\tserver_os\x18\x03 \x01(\t\x12\x13\n\x0bhas_display\x18\x04 \x01(\x08\x42/\n\x1c\x63om.snowflake.apps.streamlitB\x0fNewSessionProtob\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/NewSession.proto\x1a\x1dstreamlit/proto/AppPage.proto\x1a#streamlit/proto/SessionStatus.proto\"\xa5\x02\n\nNewSession\x12\x1f\n\ninitialize\x18\x01 \x01(\x0b\x32\x0b.Initialize\x12\x15\n\rscript_run_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x18\n\x10main_script_path\x18\x04 \x01(\t\x12\x17\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x07.Config\x12(\n\x0c\x63ustom_theme\x18\x07 \x01(\x0b\x32\x12.CustomThemeConfig\x12\x1b\n\tapp_pages\x18\x08 \x03(\x0b\x32\x08.AppPage\x12\x18\n\x10page_script_hash\x18\t \x01(\t\x12\x1d\n\x15\x66ragment_ids_this_run\x18\n \x03(\t\x12\x18\n\x10main_script_hash\x18\x0b \x01(\tJ\x04\x08\x05\x10\x06\"\xba\x01\n\nInitialize\x12\x1c\n\tuser_info\x18\x01 \x01(\x0b\x32\t.UserInfo\x12*\n\x10\x65nvironment_info\x18\x03 \x01(\x0b\x32\x10.EnvironmentInfo\x12&\n\x0esession_status\x18\x04 \x01(\x0b\x32\x0e.SessionStatus\x12\x14\n\x0c\x63ommand_line\x18\x05 \x01(\t\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12\x10\n\x08is_hello\x18\x07 \x01(\x08\"\x97\x02\n\x06\x43onfig\x12\x1a\n\x12gather_usage_stats\x18\x02 \x01(\x08\x12\x1e\n\x16max_cached_message_age\x18\x03 \x01(\x05\x12\x14\n\x0cmapbox_token\x18\x04 \x01(\t\x12\x19\n\x11\x61llow_run_on_save\x18\x05 \x01(\x08\x12\x14\n\x0chide_top_bar\x18\x06 \x01(\x08\x12\x18\n\x10hide_sidebar_nav\x18\x07 \x01(\x08\x12)\n\x0ctoolbar_mode\x18\x08 \x01(\x0e\x32\x13.Config.ToolbarMode\"?\n\x0bToolbarMode\x12\x08\n\x04\x41UTO\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\n\n\x06VIEWER\x10\x02\x12\x0b\n\x07MINIMAL\x10\x03J\x04\x08\x01\x10\x02\"\xe4\x07\n\x11\x43ustomThemeConfig\x12\x15\n\rprimary_color\x18\x01 \x01(\t\x12\"\n\x1asecondary_background_color\x18\x02 \x01(\t\x12\x18\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\t\x12\x12\n\ntext_color\x18\x04 \x01(\t\x12+\n\x04\x66ont\x18\x05 \x01(\x0e\x32\x1d.CustomThemeConfig.FontFamily\x12*\n\x04\x62\x61se\x18\x06 \x01(\x0e\x32\x1c.CustomThemeConfig.BaseTheme\x12\x1f\n\x17widget_background_color\x18\x07 \x01(\t\x12\x1b\n\x13widget_border_color\x18\x08 \x01(\t\x12\x15\n\x05radii\x18\t \x01(\x0b\x32\x06.Radii\x12\x14\n\x0cheading_font\x18\x0c \x01(\t\x12\x11\n\tbody_font\x18\r \x01(\t\x12\x11\n\tcode_font\x18\x0e \x01(\t\x12\x1d\n\nfont_faces\x18\x0f \x03(\x0b\x32\t.FontFace\x12\x1e\n\nfont_sizes\x18\x10 \x01(\x0b\x32\n.FontSizes\x12!\n\x19skeleton_background_color\x18\x11 \x01(\t\x12\x18\n\x0b\x62\x61se_radius\x18\x12 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rbutton_radius\x18\x1a \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x62order_color\x18\x13 \x01(\tH\x02\x88\x01\x01\x12\x1f\n\x12show_widget_border\x18\x14 \x01(\x08H\x03\x88\x01\x01\x12\x17\n\nlink_color\x18\x15 \x01(\tH\x04\x88\x01\x01\x12\x1b\n\x0e\x62\x61se_font_size\x18\x16 \x01(\x05H\x05\x88\x01\x01\x12 \n\x13show_sidebar_border\x18\x17 \x01(\x08H\x06\x88\x01\x01\x12(\n\x07sidebar\x18\x18 \x01(\x0b\x32\x12.CustomThemeConfigH\x07\x88\x01\x01\x12\"\n\x15\x63ode_background_color\x18\x19 \x01(\tH\x08\x88\x01\x01\" \n\tBaseTheme\x12\t\n\x05LIGHT\x10\x00\x12\x08\n\x04\x44\x41RK\x10\x01\"6\n\nFontFamily\x12\x0e\n\nSANS_SERIF\x10\x00\x12\t\n\x05SERIF\x10\x01\x12\r\n\tMONOSPACE\x10\x02\x42\x0e\n\x0c_base_radiusB\x10\n\x0e_button_radiusB\x0f\n\r_border_colorB\x15\n\x13_show_widget_borderB\r\n\x0b_link_colorB\x11\n\x0f_base_font_sizeB\x16\n\x14_show_sidebar_borderB\n\n\x08_sidebarB\x18\n\x16_code_background_color\"F\n\x08\x46ontFace\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x02 \x01(\t\x12\x0e\n\x06weight\x18\x03 \x01(\x05\x12\r\n\x05style\x18\x04 \x01(\t\"<\n\x05Radii\x12\x1a\n\x12\x62\x61se_widget_radius\x18\x01 \x01(\x05\x12\x17\n\x0f\x63heckbox_radius\x18\x02 \x01(\x05\"T\n\tFontSizes\x12\x16\n\x0etiny_font_size\x18\x01 \x01(\x05\x12\x17\n\x0fsmall_font_size\x18\x02 \x01(\x05\x12\x16\n\x0e\x62\x61se_font_size\x18\x03 \x01(\x05\"a\n\x08UserInfo\x12\x17\n\x0finstallation_id\x18\x01 \x01(\t\x12\x1a\n\x12installation_id_v3\x18\x05 \x01(\t\x12\x1a\n\x12installation_id_v4\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\"l\n\x0f\x45nvironmentInfo\x12\x19\n\x11streamlit_version\x18\x01 \x01(\t\x12\x16\n\x0epython_version\x18\x02 \x01(\t\x12\x11\n\tserver_os\x18\x03 \x01(\t\x12\x13\n\x0bhas_display\x18\x04 \x01(\x08\x42/\n\x1c\x63om.snowflake.apps.streamlitB\x0fNewSessionProtob\x06proto3')
20
20
 
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -33,19 +33,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
33
33
  _globals['_CONFIG_TOOLBARMODE']._serialized_start=800
34
34
  _globals['_CONFIG_TOOLBARMODE']._serialized_end=863
35
35
  _globals['_CUSTOMTHEMECONFIG']._serialized_start=872
36
- _globals['_CUSTOMTHEMECONFIG']._serialized_end=1822
37
- _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_start=1582
38
- _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_end=1614
39
- _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_start=1616
40
- _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_end=1670
41
- _globals['_FONTFACE']._serialized_start=1824
42
- _globals['_FONTFACE']._serialized_end=1894
43
- _globals['_RADII']._serialized_start=1896
44
- _globals['_RADII']._serialized_end=1956
45
- _globals['_FONTSIZES']._serialized_start=1958
46
- _globals['_FONTSIZES']._serialized_end=2042
47
- _globals['_USERINFO']._serialized_start=2044
48
- _globals['_USERINFO']._serialized_end=2141
49
- _globals['_ENVIRONMENTINFO']._serialized_start=2143
50
- _globals['_ENVIRONMENTINFO']._serialized_end=2251
36
+ _globals['_CUSTOMTHEMECONFIG']._serialized_end=1868
37
+ _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_start=1610
38
+ _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_end=1642
39
+ _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_start=1644
40
+ _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_end=1698
41
+ _globals['_FONTFACE']._serialized_start=1870
42
+ _globals['_FONTFACE']._serialized_end=1940
43
+ _globals['_RADII']._serialized_start=1942
44
+ _globals['_RADII']._serialized_end=2002
45
+ _globals['_FONTSIZES']._serialized_start=2004
46
+ _globals['_FONTSIZES']._serialized_end=2088
47
+ _globals['_USERINFO']._serialized_start=2090
48
+ _globals['_USERINFO']._serialized_end=2187
49
+ _globals['_ENVIRONMENTINFO']._serialized_start=2189
50
+ _globals['_ENVIRONMENTINFO']._serialized_end=2297
51
51
  # @@protoc_insertion_point(module_scope)
@@ -285,6 +285,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
285
285
  FONT_SIZES_FIELD_NUMBER: builtins.int
286
286
  SKELETON_BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
287
287
  BASE_RADIUS_FIELD_NUMBER: builtins.int
288
+ BUTTON_RADIUS_FIELD_NUMBER: builtins.int
288
289
  BORDER_COLOR_FIELD_NUMBER: builtins.int
289
290
  SHOW_WIDGET_BORDER_FIELD_NUMBER: builtins.int
290
291
  LINK_COLOR_FIELD_NUMBER: builtins.int
@@ -309,6 +310,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
309
310
  skeleton_background_color: builtins.str
310
311
  """DEPRECATED: This color is not applied anymore:"""
311
312
  base_radius: builtins.str
313
+ button_radius: builtins.str
312
314
  border_color: builtins.str
313
315
  show_widget_border: builtins.bool
314
316
  link_color: builtins.str
@@ -346,6 +348,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
346
348
  font_sizes: global___FontSizes | None = ...,
347
349
  skeleton_background_color: builtins.str = ...,
348
350
  base_radius: builtins.str | None = ...,
351
+ button_radius: builtins.str | None = ...,
349
352
  border_color: builtins.str | None = ...,
350
353
  show_widget_border: builtins.bool | None = ...,
351
354
  link_color: builtins.str | None = ...,
@@ -354,8 +357,8 @@ class CustomThemeConfig(google.protobuf.message.Message):
354
357
  sidebar: global___CustomThemeConfig | None = ...,
355
358
  code_background_color: builtins.str | None = ...,
356
359
  ) -> None: ...
357
- def HasField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_radius", b"_base_radius", "_border_color", b"_border_color", "_code_background_color", b"_code_background_color", "_link_color", b"_link_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "base_font_size", b"base_font_size", "base_radius", b"base_radius", "border_color", b"border_color", "code_background_color", b"code_background_color", "font_sizes", b"font_sizes", "link_color", b"link_color", "radii", b"radii", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar"]) -> builtins.bool: ...
358
- def ClearField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_radius", b"_base_radius", "_border_color", b"_border_color", "_code_background_color", b"_code_background_color", "_link_color", b"_link_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "background_color", b"background_color", "base", b"base", "base_font_size", b"base_font_size", "base_radius", b"base_radius", "body_font", b"body_font", "border_color", b"border_color", "code_background_color", b"code_background_color", "code_font", b"code_font", "font", b"font", "font_faces", b"font_faces", "font_sizes", b"font_sizes", "heading_font", b"heading_font", "link_color", b"link_color", "primary_color", b"primary_color", "radii", b"radii", "secondary_background_color", b"secondary_background_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "skeleton_background_color", b"skeleton_background_color", "text_color", b"text_color", "widget_background_color", b"widget_background_color", "widget_border_color", b"widget_border_color"]) -> None: ...
360
+ def HasField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_radius", b"_base_radius", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_link_color", b"_link_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "base_font_size", b"base_font_size", "base_radius", b"base_radius", "border_color", b"border_color", "button_radius", b"button_radius", "code_background_color", b"code_background_color", "font_sizes", b"font_sizes", "link_color", b"link_color", "radii", b"radii", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar"]) -> builtins.bool: ...
361
+ def ClearField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_radius", b"_base_radius", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_link_color", b"_link_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "background_color", b"background_color", "base", b"base", "base_font_size", b"base_font_size", "base_radius", b"base_radius", "body_font", b"body_font", "border_color", b"border_color", "button_radius", b"button_radius", "code_background_color", b"code_background_color", "code_font", b"code_font", "font", b"font", "font_faces", b"font_faces", "font_sizes", b"font_sizes", "heading_font", b"heading_font", "link_color", b"link_color", "primary_color", b"primary_color", "radii", b"radii", "secondary_background_color", b"secondary_background_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "skeleton_background_color", b"skeleton_background_color", "text_color", b"text_color", "widget_background_color", b"widget_background_color", "widget_border_color", b"widget_border_color"]) -> None: ...
359
362
  @typing.overload
360
363
  def WhichOneof(self, oneof_group: typing.Literal["_base_font_size", b"_base_font_size"]) -> typing.Literal["base_font_size"] | None: ...
361
364
  @typing.overload
@@ -363,6 +366,8 @@ class CustomThemeConfig(google.protobuf.message.Message):
363
366
  @typing.overload
364
367
  def WhichOneof(self, oneof_group: typing.Literal["_border_color", b"_border_color"]) -> typing.Literal["border_color"] | None: ...
365
368
  @typing.overload
369
+ def WhichOneof(self, oneof_group: typing.Literal["_button_radius", b"_button_radius"]) -> typing.Literal["button_radius"] | None: ...
370
+ @typing.overload
366
371
  def WhichOneof(self, oneof_group: typing.Literal["_code_background_color", b"_code_background_color"]) -> typing.Literal["code_background_color"] | None: ...
367
372
  @typing.overload
368
373
  def WhichOneof(self, oneof_group: typing.Literal["_link_color", b"_link_color"]) -> typing.Literal["link_color"] | None: ...
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
17
16
 
18
17
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/NumberInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\x8e\x04\n\x0bNumberInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x08 \x01(\t\x12\x0f\n\x07has_min\x18\x0b \x01(\x08\x12\x0f\n\x07has_max\x18\x0c \x01(\x08\x12(\n\tdata_type\x18\r \x01(\x0e\x32\x15.NumberInput.DataType\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x0e \x01(\x01H\x00\x88\x01\x01\x12\x0c\n\x04step\x18\x0f \x01(\x01\x12\x0b\n\x03min\x18\x10 \x01(\x01\x12\x0b\n\x03max\x18\x11 \x01(\x01\x12\x0c\n\x04help\x18\x12 \x01(\t\x12\x12\n\x05value\x18\x13 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x14 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x15 \x01(\x08\x12\x31\n\x10label_visibility\x18\x16 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x17 \x01(\t\x12\x0c\n\x04icon\x18\x18 \x01(\t\x12\x31\n\x0cwidth_config\x18\x19 \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\"\x1e\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\x42\x30\n\x1c\x63om.snowflake.apps.streamlitB\x10NumberInputProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/NumberInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xca\x03\n\x0bNumberInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x08 \x01(\t\x12\x0f\n\x07has_min\x18\x0b \x01(\x08\x12\x0f\n\x07has_max\x18\x0c \x01(\x08\x12(\n\tdata_type\x18\r \x01(\x0e\x32\x15.NumberInput.DataType\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x0e \x01(\x01H\x00\x88\x01\x01\x12\x0c\n\x04step\x18\x0f \x01(\x01\x12\x0b\n\x03min\x18\x10 \x01(\x01\x12\x0b\n\x03max\x18\x11 \x01(\x01\x12\x0c\n\x04help\x18\x12 \x01(\t\x12\x12\n\x05value\x18\x13 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x14 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x15 \x01(\x08\x12\x31\n\x10label_visibility\x18\x16 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x17 \x01(\t\x12\x0c\n\x04icon\x18\x18 \x01(\t\"\x1e\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x42\n\n\x08_defaultB\x08\n\x06_valueJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\x42\x30\n\x1c\x63om.snowflake.apps.streamlitB\x10NumberInputProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,8 +23,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.NumberInput
24
23
  if not _descriptor._USE_C_DESCRIPTORS:
25
24
  _globals['DESCRIPTOR']._loaded_options = None
26
25
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020NumberInputProto'
27
- _globals['_NUMBERINPUT']._serialized_start=119
28
- _globals['_NUMBERINPUT']._serialized_end=645
29
- _globals['_NUMBERINPUT_DATATYPE']._serialized_start=540
30
- _globals['_NUMBERINPUT_DATATYPE']._serialized_end=570
26
+ _globals['_NUMBERINPUT']._serialized_start=84
27
+ _globals['_NUMBERINPUT']._serialized_end=542
28
+ _globals['_NUMBERINPUT_DATATYPE']._serialized_start=454
29
+ _globals['_NUMBERINPUT_DATATYPE']._serialized_end=484
31
30
  # @@protoc_insertion_point(module_scope)
@@ -22,7 +22,6 @@ import google.protobuf.descriptor
22
22
  import google.protobuf.internal.enum_type_wrapper
23
23
  import google.protobuf.message
24
24
  import streamlit.proto.LabelVisibilityMessage_pb2
25
- import streamlit.proto.WidthConfig_pb2
26
25
  import sys
27
26
  import typing
28
27
 
@@ -74,7 +73,6 @@ class NumberInput(google.protobuf.message.Message):
74
73
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
75
74
  PLACEHOLDER_FIELD_NUMBER: builtins.int
76
75
  ICON_FIELD_NUMBER: builtins.int
77
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
78
76
  id: builtins.str
79
77
  label: builtins.str
80
78
  form_id: builtins.str
@@ -94,8 +92,6 @@ class NumberInput(google.protobuf.message.Message):
94
92
  icon: builtins.str
95
93
  @property
96
94
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
97
- @property
98
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
99
95
  def __init__(
100
96
  self,
101
97
  *,
@@ -117,15 +113,12 @@ class NumberInput(google.protobuf.message.Message):
117
113
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
118
114
  placeholder: builtins.str = ...,
119
115
  icon: builtins.str = ...,
120
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
121
116
  ) -> None: ...
122
- def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "label_visibility", b"label_visibility", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
123
- def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "has_max", b"has_max", "has_min", b"has_min", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "placeholder", b"placeholder", "set_value", b"set_value", "step", b"step", "value", b"value", "width_config", b"width_config"]) -> None: ...
117
+ def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
118
+ def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "has_max", b"has_max", "has_min", b"has_min", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "placeholder", b"placeholder", "set_value", b"set_value", "step", b"step", "value", b"value"]) -> None: ...
124
119
  @typing.overload
125
120
  def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
126
121
  @typing.overload
127
122
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
128
- @typing.overload
129
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
130
123
 
131
124
  global___NumberInput = NumberInput
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
16
15
 
17
16
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Progress.proto\x1a!streamlit/proto/WidthConfig.proto\"U\n\x08Progress\x12\r\n\x05value\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\t\x12,\n\x0cwidth_config\x18\x03 \x01(\x0b\x32\x16.streamlit.WidthConfigB-\n\x1c\x63om.snowflake.apps.streamlitB\rProgressProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Progress.proto\"\'\n\x08Progress\x12\r\n\x05value\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\tB-\n\x1c\x63om.snowflake.apps.streamlitB\rProgressProtob\x06proto3')
19
18
 
20
19
  _globals = globals()
21
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,6 +22,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Progress_pb
23
22
  if not _descriptor._USE_C_DESCRIPTORS:
24
23
  _globals['DESCRIPTOR']._loaded_options = None
25
24
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rProgressProto'
26
- _globals['_PROGRESS']._serialized_start=69
27
- _globals['_PROGRESS']._serialized_end=154
25
+ _globals['_PROGRESS']._serialized_start=34
26
+ _globals['_PROGRESS']._serialized_end=73
28
27
  # @@protoc_insertion_point(module_scope)
@@ -20,7 +20,6 @@ limitations under the License.
20
20
  import builtins
21
21
  import google.protobuf.descriptor
22
22
  import google.protobuf.message
23
- import streamlit.proto.WidthConfig_pb2
24
23
  import typing
25
24
 
26
25
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -31,19 +30,14 @@ class Progress(google.protobuf.message.Message):
31
30
 
32
31
  VALUE_FIELD_NUMBER: builtins.int
33
32
  TEXT_FIELD_NUMBER: builtins.int
34
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
35
33
  value: builtins.int
36
34
  text: builtins.str
37
- @property
38
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
39
35
  def __init__(
40
36
  self,
41
37
  *,
42
38
  value: builtins.int = ...,
43
39
  text: builtins.str = ...,
44
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
45
40
  ) -> None: ...
46
- def HasField(self, field_name: typing.Literal["width_config", b"width_config"]) -> builtins.bool: ...
47
- def ClearField(self, field_name: typing.Literal["text", b"text", "value", b"value", "width_config", b"width_config"]) -> None: ...
41
+ def ClearField(self, field_name: typing.Literal["text", b"text", "value", b"value"]) -> None: ...
48
42
 
49
43
  global___Progress = Progress
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
17
16
 
18
17
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Selectbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xa9\x03\n\tSelectbox\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x0f\n\x07options\x18\x04 \x03(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x16\n\x05value\x18\x07 \x01(\x05\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x16\n\traw_value\x18\r \x01(\tH\x02\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x31\n\x10label_visibility\x18\n \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x1f\n\x12\x61\x63\x63\x65pt_new_options\x18\x0c \x01(\x08H\x03\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0e \x01(\x0b\x32\x16.streamlit.WidthConfigH\x04\x88\x01\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0c\n\n_raw_valueB\x15\n\x13_accept_new_optionsB\x0f\n\r_width_configB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eSelectboxProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Selectbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xe5\x02\n\tSelectbox\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x0f\n\x07options\x18\x04 \x03(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x16\n\x05value\x18\x07 \x01(\x05\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x16\n\traw_value\x18\r \x01(\tH\x02\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x31\n\x10label_visibility\x18\n \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x1f\n\x12\x61\x63\x63\x65pt_new_options\x18\x0c \x01(\x08H\x03\x88\x01\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0c\n\n_raw_valueB\x15\n\x13_accept_new_optionsB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eSelectboxProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -26,6 +25,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
26
25
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016SelectboxProto'
27
26
  _globals['_SELECTBOX'].fields_by_name['value']._loaded_options = None
28
27
  _globals['_SELECTBOX'].fields_by_name['value']._serialized_options = b'\030\001'
29
- _globals['_SELECTBOX']._serialized_start=117
30
- _globals['_SELECTBOX']._serialized_end=542
28
+ _globals['_SELECTBOX']._serialized_start=82
29
+ _globals['_SELECTBOX']._serialized_end=439
31
30
  # @@protoc_insertion_point(module_scope)
@@ -23,7 +23,6 @@ import google.protobuf.descriptor
23
23
  import google.protobuf.internal.containers
24
24
  import google.protobuf.message
25
25
  import streamlit.proto.LabelVisibilityMessage_pb2
26
- import streamlit.proto.WidthConfig_pb2
27
26
  import typing
28
27
 
29
28
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -45,7 +44,6 @@ class Selectbox(google.protobuf.message.Message):
45
44
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
46
45
  PLACEHOLDER_FIELD_NUMBER: builtins.int
47
46
  ACCEPT_NEW_OPTIONS_FIELD_NUMBER: builtins.int
48
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
49
47
  id: builtins.str
50
48
  label: builtins.str
51
49
  default: builtins.int
@@ -64,8 +62,6 @@ class Selectbox(google.protobuf.message.Message):
64
62
  def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
65
63
  @property
66
64
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
67
- @property
68
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
69
65
  def __init__(
70
66
  self,
71
67
  *,
@@ -82,10 +78,9 @@ class Selectbox(google.protobuf.message.Message):
82
78
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
83
79
  placeholder: builtins.str = ...,
84
80
  accept_new_options: builtins.bool | None = ...,
85
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
86
81
  ) -> None: ...
87
- def HasField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "_width_config", b"_width_config", "accept_new_options", b"accept_new_options", "default", b"default", "label_visibility", b"label_visibility", "raw_value", b"raw_value", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
88
- def ClearField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "_width_config", b"_width_config", "accept_new_options", b"accept_new_options", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "placeholder", b"placeholder", "raw_value", b"raw_value", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
82
+ def HasField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "accept_new_options", b"accept_new_options", "default", b"default", "label_visibility", b"label_visibility", "raw_value", b"raw_value", "value", b"value"]) -> builtins.bool: ...
83
+ def ClearField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "accept_new_options", b"accept_new_options", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "placeholder", b"placeholder", "raw_value", b"raw_value", "set_value", b"set_value", "value", b"value"]) -> None: ...
89
84
  @typing.overload
90
85
  def WhichOneof(self, oneof_group: typing.Literal["_accept_new_options", b"_accept_new_options"]) -> typing.Literal["accept_new_options"] | None: ...
91
86
  @typing.overload
@@ -94,7 +89,5 @@ class Selectbox(google.protobuf.message.Message):
94
89
  def WhichOneof(self, oneof_group: typing.Literal["_raw_value", b"_raw_value"]) -> typing.Literal["raw_value"] | None: ...
95
90
  @typing.overload
96
91
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
97
- @typing.overload
98
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
99
92
 
100
93
  global___Selectbox = Selectbox
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
17
16
 
18
17
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Slider.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\x82\x04\n\x06Slider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12#\n\tdata_type\x18\x05 \x01(\x0e\x32\x10.Slider.DataType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x03(\x01\x12\x0b\n\x03min\x18\x07 \x01(\x01\x12\x0b\n\x03max\x18\x08 \x01(\x01\x12\x0c\n\x04step\x18\t \x01(\x01\x12\r\n\x05value\x18\n \x03(\x01\x12\x11\n\tset_value\x18\x0b \x01(\x08\x12\x0f\n\x07options\x18\r \x03(\t\x12\x0c\n\x04help\x18\x0e \x01(\t\x12\x10\n\x08\x64isabled\x18\x0f \x01(\x08\x12\x31\n\x10label_visibility\x18\x10 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x1a\n\x04type\x18\x11 \x01(\x0e\x32\x0c.Slider.Type\x12\x31\n\x0cwidth_config\x18\x12 \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\"@\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\x0c\n\x08\x44\x41TETIME\x10\x02\x12\x08\n\x04\x44\x41TE\x10\x03\x12\x08\n\x04TIME\x10\x04\"6\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06SLIDER\x10\x01\x12\x11\n\rSELECT_SLIDER\x10\x02\x42\x0f\n\r_width_configB+\n\x1c\x63om.snowflake.apps.streamlitB\x0bSliderProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Slider.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xbe\x03\n\x06Slider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12#\n\tdata_type\x18\x05 \x01(\x0e\x32\x10.Slider.DataType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x03(\x01\x12\x0b\n\x03min\x18\x07 \x01(\x01\x12\x0b\n\x03max\x18\x08 \x01(\x01\x12\x0c\n\x04step\x18\t \x01(\x01\x12\r\n\x05value\x18\n \x03(\x01\x12\x11\n\tset_value\x18\x0b \x01(\x08\x12\x0f\n\x07options\x18\r \x03(\t\x12\x0c\n\x04help\x18\x0e \x01(\t\x12\x10\n\x08\x64isabled\x18\x0f \x01(\x08\x12\x31\n\x10label_visibility\x18\x10 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x1a\n\x04type\x18\x11 \x01(\x0e\x32\x0c.Slider.Type\"@\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\x0c\n\x08\x44\x41TETIME\x10\x02\x12\x08\n\x04\x44\x41TE\x10\x03\x12\x08\n\x04TIME\x10\x04\"6\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06SLIDER\x10\x01\x12\x11\n\rSELECT_SLIDER\x10\x02\x42+\n\x1c\x63om.snowflake.apps.streamlitB\x0bSliderProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,10 +23,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Slider_pb2'
24
23
  if not _descriptor._USE_C_DESCRIPTORS:
25
24
  _globals['DESCRIPTOR']._loaded_options = None
26
25
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\013SliderProto'
27
- _globals['_SLIDER']._serialized_start=114
28
- _globals['_SLIDER']._serialized_end=628
29
- _globals['_SLIDER_DATATYPE']._serialized_start=491
30
- _globals['_SLIDER_DATATYPE']._serialized_end=555
31
- _globals['_SLIDER_TYPE']._serialized_start=557
32
- _globals['_SLIDER_TYPE']._serialized_end=611
26
+ _globals['_SLIDER']._serialized_start=79
27
+ _globals['_SLIDER']._serialized_end=525
28
+ _globals['_SLIDER_DATATYPE']._serialized_start=405
29
+ _globals['_SLIDER_DATATYPE']._serialized_end=469
30
+ _globals['_SLIDER_TYPE']._serialized_start=471
31
+ _globals['_SLIDER_TYPE']._serialized_end=525
33
32
  # @@protoc_insertion_point(module_scope)
@@ -24,7 +24,6 @@ import google.protobuf.internal.containers
24
24
  import google.protobuf.internal.enum_type_wrapper
25
25
  import google.protobuf.message
26
26
  import streamlit.proto.LabelVisibilityMessage_pb2
27
- import streamlit.proto.WidthConfig_pb2
28
27
  import sys
29
28
  import typing
30
29
 
@@ -97,7 +96,6 @@ class Slider(google.protobuf.message.Message):
97
96
  DISABLED_FIELD_NUMBER: builtins.int
98
97
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
99
98
  TYPE_FIELD_NUMBER: builtins.int
100
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
101
99
  id: builtins.str
102
100
  form_id: builtins.str
103
101
  label: builtins.str
@@ -118,8 +116,6 @@ class Slider(google.protobuf.message.Message):
118
116
  def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
119
117
  @property
120
118
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
121
- @property
122
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
123
119
  def __init__(
124
120
  self,
125
121
  *,
@@ -139,10 +135,8 @@ class Slider(google.protobuf.message.Message):
139
135
  disabled: builtins.bool = ...,
140
136
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
141
137
  type: global___Slider.Type.ValueType = ...,
142
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
143
138
  ) -> None: ...
144
- def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "label_visibility", b"label_visibility", "width_config", b"width_config"]) -> builtins.bool: ...
145
- def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "options", b"options", "set_value", b"set_value", "step", b"step", "type", b"type", "value", b"value", "width_config", b"width_config"]) -> None: ...
146
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
139
+ def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
140
+ def ClearField(self, field_name: typing.Literal["data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "options", b"options", "set_value", b"set_value", "step", b"step", "type", b"type", "value", b"value"]) -> None: ...
147
141
 
148
142
  global___Slider = Slider
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
- from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
17
16
 
18
17
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/TextArea.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xd8\x02\n\x08TextArea\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06height\x18\x04 \x01(\r\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x13\n\x0bplaceholder\x18\n \x01(\t\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x31\n\x0cwidth_config\x18\r \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configB-\n\x1c\x63om.snowflake.apps.streamlitB\rTextAreaProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/TextArea.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x94\x02\n\x08TextArea\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06height\x18\x04 \x01(\r\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x13\n\x0bplaceholder\x18\n \x01(\t\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessageB\n\n\x08_defaultB\x08\n\x06_valueB-\n\x1c\x63om.snowflake.apps.streamlitB\rTextAreaProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.TextArea_pb
24
23
  if not _descriptor._USE_C_DESCRIPTORS:
25
24
  _globals['DESCRIPTOR']._loaded_options = None
26
25
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rTextAreaProto'
27
- _globals['_TEXTAREA']._serialized_start=116
28
- _globals['_TEXTAREA']._serialized_end=460
26
+ _globals['_TEXTAREA']._serialized_start=81
27
+ _globals['_TEXTAREA']._serialized_end=357
29
28
  # @@protoc_insertion_point(module_scope)