streamlit-nightly 1.45.1.dev20250501__py3-none-any.whl → 1.45.1.dev20250503__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 (88) hide show
  1. streamlit/elements/widgets/camera_input.py +20 -0
  2. streamlit/elements/widgets/file_uploader.py +23 -0
  3. streamlit/elements/widgets/select_slider.py +23 -0
  4. streamlit/elements/widgets/slider.py +17 -0
  5. streamlit/elements/widgets/text_widgets.py +38 -0
  6. streamlit/proto/CameraInput_pb2.py +4 -3
  7. streamlit/proto/CameraInput_pb2.pyi +8 -2
  8. streamlit/proto/FileUploader_pb2.py +4 -3
  9. streamlit/proto/FileUploader_pb2.pyi +8 -2
  10. streamlit/proto/Slider_pb2.py +8 -7
  11. streamlit/proto/Slider_pb2.pyi +8 -2
  12. streamlit/proto/TextArea_pb2.py +4 -3
  13. streamlit/proto/TextArea_pb2.pyi +9 -2
  14. streamlit/proto/TextInput_pb2.py +6 -5
  15. streamlit/proto/TextInput_pb2.pyi +9 -2
  16. streamlit/static/index.html +1 -1
  17. streamlit/static/static/js/{ErrorOutline.esm.JdVs1Qkg.js → ErrorOutline.esm.Bi4rIKce.js} +1 -1
  18. streamlit/static/static/js/{FileDownload.esm.BlQJ4vNG.js → FileDownload.esm.CgcfJ7jp.js} +1 -1
  19. streamlit/static/static/js/{FileHelper.V4GYCyDu.js → FileHelper.DNojV8Y-.js} +1 -1
  20. streamlit/static/static/js/{FormClearHelper.CyxVAl63.js → FormClearHelper.Dj9cIjIB.js} +1 -1
  21. streamlit/static/static/js/{Hooks.CwzpXjfg.js → Hooks.BzFUZ6MJ.js} +1 -1
  22. streamlit/static/static/js/{InputInstructions.DLh-ti71.js → InputInstructions.CYPXcx5I.js} +1 -1
  23. streamlit/static/static/js/{ProgressBar.C7bBETsY.js → ProgressBar.ZaslM_lv.js} +1 -1
  24. streamlit/static/static/js/{RenderInPortalIfExists.BMvxq2hn.js → RenderInPortalIfExists.BuhqVIo4.js} +1 -1
  25. streamlit/static/static/js/{Toolbar.CotfqUm6.js → Toolbar.Dh9Ti0Xp.js} +1 -1
  26. streamlit/static/static/js/{base-input.BxaSmpU7.js → base-input.CWmg0piT.js} +1 -1
  27. streamlit/static/static/js/{checkbox.CrglCerk.js → checkbox.B55PmSuL.js} +1 -1
  28. streamlit/static/static/js/{createSuper.Bs0C396a.js → createSuper.B_ZYGAdZ.js} +1 -1
  29. streamlit/static/static/js/{data-grid-overlay-editor.D0k84F-1.js → data-grid-overlay-editor.BC3_SI0J.js} +1 -1
  30. streamlit/static/static/js/{downloader.BpZrmdUi.js → downloader.DCVryQ8m.js} +1 -1
  31. streamlit/static/static/js/{es6.DD8ccAPk.js → es6.Dz_yB5z2.js} +2 -2
  32. streamlit/static/static/js/{iframeResizer.contentWindow.7G5YE4ki.js → iframeResizer.contentWindow.BL9oGsv0.js} +1 -1
  33. streamlit/static/static/js/{index.65FBensJ.js → index.149XmMwk.js} +1 -1
  34. streamlit/static/static/js/{index.DICnhvRg.js → index.B2rrdjSM.js} +1 -1
  35. streamlit/static/static/js/{index.CMjYL7Ho.js → index.B4dHtLlL.js} +1 -1
  36. streamlit/static/static/js/{index.DO535td0.js → index.B6Lkujkg.js} +1 -1
  37. streamlit/static/static/js/{index.DUF1Zxw6.js → index.B71v2qvG.js} +1 -1
  38. streamlit/static/static/js/{index.B2lDS5vI.js → index.B8bKQXh9.js} +1 -1
  39. streamlit/static/static/js/{index.Dz4o-tqP.js → index.BKWZKL08.js} +5 -5
  40. streamlit/static/static/js/{index.COpV4IZK.js → index.BL9ZervX.js} +1 -1
  41. streamlit/static/static/js/{index.COBwb1mq.js → index.BTniWQ7k.js} +1 -1
  42. streamlit/static/static/js/{index.Czzj5-re.js → index.Bi2P2smS.js} +1 -1
  43. streamlit/static/static/js/{index.DX2vW3qb.js → index.Bjv3WjfL.js} +1 -1
  44. streamlit/static/static/js/{index.D5GLQoRz.js → index.Bkh6Uq46.js} +1 -1
  45. streamlit/static/static/js/{index.Cgzj9ewR.js → index.Bw1GLRoJ.js} +1 -1
  46. streamlit/static/static/js/{index.BQqNcnRp.js → index.C1Onnqgx.js} +34 -34
  47. streamlit/static/static/js/{index.SARy_Med.js → index.C5Bk4I5D.js} +1 -1
  48. streamlit/static/static/js/{index.BjKCKyJI.js → index.C9t2WUik.js} +1 -1
  49. streamlit/static/static/js/{index.Co5UsG7W.js → index.CEtbVfDc.js} +1 -1
  50. streamlit/static/static/js/{index.DM4oCpFy.js → index.CKlQXXH5.js} +1 -1
  51. streamlit/static/static/js/{index.C2kSDT38.js → index.CLm1vyQL.js} +1 -1
  52. streamlit/static/static/js/{index.Olz7Xaf0.js → index.CNMeZMWE.js} +1 -1
  53. streamlit/static/static/js/{index.5p5xlu27.js → index.Cim9S8Ss.js} +1 -1
  54. streamlit/static/static/js/{index.B3VXbj_b.js → index.Clgb-C0M.js} +1 -1
  55. streamlit/static/static/js/{index.BNm3tuep.js → index.CnBJWuqh.js} +1 -1
  56. streamlit/static/static/js/{index.BNhdn2vD.js → index.CqhFhCXO.js} +1 -1
  57. streamlit/static/static/js/{index.9sjzZWLH.js → index.DB8lzSwd.js} +1 -1
  58. streamlit/static/static/js/{index.80LGX7Ne.js → index.DBjodTv0.js} +1 -1
  59. streamlit/static/static/js/{index.BI5f0VII.js → index.DGQq6N06.js} +1 -1
  60. streamlit/static/static/js/{index.BDLXYKTS.js → index.DJXE7AM9.js} +1 -1
  61. streamlit/static/static/js/{index.Dq6k7Ztd.js → index.DX5LBKpa.js} +1 -1
  62. streamlit/static/static/js/{index.DK_eUkea.js → index.DXNwUj37.js} +1 -1
  63. streamlit/static/static/js/{index.rHb0nIsm.js → index.Dk4s-H9g.js} +1 -1
  64. streamlit/static/static/js/{index.DfgXsqtW.js → index.DsUIRBrE.js} +1 -1
  65. streamlit/static/static/js/{index.BF0CTyRa.js → index.JBn4qgd8.js} +1 -1
  66. streamlit/static/static/js/{index.CveEeb4Q.js → index.ZM4hBepQ.js} +1 -1
  67. streamlit/static/static/js/{index.CkutRj8u.js → index.n-3bctcT.js} +1 -1
  68. streamlit/static/static/js/{index.DW80zFo4.js → index.poyxGVIV.js} +1 -1
  69. streamlit/static/static/js/{index.D1wWsFMc.js → index.xXFNtMRp.js} +1 -1
  70. streamlit/static/static/js/{input.ChMez782.js → input.tN5HMxoF.js} +1 -1
  71. streamlit/static/static/js/{memory.DEIZt-uk.js → memory.CUqn-HRH.js} +1 -1
  72. streamlit/static/static/js/{mergeWith.DV3wfmZj.js → mergeWith.DerBQcY2.js} +1 -1
  73. streamlit/static/static/js/{number-overlay-editor.CVWV51LZ.js → number-overlay-editor.BU-PumD0.js} +1 -1
  74. streamlit/static/static/js/{possibleConstructorReturn.D8SHK4fu.js → possibleConstructorReturn.BqXvihmp.js} +1 -1
  75. streamlit/static/static/js/{sandbox.2Y0eB1Fb.js → sandbox.DEPmvMZ8.js} +1 -1
  76. streamlit/static/static/js/{textarea.CfOMMQUp.js → textarea.DTRZkwAk.js} +1 -1
  77. streamlit/static/static/js/{timepicker.BCEVqM6L.js → timepicker.BkL0oPvT.js} +1 -1
  78. streamlit/static/static/js/{toConsumableArray.CgIgbjyR.js → toConsumableArray.DtI7t_Vr.js} +1 -1
  79. streamlit/static/static/js/{uniqueId.CasOW7eQ.js → uniqueId.CBIMIugU.js} +1 -1
  80. streamlit/static/static/js/{useBasicWidgetState.DM0uW3hG.js → useBasicWidgetState.CBoFkKUi.js} +1 -1
  81. streamlit/static/static/js/{useOnInputChange.C9p9DssL.js → useOnInputChange.B59UtP7h.js} +1 -1
  82. streamlit/static/static/js/{withFullScreenWrapper.Du9h1SFo.js → withFullScreenWrapper.BaWUpTVz.js} +1 -1
  83. {streamlit_nightly-1.45.1.dev20250501.dist-info → streamlit_nightly-1.45.1.dev20250503.dist-info}/METADATA +1 -1
  84. {streamlit_nightly-1.45.1.dev20250501.dist-info → streamlit_nightly-1.45.1.dev20250503.dist-info}/RECORD +88 -88
  85. {streamlit_nightly-1.45.1.dev20250501.dist-info → streamlit_nightly-1.45.1.dev20250503.dist-info}/WHEEL +1 -1
  86. {streamlit_nightly-1.45.1.dev20250501.data → streamlit_nightly-1.45.1.dev20250503.data}/scripts/streamlit.cmd +0 -0
  87. {streamlit_nightly-1.45.1.dev20250501.dist-info → streamlit_nightly-1.45.1.dev20250503.dist-info}/entry_points.txt +0 -0
  88. {streamlit_nightly-1.45.1.dev20250501.dist-info → streamlit_nightly-1.45.1.dev20250503.dist-info}/top_level.txt +0 -0
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
+ from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Slider.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xbe\x03\n\x06Slider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12#\n\tdata_type\x18\x05 \x01(\x0e\x32\x10.Slider.DataType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x03(\x01\x12\x0b\n\x03min\x18\x07 \x01(\x01\x12\x0b\n\x03max\x18\x08 \x01(\x01\x12\x0c\n\x04step\x18\t \x01(\x01\x12\r\n\x05value\x18\n \x03(\x01\x12\x11\n\tset_value\x18\x0b \x01(\x08\x12\x0f\n\x07options\x18\r \x03(\t\x12\x0c\n\x04help\x18\x0e \x01(\t\x12\x10\n\x08\x64isabled\x18\x0f \x01(\x08\x12\x31\n\x10label_visibility\x18\x10 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x1a\n\x04type\x18\x11 \x01(\x0e\x32\x0c.Slider.Type\"@\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\x0c\n\x08\x44\x41TETIME\x10\x02\x12\x08\n\x04\x44\x41TE\x10\x03\x12\x08\n\x04TIME\x10\x04\"6\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06SLIDER\x10\x01\x12\x11\n\rSELECT_SLIDER\x10\x02\x42+\n\x1c\x63om.snowflake.apps.streamlitB\x0bSliderProtob\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Slider.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\x82\x04\n\x06Slider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12#\n\tdata_type\x18\x05 \x01(\x0e\x32\x10.Slider.DataType\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x03(\x01\x12\x0b\n\x03min\x18\x07 \x01(\x01\x12\x0b\n\x03max\x18\x08 \x01(\x01\x12\x0c\n\x04step\x18\t \x01(\x01\x12\r\n\x05value\x18\n \x03(\x01\x12\x11\n\tset_value\x18\x0b \x01(\x08\x12\x0f\n\x07options\x18\r \x03(\t\x12\x0c\n\x04help\x18\x0e \x01(\t\x12\x10\n\x08\x64isabled\x18\x0f \x01(\x08\x12\x31\n\x10label_visibility\x18\x10 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x1a\n\x04type\x18\x11 \x01(\x0e\x32\x0c.Slider.Type\x12\x31\n\x0cwidth_config\x18\x12 \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\"@\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\x0c\n\x08\x44\x41TETIME\x10\x02\x12\x08\n\x04\x44\x41TE\x10\x03\x12\x08\n\x04TIME\x10\x04\"6\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06SLIDER\x10\x01\x12\x11\n\rSELECT_SLIDER\x10\x02\x42\x0f\n\r_width_configB+\n\x1c\x63om.snowflake.apps.streamlitB\x0bSliderProtob\x06proto3')
19
20
 
