@geowiki/design-system 0.16.5-dev.2 → 0.16.7-dev.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/dist/index.d.ts CHANGED
@@ -549,6 +549,10 @@ declare const XIcon: ({ ...props }: {
549
549
  [x: string]: any;
550
550
  }) => react_jsx_runtime.JSX.Element;
551
551
 
552
+ declare const GlobeIcon: ({ ...props }: {
553
+ [x: string]: any;
554
+ }) => react_jsx_runtime.JSX.Element;
555
+
552
556
  declare const DownloadIcon: () => react_jsx_runtime.JSX.Element;
553
557
 
554
558
  declare const FarmerClusterPin: ({ ...props }: {
@@ -1179,4 +1183,150 @@ interface H1BodyButtonWithAppProps {
1179
1183
  }
1180
1184
  declare const H1BodyButtonWithApp: (props: H1BodyButtonWithAppProps) => react_jsx_runtime.JSX.Element;
1181
1185
 
1182
- export { AboutInfoItem, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppItem, AppItemsList, AspectRatio, AtomIcon, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, BasicFooter, BigLandingTitle, BigLandingTitleAccent, Body12, Body12m, Body12sb, Body14, Body14m, Body14sb, Body15, Body15it, Body15m, Body15sb, Body16, Body16it, Body16m, Body16sb, Body18, Body18m, Body18sb, Body20, Body20m, Body20sb, BookTextIcon, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonContent, ButtonLink, ButtonProps$1 as ButtonProps, Calendar, CalendarIcon, CalendarProps, CameraIcon, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartLineDotsIcon, ChatsIcons, Checkbox$1 as Checkbox, ClipboardIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Cookies, CountryItem, CpuIcon, CustomImage, CustomTable, DeleteButton, DesignButton, Checkbox as DesignCheckbox, DesignFooter, DesignHeader, DesignHeaderProps, DesignInput, DesignInputProps, DesignRadioGroup, DesignRadioGroupItem, DesignResultTag, DesignSelect, DesignSelectContent, DesignSelectGroup, DesignSelectItem, DesignSelectLabel, DesignSelectSeparator, DesignSelectTrigger, DesignSelectValue, DesignSimpleTag, DesignSwitch, DesktopCodeIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayItem, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorMessage, FaqComponent, FarmerClusterPin, FarmerClustersIcon, FeatureDisabled, FeaturedItemWithBannerImage, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullPageLoader, GridDividersIcon, H1AccentDesign, H1BodyButton, H1BodyButtonProps, H1BodyButtonWithApp, H1BodyButtonWithAppProps, H1Design, H2AccentDesign, H2BodyButton, H2Design, H3Design, H4Design, H5Design, H6Design, H7Design, H8Design, H9Design, HardDriveIcon, HeadphonesIcon, HeroImage, HeroImageRightWithAppButtons, Hexagon, HoverCard, HoverCardContent, HoverCardTrigger, IPanelHorizontalProps, Icon, IconPaths, IframeViewer, ImageIcon, InfoBox, Input, InputProps, KeyInfoItem, Label, LandingTitle, LandingTitleAccent, LastUpdatedTag, LayerGroupIcon, LegendIcon, LinkButtonItem, Loader, LoaderFull, LocalLoader, LocationIcon, MapIcon, MapLayersIcon, MapLegendIcon, MediaEmbedItem, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Microscope, MicroscopeIcon, MinusIcon, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NoResults, ObservationPin, OldButton, OldCustomInput, OverlayIcon, Pagination, PanelHorizontal, PermissionDisabled, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrimaryButton, Progress, RadioGroup, RadioGroupItem, ResourcesIcon, ResourcesQuickFind, ScrollArea, ScrollBar, Search, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowLargeText, ShowShortText, SizedImage, Skeleton, Slider, StopWatchCheckIcon, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableViewProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagList, TagsGroup, TestWeight, TextArea, Textarea, TextareaProps, ThemeSwitcher, ThreeColumn, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UmamiAnalytics, UnderConstruction, UserGroupIcon, UsersGroup, VersionDisplay, VideoPlayIcon, XIcon, badgeVariants, buttonVariants, cn, designButtonVariants, getPages, navigationMenuTriggerStyle, reducer, toast, toggleVariants, useDebounce, useFormField, useToast };
1186
+ type MapControlPosition = "topleft" | "topright" | "bottomleft" | "bottomright";
1187
+ type MapControlPopoverDirection = "top" | "right" | "bottom" | "left";
1188
+ interface MapControlToolbarItem {
1189
+ id: string;
1190
+ title?: string;
1191
+ icon: React$1.ComponentType<{
1192
+ className?: string;
1193
+ }>;
1194
+ panel?: React$1.ReactNode;
1195
+ onClick?: () => void;
1196
+ position?: MapControlPosition;
1197
+ isOpen?: boolean;
1198
+ isDisplayOnly?: boolean;
1199
+ popoverDirection?: MapControlPopoverDirection;
1200
+ isMobileFilter?: boolean;
1201
+ }
1202
+ interface MapControlToolbarProps {
1203
+ controls: MapControlToolbarItem[];
1204
+ onToggleControl: (id: string) => void;
1205
+ }
1206
+ declare const MapControlToolbar: {
1207
+ ({ controls, onToggleControl, }: MapControlToolbarProps): react_jsx_runtime.JSX.Element;
1208
+ displayName: string;
1209
+ };
1210
+
1211
+ interface MapLayerInfo {
1212
+ citation?: string;
1213
+ dateOfContent?: string;
1214
+ description?: string;
1215
+ function?: string;
1216
+ geographicCoverage?: string;
1217
+ isVisible?: boolean;
1218
+ license?: string;
1219
+ source?: string;
1220
+ name?: string;
1221
+ resolution?: string;
1222
+ overview?: string;
1223
+ hoverCardText?: string;
1224
+ sourceLink?: {
1225
+ name?: string;
1226
+ href?: string;
1227
+ };
1228
+ citationLink?: {
1229
+ name?: string;
1230
+ href?: string;
1231
+ };
1232
+ }
1233
+ interface MapLayerWithInfo {
1234
+ id: string;
1235
+ title?: string;
1236
+ url: string;
1237
+ type: "WMS" | "GeoJson" | "GeoTrees" | "GoogleSheets" | "Marker" | "MarkerCluster";
1238
+ layerName: string;
1239
+ layerInfo?: MapLayerInfo;
1240
+ opacity: number;
1241
+ color: string;
1242
+ properties?: string;
1243
+ showPopup?: boolean;
1244
+ index: number;
1245
+ order?: number;
1246
+ legendConfig?: CustomLegendConfig;
1247
+ }
1248
+
1249
+ interface CustomLegendItem {
1250
+ label: string;
1251
+ color: string;
1252
+ symbol?: "circle" | "square" | "line" | "polygon" | "hexagon" | "icon";
1253
+ iconPath?: string;
1254
+ size?: number;
1255
+ }
1256
+ interface CustomLegendConfig {
1257
+ title?: string;
1258
+ items: CustomLegendItem[];
1259
+ position?: "top" | "bottom" | "left" | "right";
1260
+ showTitle?: boolean;
1261
+ }
1262
+ interface PopupConfig {
1263
+ enabled: boolean;
1264
+ renderContent: (feature: any) => string;
1265
+ popupOptions?: {
1266
+ maxWidth?: number;
1267
+ maxHeight?: number;
1268
+ className?: string;
1269
+ [key: string]: any;
1270
+ };
1271
+ }
1272
+ interface CustomMapLayer extends MapLayerWithInfo {
1273
+ isCustom: true;
1274
+ legendConfig?: CustomLegendConfig;
1275
+ layerData?: any;
1276
+ styleConfig?: {
1277
+ fillColor?: string;
1278
+ strokeColor?: string;
1279
+ strokeWidth?: number;
1280
+ fillOpacity?: number;
1281
+ strokeOpacity?: number;
1282
+ statusColorMap?: Record<string, string>;
1283
+ };
1284
+ popupConfig?: PopupConfig;
1285
+ ontoggle?: () => void;
1286
+ }
1287
+
1288
+ type MapMenuItemDto = {
1289
+ IconCSS?: string;
1290
+ IsVisible?: boolean;
1291
+ Order?: number;
1292
+ };
1293
+ type LayerInfo = {
1294
+ citation: string;
1295
+ dateOfContent: string;
1296
+ description: string;
1297
+ function: string;
1298
+ geographicCoverage: string;
1299
+ isVisible: string;
1300
+ license: string;
1301
+ source: string;
1302
+ name: string;
1303
+ resolution: string;
1304
+ overview: string;
1305
+ hoverCardText: string;
1306
+ sourceLink: [];
1307
+ citationLink: [];
1308
+ };
1309
+ type Layer = {
1310
+ id: string;
1311
+ title: string;
1312
+ url: string;
1313
+ type: string;
1314
+ layerName: string;
1315
+ color: string;
1316
+ properties: string;
1317
+ showPopup: boolean;
1318
+ order: number;
1319
+ layerInfo?: LayerInfo;
1320
+ };
1321
+ type MapMenuItemItemDto = {
1322
+ MapMenuItem?: MapMenuItemDto | null;
1323
+ Layers?: Layer[];
1324
+ Title?: string;
1325
+ };
1326
+
1327
+ declare const LayerSwitcher: React$1.MemoExoticComponent<({ mapMenuItems, customLayers }: {
1328
+ mapMenuItems: MapMenuItemItemDto[];
1329
+ customLayers: CustomMapLayer[];
1330
+ }) => react_jsx_runtime.JSX.Element>;
1331
+
1332
+ export { AboutInfoItem, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppItem, AppItemsList, AspectRatio, AtomIcon, Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, BasicFooter, BigLandingTitle, BigLandingTitleAccent, Body12, Body12m, Body12sb, Body14, Body14m, Body14sb, Body15, Body15it, Body15m, Body15sb, Body16, Body16it, Body16m, Body16sb, Body18, Body18m, Body18sb, Body20, Body20m, Body20sb, BookTextIcon, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonContent, ButtonLink, ButtonProps$1 as ButtonProps, Calendar, CalendarIcon, CalendarProps, CameraIcon, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartLineDotsIcon, ChatsIcons, Checkbox$1 as Checkbox, ClipboardIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Cookies, CountryItem, CpuIcon, CustomImage, CustomTable, DeleteButton, DesignButton, Checkbox as DesignCheckbox, DesignFooter, DesignHeader, DesignHeaderProps, DesignInput, DesignInputProps, DesignRadioGroup, DesignRadioGroupItem, DesignResultTag, DesignSelect, DesignSelectContent, DesignSelectGroup, DesignSelectItem, DesignSelectLabel, DesignSelectSeparator, DesignSelectTrigger, DesignSelectValue, DesignSimpleTag, DesignSwitch, DesktopCodeIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayItem, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorMessage, FaqComponent, FarmerClusterPin, FarmerClustersIcon, FeatureDisabled, FeaturedItemWithBannerImage, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullPageLoader, GlobeIcon, GridDividersIcon, H1AccentDesign, H1BodyButton, H1BodyButtonProps, H1BodyButtonWithApp, H1BodyButtonWithAppProps, H1Design, H2AccentDesign, H2BodyButton, H2Design, H3Design, H4Design, H5Design, H6Design, H7Design, H8Design, H9Design, HardDriveIcon, HeadphonesIcon, HeroImage, HeroImageRightWithAppButtons, Hexagon, HoverCard, HoverCardContent, HoverCardTrigger, IPanelHorizontalProps, Icon, IconPaths, IframeViewer, ImageIcon, InfoBox, Input, InputProps, KeyInfoItem, Label, LandingTitle, LandingTitleAccent, LastUpdatedTag, LayerGroupIcon, LayerSwitcher, LegendIcon, LinkButtonItem, Loader, LoaderFull, LocalLoader, LocationIcon, MapControlPopoverDirection, MapControlPosition, MapControlToolbar, MapControlToolbarItem, MapIcon, MapLayersIcon, MapLegendIcon, MediaEmbedItem, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Microscope, MicroscopeIcon, MinusIcon, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NoResults, ObservationPin, OldButton, OldCustomInput, OverlayIcon, Pagination, PanelHorizontal, PermissionDisabled, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrimaryButton, Progress, RadioGroup, RadioGroupItem, ResourcesIcon, ResourcesQuickFind, ScrollArea, ScrollBar, Search, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowLargeText, ShowShortText, SizedImage, Skeleton, Slider, StopWatchCheckIcon, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableViewProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagList, TagsGroup, TestWeight, TextArea, Textarea, TextareaProps, ThemeSwitcher, ThreeColumn, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UmamiAnalytics, UnderConstruction, UserGroupIcon, UsersGroup, VersionDisplay, VideoPlayIcon, XIcon, badgeVariants, buttonVariants, cn, designButtonVariants, getPages, navigationMenuTriggerStyle, reducer, toast, toggleVariants, useDebounce, useFormField, useToast };