bonsai

A library for building dynamic webapps, using Js_of_ocaml
IN THIS PACKAGE

Libraries

This package provides the following libraries (via dune):

bonsai

Documentation: Bonsai

Dependencies: core, core_kernel.reversed_list, virtual_dom.ui_effect, incr_dom.ui_incr, bonsai.tailwind_colors, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.bench

Documentation: Bonsai_bench

Dependencies: bonsai, bonsai.test, core_bench.js, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.example_chat_open_source_native

Documentation: Bonsai_chat_open_source_native

Dependencies: async_extra.async_bus, bonsai.example_chat_open_source_native_common, async_rpc_websocket, cohttp-async, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.example_chat_open_source_native_common

Documentation: Bonsai_chat_open_source_common

Dependencies: core, async_kernel, async_rpc_kernel, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.extra

Documentation: Bonsai_extra

Dependencies: bonsai, virtual_dom.ui_effect, incr_dom.ui_incr, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.focus_ring

Documentation: Focus_ring

Dependencies: core, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.protocol

Documentation: Bonsai_protocol

Dependencies: core, bonsai, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.tailwind_colors

Documentation: Tailwind_colors

Dependencies: ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.test

Documentation: Bonsai_test

Dependencies: bonsai, bonsai.extra, core_kernel.composition_infix, core, expect_test_helpers_core, patdiff.expect_test_patdiff, incr_map, re, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.test.dot

Documentation:

Dependencies: async, bonsai, core_kernel.composition_infix, core, expect_test_helpers_core, incr_map, bonsai.test, core_unix.sys_unix, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.web

Documentation: Bonsai_web

Dependencies: async_kernel, bonsai, core_kernel.bus, core, incr_dom, core_kernel.moption, virtual_dom.ui_effect, incr_dom.ui_incr, virtual_dom, bonsai.protocol, incr_dom.javascript_profiling, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_test

Documentation: Bonsai_web_test

Dependencies: bonsai.web, bonsai.extra, core, expect_test_helpers_core, patdiff.expect_test_patdiff, bonsai.test, incr_map, virtual_dom.vdom_test_helpers, bonsai.web_ui_drag_and_drop, bonsai.web_ui_element_size_hooks, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.web_ui_common_components

Documentation: Bonsai_web_ui_common_components

Dependencies: core, bonsai.web, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, ppx_css.inline_css

bonsai.web_ui_drag_and_drop

Documentation: Bonsai_web_ui_drag_and_drop

Dependencies: core, bonsai, bonsai.web, virtual_dom, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_ui_element_size_hooks

Documentation: Bonsai_web_ui_element_size_hooks

Dependencies: bonsai.web, bonsai.extra, core, core_kernel.reversed_list, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml, ojs

bonsai.web_ui_extendy

Documentation: Bonsai_web_ui_extendy

Dependencies: bonsai, core, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.web_ui_file

Documentation: Bonsai_web_ui_file

Dependencies: core, bonsai, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_ui_file_from_web_file

Documentation: Bonsai_web_ui_file_from_web_file

Dependencies: bonsai.web, bonsai.web_ui_file, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_ui_form

Documentation: Bonsai_web_ui_form

Dependencies: bonsai, bonsai.web, bonsai.extra, bonsai.web_ui_common_components, bonsai.web_ui_extendy, bonsai.web_ui_file, bonsai.web_ui_file_from_web_file, bonsai.web_ui_freeform_multiselect, bonsai.web_ui_multi_select, bonsai.web_ui_typeahead, bonsai.web_ui_reorderable_list, bonsai.web_ui_query_box, ppx_typed_fields.typed_fields_lib, ppx_typed_fields.typed_field_map, ppx_typed_fields.typed_variants_lib, core, profunctor, virtual_dom.input_widgets, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, ppx_css.inline_css, js_of_ocaml

bonsai.web_ui_freeform_multiselect

Documentation:

Dependencies: core, bonsai.web, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck

bonsai.web_ui_multi_select

Documentation: Bonsai_web_ui_multi_select

Dependencies: textutils.ascii_table_kernel, bonsai, bonsai.web, core, bonsai.focus_ring, virtual_dom.keyboard, virtual_dom.layout, virtual_dom.input_widgets, virtual_dom, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_ui_query_box

Documentation: Bonsai_web_ui_query_box

Dependencies: bonsai.web, core, fuzzy_match, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_ui_reorderable_list

Documentation: Bonsai_web_ui_reorderable_list

Dependencies: core, core_kernel.reversed_list, bonsai.web, bonsai.web_ui_drag_and_drop, bonsai.web_ui_element_size_hooks, ppx_here.runtime-lib, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck, js_of_ocaml

bonsai.web_ui_typeahead

Documentation:

  • Bonsai_web_ui_typeahead.Styles This file exists to encapsulate all the styles used within these form elements. Ideally these form components would be web components https://developer.mozilla.org/en-US/docs/Web/Web_Components and styles would be encapsulated within a shadow dom. This doesn't appear to be supported in jsoo. (at least the bindings don't exist)
  • Bonsai_web_ui_typeahead.Typeahead These controls come unstyled by default. jane-web-style provides css that will make the control and option pills pretty.

Dependencies: core, bonsai.web, bonsai.web_ui_common_components, ppx_sexp_conv.runtime-lib, sexplib0, ppx_compare.runtime-lib, ppx_enumerate.runtime-lib, ppx_hash.runtime-lib, ppx_here.runtime-lib, ppx_assert.runtime-lib, ppx_bench.runtime-lib, bin_prot, fieldslib, ppx_inline_test.config, ppx_inline_test.runtime-lib, ppx_module_timer.runtime, typerep, variantslib, ppx_expect.collector, ppx_expect.config, ppx_log.types, base_quickcheck.ppx_quickcheck.runtime, base_quickcheck