streamlit-nightly 1.45.2.dev20250528__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 (138) hide show
  1. streamlit/config.py +18 -0
  2. streamlit/delta_generator.py +10 -14
  3. streamlit/elements/doc_string.py +7 -15
  4. streamlit/elements/form.py +14 -0
  5. streamlit/elements/json.py +7 -6
  6. streamlit/elements/layouts.py +21 -3
  7. streamlit/elements/lib/layout_utils.py +24 -0
  8. streamlit/elements/lib/mutable_status_container.py +9 -0
  9. streamlit/elements/markdown.py +33 -3
  10. streamlit/elements/progress.py +3 -12
  11. streamlit/elements/widgets/audio_input.py +3 -10
  12. streamlit/elements/widgets/camera_input.py +5 -9
  13. streamlit/elements/widgets/chat.py +9 -12
  14. streamlit/elements/widgets/data_editor.py +6 -3
  15. streamlit/elements/widgets/file_uploader.py +9 -9
  16. streamlit/elements/widgets/number_input.py +11 -12
  17. streamlit/elements/widgets/select_slider.py +3 -10
  18. streamlit/elements/widgets/selectbox.py +9 -12
  19. streamlit/elements/widgets/slider.py +3 -9
  20. streamlit/elements/widgets/text_widgets.py +13 -22
  21. streamlit/elements/widgets/time_widgets.py +13 -22
  22. streamlit/hello/hello.py +1 -0
  23. streamlit/hello/streamlit_app.py +27 -25
  24. streamlit/proto/AudioInput_pb2.py +3 -4
  25. streamlit/proto/AudioInput_pb2.pyi +2 -7
  26. streamlit/proto/Block_pb2.py +27 -27
  27. streamlit/proto/Block_pb2.pyi +3 -17
  28. streamlit/proto/CameraInput_pb2.py +3 -4
  29. streamlit/proto/CameraInput_pb2.pyi +2 -8
  30. streamlit/proto/ChatInput_pb2.py +7 -8
  31. streamlit/proto/ChatInput_pb2.pyi +1 -10
  32. streamlit/proto/Code_pb2.py +3 -4
  33. streamlit/proto/DateInput_pb2.py +3 -4
  34. streamlit/proto/DateInput_pb2.pyi +2 -8
  35. streamlit/proto/DocString_pb2.py +5 -6
  36. streamlit/proto/DocString_pb2.pyi +1 -9
  37. streamlit/proto/FileUploader_pb2.py +3 -4
  38. streamlit/proto/FileUploader_pb2.pyi +2 -8
  39. streamlit/proto/Json_pb2.py +3 -4
  40. streamlit/proto/Json_pb2.pyi +2 -9
  41. streamlit/proto/NewSession_pb2.py +16 -16
  42. streamlit/proto/NewSession_pb2.pyi +7 -2
  43. streamlit/proto/NumberInput_pb2.py +5 -6
  44. streamlit/proto/NumberInput_pb2.pyi +2 -9
  45. streamlit/proto/Progress_pb2.py +3 -4
  46. streamlit/proto/Progress_pb2.pyi +1 -7
  47. streamlit/proto/Selectbox_pb2.py +3 -4
  48. streamlit/proto/Selectbox_pb2.pyi +2 -9
  49. streamlit/proto/Slider_pb2.py +7 -8
  50. streamlit/proto/Slider_pb2.pyi +2 -8
  51. streamlit/proto/TextArea_pb2.py +3 -4
  52. streamlit/proto/TextArea_pb2.pyi +2 -9
  53. streamlit/proto/TextInput_pb2.py +5 -6
  54. streamlit/proto/TextInput_pb2.pyi +2 -9
  55. streamlit/proto/TimeInput_pb2.py +3 -4
  56. streamlit/proto/TimeInput_pb2.pyi +2 -9
  57. streamlit/static/index.html +1 -1
  58. streamlit/static/manifest.json +1240 -0
  59. streamlit/static/static/js/{ErrorOutline.esm.CtshIbC5.js → ErrorOutline.esm.D5NgCh5m.js} +1 -1
  60. streamlit/static/static/js/{FileDownload.esm.A0XrMp_A.js → FileDownload.esm.NuObx1Tl.js} +1 -1
  61. streamlit/static/static/js/{FileHelper.BkYmOfR4.js → FileHelper.BH7o4_P9.js} +5 -5
  62. streamlit/static/static/js/{FormClearHelper.DvUrjO5s.js → FormClearHelper.BAxB8JFY.js} +1 -1
  63. streamlit/static/static/js/{Hooks.Dw0PPeMp.js → Hooks.Bjt8oBOT.js} +1 -1
  64. streamlit/static/static/js/{InputInstructions.BwkpOG-3.js → InputInstructions.BZZLp6t9.js} +1 -1
  65. streamlit/static/static/js/{ProgressBar.Po8toa5U.js → ProgressBar.BwRgGfI0.js} +2 -2
  66. streamlit/static/static/js/{RenderInPortalIfExists.DG7izwhP.js → RenderInPortalIfExists.C_c286r8.js} +1 -1
  67. streamlit/static/static/js/{Toolbar.zoRxypF9.js → Toolbar.5tXjF_eX.js} +1 -1
  68. streamlit/static/static/js/{base-input.3hmq5vR4.js → base-input.wfBDFTlB.js} +1 -1
  69. streamlit/static/static/js/{checkbox.DHVebTBP.js → checkbox.D1GhNngU.js} +1 -1
  70. streamlit/static/static/js/{createSuper.CCzF882j.js → createSuper.CudEEVs2.js} +1 -1
  71. streamlit/static/static/js/{data-grid-overlay-editor.CRIS0V5u.js → data-grid-overlay-editor.DUTI_Rbg.js} +1 -1
  72. streamlit/static/static/js/{downloader.DOuJ7F43.js → downloader.BwLpAoXN.js} +1 -1
  73. streamlit/static/static/js/{es6.BojNhy97.js → es6.B_HLnUb9.js} +2 -2
  74. streamlit/static/static/js/{iframeResizer.contentWindow.CmN7IDO7.js → iframeResizer.contentWindow.BNcjOcan.js} +1 -1
  75. streamlit/static/static/js/{index.VVmp3qV7.js → index.3WJoJFGb.js} +1 -1
  76. streamlit/static/static/js/{index.CTVSiPCo.js → index.B0h616Th.js} +1 -1
  77. streamlit/static/static/js/{index.CLFnBokZ.js → index.B0paBg5x.js} +1 -1
  78. streamlit/static/static/js/index.B3vWaIrN.js +1 -0
  79. streamlit/static/static/js/{index.CdgLDqMc.js → index.B4PbMsBe.js} +1 -1
  80. streamlit/static/static/js/{index.BV-8GugV.js → index.BGKVW2u9.js} +1 -1
  81. streamlit/static/static/js/index.BJQPxOFd.js +12 -0
  82. streamlit/static/static/js/{index.B3Y99Usz.js → index.BOHEcsVb.js} +1 -1
  83. streamlit/static/static/js/{index.CZ6f-p0K.js → index.BPGAPI9w.js} +1 -1
  84. streamlit/static/static/js/{index.BXfm7UZe.js → index.Bj6uLiaA.js} +1 -1
  85. streamlit/static/static/js/{index.BvWDoWjf.js → index.BkvVxUIW.js} +1 -1
  86. streamlit/static/static/js/{index.kWUcv9pK.js → index.Bs0m0eUy.js} +1 -1
  87. streamlit/static/static/js/{index.YePOPnW6.js → index.BtpsTdHN.js} +176 -173
  88. streamlit/static/static/js/index.C1GNiWbH.js +1 -0
  89. streamlit/static/static/js/{index.Ih0EXMso.js → index.CL0UH4WF.js} +1 -1
  90. streamlit/static/static/js/{index.DkNaEiLi.js → index.CXP5ffxh.js} +1 -1
  91. streamlit/static/static/js/{index.Cpz3pp0B.js → index.Ca-9xoC2.js} +1 -1
  92. streamlit/static/static/js/{index.BgmEuudT.js → index.Cdd7Ri21.js} +1 -1
  93. streamlit/static/static/js/index.Cf8KcH2X.js +1 -0
  94. streamlit/static/static/js/{index.CWweAMBx.js → index.CfzaRR6P.js} +1 -1
  95. streamlit/static/static/js/{index.muQ-sA7D.js → index.CjRwuAdg.js} +1 -1
  96. streamlit/static/static/js/{index.BEfxU01i.js → index.CkOUlPYT.js} +1 -1
  97. streamlit/static/static/js/{index.BsiojTxz.js → index.CxtkoiKl.js} +1 -1
  98. streamlit/static/static/js/index.D3wYqvI6.js +1 -0
  99. streamlit/static/static/js/index.D8i27llu.js +3 -0
  100. streamlit/static/static/js/{index.BMWx_YQD.js → index.DA7wmIe4.js} +1 -1
  101. streamlit/static/static/js/index.DIG9Mo9J.js +1 -0
  102. streamlit/static/static/js/index.DNR4wKJg.js +1 -0
  103. streamlit/static/static/js/{index.DcLQo3NB.js → index.DNS8a-dx.js} +20 -20
  104. streamlit/static/static/js/{index.YtwVjbe-.js → index.NveskZ7j.js} +1 -1
  105. streamlit/static/static/js/{index.BfcdLS9y.js → index.PR2mcvVR.js} +1 -1
  106. streamlit/static/static/js/{index.CzMgwzgb.js → index.df4uuSoD.js} +1 -1
  107. streamlit/static/static/js/{index.3HscCA0Q.js → index.flyQEkeT.js} +1 -1
  108. streamlit/static/static/js/{index.R5J-UXhx.js → index.iF9jUtwl.js} +1 -1
  109. streamlit/static/static/js/{index.p5qVS5RU.js → index.jyqBAhvH.js} +1 -1
  110. streamlit/static/static/js/{index.HdiDLe37.js → index.sYLAHlH0.js} +1 -1
  111. streamlit/static/static/js/{index.whcmqOYZ.js → index.zq3LdRhj.js} +1 -1
  112. streamlit/static/static/js/{input.C95vVzrH.js → input.CtZjQ6Pv.js} +1 -1
  113. streamlit/static/static/js/{memory.lfILky3m.js → memory.Ddl3R0up.js} +1 -1
  114. streamlit/static/static/js/{mergeWith.CdpKbzWl.js → mergeWith.D-TqDY0-.js} +1 -1
  115. streamlit/static/static/js/{number-overlay-editor.D2TjUrKf.js → number-overlay-editor.Dndf05Hx.js} +1 -1
  116. streamlit/static/static/js/{possibleConstructorReturn.DQV58bYB.js → possibleConstructorReturn.DNEY6J9G.js} +1 -1
  117. streamlit/static/static/js/{sandbox.R1dhBCnm.js → sandbox.B_XDPkfx.js} +1 -1
  118. streamlit/static/static/js/{textarea.t5D4QCw3.js → textarea.BZ9lTMhV.js} +1 -1
  119. streamlit/static/static/js/{timepicker.BI9iPIxz.js → timepicker.D9UUwpRT.js} +1 -1
  120. streamlit/static/static/js/{toConsumableArray.COyXrPhy.js → toConsumableArray.DNJjbOUS.js} +1 -1
  121. streamlit/static/static/js/{uniqueId.CaWObuU_.js → uniqueId.psBJ_tSg.js} +1 -1
  122. streamlit/static/static/js/{useBasicWidgetState.Wd2TSACf.js → useBasicWidgetState.CTpx4w-3.js} +1 -1
  123. streamlit/static/static/js/{useOnInputChange.CUFXty-S.js → useOnInputChange.WKTDSC4O.js} +1 -1
  124. streamlit/static/static/js/{withFullScreenWrapper.wgkD5MeK.js → withFullScreenWrapper.oyWCn2-3.js} +1 -1
  125. {streamlit_nightly-1.45.2.dev20250528.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/METADATA +1 -1
  126. {streamlit_nightly-1.45.2.dev20250528.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/RECORD +130 -129
  127. streamlit/static/static/js/index.B0GUCtHl.js +0 -1
  128. streamlit/static/static/js/index.B6guKn0h.js +0 -1
  129. streamlit/static/static/js/index.CPiByGGr.js +0 -3
  130. streamlit/static/static/js/index.CVxkW_lc.js +0 -12
  131. streamlit/static/static/js/index.DH2YAEv6.js +0 -1
  132. streamlit/static/static/js/index.DNlMgaSP.js +0 -1
  133. streamlit/static/static/js/index.DP7RHJHC.js +0 -1
  134. streamlit/static/static/js/index.DtpZrdsz.js +0 -1
  135. {streamlit_nightly-1.45.2.dev20250528.data → streamlit_nightly-1.45.2.dev20250530.data}/scripts/streamlit.cmd +0 -0
  136. {streamlit_nightly-1.45.2.dev20250528.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/WHEEL +0 -0
  137. {streamlit_nightly-1.45.2.dev20250528.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/entry_points.txt +0 -0
  138. {streamlit_nightly-1.45.2.dev20250528.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/top_level.txt +0 -0
@@ -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/CameraInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xd0\x01\n\x0b\x43\x61meraInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x04 \x01(\t\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x31\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x31\n\x0cwidth_config\x18\x07 \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\x42\x0f\n\r_width_configB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43\x61meraInputProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/CameraInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x8c\x01\n\x0b\x43\x61meraInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x04 \x01(\t\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x31\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x17.LabelVisibilityMessageB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43\x61meraInputProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.CameraInput
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\020CameraInputProto'
27
- _globals['_CAMERAINPUT']._serialized_start=119
28
- _globals['_CAMERAINPUT']._serialized_end=327
26
+ _globals['_CAMERAINPUT']._serialized_start=84
27
+ _globals['_CAMERAINPUT']._serialized_end=224
29
28
  # @@protoc_insertion_point(module_scope)
@@ -21,7 +21,6 @@ import builtins
21
21
  import google.protobuf.descriptor
22
22
  import google.protobuf.message
23
23
  import streamlit.proto.LabelVisibilityMessage_pb2
24
- import streamlit.proto.WidthConfig_pb2
25
24
  import typing
26
25
 
27
26
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -36,7 +35,6 @@ class CameraInput(google.protobuf.message.Message):
36
35
  FORM_ID_FIELD_NUMBER: builtins.int
37
36
  DISABLED_FIELD_NUMBER: builtins.int
38
37
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
39
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
40
38
  id: builtins.str
41
39
  label: builtins.str
42
40
  help: builtins.str
@@ -44,8 +42,6 @@ class CameraInput(google.protobuf.message.Message):
44
42
  disabled: builtins.bool
45
43
  @property
46
44
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
47
- @property
48
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
49
45
  def __init__(
50
46
  self,
51
47
  *,
@@ -55,10 +51,8 @@ class CameraInput(google.protobuf.message.Message):
55
51
  form_id: builtins.str = ...,
56
52
  disabled: builtins.bool = ...,
57
53
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
58
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
59
54
  ) -> None: ...
60
- def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "label_visibility", b"label_visibility", "width_config", b"width_config"]) -> builtins.bool: ...
61
- 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", "width_config", b"width_config"]) -> None: ...
62
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
55
+ def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
56
+ 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"]) -> None: ...
63
57
 
64
58
  global___CameraInput = CameraInput
@@ -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\x1fstreamlit/proto/ChatInput.proto\x1a!streamlit/proto/WidthConfig.proto\"\x94\x03\n\tChatInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bplaceholder\x18\x02 \x01(\t\x12\x11\n\tmax_chars\x18\x03 \x01(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\r\n\x05value\x18\x05 \x01(\t\x12\x11\n\tset_value\x18\x06 \x01(\x08\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12%\n\x08position\x18\x08 \x01(\x0e\x32\x13.ChatInput.Position\x12*\n\x0b\x61\x63\x63\x65pt_file\x18\t \x01(\x0e\x32\x15.ChatInput.AcceptFile\x12\x11\n\tfile_type\x18\n \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x0b \x01(\x05\x12\x31\n\x0cwidth_config\x18\x0c \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\"\x16\n\x08Position\x12\n\n\x06\x42OTTOM\x10\x00\"0\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x42\x0f\n\r_width_configB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x43hatInputProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xd0\x02\n\tChatInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bplaceholder\x18\x02 \x01(\t\x12\x11\n\tmax_chars\x18\x03 \x01(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\r\n\x05value\x18\x05 \x01(\t\x12\x11\n\tset_value\x18\x06 \x01(\x08\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12%\n\x08position\x18\x08 \x01(\x0e\x32\x13.ChatInput.Position\x12*\n\x0b\x61\x63\x63\x65pt_file\x18\t \x01(\x0e\x32\x15.ChatInput.AcceptFile\x12\x11\n\tfile_type\x18\n \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x0b \x01(\x05\"\x16\n\x08Position\x12\n\n\x06\x42OTTOM\x10\x00\"0\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x42.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x43hatInputProtob\x06proto3')
19
18
 
20
19
  _globals = globals()
21
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,10 +22,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ChatInput_p
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\016ChatInputProto'
26
- _globals['_CHATINPUT']._serialized_start=71
27
- _globals['_CHATINPUT']._serialized_end=475
28
- _globals['_CHATINPUT_POSITION']._serialized_start=386
29
- _globals['_CHATINPUT_POSITION']._serialized_end=408
30
- _globals['_CHATINPUT_ACCEPTFILE']._serialized_start=410
31
- _globals['_CHATINPUT_ACCEPTFILE']._serialized_end=458
25
+ _globals['_CHATINPUT']._serialized_start=36
26
+ _globals['_CHATINPUT']._serialized_end=372
27
+ _globals['_CHATINPUT_POSITION']._serialized_start=300
28
+ _globals['_CHATINPUT_POSITION']._serialized_end=322
29
+ _globals['_CHATINPUT_ACCEPTFILE']._serialized_start=324
30
+ _globals['_CHATINPUT_ACCEPTFILE']._serialized_end=372
32
31
  # @@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.internal.enum_type_wrapper
25
25
  import google.protobuf.message
26
- import streamlit.proto.WidthConfig_pb2
27
26
  import sys
28
27
  import typing
29
28
 
@@ -77,7 +76,6 @@ class ChatInput(google.protobuf.message.Message):
77
76
  ACCEPT_FILE_FIELD_NUMBER: builtins.int
78
77
  FILE_TYPE_FIELD_NUMBER: builtins.int
79
78
  MAX_UPLOAD_SIZE_MB_FIELD_NUMBER: builtins.int
80
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
81
79
  id: builtins.str
82
80
  placeholder: builtins.str
83
81
  max_chars: builtins.int
@@ -93,10 +91,6 @@ class ChatInput(google.protobuf.message.Message):
93
91
  def file_type(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
94
92
  """Supported file types: For example: ["png","jpg","img"]"""
95
93
 
96
- @property
97
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig:
98
- """Optional width configuration for the ChatInput"""
99
-
100
94
  def __init__(
101
95
  self,
102
96
  *,
@@ -111,10 +105,7 @@ class ChatInput(google.protobuf.message.Message):
111
105
  accept_file: global___ChatInput.AcceptFile.ValueType = ...,
112
106
  file_type: collections.abc.Iterable[builtins.str] | None = ...,
113
107
  max_upload_size_mb: builtins.int = ...,
114
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
115
108
  ) -> None: ...
116
- def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "width_config", b"width_config"]) -> builtins.bool: ...
117
- def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "accept_file", b"accept_file", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "position", b"position", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
118
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
109
+ def ClearField(self, field_name: typing.Literal["accept_file", b"accept_file", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "position", b"position", "set_value", b"set_value", "value", b"value"]) -> None: ...
119
110
 
120
111
  global___ChatInput = ChatInput
@@ -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/Code.proto\x1a!streamlit/proto/WidthConfig.proto\"n\n\x04\x43ode\x12\x11\n\tcode_text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x19\n\x11show_line_numbers\x18\x03 \x01(\x08\x12\x12\n\nwrap_lines\x18\x04 \x01(\x08\x12\x12\n\x06height\x18\x05 \x01(\rB\x02\x18\x01\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tCodeProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\"n\n\x04\x43ode\x12\x11\n\tcode_text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x19\n\x11show_line_numbers\x18\x03 \x01(\x08\x12\x12\n\nwrap_lines\x18\x04 \x01(\x08\x12\x12\n\x06height\x18\x05 \x01(\rB\x02\x18\x01\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tCodeProtob\x06proto3')
19
18
 
20
19
  _globals = globals()
21
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -25,6 +24,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
25
24
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\tCodeProto'
26
25
  _globals['_CODE'].fields_by_name['height']._loaded_options = None
27
26
  _globals['_CODE'].fields_by_name['height']._serialized_options = b'\030\001'
28
- _globals['_CODE']._serialized_start=65
29
- _globals['_CODE']._serialized_end=175
27
+ _globals['_CODE']._serialized_start=30
28
+ _globals['_CODE']._serialized_end=140
30
29
  # @@protoc_insertion_point(module_scope)
@@ -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/DateInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xbd\x02\n\tDateInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\t\x12\x0b\n\x03min\x18\x04 \x01(\t\x12\x0b\n\x03max\x18\x05 \x01(\t\x12\x10\n\x08is_range\x18\x06 \x01(\x08\x12\x0c\n\x04help\x18\x07 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x08 \x01(\t\x12\r\n\x05value\x18\t \x03(\t\x12\x11\n\tset_value\x18\n \x01(\x08\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0e\n\x06\x66ormat\x18\r \x01(\t\x12\x31\n\x0cwidth_config\x18\x0e \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\x42\x0f\n\r_width_configB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44\x61teInputProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DateInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xf9\x01\n\tDateInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\t\x12\x0b\n\x03min\x18\x04 \x01(\t\x12\x0b\n\x03max\x18\x05 \x01(\t\x12\x10\n\x08is_range\x18\x06 \x01(\x08\x12\x0c\n\x04help\x18\x07 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x08 \x01(\t\x12\r\n\x05value\x18\t \x03(\t\x12\x11\n\tset_value\x18\n \x01(\x08\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0e\n\x06\x66ormat\x18\r \x01(\tB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44\x61teInputProtob\x06proto3')
20
19
 
21
20
  _globals = globals()
22
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DateInput_p
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\016DateInputProto'
27
- _globals['_DATEINPUT']._serialized_start=117
28
- _globals['_DATEINPUT']._serialized_end=434
26
+ _globals['_DATEINPUT']._serialized_start=82
27
+ _globals['_DATEINPUT']._serialized_end=331
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
@@ -45,7 +44,6 @@ class DateInput(google.protobuf.message.Message):
45
44
  DISABLED_FIELD_NUMBER: builtins.int
46
45
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
47
46
  FORMAT_FIELD_NUMBER: builtins.int
48
- WIDTH_CONFIG_FIELD_NUMBER: builtins.int
49
47
  id: builtins.str
50
48
  label: builtins.str
51
49
  min: builtins.str
@@ -62,8 +60,6 @@ class DateInput(google.protobuf.message.Message):
62
60
  def value(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
63
61
  @property
64
62
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
65
- @property
66
- def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
67
63
  def __init__(
68
64
  self,
69
65
  *,
@@ -80,10 +76,8 @@ class DateInput(google.protobuf.message.Message):
80
76
  disabled: builtins.bool = ...,
81
77
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
82
78
  format: builtins.str = ...,
83
- width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
84
79
  ) -> None: ...
85
- def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "label_visibility", b"label_visibility", "width_config", b"width_config"]) -> builtins.bool: ...
86
- def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
87
- def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
80
+ def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
81
+ def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "value", b"value"]) -> None: ...
88
82
 
89
83
  global___DateInput = DateInput
@@ -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\x1fstreamlit/proto/DocString.proto\x1a!streamlit/proto/WidthConfig.proto\"\xa4\x01\n\tDocString\x12\x12\n\ndoc_string\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x01(\t\x12\x18\n\x07members\x18\x08 \x03(\x0b\x32\x07.Member\x12,\n\x0cwidth_config\x18\t \x01(\x0b\x32\x16.streamlit.WidthConfigJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06\"W\n\x06Member\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x05value\x18\x03 \x01(\tH\x00\x12\x14\n\ndoc_string\x18\x04 \x01(\tH\x00\x42\n\n\x08\x63ontentsB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44ocStringProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DocString.proto\"v\n\tDocString\x12\x12\n\ndoc_string\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x01(\t\x12\x18\n\x07members\x18\x08 \x03(\x0b\x32\x07.MemberJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06\"W\n\x06Member\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x05value\x18\x03 \x01(\tH\x00\x12\x14\n\ndoc_string\x18\x04 \x01(\tH\x00\x42\n\n\x08\x63ontentsB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44ocStringProtob\x06proto3')
19
18
 
20
19
  _globals = globals()
21
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,8 +22,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DocString_p
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\016DocStringProto'
26
- _globals['_DOCSTRING']._serialized_start=71
27
- _globals['_DOCSTRING']._serialized_end=235
28
- _globals['_MEMBER']._serialized_start=237
29
- _globals['_MEMBER']._serialized_end=324
25
+ _globals['_DOCSTRING']._serialized_start=35
26
+ _globals['_DOCSTRING']._serialized_end=153
27
+ _globals['_MEMBER']._serialized_start=155
28
+ _globals['_MEMBER']._serialized_end=242
30
29
  # @@protoc_insertion_point(module_scope)
@@ -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