streamlit-nightly 1.45.2.dev20250531__py3-none-any.whl → 1.45.2.dev20250602__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.
@@ -191,7 +191,7 @@ class LayoutsMixin:
191
191
  self,
192
192
  spec: SpecType,
193
193
  *,
194
- gap: Literal["small", "medium", "large", "none"] = "small",
194
+ gap: Literal["small", "medium", "large"] | None = "small",
195
195
  vertical_alignment: Literal["top", "center", "bottom"] = "top",
196
196
  border: bool = False,
197
197
  ) -> list[DeltaGenerator]:
@@ -220,7 +220,7 @@ class LayoutsMixin:
220
220
  Or ``[1, 2, 3]`` creates three columns where the second one is two times
221
221
  the width of the first one, and the third one is three times that width.
222
222
 
223
- gap : "small", "medium", "large", or "none"
223
+ gap : "small", "medium", "large", or None
224
224
  The size of the gap between the columns. The default is ``"small"``.
225
225
 
226
226
  vertical_alignment : "top", "center", or "bottom"
@@ -361,12 +361,11 @@ class LayoutsMixin:
361
361
  vertical_alignment=vertical_alignment
362
362
  )
363
363
 
364
- def column_gap(gap: str) -> GapSize.ValueType:
364
+ def column_gap(gap: str | None) -> GapSize.ValueType:
365
365
  gap_mapping = {
366
366
  "small": GapSize.SMALL,
367
367
  "medium": GapSize.MEDIUM,
368
368
  "large": GapSize.LARGE,
369
- "none": GapSize.NONE,
370
369
  }
371
370
 
372
371
  if isinstance(gap, str):
@@ -375,6 +374,8 @@ class LayoutsMixin:
375
374
 
376
375
  if gap_size in valid_sizes:
377
376
  return gap_mapping[gap_size]
377
+ elif gap is None:
378
+ return GapSize.NONE
378
379
 
379
380
  raise StreamlitInvalidColumnGapError(gap=gap)
380
381
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-nightly
3
- Version: 1.45.2.dev20250531
3
+ Version: 1.45.2.dev20250602
4
4
  Summary: A faster way to build and share data apps
5
5
  Home-page: https://streamlit.io
6
6
  Author: Snowflake Inc
@@ -74,7 +74,7 @@ streamlit/elements/html.py,sha256=AgNP47iofcRA_s6HiyAer_ntvfJ7dEuZyoSEkuiv9o8,59
74
74
  streamlit/elements/iframe.py,sha256=tdFNbLcf1mSiD3bVSUWBYWone9vZ3LZfcfSJPaW4sl4,8526
75
75
  streamlit/elements/image.py,sha256=Q4wkGPvSaKL1gb_DXzx7lfgeOQXIemKQkOT6HEutcYE,8487
76
76
  streamlit/elements/json.py,sha256=qgNHrV-se9erYFa1G4TR-y4H75ZS2U0ymn-NeyqK0xQ,5055
77
- streamlit/elements/layouts.py,sha256=O2LGzA8xWC1Yr_Ub4gCcDh21cDGXY5a7RFJOg4IEymk,33722
77
+ streamlit/elements/layouts.py,sha256=UjMFXJfyfEJ2t40UZjrKC3aq6PzW38MRBcZVT-2aiIs,33754
78
78
  streamlit/elements/map.py,sha256=RBf4H3CWsCUeklSY99fp7DIlc7LAUz-MLAvMJzgX_wQ,17286
79
79
  streamlit/elements/markdown.py,sha256=d08q43DjYwXpi8P5DSTAlN4H2vAaiqKjGnCvE3eVm6o,15896
80
80
  streamlit/elements/media.py,sha256=w3Ga4J7tSIKmkzGP3yqhQxbR943Q2K-_qb4xxyppBGQ,33588
@@ -564,9 +564,9 @@ streamlit/web/server/server_util.py,sha256=mhrY04CBvrvKtyUSHR4eu-h4GQYfvB_TfCvda
564
564
  streamlit/web/server/stats_request_handler.py,sha256=M1g40mgy78f316gP7_W8I__Q4e9x0NoNjiNLQdH58ds,3848
565
565
  streamlit/web/server/upload_file_request_handler.py,sha256=A-wgVOk6TCxf_KU-lQhawygSBKk5fwrD3Zkrz375Yj4,5269
566
566
  streamlit/web/server/websocket_headers.py,sha256=2OHv6G9hLJ0UX8oHDG3UJ86_KK4SJJD8FXOCsZjCKek,2229
567
- streamlit_nightly-1.45.2.dev20250531.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
568
- streamlit_nightly-1.45.2.dev20250531.dist-info/METADATA,sha256=AdzzlDoGWjQSZGiaXg7uzFqHvwB2ukuVoRYpRq0B9ps,8973
569
- streamlit_nightly-1.45.2.dev20250531.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
570
- streamlit_nightly-1.45.2.dev20250531.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
571
- streamlit_nightly-1.45.2.dev20250531.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
572
- streamlit_nightly-1.45.2.dev20250531.dist-info/RECORD,,
567
+ streamlit_nightly-1.45.2.dev20250602.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
568
+ streamlit_nightly-1.45.2.dev20250602.dist-info/METADATA,sha256=g_jkUZlY0yZTWGe36EUR031eO_ZqerVCm2pWLTDzGCQ,8973
569
+ streamlit_nightly-1.45.2.dev20250602.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
570
+ streamlit_nightly-1.45.2.dev20250602.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
571
+ streamlit_nightly-1.45.2.dev20250602.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
572
+ streamlit_nightly-1.45.2.dev20250602.dist-info/RECORD,,