streamlit-nightly 1.43.3.dev20250319__py3-none-any.whl → 1.43.3.dev20250321__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 (83) hide show
  1. streamlit/delta_generator.py +4 -0
  2. streamlit/elements/widgets/text_widgets.py +28 -4
  3. streamlit/proto/ClientState_pb2.py +4 -4
  4. streamlit/proto/ClientState_pb2.pyi +7 -2
  5. streamlit/proto/TextInput_pb2.py +4 -4
  6. streamlit/proto/TextInput_pb2.pyi +4 -1
  7. streamlit/runtime/context.py +9 -0
  8. streamlit/static/index.html +1 -1
  9. streamlit/static/static/js/{FileDownload.esm.Dz4lqu2t.js → FileDownload.esm.BQODA0kT.js} +1 -1
  10. streamlit/static/static/js/{FileHelper.B_o0E5mY.js → FileHelper.Cd1NC1sj.js} +1 -1
  11. streamlit/static/static/js/{FormClearHelper.B5ARMjis.js → FormClearHelper.t3Y3brxz.js} +1 -1
  12. streamlit/static/static/js/{Hooks.gYcZ3nte.js → Hooks.CVhAgsX9.js} +1 -1
  13. streamlit/static/static/js/{InputInstructions.K_vAW_MG.js → InputInstructions.CY0iaCAH.js} +1 -1
  14. streamlit/static/static/js/{ProgressBar.DOjGuUdH.js → ProgressBar.BsUYMROy.js} +1 -1
  15. streamlit/static/static/js/{RenderInPortalIfExists.C4HdMGrO.js → RenderInPortalIfExists.DY-eA855.js} +1 -1
  16. streamlit/static/static/js/{Toolbar.BZqFuVCo.js → Toolbar.B4w5KGXT.js} +1 -1
  17. streamlit/static/static/js/{base-input.DtNLPEYc.js → base-input.DBVZTUu3.js} +1 -1
  18. streamlit/static/static/js/{checkbox.De5lDKlG.js → checkbox.JQMF-1O8.js} +1 -1
  19. streamlit/static/static/js/{createSuper.DUfdjejQ.js → createSuper.D9POSiaD.js} +1 -1
  20. streamlit/static/static/js/{data-grid-overlay-editor.ByFOuSZw.js → data-grid-overlay-editor.DtRjA_2u.js} +1 -1
  21. streamlit/static/static/js/{downloader.Bndt7ayy.js → downloader.DoWSr1Wv.js} +1 -1
  22. streamlit/static/static/js/{es6.B9axslaM.js → es6.1WEohfAS.js} +2 -2
  23. streamlit/static/static/js/{iframeResizer.contentWindow.C19fTVqS.js → iframeResizer.contentWindow.Cvg5l91o.js} +1 -1
  24. streamlit/static/static/js/{index.KmpTf7BC.js → index.B3VEOweF.js} +5 -5
  25. streamlit/static/static/js/{index.BVKRKiWg.js → index.BEsq7fPh.js} +1 -1
  26. streamlit/static/static/js/{index.3vPW8lC3.js → index.BGnNI-8W.js} +1 -1
  27. streamlit/static/static/js/{index.CGzFdF4L.js → index.BLrbLqQH.js} +1 -1
  28. streamlit/static/static/js/{index.CYG25qUi.js → index.BZkaPg7D.js} +1 -1
  29. streamlit/static/static/js/index.C2tYobH0.js +1 -0
  30. streamlit/static/static/js/{index.CBtAFng_.js → index.C6kAgSN4.js} +1 -1
  31. streamlit/static/static/js/index.C7mtJOo5.js +1 -0
  32. streamlit/static/static/js/{index.BBkaxxeO.js → index.CM19fnJb.js} +1 -1
  33. streamlit/static/static/js/{index.BKhwcUMH.js → index.CSu8uGcy.js} +8 -8
  34. streamlit/static/static/js/{index.BrZWnIcP.js → index.CTYaWMIL.js} +1 -1
  35. streamlit/static/static/js/{index.bco4avsR.js → index.CVHkuXW-.js} +1 -1
  36. streamlit/static/static/js/{index.cHVEPjHw.js → index.CWCekiqc.js} +1 -1
  37. streamlit/static/static/js/{index.BOsCHoek.js → index.CXWWimKv.js} +1 -1
  38. streamlit/static/static/js/{index.BQkmoKYZ.js → index.CbsyIVuK.js} +1 -1
  39. streamlit/static/static/js/{index.CVbLNEv4.js → index.Cgs75YoN.js} +1 -1
  40. streamlit/static/static/js/{index.DxsZ6SOh.js → index.CqFs_RV7.js} +1 -1
  41. streamlit/static/static/js/{index.Bu7fiR4T.js → index.Czpau2RI.js} +1 -1
  42. streamlit/static/static/js/{index.Bbd47eDn.js → index.D4xt261U.js} +1 -1
  43. streamlit/static/static/js/{index.8fEQ0naY.js → index.DBtMVdzG.js} +1 -1
  44. streamlit/static/static/js/{index.BKE695Zg.js → index.DCnMWZnR.js} +1 -1
  45. streamlit/static/static/js/{index.BDWxQ6IH.js → index.DelVBbuJ.js} +1 -1
  46. streamlit/static/static/js/{index.Bk2R3MJ7.js → index.Dln3BV86.js} +1 -1
  47. streamlit/static/static/js/{index.DCgNoHge.js → index.Dm7Igyrl.js} +1 -1
  48. streamlit/static/static/js/{index.TIHw6394.js → index.Du3BwWO7.js} +1 -1
  49. streamlit/static/static/js/{index.BRjv0YAi.js → index.DxnPo6ts.js} +1 -1
  50. streamlit/static/static/js/{index.DWQ-qPH7.js → index.GXpLCsb-.js} +1 -1
  51. streamlit/static/static/js/{index.DQ8O6p2Z.js → index.KS80Jqcr.js} +1 -1
  52. streamlit/static/static/js/{index.K2n8XAB3.js → index.QthdDCoR.js} +1 -1
  53. streamlit/static/static/js/{index.C4zUVQy-.js → index.TDz7M2Mf.js} +1 -1
  54. streamlit/static/static/js/index.TIhv6y57.js +73 -0
  55. streamlit/static/static/js/{index.BELm1MW6.js → index.XgC4xRfH.js} +1 -1
  56. streamlit/static/static/js/{index.B9N7bKyh.js → index.ZPl-HR8t.js} +1 -1
  57. streamlit/static/static/js/{index.BpkIFU8i.js → index.aC7qpPWU.js} +1 -1
  58. streamlit/static/static/js/{index.D8rVyQy1.js → index.t--hEgTQ.js} +2 -2
  59. streamlit/static/static/js/{index.DJzV_Hd9.js → index.tob7mjfs.js} +1006 -205
  60. streamlit/static/static/js/{index.xvt4PCc-.js → index.u6AcjnZ7.js} +1 -1
  61. streamlit/static/static/js/{index.TXEfAqTZ.js → index.yDsW8OSl.js} +1 -1
  62. streamlit/static/static/js/{input.5dHsg5IP.js → input.CO7BKD8r.js} +1 -1
  63. streamlit/static/static/js/{memory.7AvKwFql.js → memory.BemPMzyI.js} +1 -1
  64. streamlit/static/static/js/{mergeWith.Bz2fCjZ-.js → mergeWith.DP8mfmL6.js} +1 -1
  65. streamlit/static/static/js/{number-overlay-editor.BzFQCoPo.js → number-overlay-editor.ginZOZcu.js} +1 -1
  66. streamlit/static/static/js/{possibleConstructorReturn.BWYpSIhJ.js → possibleConstructorReturn.DBNJUrmv.js} +1 -1
  67. streamlit/static/static/js/{sandbox.DDDzfccc.js → sandbox.jDcIxry_.js} +1 -1
  68. streamlit/static/static/js/{textarea.UlZOYsGE.js → textarea.BtBLwbqz.js} +1 -1
  69. streamlit/static/static/js/{timepicker.C8uTDs22.js → timepicker.qTjYkAuk.js} +1 -1
  70. streamlit/static/static/js/{toConsumableArray.CdG0Nv6r.js → toConsumableArray.CAEOgwcy.js} +1 -1
  71. streamlit/static/static/js/{uniqueId.hWzaDSRc.js → uniqueId.BR7o9Ap9.js} +1 -1
  72. streamlit/static/static/js/{useBasicWidgetState.CtYBARrn.js → useBasicWidgetState.Dl0fFJUN.js} +1 -1
  73. streamlit/static/static/js/{useOnInputChange.Cpz9bdhf.js → useOnInputChange.B20T1pKy.js} +1 -1
  74. streamlit/static/static/js/{withFullScreenWrapper.BcDfXDtz.js → withFullScreenWrapper.DI_yRwBc.js} +1 -1
  75. {streamlit_nightly-1.43.3.dev20250319.dist-info → streamlit_nightly-1.43.3.dev20250321.dist-info}/METADATA +1 -1
  76. {streamlit_nightly-1.43.3.dev20250319.dist-info → streamlit_nightly-1.43.3.dev20250321.dist-info}/RECORD +80 -80
  77. {streamlit_nightly-1.43.3.dev20250319.dist-info → streamlit_nightly-1.43.3.dev20250321.dist-info}/WHEEL +1 -1
  78. streamlit/static/static/js/index.BTbDncVq.js +0 -1
  79. streamlit/static/static/js/index.BoIgF6Mf.js +0 -73
  80. streamlit/static/static/js/index.CKmyhCjm.js +0 -1
  81. {streamlit_nightly-1.43.3.dev20250319.data → streamlit_nightly-1.43.3.dev20250321.data}/scripts/streamlit.cmd +0 -0
  82. {streamlit_nightly-1.43.3.dev20250319.dist-info → streamlit_nightly-1.43.3.dev20250321.dist-info}/entry_points.txt +0 -0
  83. {streamlit_nightly-1.43.3.dev20250319.dist-info → streamlit_nightly-1.43.3.dev20250321.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- import{r as s,bh as U,z as k,cr as W,C as A,j as l,br as L,bF as P,bs as B,ba as D,bt as j}from"./index.BKhwcUMH.js";import{u as _}from"./uniqueId.hWzaDSRc.js";import{u as w,a as K,b as O}from"./useOnInputChange.Cpz9bdhf.js";import{I as $}from"./InputInstructions.K_vAW_MG.js";import{a as q}from"./useBasicWidgetState.CtYBARrn.js";import{T as G}from"./textarea.UlZOYsGE.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.B5ARMjis.js";import"./base-input.DtNLPEYc.js";const x=(a,t)=>a.getStringValue(t)??t.default??null,N=a=>a.default??null,J=a=>a.value??null,Q=(a,t,o,u)=>{t.setStringValue(a,o.value,{fromUi:o.fromUi},u)},X=({disabled:a,element:t,widgetMgr:o,fragmentId:u})=>{var f;const p=s.useRef(_("text_area_")).current,[T,S]=U(),[r,n]=s.useState(!1),[C,b]=s.useState(!1),[i,d]=s.useState(()=>x(o,t)??null),I=s.useCallback(()=>{d(t.default??null),n(!0)},[t]),[y,c]=q({getStateFromWidgetMgr:x,getDefaultStateFromProto:N,getCurrStateFromProto:J,updateWidgetMgrState:Q,element:t,widgetMgr:o,fragmentId:u,onFormCleared:I});w(y,i,d,r);const e=k(),h=s.useCallback(()=>{n(!1),c({value:i,fromUi:!0})},[i,c]),F=s.useCallback(()=>{r&&h(),b(!1)},[r,h]),V=s.useCallback(()=>{b(!0)},[]),v=K({formId:t.formId,maxChars:t.maxChars,setDirty:n,setUiValue:d,setValueWithSource:c}),z=O(t.formId,h,r,o,u,!0),{height:g,placeholder:E,formId:m}=t,R=W({formId:m})?o.allowFormEnterToSubmit(m):r,H=C&&T>e.breakpoints.hideWidgetDetails;return A("div",{className:"stTextArea","data-testid":"stTextArea",ref:S,children:[l(j,{label:t.label,disabled:a,labelVisibility:L((f=t.labelVisibility)==null?void 0:f.value),htmlFor:p,children:t.help&&l(P,{children:l(B,{content:t.help,placement:D.TOP_RIGHT})})}),l(G,{value:i??"",placeholder:E,onBlur:F,onFocus:V,onChange:v,onKeyDown:z,"aria-label":t.label,disabled:a,id:p,overrides:{Input:{style:{lineHeight:e.lineHeights.inputWidget,height:g?`${g}px`:"",minHeight:e.sizes.largestElementHeight,resize:"vertical","::placeholder":{opacity:"0.7"},paddingRight:e.spacing.lg,paddingLeft:e.spacing.lg,paddingBottom:e.spacing.lg,paddingTop:e.spacing.lg}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth}}}}),H&&l($,{dirty:r,value:i??"",maxLength:t.maxChars,type:"multiline",inForm:W({formId:m}),allowEnterToSubmit:R})]})},it=s.memo(X);export{it as default};
