streamlit-nightly 1.53.2.dev20260128__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 (271) hide show
  1. streamlit/commands/execution_control.py +2 -2
  2. streamlit/config.py +3 -2
  3. streamlit/config_util.py +63 -8
  4. streamlit/delta_generator.py +2 -0
  5. streamlit/elements/deck_gl_json_chart.py +5 -1
  6. streamlit/elements/lib/built_in_chart_utils.py +24 -4
  7. streamlit/elements/lib/color_util.py +20 -1
  8. streamlit/elements/lib/column_types.py +6 -2
  9. streamlit/elements/lib/utils.py +6 -6
  10. streamlit/elements/markdown.py +0 -1
  11. streamlit/elements/metric.py +2 -1
  12. streamlit/elements/vega_charts.py +24 -4
  13. streamlit/elements/widgets/button_group.py +6 -276
  14. streamlit/elements/widgets/feedback.py +322 -0
  15. streamlit/elements/widgets/number_input.py +2 -1
  16. streamlit/elements/widgets/slider.py +2 -1
  17. streamlit/material_icon_names.py +1 -1
  18. streamlit/proto/Alert_pb2.py +2 -3
  19. streamlit/proto/AppPage_pb2.py +2 -3
  20. streamlit/proto/ArrowData_pb2.py +2 -3
  21. streamlit/proto/ArrowNamedDataSet_pb2.py +2 -3
  22. streamlit/proto/ArrowVegaLiteChart_pb2.py +2 -3
  23. streamlit/proto/Arrow_pb2.py +11 -18
  24. streamlit/proto/Arrow_pb2.pyi +1 -42
  25. streamlit/proto/AudioInput_pb2.py +5 -6
  26. streamlit/proto/AudioInput_pb2.pyi +3 -3
  27. streamlit/proto/Audio_pb2.py +3 -4
  28. streamlit/proto/AuthRedirect_pb2.py +2 -3
  29. streamlit/proto/AutoRerun_pb2.py +2 -3
  30. streamlit/proto/BackMsg_pb2.py +2 -3
  31. streamlit/proto/BackMsg_pb2.pyi +2 -10
  32. streamlit/proto/Balloons_pb2.py +2 -3
  33. streamlit/proto/Balloons_pb2.pyi +0 -2
  34. streamlit/proto/BidiComponent_pb2.py +2 -3
  35. streamlit/proto/Block_pb2.py +36 -43
  36. streamlit/proto/Block_pb2.pyi +3 -48
  37. streamlit/proto/ButtonGroup_pb2.py +11 -14
  38. streamlit/proto/ButtonGroup_pb2.pyi +6 -41
  39. streamlit/proto/ButtonLikeIconPosition_pb2.py +2 -3
  40. streamlit/proto/Button_pb2.py +3 -6
  41. streamlit/proto/Button_pb2.pyi +1 -18
  42. streamlit/proto/CameraInput_pb2.py +5 -6
  43. streamlit/proto/CameraInput_pb2.pyi +3 -3
  44. streamlit/proto/ChatInput_pb2.py +5 -8
  45. streamlit/proto/ChatInput_pb2.pyi +1 -17
  46. streamlit/proto/Checkbox_pb2.py +7 -8
  47. streamlit/proto/Checkbox_pb2.pyi +3 -3
  48. streamlit/proto/ClientState_pb2.py +2 -3
  49. streamlit/proto/Code_pb2.py +3 -6
  50. streamlit/proto/Code_pb2.pyi +1 -18
  51. streamlit/proto/ColorPicker_pb2.py +5 -6
  52. streamlit/proto/ColorPicker_pb2.pyi +3 -3
  53. streamlit/proto/Common_pb2.py +7 -8
  54. streamlit/proto/Common_pb2.pyi +2 -10
  55. streamlit/proto/Components_pb2.py +2 -3
  56. streamlit/proto/DateInput_pb2.py +5 -6
  57. streamlit/proto/DateInput_pb2.pyi +3 -3
  58. streamlit/proto/DateTimeInput_pb2.py +5 -6
  59. streamlit/proto/DateTimeInput_pb2.pyi +3 -3
  60. streamlit/proto/DeckGlJsonChart_pb2.py +5 -12
  61. streamlit/proto/DeckGlJsonChart_pb2.pyi +1 -54
  62. streamlit/proto/Delta_pb2.py +4 -6
  63. streamlit/proto/Delta_pb2.pyi +5 -14
  64. streamlit/proto/DocString_pb2.py +2 -3
  65. streamlit/proto/DownloadButton_pb2.py +2 -3
  66. streamlit/proto/Element_pb2.py +5 -8
  67. streamlit/proto/Element_pb2.pyi +9 -29
  68. streamlit/proto/Empty_pb2.py +2 -3
  69. streamlit/proto/Exception_pb2.py +2 -3
  70. streamlit/proto/Favicon_pb2.py +2 -3
  71. streamlit/proto/Feedback_pb2.py +28 -0
  72. streamlit/proto/Feedback_pb2.pyi +93 -0
  73. streamlit/proto/FileUploader_pb2.py +5 -6
  74. streamlit/proto/FileUploader_pb2.pyi +3 -3
  75. streamlit/proto/ForwardMsg_pb2.py +12 -18
  76. streamlit/proto/ForwardMsg_pb2.pyi +4 -48
  77. streamlit/proto/GapSize_pb2.py +2 -3
  78. streamlit/proto/GitInfo_pb2.py +2 -3
  79. streamlit/proto/GraphVizChart_pb2.py +3 -6
  80. streamlit/proto/GraphVizChart_pb2.pyi +1 -18
  81. streamlit/proto/Heading_pb2.py +2 -3
  82. streamlit/proto/HeightConfig_pb2.py +2 -3
  83. streamlit/proto/Html_pb2.py +2 -3
  84. streamlit/proto/IFrame_pb2.py +4 -11
  85. streamlit/proto/IFrame_pb2.pyi +1 -42
  86. streamlit/proto/Image_pb2.py +5 -8
  87. streamlit/proto/Image_pb2.pyi +2 -25
  88. streamlit/proto/Json_pb2.py +2 -3
  89. streamlit/proto/LabelVisibility_pb2.py +28 -0
  90. streamlit/proto/{LabelVisibilityMessage_pb2.pyi → LabelVisibility_pb2.pyi} +14 -14
  91. streamlit/proto/LinkButton_pb2.py +2 -3
  92. streamlit/proto/Logo_pb2.py +2 -3
  93. streamlit/proto/Markdown_pb2.py +5 -6
  94. streamlit/proto/Markdown_pb2.pyi +1 -5
  95. streamlit/proto/Metric_pb2.py +11 -12
  96. streamlit/proto/Metric_pb2.pyi +3 -3
  97. streamlit/proto/MetricsEvent_pb2.py +2 -3
  98. streamlit/proto/MultiSelect_pb2.py +5 -8
  99. streamlit/proto/MultiSelect_pb2.pyi +4 -14
  100. streamlit/proto/Navigation_pb2.py +2 -3
  101. streamlit/proto/NewSession_pb2.py +39 -28
  102. streamlit/proto/NewSession_pb2.pyi +44 -20
  103. streamlit/proto/NumberInput_pb2.py +7 -8
  104. streamlit/proto/NumberInput_pb2.pyi +3 -3
  105. streamlit/proto/PageConfig_pb2.py +2 -3
  106. streamlit/proto/PageInfo_pb2.py +2 -3
  107. streamlit/proto/PageLink_pb2.py +2 -3
  108. streamlit/proto/PageNotFound_pb2.py +2 -3
  109. streamlit/proto/PageProfile_pb2.py +2 -3
  110. streamlit/proto/ParentMessage_pb2.py +2 -3
  111. streamlit/proto/PlotlyChart_pb2.py +5 -10
  112. streamlit/proto/PlotlyChart_pb2.pyi +1 -58
  113. streamlit/proto/Progress_pb2.py +2 -3
  114. streamlit/proto/Radio_pb2.py +5 -8
  115. streamlit/proto/Radio_pb2.pyi +5 -22
  116. streamlit/proto/RootContainer_pb2.py +2 -3
  117. streamlit/proto/Selectbox_pb2.py +5 -8
  118. streamlit/proto/Selectbox_pb2.pyi +5 -25
  119. streamlit/proto/SessionEvent_pb2.py +2 -3
  120. streamlit/proto/SessionStatus_pb2.py +2 -3
  121. streamlit/proto/Skeleton_pb2.py +2 -3
  122. streamlit/proto/Slider_pb2.py +9 -10
  123. streamlit/proto/Slider_pb2.pyi +3 -3
  124. streamlit/proto/Snow_pb2.py +2 -3
  125. streamlit/proto/Snow_pb2.pyi +0 -2
  126. streamlit/proto/Space_pb2.py +2 -3
  127. streamlit/proto/Spinner_pb2.py +2 -3
  128. streamlit/proto/TextAlignmentConfig_pb2.py +2 -3
  129. streamlit/proto/TextArea_pb2.py +5 -8
  130. streamlit/proto/TextArea_pb2.pyi +4 -21
  131. streamlit/proto/TextInput_pb2.py +7 -8
  132. streamlit/proto/TextInput_pb2.pyi +3 -3
  133. streamlit/proto/Text_pb2.py +2 -3
  134. streamlit/proto/TimeInput_pb2.py +5 -6
  135. streamlit/proto/TimeInput_pb2.pyi +3 -3
  136. streamlit/proto/Toast_pb2.py +2 -3
  137. streamlit/proto/Transient_pb2.py +2 -3
  138. streamlit/proto/Video_pb2.py +3 -4
  139. streamlit/proto/WidgetStates_pb2.py +2 -3
  140. streamlit/proto/WidthConfig_pb2.py +2 -3
  141. streamlit/proto/openmetrics_data_model_pb2.py +2 -3
  142. streamlit/runtime/runtime.py +0 -4
  143. streamlit/static/index.html +2 -2
  144. streamlit/static/manifest.json +327 -312
  145. streamlit/static/static/css/{index.BUP6fTcR.css → index.C8MrxwGF.css} +1 -1
  146. streamlit/static/static/js/{ErrorOutline.esm.D71F8ziR.js → ErrorOutline.esm.CLuz0rSD.js} +1 -1
  147. streamlit/static/static/js/{FileDownload.esm.yTkppsJy.js → FileDownload.esm.CO68LcnZ.js} +1 -1
  148. streamlit/static/static/js/{FileHelper.hUOqtbwa.js → FileHelper.DAXgY6Ug.js} +1 -1
  149. streamlit/static/static/js/{FormClearHelper.DN8D_YXO.js → FormClearHelper.zxJ53Nym.js} +1 -1
  150. streamlit/static/static/js/{InputInstructions.DbssY6d4.js → InputInstructions.CCbg8esE.js} +1 -1
  151. streamlit/static/static/js/{Particles.BznyVdfo.js → Particles.BJw0A-zv.js} +1 -1
  152. streamlit/static/static/js/{ProgressBar.C5uBOtcx.js → ProgressBar.BrrHeAEh.js} +2 -2
  153. streamlit/static/static/js/{StreamlitSyntaxHighlighter.Nf1895x-.js → StreamlitSyntaxHighlighter.DvPLy3zk.js} +1 -1
  154. streamlit/static/static/js/{TableChart.esm.DHKzVs3a.js → TableChart.esm.BawvAi5p.js} +1 -1
  155. streamlit/static/static/js/{Toolbar.CQsWYXer.js → Toolbar.CbpscbNb.js} +1 -1
  156. streamlit/static/static/js/{WidgetLabelHelpIconInline.6xCU76OE.js → WidgetLabelHelpIconInline.DA4S2HFP.js} +1 -1
  157. streamlit/static/static/js/{base-input.Cs-E6S71.js → base-input.BKKl2eBF.js} +4 -4
  158. streamlit/static/static/js/{checkbox.OTGupu18.js → checkbox.CB43AKV4.js} +1 -1
  159. streamlit/static/static/js/{createDownloadLinkElement.DnBEQQbK.js → createDownloadLinkElement.jVwF96ey.js} +1 -1
  160. streamlit/static/static/js/data-grid-overlay-editor.CxQizSv7.js +1 -0
  161. streamlit/static/static/js/{downloader.K0GUNeuj.js → downloader.CKlIgsy5.js} +1 -1
  162. streamlit/static/static/js/{embed.o8HvK3mH.js → embed.BhRb_2n8.js} +1 -1
  163. streamlit/static/static/js/{es6.BHy5pqTP.js → es6.DPyfPmWm.js} +2 -2
  164. streamlit/static/static/js/formatNumber.DtfMnnPx.js +1 -0
  165. streamlit/static/static/js/{iconPosition.2YynQUxu.js → iconPosition.DkZAlu_k.js} +1 -1
  166. streamlit/static/static/js/{iframeResizer.contentWindow.D5h3hQuU.js → iframeResizer.contentWindow.l5sQWLra.js} +1 -1
  167. streamlit/static/static/js/{index.BZ-GJVxB.js → index.465nmxtO.js} +2 -2
  168. streamlit/static/static/js/{index.BPdmXoYW.js → index.6J1N4is3.js} +1 -1
  169. streamlit/static/static/js/{index.Bfo1cXfC.js → index.AZ9T4EqJ.js} +1 -1
  170. streamlit/static/static/js/{index.cfuZ69LI.js → index.BAK0CG1Q.js} +1 -1
  171. streamlit/static/static/js/{index.5zqfJ-in.js → index.BLD3tJ2C.js} +1 -1
  172. streamlit/static/static/js/{index.CxWzt6oi.js → index.BUlT_mOL.js} +3 -3
  173. streamlit/static/static/js/{index.DxGXuhh6.js → index.Bc_FQ4Wb.js} +1 -1
  174. streamlit/static/static/js/{index.DJfMW0Gy.js → index.BpCj2-sQ.js} +1 -1
  175. streamlit/static/static/js/{index.DLUSo6de.js → index.BzO83wKm.js} +1 -1
  176. streamlit/static/static/js/index.CAoX2tlo.js +2 -0
  177. streamlit/static/static/js/{index.CwtpGPHA.js → index.CBbYMKZp.js} +1 -1
  178. streamlit/static/static/js/{index.Bgf49D1Z.js → index.CL7it7tU.js} +222 -222
  179. streamlit/static/static/js/{index.DxfYCrPp.js → index.CL_icBXS.js} +1 -1
  180. streamlit/static/static/js/index.C_19KWNs.js +2 -0
  181. streamlit/static/static/js/index.CaU3Uv_L.js +1 -0
  182. streamlit/static/static/js/{index.Dh3PJIlq.js → index.Ccye_uLl.js} +1 -1
  183. streamlit/static/static/js/{index.C65jHNhe.js → index.CiS4giQ2.js} +1 -1
  184. streamlit/static/static/js/{index.hlAfdSqC.js → index.Ck64OQhV.js} +1 -1
  185. streamlit/static/static/js/{index.HmRK3HyC.js → index.CmbqbRMZ.js} +1 -1
  186. streamlit/static/static/js/{index.8MlRyIxN.js → index.CsEZTo6L.js} +2 -2
  187. streamlit/static/static/js/{index.DVRCyxMp.js → index.CsIENsKH.js} +1 -1
  188. streamlit/static/static/js/{index.Bqmx23jK.js → index.Cwg8nWw5.js} +1 -1
  189. streamlit/static/static/js/{index.CZf7Go1Z.js → index.D83azq2w.js} +1 -1
  190. streamlit/static/static/js/{index.CUkhn-vu.js → index.DDr-BLbJ.js} +1 -1
  191. streamlit/static/static/js/{index.iUV9rb8C.js → index.DKoJr0Se.js} +1 -1
  192. streamlit/static/static/js/{index.C2EoeVjP.js → index.DL_ywOgf.js} +2 -2
  193. streamlit/static/static/js/{index.q0ceUXt6.js → index.DR6V0uBJ.js} +1 -1
  194. streamlit/static/static/js/index.DZOGT9vX.js +1 -0
  195. streamlit/static/static/js/{index.BtuskCwg.js → index.Dac9Jib-.js} +1 -1
  196. streamlit/static/static/js/{index.6c-qDsD7.js → index.DiBeetOH.js} +1 -1
  197. streamlit/static/static/js/{index.DlgcEr0f.js → index.DjuMEZ6m.js} +1 -1
  198. streamlit/static/static/js/{index.DBPWUJsj.js → index.DmWUXdjc.js} +54 -54
  199. streamlit/static/static/js/{index.DL_yE83J.js → index.DpSc4e1j.js} +2 -2
  200. streamlit/static/static/js/{index.CgVv04GM.js → index.DzdPUxsx.js} +2 -2
  201. streamlit/static/static/js/{index.BtRWcqZV.js → index.FioS1Y9m.js} +1 -1
  202. streamlit/static/static/js/{index.BfMPq234.js → index.L9pOjBEn.js} +3 -3
  203. streamlit/static/static/js/{index.TjMWsKSH.js → index.LjqoQCm5.js} +3 -3
  204. streamlit/static/static/js/index.OizPL4jg.js +1 -0
  205. streamlit/static/static/js/{index.Cb03y5I8.js → index.Q2t_iBn0.js} +1 -1
  206. streamlit/static/static/js/index.WIMtx3m0.js +2 -0
  207. streamlit/static/static/js/index.Y9wPTZIf.js +1 -0
  208. streamlit/static/static/js/{index.COh5V_89.js → index.YutgmD9x.js} +2 -2
  209. streamlit/static/static/js/{index.BIqcOZ_u.js → index.b_f-McZ5.js} +1 -1
  210. streamlit/static/static/js/{index.BzTVI_BY.js → index.e6Ry6-Ft.js} +1 -1
  211. streamlit/static/static/js/index.hnu9U-5g.js +1 -0
  212. streamlit/static/static/js/{index.C6wyTXhz.js → index.rvbQETlC.js} +1 -1
  213. streamlit/static/static/js/index.w7yKy9fh.js +6 -0
  214. streamlit/static/static/js/{index.C7wst9Tm.js → index.y0h42OXL.js} +1 -1
  215. streamlit/static/static/js/{index.aCorc3Yt.js → index.y5HxPwg9.js} +48 -48
  216. streamlit/static/static/js/{index.CX0KdFyR.js → index.yHLCvUGh.js} +1 -1
  217. streamlit/static/static/js/{input.CXGIJ7D6.js → input.CAtwSQ27.js} +1 -1
  218. streamlit/static/static/js/{main.CCVkbuxC.js → main.VeMVx6VI.js} +1 -1
  219. streamlit/static/static/js/{memory.CNbnYs2A.js → memory.CxS_lIUn.js} +1 -1
  220. streamlit/static/static/js/number-overlay-editor.CoqRgZW_.js +9 -0
  221. streamlit/static/static/js/{pandasStylerUtils.CFSReOTm.js → pandasStylerUtils.DGWgd5sM.js} +1 -1
  222. streamlit/static/static/js/{sandbox.Bld0L3us.js → sandbox.2mSqEau0.js} +1 -1
  223. streamlit/static/static/js/sprintfjs.CsoVVZ9k.js +1 -0
  224. streamlit/static/static/js/{styled-components.BoUHK6TA.js → styled-components.BShfh7J8.js} +1 -1
  225. streamlit/static/static/js/{throttle.ByDFm7WV.js → throttle.Fq1DQK4p.js} +1 -1
  226. streamlit/static/static/js/{timepicker.CN6CUZEL.js → timepicker.DmyY-qtn.js} +1 -1
  227. streamlit/static/static/js/{toConsumableArray.DwMycSpg.js → toConsumableArray.Dvd9AIqV.js} +1 -1
  228. streamlit/static/static/js/uniqueId.CCajdEK8.js +1 -0
  229. streamlit/static/static/js/{useBasicWidgetState.Bg0ZMUt5.js → useBasicWidgetState.COLQ5AFB.js} +1 -1
  230. streamlit/static/static/js/{useIntlLocale.DgBUDcPA.js → useIntlLocale.kdIj0ego.js} +1 -1
  231. streamlit/static/static/js/{useTextInputAutoExpand.DDBezxks.js → useTextInputAutoExpand.DkuG1C1S.js} +1 -1
  232. streamlit/static/static/js/{useUpdateUiValue.Df1h6fXC.js → useUpdateUiValue.-UI_JsjT.js} +1 -1
  233. streamlit/static/static/js/{useWaveformController.DbWw5MEk.js → useWaveformController.C5PTwL6I.js} +1 -1
  234. streamlit/static/static/js/{withCalculatedWidth.YaK0HIIP.js → withCalculatedWidth.BREyS0pJ.js} +1 -1
  235. streamlit/static/static/js/{withFullScreenWrapper.CcWCKoY8.js → withFullScreenWrapper.DYDiEOrW.js} +1 -1
  236. streamlit/static/static/media/MaterialSymbols-Rounded.CnH1S47a.woff2 +0 -0
  237. streamlit/testing/v1/app_test.py +21 -5
  238. streamlit/testing/v1/element_tree.py +81 -4
  239. streamlit/web/server/server.py +0 -1
  240. streamlit/web/server/starlette/starlette_app.py +0 -1
  241. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/METADATA +10 -25
  242. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/RECORD +245 -252
  243. streamlit/proto/BokehChart_pb2.py +0 -27
  244. streamlit/proto/BokehChart_pb2.pyi +0 -56
  245. streamlit/proto/DataFrame_pb2.py +0 -56
  246. streamlit/proto/DataFrame_pb2.pyi +0 -430
  247. streamlit/proto/LabelVisibilityMessage_pb2.py +0 -29
  248. streamlit/proto/NamedDataSet_pb2.py +0 -28
  249. streamlit/proto/NamedDataSet_pb2.pyi +0 -67
  250. streamlit/proto/PagesChanged_pb2.py +0 -28
  251. streamlit/proto/PagesChanged_pb2.pyi +0 -55
  252. streamlit/proto/VegaLiteChart_pb2.py +0 -29
  253. streamlit/proto/VegaLiteChart_pb2.pyi +0 -79
  254. streamlit/static/static/js/data-grid-overlay-editor.COiiMi5r.js +0 -1
  255. streamlit/static/static/js/formatNumber.BK7h0k2z.js +0 -1
  256. streamlit/static/static/js/index.BBTKOM0z.js +0 -6
  257. streamlit/static/static/js/index.CSPY26T2.js +0 -1
  258. streamlit/static/static/js/index.CYhhEdja.js +0 -1
  259. streamlit/static/static/js/index.CdsyTabv.js +0 -1
  260. streamlit/static/static/js/index.CjRU8O1O.js +0 -2
  261. streamlit/static/static/js/index.Dc5-tFdw.js +0 -2
  262. streamlit/static/static/js/index.DcngUOyD.js +0 -2
  263. streamlit/static/static/js/index.VwDKazgt.js +0 -1
  264. streamlit/static/static/js/number-overlay-editor.CvI6wkld.js +0 -9
  265. streamlit/static/static/js/sprintf.DpPCfzXw.js +0 -1
  266. streamlit/static/static/js/uniqueId.DcCWa2cf.js +0 -1
  267. streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
  268. streamlit_nightly-1.53.2.dev20260128.data/scripts/streamlit.cmd +0 -16
  269. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/WHEEL +0 -0
  270. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/entry_points.txt +0 -0
  271. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/top_level.txt +0 -0
