@dxos/react-ui-editor 0.5.1-next.5e6b3f6 → 0.5.1-next.823fe3b

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.
@@ -4831,8 +4831,7 @@ var useActionHandler = (view) => {
4831
4831
  // packages/ui/react-ui-editor/src/hooks/useTextEditor.ts
4832
4832
  import { EditorSelection as EditorSelection2, EditorState as EditorState3 } from "@codemirror/state";
4833
4833
  import { EditorView as EditorView17 } from "@codemirror/view";
4834
- import { useFocusableGroup as useFocusableGroup2 } from "@fluentui/react-tabster";
4835
- import { useCallback as useCallback2, useEffect as useEffect4, useMemo as useMemo2, useRef as useRef3, useState as useState4 } from "react";
4834
+ import { useEffect as useEffect4, useMemo as useMemo2, useRef as useRef3, useState as useState4 } from "react";
4836
4835
  import { log as log8 } from "@dxos/log";
4837
4836
  import { isNotFalsy as isNotFalsy5 } from "@dxos/util";
4838
4837
  var __dxlog_file11 = "/home/runner/work/dxos/dxos/packages/ui/react-ui-editor/src/hooks/useTextEditor.ts";
@@ -4848,7 +4847,7 @@ var useTextEditor = (cb = () => ({}), deps = []) => {
4848
4847
  id
4849
4848
  }, {
4850
4849
  F: __dxlog_file11,
4851
- L: 50,
4850
+ L: 36,
4852
4851
  S: void 0,
4853
4852
  C: (f, a) => f(...a)
4854
4853
  });
@@ -4860,7 +4859,7 @@ var useTextEditor = (cb = () => ({}), deps = []) => {
4860
4859
  EditorView17.exceptionSink.of((err) => {
4861
4860
  log8.catch(err, void 0, {
4862
4861
  F: __dxlog_file11,
4863
- L: 60,
4862
+ L: 46,
4864
4863
  S: void 0,
4865
4864
  C: (f, a) => f(...a)
4866
4865
  });
@@ -4891,7 +4890,7 @@ var useTextEditor = (cb = () => ({}), deps = []) => {
4891
4890
  id
4892
4891
  }, {
4893
4892
  F: __dxlog_file11,
4894
- L: 88,
4893
+ L: 74,
4895
4894
  S: void 0,
4896
4895
  C: (f, a) => f(...a)
4897
4896
  });
@@ -4925,31 +4924,9 @@ var useTextEditor = (cb = () => ({}), deps = []) => {
4925
4924
  selection,
4926
4925
  scrollTo
4927
4926
  ]);
4928
- const focusableGroup = useFocusableGroup2({
4929
- tabBehavior: "limited"
4930
- });
4931
- const handleKeyUp = useCallback2((event) => {
4932
- const { key, target, currentTarget } = event;
4933
- if (target === currentTarget) {
4934
- switch (key) {
4935
- case "Enter": {
4936
- view?.focus();
4937
- break;
4938
- }
4939
- }
4940
- }
4941
- }, [
4942
- view
4943
- ]);
4944
- const focusAttributes = {
4945
- tabIndex: 0,
4946
- ...focusableGroup,
4947
- onKeyUp: handleKeyUp
4948
- };
4949
4927
  return {
4950
4928
  parentRef,
4951
- view,
4952
- focusAttributes
4929
+ view
4953
4930
  };
4954
4931
  };
4955
4932
  export {