@dxos/react-ui-geo 0.8.4-main.dedc0f3 → 0.8.4-main.ead640a

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-geo",
3
- "version": "0.8.4-main.dedc0f3",
3
+ "version": "0.8.4-main.ead640a",
4
4
  "description": "Geo components.",
5
5
  "homepage": "https://github.com/dxos",
6
6
  "bugs": "https://github.com/dxos/issues",
@@ -44,25 +44,25 @@
44
44
  "geojson": "^0.5.0",
45
45
  "leaflet": "^1.9.4",
46
46
  "lodash.defaultsdeep": "^4.6.1",
47
- "react-leaflet": "^4.2.1",
47
+ "react-leaflet": "^5.0.0",
48
48
  "react-resize-detector": "^11.0.1",
49
49
  "topojson-client": "^3.1.0",
50
50
  "topojson-simplify": "^3.0.3",
51
51
  "versor": "^0.2.0",
52
- "@dxos/async": "0.8.4-main.dedc0f3",
53
- "@dxos/node-std": "0.8.4-main.dedc0f3",
54
- "@dxos/util": "0.8.4-main.dedc0f3",
55
- "@dxos/log": "0.8.4-main.dedc0f3",
56
- "@dxos/debug": "0.8.4-main.dedc0f3"
52
+ "@dxos/debug": "0.8.4-main.ead640a",
53
+ "@dxos/async": "0.8.4-main.ead640a",
54
+ "@dxos/node-std": "0.8.4-main.ead640a",
55
+ "@dxos/util": "0.8.4-main.ead640a",
56
+ "@dxos/log": "0.8.4-main.ead640a"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@react-three/drei": "^9.99.0",
60
- "@react-three/fiber": "^8.15.0",
60
+ "@react-three/fiber": "^9.3.0",
61
61
  "@types/d3": "^7.4.3",
62
62
  "@types/geojson": "^7946.0.14",
63
63
  "@types/leaflet": "^1.9.16",
64
- "@types/react": "~18.2.0",
65
- "@types/react-dom": "~18.2.0",
64
+ "@types/react": "~19.2.2",
65
+ "@types/react-dom": "~19.2.1",
66
66
  "@types/three": "0.165.0",
67
67
  "@types/topojson-client": "^3.1.4",
68
68
  "@types/topojson-simplify": "^3.0.3",
@@ -70,18 +70,18 @@
70
70
  "JSONStream": "^1.3.5",
71
71
  "geojson2h3": "^1.2.0",
72
72
  "leva": "^0.9.35",
73
- "react": "~18.2.0",
74
- "react-dom": "~18.2.0",
73
+ "react": "~19.2.0",
74
+ "react-dom": "~19.2.0",
75
75
  "three": "0.165.0",
76
- "@dxos/react-ui": "0.8.4-main.dedc0f3",
77
- "@dxos/react-ui-theme": "0.8.4-main.dedc0f3",
78
- "@dxos/storybook-utils": "0.8.4-main.dedc0f3"
76
+ "@dxos/react-ui": "0.8.4-main.ead640a",
77
+ "@dxos/storybook-utils": "0.8.4-main.ead640a",
78
+ "@dxos/react-ui-theme": "0.8.4-main.ead640a"
79
79
  },
80
80
  "peerDependencies": {
81
- "react": "~18.2.0",
82
- "react-dom": "~18.2.0",
83
- "@dxos/react-ui": "0.8.4-main.dedc0f3",
84
- "@dxos/react-ui-theme": "0.8.4-main.dedc0f3"
81
+ "react": "^19.0.0",
82
+ "react-dom": "^19.0.0",
83
+ "@dxos/react-ui": "0.8.4-main.ead640a",
84
+ "@dxos/react-ui-theme": "0.8.4-main.ead640a"
85
85
  },
86
86
  "publishConfig": {
87
87
  "access": "public"
@@ -2,8 +2,6 @@
2
2
  // Copyright 2018 DXOS.org
3
3
  //
4
4
 
5
- import '@dxos-theme';
6
-
7
5
  import { type Meta, type StoryObj } from '@storybook/react-vite';
8
6
  import { type FeatureCollection, type Geometry, type Position } from 'geojson';
9
7
  import { Leva } from 'leva';
@@ -11,7 +9,7 @@ import React, { useMemo, useRef, useState } from 'react';
11
9
  import { type Topology } from 'topojson-specification';
12
10
 
13
11
  import { useAsyncState } from '@dxos/react-ui';
14
- import { withLayout, withTheme } from '@dxos/storybook-utils';
12
+ import { withTheme } from '@dxos/react-ui/testing';
15
13
 
16
14
  import { type Vector, useDrag, useGlobeZoomHandler, useSpinner, useTour } from '../../hooks';
17
15
  import { type LatLngLiteral } from '../../types';
@@ -229,7 +227,10 @@ const meta = {
229
227
  title: 'ui/react-ui-geo/Globe',
230
228
  component: Globe.Root,
231
229
  render: DefaultStory,
232
- decorators: [withTheme, withLayout({ fullscreen: true, classNames: 'bg-[#000]' })],
230
+ decorators: [withTheme],
231
+ parameters: {
232
+ layout: 'fullscreen',
233
+ },
233
234
  } satisfies Meta;
234
235
 
235
236
  export default meta;
@@ -2,12 +2,10 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
- import '@dxos-theme';
6
-
7
5
  import { type Meta, type StoryObj } from '@storybook/react-vite';
8
6
  import React, { useState } from 'react';
9
7
 
10
- import { withLayout, withTheme } from '@dxos/storybook-utils';
8
+ import { withTheme } from '@dxos/react-ui/testing';
11
9
 
12
10
  import { useMapZoomHandler } from '../../hooks';
13
11
  import { type GeoMarker } from '../../types';
@@ -32,7 +30,10 @@ const meta = {
32
30
  title: 'ui/react-ui-geo/Map',
33
31
  component: Map.Root as any,
34
32
  render: DefaultStory,
35
- decorators: [withTheme, withLayout({ fullscreen: true })],
33
+ decorators: [withTheme],
34
+ parameters: {
35
+ layout: 'fullscreen',
36
+ },
36
37
  } satisfies Meta<typeof DefaultStory>;
37
38
 
38
39
  export default meta;