20
21
  _globals = globals()
21
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,10 +24,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Slider_pb2'
23
24
  if not _descriptor._USE_C_DESCRIPTORS:
24
25
  _globals['DESCRIPTOR']._loaded_options = None
25
26
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\013SliderProto'
26
- _globals['_SLIDER']._serialized_start=79
27
- _globals['_SLIDER']._serialized_end=525
28
- _globals['_SLIDER_DATATYPE']._serialized_start=405
29
- _globals['_SLIDER_DATATYPE']._serialized_end=469
30
- _globals['_SLIDER_TYPE']._serialized_start=471
31
- _globals['_SLIDER_TYPE']._serialized_end=525
27
+ _globals['_SLIDER']._serialized_start=114
28
+ _globals['_SLIDER']._serialized_end=628
29
+ _globals['_SLIDER_DATATYPE']._serialized_start=491
30
+ _globals['_SLIDER_DATATYPE']._serialized_end=555
31
+ _globals['_SLIDER_TYPE']._serialized_start=557
32
+ _globals['_SLIDER_TYPE']._serialized_end=611
32
33
  # @@protoc_insertion_point(module_scope)
@@ -24,6 +24,7 @@ import google.protobuf.internal.containers
24
24
  import google.protobuf.internal.enum_type_wrapper