1
+ import{r as s,bh as U,z as k,cr as W,C as A,j as l,br as L,bF as P,bs as B,ba as D,bt as j}from"./index.CSu8uGcy.js";import{u as _}from"./uniqueId.BR7o9Ap9.js";import{u as w,a as K,b as O}from"./useOnInputChange.B20T1pKy.js";import{I as $}from"./InputInstructions.CY0iaCAH.js";import{a as q}from"./useBasicWidgetState.Dl0fFJUN.js";import{T as G}from"./textarea.BtBLwbqz.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.t3Y3brxz.js";import"./base-input.DBVZTUu3.js";const x=(a,t)=>a.getStringValue(t)??t.default??null,N=a=>a.default??null,J=a=>a.value??null,Q=(a,t,o,u)=>{t.setStringValue(a,o.value,{fromUi:o.fromUi},u)},X=({disabled:a,element:t,widgetMgr:o,fragmentId:u})=>{var f;const p=s.useRef(_("text_area_")).current,[T,S]=U(),[r,n]=s.useState(!1),[C,b]=s.useState(!1),[i,d]=s.useState(()=>x(o,t)??null),I=s.useCallback(()=>{d(t.default??null),n(!0)},[t]),[y,c]=q({getStateFromWidgetMgr:x,getDefaultStateFromProto:N,getCurrStateFromProto:J,updateWidgetMgrState:Q,element:t,widgetMgr:o,fragmentId:u,onFormCleared:I});w(y,i,d,r);const e=k(),h=s.useCallback(()=>{n(!1),c({value:i,fromUi:!0})},[i,c]),F=s.useCallback(()=>{r&&h(),b(!1)},[r,h]),V=s.useCallback(()=>{b(!0)},[]),v=K({formId:t.formId,maxChars:t.maxChars,setDirty:n,setUiValue:d,setValueWithSource:c}),z=O(t.formId,h,r,o,u,!0),{height:g,placeholder:E,formId:m}=t,R=W({formId:m})?o.allowFormEnterToSubmit(m):r,H=C&&T>e.breakpoints.hideWidgetDetails;return A("div",{className:"stTextArea","data-testid":"stTextArea",ref:S,children:[l(j,{label:t.label,disabled:a,labelVisibility:L((f=t.labelVisibility)==null?void 0:f.value),htmlFor:p,children:t.help&&l(P,{children:l(B,{content:t.help,placement:D.TOP_RIGHT})})}),l(G,{value:i??"",placeholder:E,onBlur:F,onFocus:V,onChange:v,onKeyDown:z,"aria-label":t.label,disabled:a,id:p,overrides:{Input:{style:{lineHeight:e.lineHeights.inputWidget,height:g?`${g}px`:"",minHeight:e.sizes.largestElementHeight,resize:"vertical","::placeholder":{opacity:"0.7"},paddingRight:e.spacing.lg,paddingLeft:e.spacing.lg,paddingBottom:e.spacing.lg,paddingTop:e.spacing.lg}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth}}}}),H&&l($,{dirty:r,value:i??"",maxLength:t.maxChars,type:"multiline",inForm:W({formId:m}),allowEnterToSubmit:R})]})},it=s.memo(X);export{it as default};
@@ -1,4 +1,4 @@
1
- import{r as reactExports,j as jsx}from"./index.BKhwcUMH.js";/*!
1
+ import{r as reactExports,j as jsx}from"./index.CSu8uGcy.js";/*!
2
2
  * Copyright (c) 2012 - 2022, Anaconda, Inc., and Bokeh Contributors
3
3
  * All rights reserved.
4
4
  *