@@ -12,25 +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!streamlit/proto/ButtonGroup.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xf4\x05\n\x0b\x42uttonGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x07options\x18\x02 \x03(\x0b\x32\x13.ButtonGroup.Option\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12*\n\nclick_mode\x18\x05 \x01(\x0e\x32\x16.ButtonGroup.ClickMode\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x03(\r\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x44\n\x17selection_visualization\x18\t \x01(\x0e\x32#.ButtonGroup.SelectionVisualization\x12!\n\x05style\x18\n \x01(\x0e\x32\x12.ButtonGroup.Style\x12\r\n\x05label\x18\x0b \x01(\t\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x11\n\x04help\x18\r \x01(\tH\x00\x88\x01\x01\x1a\xb7\x01\n\x06Option\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x1d\n\x10selected_content\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontent_icon\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\"\n\x15selected_content_icon\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_selected_contentB\x0f\n\r_content_iconB\x18\n\x16_selected_content_icon\"0\n\tClickMode\x12\x11\n\rSINGLE_SELECT\x10\x00\x12\x10\n\x0cMULTI_SELECT\x10\x01\"C\n\x16SelectionVisualization\x12\x11\n\rONLY_SELECTED\x10\x00\x12\x16\n\x12\x41LL_UP_TO_SELECTED\x10\x01\"9\n\x05Style\x12\x15\n\x11SEGMENTED_CONTROL\x10\x00\x12\t\n\x05PILLS\x10\x01\x12\x0e\n\nBORDERLESS\x10\x02\x42\x07\n\x05_helpB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x42uttonGroupProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ButtonGroup.proto\x1a%streamlit/proto/LabelVisibility.proto\"\x9a\x04\n\x0b\x42uttonGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x07options\x18\x02 \x03(\x0b\x32\x13.ButtonGroup.Option\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12*\n\nclick_mode\x18\x05 \x01(\x0e\x32\x16.ButtonGroup.ClickMode\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x03(\r\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12!\n\x05style\x18\n \x01(\x0e\x32\x12.ButtonGroup.Style\x12\r\n\x05label\x18\x0b \x01(\t\x12*\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x10.LabelVisibility\x12\x11\n\x04help\x18\r \x01(\tH\x00\x88\x01\x01\x1az\n\x06Option\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x19\n\x0c\x63ontent_icon\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_content_iconJ\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05R\x10selected_contentR\x15selected_content_icon\"0\n\tClickMode\x12\x11\n\rSINGLE_SELECT\x10\x00\x12\x10\n\x0cMULTI_SELECT\x10\x01\")\n\x05Style\x12\x15\n\x11SEGMENTED_CONTROL\x10\x00\x12\t\n\x05PILLS\x10\x01\x42\x07\n\x05_helpJ\x04\x08\t\x10\nb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ButtonGroup_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020ButtonGroupProto'
26
- _globals['_BUTTONGROUP']._serialized_start=84
27
- _globals['_BUTTONGROUP']._serialized_end=840
28
- _globals['_BUTTONGROUP_OPTION']._serialized_start=470
29
- _globals['_BUTTONGROUP_OPTION']._serialized_end=653
30
- _globals['_BUTTONGROUP_CLICKMODE']._serialized_start=655
31
- _globals['_BUTTONGROUP_CLICKMODE']._serialized_end=703
32
- _globals['_BUTTONGROUP_SELECTIONVISUALIZATION']._serialized_start=705
33
- _globals['_BUTTONGROUP_SELECTIONVISUALIZATION']._serialized_end=772
34
- _globals['_BUTTONGROUP_STYLE']._serialized_start=774
35
- _globals['_BUTTONGROUP_STYLE']._serialized_end=831
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_BUTTONGROUP']._serialized_start=77
26
+ _globals['_BUTTONGROUP']._serialized_end=615
27
+ _globals['_BUTTONGROUP_OPTION']._serialized_start=385
28
+ _globals['_BUTTONGROUP_OPTION']._serialized_end=507
29
+ _globals['_BUTTONGROUP_CLICKMODE']._serialized_start=509
30
+ _globals['_BUTTONGROUP_CLICKMODE']._serialized_end=557
31
+ _globals['_BUTTONGROUP_STYLE']._serialized_start=559
32
+ _globals['_BUTTONGROUP_STYLE']._serialized_end=600
36
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
@@ -51,19 +51,6 @@ class ButtonGroup(_message.Message):
51
51
  SINGLE_SELECT: ButtonGroup.ClickMode.ValueType # 0
52
52
  MULTI_SELECT: ButtonGroup.ClickMode.ValueType # 1
53
53
 
54
- class _SelectionVisualization:
55
- ValueType = _typing.NewType("ValueType", _builtins.int)
56
- V: _TypeAlias = ValueType # noqa: Y015
57
-
58
- class _SelectionVisualizationEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ButtonGroup._SelectionVisualization.ValueType], _builtins.type):
59
- DESCRIPTOR: _descriptor.EnumDescriptor
60
- ONLY_SELECTED: ButtonGroup._SelectionVisualization.ValueType # 0
61
- ALL_UP_TO_SELECTED: ButtonGroup._SelectionVisualization.ValueType # 1
62
-
63
- class SelectionVisualization(_SelectionVisualization, metaclass=_SelectionVisualizationEnumTypeWrapper): ...
64
- ONLY_SELECTED: ButtonGroup.SelectionVisualization.ValueType # 0
65
- ALL_UP_TO_SELECTED: ButtonGroup.SelectionVisualization.ValueType # 1
66
-
67
54
  class _Style:
68
55
  ValueType = _typing.NewType("ValueType", _builtins.int)
69
56
  V: _TypeAlias = ValueType # noqa: Y015
@@ -72,52 +59,33 @@ class ButtonGroup(_message.Message):
72
59
  DESCRIPTOR: _descriptor.EnumDescriptor
73
60
  SEGMENTED_CONTROL: ButtonGroup._Style.ValueType # 0
74
61
  PILLS: ButtonGroup._Style.ValueType # 1
75
- BORDERLESS: ButtonGroup._Style.ValueType # 2
76
62
 
77
63
  class Style(_Style, metaclass=_StyleEnumTypeWrapper): ...
78
64
  SEGMENTED_CONTROL: ButtonGroup.Style.ValueType # 0
79
65
  PILLS: ButtonGroup.Style.ValueType # 1
80
- BORDERLESS: ButtonGroup.Style.ValueType # 2
81
66
 
82
67
  @_typing.final
83
68
  class Option(_message.Message):
84
69
  DESCRIPTOR: _descriptor.Descriptor
85
70
 
86
71
  CONTENT_FIELD_NUMBER: _builtins.int
87
- SELECTED_CONTENT_FIELD_NUMBER: _builtins.int
88
72
  CONTENT_ICON_FIELD_NUMBER: _builtins.int
89
- SELECTED_CONTENT_ICON_FIELD_NUMBER: _builtins.int
90
73
  content: _builtins.str
91
- selected_content: _builtins.str
92
- """when set, this is the content that will be displayed when the option is selected"""
93
74
  content_icon: _builtins.str
94
75
  """when set, this is the icon that will be displayed next to the option"""
95
- selected_content_icon: _builtins.str
96
- """when set, this is the icon that will be displayed next to the option when then option is selected"""
97
76
  def __init__(
98
77
  self,
99
78
  *,
100
79
  content: _builtins.str = ...,
101
- selected_content: _builtins.str | None = ...,
102
80
  content_icon: _builtins.str | None = ...,
103
- selected_content_icon: _builtins.str | None = ...,
104
81
  ) -> None: ...
105
- _HasFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "_selected_content", b"_selected_content", "_selected_content_icon", b"_selected_content_icon", "content_icon", b"content_icon", "selected_content", b"selected_content", "selected_content_icon", b"selected_content_icon"] # noqa: Y015
82
+ _HasFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "content_icon", b"content_icon"] # noqa: Y015
106
83
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
107
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "_selected_content", b"_selected_content", "_selected_content_icon", b"_selected_content_icon", "content", b"content", "content_icon", b"content_icon", "selected_content", b"selected_content", "selected_content_icon", b"selected_content_icon"] # noqa: Y015
84
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "content", b"content", "content_icon", b"content_icon"] # noqa: Y015
108
85
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
109
86
  _WhichOneofReturnType__content_icon: _TypeAlias = _typing.Literal["content_icon"] # noqa: Y015
