deephaven-plugin-ui 0.40.0__tar.gz → 0.40.2__tar.gz

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 (168) hide show
  1. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/PKG-INFO +1 -1
  2. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/setup.cfg +1 -1
  3. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_internal/RenderContext.py +39 -0
  4. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_js/dist/index.js +49 -13
  5. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_js/package.json +1 -1
  6. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_state.py +3 -4
  7. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven_plugin_ui.egg-info/PKG-INFO +1 -1
  8. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/LICENSE +0 -0
  9. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/README.md +0 -0
  10. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/pyproject.toml +0 -0
  11. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/setup.py +0 -0
  12. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/__init__.py +0 -0
  13. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_internal/EventContext.py +0 -0
  14. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_internal/NoContextException.py +0 -0
  15. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_internal/RootRenderContextProtocol.py +0 -0
  16. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_internal/__init__.py +0 -0
  17. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_internal/utils.py +0 -0
  18. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_js/LICENSE +0 -0
  19. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/_register.py +0 -0
  20. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/__init__.py +0 -0
  21. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/accordion.py +0 -0
  22. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/action_button.py +0 -0
  23. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/action_group.py +0 -0
  24. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/action_menu.py +0 -0
  25. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/avatar.py +0 -0
  26. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/badge.py +0 -0
  27. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/basic.py +0 -0
  28. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/breadcrumbs.py +0 -0
  29. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/button.py +0 -0
  30. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/button_group.py +0 -0
  31. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/calendar.py +0 -0
  32. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/checkbox.py +0 -0
  33. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/checkbox_group.py +0 -0
  34. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/color_editor.py +0 -0
  35. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/color_picker.py +0 -0
  36. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/column.py +0 -0
  37. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/combo_box.py +0 -0
  38. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/component.py +0 -0
  39. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/content.py +0 -0
  40. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/contextual_help.py +0 -0
  41. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/contextual_help_trigger.py +0 -0
  42. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/dashboard.py +0 -0
  43. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/date_field.py +0 -0
  44. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/date_picker.py +0 -0
  45. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/date_range_picker.py +0 -0
  46. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/dialog.py +0 -0
  47. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/dialog_trigger.py +0 -0
  48. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/disclosure.py +0 -0
  49. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/disclosure_panel.py +0 -0
  50. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/disclosure_title.py +0 -0
  51. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/divider.py +0 -0
  52. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/flex.py +0 -0
  53. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/footer.py +0 -0
  54. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/form.py +0 -0
  55. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/fragment.py +0 -0
  56. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/grid.py +0 -0
  57. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/heading.py +0 -0
  58. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/html.py +0 -0
  59. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/icon.py +0 -0
  60. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/illustrated_message.py +0 -0
  61. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/image.py +0 -0
  62. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/inline_alert.py +0 -0
  63. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/item.py +0 -0
  64. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/item_table_source.py +0 -0
  65. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/labeled_value.py +0 -0
  66. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/link.py +0 -0
  67. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/list_action_group.py +0 -0
  68. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/list_action_menu.py +0 -0
  69. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/list_view.py +0 -0
  70. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/logic_button.py +0 -0
  71. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/markdown.py +0 -0
  72. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/menu.py +0 -0
  73. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/menu_trigger.py +0 -0
  74. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/meter.py +0 -0
  75. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/multi_select.py +0 -0
  76. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/number_field.py +0 -0
  77. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/panel.py +0 -0
  78. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/picker.py +0 -0
  79. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/progress_bar.py +0 -0
  80. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/progress_circle.py +0 -0
  81. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/radio.py +0 -0
  82. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/radio_group.py +0 -0
  83. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/range_calendar.py +0 -0
  84. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/range_slider.py +0 -0
  85. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/route.py +0 -0
  86. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/router.py +0 -0
  87. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/row.py +0 -0
  88. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/search_field.py +0 -0
  89. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/section.py +0 -0
  90. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/slider.py +0 -0
  91. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/stack.py +0 -0
  92. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/submenu_trigger.py +0 -0
  93. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/switch.py +0 -0
  94. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/tab.py +0 -0
  95. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/tab_list.py +0 -0
  96. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/tab_panels.py +0 -0
  97. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/table.py +0 -0
  98. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/tabs.py +0 -0
  99. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/tag_group.py +0 -0
  100. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/text.py +0 -0
  101. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/text_area.py +0 -0
  102. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/text_field.py +0 -0
  103. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/time_field.py +0 -0
  104. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/toast.py +0 -0
  105. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/toggle_button.py +0 -0
  106. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/Intl/list_format.py +0 -0
  107. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/Intl/number_format.py +0 -0
  108. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/__init__.py +0 -0
  109. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/accessibility.py +0 -0
  110. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/combo_box.py +0 -0
  111. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/date_picker.py +0 -0
  112. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/events.py +0 -0
  113. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/icon_types.py +0 -0
  114. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/layout.py +0 -0
  115. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/progress.py +0 -0
  116. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/types/validate.py +0 -0
  117. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/components/view.py +0 -0
  118. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/BaseElement.py +0 -0
  119. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/ContextProviderElement.py +0 -0
  120. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/DashboardElement.py +0 -0
  121. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/Element.py +0 -0
  122. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/FunctionElement.py +0 -0
  123. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/MemoizedElement.py +0 -0
  124. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/UriElement.py +0 -0
  125. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/elements/__init__.py +0 -0
  126. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/__init__.py +0 -0
  127. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/_transform.py +0 -0
  128. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/_url_parse.py +0 -0
  129. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_boolean.py +0 -0
  130. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_callback.py +0 -0
  131. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_cell_data.py +0 -0
  132. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_column_data.py +0 -0
  133. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_context.py +0 -0
  134. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_effect.py +0 -0
  135. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_execution_context.py +0 -0
  136. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_liveness_scope.py +0 -0
  137. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_memo.py +0 -0
  138. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_navigate.py +0 -0
  139. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_params.py +0 -0
  140. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_path.py +0 -0
  141. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_query_param.py +0 -0
  142. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_query_params.py +0 -0
  143. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_ref.py +0 -0
  144. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_render_queue.py +0 -0
  145. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_row_data.py +0 -0
  146. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_row_list.py +0 -0
  147. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_send_event.py +0 -0
  148. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_set_query_param.py +0 -0
  149. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_table_data.py +0 -0
  150. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_table_listener.py +0 -0
  151. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/hooks/use_url_components.py +0 -0
  152. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/object_types/DashboardType.py +0 -0
  153. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/object_types/ElementMessageStream.py +0 -0
  154. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/object_types/ElementType.py +0 -0
  155. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/object_types/ErrorCode.py +0 -0
  156. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/object_types/EventEncoder.py +0 -0
  157. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/object_types/__init__.py +0 -0
  158. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/renderer/NodeEncoder.py +0 -0
  159. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/renderer/RenderedNode.py +0 -0
  160. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/renderer/Renderer.py +0 -0
  161. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/renderer/__init__.py +0 -0
  162. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/types/__init__.py +0 -0
  163. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven/ui/types/types.py +0 -0
  164. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven_plugin_ui.egg-info/SOURCES.txt +0 -0
  165. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven_plugin_ui.egg-info/dependency_links.txt +0 -0
  166. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven_plugin_ui.egg-info/entry_points.txt +0 -0
  167. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven_plugin_ui.egg-info/requires.txt +0 -0
  168. {deephaven_plugin_ui-0.40.0 → deephaven_plugin_ui-0.40.2}/src/deephaven_plugin_ui.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deephaven-plugin-ui
