@dxos/solid-ui-geo 0.9.1-main.c7dcc2e112 → 0.9.1-staging.ee54ba693a
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 +2 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/Globe/Globe.d.ts +1 -1
- package/dist/types/src/components/Globe/Globe.d.ts.map +1 -1
- package/dist/types/src/components/Globe/Globe.solid-stories.d.ts +3 -3
- package/dist/types/src/components/Globe/Globe.solid-stories.d.ts.map +1 -1
- package/dist/types/src/components/Map/Map.d.ts +1 -1
- package/dist/types/src/components/Map/Map.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/components/Globe/Globe.solid-stories.tsx +2 -2
- package/src/components/Globe/Globe.tsx +3 -3
- package/src/components/Map/Map.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/solid-ui-geo",
|
|
3
|
-
"version": "0.9.1-
|
|
3
|
+
"version": "0.9.1-staging.ee54ba693a",
|
|
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-
|
|
55
|
-
"@dxos/debug": "0.9.1-
|
|
56
|
-
"@dxos/node-std": "0.9.1-
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
54
|
+
"@dxos/async": "0.9.1-staging.ee54ba693a",
|
|
55
|
+
"@dxos/debug": "0.9.1-staging.ee54ba693a",
|
|
56
|
+
"@dxos/node-std": "0.9.1-staging.ee54ba693a",
|
|
57
|
+
"@dxos/log": "0.9.1-staging.ee54ba693a",
|
|
58
|
+
"@dxos/ui-theme": "0.9.1-staging.ee54ba693a",
|
|
59
|
+
"@dxos/util": "0.9.1-staging.ee54ba693a"
|
|
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-
|
|
73
|
+
"@dxos/storybook-utils": "0.9.1-staging.ee54ba693a"
|
|
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
|
|
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
|
-
}:
|
|
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 {
|
|
341
|
+
export type { GlobeCanvasProps, GlobeRootProps };
|