110
87
  _WhichOneofArgType__content_icon: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon"] # noqa: Y015
111
- _WhichOneofReturnType__selected_content: _TypeAlias = _typing.Literal["selected_content"] # noqa: Y015
112
- _WhichOneofArgType__selected_content: _TypeAlias = _typing.Literal["_selected_content", b"_selected_content"] # noqa: Y015
113
- _WhichOneofReturnType__selected_content_icon: _TypeAlias = _typing.Literal["selected_content_icon"] # noqa: Y015
114
- _WhichOneofArgType__selected_content_icon: _TypeAlias = _typing.Literal["_selected_content_icon", b"_selected_content_icon"] # noqa: Y015
115
- @_typing.overload
116
88
  def WhichOneof(self, oneof_group: _WhichOneofArgType__content_icon) -> _WhichOneofReturnType__content_icon | None: ...
117
- @_typing.overload
118
- def WhichOneof(self, oneof_group: _WhichOneofArgType__selected_content) -> _WhichOneofReturnType__selected_content | None: ...
119
- @_typing.overload
120
- def WhichOneof(self, oneof_group: _WhichOneofArgType__selected_content_icon) -> _WhichOneofReturnType__selected_content_icon | None: ...
121
89
 
122
90
  ID_FIELD_NUMBER: _builtins.int
