panelui-native 0.22.6 → 0.28.1

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 (258) hide show
  1. package/README.md +1 -0
  2. package/lib/module/components/accordion/index.js +8 -8
  3. package/lib/module/components/accordion/index.js.map +1 -1
  4. package/lib/module/components/alert/index.js +2 -2
  5. package/lib/module/components/alert/index.js.map +1 -1
  6. package/lib/module/components/area-chart/index.js +958 -0
  7. package/lib/module/components/area-chart/index.js.map +1 -0
  8. package/lib/module/components/attachment/index.js +2 -1
  9. package/lib/module/components/attachment/index.js.map +1 -1
  10. package/lib/module/components/avatar/index.js +4 -4
  11. package/lib/module/components/avatar/index.js.map +1 -1
  12. package/lib/module/components/badge/index.js +4 -4
  13. package/lib/module/components/badge/index.js.map +1 -1
  14. package/lib/module/components/bar-chart/index.js +994 -0
  15. package/lib/module/components/bar-chart/index.js.map +1 -0
  16. package/lib/module/components/bottom-sheet/index.js +213 -24
  17. package/lib/module/components/bottom-sheet/index.js.map +1 -1
  18. package/lib/module/components/breadcrumb/index.js +275 -0
  19. package/lib/module/components/breadcrumb/index.js.map +1 -0
  20. package/lib/module/components/button/index.js +11 -6
  21. package/lib/module/components/button/index.js.map +1 -1
  22. package/lib/module/components/calendar/index.js +557 -0
  23. package/lib/module/components/calendar/index.js.map +1 -0
  24. package/lib/module/components/carousel/index.js +680 -0
  25. package/lib/module/components/carousel/index.js.map +1 -0
  26. package/lib/module/components/chip/index.js +6 -6
  27. package/lib/module/components/chip/index.js.map +1 -1
  28. package/lib/module/components/date-picker/index.js +158 -0
  29. package/lib/module/components/date-picker/index.js.map +1 -0
  30. package/lib/module/components/dialog/index.js +7 -2
  31. package/lib/module/components/dialog/index.js.map +1 -1
  32. package/lib/module/components/direction/index.js +15 -20
  33. package/lib/module/components/direction/index.js.map +1 -1
  34. package/lib/module/components/empty-state/index.js +2 -2
  35. package/lib/module/components/empty-state/index.js.map +1 -1
  36. package/lib/module/components/field/index.js +5 -5
  37. package/lib/module/components/field/index.js.map +1 -1
  38. package/lib/module/components/flow/index.js +3 -3
  39. package/lib/module/components/flow/index.js.map +1 -1
  40. package/lib/module/components/frame/index.js +22 -5
  41. package/lib/module/components/frame/index.js.map +1 -1
  42. package/lib/module/components/heatmap-chart/index.js +28 -8
  43. package/lib/module/components/heatmap-chart/index.js.map +1 -1
  44. package/lib/module/components/input-group/index.js +5 -4
  45. package/lib/module/components/input-group/index.js.map +1 -1
  46. package/lib/module/components/item/index.js +9 -9
  47. package/lib/module/components/item/index.js.map +1 -1
  48. package/lib/module/components/label/index.js +4 -4
  49. package/lib/module/components/label/index.js.map +1 -1
  50. package/lib/module/components/line-chart/index.js +165 -184
  51. package/lib/module/components/line-chart/index.js.map +1 -1
  52. package/lib/module/components/loader/index.js +758 -0
  53. package/lib/module/components/loader/index.js.map +1 -0
  54. package/lib/module/components/map/basemap.js +265 -0
  55. package/lib/module/components/map/basemap.js.map +1 -0
  56. package/lib/module/components/map/index.js +850 -0
  57. package/lib/module/components/map/index.js.map +1 -0
  58. package/lib/module/components/map/maplibre.js +87 -0
  59. package/lib/module/components/map/maplibre.js.map +1 -0
  60. package/lib/module/components/marker/index.js +3 -3
  61. package/lib/module/components/marker/index.js.map +1 -1
  62. package/lib/module/components/message/index.js +15 -14
  63. package/lib/module/components/message/index.js.map +1 -1
  64. package/lib/module/components/message-scroller/index.js +5 -4
  65. package/lib/module/components/message-scroller/index.js.map +1 -1
  66. package/lib/module/components/otp-input/index.js +2 -2
  67. package/lib/module/components/popover/index.js +39 -7
  68. package/lib/module/components/popover/index.js.map +1 -1
  69. package/lib/module/components/progress/index.js +8 -2
  70. package/lib/module/components/progress/index.js.map +1 -1
  71. package/lib/module/components/radio-group/index.js +2 -2
  72. package/lib/module/components/radio-group/index.js.map +1 -1
  73. package/lib/module/components/ring-chart/index.js +423 -0
  74. package/lib/module/components/ring-chart/index.js.map +1 -0
  75. package/lib/module/components/section-rail/index.js +6 -6
  76. package/lib/module/components/section-rail/index.js.map +1 -1
  77. package/lib/module/components/select/index.js +10 -4
  78. package/lib/module/components/select/index.js.map +1 -1
  79. package/lib/module/components/separator/index.js +76 -22
  80. package/lib/module/components/separator/index.js.map +1 -1
  81. package/lib/module/components/shimmer/index.js +10 -1
  82. package/lib/module/components/shimmer/index.js.map +1 -1
  83. package/lib/module/components/slider/index.js +19 -5
  84. package/lib/module/components/slider/index.js.map +1 -1
  85. package/lib/module/components/steps/index.js +5 -5
  86. package/lib/module/components/steps/index.js.map +1 -1
  87. package/lib/module/components/switch/index.js +6 -1
  88. package/lib/module/components/switch/index.js.map +1 -1
  89. package/lib/module/components/tabs/index.js +7 -7
  90. package/lib/module/components/tabs/index.js.map +1 -1
  91. package/lib/module/components/timeline/index.js +4 -4
  92. package/lib/module/components/timeline/index.js.map +1 -1
  93. package/lib/module/components/toast/index.js +2 -2
  94. package/lib/module/components/toast/index.js.map +1 -1
  95. package/lib/module/components/toggle-button/index.js +5 -5
  96. package/lib/module/components/toggle-button/index.js.map +1 -1
  97. package/lib/module/components/tooltip/index.js +492 -0
  98. package/lib/module/components/tooltip/index.js.map +1 -0
  99. package/lib/module/components/typography/index.js +7 -2
  100. package/lib/module/components/typography/index.js.map +1 -1
  101. package/lib/module/hooks/index.js +1 -0
  102. package/lib/module/hooks/index.js.map +1 -1
  103. package/lib/module/hooks/use-back-handler.js +37 -0
  104. package/lib/module/hooks/use-back-handler.js.map +1 -0
  105. package/lib/module/hooks/use-direction.js +43 -0
  106. package/lib/module/hooks/use-direction.js.map +1 -0
  107. package/lib/module/icons/index.js +180 -2
  108. package/lib/module/icons/index.js.map +1 -1
  109. package/lib/module/index.js +12 -2
  110. package/lib/module/index.js.map +1 -1
  111. package/lib/module/primitives/keyboard-avoider.js +2 -1
  112. package/lib/module/primitives/keyboard-avoider.js.map +1 -1
  113. package/lib/module/primitives/text.js +55 -11
  114. package/lib/module/primitives/text.js.map +1 -1
  115. package/lib/module/utils/chart.js +279 -0
  116. package/lib/module/utils/chart.js.map +1 -0
  117. package/lib/module/utils/date.js +386 -0
  118. package/lib/module/utils/date.js.map +1 -0
  119. package/lib/typescript/src/components/accordion/index.d.ts.map +1 -1
  120. package/lib/typescript/src/components/alert/index.d.ts.map +1 -1
  121. package/lib/typescript/src/components/area-chart/index.d.ts +237 -0
  122. package/lib/typescript/src/components/area-chart/index.d.ts.map +1 -0
  123. package/lib/typescript/src/components/attachment/index.d.ts.map +1 -1
  124. package/lib/typescript/src/components/bar-chart/index.d.ts +270 -0
  125. package/lib/typescript/src/components/bar-chart/index.d.ts.map +1 -0
  126. package/lib/typescript/src/components/bottom-sheet/index.d.ts +75 -4
  127. package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -1
  128. package/lib/typescript/src/components/breadcrumb/index.d.ts +100 -0
  129. package/lib/typescript/src/components/breadcrumb/index.d.ts.map +1 -0
  130. package/lib/typescript/src/components/button/index.d.ts.map +1 -1
  131. package/lib/typescript/src/components/calendar/index.d.ts +108 -0
  132. package/lib/typescript/src/components/calendar/index.d.ts.map +1 -0
  133. package/lib/typescript/src/components/carousel/index.d.ts +179 -0
  134. package/lib/typescript/src/components/carousel/index.d.ts.map +1 -0
  135. package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
  136. package/lib/typescript/src/components/date-picker/index.d.ts +91 -0
  137. package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -0
  138. package/lib/typescript/src/components/dialog/index.d.ts.map +1 -1
  139. package/lib/typescript/src/components/direction/index.d.ts +11 -10
  140. package/lib/typescript/src/components/direction/index.d.ts.map +1 -1
  141. package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -1
  142. package/lib/typescript/src/components/field/index.d.ts.map +1 -1
  143. package/lib/typescript/src/components/frame/index.d.ts +17 -0
  144. package/lib/typescript/src/components/frame/index.d.ts.map +1 -1
  145. package/lib/typescript/src/components/heatmap-chart/index.d.ts +22 -3
  146. package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
  147. package/lib/typescript/src/components/input-group/index.d.ts.map +1 -1
  148. package/lib/typescript/src/components/item/index.d.ts.map +1 -1
  149. package/lib/typescript/src/components/label/index.d.ts.map +1 -1
  150. package/lib/typescript/src/components/line-chart/index.d.ts +42 -2
  151. package/lib/typescript/src/components/line-chart/index.d.ts.map +1 -1
  152. package/lib/typescript/src/components/loader/index.d.ts +38 -0
  153. package/lib/typescript/src/components/loader/index.d.ts.map +1 -0
  154. package/lib/typescript/src/components/map/basemap.d.ts +76 -0
  155. package/lib/typescript/src/components/map/basemap.d.ts.map +1 -0
  156. package/lib/typescript/src/components/map/index.d.ts +367 -0
  157. package/lib/typescript/src/components/map/index.d.ts.map +1 -0
  158. package/lib/typescript/src/components/map/maplibre.d.ts +193 -0
  159. package/lib/typescript/src/components/map/maplibre.d.ts.map +1 -0
  160. package/lib/typescript/src/components/marker/index.d.ts.map +1 -1
  161. package/lib/typescript/src/components/message/index.d.ts.map +1 -1
  162. package/lib/typescript/src/components/message-scroller/index.d.ts.map +1 -1
  163. package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
  164. package/lib/typescript/src/components/progress/index.d.ts.map +1 -1
  165. package/lib/typescript/src/components/ring-chart/index.d.ts +156 -0
  166. package/lib/typescript/src/components/ring-chart/index.d.ts.map +1 -0
  167. package/lib/typescript/src/components/select/index.d.ts.map +1 -1
  168. package/lib/typescript/src/components/separator/index.d.ts +36 -1
  169. package/lib/typescript/src/components/separator/index.d.ts.map +1 -1
  170. package/lib/typescript/src/components/shimmer/index.d.ts.map +1 -1
  171. package/lib/typescript/src/components/slider/index.d.ts.map +1 -1
  172. package/lib/typescript/src/components/steps/index.d.ts.map +1 -1
  173. package/lib/typescript/src/components/switch/index.d.ts.map +1 -1
  174. package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
  175. package/lib/typescript/src/components/timeline/index.d.ts.map +1 -1
  176. package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
  177. package/lib/typescript/src/components/toggle-button/index.d.ts.map +1 -1
  178. package/lib/typescript/src/components/tooltip/index.d.ts +125 -0
  179. package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -0
  180. package/lib/typescript/src/components/typography/index.d.ts +6 -0
  181. package/lib/typescript/src/components/typography/index.d.ts.map +1 -1
  182. package/lib/typescript/src/hooks/index.d.ts +1 -0
  183. package/lib/typescript/src/hooks/index.d.ts.map +1 -1
  184. package/lib/typescript/src/hooks/use-back-handler.d.ts +19 -0
  185. package/lib/typescript/src/hooks/use-back-handler.d.ts.map +1 -0
  186. package/lib/typescript/src/hooks/use-direction.d.ts +20 -0
  187. package/lib/typescript/src/hooks/use-direction.d.ts.map +1 -0
  188. package/lib/typescript/src/icons/index.d.ts +8 -0
  189. package/lib/typescript/src/icons/index.d.ts.map +1 -1
  190. package/lib/typescript/src/index.d.ts +14 -4
  191. package/lib/typescript/src/index.d.ts.map +1 -1
  192. package/lib/typescript/src/primitives/keyboard-avoider.d.ts.map +1 -1
  193. package/lib/typescript/src/primitives/text.d.ts +20 -0
  194. package/lib/typescript/src/primitives/text.d.ts.map +1 -1
  195. package/lib/typescript/src/utils/chart.d.ts +96 -0
  196. package/lib/typescript/src/utils/chart.d.ts.map +1 -0
  197. package/lib/typescript/src/utils/date.d.ts +116 -0
  198. package/lib/typescript/src/utils/date.d.ts.map +1 -0
  199. package/package.json +9 -1
  200. package/src/components/accordion/index.tsx +8 -12
  201. package/src/components/alert/index.tsx +2 -2
  202. package/src/components/area-chart/index.tsx +1147 -0
  203. package/src/components/attachment/index.tsx +2 -2
  204. package/src/components/avatar/index.tsx +4 -4
  205. package/src/components/badge/index.tsx +6 -6
  206. package/src/components/bar-chart/index.tsx +1208 -0
  207. package/src/components/bottom-sheet/index.tsx +282 -21
  208. package/src/components/breadcrumb/index.tsx +363 -0
  209. package/src/components/button/index.tsx +12 -8
  210. package/src/components/calendar/index.tsx +703 -0
  211. package/src/components/carousel/index.tsx +788 -0
  212. package/src/components/chip/index.tsx +6 -8
  213. package/src/components/date-picker/index.tsx +237 -0
  214. package/src/components/dialog/index.tsx +7 -2
  215. package/src/components/direction/index.tsx +22 -22
  216. package/src/components/empty-state/index.tsx +2 -2
  217. package/src/components/field/index.tsx +3 -5
  218. package/src/components/flow/index.tsx +3 -3
  219. package/src/components/frame/index.tsx +22 -7
  220. package/src/components/heatmap-chart/index.tsx +58 -11
  221. package/src/components/input-group/index.tsx +5 -4
  222. package/src/components/item/index.tsx +9 -9
  223. package/src/components/label/index.tsx +2 -2
  224. package/src/components/line-chart/index.tsx +194 -223
  225. package/src/components/loader/index.tsx +812 -0
  226. package/src/components/map/basemap.ts +304 -0
  227. package/src/components/map/index.tsx +1116 -0
  228. package/src/components/map/maplibre.ts +201 -0
  229. package/src/components/marker/index.tsx +3 -3
  230. package/src/components/message/index.tsx +15 -14
  231. package/src/components/message-scroller/index.tsx +5 -4
  232. package/src/components/otp-input/index.tsx +2 -2
  233. package/src/components/popover/index.tsx +43 -7
  234. package/src/components/progress/index.tsx +10 -2
  235. package/src/components/radio-group/index.tsx +2 -2
  236. package/src/components/ring-chart/index.tsx +543 -0
  237. package/src/components/section-rail/index.tsx +6 -6
  238. package/src/components/select/index.tsx +10 -4
  239. package/src/components/separator/index.tsx +77 -19
  240. package/src/components/shimmer/index.tsx +10 -1
  241. package/src/components/slider/index.tsx +20 -5
  242. package/src/components/steps/index.tsx +5 -5
  243. package/src/components/switch/index.tsx +6 -1
  244. package/src/components/tabs/index.tsx +7 -9
  245. package/src/components/timeline/index.tsx +4 -4
  246. package/src/components/toast/index.tsx +2 -2
  247. package/src/components/toggle-button/index.tsx +5 -7
  248. package/src/components/tooltip/index.tsx +610 -0
  249. package/src/components/typography/index.tsx +7 -2
  250. package/src/hooks/index.ts +1 -0
  251. package/src/hooks/use-back-handler.ts +37 -0
  252. package/src/hooks/use-direction.ts +45 -0
  253. package/src/icons/index.tsx +111 -0
  254. package/src/index.ts +129 -0
  255. package/src/primitives/keyboard-avoider.tsx +2 -1
  256. package/src/primitives/text.tsx +53 -8
  257. package/src/utils/chart.ts +355 -0
  258. package/src/utils/date.ts +446 -0
