@dxos/plugin-navtree 0.6.11-staging.a542fc9 → 0.6.11

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.
@@ -3,9 +3,6 @@ import React from 'react';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: ({ id, items, current, attended, open, type, popoverAnchorId, onNavigate, onItemOpenChange, renderPresence, onOver, onDrop, onMove, onDragEnd, resolveItemLevel, indentation, loadDescendents, classNames, }: import("@dxos/react-ui-navtree").NavTreeProps) => React.JSX.Element;
6
- parameters: {
7
- layout: string;
8
- };
9
6
  decorators: import("@storybook/react/*").Decorator[];
10
7
  };
11
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Graph.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Graph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAA4B,MAAM,OAAO,CAAC;;;;;;;;;AA+HjD,wBAkBE;AAEF,eAAO,MAAM,OAAO;wBACE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;CAMxC,CAAC"}
1
+ {"version":3,"file":"Graph.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Graph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAA4B,MAAM,OAAO,CAAC;;;;;;AA+HjD,wBAIE;AAEF,eAAO,MAAM,OAAO;wBACE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;CAMxC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-navtree",
3
- "version": "0.6.11-staging.a542fc9",
3
+ "version": "0.6.11",
4
4
  "description": "DXOS Surface plugin for a tree view visualization of the graph.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -31,25 +31,25 @@
31
31
  "dependencies": {
32
32
  "@preact/signals-core": "^1.6.0",
33
33
  "date-fns": "^3.3.1",
34
- "@dxos/app-framework": "0.6.11-staging.a542fc9",
35
- "@dxos/app-graph": "0.6.11-staging.a542fc9",
36
- "@dxos/async": "0.6.11-staging.a542fc9",
37
- "@dxos/debug": "0.6.11-staging.a542fc9",
38
- "@dxos/keyboard": "0.6.11-staging.a542fc9",
39
- "@dxos/echo-schema": "0.6.11-staging.a542fc9",
40
- "@dxos/log": "0.6.11-staging.a542fc9",
41
- "@dxos/local-storage": "0.6.11-staging.a542fc9",
42
- "@dxos/plugin-client": "0.6.11-staging.a542fc9",
43
- "@dxos/plugin-observability": "0.6.11-staging.a542fc9",
44
- "@dxos/plugin-graph": "0.6.11-staging.a542fc9",
45
- "@dxos/plugin-theme": "0.6.11-staging.a542fc9",
46
- "@dxos/protocols": "0.6.11-staging.a542fc9",
47
- "@dxos/react-ui-deck": "0.6.11-staging.a542fc9",
48
- "@dxos/react-client": "0.6.11-staging.a542fc9",
49
- "@dxos/react-ui-mosaic": "0.6.11-staging.a542fc9",
50
- "@dxos/react-ui-navtree": "0.6.11-staging.a542fc9",
51
- "@dxos/util": "0.6.11-staging.a542fc9",
52
- "@dxos/react-ui-searchlist": "0.6.11-staging.a542fc9"
34
+ "@dxos/app-framework": "0.6.11",
35
+ "@dxos/app-graph": "0.6.11",
36
+ "@dxos/debug": "0.6.11",
37
+ "@dxos/async": "0.6.11",
38
+ "@dxos/echo-schema": "0.6.11",
39
+ "@dxos/keyboard": "0.6.11",
40
+ "@dxos/local-storage": "0.6.11",
41
+ "@dxos/log": "0.6.11",
42
+ "@dxos/plugin-client": "0.6.11",
43
+ "@dxos/plugin-graph": "0.6.11",
44
+ "@dxos/plugin-observability": "0.6.11",
45
+ "@dxos/plugin-theme": "0.6.11",
46
+ "@dxos/protocols": "0.6.11",
47
+ "@dxos/react-client": "0.6.11",
48
+ "@dxos/react-ui-deck": "0.6.11",
49
+ "@dxos/react-ui-navtree": "0.6.11",
50
+ "@dxos/react-ui-mosaic": "0.6.11",
51
+ "@dxos/react-ui-searchlist": "0.6.11",
52
+ "@dxos/util": "0.6.11"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@phosphor-icons/react": "^2.1.5",
@@ -58,18 +58,18 @@
58
58
  "react": "~18.2.0",
59
59
  "react-dom": "~18.2.0",
60
60
  "vite": "^5.3.4",
61
- "@dxos/random": "0.6.11-staging.a542fc9",
62
- "@dxos/echo-signals": "0.6.11-staging.a542fc9",
63
- "@dxos/react-ui": "0.6.11-staging.a542fc9",
64
- "@dxos/react-ui-theme": "0.6.11-staging.a542fc9",
65
- "@dxos/storybook-utils": "0.6.11-staging.a542fc9"
61
+ "@dxos/echo-signals": "0.6.11",
62
+ "@dxos/random": "0.6.11",
63
+ "@dxos/react-ui": "0.6.11",
64
+ "@dxos/react-ui-theme": "0.6.11",
65
+ "@dxos/storybook-utils": "0.6.11"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@phosphor-icons/react": "^2.1.5",
69
69
  "react": "^18.0.0",
70
70
  "react-dom": "^18.0.0",
71
- "@dxos/react-ui-theme": "0.6.11-staging.a542fc9",
72
- "@dxos/react-ui": "0.6.11-staging.a542fc9"
71
+ "@dxos/react-ui": "0.6.11",
72
+ "@dxos/react-ui-theme": "0.6.11"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"
@@ -9,7 +9,7 @@ import React, { type JSX, type PropsWithChildren, useEffect, useState } from 're
9
9
 
10
10
  import { faker } from '@dxos/random';
11
11
  import { modalSurface, mx } from '@dxos/react-ui-theme';
12
- import { withFullscreen, withTheme } from '@dxos/storybook-utils';
12
+ import { withLayout, withTheme } from '@dxos/storybook-utils';
13
13
 
14
14
  import { type ItemMap, Tree, type TreeNodeData, type TreeProps, visitNodes, visitor } from './Tree';
15
15
 
@@ -18,7 +18,7 @@ faker.seed(1234);
18
18
  export default {
19
19
  title: 'plugin-navtree/Tree',
20
20
  component: Tree,
21
- decorators: [withTheme, withFullscreen({ classNames: modalSurface })],
21
+ decorators: [withTheme, withLayout({ fullscreen: true, classNames: modalSurface })],
22
22
  };
23
23
 
24
24
  /**
@@ -10,10 +10,10 @@ import React, { useMemo, useState } from 'react';
10
10
  import { Graph } from '@dxos/app-graph';
11
11
  import { registerSignalRuntime } from '@dxos/echo-signals/react';
12
12
  import { faker } from '@dxos/random';
13
- import { DensityProvider, Tooltip, Treegrid } from '@dxos/react-ui';
13
+ import { Treegrid } from '@dxos/react-ui';
14
14
  import { Mosaic, Path, type MosaicDropEvent, type MosaicMoveEvent, type MosaicOperation } from '@dxos/react-ui-mosaic';
15
15
  import { NavTree, type NavTreeItemNode, type OpenItemIds } from '@dxos/react-ui-navtree';
16
- import { withTheme } from '@dxos/storybook-utils';
16
+ import { withLayout, withTheme } from '@dxos/storybook-utils';
17
17
  import { arrayMove } from '@dxos/util';
18
18
 
19
19
  import { type NavTreeItemGraphNode, treeItemsFromRootNode } from '../util';
@@ -135,21 +135,7 @@ const StorybookNavTree = ({ id = ROOT_ID }: { id?: string }) => {
135
135
  export default {
136
136
  title: 'react-ui-navtree/Graph',
137
137
  component: NavTree,
138
- parameters: {
139
- layout: 'fullscreen',
140
- },
141
- decorators: [
142
- withTheme,
143
- (Story: any) => (
144
- <Tooltip.Provider>
145
- <DensityProvider density='fine'>
146
- <div role='none' className='p-2'>
147
- <Story />
148
- </div>
149
- </DensityProvider>
150
- </Tooltip.Provider>
151
- ),
152
- ],
138
+ decorators: [withTheme, withLayout({ fullscreen: true, tooltips: true })],
153
139
  };
154
140
 
155
141
  export const Default = {