25
25
  import google.protobuf.message
26
26
  import streamlit.proto.LabelVisibilityMessage_pb2
27
+ import streamlit.proto.WidthConfig_pb2
27
28
  import sys
28
29
  import typing
29
30
 
@@ -96,6 +97,7 @@ class Slider(google.protobuf.message.Message):
96
97
  DISABLED_FIELD_NUMBER: builtins.int
97
98
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
98
99
  TYPE_FIELD_NUMBER: builtins.int
100
+ WIDTH_CONFIG_FIELD_NUMBER: builtins.int
99
101
  id: builtins.str
100
102
  form_id: builtins.str
101
103
  label: builtins.str
@@ -116,6 +118,8 @@ class Slider(google.protobuf.message.Message):
116
118
  def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
117
119
  @property
118
120
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
121
+ @property
122
+ def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
119
123
  def __init__(
120
124
  self,
121
125
  *,
@@ -135,8 +139,10 @@ class Slider(google.protobuf.message.Message):
135
139
  disabled: builtins.bool = ...,
136
140
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
137
141
  type: global___Slider.Type.ValueType = ...,
142
+ width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
138
143
  ) -> None: ...
139
- def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
140
- def ClearField(self, field_name: typing.Literal["data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "options", b"options", "set_value", b"set_value", "step", b"step", "type", b"type", "value", b"value"]) -> None: ...
144
+ def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "label_visibility", b"label_visibility", "width_config", b"width_config"]) -> builtins.bool: ...
145
+ def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "options", b"options", "set_value", b"set_value", "step", b"step", "type", b"type", "value", b"value", "width_config", b"width_config"]) -> None: ...
146
+ def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
141
147
 