@@ -0,0 +1,367 @@
1
+ /**
2
+ * Map — a themed vector map.
3
+ *
4
+ * Everything visible is built from theme tokens rather than shipped as a
5
+ * finished style, so the map belongs to whatever theme is active instead of
6
+ * being the one rectangle on the screen that stayed grey. See `basemap.ts` for
7
+ * how the style is assembled; the short version is that the tiles are bought
8
+ * and the colours are ours.
9
+ *
10
+ * ```tsx
11
+ * <Map center={[-0.12, 51.5]} zoom={11}>
12
+ * <Map.Marker lngLat={[-0.12, 51.5]}>
13
+ * <Map.Popup>
14
+ * <Text weight="medium">Charing Cross</Text>
15
+ * </Map.Popup>
16
+ * </Map.Marker>
17
+ * <Map.Controls locate />
18
+ * </Map>
19
+ * ```
20
+ *
21
+ * The renderer is native and optional, so `Map` has a state no other component
22
+ * here does: it may be unable to draw at all. It says so in place rather than
23
+ * throwing, because the usual way to reach that state is running in a client
24
+ * that cannot load native modules, and a screen explaining the build you need
25
+ * is more use than a stack trace.
26
+ *
27
+ * `Map.Popup` reads its position from the marker it sits inside, the way a
28
+ * frame's title reads its weight from its slot. Given a `lngLat` of its own it
29
+ * anchors to that coordinate instead, so the same name covers both the popup
30
+ * attached to a pin and the one floating over a place with no pin at all.
31
+ */
32
+ import { type ReactNode } from 'react';
33
+ import { type ViewProps } from 'react-native';
34
+ import { CARTO_SOURCE, type BasemapSource, type BasemapTokens } from './basemap.js';
35
+ import { hasMapLibre, type CameraRef, type LngLat, type LngLatBounds, type MapRef, type StyleSpecification, type ViewState } from './maplibre.js';
36
+ export { hasMapLibre, CARTO_SOURCE };
37
+ export type { BasemapSource, BasemapTokens, LngLat, LngLatBounds, ViewState };
38
+ export type MapControlsPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
39
+ interface MapContextValue {
40
+ mapRef: React.RefObject<MapRef | null>;
41
+ cameraRef: React.RefObject<CameraRef | null>;
42
+ /** The style has loaded and the map is drawing. */
43
+ ready: boolean;
44
+ }
45
+ /**
46
+ * The map's camera and view state, from inside it.
47
+ *
48
+ * For a control, an overlay, or anything that has to move the map in response
49
+ * to something that is not a gesture on it.
50
+ */
51
+ export declare function useMap(): MapContextValue;
52
+ export interface MapHandle {
53
+ /** Move the camera, animating unless `duration` is 0. */
54
+ flyTo(options: {
55
+ center: LngLat;
56
+ zoom?: number;
57
+ duration?: number;
58
+ }): void;
59
+ /** Frame a bounding box, leaving `padding` points around it. */
60
+ fitBounds(bounds: LngLatBounds, padding?: number): void;
61
+ /** Where the map is looking right now. */
62
+ getViewState(): Promise<ViewState | null>;
63
+ }
64
+ export interface MapProps extends Omit<ViewProps, 'children'> {
65
+ children?: ReactNode;
66
+ /** Initial centre, `[longitude, latitude]`. */
67
+ center?: LngLat;
68
+ /** Initial zoom. 0 is the whole world; 18 is a building. */
69
+ zoom?: number;
70
+ /** Initial bearing in degrees, clockwise from north. */
71
+ bearing?: number;
72
+ /** Initial tilt in degrees. 0 looks straight down. */
73
+ pitch?: number;
74
+ /**
75
+ * Frame these bounds instead of centring — `[west, south, east, north]`.
76
+ * Wins over `center` and `zoom` when both are given.
77
+ */
78
+ bounds?: LngLatBounds;
79
+ /**
80
+ * Drop the basemap and keep only the ground colour. For data that carries
81
+ * its own geography — a choropleth, an arc diagram — where streets
82
+ * underneath are noise rather than context.
83
+ */
84
+ blank?: boolean;
85
+ /**
86
+ * Where the vector tiles come from. Defaults to CARTO, which is free for
87
+ * non-commercial use and licensed for everything else.
88
+ */
89
+ source?: BasemapSource;
90
+ /**
91
+ * Use this style wholesale instead of building one from tokens. The escape
92
+ * hatch for a map that has to match something outside the app.
93
+ */
94
+ mapStyle?: string | StyleSpecification;
95
+ /** Let the map rotate and tilt. Off by default — most maps only pan and zoom. */
96
+ rotatable?: boolean;
97
+ /** Turn off panning and zooming, for a map that is an illustration. */
98
+ interactive?: boolean;
99
+ /** Fires continuously while the map moves. */
100
+ onViewStateChange?: (state: ViewState) => void;
101
+ /** Fires when the map is pressed somewhere that is not a feature. */
102
+ onPress?: (lngLat: LngLat) => void;
103
+ /** Fires once the style has loaded and the first frame is drawn. */
104
+ onReady?: () => void;
105
+ }
106
+ export interface MapMarkerProps {
107
+ /** Where the marker sits, `[longitude, latitude]`. */
108
+ lngLat: LngLat;
109
+ /**
110
+ * Which part of the marker sits on the coordinate. A pin drawn above its
111
+ * point wants `bottom`; a dot centred on it wants the default.
112
+ */
113
+ anchor?: 'center' | 'top' | 'bottom' | 'left' | 'right';
114
+ /** Pressing the marker. Adds a button role when given. */
115
+ onPress?: () => void;
116
+ className?: string;
117
+ /** Defaults to a dot. Anything else replaces it. */
118
+ children?: ReactNode;
119
+ }
120
+ /**
121
+ * A point on the map, drawn as React views rather than as a style layer — so
122
+ * it can be anything the rest of the library can draw. For hundreds of points
123
+ * use `Map.Cluster` instead: a view per marker stops being affordable long
124
+ * before the map stops being readable.
125
+ */
126
+ declare function MapMarker({ lngLat, anchor, onPress, className, children, }: MapMarkerProps): import("react").JSX.Element | null;
127
+ declare namespace MapMarker {
128
+ var displayName: string;
129
+ }
130
+ export interface MapLabelProps {
131
+ children?: ReactNode;
132
+ className?: string;
133
+ /** Which side of the marker the label sits on. */
134
+ side?: 'top' | 'bottom';
135
+ }
136
+ /**
137
+ * A caption pinned to a marker. Always visible, unlike a popup — for the
138
+ * handful of places whose names are the point of the map.
139
+ *
140
+ * It is taken out of the marker's layout flow, which matters more than it
141
+ * sounds: a marker sits on its coordinate by the centre of its box, so a label
142
+ * in flow underneath the pin would pull that centre down and lift every pin
143
+ * off the place it marks. Absolute keeps the box the size of the pin.
144
+ *
145
+ * The overhang on each side is what lets a long name stay centred on the pin
146
+ * without widening the marker — a name is usually far wider than the dot it
147
+ * belongs to, and a box sized to the name would be anchored by the name.
148
+ */
149
+ declare function MapLabel({ children, className, side }: MapLabelProps): import("react").JSX.Element;
150
+ declare namespace MapLabel {
151
+ var displayName: string;
152
+ }
153
+ export interface MapPopupProps {
154
+ children?: ReactNode;
155
+ className?: string;
156
+ /** Heading above the content. Strings are wrapped for you. */
157
+ title?: string;
158
+ /**
159
+ * Anchor to this coordinate instead of to an enclosing marker. Required when
160
+ * the popup is not inside one.
161
+ */
162
+ lngLat?: LngLat;
163
+ }
164
+ /**
165
+ * A card anchored to a point.
166
+ *
167
+ * Inside a `Map.Marker` it takes that marker's coordinate and opens when the
168
+ * marker is pressed. Given a `lngLat` it stands alone at that coordinate — the
169
+ * same component either way, because the difference is where it is anchored
170
+ * rather than what it is.
171
+ *
172
+ * Either way it is its own annotation rather than something drawn inside the
173
+ * marker, which is what keeps a card from dragging the pin off its coordinate.
174
+ * Anchored by its bottom edge, so it floats above the point it describes
175
+ * instead of covering it.
176
+ */
177
+ declare function MapPopup({ children, className, title, lngLat }: MapPopupProps): import("react").JSX.Element | null;
178
+ declare namespace MapPopup {
179
+ var displayName: string;
180
+ }
181
+ export interface MapControlsProps {
182
+ /** Which corner the stack sits in. */
183
+ position?: MapControlsPosition;
184
+ /** Zoom in and out. On by default — it is the one control a map always needs. */
185
+ zoom?: boolean;
186
+ /** Recentre on the device's location. Needs a location permission. */
187
+ locate?: boolean;
188
+ /** Reset bearing and pitch to north and flat. */
189
+ compass?: boolean;
190
+ className?: string;
191
+ /** Called with the located coordinate, so a caller can react to it. */
192
+ onLocate?: (lngLat: LngLat) => void;
193
+ }
194
+ /**
195
+ * The map's own chrome, as themed views.
196
+ *
197
+ * The renderer draws its own zoom and compass ornaments, but in its style
198
+ * rather than the app's, and they cannot be recoloured — so they are turned
199
+ * off in `Map` and replaced here by buttons built from the same tokens as
200
+ * every other control in the library.
201
+ */
202
+ declare function MapControls({ position, zoom, locate, compass, className, onLocate, }: MapControlsProps): import("react").JSX.Element;
203
+ declare namespace MapControls {
204
+ var displayName: string;
205
+ }
206
+ export interface MapRouteProps {
207
+ /** The path, in order. */
208
+ coordinates: LngLat[];
209
+ /** Defaults to the primary token. */
210
+ color?: string;
211
+ /** Line thickness in points. */
212
+ width?: number;
213
+ /** Draw it dashed — for a leg that is planned rather than travelled. */
214
+ dashed?: boolean;
215
+ /** 0 is invisible, 1 is solid. */
216
+ opacity?: number;
217
+ id?: string;
218
+ }
219
+ /**
220
+ * A path across the map, drawn as a style layer rather than as views — so its
221
+ * cost does not grow with the number of points in it.
222
+ */
223
+ declare function MapRoute({ coordinates, color, width, dashed, opacity, id, }: MapRouteProps): import("react").JSX.Element | null;
224
+ declare namespace MapRoute {
225
+ var displayName: string;
226
+ }
227
+ export interface MapArcProps {
228
+ /** Where the arc starts. */
229
+ from: LngLat;
230
+ /** Where it ends. */
231
+ to: LngLat;
232
+ /** How far it bows. 0 is a straight line; 0.2 is the default lift. */
233
+ curvature?: number;
234
+ color?: string;
235
+ width?: number;
236
+ opacity?: number;
237
+ id?: string;
238
+ }
239
+ /**
240
+ * A curved connection between two points.
241
+ *
242
+ * The curve is not geography — a great circle between two cities is not bowed
243
+ * on a flat projection. It is there so that two arcs sharing an endpoint stay
244
+ * tellable apart, which a bundle of straight lines through one city does not.
245
+ */
246
+ declare function MapArc({ from, to, curvature, color, width, opacity, id, }: MapArcProps): import("react").JSX.Element | null;
247
+ declare namespace MapArc {
248
+ var displayName: string;
249
+ }
250
+ export interface MapGeoJSONProps {
251
+ /** A Feature, FeatureCollection, or the URL of one. */
252
+ data: unknown;
253
+ /** Fill colour for polygons. A style expression works here too. */
254
+ fill?: string | unknown[];
255
+ /** Outline colour. Defaults to the border token. */
256
+ stroke?: string | unknown[];
257
+ /** Outline thickness. */
258
+ strokeWidth?: number;
259
+ /** 0 is invisible, 1 is solid. */
260
+ fillOpacity?: number;
261
+ /** Fires with the pressed feature. */
262
+ onPress?: (feature: unknown) => void;
263
+ id?: string;
264
+ }
265
+ /**
266
+ * Arbitrary geography as a themed layer — the component behind a choropleth,
267
+ * a coverage area, or any other shape that comes from data rather than from
268
+ * the basemap.
269
+ *
270
+ * `fill` takes a style expression as well as a colour, which is what makes a
271
+ * choropleth one layer instead of one layer per bucket.
272
+ */
273
+ declare function MapGeoJSON({ data, fill, stroke, strokeWidth, fillOpacity, onPress, id, }: MapGeoJSONProps): import("react").JSX.Element | null;
274
+ declare namespace MapGeoJSON {
275
+ var displayName: string;
276
+ }
277
+ export interface MapClusterProps {
278
+ /** Point features to cluster. */
279
+ data: unknown;
280
+ /** Defaults to the primary token. */
281
+ color?: string;
282
+ /** Text colour inside a cluster bubble. */
283
+ textColor?: string;
284
+ /** How close two points have to be, in points, to merge. */
285
+ radius?: number;
286
+ /** Above this zoom every point stands alone. */
287
+ maxZoom?: number;
288
+ /** Fires with the pressed cluster or point. */
289
+ onPress?: (feature: unknown) => void;
290
+ id?: string;
291
+ }
292
+ /**
293
+ * Dense points, merged as they get too close to tell apart.
294
+ *
295
+ * This is the layer to reach for past a few dozen points: `Map.Marker` mounts
296
+ * a React view each, which a thousand points cannot afford, and a thousand
297
+ * overlapping pins would be unreadable even if it could.
298
+ */
299
+ declare function MapCluster({ data, color, textColor, radius, maxZoom, onPress, id, }: MapClusterProps): import("react").JSX.Element | null;
300
+ declare namespace MapCluster {
301
+ var displayName: string;
302
+ }
303
+ export interface MapHeatmapProps {
304
+ /** Point features to spread. */
305
+ data: unknown;
306
+ /** Feature property to weight each point by. Unweighted when omitted. */
307
+ weight?: string;
308
+ /**
309
+ * Spread of a single point, in points, at street zoom. Larger blurs more.
310
+ * The drawn radius shrinks as the map zooms out, so a point keeps covering
311
+ * roughly the same ground rather than the same screen area.
312
+ */
313
+ radius?: number;
314
+ /** Overall strength. Raise it when the data is sparse. */
315
+ intensity?: number;
316
+ /** 0 is invisible, 1 is solid. */
317
+ opacity?: number;
318
+ /** Above this zoom the layer fades out — see the note on the component. */
319
+ maxZoom?: number;
320
+ id?: string;
321
+ }
322
+ /**
323
+ * Point density as a continuous field.
324
+ *
325
+ * The opposite trade to `Map.Cluster`: a cluster keeps every point countable
326
+ * and tells you nothing about the space between them, while a heatmap shows
327
+ * the shape of the distribution and no longer lets you count anything. Reach
328
+ * for it when the question is *where* rather than *how many*.
329
+ *
330
+ * It fades out past `maxZoom` on purpose. Zoomed far enough in, every point is
331
+ * its own island and the blur says less than the points would — so the layer
332
+ * gets out of the way rather than smearing five records across a street.
333
+ *
334
+ * The radius is tied to zoom for the mirror-image reason. Left as a fixed
335
+ * number of screen points it would mean a different distance at every zoom:
336
+ * a blur that reads as a city at street level covers half a continent once
337
+ * the map is pulled out, and a field measured over land ends up sitting in
338
+ * the sea. Scaling it with the projection keeps the claim the same one.
339
+ */
340
+ declare function MapHeatmap({ data, weight, radius, intensity, opacity, maxZoom, id, }: MapHeatmapProps): import("react").JSX.Element | null;
341
+ declare namespace MapHeatmap {
342
+ var displayName: string;
343
+ }
344
+ export interface MapUserLocationProps {
345
+ /** Show which way the device is facing, not just where it is. */
346
+ heading?: boolean;
347
+ /** Draw the ring showing how confident the fix is. */
348
+ accuracy?: boolean;
349
+ }
350
+ /** The device's own position, drawn by the renderer. */
351
+ declare function MapUserLocation({ heading, accuracy, }: MapUserLocationProps): import("react").JSX.Element | null;
352
+ declare namespace MapUserLocation {
353
+ var displayName: string;
354
+ }
355
+ export declare const Map: import("react").ForwardRefExoticComponent<MapProps & import("react").RefAttributes<MapHandle>> & {
356
+ Marker: typeof MapMarker;
357
+ Label: typeof MapLabel;
358
+ Popup: typeof MapPopup;
359
+ Controls: typeof MapControls;
360
+ Route: typeof MapRoute;
361
+ Arc: typeof MapArc;
362
+ GeoJSON: typeof MapGeoJSON;
363
+ Cluster: typeof MapCluster;
364
+ Heatmap: typeof MapHeatmap;
365
+ UserLocation: typeof MapUserLocation;
366
+ };
367
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/map/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM/D,OAAO,EAEL,YA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AAY,EACZ,EAAc,GACf,EAAE,eAAe,sCAgEjB;kBAxEQ,UAAU;;;AA2EnB,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wDAAwD;AACxD,iBAAS,eAAe,CAAC,EACvB,OAAe,EACf,QAAgB,GACjB,EAAE,oBAAoB,sCAItB;kBAPQ,eAAe;;;AAUxB,eAAO,MAAM,GAAG;;;;;;;;;;;CAWd,CAAC"}
@@ -0,0 +1,193 @@
1
+ /**
2
+ * The bridge to MapLibre.
3
+ *
4
+ * A map is the one component here that cannot be drawn in JavaScript. It needs
5
+ * a renderer with the tiles, the projection and the GPU work already solved,
6
+ * and that renderer is native code — which means `Map` is the only component
7
+ * in the library with a dependency you have to build for.
8
+ *
9
+ * Two things follow, and both are handled here rather than spread through the
10
+ * component:
11
+ *
12
+ * The package is resolved lazily and once. A project that never renders a map
13
+ * installs nothing, and the failure when it is missing is a readable fallback
14
+ * rather than a red screen — which matters because the most common way to hit
15
+ * it is running in a client that cannot load native modules at all.
16
+ *
17
+ * The types are declared here rather than imported from the package. They are
18
+ * structural and cover only what is used. Importing them would put the package
19
+ * in the library's published type surface, so anyone installing PanelUI would
20
+ * have to install a map renderer to typecheck their project, whether or not
21
+ * they ever draw a map.
22
+ *
23
+ * The cost of that choice is that nothing checks these declarations against the
24
+ * renderer, and React Native drops props it does not recognise without a word —
25
+ * so a renamed prop is silently ignored rather than caught. They track the
26
+ * renderer's **v11** API. When the peer range widens, re-read the props used
27
+ * below against the package rather than assuming they survived.
28
+ */
29
+ import type { ComponentType, ReactElement, ReactNode, Ref } from 'react';
30
+ /** `[longitude, latitude]` — the order the style spec uses, not the spoken one. */
31
+ export type LngLat = [number, number];
32
+ /** `[west, south, east, north]`. */
33
+ export type LngLatBounds = [number, number, number, number];
34
+ /**
35
+ * A MapLibre style document. Left loose on purpose: the spec is large, it is
36
+ * versioned separately from this library, and the parts of it callers pass
37
+ * through are exactly the parts a narrower type would get in the way of.
38
+ */
39
+ export type StyleSpecification = Record<string, unknown>;
40
+ /** Where the map is looking. */
41
+ export interface ViewState {
42
+ center: LngLat;
43
+ zoom: number;
44
+ bearing: number;
45
+ pitch: number;
46
+ bounds: LngLatBounds;
47
+ }
48
+ export interface MapRef {
49
+ getCenter(): Promise<LngLat>;
50
+ getZoom(): Promise<number>;
51
+ getBearing(): Promise<number>;
52
+ getPitch(): Promise<number>;
53
+ getBounds(): Promise<LngLatBounds>;
54
+ getViewState(): Promise<ViewState>;
55
+ }
56
+ /** Pixel insets held off the edges of the viewport. */
57
+ export interface ViewPadding {
58
+ top?: number;
59
+ right?: number;
60
+ bottom?: number;
61
+ left?: number;
62
+ }
63
+ /** Zoom, tilt and rotation — everything about the camera except where it sits. */
64
+ export interface CameraOptions {
65
+ zoom?: number;
66
+ bearing?: number;
67
+ pitch?: number;
68
+ padding?: ViewPadding;
69
+ }
70
+ /** How the camera gets there. */
71
+ export interface CameraAnimationOptions {
72
+ duration?: number;
73
+ easing?: 'linear' | 'ease' | 'fly';
74
+ }
75
+ /**
76
+ * Where the camera starts. Either a centre or a box, never both — the renderer
77
+ * types them as a union for the same reason: a camera framing a box has no
78
+ * separate centre to honour.
79
+ */
80
+ export type InitialViewState = (CameraOptions & {
81
+ center?: never;
82
+ bounds?: never;
83
+ }) | (CameraOptions & {
84
+ center: LngLat;
85
+ bounds?: never;
86
+ }) | (CameraOptions & {
87
+ bounds: LngLatBounds;
88
+ center?: never;
89
+ });
90
+ export interface CameraRef {
91
+ jumpTo(options: {
92
+ center: LngLat;
93
+ } & CameraOptions): void;
94
+ easeTo(options: {
95
+ center?: LngLat;
96
+ } & CameraOptions & CameraAnimationOptions): void;
97
+ flyTo(options: {
98
+ center?: LngLat;
99
+ } & CameraOptions & CameraAnimationOptions): void;
100
+ fitBounds(bounds: LngLatBounds, options?: CameraOptions & CameraAnimationOptions): void;
101
+ }
102
+ /** A native event as it arrives — the payload is under `nativeEvent`. */
103
+ export interface NativeEvent<T> {
104
+ nativeEvent: T;
105
+ }
106
+ interface MapLibreModule {
107
+ Map: ComponentType<{
108
+ ref?: Ref<MapRef>;
109
+ mapStyle: string | StyleSpecification;
110
+ style?: unknown;
111
+ logo?: boolean;
112
+ compass?: boolean;
113
+ attribution?: boolean;
114
+ scaleBar?: boolean;
115
+ dragPan?: boolean;
116
+ touchZoom?: boolean;
117
+ touchRotate?: boolean;
118
+ touchPitch?: boolean;
119
+ onPress?: (event: NativeEvent<{
120
+ coordinates: LngLat;
121
+ }>) => void;
122
+ onDidFinishLoadingMap?: () => void;
123
+ onRegionDidChange?: (event: NativeEvent<ViewState>) => void;
124
+ children?: ReactNode;
125
+ }>;
126
+ Camera: ComponentType<{
127
+ ref?: Ref<CameraRef>;
128
+ /**
129
+ * The camera's opening position. Applied once, on the first frame — every
130
+ * move after this one goes through the ref, so a re-render never yanks the
131
+ * map back out from under a gesture.
132
+ */
133
+ initialViewState?: InitialViewState;
134
+ center?: LngLat;
135
+ bounds?: LngLatBounds;
136
+ zoom?: number;
137
+ bearing?: number;
138
+ pitch?: number;
139
+ minZoom?: number;
140
+ maxZoom?: number;
141
+ maxBounds?: LngLatBounds;
142
+ padding?: ViewPadding;
143
+ }>;
144
+ Marker: ComponentType<{
145
+ id?: string;
146
+ lngLat: LngLat;
147
+ anchor?: string;
148
+ children: ReactElement;
149
+ }>;
150
+ Callout: ComponentType<{
151
+ title?: string;
152
+ children?: ReactNode;
153
+ style?: unknown;
154
+ }>;
155
+ GeoJSONSource: ComponentType<{
156
+ id?: string;
157
+ data: unknown;
158
+ cluster?: boolean;
159
+ clusterRadius?: number;
160
+ clusterMaxZoom?: number;
161
+ lineMetrics?: boolean;
162
+ onPress?: (event: NativeEvent<{
163
+ features: unknown[];
164
+ }>) => void;
165
+ children?: ReactNode;
166
+ }>;
167
+ Layer: ComponentType<Record<string, unknown>>;
168
+ UserLocation: ComponentType<{
169
+ animated?: boolean;
170
+ accuracy?: boolean;
171
+ heading?: boolean;
172
+ minDisplacement?: number;
173
+ onPress?: () => void;
174
+ children?: ReactNode;
175
+ }>;
176
+ }
177
+ /**
178
+ * True when a map can actually be drawn.
179
+ *
180
+ * False in any client that cannot load native modules, and in any project that
181
+ * has not installed the renderer. Worth checking before routing somewhere whose
182
+ * whole content is a map.
183
+ */
184
+ export declare const hasMapLibre: boolean;
185
+ /**
186
+ * The renderer's components, or null.
187
+ *
188
+ * Returned as one object rather than as separate exports so a caller destructures
189
+ * once after a single null check, instead of narrowing each component in turn.
190
+ */
191
+ export declare const MapLibre: MapLibreModule | null;
192
+ export {};
193
+ //# sourceMappingURL=maplibre.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maplibre.d.ts","sourceRoot":"","sources":["../../../../../src/components/map/maplibre.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEzE,mFAAmF;AACnF,MAAM,MAAM,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtC,oCAAoC;AACpC,MAAM,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEzD,gCAAgC;AAChC,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,MAAM;IACrB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO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E;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,SAAS,EACT,YAAoB,EACpB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,wBAAwB,+BAe1B;kBArBQ,mBAAmB;;;AAwB5B,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;IACjF,MAAM,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;GAKG;AACH,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,MAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,0BAA0B,+BAkD5B;kBAxDQ,qBAAqB;;;AA2D9B,eAAO,MAAM,eAAe;;;;;CAK1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/message-scroller/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAiB,EAQf,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AAgBjC,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,CAAC;AAmCtE,sEAAsE;AACtE,wBAAgB,kBAAkB;6BAlBP,OAAO,KAAK,IAAI;+BACd,OAAO,KAAK,IAAI;0BACrB,MAAM,aAAa,OAAO,KAAK,IAAI;EAmB1D;AAED;;;;GAIG;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