streamlit-nightly 1.45.2.dev20250615__py3-none-any.whl → 1.45.2.dev20250616__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 (79) hide show
  1. streamlit/config.py +11 -0
  2. streamlit/elements/code.py +6 -4
  3. streamlit/elements/form.py +1 -2
  4. streamlit/runtime/credentials.py +3 -1
  5. streamlit/static/index.html +1 -1
  6. streamlit/static/manifest.json +218 -218
  7. streamlit/static/static/js/{ErrorOutline.esm.DeqDGwEO.js → ErrorOutline.esm.BBFVdWjb.js} +1 -1
  8. streamlit/static/static/js/{FileDownload.esm.--sYVXOa.js → FileDownload.esm.DvdwDAxp.js} +1 -1
  9. streamlit/static/static/js/{FileHelper.bloGbv2W.js → FileHelper.CjU1Ef50.js} +1 -1
  10. streamlit/static/static/js/{FormClearHelper.CYKg4prI.js → FormClearHelper.CIb6LGNE.js} +1 -1
  11. streamlit/static/static/js/{Hooks.B16qdpVx.js → Hooks.GJR4p5ub.js} +1 -1
  12. streamlit/static/static/js/{InputInstructions.DMO4B42t.js → InputInstructions.nsoutNDU.js} +1 -1
  13. streamlit/static/static/js/{ProgressBar.BH1ZwSEk.js → ProgressBar.DqtkCWgY.js} +1 -1
  14. streamlit/static/static/js/{RenderInPortalIfExists.IgdXklou.js → RenderInPortalIfExists.CocQHyjY.js} +1 -1
  15. streamlit/static/static/js/{Toolbar.DkIytKhC.js → Toolbar.UeCiz5bZ.js} +1 -1
  16. streamlit/static/static/js/{base-input.CAahP9oF.js → base-input.ChMOqefY.js} +1 -1
  17. streamlit/static/static/js/{checkbox.k1RuPBbZ.js → checkbox.mFAkcYlJ.js} +1 -1
  18. streamlit/static/static/js/{createSuper.ButEKFwQ.js → createSuper.CWlw4uuT.js} +1 -1
  19. streamlit/static/static/js/{data-grid-overlay-editor.7XGvfjSS.js → data-grid-overlay-editor.BRuPFGVT.js} +1 -1
  20. streamlit/static/static/js/{downloader.DSilreQW.js → downloader.D-JZV5KC.js} +1 -1
  21. streamlit/static/static/js/{es6.yDFTfvZI.js → es6.8aYd2mZD.js} +2 -2
  22. streamlit/static/static/js/{iframeResizer.contentWindow.BSskBUmQ.js → iframeResizer.contentWindow.jbTJNegv.js} +1 -1
  23. streamlit/static/static/js/{index.C0xV4csm.js → index.2vhUbWYE.js} +1 -1
  24. streamlit/static/static/js/{index.D6veSOdZ.js → index.45n3hxWl.js} +1 -1
  25. streamlit/static/static/js/{index.RQlZs06L.js → index.5VmqWrFJ.js} +1 -1
  26. streamlit/static/static/js/index.B5CU57Qf.js +783 -0
  27. streamlit/static/static/js/{index.ChhNrUVT.js → index.BSBLj6fd.js} +1 -1
  28. streamlit/static/static/js/{index.BsCehkC8.js → index.B_IVL8xE.js} +1 -1
  29. streamlit/static/static/js/{index.tnjDy4iv.js → index.B_K-sbDk.js} +1 -1
  30. streamlit/static/static/js/{index.Iveq4NZV.js → index.Bll2-rP6.js} +1 -1
  31. streamlit/static/static/js/{index.DqbaNLFW.js → index.BrZrTW9I.js} +1 -1
  32. streamlit/static/static/js/{index.DLBGcvEx.js → index.BuwwBXlt.js} +1 -1
  33. streamlit/static/static/js/{index.CKJtZooB.js → index.C-qKPIAc.js} +1 -1
  34. streamlit/static/static/js/{index.DNTQOI5W.js → index.C5Jk6yHy.js} +1 -1
  35. streamlit/static/static/js/{index.BG8RaQ8E.js → index.CBxfNa4S.js} +1 -1
  36. streamlit/static/static/js/{index.EgFq4OeP.js → index.CQG85lDO.js} +1 -1
  37. streamlit/static/static/js/{index.ClCtylIR.js → index.CeJjESM2.js} +1 -1
  38. streamlit/static/static/js/{index.DSpbUJvK.js → index.Cf2Ujw1i.js} +1 -1
  39. streamlit/static/static/js/{index.CIXRC_j_.js → index.CmYORNI1.js} +1 -1
  40. streamlit/static/static/js/{index.CzY5--PW.js → index.CrLOSpGd.js} +1 -1
  41. streamlit/static/static/js/{index.BZqoA_aJ.js → index.CwtQIKUg.js} +1 -1
  42. streamlit/static/static/js/{index.CWeNa-FP.js → index.D2DTU1aY.js} +1 -1
  43. streamlit/static/static/js/{index.D9muCjoC.js → index.D6aDPgRk.js} +1 -1
  44. streamlit/static/static/js/{index.BcW5X6V5.js → index.D7n0aj1W.js} +1 -1
  45. streamlit/static/static/js/{index.Cdi_Zw1a.js → index.D9LSzO5n.js} +1 -1
  46. streamlit/static/static/js/{index.Bo1tG5CG.js → index.Dat8JgZf.js} +5 -5
  47. streamlit/static/static/js/{index.BAXqDnQ9.js → index.DcylHZOn.js} +1 -1
  48. streamlit/static/static/js/{index.9VWuu9bJ.js → index.Ddznlirl.js} +1 -1
  49. streamlit/static/static/js/{index.BoHCDi97.js → index.DiKxaWW9.js} +1 -1
  50. streamlit/static/static/js/{index.ClCMQ4iK.js → index.DlBss_D9.js} +1 -1
  51. streamlit/static/static/js/{index.DslKxDZN.js → index.DwGCBH5W.js} +1 -1
  52. streamlit/static/static/js/{index.FC1jA29Z.js → index.EmgmixKr.js} +1 -1
  53. streamlit/static/static/js/{index.bQ9PFxvm.js → index.MuhC3L76.js} +1 -1
  54. streamlit/static/static/js/{index.BY47W7LH.js → index.RqdD1cln.js} +1 -1
  55. streamlit/static/static/js/{index.ChBsbacw.js → index.TEOqOk4H.js} +1 -1
  56. streamlit/static/static/js/{index.DGrpmtEI.js → index.ZJ-p6xZJ.js} +1 -1
  57. streamlit/static/static/js/{index.O4EQwJsZ.js → index._beSUPH2.js} +1 -1
  58. streamlit/static/static/js/{index.y-bXsZ3U.js → index.g86WIJtm.js} +1 -1
  59. streamlit/static/static/js/{index.80yI-jzZ.js → index.gcWbHnPE.js} +1 -1
  60. streamlit/static/static/js/{input.5dpw-Sqs.js → input.DXa_gBzj.js} +1 -1
  61. streamlit/static/static/js/{memory.8YWsO_82.js → memory.D5rOUj2Y.js} +1 -1
  62. streamlit/static/static/js/{mergeWith.1afHaDFE.js → mergeWith.DSXoP_ea.js} +1 -1
  63. streamlit/static/static/js/{number-overlay-editor.CrclsoQd.js → number-overlay-editor.DOlAMQ4z.js} +1 -1
  64. streamlit/static/static/js/{possibleConstructorReturn.Dq7g1SWn.js → possibleConstructorReturn.C8PlFdhp.js} +1 -1
  65. streamlit/static/static/js/{sandbox.ZlQ0WZlh.js → sandbox.Cbgzd0RE.js} +1 -1
  66. streamlit/static/static/js/{textarea.CY5cwdtO.js → textarea.CwmJHkZd.js} +1 -1
  67. streamlit/static/static/js/{timepicker.DMqTkd3V.js → timepicker.D-HemJVg.js} +1 -1
  68. streamlit/static/static/js/{toConsumableArray.Bm0yYM5M.js → toConsumableArray.K58gdyL6.js} +1 -1
  69. streamlit/static/static/js/{uniqueId.kDXXTYvS.js → uniqueId.D6CfbZfn.js} +1 -1
  70. streamlit/static/static/js/{useBasicWidgetState.ClCgm0D-.js → useBasicWidgetState.t6CdhaX9.js} +1 -1
  71. streamlit/static/static/js/{useOnInputChange.Cwcz7NJx.js → useOnInputChange.D_GNOmUw.js} +1 -1
  72. streamlit/static/static/js/{withFullScreenWrapper.CRbf9QMV.js → withFullScreenWrapper.DILaf-7C.js} +1 -1
  73. {streamlit_nightly-1.45.2.dev20250615.dist-info → streamlit_nightly-1.45.2.dev20250616.dist-info}/METADATA +1 -1
  74. {streamlit_nightly-1.45.2.dev20250615.dist-info → streamlit_nightly-1.45.2.dev20250616.dist-info}/RECORD +78 -78
  75. streamlit/static/static/js/index.VE3QHoXq.js +0 -783
  76. {streamlit_nightly-1.45.2.dev20250615.data → streamlit_nightly-1.45.2.dev20250616.data}/scripts/streamlit.cmd +0 -0
  77. {streamlit_nightly-1.45.2.dev20250615.dist-info → streamlit_nightly-1.45.2.dev20250616.dist-info}/WHEEL +0 -0
  78. {streamlit_nightly-1.45.2.dev20250615.dist-info → streamlit_nightly-1.45.2.dev20250616.dist-info}/entry_points.txt +0 -0
  79. {streamlit_nightly-1.45.2.dev20250615.dist-info → streamlit_nightly-1.45.2.dev20250616.dist-info}/top_level.txt +0 -0