142
148
  global___Slider = Slider
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
+ from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/TextArea.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x94\x02\n\x08TextArea\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(\tH\x00\x88\x01\x01\x12\x0e\n\x06height\x18\x04 \x01(\r\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x13\n\x0bplaceholder\x18\n \x01(\t\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessageB\n\n\x08_defaultB\x08\n\x06_valueB-\n\x1c\x63om.snowflake.apps.streamlitB\rTextAreaProtob\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/TextArea.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xd8\x02\n\x08TextArea\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(\tH\x00\x88\x01\x01\x12\x0e\n\x06height\x18\x04 \x01(\r\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x13\n\x0bplaceholder\x18\n \x01(\t\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x31\n\x0cwidth_config\x18\r \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configB-\n\x1c\x63om.snowflake.apps.streamlitB\rTextAreaProtob\x06proto3')
19
20
 
20
21
  _globals = globals()
21
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,6 +24,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.TextArea_pb
23
24
  if not _descriptor._USE_C_DESCRIPTORS:
24
25
  _globals['DESCRIPTOR']._loaded_options = None
25
26
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rTextAreaProto'
26
- _globals['_TEXTAREA']._serialized_start=81
27
- _globals['_TEXTAREA']._serialized_end=357
27
+ _globals['_TEXTAREA']._serialized_start=116
28
+ _globals['_TEXTAREA']._serialized_end=460
28
29
  # @@protoc_insertion_point(module_scope)
@@ -21,6 +21,7 @@ import builtins
21
21
  import google.protobuf.descriptor
22
22
  import google.protobuf.message
23
23
  import streamlit.proto.LabelVisibilityMessage_pb2
24
+ import streamlit.proto.WidthConfig_pb2
24
25
  import typing
25
26
 
26
27
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -41,6 +42,7 @@ class TextArea(google.protobuf.message.Message):
41
42
  PLACEHOLDER_FIELD_NUMBER: builtins.int
42
43
  DISABLED_FIELD_NUMBER: builtins.int
43
44
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
45
+ WIDTH_CONFIG_FIELD_NUMBER: builtins.int
44
46
  id: builtins.str
45
47
  label: builtins.str
46
48
  default: builtins.str
@@ -54,6 +56,8 @@ class TextArea(google.protobuf.message.Message):
54
56
  disabled: builtins.bool
55
57
  @property
56
58
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
59
+ @property
60
+ def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
57
61
  def __init__(
58
62
  self,
59
63
  *,
@@ -69,12 +73,15 @@ class TextArea(google.protobuf.message.Message):
69
73
  placeholder: builtins.str = ...,
70
74
  disabled: builtins.bool = ...,
71
75
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
76
+ width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
72
77
  ) -> None: ...
73
- def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
74
- def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "height", b"height", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "value", b"value"]) -> None: ...
78
+ def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "label_visibility", b"label_visibility", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
79
+ def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "height", b"height", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
75
80
  @typing.overload
76
81
  def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
77
82
  @typing.overload
78
83
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
84
+ @typing.overload
85
+ def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
79
86
 
80
87
  global___TextArea = TextArea
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
  from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
16
+ from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/TextInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xeb\x02\n\tTextInput\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(\tH\x00\x88\x01\x01\x12\x1d\n\x04type\x18\x04 \x01(\x0e\x32\x0f.TextInput.Type\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x14\n\x0c\x61utocomplete\x18\n \x01(\t\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x10\n\x08\x64isabled\x18\x0c \x01(\x08\x12\x31\n\x10label_visibility\x18\r \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0c\n\x04icon\x18\x0e \x01(\t\"!\n\x04Type\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08PASSWORD\x10\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eTextInputProtob\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/TextInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xaf\x03\n\tTextInput\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(\tH\x00\x88\x01\x01\x12\x1d\n\x04type\x18\x04 \x01(\x0e\x32\x0f.TextInput.Type\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x14\n\x0c\x61utocomplete\x18\n \x01(\t\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x10\n\x08\x64isabled\x18\x0c \x01(\x08\x12\x31\n\x10label_visibility\x18\r \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0c\n\x04icon\x18\x0e \x01(\t\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\"!\n\x04Type\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08PASSWORD\x10\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eTextInputProtob\x06proto3')
19
20
 
20
21
  _globals = globals()
21
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,8 +24,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.TextInput_p
23
24
  if not _descriptor._USE_C_DESCRIPTORS:
24
25
  _globals['DESCRIPTOR']._loaded_options = None
25
26
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016TextInputProto'
26
- _globals['_TEXTINPUT']._serialized_start=82
27
- _globals['_TEXTINPUT']._serialized_end=445
28
- _globals['_TEXTINPUT_TYPE']._serialized_start=390
29
- _globals['_TEXTINPUT_TYPE']._serialized_end=423
27
+ _globals['_TEXTINPUT']._serialized_start=117
28
+ _globals['_TEXTINPUT']._serialized_end=548
29
+ _globals['_TEXTINPUT_TYPE']._serialized_start=476
30
+ _globals['_TEXTINPUT_TYPE']._serialized_end=509
30
31
  # @@protoc_insertion_point(module_scope)
@@ -22,6 +22,7 @@ import google.protobuf.descriptor
22
22
  import google.protobuf.internal.enum_type_wrapper
23
23
  import google.protobuf.message
24
24
  import streamlit.proto.LabelVisibilityMessage_pb2
25
+ import streamlit.proto.WidthConfig_pb2
25
26
  import sys
26
27
  import typing
27
28
 
@@ -67,6 +68,7 @@ class TextInput(google.protobuf.message.Message):
67
68
  DISABLED_FIELD_NUMBER: builtins.int
68
69
  LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
69
70
  ICON_FIELD_NUMBER: builtins.int
71
+ WIDTH_CONFIG_FIELD_NUMBER: builtins.int
70
72
  id: builtins.str
71
73
  label: builtins.str
72
74
  default: builtins.str
@@ -82,6 +84,8 @@ class TextInput(google.protobuf.message.Message):
82
84
  icon: builtins.str
83
85
  @property
84
86
  def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
87
+ @property
88
+ def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
85
89
  def __init__(
86
90
  self,
87
91
  *,
@@ -99,12 +103,15 @@ class TextInput(google.protobuf.message.Message):
99
103
  disabled: builtins.bool = ...,
100
104
  label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
101
105
  icon: builtins.str = ...,
106
+ width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
102
107
  ) -> None: ...
103
- def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
104
- def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "autocomplete", b"autocomplete", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "type", b"type", "value", b"value"]) -> None: ...
108
+ def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "label_visibility", b"label_visibility", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
109
+ def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "autocomplete", b"autocomplete", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "type", b"type", "value", b"value", "width_config", b"width_config"]) -> None: ...
105
110
  @typing.overload
106
111
  def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
107
112
  @typing.overload
108
113
  def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
114
+ @typing.overload
115
+ def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
109
116
 
110
117
  global___TextInput = TextInput
@@ -51,7 +51,7 @@
51
51
  <script>
52
52
  window.prerenderReady = false
53
53
  </script>
54
- <script type="module" crossorigin src="./static/js/index.BQqNcnRp.js"></script>
54
+ <script type="module" crossorigin src="./static/js/index.C1Onnqgx.js"></script>
55
55
  <link rel="stylesheet" crossorigin href="./static/css/index.C6rq3aMZ.css">
56
56
  </head>
57
57
  <body>
@@ -1 +1 @@
1
- import{r,E as a,_ as n}from"./index.BQqNcnRp.js";var i=r.forwardRef(function(e,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return r.createElement(a,n({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),r.createElement("path",{d:"M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))});i.displayName="ErrorOutline";export{i as E};
1
+ import{r,E as a,_ as n}from"./index.C1Onnqgx.js";var i=r.forwardRef(function(e,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return r.createElement(a,n({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),r.createElement("path",{d:"M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))});i.displayName="ErrorOutline";export{i as E};
@@ -1 +1 @@
1
- import{r as e,E as n,_ as a}from"./index.BQqNcnRp.js";var o=e.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return e.createElement(n,a({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),e.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),e.createElement("path",{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"}))});o.displayName="Delete";var i=e.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return e.createElement(n,a({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),e.createElement("rect",{width:24,height:24,fill:"none"}),e.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z"}))});i.displayName="FileDownload";export{o as D,i as F};
1
+ import{r as e,E as n,_ as a}from"./index.C1Onnqgx.js";var o=e.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return e.createElement(n,a({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),e.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),e.createElement("path",{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"}))});o.displayName="Delete";var i=e.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return e.createElement(n,a({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),e.createElement("rect",{width:24,height:24,fill:"none"}),e.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z"}))});i.displayName="FileDownload";export{o as D,i as F};