streamlit-nightly 1.53.2.dev20260131__py3-none-any.whl → 1.53.2.dev20260202__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 (189) hide show
  1. streamlit/commands/execution_control.py +2 -2
  2. streamlit/delta_generator.py +2 -0
  3. streamlit/elements/lib/column_types.py +6 -2
  4. streamlit/elements/lib/utils.py +6 -6
  5. streamlit/elements/markdown.py +0 -1
  6. streamlit/elements/metric.py +2 -1
  7. streamlit/elements/widgets/button_group.py +6 -276
  8. streamlit/elements/widgets/feedback.py +322 -0
  9. streamlit/elements/widgets/number_input.py +2 -1
  10. streamlit/elements/widgets/slider.py +2 -1
  11. streamlit/material_icon_names.py +1 -1
  12. streamlit/proto/AudioInput_pb2.py +4 -4
  13. streamlit/proto/AudioInput_pb2.pyi +3 -3
  14. streamlit/proto/Audio_pb2.py +2 -2
  15. streamlit/proto/BackMsg_pb2.pyi +2 -10
  16. streamlit/proto/Balloons_pb2.pyi +0 -2
  17. streamlit/proto/Block_pb2.py +35 -35
  18. streamlit/proto/ButtonGroup_pb2.py +10 -12
  19. streamlit/proto/ButtonGroup_pb2.pyi +6 -41
  20. streamlit/proto/Button_pb2.py +2 -2
  21. streamlit/proto/CameraInput_pb2.py +4 -4
  22. streamlit/proto/CameraInput_pb2.pyi +3 -3
  23. streamlit/proto/ChatInput_pb2.py +2 -2
  24. streamlit/proto/Checkbox_pb2.py +6 -6
  25. streamlit/proto/Checkbox_pb2.pyi +3 -3
  26. streamlit/proto/Code_pb2.py +2 -2
  27. streamlit/proto/ColorPicker_pb2.py +4 -4
  28. streamlit/proto/ColorPicker_pb2.pyi +3 -3
  29. streamlit/proto/Common_pb2.py +6 -6
  30. streamlit/proto/DateInput_pb2.py +4 -4
  31. streamlit/proto/DateInput_pb2.pyi +3 -3
  32. streamlit/proto/DateTimeInput_pb2.py +4 -4
  33. streamlit/proto/DateTimeInput_pb2.pyi +3 -3
  34. streamlit/proto/DeckGlJsonChart_pb2.py +2 -2
  35. streamlit/proto/Delta_pb2.py +2 -2
  36. streamlit/proto/DocString_pb2.py +1 -1
  37. streamlit/proto/Element_pb2.py +4 -4
  38. streamlit/proto/Element_pb2.pyi +9 -9
  39. streamlit/proto/Feedback_pb2.py +28 -0
  40. streamlit/proto/Feedback_pb2.pyi +93 -0
  41. streamlit/proto/FileUploader_pb2.py +4 -4
  42. streamlit/proto/FileUploader_pb2.pyi +3 -3
  43. streamlit/proto/ForwardMsg_pb2.py +8 -8
  44. streamlit/proto/GraphVizChart_pb2.py +2 -2
  45. streamlit/proto/IFrame_pb2.py +3 -3
  46. streamlit/proto/Image_pb2.py +4 -4
  47. streamlit/proto/Image_pb2.pyi +1 -7
  48. streamlit/proto/{BokehChart_pb2.py → LabelVisibility_pb2.py} +7 -5
  49. streamlit/proto/{LabelVisibilityMessage_pb2.pyi → LabelVisibility_pb2.pyi} +14 -14
  50. streamlit/proto/Markdown_pb2.py +4 -4
  51. streamlit/proto/Markdown_pb2.pyi +1 -5
  52. streamlit/proto/Metric_pb2.py +10 -10
  53. streamlit/proto/Metric_pb2.pyi +3 -3
  54. streamlit/proto/MultiSelect_pb2.py +4 -4
  55. streamlit/proto/MultiSelect_pb2.pyi +3 -3
  56. streamlit/proto/NewSession_pb2.py +38 -26
  57. streamlit/proto/NewSession_pb2.pyi +42 -8
  58. streamlit/proto/NumberInput_pb2.py +6 -6
  59. streamlit/proto/NumberInput_pb2.pyi +3 -3
  60. streamlit/proto/PlotlyChart_pb2.py +2 -2
  61. streamlit/proto/Radio_pb2.py +4 -4
  62. streamlit/proto/Radio_pb2.pyi +3 -3
  63. streamlit/proto/Selectbox_pb2.py +4 -4
  64. streamlit/proto/Selectbox_pb2.pyi +3 -6
  65. streamlit/proto/Slider_pb2.py +8 -8
  66. streamlit/proto/Slider_pb2.pyi +3 -3
  67. streamlit/proto/Snow_pb2.pyi +0 -2
  68. streamlit/proto/TextArea_pb2.py +4 -4
  69. streamlit/proto/TextArea_pb2.pyi +3 -3
  70. streamlit/proto/TextInput_pb2.py +6 -6
  71. streamlit/proto/TextInput_pb2.pyi +3 -3
  72. streamlit/proto/TimeInput_pb2.py +4 -4
  73. streamlit/proto/TimeInput_pb2.pyi +3 -3
  74. streamlit/proto/Video_pb2.py +2 -2
  75. streamlit/static/index.html +2 -2
  76. streamlit/static/manifest.json +324 -309
  77. streamlit/static/static/css/{index.BUP6fTcR.css → index.C8MrxwGF.css} +1 -1
  78. streamlit/static/static/js/{ErrorOutline.esm.DC6KVDKK.js → ErrorOutline.esm.CLuz0rSD.js} +1 -1
  79. streamlit/static/static/js/{FileDownload.esm.Z9hRQIHi.js → FileDownload.esm.CO68LcnZ.js} +1 -1
  80. streamlit/static/static/js/{FileHelper.DqvW90pm.js → FileHelper.DAXgY6Ug.js} +1 -1
  81. streamlit/static/static/js/{FormClearHelper.DTFnX0js.js → FormClearHelper.zxJ53Nym.js} +1 -1
  82. streamlit/static/static/js/{InputInstructions.CdzsN_Va.js → InputInstructions.CCbg8esE.js} +1 -1
  83. streamlit/static/static/js/{Particles.12xFSjcn.js → Particles.BJw0A-zv.js} +1 -1
  84. streamlit/static/static/js/{ProgressBar.Dg-oMbWg.js → ProgressBar.BrrHeAEh.js} +2 -2
  85. streamlit/static/static/js/{StreamlitSyntaxHighlighter.rbzmcipw.js → StreamlitSyntaxHighlighter.DvPLy3zk.js} +1 -1
  86. streamlit/static/static/js/{TableChart.esm.CzJtGIR-.js → TableChart.esm.BawvAi5p.js} +1 -1
  87. streamlit/static/static/js/{Toolbar.COH7NaOE.js → Toolbar.CbpscbNb.js} +1 -1
  88. streamlit/static/static/js/{WidgetLabelHelpIconInline.Dlc8f0Ji.js → WidgetLabelHelpIconInline.DA4S2HFP.js} +1 -1
  89. streamlit/static/static/js/{base-input.Q-zJLgRK.js → base-input.BKKl2eBF.js} +1 -1
  90. streamlit/static/static/js/{checkbox.BKgWNdeI.js → checkbox.CB43AKV4.js} +1 -1
  91. streamlit/static/static/js/{createDownloadLinkElement.6oO-YlYv.js → createDownloadLinkElement.jVwF96ey.js} +1 -1
  92. streamlit/static/static/js/data-grid-overlay-editor.CxQizSv7.js +1 -0
  93. streamlit/static/static/js/{downloader.BBXcXdX1.js → downloader.CKlIgsy5.js} +1 -1
  94. streamlit/static/static/js/{embed.CJzOXYBF.js → embed.BhRb_2n8.js} +1 -1
  95. streamlit/static/static/js/{es6.CdxPQzwJ.js → es6.DPyfPmWm.js} +2 -2
  96. streamlit/static/static/js/formatNumber.DtfMnnPx.js +1 -0
  97. streamlit/static/static/js/{iconPosition.BVScIr6G.js → iconPosition.DkZAlu_k.js} +1 -1
  98. streamlit/static/static/js/{iframeResizer.contentWindow.D_QHVqPM.js → iframeResizer.contentWindow.l5sQWLra.js} +1 -1
  99. streamlit/static/static/js/{index.CxoREvnF.js → index.465nmxtO.js} +2 -2
  100. streamlit/static/static/js/{index.BqbKiDp2.js → index.6J1N4is3.js} +1 -1
  101. streamlit/static/static/js/{index.CrY1BsL3.js → index.AZ9T4EqJ.js} +1 -1
  102. streamlit/static/static/js/{index.6DFY6LUF.js → index.BAK0CG1Q.js} +1 -1
  103. streamlit/static/static/js/{index.BxQxTpWl.js → index.BLD3tJ2C.js} +1 -1
  104. streamlit/static/static/js/{index.BQnLeHnr.js → index.BUlT_mOL.js} +3 -3
  105. streamlit/static/static/js/{index.Dud7RRHc.js → index.Bc_FQ4Wb.js} +1 -1
  106. streamlit/static/static/js/{index.DRoJNzFX.js → index.BpCj2-sQ.js} +1 -1
  107. streamlit/static/static/js/{index.BED2_zc7.js → index.BzO83wKm.js} +1 -1
  108. streamlit/static/static/js/index.CAoX2tlo.js +2 -0
  109. streamlit/static/static/js/{index.bQJYmJ2T.js → index.CBbYMKZp.js} +1 -1
  110. streamlit/static/static/js/{index.DyfvmNCy.js → index.CL7it7tU.js} +1 -1
  111. streamlit/static/static/js/{index.BDtN2n7T.js → index.CL_icBXS.js} +1 -1
  112. streamlit/static/static/js/{index.DAnczAW2.js → index.C_19KWNs.js} +1 -1
  113. streamlit/static/static/js/index.CaU3Uv_L.js +1 -0
  114. streamlit/static/static/js/{index.B80gSxrS.js → index.Ccye_uLl.js} +1 -1
  115. streamlit/static/static/js/{index.YULCxEtm.js → index.CiS4giQ2.js} +1 -1
  116. streamlit/static/static/js/{index.iXh5nbLZ.js → index.Ck64OQhV.js} +1 -1
  117. streamlit/static/static/js/{index.D9v2Y8Gk.js → index.CmbqbRMZ.js} +1 -1
  118. streamlit/static/static/js/{index.DAfIQKfP.js → index.CsEZTo6L.js} +2 -2
  119. streamlit/static/static/js/{index.BtOoVQt7.js → index.CsIENsKH.js} +1 -1
  120. streamlit/static/static/js/{index.CUYi3FrD.js → index.Cwg8nWw5.js} +1 -1
  121. streamlit/static/static/js/{index.GieKl4BG.js → index.D83azq2w.js} +1 -1
  122. streamlit/static/static/js/{index.CvtybR-u.js → index.DDr-BLbJ.js} +1 -1
  123. streamlit/static/static/js/{index.CBE2cIbj.js → index.DKoJr0Se.js} +1 -1
  124. streamlit/static/static/js/{index.DyXcT2tD.js → index.DL_ywOgf.js} +2 -2
  125. streamlit/static/static/js/{index.BiCbrx53.js → index.DR6V0uBJ.js} +1 -1
  126. streamlit/static/static/js/index.DZOGT9vX.js +1 -0
  127. streamlit/static/static/js/{index.BSpYHDvk.js → index.Dac9Jib-.js} +1 -1
  128. streamlit/static/static/js/{index.DCe7fo-m.js → index.DiBeetOH.js} +1 -1
  129. streamlit/static/static/js/{index.DrcbvB2t.js → index.DjuMEZ6m.js} +1 -1
  130. streamlit/static/static/js/{index.DU68jVpM.js → index.DmWUXdjc.js} +5 -5
  131. streamlit/static/static/js/{index._1zqETQ9.js → index.DpSc4e1j.js} +1 -1
  132. streamlit/static/static/js/{index.Biyf9aUg.js → index.DzdPUxsx.js} +2 -2
  133. streamlit/static/static/js/{index.C5oqIM3a.js → index.FioS1Y9m.js} +1 -1
  134. streamlit/static/static/js/{index.DZmBuE3z.js → index.L9pOjBEn.js} +3 -3
  135. streamlit/static/static/js/{index.DAyGxxdm.js → index.LjqoQCm5.js} +3 -3
  136. streamlit/static/static/js/{index.mSdC1FV6.js → index.OizPL4jg.js} +1 -1
  137. streamlit/static/static/js/{index.BSYebegS.js → index.Q2t_iBn0.js} +1 -1
  138. streamlit/static/static/js/index.WIMtx3m0.js +2 -0
  139. streamlit/static/static/js/index.Y9wPTZIf.js +1 -0
  140. streamlit/static/static/js/{index.BqxwnMem.js → index.YutgmD9x.js} +2 -2
  141. streamlit/static/static/js/{index.nL1fkE1D.js → index.b_f-McZ5.js} +1 -1
  142. streamlit/static/static/js/{index.y-pa6LIX.js → index.e6Ry6-Ft.js} +1 -1
  143. streamlit/static/static/js/index.hnu9U-5g.js +1 -0
  144. streamlit/static/static/js/{index.D6OexhdL.js → index.rvbQETlC.js} +1 -1
  145. streamlit/static/static/js/index.w7yKy9fh.js +6 -0
  146. streamlit/static/static/js/{index.BxMkW82k.js → index.y0h42OXL.js} +1 -1
  147. streamlit/static/static/js/{index.CPc_uZux.js → index.y5HxPwg9.js} +42 -42
  148. streamlit/static/static/js/{index.DNfyKqhQ.js → index.yHLCvUGh.js} +1 -1
  149. streamlit/static/static/js/{input.BcC6sPE_.js → input.CAtwSQ27.js} +1 -1
  150. streamlit/static/static/js/{main.TU5_aabd.js → main.VeMVx6VI.js} +1 -1
  151. streamlit/static/static/js/{memory.By_OTlI4.js → memory.CxS_lIUn.js} +1 -1
  152. streamlit/static/static/js/number-overlay-editor.CoqRgZW_.js +9 -0
  153. streamlit/static/static/js/{pandasStylerUtils.3IiIKU9-.js → pandasStylerUtils.DGWgd5sM.js} +1 -1
  154. streamlit/static/static/js/{sandbox.DnxTbWzV.js → sandbox.2mSqEau0.js} +1 -1
  155. streamlit/static/static/js/sprintfjs.CsoVVZ9k.js +1 -0
  156. streamlit/static/static/js/{styled-components.BeEcZ0vW.js → styled-components.BShfh7J8.js} +1 -1
  157. streamlit/static/static/js/{throttle.emUyC44c.js → throttle.Fq1DQK4p.js} +1 -1
  158. streamlit/static/static/js/{timepicker.DZ_ZufYF.js → timepicker.DmyY-qtn.js} +1 -1
  159. streamlit/static/static/js/{toConsumableArray.DDV1bN1-.js → toConsumableArray.Dvd9AIqV.js} +1 -1
  160. streamlit/static/static/js/uniqueId.CCajdEK8.js +1 -0
  161. streamlit/static/static/js/{useBasicWidgetState.DvpdEDYZ.js → useBasicWidgetState.COLQ5AFB.js} +1 -1
  162. streamlit/static/static/js/{useIntlLocale.BBDLbTq9.js → useIntlLocale.kdIj0ego.js} +1 -1
  163. streamlit/static/static/js/{useTextInputAutoExpand.BIApLJKn.js → useTextInputAutoExpand.DkuG1C1S.js} +1 -1
  164. streamlit/static/static/js/{useUpdateUiValue.DQ4RuJNC.js → useUpdateUiValue.-UI_JsjT.js} +1 -1
  165. streamlit/static/static/js/{useWaveformController.B0olyXLQ.js → useWaveformController.C5PTwL6I.js} +1 -1
  166. streamlit/static/static/js/{withCalculatedWidth.DYeqePuh.js → withCalculatedWidth.BREyS0pJ.js} +1 -1
  167. streamlit/static/static/js/{withFullScreenWrapper.DtkUCO_d.js → withFullScreenWrapper.DYDiEOrW.js} +1 -1
  168. streamlit/static/static/media/MaterialSymbols-Rounded.CnH1S47a.woff2 +0 -0
  169. streamlit/testing/v1/app_test.py +21 -5
  170. streamlit/testing/v1/element_tree.py +65 -2
  171. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/METADATA +1 -1
  172. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/RECORD +175 -173
  173. streamlit/proto/BokehChart_pb2.pyi +0 -56
  174. streamlit/proto/LabelVisibilityMessage_pb2.py +0 -28
  175. streamlit/static/static/js/data-grid-overlay-editor.CO0xdNiG.js +0 -1
  176. streamlit/static/static/js/formatNumber.DB5irY8c.js +0 -1
  177. streamlit/static/static/js/index.BBTKOM0z.js +0 -6
  178. streamlit/static/static/js/index.CE2WIFD1.js +0 -2
  179. streamlit/static/static/js/index.Cpu2p5bH.js +0 -1
  180. streamlit/static/static/js/index.CtbETWQK.js +0 -2
  181. streamlit/static/static/js/index.DhRAGiPR.js +0 -1
  182. streamlit/static/static/js/index.tuFFlbxa.js +0 -1
  183. streamlit/static/static/js/number-overlay-editor.FSRaRpbU.js +0 -9
  184. streamlit/static/static/js/sprintf.DpPCfzXw.js +0 -1
  185. streamlit/static/static/js/uniqueId.DTwvAE-J.js +0 -1
  186. streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
  187. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/WHEEL +0 -0
  188. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/entry_points.txt +0 -0
  189. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/top_level.txt +0 -0