streamlit/config.py CHANGED
@@ -745,6 +745,17 @@ def _server_headless() -> bool:
745
745
  )
746
746
 
747
747
 
748
+ _create_option(
749
+ "server.showEmailPrompt",
750
+ description="""
751
+ Whether to show a terminal prompt for the user to enter their email
752
+ address when they run Streamlit for the first time. If you set
753
+ `server.headless=True`, Streamlit will not show this prompt.
754
+ """,
755
+ default_val=True,
756
+ type_=bool,
757
+ )
758
+
748
759
  _create_option(
749
760
  "server.runOnSave",
750
761
  description="""
@@ -15,10 +15,9 @@
15
15
  from __future__ import annotations
16
16
 
17
17
  import re
18
- from typing import TYPE_CHECKING, cast
18
+ from typing import TYPE_CHECKING, Literal, cast
19
19
 
20
20
  from streamlit.elements.lib.layout_utils import (
21
- Height,
22
21
  LayoutConfig,
23
22
  WidthWithoutContent,
24
23
  validate_height,
@@ -41,7 +40,7 @@ class CodeMixin:
41
40
  *,
42
41
  line_numbers: bool = False,
43
42
  wrap_lines: bool = False,
44
- height: Height = "content",
43
+ height: int | Literal["content"] | None = "content",
45
44
  width: WidthWithoutContent = "stretch",
46
45
  ) -> DeltaGenerator:
47
46
  """Display a code block with optional syntax highlighting.
@@ -118,7 +117,10 @@ class CodeMixin:
118
117
  code_proto.show_line_numbers = line_numbers
119
118
  code_proto.wrap_lines = wrap_lines
120
119
 
121
- validate_height(height, allow_content=True)
120
+ if height is None:
121
+ height = "content"
122
+ else:
123
+ validate_height(height, allow_content=True)
122
124
  validate_width(width)
123
125
  layout_config = LayoutConfig(height=height, width=width)
124
126
 
@@ -18,7 +18,6 @@ from typing import TYPE_CHECKING, Literal, cast
18
18
 
19
19
  from streamlit.elements.lib.form_utils import FormData, current_form_id, is_in_form
20
20
  from streamlit.elements.lib.layout_utils import (
21
- Height,
22
21
  Width,
23
22
  get_height_config,
24
23
  get_width_config,
@@ -76,7 +75,7 @@ class FormMixin:
76
75
  enter_to_submit: bool = True,
77
76
  border: bool = True,
78
77
  width: Width = "stretch",
79
- height: Height = "content",
78
+ height: int | Literal["content"] = "content",
80
79
  ) -> DeltaGenerator:
81
80
  """Create a form that batches elements together with a "Submit" button.
82
81
 
@@ -23,7 +23,7 @@ import textwrap
23
23
  from typing import Final, NamedTuple, NoReturn, cast
24
24
  from uuid import uuid4
25
25
 
26
- from streamlit import cli_util, env_util, file_util, util
26
+ from streamlit import cli_util, config, env_util, file_util, util
27
27
  from streamlit.logger import get_logger
28
28
 
29
29
  _LOGGER: Final = get_logger(__name__)
@@ -247,6 +247,8 @@ class Credentials:
247
247
  "`streamlit activate reset` then `streamlit activate`"
248
248
  )
249
249
  else:
250
+ if not config.get_option("server.showEmailPrompt"):
251
+ return
250
252
  activated = False
251
253
 
252
254
  while not activated:
@@ -37,7 +37,7 @@
37
37
  <script>
38
38
  window.prerenderReady = false
39
39
  </script>
40
- <script type="module" crossorigin src="./static/js/index.VE3QHoXq.js"></script>
40
+ <script type="module" crossorigin src="./static/js/index.B5CU57Qf.js"></script>
41
41
  <link rel="stylesheet" crossorigin href="./static/css/index.CJVRHjQZ.css">
42
42
  </head>
43
43
  <body>