@dxos/solid-ui-geo 0.0.0 → 0.8.4-main.05e74ebcff

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.
Files changed (89) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/browser/chunk-RMZP4JBX.mjs +9 -0
  3. package/dist/lib/browser/chunk-RMZP4JBX.mjs.map +7 -0
  4. package/dist/lib/browser/countries-110m-MXSNZ6PF.mjs +37859 -0
  5. package/dist/lib/browser/countries-110m-MXSNZ6PF.mjs.map +7 -0
  6. package/dist/lib/browser/data.mjs +7 -0
  7. package/dist/lib/browser/data.mjs.map +7 -0
  8. package/dist/lib/browser/index.mjs +1217 -0
  9. package/dist/lib/browser/index.mjs.map +7 -0
  10. package/dist/lib/browser/meta.json +1 -0
  11. package/dist/lib/browser/translations.mjs +19 -0
  12. package/dist/lib/browser/translations.mjs.map +7 -0
  13. package/dist/lib/node-esm/chunk-ICM52DKE.mjs +11 -0
  14. package/dist/lib/node-esm/chunk-ICM52DKE.mjs.map +7 -0
  15. package/dist/lib/node-esm/countries-110m-HEHEK3AV.mjs +37861 -0
  16. package/dist/lib/node-esm/countries-110m-HEHEK3AV.mjs.map +7 -0
  17. package/dist/lib/node-esm/data.mjs +8 -0
  18. package/dist/lib/node-esm/data.mjs.map +7 -0
  19. package/dist/lib/node-esm/index.mjs +1218 -0
  20. package/dist/lib/node-esm/index.mjs.map +7 -0
  21. package/dist/lib/node-esm/meta.json +1 -0
  22. package/dist/lib/node-esm/translations.mjs +21 -0
  23. package/dist/lib/node-esm/translations.mjs.map +7 -0
  24. package/dist/types/data/airports.d.ts +18 -0
  25. package/dist/types/data/airports.d.ts.map +1 -0
  26. package/dist/types/data/countries-110m.d.ts +36 -0
  27. package/dist/types/data/countries-110m.d.ts.map +1 -0
  28. package/dist/types/data/countries-dots-3.d.ts +9 -0
  29. package/dist/types/data/countries-dots-3.d.ts.map +1 -0
  30. package/dist/types/src/components/Globe/Globe.d.ts +54 -0
  31. package/dist/types/src/components/Globe/Globe.d.ts.map +1 -0
  32. package/dist/types/src/components/Globe/Globe.solid-stories.d.ts +29 -0
  33. package/dist/types/src/components/Globe/Globe.solid-stories.d.ts.map +1 -0
  34. package/dist/types/src/components/Globe/index.d.ts +2 -0
  35. package/dist/types/src/components/Globe/index.d.ts.map +1 -0
  36. package/dist/types/src/components/Map/Map.d.ts +38 -0
  37. package/dist/types/src/components/Map/Map.d.ts.map +1 -0
  38. package/dist/types/src/components/Map/Map.solid-stories.d.ts +17 -0
  39. package/dist/types/src/components/Map/Map.solid-stories.d.ts.map +1 -0
  40. package/dist/types/src/components/Map/index.d.ts +2 -0
  41. package/dist/types/src/components/Map/index.d.ts.map +1 -0
  42. package/dist/types/src/components/Toolbar/Controls.d.ts +11 -0
  43. package/dist/types/src/components/Toolbar/Controls.d.ts.map +1 -0
  44. package/dist/types/src/components/Toolbar/index.d.ts +2 -0
  45. package/dist/types/src/components/Toolbar/index.d.ts.map +1 -0
  46. package/dist/types/src/components/index.d.ts +4 -0
  47. package/dist/types/src/components/index.d.ts.map +1 -0
  48. package/dist/types/src/data.d.ts +3 -0
  49. package/dist/types/src/data.d.ts.map +1 -0
  50. package/dist/types/src/hooks/context.d.ts +33 -0
  51. package/dist/types/src/hooks/context.d.ts.map +1 -0
  52. package/dist/types/src/hooks/index.d.ts +7 -0
  53. package/dist/types/src/hooks/index.d.ts.map +1 -0
  54. package/dist/types/src/hooks/useDrag.d.ts +16 -0
  55. package/dist/types/src/hooks/useDrag.d.ts.map +1 -0
  56. package/dist/types/src/hooks/useGlobeZoomHandler.d.ts +3 -0
  57. package/dist/types/src/hooks/useGlobeZoomHandler.d.ts.map +1 -0
  58. package/dist/types/src/hooks/useMapZoomHandler.d.ts +3 -0
  59. package/dist/types/src/hooks/useMapZoomHandler.d.ts.map +1 -0
  60. package/dist/types/src/hooks/useSpinner.d.ts +14 -0
  61. package/dist/types/src/hooks/useSpinner.d.ts.map +1 -0
  62. package/dist/types/src/hooks/useTour.d.ts +22 -0
  63. package/dist/types/src/hooks/useTour.d.ts.map +1 -0
  64. package/dist/types/src/index.d.ts +6 -0
  65. package/dist/types/src/index.d.ts.map +1 -0
  66. package/dist/types/src/translations.d.ts +12 -0
  67. package/dist/types/src/translations.d.ts.map +1 -0
  68. package/dist/types/src/types.d.ts +8 -0
  69. package/dist/types/src/types.d.ts.map +1 -0
  70. package/dist/types/src/util/debug.d.ts +2 -0
  71. package/dist/types/src/util/debug.d.ts.map +1 -0
  72. package/dist/types/src/util/index.d.ts +5 -0
  73. package/dist/types/src/util/index.d.ts.map +1 -0
  74. package/dist/types/src/util/inertia.d.ts +15 -0
  75. package/dist/types/src/util/inertia.d.ts.map +1 -0
  76. package/dist/types/src/util/path.d.ts +12 -0
  77. package/dist/types/src/util/path.d.ts.map +1 -0
  78. package/dist/types/src/util/render.d.ts +26 -0
  79. package/dist/types/src/util/render.d.ts.map +1 -0
  80. package/dist/types/tsconfig.tsbuildinfo +1 -0
  81. package/package.json +29 -23
  82. package/src/components/Globe/Globe.solid-stories.tsx +2 -3
  83. package/src/components/Globe/Globe.tsx +12 -10
  84. package/src/components/Map/Map.solid-stories.tsx +0 -1
  85. package/src/components/Map/Map.tsx +18 -7
  86. package/src/components/Toolbar/Controls.tsx +4 -4
  87. package/src/hooks/useSpinner.ts +0 -1
  88. package/src/index.ts +0 -1
  89. package/src/util/render.ts +0 -1
