@dxos/react-ui-graph 0.8.4-main.84f28bd → 0.8.4-main.b97322e

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-graph",
3
- "version": "0.8.4-main.84f28bd",
3
+ "version": "0.8.4-main.b97322e",
4
4
  "description": "GEM Graph.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -46,13 +46,13 @@
46
46
  "lodash.defaultsdeep": "^4.6.1",
47
47
  "react-resize-detector": "^11.0.1",
48
48
  "topojson-client": "^3.1.0",
49
- "@dxos/async": "0.8.4-main.84f28bd",
50
- "@dxos/debug": "0.8.4-main.84f28bd",
51
- "@dxos/echo-signals": "0.8.4-main.84f28bd",
52
- "@dxos/log": "0.8.4-main.84f28bd",
53
- "@dxos/graph": "0.8.4-main.84f28bd",
54
- "@dxos/node-std": "0.8.4-main.84f28bd",
55
- "@dxos/invariant": "0.8.4-main.84f28bd"
49
+ "@dxos/async": "0.8.4-main.b97322e",
50
+ "@dxos/debug": "0.8.4-main.b97322e",
51
+ "@dxos/echo-signals": "0.8.4-main.b97322e",
52
+ "@dxos/graph": "0.8.4-main.b97322e",
53
+ "@dxos/invariant": "0.8.4-main.b97322e",
54
+ "@dxos/node-std": "0.8.4-main.b97322e",
55
+ "@dxos/log": "0.8.4-main.b97322e"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@babel/core": "^7.18.13",
@@ -65,21 +65,21 @@
65
65
  "postcss": "^8.4.41",
66
66
  "react": "~18.2.0",
67
67
  "react-dom": "~18.2.0",
68
- "@dxos/random": "0.8.4-main.84f28bd",
69
- "@dxos/react-ui": "0.8.4-main.84f28bd",
70
- "@dxos/react-ui-syntax-highlighter": "0.8.4-main.84f28bd",
71
- "@dxos/react-ui-theme": "0.8.4-main.84f28bd",
72
- "@dxos/storybook-utils": "0.8.4-main.84f28bd",
73
- "@dxos/react-ui-stack": "0.8.4-main.84f28bd"
68
+ "@dxos/random": "0.8.4-main.b97322e",
69
+ "@dxos/react-ui": "0.8.4-main.b97322e",
70
+ "@dxos/react-ui-stack": "0.8.4-main.b97322e",
71
+ "@dxos/react-ui-syntax-highlighter": "0.8.4-main.b97322e",
72
+ "@dxos/react-ui-theme": "0.8.4-main.b97322e",
73
+ "@dxos/storybook-utils": "0.8.4-main.b97322e"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "react": "~18.2.0",
77
77
  "react-dom": "~18.2.0",
78
- "@dxos/react-ui": "0.8.4-main.84f28bd",
79
- "@dxos/react-ui-theme": "0.8.4-main.84f28bd"
78
+ "@dxos/react-ui": "0.8.4-main.b97322e",
79
+ "@dxos/react-ui-theme": "0.8.4-main.b97322e"
80
80
  },
81
81
  "optionalDependencies": {
82
- "@dxos/random": "0.8.4-main.84f28bd"
82
+ "@dxos/random": "0.8.4-main.b97322e"
83
83
  },
84
84
  "publishConfig": {
85
85
  "access": "public"
@@ -255,7 +255,7 @@ const DefaultStory = ({
255
255
  <Popover.VirtualTrigger virtualRef={popoverAnchorRef} />
256
256
  <Popover.Content onOpenAutoFocus={(event) => event.preventDefault()}>
257
257
  <Popover.Viewport>
258
- <Card.SurfaceRoot role='popover'>
258
+ <Card.SurfaceRoot role='card--popover'>
259
259
  <SyntaxHighlighter
260
260
  classNames='bg-transparent text-xs !mlb-cardSpacingBlock !pli-cardSpacingInline !overflow-visible'
261
261
  language='json'
@@ -50,7 +50,7 @@ const maybeForce = <Config>(
50
50
  cb: (config: Config) => Force<any, any>,
51
51
  defaultValue = undefined,
52
52
  ) => {
53
- const value = typeof options === 'boolean' ? (options ? {} : undefined) : options ?? defaultValue;
53
+ const value = typeof options === 'boolean' ? (options ? {} : undefined) : (options ?? defaultValue);
54
54
  if (value) {
55
55
  return cb(value);
56
56
  }
package/src/util/index.ts CHANGED
@@ -2,11 +2,11 @@
2
2
  // Copyright 2021 DXOS.org
3
3
  //
4
4
 
5
- export * from './d3-types';
5
+ export type * from './d3-types';
6
6
  export * from './events';
7
7
  export * from './fraction';
8
8
  export * from './points';
9
9
  export * from './scale';
10
10
  export * from './screen';
11
- export * from './types';
11
+ export type * from './types';
12
12
  export * from './vector';