@dxos/solid-ui-geo 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6
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 +17 -16
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +17 -16
- 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.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 +10 -10
- package/src/components/Globe/Globe.solid-stories.tsx +2 -2
- package/src/components/Globe/Globe.tsx +11 -10
- package/src/components/Map/Map.tsx +3 -2
- package/src/components/Toolbar/Controls.tsx +4 -4
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { type StoryObj } from 'storybook-solidjs-vite';
|
|
2
2
|
import { type GlobeCanvasProps, type GlobeRootProps } from './Globe';
|
|
3
|
-
type
|
|
3
|
+
type DefaultStoryProps = Pick<GlobeRootProps, 'zoom' | 'translation' | 'rotation'> & Pick<GlobeCanvasProps, 'projection' | 'styles'> & {
|
|
4
4
|
drag?: boolean;
|
|
5
5
|
spin?: boolean;
|
|
6
6
|
tour?: boolean;
|
|
7
7
|
xAxis?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const DefaultStory: ({ zoom: _zoom, translation, rotation, projection, styles, drag, spin, tour, xAxis, }:
|
|
9
|
+
declare const DefaultStory: ({ zoom: _zoom, translation, rotation, projection, styles, drag, spin, tour, xAxis, }: DefaultStoryProps) => import("solid-js").JSX.Element;
|
|
10
10
|
declare const meta: {
|
|
11
11
|
title: string;
|
|
12
12
|
component: (props: GlobeRootProps) => import("solid-js").JSX.Element;
|
|
13
|
-
render: ({ zoom: _zoom, translation, rotation, projection, styles, drag, spin, tour, xAxis, }:
|
|
13
|
+
render: ({ zoom: _zoom, translation, rotation, projection, styles, drag, spin, tour, xAxis, }: DefaultStoryProps) => import("solid-js").JSX.Element;
|
|
14
14
|
parameters: {
|
|
15
15
|
layout: string;
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Globe.solid-stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.solid-stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAQlE,OAAO,EAAS,KAAK,gBAAgB,EAAwB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AA8GlG,KAAK,
|
|
1
|
+
{"version":3,"file":"Globe.solid-stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.solid-stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAQlE,OAAO,EAAS,KAAK,gBAAgB,EAAwB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AA8GlG,KAAK,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,aAAa,GAAG,UAAU,CAAC,GAChF,IAAI,CAAC,gBAAgB,EAAE,YAAY,GAAG,QAAQ,CAAC,GAAG;IAChD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEJ,QAAA,MAAM,YAAY,GAAI,sFAUnB,iBAAiB,mCA0FnB,CAAC;AAIF,QAAA,MAAM,IAAI;;;mGA9FP,iBAAiB;;;;CAqGJ,CAAC;AAEjB,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,MAAM,sCAoBlB,CAAC;AAEF,eAAO,MAAM,MAAM,sCAsBlB,CAAC;AAqBF,eAAO,MAAM,QAAQ,sCAoBpB,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAC"}
|
|
@@ -8,8 +8,8 @@ export type MapController = {
|
|
|
8
8
|
setZoom: (cb: (zoom: number) => number) => void;
|
|
9
9
|
};
|
|
10
10
|
type MapRootProps = {
|
|
11
|
-
children: JSX.Element;
|
|
12
11
|
ref?: (controller: MapController) => void;
|
|
12
|
+
children: JSX.Element;
|
|
13
13
|
class?: string;
|
|
14
14
|
scrollWheelZoom?: boolean;
|
|
15
15
|
doubleClickZoom?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../../src/components/Map/Map.tsx"],"names":[],"mappings":"AAIA,OAAO,0BAA0B,CAAC;AAElC,OAAU,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAgB,MAAM,SAAS,CAAC;AACpF,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,GAAG,EAST,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAkB,KAAK,YAAY,EAAkC,MAAM,YAAY,CAAC;AAa/F,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,KAA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