@@ -24,7 +24,7 @@ export const ZoomControls = (props: ControlProps): JSX.Element => {
24
24
  <div class={`flex flex-row gap-2 ${props.class ?? ''}`}>
25
25
  <button
26
26
  type='button'
27
- class='dx-button dx-focus-ring w-10 h-10 min-bs-[2.5rem] pli-3 rounded-sm flex items-center justify-center'
27
+ class='dx-button dx-focus-ring w-10 h-10 min-h-[2.5rem] px-3 rounded-xs flex items-center justify-center'
28
28
  onClick={() => props.onAction?.('zoom-in')}
29
29
  title='Zoom in'
30
30
  >
@@ -32,7 +32,7 @@ export const ZoomControls = (props: ControlProps): JSX.Element => {
32
32
  </button>
33
33
  <button
34
34
  type='button'
35
- class='dx-button dx-focus-ring w-10 h-10 min-bs-[2.5rem] pli-3 rounded-sm flex items-center justify-center'
35
+ class='dx-button dx-focus-ring w-10 h-10 min-h-[2.5rem] px-3 rounded-xs flex items-center justify-center'
36
36
  onClick={() => props.onAction?.('zoom-out')}
37
37
  title='Zoom out'
38
38
  >
@@ -47,7 +47,7 @@ export const ActionControls = (props: ControlProps): JSX.Element => {
47
47
  <div class={`flex flex-row gap-2 ${props.class ?? ''}`}>
48
48
  <button
49
49
  type='button'
50
- class='dx-button dx-focus-ring w-10 h-10 min-bs-[2.5rem] pli-3 rounded-sm flex items-center justify-center'
50
+ class='dx-button dx-focus-ring w-10 h-10 min-h-[2.5rem] px-3 rounded-xs flex items-center justify-center'
51
51
  onClick={() => props.onAction?.('start')}
52
52
  title='Start'
53
53
  >
@@ -55,7 +55,7 @@ export const ActionControls = (props: ControlProps): JSX.Element => {
55
55
  </button>
56
56
  <button
57
57
  type='button'
58
- class='dx-button dx-focus-ring w-10 h-10 min-bs-[2.5rem] pli-3 rounded-sm flex items-center justify-center'
58
+ class='dx-button dx-focus-ring w-10 h-10 min-h-[2.5rem] px-3 rounded-xs flex items-center justify-center'
59
59
  onClick={() => props.onAction?.('toggle')}
60
60
  title='Toggle'
61
61
  >
@@ -7,7 +7,6 @@ import { type Timer } from 'd3';
7
7
  import { createEffect, createSignal, onCleanup } from 'solid-js';
8
8
 
9
9
  import { type GlobeController } from '../components';
10
-
11
10
  import { type Vector } from './context';
12
11
 
13
12
  export type SpinnerOptions = {
package/src/index.ts CHANGED
@@ -5,6 +5,5 @@
5
5
  export * from './components';
6
6
  export * from './data';
7
7
  export * from './hooks';
8
- export * from './translations';
9
8
  export type * from './types';
10
9
  export * from './util';
@@ -7,7 +7,6 @@ import { feature, mesh } from 'topojson-client';
7
7
  import { type Topology } from 'topojson-specification';
8
8
 
9
9
  import { type LatLngLiteral } from '../types';
10
-
11
10
  import { geoLine, geoPoint } from './path';
12
11
 
13
12
  export type Styles = Record<string, any>;