@dxos/react-ui 0.8.1-main.ba2dec9 → 0.8.1-staging.391c573
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.
- package/dist/lib/browser/index.mjs +4 -5
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +3 -4
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +4 -5
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/Lists/Treegrid.d.ts.map +1 -1
- package/dist/types/src/components/Main/Main.d.ts +10 -1
- package/dist/types/src/components/Main/Main.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/components/Lists/List.stories.tsx +2 -2
- package/src/components/Lists/Treegrid.tsx +3 -1
- package/src/components/Main/Main.tsx +7 -3
|
@@ -1918,7 +1918,7 @@ var TreeItem = {
|
|
|
1918
1918
|
};
|
|
1919
1919
|
|
|
1920
1920
|
// packages/ui/react-ui/src/components/Lists/Treegrid.tsx
|
|
1921
|
-
import {
|
|
1921
|
+
import { useArrowNavigationGroup, useFocusableGroup } from "@fluentui/react-tabster";
|
|
1922
1922
|
import { createContextScope as createContextScope2 } from "@radix-ui/react-context";
|
|
1923
1923
|
import { Primitive as Primitive8 } from "@radix-ui/react-primitive";
|
|
1924
1924
|
import { Slot as Slot9 } from "@radix-ui/react-slot";
|
|
@@ -2015,7 +2015,6 @@ var Treegrid = {
|
|
|
2015
2015
|
};
|
|
2016
2016
|
|
|
2017
2017
|
// packages/ui/react-ui/src/components/Main/Main.tsx
|
|
2018
|
-
import { useFocusableGroup as useFocusableGroup2 } from "@fluentui/react-tabster";
|
|
2019
2018
|
import { createContext as createContext10 } from "@radix-ui/react-context";
|
|
2020
2019
|
import { Root as DialogRoot2, DialogContent as DialogContent2, DialogTitle as DialogTitle2 } from "@radix-ui/react-dialog";
|
|
2021
2020
|
import { Primitive as Primitive9 } from "@radix-ui/react-primitive";
|
|
@@ -2145,17 +2144,17 @@ var useLandmarkMover = (propsOnKeyDown, landmark) => {
|
|
|
2145
2144
|
}, [
|
|
2146
2145
|
propsOnKeyDown
|
|
2147
2146
|
]);
|
|
2148
|
-
const
|
|
2147
|
+
const focusableGroupAttrs = window ? {} : {
|
|
2149
2148
|
tabBehavior: "limited",
|
|
2150
2149
|
ignoreDefaultKeydown: {
|
|
2151
2150
|
Tab: true
|
|
2152
2151
|
}
|
|
2153
|
-
}
|
|
2152
|
+
};
|
|
2154
2153
|
return {
|
|
2155
2154
|
onKeyDown: handleKeyDown,
|
|
2156
2155
|
[landmarkAttr]: landmark,
|
|
2157
2156
|
tabIndex: 0,
|
|
2158
|
-
...
|
|
2157
|
+
...focusableGroupAttrs
|
|
2159
2158
|
};
|
|
2160
2159
|
};
|
|
2161
2160
|
var [MainProvider, useMainContext] = createContext10(MAIN_NAME, {
|