123
91
  OPTIONS_FIELD_NUMBER: _builtins.int
@@ -127,7 +95,6 @@ class ButtonGroup(_message.Message):
127
95
  FORM_ID_FIELD_NUMBER: _builtins.int
128
96
  VALUE_FIELD_NUMBER: _builtins.int
129
97
  SET_VALUE_FIELD_NUMBER: _builtins.int
130
- SELECTION_VISUALIZATION_FIELD_NUMBER: _builtins.int
131
98
  STYLE_FIELD_NUMBER: _builtins.int
132
99
  LABEL_FIELD_NUMBER: _builtins.int
133
100
  LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
@@ -137,7 +104,6 @@ class ButtonGroup(_message.Message):
137
104
  click_mode: Global___ButtonGroup.ClickMode.ValueType
138
105
  form_id: _builtins.str
139
106
  set_value: _builtins.bool
140
- selection_visualization: Global___ButtonGroup.SelectionVisualization.ValueType
141
107
  style: Global___ButtonGroup.Style.ValueType
142
108
  label: _builtins.str
143
109
  help: _builtins.str
@@ -152,7 +118,7 @@ class ButtonGroup(_message.Message):
152
118
  """value passed by the backend"""
153
119
 
154
120
  @_builtins.property
155
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
121
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
156
122
  def __init__(
157
123
  self,
158
124
  *,
@@ -164,15 +130,14 @@ class ButtonGroup(_message.Message):
164
130
  form_id: _builtins.str = ...,
165
131
  value: _abc.Iterable[_builtins.int] | None = ...,
166
132
  set_value: _builtins.bool = ...,
167
- selection_visualization: Global___ButtonGroup.SelectionVisualization.ValueType = ...,
168
133
  style: Global___ButtonGroup.Style.ValueType = ...,
169
134
  label: _builtins.str = ...,
170
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
135
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
171
136
  help: _builtins.str | None = ...,
172
137
  ) -> None: ...