3
- Version: 0.40.0
3
+ Version: 0.40.2
4
4
  Summary: deephaven.ui plugin
5
5
  Home-page: https://github.com/deephaven/deephaven-plugins
6
6
  Author: Deephaven Data Labs
@@ -3,7 +3,7 @@ name = deephaven-plugin-ui
3
3
  description = deephaven.ui plugin
4
4
  long_description = file: README.md
5
5
  long_description_content_type = text/markdown
6
- version = 0.40.0
6
+ version = 0.40.2
7
7
  url = https://github.com/deephaven/deephaven-plugins
8
8
  project_urls =
9
9
  Source Code = https://github.com/deephaven/deephaven-plugins
@@ -263,6 +263,14 @@ class RenderContext:
263
263
  A value that can be used to store arbitrary data for this context.
264
264
  """
265
265
 
266
+ _hook_setters: Dict[StateKey, Callable[[Any], None]]
267
+ """
268
+ Cache of stable state setter functions keyed by hook index. The same setter
269
+ instance is returned on every render so it serializes to a stable callable id
270
+ for the client (a fresh setter each render would be assigned a new callable
271
+ id, causing the client to receive a new prop - e.g. `onChange` - every render).
272
+ """
273
+
266
274
  def __init__(self, root: RootRenderContextProtocol):
267
275
  """