@@ -32,38 +32,38 @@ else:
32
32
  DESCRIPTOR: _descriptor.FileDescriptor
33
33
 
34
34
  @_typing.final
35
- class LabelVisibilityMessage(_message.Message):
35
+ class LabelVisibility(_message.Message):
36
36
  DESCRIPTOR: _descriptor.Descriptor
37
37
 
38
38
  class _LabelVisibilityOptions:
39
39
  ValueType = _typing.NewType("ValueType", _builtins.int)
40
40
  V: _TypeAlias = ValueType # noqa: Y015
41
41
 
42
- class _LabelVisibilityOptionsEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[LabelVisibilityMessage._LabelVisibilityOptions.ValueType], _builtins.type):
42
+ class _LabelVisibilityOptionsEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[LabelVisibility._LabelVisibilityOptions.ValueType], _builtins.type):
43
43
  DESCRIPTOR: _descriptor.EnumDescriptor
44
- VISIBLE: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 0
45
- HIDDEN: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 1
46
- COLLAPSED: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 2
44
+ VISIBLE: LabelVisibility._LabelVisibilityOptions.ValueType # 0
45
+ HIDDEN: LabelVisibility._LabelVisibilityOptions.ValueType # 1
46
+ COLLAPSED: LabelVisibility._LabelVisibilityOptions.ValueType # 2
47
47
 