173
138
  _HasFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "help", b"help", "label_visibility", b"label_visibility"] # noqa: Y015
174
139
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
175
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "click_mode", b"click_mode", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "selection_visualization", b"selection_visualization", "set_value", b"set_value", "style", b"style", "value", b"value"] # noqa: Y015
140
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "click_mode", b"click_mode", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "set_value", b"set_value", "style", b"style", "value", b"value"] # noqa: Y015
176
141
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
177
142
  _WhichOneofReturnType__help: _TypeAlias = _typing.Literal["help"] # noqa: Y015
178
143
  _WhichOneofArgType__help: _TypeAlias = _typing.Literal["_help", b"_help"] # noqa: Y015
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,streamlit/proto/ButtonLikeIconPosition.proto\x12\tstreamlit*-\n\x16\x42uttonLikeIconPosition\x12\x08\n\x04LEFT\x10\x00\x12\t\n\x05RIGHT\x10\x01\x42;\n\x1c\x63om.snowflake.apps.streamlitB\x1b\x42uttonLikeIconPositionProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,streamlit/proto/ButtonLikeIconPosition.proto\x12\tstreamlit*-\n\x16\x42uttonLikeIconPosition\x12\x08\n\x04LEFT\x10\x00\x12\t\n\x05RIGHT\x10\x01\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ButtonLikeIconPosition_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\033ButtonLikeIconPositionProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_BUTTONLIKEICONPOSITION']._serialized_start=59
26
25
  _globals['_BUTTONLIKEICONPOSITION']._serialized_end=104
