@dxos/solid-ui-geo 0.9.1-main.c7dcc2e112 → 0.10.0

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/solid-ui-geo",
3
- "version": "0.9.1-main.c7dcc2e112",
3
+ "version": "0.10.0",
4
4
  "description": "Geo components for SolidJS.",
5
5
  "homepage": "https://github.com/dxos",
6
6
  "bugs": "https://github.com/dxos/issues",
@@ -51,12 +51,12 @@
51
51
  "topojson-client": "^3.1.0",
52
52
  "topojson-simplify": "^3.0.3",
53
53
  "versor": "^0.2.0",
54
- "@dxos/async": "0.9.1-main.c7dcc2e112",
55
- "@dxos/debug": "0.9.1-main.c7dcc2e112",
56
- "@dxos/node-std": "0.9.1-main.c7dcc2e112",
57
- "@dxos/ui-theme": "0.9.1-main.c7dcc2e112",
58
- "@dxos/util": "0.9.1-main.c7dcc2e112",
59
- "@dxos/log": "0.9.1-main.c7dcc2e112"
54
+ "@dxos/async": "0.10.0",
55
+ "@dxos/debug": "0.10.0",
56
+ "@dxos/ui-theme": "0.10.0",
57
+ "@dxos/node-std": "0.10.0",
58
+ "@dxos/util": "0.10.0",
59
+ "@dxos/log": "0.10.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@solidjs/testing-library": "^0.8.10",
@@ -70,7 +70,7 @@
70
70
  "geojson2h3": "^1.2.0",
71
71
  "solid-js": "^1.9.11",
72
72
  "vite-plugin-solid": "^2.11.12",
73
- "@dxos/storybook-utils": "0.9.1-main.c7dcc2e112"
73
+ "@dxos/storybook-utils": "0.10.0"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "solid-js": "^1.9.11"
@@ -121,7 +121,7 @@ const createTrip = (
121
121
  );
122
122
  };
123
123
 
124
- type DefaultStoryProps = Pick<GlobeRootProps, 'zoom' | 'translation' | 'rotation'> &
124
+ type StoryArgs = Pick<GlobeRootProps, 'zoom' | 'translation' | 'rotation'> &
125
125
  Pick<GlobeCanvasProps, 'projection' | 'styles'> & {
126
126
  drag?: boolean;
127
127
  spin?: boolean;
@@ -139,7 +139,7 @@ const DefaultStory = ({
139
139
  spin = false,
140
140
  tour = false,
141
141
  xAxis = false,
142
- }: DefaultStoryProps) => {
142
+ }: StoryArgs) => {
143
143
  const [controller, setController] = createSignal<GlobeController | null>(null);
144
144
 
145
145
  const [dots] = createResource(async () => {
@@ -100,8 +100,8 @@ export type GlobeController = {
100
100
  export type ProjectionType = 'orthographic' | 'mercator' | 'transverse-mercator';
101
101
 
102
102
  const projectionMap: Record<ProjectionType, () => GeoProjection> = {
103
- orthographic: geoOrthographic,
104
- mercator: geoMercator,
103
+ 'orthographic': geoOrthographic,
104
+ 'mercator': geoMercator,
105
105
  'transverse-mercator': geoTransverseMercator,
106
106
  };
107
107
 
@@ -338,4 +338,4 @@ export const Globe = {
338
338
  Panel: GlobePanel,
339
339
  };
340
340
 
341
- export type { GlobeRootProps, GlobeCanvasProps };
341
+ export type { GlobeCanvasProps, GlobeRootProps };
@@ -341,4 +341,4 @@ export const Map = {
341
341
  Action: MapAction,
342
342
  };
343
343
 
344
- export { type MapRootProps, type MapMarkersProps, type MapControlProps };
344
+ export { type MapControlProps, type MapMarkersProps, type MapRootProps };