48
48
  class LabelVisibilityOptions(_LabelVisibilityOptions, metaclass=_LabelVisibilityOptionsEnumTypeWrapper):
49
- """We use separate LabelVisibilityMessage instead of just defining Enum and
50
- use it in other widgets proto files due to protobuf js error, when just
51
- enum defined and imported
49
+ """We use a separate LabelVisibility message instead of just defining an Enum
50
+ and using it in other widgets proto files due to a protobuf.js error when
51
+ just an enum is defined and imported.
52
52
  https://github.com/protobufjs/protobuf.js/issues/1414
53
53
  """
54
54
 
55
- VISIBLE: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 0
56
- HIDDEN: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 1
57
- COLLAPSED: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 2
55
+ VISIBLE: LabelVisibility.LabelVisibilityOptions.ValueType # 0
56
+ HIDDEN: LabelVisibility.LabelVisibilityOptions.ValueType # 1
57
+ COLLAPSED: LabelVisibility.LabelVisibilityOptions.ValueType # 2
58
58
 
59
59
  VALUE_FIELD_NUMBER: _builtins.int
60
- value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType
60
+ value: Global___LabelVisibility.LabelVisibilityOptions.ValueType
61
61
  def __init__(
62
62
  self,
63
63
  *,
64
- value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType = ...,
64
+ value: Global___LabelVisibility.LabelVisibilityOptions.ValueType = ...,
65
65
  ) -> None: ...
66
66
  _ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
67
67
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
68
68
 
69
- Global___LabelVisibilityMessage: _TypeAlias = LabelVisibilityMessage # noqa: Y015
69
+ Global___LabelVisibility: _TypeAlias = LabelVisibility # noqa: Y015
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Markdown.proto\"\xc8\x01\n\x08Markdown\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x12\n\nallow_html\x18\x02 \x01(\x08\x12\x12\n\nis_caption\x18\x03 \x01(\x08\x12$\n\x0c\x65lement_type\x18\x04 \x01(\x0e\x32\x0e.Markdown.Type\x12\x0c\n\x04help\x18\x05 \x01(\t\"R\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06NATIVE\x10\x01\x12\x0b\n\x07\x43\x41PTION\x10\x02\x12\x08\n\x04\x43ODE\x10\x03\x12\t\n\x05LATEX\x10\x04\x12\x0b\n\x07\x44IVIDER\x10\x05\x62\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Markdown.proto\"\xba\x01\n\x08Markdown\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x12\n\nallow_html\x18\x02 \x01(\x08\x12$\n\x0c\x65lement_type\x18\x04 \x01(\x0e\x32\x0e.Markdown.Type\x12\x0c\n\x04help\x18\x05 \x01(\t\"R\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06NATIVE\x10\x01\x12\x0b\n\x07\x43\x41PTION\x10\x02\x12\x08\n\x04\x43ODE\x10\x03\x12\t\n\x05LATEX\x10\x04\x12\x0b\n\x07\x44IVIDER\x10\x05J\x04\x08\x03\x10\x04\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -22,7 +22,7 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Markdown_pb
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
23
  DESCRIPTOR._loaded_options = None
24
24
  _globals['_MARKDOWN']._serialized_start=35
25
- _globals['_MARKDOWN']._serialized_end=235
26
- _globals['_MARKDOWN_TYPE']._serialized_start=153
27
- _globals['_MARKDOWN_TYPE']._serialized_end=235
25
+ _globals['_MARKDOWN']._serialized_end=221
26
+ _globals['_MARKDOWN_TYPE']._serialized_start=133
27
+ _globals['_MARKDOWN_TYPE']._serialized_end=215
28
28
  # @@protoc_insertion_point(module_scope)
@@ -62,14 +62,11 @@ class Markdown(_message.Message):
62
62
 
63
63
  BODY_FIELD_NUMBER: _builtins.int
64
64
  ALLOW_HTML_FIELD_NUMBER: _builtins.int
65
- IS_CAPTION_FIELD_NUMBER: _builtins.int
66
65
  ELEMENT_TYPE_FIELD_NUMBER: _builtins.int
67
66
  HELP_FIELD_NUMBER: _builtins.int
68
67
  body: _builtins.str
69
68
  """Content to display."""
70
69
  allow_html: _builtins.bool
71
- is_caption: _builtins.bool
72
- """TODO [Karen]: Remove this field if favor of element_type"""
73
70
  element_type: Global___Markdown.Type.ValueType
74
71
  help: _builtins.str
75
72
  def __init__(
@@ -77,11 +74,10 @@ class Markdown(_message.Message):
77
74
  *,
78
75
  body: _builtins.str = ...,
79
76
  allow_html: _builtins.bool = ...,
80
- is_caption: _builtins.bool = ...,
81
77
  element_type: Global___Markdown.Type.ValueType = ...,
82
78
  help: _builtins.str = ...,
83
79
  ) -> None: ...
84
- _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_html", b"allow_html", "body", b"body", "element_type", b"element_type", "help", b"help", "is_caption", b"is_caption"] # noqa: Y015
80
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_html", b"allow_html", "body", b"body", "element_type", b"element_type", "help", b"help"] # noqa: Y015
85
81
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
86
82
 
87
83
  Global___Markdown: _TypeAlias = Markdown # noqa: Y015
@@ -12,22 +12,22 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
15
+ from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Metric.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xe6\x03\n\x06Metric\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x03 \x01(\t\x12*\n\tdirection\x18\x04 \x01(\x0e\x32\x17.Metric.MetricDirection\x12\"\n\x05\x63olor\x18\x05 \x01(\x0e\x32\x13.Metric.MetricColor\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x31\n\x10label_visibility\x18\x07 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bshow_border\x18\x08 \x01(\x08\x12\x12\n\nchart_data\x18\t \x03(\x01\x12%\n\nchart_type\x18\n \x01(\x0e\x32\x11.Metric.ChartType\x12\x0e\n\x06\x66ormat\x18\x0b \x01(\t\"-\n\x0fMetricDirection\x12\x08\n\x04\x44OWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04NONE\x10\x02\"f\n\x0bMetricColor\x12\x07\n\x03RED\x10\x00\x12\t\n\x05GREEN\x10\x01\x12\x08\n\x04GRAY\x10\x02\x12\n\n\x06ORANGE\x10\x03\x12\n\n\x06YELLOW\x10\x04\x12\x08\n\x04\x42LUE\x10\x05\x12\n\n\x06VIOLET\x10\x06\x12\x0b\n\x07PRIMARY\x10\x07\"(\n\tChartType\x12\x08\n\x04LINE\x10\x00\x12\x07\n\x03\x42\x41R\x10\x01\x12\x08\n\x04\x41REA\x10\x02\x62\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Metric.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xdf\x03\n\x06Metric\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x03 \x01(\t\x12*\n\tdirection\x18\x04 \x01(\x0e\x32\x17.Metric.MetricDirection\x12\"\n\x05\x63olor\x18\x05 \x01(\x0e\x32\x13.Metric.MetricColor\x12\x0c\n\x04help\x18\x06 \x01(\t\x12*\n\x10label_visibility\x18\x07 \x01(\x0b\x32\x10.LabelVisibility\x12\x13\n\x0bshow_border\x18\x08 \x01(\x08\x12\x12\n\nchart_data\x18\t \x03(\x01\x12%\n\nchart_type\x18\n \x01(\x0e\x32\x11.Metric.ChartType\x12\x0e\n\x06\x66ormat\x18\x0b \x01(\t\"-\n\x0fMetricDirection\x12\x08\n\x04\x44OWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04NONE\x10\x02\"f\n\x0bMetricColor\x12\x07\n\x03RED\x10\x00\x12\t\n\x05GREEN\x10\x01\x12\x08\n\x04GRAY\x10\x02\x12\n\n\x06ORANGE\x10\x03\x12\n\n\x06YELLOW\x10\x04\x12\x08\n\x04\x42LUE\x10\x05\x12\n\n\x06VIOLET\x10\x06\x12\x0b\n\x07PRIMARY\x10\x07\"(\n\tChartType\x12\x08\n\x04LINE\x10\x00\x12\x07\n\x03\x42\x41R\x10\x01\x12\x08\n\x04\x41REA\x10\x02\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Metric_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_METRIC']._serialized_start=79
26
- _globals['_METRIC']._serialized_end=565
27
- _globals['_METRIC_METRICDIRECTION']._serialized_start=374
28
- _globals['_METRIC_METRICDIRECTION']._serialized_end=419
29
- _globals['_METRIC_METRICCOLOR']._serialized_start=421
30
- _globals['_METRIC_METRICCOLOR']._serialized_end=523
31
- _globals['_METRIC_CHARTTYPE']._serialized_start=525
32
- _globals['_METRIC_CHARTTYPE']._serialized_end=565
25
+ _globals['_METRIC']._serialized_start=72
26
+ _globals['_METRIC']._serialized_end=551
27
+ _globals['_METRIC_METRICDIRECTION']._serialized_start=360
28
+ _globals['_METRIC_METRICDIRECTION']._serialized_end=405
29
+ _globals['_METRIC_METRICCOLOR']._serialized_start=407
30
+ _globals['_METRIC_METRICCOLOR']._serialized_end=509
31
+ _globals['_METRIC_CHARTTYPE']._serialized_start=511
32
+ _globals['_METRIC_CHARTTYPE']._serialized_end=551
33
33
  # @@protoc_insertion_point(module_scope)
@@ -22,7 +22,7 @@ from google.protobuf import descriptor as _descriptor
22
22
  from google.protobuf import message as _message
23
23
  from google.protobuf.internal import containers as _containers
24
24
  from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
25
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
25
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
26
26
  import builtins as _builtins
27
27
  import sys
28
28
  import typing as _typing
@@ -115,7 +115,7 @@ class Metric(_message.Message):
115
115
  format: _builtins.str
116
116
  """Format string for the value and delta (applied only if they are numeric)."""
117
117
  @_builtins.property
118
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
118
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
119
119
  @_builtins.property
120
120
  def chart_data(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ...
121
121
  def __init__(
@@ -127,7 +127,7 @@ class Metric(_message.Message):
127
127
  direction: Global___Metric.MetricDirection.ValueType = ...,
128
128
  color: Global___Metric.MetricColor.ValueType = ...,
129
129
  help: _builtins.str = ...,
130
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
130
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
131
131
  show_border: _builtins.bool = ...,
132
132
  chart_data: _abc.Iterable[_builtins.float] | None = ...,
133
133
  chart_type: Global___Metric.ChartType.ValueType = ...,
@@ -12,16 +12,16 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
15
+ from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/MultiSelect.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xc7\x02\n\x0bMultiSelect\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(\x05\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\x12\n\nraw_values\x18\x0e \x03(\t\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\x16\n\x0emax_selections\x18\x0b \x01(\x05\x12\x13\n\x0bplaceholder\x18\x0c \x01(\t\x12\x1f\n\x12\x61\x63\x63\x65pt_new_options\x18\r \x01(\x08H\x00\x88\x01\x01\x42\x15\n\x13_accept_new_optionsJ\x04\x08\x07\x10\x08R\x05valueb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/MultiSelect.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xb9\x02\n\x0bMultiSelect\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(\x05\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\x12\n\nraw_values\x18\x0e \x03(\t\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12*\n\x10label_visibility\x18\n \x01(\x0b\x32\x10.LabelVisibility\x12\x16\n\x0emax_selections\x18\x0b \x01(\x05\x12\x13\n\x0bplaceholder\x18\x0c \x01(\t\x12\x1f\n\x12\x61\x63\x63\x65pt_new_options\x18\r \x01(\x08H\x00\x88\x01\x01\x42\x15\n\x13_accept_new_optionsJ\x04\x08\x07\x10\x08\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.MultiSelect_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_MULTISELECT']._serialized_start=84
26
- _globals['_MULTISELECT']._serialized_end=411
25
+ _globals['_MULTISELECT']._serialized_start=77
26
+ _globals['_MULTISELECT']._serialized_end=390
27
27
  # @@protoc_insertion_point(module_scope)
@@ -21,7 +21,7 @@ from collections import abc as _abc
21
21
  from google.protobuf import descriptor as _descriptor
22
22
  from google.protobuf import message as _message
23
23
  from google.protobuf.internal import containers as _containers
24
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
24
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
25
25
  import builtins as _builtins
26
26
  import sys
27
27
  import typing as _typing
@@ -70,7 +70,7 @@ class MultiSelect(_message.Message):
70
70
  """
