@marimo-team/frontend 0.23.10-dev25 → 0.23.10-dev27

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 (48) hide show
  1. package/dist/assets/JsonOutput-BDXmjEj9.js +53 -0
  2. package/dist/assets/{add-connection-dialog-BGaI0GCh.js → add-connection-dialog-T9Z5voxY.js} +1 -1
  3. package/dist/assets/{agent-panel-DHmaD72L.js → agent-panel-KWjanOTZ.js} +1 -1
  4. package/dist/assets/{cell-editor-DS-GvQu7.js → cell-editor-LaoP9GSh.js} +11 -11
  5. package/dist/assets/{column-preview-Bqp95o1c.js → column-preview-CSZ9RgJ8.js} +1 -1
  6. package/dist/assets/{command-palette-DW1BLZPt.js → command-palette-w_8Xo74m.js} +1 -1
  7. package/dist/assets/{edit-page-B-PsS6Sa.js → edit-page-COOCUoYP.js} +6 -6
  8. package/dist/assets/{file-explorer-panel-DbV2PFVU.js → file-explorer-panel-lBLLgjMq.js} +4 -4
  9. package/dist/assets/{form-B_6lxOn3.js → form-DKdvoZxk.js} +2 -2
  10. package/dist/assets/{hooks-L9VY624Y.js → hooks-BKLlyDAs.js} +1 -1
  11. package/dist/assets/index-DQ1e8BSW.js +38 -0
  12. package/dist/assets/{layout-BI8kBq9L.js → layout-B5MRVsVq.js} +5 -5
  13. package/dist/assets/{panels-BaGwQI8n.js → panels-uc-7IiOR.js} +1 -1
  14. package/dist/assets/reveal-component-C65H4dfJ.js +1069 -0
  15. package/dist/assets/{run-page-Zk3oGT6p.js → run-page-BMwyeBi9.js} +1 -1
  16. package/dist/assets/{scratchpad-panel-D6mOgXuh.js → scratchpad-panel-COwpb3AK.js} +1 -1
  17. package/dist/assets/{session-panel-CjbHqSx7.js → session-panel-Cn1bujIW.js} +1 -1
  18. package/dist/assets/{useNotebookActions-D6T6RU9i.js → useNotebookActions-C3Vj2qZ-.js} +1 -1
  19. package/dist/index.html +4 -4
  20. package/package.json +1 -1
  21. package/src/components/data-table/filter-by-values-picker.tsx +39 -17
  22. package/src/components/data-table/filter-pills.tsx +1 -1
  23. package/src/components/editor/cell/code/language-toggle.tsx +7 -1
  24. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +20 -0
  25. package/src/components/editor/renderers/slides-layout/types.ts +1 -0
  26. package/src/components/slides/__tests__/reveal-component.test.ts +425 -0
  27. package/src/components/slides/reveal-component.tsx +283 -61
  28. package/src/components/slides/slide-cell-view.tsx +26 -2
  29. package/src/components/slides/slide-form.tsx +26 -4
  30. package/src/components/ui/combobox.tsx +51 -32
  31. package/src/components/ui/select-core/__tests__/use-select-list.test.ts +294 -0
  32. package/src/components/ui/select-core/__tests__/utils.test.ts +222 -0
  33. package/src/components/ui/select-core/index.ts +16 -0
  34. package/src/components/ui/select-core/option-row.tsx +33 -0
  35. package/src/components/ui/select-core/render-slot.ts +20 -0
  36. package/src/components/ui/select-core/select-list.tsx +248 -0
  37. package/src/components/ui/select-core/types.ts +44 -0
  38. package/src/components/ui/select-core/use-select-list.ts +347 -0
  39. package/src/components/ui/select-core/utils.ts +121 -0
  40. package/src/plugins/impl/MultiselectPlugin.tsx +19 -142
  41. package/src/plugins/impl/SearchableSelect.tsx +16 -97
  42. package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +5 -2
  43. package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +1 -1
  44. package/dist/assets/JsonOutput-BYEhZqb8.js +0 -53
  45. package/dist/assets/index-gFLNrEY2.js +0 -38
  46. package/dist/assets/reveal-component-CRWK2ub0.js +0 -1069
  47. package/src/plugins/impl/multiselectFilterFn.tsx +0 -22
  48. /package/src/components/{data-table → ui}/value-chips.tsx +0 -0
@@ -1,22 +0,0 @@
1
- /* Copyright 2026 Marimo. All rights reserved. */
2
-
3
- /**
4
- * We override the default filter function which focuses on sorting by relevance with a fuzzy-match,
5
- * instead of filtering out.
6
- * The default filter function is `command-score`.
7
- *
8
- * Our filter function only matches if all words in the value are present in the option.
9
- * This is more strict than the default, but more lenient than an exact match.
10
- *
11
- * Examples:
12
- * - "foo bar" matches "foo bar"
13
- * - "bar foo" matches "foo bar"
14
- * - "foob" does not matches "foo bar"
15
- */
16
- export function multiselectFilterFn(option: string, value: string): number {
17
- const words = value.split(/\s+/);
18
- const match = words.every((word) =>
19
- option.toLowerCase().includes(word.toLowerCase()),
20
- );
21
- return match ? 1 : 0;
22
- }