27
26
  # @@protoc_insertion_point(module_scope)
@@ -15,16 +15,13 @@ _sym_db = _symbol_database.Default()
15
15
  from streamlit.proto import ButtonLikeIconPosition_pb2 as streamlit_dot_proto_dot_ButtonLikeIconPosition__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Button.proto\x1a,streamlit/proto/ButtonLikeIconPosition.proto\"\x89\x02\n\x06\x42utton\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 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x11is_form_submitter\x18\x06 \x01(\x08\x12\x0c\n\x04type\x18\x07 \x01(\t\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x1f\n\x13use_container_width\x18\t \x01(\x08\x42\x02\x18\x01\x12\x0c\n\x04icon\x18\n \x01(\t\x12\x10\n\x08shortcut\x18\x0b \x01(\t\x12\x38\n\ricon_position\x18\x0c \x01(\x0e\x32!.streamlit.ButtonLikeIconPositionB+\n\x1c\x63om.snowflake.apps.streamlitB\x0b\x42uttonProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Button.proto\x1a,streamlit/proto/ButtonLikeIconPosition.proto\"\xee\x01\n\x06\x42utton\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 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x11is_form_submitter\x18\x06 \x01(\x08\x12\x0c\n\x04type\x18\x07 \x01(\t\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x0c\n\x04icon\x18\n \x01(\t\x12\x10\n\x08shortcut\x18\x0b \x01(\t\x12\x38\n\ricon_position\x18\x0c \x01(\x0e\x32!.streamlit.ButtonLikeIconPositionJ\x04\x08\t\x10\nb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Button_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\013ButtonProto'