71
71
 
72
72
  @_builtins.property
73
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
73
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
74
74
  def __init__(
75
75
  self,
76
76
  *,
@@ -83,7 +83,7 @@ class MultiSelect(_message.Message):
83
83
  raw_values: _abc.Iterable[_builtins.str] | None = ...,
84
84
  set_value: _builtins.bool = ...,
85
85
  disabled: _builtins.bool = ...,
86
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
86
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
87
87
  max_selections: _builtins.int = ...,
88
88
  placeholder: _builtins.str = ...,
89
89
  accept_new_options: _builtins.bool | None = ...,
@@ -16,41 +16,53 @@ 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\"\xb8\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\x12\n\nsession_id\x18\x06 \x01(\t\x12\x10\n\x08is_hello\x18\x07 \x01(\x08J\x04\x08\x05\x10\x06R\x0c\x63ommand_line\"\xce\x03\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\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\x12\x30\n\x10show_error_links\x18\t \x01(\x0e\x32\x16.Config.ShowErrorLinks\"?\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\x03\"\x84\x01\n\x0eShowErrorLinks\x12 \n\x1cSHOW_ERROR_LINKS_UNSPECIFIED\x10\x00\x12\x19\n\x15SHOW_ERROR_LINKS_AUTO\x10\x01\x12\x19\n\x15SHOW_ERROR_LINKS_TRUE\x10\x02\x12\x1a\n\x16SHOW_ERROR_LINKS_FALSE\x10\x03J\x04\x08\x04\x10\x05J\x04\x08\x01\x10\x02R\x0cmapbox_token\"\xe2\x15\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!\n\x0c\x66ont_sources\x18% \x03(\x0b\x32\x0b.FontSource\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#\n\x16\x64\x61taframe_border_color\x18\x1b \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12show_widget_border\x18\x14 \x01(\x08H\x04\x88\x01\x01\x12\x17\n\nlink_color\x18\x15 \x01(\tH\x05\x88\x01\x01\x12\x1b\n\x0elink_underline\x18\x1d \x01(\x08H\x06\x88\x01\x01\x12\x1b\n\x0e\x62\x61se_font_size\x18\x16 \x01(\x05H\x07\x88\x01\x01\x12\x1d\n\x10\x62\x61se_font_weight\x18\x1e \x01(\x05H\x08\x88\x01\x01\x12\x1d\n\x10\x63ode_font_weight\x18 \x01(\x05H\t\x88\x01\x01\x12\x1b\n\x0e\x63ode_font_size\x18\x1c \x01(\tH\n\x88\x01\x01\x12\x1a\n\x12heading_font_sizes\x18# \x03(\t\x12\x1c\n\x14heading_font_weights\x18\" \x03(\x05\x12 \n\x13show_sidebar_border\x18\x17 \x01(\x08H\x0b\x88\x01\x01\x12\x1c\n\x0f\x63ode_text_color\x18; \x01(\tH\x0c\x88\x01\x01\x12\"\n\x15\x63ode_background_color\x18\x19 \x01(\tH\r\x88\x01\x01\x12.\n!dataframe_header_background_color\x18\x1f \x01(\tH\x0e\x88\x01\x01\x12 \n\x18\x63hart_categorical_colors\x18! \x03(\t\x12\x1f\n\x17\x63hart_sequential_colors\x18$ \x03(\t\x12\x1e\n\x16\x63hart_diverging_colors\x18> \x03(\t\x12\x16\n\tred_color\x18& \x01(\tH\x0f\x88\x01\x01\x12\x19\n\x0corange_color\x18\' \x01(\tH\x10\x88\x01\x01\x12\x19\n\x0cyellow_color\x18( \x01(\tH\x11\x88\x01\x01\x12\x17\n\nblue_color\x18) \x01(\tH\x12\x88\x01\x01\x12\x18\n\x0bgreen_color\x18* \x01(\tH\x13\x88\x01\x01\x12\x19\n\x0cviolet_color\x18+ \x01(\tH\x14\x88\x01\x01\x12\x17\n\ngray_color\x18, \x01(\tH\x15\x88\x01\x01\x12!\n\x14red_background_color\x18- \x01(\tH\x16\x88\x01\x01\x12$\n\x17orange_background_color\x18. \x01(\tH\x17\x88\x01\x01\x12$\n\x17yellow_background_color\x18/ \x01(\tH\x18\x88\x01\x01\x12\"\n\x15\x62lue_background_color\x18\x30 \x01(\tH\x19\x88\x01\x01\x12#\n\x16green_background_color\x18\x31 \x01(\tH\x1a\x88\x01\x01\x12$\n\x17violet_background_color\x18\x32 \x01(\tH\x1b\x88\x01\x01\x12\"\n\x15gray_background_color\x18\x33 \x01(\tH\x1c\x88\x01\x01\x12\x1b\n\x0ered_text_color\x18\x34 \x01(\tH\x1d\x88\x01\x01\x12\x1e\n\x11orange_text_color\x18\x35 \x01(\tH\x1e\x88\x01\x01\x12\x1e\n\x11yellow_text_color\x18\x36 \x01(\tH\x1f\x88\x01\x01\x12\x1c\n\x0f\x62lue_text_color\x18\x37 \x01(\tH \x88\x01\x01\x12\x1d\n\x10green_text_color\x18\x38 \x01(\tH!\x88\x01\x01\x12\x1e\n\x11violet_text_color\x18\x39 \x01(\tH\"\x88\x01\x01\x12\x1c\n\x0fgray_text_color\x18: \x01(\tH#\x88\x01\x01\x12(\n\x07sidebar\x18\x18 \x01(\x0b\x32\x12.CustomThemeConfigH$\x88\x01\x01\x12&\n\x05light\x18< \x01(\x0b\x32\x12.CustomThemeConfigH%\x88\x01\x01\x12%\n\x04\x64\x61rk\x18= \x01(\x0b\x32\x12.CustomThemeConfigH&\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\x19\n\x17_dataframe_border_colorB\x15\n\x13_show_widget_borderB\r\n\x0b_link_colorB\x11\n\x0f_link_underlineB\x11\n\x0f_base_font_sizeB\x13\n\x11_base_font_weightB\x13\n\x11_code_font_weightB\x11\n\x0f_code_font_sizeB\x16\n\x14_show_sidebar_borderB\x12\n\x10_code_text_colorB\x18\n\x16_code_background_colorB$\n\"_dataframe_header_background_colorB\x0c\n\n_red_colorB\x0f\n\r_orange_colorB\x0f\n\r_yellow_colorB\r\n\x0b_blue_colorB\x0e\n\x0c_green_colorB\x0f\n\r_violet_colorB\r\n\x0b_gray_colorB\x17\n\x15_red_background_colorB\x1a\n\x18_orange_background_colorB\x1a\n\x18_yellow_background_colorB\x18\n\x16_blue_background_colorB\x19\n\x17_green_background_colorB\x1a\n\x18_violet_background_colorB\x18\n\x16_gray_background_colorB\x11\n\x0f_red_text_colorB\x14\n\x12_orange_text_colorB\x14\n\x12_yellow_text_colorB\x12\n\x10_blue_text_colorB\x13\n\x11_green_text_colorB\x14\n\x12_violet_text_colorB\x12\n\x10_gray_text_colorB\n\n\x08_sidebarB\x08\n\x06_lightB\x07\n\x05_dark\"w\n\x08\x46ontFace\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x02 \x01(\t\x12\x12\n\x06weight\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x14\n\x0cweight_range\x18\x05 \x01(\t\x12\r\n\x05style\x18\x04 \x01(\t\x12\x15\n\runicode_range\x18\x06 \x01(\t\"5\n\nFontSource\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\x12\x12\n\nsource_url\x18\x02 \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\x62\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\"\xaa\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\x12\n\nsession_id\x18\x06 \x01(\t\x12\x10\n\x08is_hello\x18\x07 \x01(\x08J\x04\x08\x05\x10\x06\"\xc0\x03\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\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\x12\x30\n\x10show_error_links\x18\t \x01(\x0e\x32\x16.Config.ShowErrorLinks\"?\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\x03\"\x84\x01\n\x0eShowErrorLinks\x12 \n\x1cSHOW_ERROR_LINKS_UNSPECIFIED\x10\x00\x12\x19\n\x15SHOW_ERROR_LINKS_AUTO\x10\x01\x12\x19\n\x15SHOW_ERROR_LINKS_TRUE\x10\x02\x12\x1a\n\x16SHOW_ERROR_LINKS_FALSE\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x04\x10\x05\"\xfa\x15\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.FontFamilyB\x02\x18\x01\x12*\n\x04\x62\x61se\x18\x06 \x01(\x0e\x32\x1c.CustomThemeConfig.BaseTheme\x12#\n\x17widget_background_color\x18\x07 \x01(\tB\x02\x18\x01\x12\x1f\n\x13widget_border_color\x18\x08 \x01(\tB\x02\x18\x01\x12\x19\n\x05radii\x18\t \x01(\x0b\x32\x06.RadiiB\x02\x18\x01\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!\n\x0c\x66ont_sources\x18% \x03(\x0b\x32\x0b.FontSource\x12\"\n\nfont_sizes\x18\x10 \x01(\x0b\x32\n.FontSizesB\x02\x18\x01\x12%\n\x19skeleton_background_color\x18\x11 \x01(\tB\x02\x18\x01\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#\n\x16\x64\x61taframe_border_color\x18\x1b \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12show_widget_border\x18\x14 \x01(\x08H\x04\x88\x01\x01\x12\x17\n\nlink_color\x18\x15 \x01(\tH\x05\x88\x01\x01\x12\x1b\n\x0elink_underline\x18\x1d \x01(\x08H\x06\x88\x01\x01\x12\x1b\n\x0e\x62\x61se_font_size\x18\x16 \x01(\x05H\x07\x88\x01\x01\x12\x1d\n\x10\x62\x61se_font_weight\x18\x1e \x01(\x05H\x08\x88\x01\x01\x12\x1d\n\x10\x63ode_font_weight\x18 \x01(\x05H\t\x88\x01\x01\x12\x1b\n\x0e\x63ode_font_size\x18\x1c \x01(\tH\n\x88\x01\x01\x12\x1a\n\x12heading_font_sizes\x18# \x03(\t\x12\x1c\n\x14heading_font_weights\x18\" \x03(\x05\x12 \n\x13show_sidebar_border\x18\x17 \x01(\x08H\x0b\x88\x01\x01\x12\x1c\n\x0f\x63ode_text_color\x18; \x01(\tH\x0c\x88\x01\x01\x12\"\n\x15\x63ode_background_color\x18\x19 \x01(\tH\r\x88\x01\x01\x12.\n!dataframe_header_background_color\x18\x1f \x01(\tH\x0e\x88\x01\x01\x12 \n\x18\x63hart_categorical_colors\x18! \x03(\t\x12\x1f\n\x17\x63hart_sequential_colors\x18$ \x03(\t\x12\x1e\n\x16\x63hart_diverging_colors\x18> \x03(\t\x12\x16\n\tred_color\x18& \x01(\tH\x0f\x88\x01\x01\x12\x19\n\x0corange_color\x18\' \x01(\tH\x10\x88\x01\x01\x12\x19\n\x0cyellow_color\x18( \x01(\tH\x11\x88\x01\x01\x12\x17\n\nblue_color\x18) \x01(\tH\x12\x88\x01\x01\x12\x18\n\x0bgreen_color\x18* \x01(\tH\x13\x88\x01\x01\x12\x19\n\x0cviolet_color\x18+ \x01(\tH\x14\x88\x01\x01\x12\x17\n\ngray_color\x18, \x01(\tH\x15\x88\x01\x01\x12!\n\x14red_background_color\x18- \x01(\tH\x16\x88\x01\x01\x12$\n\x17orange_background_color\x18. \x01(\tH\x17\x88\x01\x01\x12$\n\x17yellow_background_color\x18/ \x01(\tH\x18\x88\x01\x01\x12\"\n\x15\x62lue_background_color\x18\x30 \x01(\tH\x19\x88\x01\x01\x12#\n\x16green_background_color\x18\x31 \x01(\tH\x1a\x88\x01\x01\x12$\n\x17violet_background_color\x18\x32 \x01(\tH\x1b\x88\x01\x01\x12\"\n\x15gray_background_color\x18\x33 \x01(\tH\x1c\x88\x01\x01\x12\x1b\n\x0ered_text_color\x18\x34 \x01(\tH\x1d\x88\x01\x01\x12\x1e\n\x11orange_text_color\x18\x35 \x01(\tH\x1e\x88\x01\x01\x12\x1e\n\x11yellow_text_color\x18\x36 \x01(\tH\x1f\x88\x01\x01\x12\x1c\n\x0f\x62lue_text_color\x18\x37 \x01(\tH \x88\x01\x01\x12\x1d\n\x10green_text_color\x18\x38 \x01(\tH!\x88\x01\x01\x12\x1e\n\x11violet_text_color\x18\x39 \x01(\tH\"\x88\x01\x01\x12\x1c\n\x0fgray_text_color\x18: \x01(\tH#\x88\x01\x01\x12(\n\x07sidebar\x18\x18 \x01(\x0b\x32\x12.CustomThemeConfigH$\x88\x01\x01\x12&\n\x05light\x18< \x01(\x0b\x32\x12.CustomThemeConfigH%\x88\x01\x01\x12%\n\x04\x64\x61rk\x18= \x01(\x0b\x32\x12.CustomThemeConfigH&\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\x19\n\x17_dataframe_border_colorB\x15\n\x13_show_widget_borderB\r\n\x0b_link_colorB\x11\n\x0f_link_underlineB\x11\n\x0f_base_font_sizeB\x13\n\x11_base_font_weightB\x13\n\x11_code_font_weightB\x11\n\x0f_code_font_sizeB\x16\n\x14_show_sidebar_borderB\x12\n\x10_code_text_colorB\x18\n\x16_code_background_colorB$\n\"_dataframe_header_background_colorB\x0c\n\n_red_colorB\x0f\n\r_orange_colorB\x0f\n\r_yellow_colorB\r\n\x0b_blue_colorB\x0e\n\x0c_green_colorB\x0f\n\r_violet_colorB\r\n\x0b_gray_colorB\x17\n\x15_red_background_colorB\x1a\n\x18_orange_background_colorB\x1a\n\x18_yellow_background_colorB\x18\n\x16_blue_background_colorB\x19\n\x17_green_background_colorB\x1a\n\x18_violet_background_colorB\x18\n\x16_gray_background_colorB\x11\n\x0f_red_text_colorB\x14\n\x12_orange_text_colorB\x14\n\x12_yellow_text_colorB\x12\n\x10_blue_text_colorB\x13\n\x11_green_text_colorB\x14\n\x12_violet_text_colorB\x12\n\x10_gray_text_colorB\n\n\x08_sidebarB\x08\n\x06_lightB\x07\n\x05_dark\"w\n\x08\x46ontFace\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x02 \x01(\t\x12\x12\n\x06weight\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x14\n\x0cweight_range\x18\x05 \x01(\t\x12\r\n\x05style\x18\x04 \x01(\t\x12\x15\n\runicode_range\x18\x06 \x01(\t\"5\n\nFontSource\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\x12\x12\n\nsource_url\x18\x02 \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\x62\x06proto3')
20
20
 
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
23
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.NewSession_pb2', _globals)
24
24
  if not _descriptor._USE_C_DESCRIPTORS:
25
25
  DESCRIPTOR._loaded_options = None
26
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['font']._loaded_options = None
27
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['font']._serialized_options = b'\030\001'
28
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['widget_background_color']._loaded_options = None
29
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['widget_background_color']._serialized_options = b'\030\001'
30
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['widget_border_color']._loaded_options = None
31
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['widget_border_color']._serialized_options = b'\030\001'
32
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['radii']._loaded_options = None
33
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['radii']._serialized_options = b'\030\001'
34
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['font_sizes']._loaded_options = None
35
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['font_sizes']._serialized_options = b'\030\001'
36
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['skeleton_background_color']._loaded_options = None
37
+ _globals['_CUSTOMTHEMECONFIG'].fields_by_name['skeleton_background_color']._serialized_options = b'\030\001'
26
38
  _globals['_FONTFACE'].fields_by_name['weight']._loaded_options = None
27
39
  _globals['_FONTFACE'].fields_by_name['weight']._serialized_options = b'\030\001'
28
40
  _globals['_NEWSESSION']._serialized_start=105
29
41
  _globals['_NEWSESSION']._serialized_end=398
30
42
  _globals['_INITIALIZE']._serialized_start=401
31
- _globals['_INITIALIZE']._serialized_end=585
32
- _globals['_CONFIG']._serialized_start=588
33
- _globals['_CONFIG']._serialized_end=1050
34
- _globals['_CONFIG_TOOLBARMODE']._serialized_start=826
35
- _globals['_CONFIG_TOOLBARMODE']._serialized_end=889
36
- _globals['_CONFIG_SHOWERRORLINKS']._serialized_start=892
37
- _globals['_CONFIG_SHOWERRORLINKS']._serialized_end=1024
38
- _globals['_CUSTOMTHEMECONFIG']._serialized_start=1053
39
- _globals['_CUSTOMTHEMECONFIG']._serialized_end=3839
40
- _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_start=2952
41
- _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_end=2984
42
- _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_start=2986
43
- _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_end=3040
44
- _globals['_FONTFACE']._serialized_start=3841
45
- _globals['_FONTFACE']._serialized_end=3960
46
- _globals['_FONTSOURCE']._serialized_start=3962
47
- _globals['_FONTSOURCE']._serialized_end=4015
48
- _globals['_RADII']._serialized_start=4017
49
- _globals['_RADII']._serialized_end=4077
50
- _globals['_FONTSIZES']._serialized_start=4079
51
- _globals['_FONTSIZES']._serialized_end=4163
52
- _globals['_USERINFO']._serialized_start=4165
53
- _globals['_USERINFO']._serialized_end=4262
54
- _globals['_ENVIRONMENTINFO']._serialized_start=4264
55
- _globals['_ENVIRONMENTINFO']._serialized_end=4372
43
+ _globals['_INITIALIZE']._serialized_end=571
44
+ _globals['_CONFIG']._serialized_start=574
45
+ _globals['_CONFIG']._serialized_end=1022
46
+ _globals['_CONFIG_TOOLBARMODE']._serialized_start=812
47
+ _globals['_CONFIG_TOOLBARMODE']._serialized_end=875
48
+ _globals['_CONFIG_SHOWERRORLINKS']._serialized_start=878
49
+ _globals['_CONFIG_SHOWERRORLINKS']._serialized_end=1010
50
+ _globals['_CUSTOMTHEMECONFIG']._serialized_start=1025
51
+ _globals['_CUSTOMTHEMECONFIG']._serialized_end=3835
52
+ _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_start=2948
53
+ _globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_end=2980
54
+ _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_start=2982
55
+ _globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_end=3036
56
+ _globals['_FONTFACE']._serialized_start=3837
57
+ _globals['_FONTFACE']._serialized_end=3956
58
+ _globals['_FONTSOURCE']._serialized_start=3958
59
+ _globals['_FONTSOURCE']._serialized_end=4011
60
+ _globals['_RADII']._serialized_start=4013
61
+ _globals['_RADII']._serialized_end=4073
62
+ _globals['_FONTSIZES']._serialized_start=4075
63
+ _globals['_FONTSIZES']._serialized_end=4159
64
+ _globals['_USERINFO']._serialized_start=4161
65
+ _globals['_USERINFO']._serialized_end=4258
66
+ _globals['_ENVIRONMENTINFO']._serialized_start=4260
67
+ _globals['_ENVIRONMENTINFO']._serialized_end=4368
56
68
  # @@protoc_insertion_point(module_scope)
@@ -355,18 +355,50 @@ class CustomThemeConfig(_message.Message):
355
355
  secondary_background_color: _builtins.str
356
356
  background_color: _builtins.str
357
357
  text_color: _builtins.str
358
- font: Global___CustomThemeConfig.FontFamily.ValueType
359
- """DEPRECATED: Use body_font instead:"""
358
+ @_builtins.property
359
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
360
+ def font(self) -> Global___CustomThemeConfig.FontFamily.ValueType:
361
+ """DEPRECATED: Use body_font instead:"""
362
+
363
+ @font.setter
364
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
365
+ def font(self, value: Global___CustomThemeConfig.FontFamily.ValueType) -> None:
366
+ """DEPRECATED: Use body_font instead:"""
367
+
360
368
  base: Global___CustomThemeConfig.BaseTheme.ValueType
361
- widget_background_color: _builtins.str
362
- """DEPRECATED: This color is not applied anymore:"""
363
- widget_border_color: _builtins.str
364
- """DEPRECATED: Use the border_color and show_widget_border instead:"""
369
+ @_builtins.property
370
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
371
+ def widget_background_color(self) -> _builtins.str:
372
+ """DEPRECATED: This color is not applied anymore:"""
373
+
374
+ @widget_background_color.setter
375
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
376
+ def widget_background_color(self, value: _builtins.str) -> None:
377
+ """DEPRECATED: This color is not applied anymore:"""
378
+
379
+ @_builtins.property
380
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
381
+ def widget_border_color(self) -> _builtins.str:
382
+ """DEPRECATED: Use the border_color and show_widget_border instead:"""
383
+
384
+ @widget_border_color.setter
385
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
386
+ def widget_border_color(self, value: _builtins.str) -> None:
387
+ """DEPRECATED: Use the border_color and show_widget_border instead:"""
388
+
365
389
  heading_font: _builtins.str
366
390
  body_font: _builtins.str
367
391
  code_font: _builtins.str
368
- skeleton_background_color: _builtins.str
369
- """DEPRECATED: This color is not applied anymore:"""
392
+ @_builtins.property
393
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
394
+ def skeleton_background_color(self) -> _builtins.str:
395
+ """DEPRECATED: This color is not applied anymore:"""
396
+
397
+ @skeleton_background_color.setter
398
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
399
+ def skeleton_background_color(self, value: _builtins.str) -> None:
400
+ """DEPRECATED: This color is not applied anymore:"""
401
+
370
402
  base_radius: _builtins.str
371
403
  button_radius: _builtins.str
372
404
  border_color: _builtins.str
@@ -407,6 +439,7 @@ class CustomThemeConfig(_message.Message):
407
439
  violet_text_color: _builtins.str
408
440
  gray_text_color: _builtins.str
409
441
  @_builtins.property
442
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
410
443
  def radii(self) -> Global___Radii:
411
444
  """DEPRECATED: Please use the base_radius theme config instead:"""
412
445
 
@@ -415,6 +448,7 @@ class CustomThemeConfig(_message.Message):
415
448
  @_builtins.property
416
449
  def font_sources(self) -> _containers.RepeatedCompositeFieldContainer[Global___FontSource]: ...
417
450
  @_builtins.property
451
+ @_deprecated("""This field has been marked as deprecated using proto field options.""")
418
452
  def font_sizes(self) -> Global___FontSizes:
419
453
  """DEPRECATED: Please use the base_font_size theme config instead:"""
420
454
 
@@ -12,18 +12,18 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
15
+ from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
16
16
 
17
17
 
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\x62\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/NumberInput.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xc3\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*\n\x10label_visibility\x18\x16 \x01(\x0b\x32\x10.LabelVisibility\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\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.NumberInput_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_NUMBERINPUT']._serialized_start=84
26
- _globals['_NUMBERINPUT']._serialized_end=542
27
- _globals['_NUMBERINPUT_DATATYPE']._serialized_start=454
28
- _globals['_NUMBERINPUT_DATATYPE']._serialized_end=484
25
+ _globals['_NUMBERINPUT']._serialized_start=77
26
+ _globals['_NUMBERINPUT']._serialized_end=528
27
+ _globals['_NUMBERINPUT_DATATYPE']._serialized_start=440
28
+ _globals['_NUMBERINPUT_DATATYPE']._serialized_end=470
29
29
  # @@protoc_insertion_point(module_scope)
@@ -20,7 +20,7 @@ limitations under the License.
20
20
  from google.protobuf import descriptor as _descriptor
21
21
  from google.protobuf import message as _message
22
22
  from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
23
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
23
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
24
24
  import builtins as _builtins
25
25
  import sys
26
26
  import typing as _typing
@@ -91,7 +91,7 @@ class NumberInput(_message.Message):
91
91
  placeholder: _builtins.str
92
92
  icon: _builtins.str
93
93
  @_builtins.property
94
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
94
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
95
95
  def __init__(
96
96
  self,
97
97
  *,
@@ -110,7 +110,7 @@ class NumberInput(_message.Message):
110
110
  value: _builtins.float | None = ...,
111
111
  set_value: _builtins.bool = ...,
112
112
  disabled: _builtins.bool = ...,
113
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
113
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
114
114
  placeholder: _builtins.str = ...,
115
115
  icon: _builtins.str = ...,
116
116
  ) -> None: ...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/PlotlyChart.proto\"\xfc\x01\n\x0bPlotlyChart\x12\r\n\x05theme\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\x12\x32\n\x0eselection_mode\x18\x08 \x03(\x0e\x32\x1a.PlotlyChart.SelectionMode\x12\x0f\n\x07\x66orm_id\x18\t \x01(\t\x12\x0c\n\x04spec\x18\n \x01(\t\x12\x0e\n\x06\x63onfig\x18\x0b \x01(\t\"/\n\rSelectionMode\x12\n\n\x06POINTS\x10\x00\x12\x07\n\x03\x42OX\x10\x01\x12\t\n\x05LASSO\x10\x02J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06R\x03urlR\x06\x66igureR\x13use_container_widthb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/PlotlyChart.proto\"\xda\x01\n\x0bPlotlyChart\x12\r\n\x05theme\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\x12\x32\n\x0eselection_mode\x18\x08 \x03(\x0e\x32\x1a.PlotlyChart.SelectionMode\x12\x0f\n\x07\x66orm_id\x18\t \x01(\t\x12\x0c\n\x04spec\x18\n \x01(\t\x12\x0e\n\x06\x63onfig\x18\x0b \x01(\t\"/\n\rSelectionMode\x12\n\n\x06POINTS\x10\x00\x12\x07\n\x03\x42OX\x10\x01\x12\t\n\x05LASSO\x10\x02J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -22,7 +22,7 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PlotlyChart
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
23
  DESCRIPTOR._loaded_options = None
24
24
  _globals['_PLOTLYCHART']._serialized_start=38
25
- _globals['_PLOTLYCHART']._serialized_end=290
25
+ _globals['_PLOTLYCHART']._serialized_end=256
26
26
  _globals['_PLOTLYCHART_SELECTIONMODE']._serialized_start=179
27
27
  _globals['_PLOTLYCHART_SELECTIONMODE']._serialized_end=226
28
28
  # @@protoc_insertion_point(module_scope)
@@ -12,16 +12,16 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
15
+ from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Radio.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xa5\x02\n\x05Radio\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\traw_value\x18\r \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x12\n\nhorizontal\x18\n \x01(\x08\x12\x31\n\x10label_visibility\x18\x0b \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x10\n\x08\x63\x61ptions\x18\x0c \x03(\tB\n\n\x08_defaultB\x0c\n\n_raw_valueJ\x04\x08\x07\x10\x08R\x05valueb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Radio.proto\x1a%streamlit/proto/LabelVisibility.proto\"\x97\x02\n\x05Radio\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\traw_value\x18\r \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x12\n\nhorizontal\x18\n \x01(\x08\x12*\n\x10label_visibility\x18\x0b \x01(\x0b\x32\x10.LabelVisibility\x12\x10\n\x08\x63\x61ptions\x18\x0c \x03(\tB\n\n\x08_defaultB\x0c\n\n_raw_valueJ\x04\x08\x07\x10\x08\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Radio_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_RADIO']._serialized_start=78
26
- _globals['_RADIO']._serialized_end=371
25
+ _globals['_RADIO']._serialized_start=71
26
+ _globals['_RADIO']._serialized_end=350
27
27
  # @@protoc_insertion_point(module_scope)
@@ -21,7 +21,7 @@ from collections import abc as _abc
21
21
  from google.protobuf import descriptor as _descriptor
22
22
  from google.protobuf import message as _message
23
23
  from google.protobuf.internal import containers as _containers
24
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
24
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
25
25
  import builtins as _builtins
26
26
  import sys
27
27
  import typing as _typing
@@ -61,7 +61,7 @@ class Radio(_message.Message):
61
61
  @_builtins.property
62
62
  def options(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
63
63
  @_builtins.property
64
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
64
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
65
65
  @_builtins.property
66
66
  def captions(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
67
67
  def __init__(
@@ -77,7 +77,7 @@ class Radio(_message.Message):
77
77
  set_value: _builtins.bool = ...,
78
78
  disabled: _builtins.bool = ...,
79
79
  horizontal: _builtins.bool = ...,
80
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
80
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
81
81
  captions: _abc.Iterable[_builtins.str] | None = ...,
82
82
  ) -> None: ...
83
83
  _HasFieldArgType: _TypeAlias = _typing.Literal["_default", b"_default", "_raw_value", b"_raw_value", "default", b"default", "label_visibility", b"label_visibility", "raw_value", b"raw_value"] # noqa: Y015
@@ -12,16 +12,16 @@ from google.protobuf.internal import builder as _builder
12
12
  _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
- from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
15
+ from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Selectbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xd0\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\traw_value\x18\r \x01(\tH\x01\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\x02\x88\x01\x01\x42\n\n\x08_defaultB\x0c\n\n_raw_valueB\x15\n\x13_accept_new_optionsJ\x04\x08\x07\x10\x08R\x05valueb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Selectbox.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xc2\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\traw_value\x18\r \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12*\n\x10label_visibility\x18\n \x01(\x0b\x32\x10.LabelVisibility\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x1f\n\x12\x61\x63\x63\x65pt_new_options\x18\x0c \x01(\x08H\x02\x88\x01\x01\x42\n\n\x08_defaultB\x0c\n\n_raw_valueB\x15\n\x13_accept_new_optionsJ\x04\x08\x07\x10\x08\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Selectbox_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_SELECTBOX']._serialized_start=82
26
- _globals['_SELECTBOX']._serialized_end=418
25
+ _globals['_SELECTBOX']._serialized_start=75
26
+ _globals['_SELECTBOX']._serialized_end=397
27
27
  # @@protoc_insertion_point(module_scope)
@@ -21,7 +21,7 @@ from collections import abc as _abc
21
21
  from google.protobuf import descriptor as _descriptor
22
22
  from google.protobuf import message as _message
23
23
  from google.protobuf.internal import containers as _containers
24
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
24
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
25
25
  import builtins as _builtins
26
26
  import sys
27
27
  import typing as _typing
@@ -55,9 +55,6 @@ class Selectbox(_message.Message):
55
55
  help: _builtins.str
56
56
  form_id: _builtins.str
57
57
  raw_value: _builtins.str
58
- """after we introduced accept_new_options, we send the option as a string
59
- instead of an index to keep it simple.
60
- """
61
58
  set_value: _builtins.bool
62
59
  disabled: _builtins.bool
63
60
  placeholder: _builtins.str
@@ -65,7 +62,7 @@ class Selectbox(_message.Message):
65
62
  @_builtins.property
66
63
  def options(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
67
64
  @_builtins.property
68
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
65
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
69
66
  def __init__(
70
67
  self,
71
68
  *,
@@ -78,7 +75,7 @@ class Selectbox(_message.Message):
78
75
  raw_value: _builtins.str | None = ...,
79
76
  set_value: _builtins.bool = ...,
80
77
  disabled: _builtins.bool = ...,
81
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
78
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
82
79
  placeholder: _builtins.str = ...,
83
80
  accept_new_options: _builtins.bool | None = ...,
84
81
  ) -> None: ...