solara-ui 1.44.0__py2.py3-none-any.whl → 1.44.1__py2.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.
solara/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """Build webapps using IPywidgets"""
2
2
 
3
- __version__ = "1.44.0"
3
+ __version__ = "1.44.1"
4
4
  github_url = "https://github.com/widgetti/solara"
5
5
  git_branch = "master"
6
6
 
@@ -32,7 +32,7 @@ def ChatBox(
32
32
  if "overflow-y" not in style_flat:
33
33
  style_flat += " overflow-y: auto;"
34
34
 
35
- classes += ["chat-box"]
35
+ classes = [*classes, "chat-box"]
36
36
  with solara.Column(
37
37
  style=style_flat,
38
38
  classes=classes,
solara/server/patch.py CHANGED
@@ -407,6 +407,13 @@ def patch_matplotlib():
407
407
  # same as _get
408
408
  return self[key]
409
409
 
410
+ def clear(self):
411
+ # in matplotlib .clear is effectively a no-op
412
+ # see https://github.com/matplotlib/matplotlib/issues/25855
413
+ pass
414
+ # in the future, we may want to clear the context dict if this is fixed
415
+ # self._get_context_dict().clear()
416
+
410
417
  def _get_context_dict(self) -> dict:
411
418
  if not self._was_initialized:
412
419
  # since we monkey patch the class after __init__ was called
@@ -119,7 +119,7 @@ async def main():
119
119
  ]
120
120
  for dep in requirements:
121
121
  await micropip.install(dep, keep_going=True)
122
- await micropip.install("/wheels/solara-1.44.0-py2.py3-none-any.whl", keep_going=True)
122
+ await micropip.install("/wheels/solara-1.44.1-py2.py3-none-any.whl", keep_going=True)
123
123
  import solara
124
124
 
125
125
  el = solara.Warning("lala")
@@ -1,5 +1,20 @@
1
1
  # Solara Changelog
2
2
 
3
+ ## Version 1.44.0
4
+
5
+ * Feature: Separate `disable_send` and `disable_input` to allow typing but not sending or vice versa for the `ChatInput` component. [86fc2ad](https://github.com/widgetti/solara/commit/86fc2ad88a89ffe134eaa6700a8c416bcab036b4).
6
+ * Feature: Support `autofocus` for the `ChatInput` component. [31dad76](https://github.com/widgetti/solara/commit/31dad767c15e3671e610fcba5ae2b124bb0b5220).
7
+ * Feature: Allow websocket messages to be sent from main thread. [#953](https://github.com/widgetti/solara/pull/953).
8
+ * Bug Fix: Typing for `memoize`'s `key` was incorrect. [#959](https://github.com/widgetti/solara/pull/959).
9
+ * Bug Fix: Using `get_ipython` outside Solara's virtual kernels after importing Solara would return `None`. [#990](https://github.com/widgetti/solara/pull/990).
10
+ * Bug Fix: Solara lab components (and perhaps others) didn't work when used in Jupyter contexts. [#981](https://github.com/widgetti/solara/pull/981).
11
+ * Bug Fix: Threaded and async tasks behaving differently when cancelling. [5fe30dc](https://github.com/widgetti/solara/commit/5fe30dc27fe99ee056f3a046c0942386b181d00f).
12
+ * Bug Fix: Fixes to handling context for reactive variable subscription / event handling. [06f1670](https://github.com/widgetti/solara/commit/06f1670bc918231897d4e5dcb00374711fc83464), [4ff39c5](https://github.com/widgetti/solara/commit/4ff39c5647057db53788c925139a710ab045897b).
13
+ * Bug Fix: Running a Solara app under FastAPI / Starlette was broken. [133e2ca](https://github.com/widgetti/solara/commit/133e2cab13efe4277f98305cdba412c08b47936f).
14
+ * Bug Fix: Allow reactive variables to be set from outside kernel context. [#952](https://github.com/widgetti/solara/pull/952).
15
+ * Bug Fix: Do not ignore all errors on websocket disconnect. [1f6d98e](https://github.com/widgetti/solara/commit/1f6d98e2b5233116cc617cf7d9019d2748ba251d).
16
+ * Bug Fix: Enable `dense` option for SelectMultiple. [#939](https://github.com/widgetti/solara/pull/939).
17
+
3
18
  ## Version 1.43.0
4
19
  * Feature: Time picker component. [#654](https://github.com/widgetti/solara/pull/654).
5
20
  * Feature: Make the default container of sibling components configurable. By default the setting remains the same (using `solara.Column`), but will default to `reacton.Fragment` in Solara 2.0 (see [the roadmap](/roadmap)). Can be changed by setting the `SOLARA_DEFAULT_CONTAINER` environmental variable to the name of a component (e.g. `"Column"`). [#928](https://github.com/widgetti/solara/pull/928).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solara-ui
3
- Version: 1.44.0
3
+ Version: 1.44.1
4
4
  Dynamic: Summary
5
5
  Project-URL: Home, https://www.github.com/widgetti/solara
6
6
  Project-URL: Documentation, https://solara.dev
@@ -1,6 +1,6 @@
1
1
  prefix/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
2
2
  prefix/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
3
- solara/__init__.py,sha256=Edn5-wDsHAhQktDa76Bk6T-YZ8iGoxPmBQBPadu7cwo,3647
3
+ solara/__init__.py,sha256=OAFLMBZ4Zte2_nUfGKSPW2MKUrVsnm3h8QfR43o1avo,3647
4
4
  solara/__main__.py,sha256=pm79jfba-0ZapLR0PtwZfMeiTHrLz8kEt79EygRyXxQ,24828
5
5
  solara/_stores.py,sha256=N2Ec-61XNFXwigBx8f5QYPx7gDXenCOBdmLPXiJB45E,12320
6
6
  solara/alias.py,sha256=9vfLzud77NP8in3OID9b5mmIO8NyrnFjN2_aE0lSb1k,216
@@ -87,7 +87,7 @@ solara/hooks/use_thread.py,sha256=EM3MCDUV3W-KXZTcWeM2Lo-J5dkGY4dyrRssN9Bx8uk,54
87
87
  solara/lab/__init__.py,sha256=IoEdv0xrwySEP_ap-kbE7ct0wuaVpl61Rl5zfo4RH90,1121
88
88
  solara/lab/toestand.py,sha256=OYB7gJQsRQ67uR4KayWhV6Ofczqyo4FMtqQszugOQJg,196
89
89
  solara/lab/components/__init__.py,sha256=u723AESIHyInjD_7LaonMSheo3-6a-LOmrk6NGkJrKs,423
90
- solara/lab/components/chat.py,sha256=e46RTuRHTiqbi_jrcJ7CAH-NNHOMU9sjCOFndrCuE_A,9296
90
+ solara/lab/components/chat.py,sha256=m2hW4CGkTjydN5p_CL_HAwtkl6t14psoSZrwlSMRvJc,9305
91
91
  solara/lab/components/confirmation_dialog.py,sha256=V48iN3SovPLLuYI0HVNGlSJ1jfyeCOK2BDFhLW3gg9Y,5822
92
92
  solara/lab/components/cross_filter.py,sha256=qJZTRDMCNGy8UuHzuDyWuGA_dU4pI8lzSCDw0hmN8I4,186
93
93
  solara/lab/components/input_date.py,sha256=RtAZCeq6A_56Js6MLdA3bjPfCHNIwHltexxh3-4A2mg,13900
@@ -114,7 +114,7 @@ solara/server/flask.py,sha256=sjhtTMiAUJ7oacZeL0m3Qem6E6B2knJ0ly845Ayyjio,9645
114
114
  solara/server/jupytertools.py,sha256=cYFIUjLX7n0uuEXqWVWvmV6sV7R_MNg8ZZlabQgw8vk,1320
115
115
  solara/server/kernel.py,sha256=4sQ8IKArPpsnotkMAkqbEbcO3vmgTnELirjlnW1LMhE,13308
116
116
  solara/server/kernel_context.py,sha256=TjM2ZxJ6CUODON20A_kxu6SydwKMrPM5KJqWMIYfCu0,19066
117
- solara/server/patch.py,sha256=tBH6cGbKbcntmdPjoNZ9AutrLHq-KyMafslpcb5tkL4,19567
117
+ solara/server/patch.py,sha256=-00MlyWGIBw9tcDK9Cn0y-kWCI8LKP8sEsz-GAFKbgE,19871
118
118
  solara/server/qt.py,sha256=QdMxX2T0Ol_j3QHYwInDyT5Gy4sOhYljMPYfru5kwLg,3774
119
119
  solara/server/reload.py,sha256=BBH7QhrV1-e9RVyNE3uz1oPj1DagC3t_XSqGPNz0nJE,9747
120
120
  solara/server/server.py,sha256=9NQcg_ncrGPQUDs50-jJGdzhlub3G3dsgcBjxqrIxX0,17120
@@ -146,7 +146,7 @@ solara/server/static/highlight-dark.css,sha256=xO8-vta9vG4s1OfJNHXWqiLWzx_gM03jo
146
146
  solara/server/static/highlight.css,sha256=k8ZdT5iwrGQ5tXTQHAXuxvZrSUq3kwCdEpy3mlFoZjs,2637
147
147
  solara/server/static/main-vuetify.js,sha256=R3qM4xMlstMpRUdRaul78p34z_Av2ONSTXksg2V9TqQ,9503
148
148
  solara/server/static/main.js,sha256=mcx4JNQ4Lg4pNdUIqMoZos1mZyYFS48yd_JNFFJUqIE,5679
149
- solara/server/static/solara_bootstrap.py,sha256=fNot_cCkNj-6PbhS3TzhKPi0SjIV102p_jWw7niqwUE,3195
149
+ solara/server/static/solara_bootstrap.py,sha256=B5l1TO0uQ5_EQYoCJzY4pNC2eOtKYI3MfugXY4dsYQI,3195
150
150
  solara/server/static/sun.svg,sha256=jEKBAGCr7b9zNYv0VUb7lMWKjnU2dX69_Ye_DZWGXJI,6855
151
151
  solara/server/static/webworker.js,sha256=cjAFz7-SygStHJnYlJUlJs-gE_7YQeQ-WBDcmKYyjvo,1372
152
152
  solara/server/templates/index.html.j2,sha256=JXQo1M-STFHLBOFetgG7509cAq8xUP0VAEtYDzz35fY,31
@@ -222,7 +222,7 @@ solara/website/pages/apps/multipage/page1.py,sha256=5hK0RZ8UBBOaZcPKaplbLeb0Vvae
222
222
  solara/website/pages/apps/multipage/page2.py,sha256=uRJ8YPFyKy7GR_Ii8DJSx3akb3H15rQAJZETMt9jVEk,1422
223
223
  solara/website/pages/careers/__init__.py,sha256=_aaO9YQOvy8JE9PYkWeSNzLU4pUU-PJMAaYy07YbKsU,1479
224
224
  solara/website/pages/changelog/__init__.py,sha256=0ouQpbt5EGEY6bHmSMt6S7Gk71gAmuaIuevT5wEE2zQ,277
225
- solara/website/pages/changelog/changelog.md,sha256=xgr8N4Ms38PfToBzSPGovW2P_Evl4MwPl988yLQrGDE,25098
225
+ solara/website/pages/changelog/changelog.md,sha256=LlHUxQiXgf_UH4dXanEkgp2wc59MF5KjGJE__eS0Er4,27079
226
226
  solara/website/pages/contact/__init__.py,sha256=NkjxJo258RTHLFPQ18IVZ9euS_vJciHUrM4o1fz9QJE,1259
227
227
  solara/website/pages/documentation/__init__.py,sha256=lv9cleVukKDLKRtjTYIlfBDi8Aw3bEz2iV8-IxBz3LA,5563
228
228
  solara/website/pages/documentation/advanced/__init__.py,sha256=bLLvasuqVVWJxGN89m77ChZhDivEhVavw9-_CiG3IZA,414
@@ -456,9 +456,9 @@ solara/widgets/vue/gridlayout.vue,sha256=hk10RsEQBxkknTmqa0wtBia9LWQGdDsXlejnAj7
456
456
  solara/widgets/vue/html.vue,sha256=48K5rjp0AdJDeRV6F3nOHW3J0WXPeHn55r5pGClK2fU,112
457
457
  solara/widgets/vue/navigator.vue,sha256=7fkX-4_YSnnMIPUMKMvQVVEzrmhY9BFAYvHMqZqTXpI,4790
458
458
  solara/widgets/vue/vegalite.vue,sha256=zhocRsUCNIRQCEbD16er5sYnuHU0YThatRHnorA3P18,4596
459
- solara_ui-1.44.0.data/data/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
460
- solara_ui-1.44.0.data/data/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
461
- solara_ui-1.44.0.dist-info/METADATA,sha256=aFLAN-j49i6QpLlXEFIXHd1aYxAWu2_P11trjIfChAc,7436
462
- solara_ui-1.44.0.dist-info/WHEEL,sha256=aO3RJuuiFXItVSnAUEmQ0yRBvv9e1sbJh68PtuQkyAE,105
463
- solara_ui-1.44.0.dist-info/licenses/LICENSE,sha256=fFJUz-CWzZ9nEc4QZKu44jMEoDr5fEW-SiqljKpD82E,1086
464
- solara_ui-1.44.0.dist-info/RECORD,,
459
+ solara_ui-1.44.1.data/data/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
460
+ solara_ui-1.44.1.data/data/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
461
+ solara_ui-1.44.1.dist-info/METADATA,sha256=C0Rjh4K2HywHSL_DbhuwUdT3Auly50_2uG-1G7x2SIg,7436
462
+ solara_ui-1.44.1.dist-info/WHEEL,sha256=aO3RJuuiFXItVSnAUEmQ0yRBvv9e1sbJh68PtuQkyAE,105
463
+ solara_ui-1.44.1.dist-info/licenses/LICENSE,sha256=fFJUz-CWzZ9nEc4QZKu44jMEoDr5fEW-SiqljKpD82E,1086
464
+ solara_ui-1.44.1.dist-info/RECORD,,