26
- _globals['_BUTTON'].fields_by_name['use_container_width']._loaded_options = None
27
- _globals['_BUTTON'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
24
+ DESCRIPTOR._loaded_options = None
28
25
  _globals['_BUTTON']._serialized_start=79
29
- _globals['_BUTTON']._serialized_end=344
26
+ _globals['_BUTTON']._serialized_end=317
30
27
  # @@protoc_insertion_point(module_scope)
@@ -29,11 +29,6 @@ if sys.version_info >= (3, 10):
29
29
  else:
30
30
  from typing_extensions import TypeAlias as _TypeAlias
31
31
 
32
- if sys.version_info >= (3, 13):
33
- from warnings import deprecated as _deprecated
34
- else:
35
- from typing_extensions import deprecated as _deprecated
36
-
37
32
  DESCRIPTOR: _descriptor.FileDescriptor
38
33
 
39
34
  @_typing.final
@@ -48,7 +43,6 @@ class Button(_message.Message):
48
43
  IS_FORM_SUBMITTER_FIELD_NUMBER: _builtins.int
49
44
  TYPE_FIELD_NUMBER: _builtins.int
50
45
  DISABLED_FIELD_NUMBER: _builtins.int
51
- USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
52
46
  ICON_FIELD_NUMBER: _builtins.int
53
47
  SHORTCUT_FIELD_NUMBER: _builtins.int
54
48
  ICON_POSITION_FIELD_NUMBER: _builtins.int
@@ -64,16 +58,6 @@ class Button(_message.Message):
64
58
  """
65
59
  type: _builtins.str
66
60
  disabled: _builtins.bool
67
- @_builtins.property
68
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
69
- def use_container_width(self) -> _builtins.bool:
70
- """DEPRECATED: Use widthConfig on Element.proto instead."""
71
-
72
- @use_container_width.setter
73
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
74
- def use_container_width(self, value: _builtins.bool) -> None:
75
- """DEPRECATED: Use widthConfig on Element.proto instead."""
76
-
77
61
  icon: _builtins.str
78
62
  shortcut: _builtins.str
79
63
  icon_position: _ButtonLikeIconPosition_pb2.ButtonLikeIconPosition.ValueType
@@ -88,12 +72,11 @@ class Button(_message.Message):
88
72
  is_form_submitter: _builtins.bool = ...,
89
73
  type: _builtins.str = ...,
90
74
  disabled: _builtins.bool = ...,
91
- use_container_width: _builtins.bool = ...,
92
75
  icon: _builtins.str = ...,
93
76
  shortcut: _builtins.str = ...,
94
77
  icon_position: _ButtonLikeIconPosition_pb2.ButtonLikeIconPosition.ValueType = ...,
95
78
  ) -> None: ...
96
- _ClearFieldArgType: _TypeAlias = _typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "icon_position", b"icon_position", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "shortcut", b"shortcut", "type", b"type", "use_container_width", b"use_container_width"] # noqa: Y015
79
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "icon_position", b"icon_position", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "shortcut", b"shortcut", "type", b"type"] # noqa: Y015
97
80
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
98
81
 
99
82
  Global___Button: _TypeAlias = Button # noqa: Y015
@@ -12,17 +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/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')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/CameraInput.proto\x1a%streamlit/proto/LabelVisibility.proto\"\x85\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*\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x10.LabelVisibilityb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.CameraInput_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020CameraInputProto'
26
- _globals['_CAMERAINPUT']._serialized_start=84
27
- _globals['_CAMERAINPUT']._serialized_end=224
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_CAMERAINPUT']._serialized_start=77
26
+ _globals['_CAMERAINPUT']._serialized_end=210
28
27
  # @@protoc_insertion_point(module_scope)
@@ -19,7 +19,7 @@ limitations under the License.
19
19
 
20
20
  from google.protobuf import descriptor as _descriptor
21
21
  from google.protobuf import message as _message
22
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
22
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
23
23
  import builtins as _builtins
24
24
  import sys
25
25
  import typing as _typing
@@ -47,7 +47,7 @@ class CameraInput(_message.Message):
47
47
  form_id: _builtins.str
48
48
  disabled: _builtins.bool
49
49
  @_builtins.property
50
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
50
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
51
51
  def __init__(
52
52
  self,
53
53
  *,
@@ -56,7 +56,7 @@ class CameraInput(_message.Message):
56
56
  help: _builtins.str = ...,
57
57
  form_id: _builtins.str = ...,
58
58
  disabled: _builtins.bool = ...,
59
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
59
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
60
60
  ) -> None: ...
61
61
  _HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
62
62
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
@@ -14,18 +14,15 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xab\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\x14\n\x0c\x61\x63\x63\x65pt_audio\x18\x0c \x01(\x08\x12\x1e\n\x11\x61udio_sample_rate\x18\r \x01(\x05H\x00\x88\x01\x01\"\x16\n\x08Position\x12\n\n\x06\x42OTTOM\x10\x00\"?\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x12\r\n\tDIRECTORY\x10\x03\x42\x14\n\x12_audio_sample_rateB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x43hatInputProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xf2\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\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\x14\n\x0c\x61\x63\x63\x65pt_audio\x18\x0c \x01(\x08\x12\x1e\n\x11\x61udio_sample_rate\x18\r \x01(\x05H\x00\x88\x01\x01\"?\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x12\r\n\tDIRECTORY\x10\x03\x42\x14\n\x12_audio_sample_rateJ\x04\x08\x08\x10\tb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ChatInput_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016ChatInputProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_CHATINPUT']._serialized_start=36
26
- _globals['_CHATINPUT']._serialized_end=463
27
- _globals['_CHATINPUT_POSITION']._serialized_start=354
28
- _globals['_CHATINPUT_POSITION']._serialized_end=376
29
- _globals['_CHATINPUT_ACCEPTFILE']._serialized_start=378
30
- _globals['_CHATINPUT_ACCEPTFILE']._serialized_end=441
25
+ _globals['_CHATINPUT']._serialized_end=406
26
+ _globals['_CHATINPUT_ACCEPTFILE']._serialized_start=315
27
+ _globals['_CHATINPUT_ACCEPTFILE']._serialized_end=378
31
28
  # @@protoc_insertion_point(module_scope)
@@ -37,19 +37,6 @@ DESCRIPTOR: _descriptor.FileDescriptor
37
37
  class ChatInput(_message.Message):
38
38
  DESCRIPTOR: _descriptor.Descriptor
39
39
 
40
- class _Position:
41
- ValueType = _typing.NewType("ValueType", _builtins.int)
42
- V: _TypeAlias = ValueType # noqa: Y015
43
-
44
- class _PositionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ChatInput._Position.ValueType], _builtins.type):
45
- DESCRIPTOR: _descriptor.EnumDescriptor
46
- BOTTOM: ChatInput._Position.ValueType # 0
47
-
48
- class Position(_Position, metaclass=_PositionEnumTypeWrapper):
49
- """DEPRECATED: position property is deprecated and unused."""
50
-
51
- BOTTOM: ChatInput.Position.ValueType # 0
52
-
53
40
  class _AcceptFile:
54
41
  ValueType = _typing.NewType("ValueType", _builtins.int)
55
42
  V: _TypeAlias = ValueType # noqa: Y015
@@ -74,7 +61,6 @@ class ChatInput(_message.Message):
74
61
  VALUE_FIELD_NUMBER: _builtins.int
75
62
  SET_VALUE_FIELD_NUMBER: _builtins.int
76
63
  DEFAULT_FIELD_NUMBER: _builtins.int
77
- POSITION_FIELD_NUMBER: _builtins.int
78
64
  ACCEPT_FILE_FIELD_NUMBER: _builtins.int
79
65
  FILE_TYPE_FIELD_NUMBER: _builtins.int
80
66
  MAX_UPLOAD_SIZE_MB_FIELD_NUMBER: _builtins.int
@@ -87,7 +73,6 @@ class ChatInput(_message.Message):
87
73
  value: _builtins.str
88
74
  set_value: _builtins.bool
89
75
  default: _builtins.str
90
- position: Global___ChatInput.Position.ValueType
91
76
  accept_file: Global___ChatInput.AcceptFile.ValueType
92
77
  max_upload_size_mb: _builtins.int
93
78
  """Max file size allowed by server config"""
@@ -111,7 +96,6 @@ class ChatInput(_message.Message):
111
96
  value: _builtins.str = ...,
112
97
  set_value: _builtins.bool = ...,
113
98
  default: _builtins.str = ...,
114
- position: Global___ChatInput.Position.ValueType = ...,
115
99
  accept_file: Global___ChatInput.AcceptFile.ValueType = ...,
116
100
  file_type: _abc.Iterable[_builtins.str] | None = ...,
117
101
  max_upload_size_mb: _builtins.int = ...,
@@ -120,7 +104,7 @@ class ChatInput(_message.Message):
120
104
  ) -> None: ...
121
105
  _HasFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "audio_sample_rate", b"audio_sample_rate"] # noqa: Y015
122
106
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
123
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "accept_audio", b"accept_audio", "accept_file", b"accept_file", "audio_sample_rate", b"audio_sample_rate", "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"] # noqa: Y015
107
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "accept_audio", b"accept_audio", "accept_file", b"accept_file", "audio_sample_rate", b"audio_sample_rate", "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", "set_value", b"set_value", "value", b"value"] # noqa: Y015
124
108
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
125
109
  _WhichOneofReturnType__audio_sample_rate: _TypeAlias = _typing.Literal["audio_sample_rate"] # noqa: Y015
126
110
  _WhichOneofArgType__audio_sample_rate: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate"] # noqa: Y015
@@ -12,19 +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\x1estreamlit/proto/Checkbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x85\x02\n\x08\x43heckbox\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 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\x08\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x31\n\x10label_visibility\x18\t \x01(\x0b\x32\x17.LabelVisibilityMessage\x12!\n\x04type\x18\n \x01(\x0e\x32\x13.Checkbox.StyleType\"$\n\tStyleType\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06TOGGLE\x10\x01\x42-\n\x1c\x63om.snowflake.apps.streamlitB\rCheckboxProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Checkbox.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xfe\x01\n\x08\x43heckbox\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 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\x08\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12*\n\x10label_visibility\x18\t \x01(\x0b\x32\x10.LabelVisibility\x12!\n\x04type\x18\n \x01(\x0e\x32\x13.Checkbox.StyleType\"$\n\tStyleType\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06TOGGLE\x10\x01\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Checkbox_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rCheckboxProto'
26
- _globals['_CHECKBOX']._serialized_start=81
27
- _globals['_CHECKBOX']._serialized_end=342
28
- _globals['_CHECKBOX_STYLETYPE']._serialized_start=306
29
- _globals['_CHECKBOX_STYLETYPE']._serialized_end=342
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_CHECKBOX']._serialized_start=74
26
+ _globals['_CHECKBOX']._serialized_end=328
27
+ _globals['_CHECKBOX_STYLETYPE']._serialized_start=292
28
+ _globals['_CHECKBOX_STYLETYPE']._serialized_end=328
30
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
@@ -69,7 +69,7 @@ class Checkbox(_message.Message):
69
69
  disabled: _builtins.bool
70
70
  type: Global___Checkbox.StyleType.ValueType
71
71
  @_builtins.property
72
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
72
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
73
73
  def __init__(
74
74
  self,
75
75
  *,
@@ -81,7 +81,7 @@ class Checkbox(_message.Message):
81
81
  value: _builtins.bool = ...,
82
82
  set_value: _builtins.bool = ...,
83
83
  disabled: _builtins.bool = ...,
84
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
84
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
85
85
  type: Global___Checkbox.StyleType.ValueType = ...,
86
86
  ) -> None: ...
87
87
  _HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
@@ -15,14 +15,13 @@ _sym_db = _symbol_database.Default()
15
15
  from streamlit.proto import WidgetStates_pb2 as streamlit_dot_proto_dot_WidgetStates__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ClientState.proto\x1a\"streamlit/proto/WidgetStates.proto\"\xf3\x01\n\x0b\x43ontextInfo\x12\x15\n\x08timezone\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0ftimezone_offset\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x13\n\x06locale\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03url\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bis_embedded\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x19\n\x0c\x63olor_scheme\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0b\n\t_timezoneB\x12\n\x10_timezone_offsetB\t\n\x07_localeB\x06\n\x04_urlB\x0e\n\x0c_is_embeddedB\x0f\n\r_color_scheme\"\xe5\x01\n\x0b\x43lientState\x12\x14\n\x0cquery_string\x18\x01 \x01(\t\x12$\n\rwidget_states\x18\x02 \x01(\x0b\x32\r.WidgetStates\x12\x18\n\x10page_script_hash\x18\x03 \x01(\t\x12\x11\n\tpage_name\x18\x04 \x01(\t\x12\x13\n\x0b\x66ragment_id\x18\x05 \x01(\t\x12\x15\n\ris_auto_rerun\x18\x06 \x01(\x08\x12\x1d\n\x15\x63\x61\x63hed_message_hashes\x18\x07 \x03(\t\x12\"\n\x0c\x63ontext_info\x18\x08 \x01(\x0b\x32\x0c.ContextInfoB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43lientStateProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ClientState.proto\x1a\"streamlit/proto/WidgetStates.proto\"\xf3\x01\n\x0b\x43ontextInfo\x12\x15\n\x08timezone\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0ftimezone_offset\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x13\n\x06locale\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03url\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bis_embedded\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x19\n\x0c\x63olor_scheme\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0b\n\t_timezoneB\x12\n\x10_timezone_offsetB\t\n\x07_localeB\x06\n\x04_urlB\x0e\n\x0c_is_embeddedB\x0f\n\r_color_scheme\"\xe5\x01\n\x0b\x43lientState\x12\x14\n\x0cquery_string\x18\x01 \x01(\t\x12$\n\rwidget_states\x18\x02 \x01(\x0b\x32\r.WidgetStates\x12\x18\n\x10page_script_hash\x18\x03 \x01(\t\x12\x11\n\tpage_name\x18\x04 \x01(\t\x12\x13\n\x0b\x66ragment_id\x18\x05 \x01(\t\x12\x15\n\ris_auto_rerun\x18\x06 \x01(\x08\x12\x1d\n\x15\x63\x61\x63hed_message_hashes\x18\x07 \x03(\t\x12\"\n\x0c\x63ontext_info\x18\x08 \x01(\x0b\x32\x0c.ContextInfob\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ClientState_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020ClientStateProto'
24
+ DESCRIPTOR._loaded_options = None
26
25
  _globals['_CONTEXTINFO']._serialized_start=74
27
26
  _globals['_CONTEXTINFO']._serialized_end=317
28
27
  _globals['_CLIENTSTATE']._serialized_start=320
@@ -14,16 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
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')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\"`\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(\x08J\x04\x08\x05\x10\x06\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Code_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\tCodeProto'
25
- _globals['_CODE'].fields_by_name['height']._loaded_options = None
26
- _globals['_CODE'].fields_by_name['height']._serialized_options = b'\030\001'
23
+ DESCRIPTOR._loaded_options = None
27
24
  _globals['_CODE']._serialized_start=30
28
- _globals['_CODE']._serialized_end=140
25
+ _globals['_CODE']._serialized_end=126
29
26
  # @@protoc_insertion_point(module_scope)
@@ -28,11 +28,6 @@ if sys.version_info >= (3, 10):
28
28
  else:
29
29
  from typing_extensions import TypeAlias as _TypeAlias
30
30
 
31
- if sys.version_info >= (3, 13):
32
- from warnings import deprecated as _deprecated
33
- else:
34
- from typing_extensions import deprecated as _deprecated
35
-
36
31
  DESCRIPTOR: _descriptor.FileDescriptor
37
32
 
38
33
  @_typing.final
@@ -45,22 +40,11 @@ class Code(_message.Message):
45
40
  LANGUAGE_FIELD_NUMBER: _builtins.int
46
41
  SHOW_LINE_NUMBERS_FIELD_NUMBER: _builtins.int
47
42
  WRAP_LINES_FIELD_NUMBER: _builtins.int
48
- HEIGHT_FIELD_NUMBER: _builtins.int
49
43
  code_text: _builtins.str
50
44
  """Content to display."""
51
45
  language: _builtins.str
52
46
  show_line_numbers: _builtins.bool
53
47
  wrap_lines: _builtins.bool
54
- @_builtins.property
55
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
56
- def height(self) -> _builtins.int:
57
- """deprecated use height on Element.proto"""
58
-
59
- @height.setter
60
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
61
- def height(self, value: _builtins.int) -> None:
62
- """deprecated use height on Element.proto"""
63
-
64
48
  def __init__(
65
49
  self,
66
50
  *,
@@ -68,9 +52,8 @@ class Code(_message.Message):
68
52
  language: _builtins.str = ...,
69
53
  show_line_numbers: _builtins.bool = ...,
70
54
  wrap_lines: _builtins.bool = ...,
71
- height: _builtins.int = ...,
72
55
  ) -> None: ...
73
- _ClearFieldArgType: _TypeAlias = _typing.Literal["code_text", b"code_text", "height", b"height", "language", b"language", "show_line_numbers", b"show_line_numbers", "wrap_lines", b"wrap_lines"] # noqa: Y015
56
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["code_text", b"code_text", "language", b"language", "show_line_numbers", b"show_line_numbers", "wrap_lines", b"wrap_lines"] # noqa: Y015
74
57
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
75
58
 
76
59
  Global___Code: _TypeAlias = Code # noqa: Y015
@@ -12,17 +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/ColorPicker.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xbf\x01\n\x0b\x43olorPicker\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 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\t\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x31\n\x10label_visibility\x18\t \x01(\x0b\x32\x17.LabelVisibilityMessageB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43olorPickerProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ColorPicker.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xb8\x01\n\x0b\x43olorPicker\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 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\t\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12*\n\x10label_visibility\x18\t \x01(\x0b\x32\x10.LabelVisibilityb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ColorPicker_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020ColorPickerProto'
26
- _globals['_COLORPICKER']._serialized_start=84
27
- _globals['_COLORPICKER']._serialized_end=275
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_COLORPICKER']._serialized_start=77
26
+ _globals['_COLORPICKER']._serialized_end=261
28
27
  # @@protoc_insertion_point(module_scope)
@@ -19,7 +19,7 @@ limitations under the License.
19
19
 
20
20
  from google.protobuf import descriptor as _descriptor
21
21
  from google.protobuf import message as _message
22
- from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
22
+ from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
23
23
  import builtins as _builtins
24
24
  import sys
25
25
  import typing as _typing
@@ -53,7 +53,7 @@ class ColorPicker(_message.Message):
53
53
  set_value: _builtins.bool
54
54
  disabled: _builtins.bool
55
55
  @_builtins.property
56
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
56
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
57
57
  def __init__(
58
58
  self,
59
59
  *,
@@ -65,7 +65,7 @@ class ColorPicker(_message.Message):
65
65
  value: _builtins.str = ...,
66
66
  set_value: _builtins.bool = ...,
67
67
  disabled: _builtins.bool = ...,
68
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
68
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
69
69
  ) -> None: ...
70
70
  _HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
71
71
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...