268
276
  Create a new render context.
@@ -285,6 +293,7 @@ class RenderContext:
285
293
  self._is_mounted = True
286
294
  self._is_dirty = True
287
295
  self._cache = None
296
+ self._hook_setters = {}
288
297
 
289
298
  def __del__(self):
290
299
  logger.debug("Deleting context")
@@ -537,6 +546,35 @@ class RenderContext:
537
546
  self._root.on_change(update_state)
538
547
  self.mark_dirty()
539
548
 
549
+ def make_state_setter(self, key: StateKey) -> Callable[[Any], None]:
550
+ """
551
+ Get a stable setter function for the given state key.
552
+
553
+ The same function instance is returned on every render for a given key.
554
+ This matters because callables are serialized to the client by object
555
+ identity - returning a fresh setter each render would be assigned a new
556
+ callable id and the client would see a new prop (e.g. `onChange`) on
557
+ every render, needlessly churning props and cancelling in-flight work
558
+ such as debounced input changes.
559
+
560
+ Args:
561
+ key: The state key (hook index) to get the setter for.
562
+
563
+ Returns:
564
+ A stable function that sets the state for the given key.
565
+ """
566
+ setter = self._hook_setters.get(key)
567
+ if setter is None:
568
+
569
+ def set_value(new_value: Any) -> None:
570
+ # Set the value in the context state and trigger a re-render
571
+ logger.debug("use_state set_value called with %s", new_value)
572
+ self.queue_render(lambda: self.set_state(key, new_value))
573
+
574
+ self._hook_setters[key] = set_value
575
+ setter = set_value
576
+ return setter
577
+
540
578
  def get_child_context(
541
579
  self, key: ContextKey, fetch_only: bool = False
542
580
  ) -> "RenderContext":
@@ -712,6 +750,7 @@ class RenderContext:
712
750
  self._collected_effects.clear()
713
751
  self._collected_unmount_listeners.clear()
714
752
  self._collected_contexts.clear()
753
+ self._hook_setters.clear()
715
754
 
716
755
  @property
717
756
  def cache(self) -> Any:
@@ -16891,7 +16891,7 @@ function ReactPanel({
16891
16891
  }
16892
16892
  dashboard.LayoutUtils.openComponent({ root: parent, config: config2 });
16893
16893
  log$9.debug("Opened panel", panelId, config2);
16894
- } else if (openedMetadataRef.current !== metadata) {
16894
+ } else if (openedMetadataRef.current != null && openedMetadataRef.current !== metadata) {
16895
16895
  const contentItem = dashboard.LayoutUtils.getContentItemInStack(
16896
16896
  existingStack,
16897
16897
  itemConfig
@@ -17194,6 +17194,9 @@ function usePanelManager({
17194
17194
  }) {
17195
17195
  const panelIdIndex = React.useRef(0);
17196
17196
  const [widgetData] = React.useState(() => structuredClone(initialData));
17197
+ const panelStatesRef = React.useRef({
17198
+ ...widgetData.panelStates
17199
+ });
17197
17200
  const panelIds = React.useRef([]);
17198
17201
  const [isPanelsDirty, setPanelsDirty] = React.useState(false);
17199
17202
  const id = React.useMemo(
@@ -17225,14 +17228,15 @@ function usePanelManager({
17225
17228
  );
17226
17229
  const handleDataChange = React.useCallback(
17227
17230
  (panelId, panelData) => {
17231
+ panelStatesRef.current = {
17232
+ ...panelStatesRef.current,
17233
+ [panelId]: panelData
17234
+ };
17228
17235
  onDataChange({
17229
- panelStates: {
17230
- ...widgetData.panelStates,
17231
- [panelId]: panelData
17232
- }
17236
+ panelStates: { ...panelStatesRef.current }
17233
17237
  });
17234
17238
  },
17235
- [onDataChange, widgetData]
17239
+ [onDataChange]
17236
17240
  );
17237
17241
  React.useEffect(
17238
17242
  function syncOpenPanels() {
@@ -17245,7 +17249,11 @@ function usePanelManager({
17245
17249
  log$8.debug("Widget", id, "closed all panels, triggering onClose");
17246
17250
  onClose == null ? void 0 : onClose();
17247
17251
  } else {
17248
- onDataChange({ ...widgetData, panelIds: [...panelIds.current] });
17252
+ onDataChange({
17253
+ ...widgetData,
17254
+ panelStates: { ...panelStatesRef.current },
17255
+ panelIds: [...panelIds.current]
17256
+ });
17249
17257
  }
17250
17258
  },
17251
17259
  [isPanelsDirty, id, onClose, onDataChange, widgetData]
@@ -72410,10 +72418,21 @@ function Tabs(props) {
72410
72418
  onSelectionChange: onSelectionChangeProp,
72411
72419
  onChange: onChange2,
72412
72420
  UNSAFE_className,
72421
+ selectedKey,
72422
+ defaultSelectedKey,
72413
72423
  ...otherTabProps
72414
72424
  } = props;
72415
72425
  const childrenArray = React.useMemo(() => ensureArray(children), [children]);
72416
- const onSelectionChange = onSelectionChangeProp ?? onChange2;
72426
+ const [persistedKey, setPersistedKey] = plugin.usePersistentState(defaultSelectedKey, { type: "UITabs", version: 1 });
72427
+ const userOnSelectionChange = onSelectionChangeProp ?? onChange2;
72428
+ const onSelectionChange = React.useCallback(
72429
+ (key) => {
72430
+ setPersistedKey(key);
72431
+ userOnSelectionChange == null ? void 0 : userOnSelectionChange(key);
72432
+ },
72433
+ [setPersistedKey, userOnSelectionChange]
72434
+ );
72435
+ const selectionProps = selectedKey !== void 0 ? { selectedKey } : { defaultSelectedKey: persistedKey ?? defaultSelectedKey };
72417
72436
  const tabPanelsOrLists = childrenArray.filter(
72418
72437
  (child) => isElementOfType(child, components.TabList) || isElementOfType(child, TabPanels)
72419
72438
  );
@@ -72451,6 +72470,7 @@ function Tabs(props) {
72451
72470
  {
72452
72471
  onSelectionChange,
72453
72472
  UNSAFE_className: classNames("dh-tabs", UNSAFE_className),
72473
+ ...selectionProps,
72454
72474
  ...otherTabProps,
72455
72475
  children
72456
72476
  }
@@ -72461,6 +72481,7 @@ function Tabs(props) {
72461
72481
  {
72462
72482
  onSelectionChange,
72463
72483
  UNSAFE_className: classNames("dh-tabs", UNSAFE_className),
72484
+ ...selectionProps,
72464
72485
  ...otherTabProps,
72465
72486
  children: [
72466
72487
  /* @__PURE__ */ jsxRuntimeExports.jsx(components.TabList, { marginBottom: "size-100", children: tabListChildren }),
@@ -75998,7 +76019,8 @@ function WidgetHandler({
75998
76019
  widgetDescriptor,
75999
76020
  initialData: initialDataProp,
76000
76021
  id,
76001
- renderEmptyDocument: renderEmptyDocumentProp
76022
+ renderEmptyDocument: renderEmptyDocumentProp,
76023
+ renderErrorDocument: renderErrorDocumentProp
76002
76024
  }) {
76003
76025
  const { widget, error: widgetError } = jsapiBootstrap.useWidget(widgetDescriptor);
76004
76026
  const [isLoading, setIsLoading] = React.useState(true);
@@ -76077,13 +76099,22 @@ function WidgetHandler({
76077
76099
  [jsonClient]
76078
76100
  );
76079
76101
  const pluginsElementMap = plugin.usePluginsElementMap();
76102
+ const renderErrorDocument = React.useCallback(
76103
+ (docError) => {
76104
+ if (renderErrorDocumentProp != null) {
76105
+ return renderErrorDocumentProp(docError);
76106
+ }
76107
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(WidgetErrorView, { error: docError });
76108
+ },
76109
+ [renderErrorDocumentProp]
76110
+ );
76080
76111
  const renderEmptyDocument = React.useCallback(
76081
76112
  /**
76082
76113
  * Renders an empty document. This is used when the widget is loading or has an error.
76083
76114
  */
76084
76115
  () => {
76085
76116
  if (error != null) {
76086
- return /* @__PURE__ */ jsxRuntimeExports.jsx(WidgetErrorView, { error });
76117
+ return renderErrorDocument(error);
76087
76118
  }
76088
76119
  const result = renderEmptyDocumentProp == null ? void 0 : renderEmptyDocumentProp();
76089
76120
  if (result != null) {
@@ -76091,7 +76122,7 @@ function WidgetHandler({
76091
76122
  }
76092
76123
  return null;
76093
76124
  },
76094
- [error, renderEmptyDocumentProp]
76125
+ [error, renderEmptyDocumentProp, renderErrorDocument]
76095
76126
  );
76096
76127
  const [uriObjectMap] = React.useState(/* @__PURE__ */ new Map());
76097
76128
  const renderDocument = React.useCallback(
@@ -76105,7 +76136,7 @@ function WidgetHandler({
76105
76136
  * @returns The rendered document
76106
76137
  */
76107
76138
  (doc) => {
76108
- if (document2 === void 0 || jsonClient == null) {
76139
+ if (doc === void 0 || jsonClient == null) {
76109
76140
  return renderEmptyDocument();
76110
76141
  }
76111
76142
  const deadObjectMap = new Map(exportedObjectMap.current);
@@ -76188,7 +76219,6 @@ function WidgetHandler({
76188
76219
  return hydratedDocument;
76189
76220
  },
76190
76221
  [
76191
- document2,
76192
76222
  jsonClient,
76193
76223
  id,
76194
76224
  renderEmptyDocument,
@@ -76469,6 +76499,11 @@ function DashboardWidgetHandler({
76469
76499
  }
76470
76500
  return null;
76471
76501
  }, [widgetDescriptor]);
76502
+ const renderErrorDocument = React.useCallback(
76503
+ // When opening a DashboardWidgetHandler, the panels may already be open, so we don't need to render anything other than in the empty case.
76504
+ () => renderEmptyDocument(),
76505
+ [renderEmptyDocument]
76506
+ );
76472
76507
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
76473
76508
  WidgetHandler,
76474
76509
  {
@@ -76476,6 +76511,7 @@ function DashboardWidgetHandler({
76476
76511
  onDataChange: handleDataChange,
76477
76512
  onClose: handleClose,
76478
76513
  renderEmptyDocument,
76514
+ renderErrorDocument,
76479
76515
  ...otherProps
76480
76516
  }
76481
76517
  );
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/js-plugin-ui",
3
- "version": "0.40.0",
3
+ "version": "0.40.2",
4
4
  "description": "Deephaven UI plugin",
5
5
  "keywords": [
6
6
  "Deephaven",
@@ -51,9 +51,8 @@ def use_state(
51
51
 
52
52
  value: T = context.get_state(hook_index)
53
53
 
54
- def set_value(new_value: T | UpdaterFunction[T]):
55
- # Set the value in the context state and trigger a re-render
56
- logger.debug("use_state set_value called with %s", new_value)
57
- context.queue_render(lambda: context.set_state(hook_index, new_value))
54
+ # Use a stable setter instance across renders so it serializes to a stable
55
+ # callable id for the client (see RenderContext.make_state_setter).
56
+ set_value = context.make_state_setter(hook_index)
58
57
 
59
58
  return value, set_value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deephaven-plugin-ui
3
- Version: 0.40.0
3
+ Version: 0.40.2
4
4
  Summary: deephaven.ui plugin
5
5
  Home-page: https://github.com/deephaven/deephaven-plugins
6
6
  Author: Deephaven Data Labs