@geowiki/design-system 0.16.6-dev.5 → 0.16.7-dev.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.
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 }: {
@@ -1166,7 +1170,6 @@ interface H1BodyButtonProps {
1166
1170
  title: string;
1167
1171
  textBody?: string;
1168
1172
  button?: LinkButtonItem;
1169
- override_link_style?: boolean | true;
1170
1173
  }
1171
1174
  declare const H1BodyButton: (props: H1BodyButtonProps) => react_jsx_runtime.JSX.Element;
1172
1175
  interface H1BodyButtonWithAppProps {
@@ -1179,4 +1182,150 @@ interface H1BodyButtonWithAppProps {
1179
1182
  }
1180
1183
  declare const H1BodyButtonWithApp: (props: H1BodyButtonWithAppProps) => react_jsx_runtime.JSX.Element;
1181
1184
 
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 };
1185
+ type MapControlPosition = "topleft" | "topright" | "bottomleft" | "bottomright";
1186
+ type MapControlPopoverDirection = "top" | "right" | "bottom" | "left";
1187
+ interface MapControlToolbarItem {
1188
+ id: string;
1189
+ title?: string;
1190
+ icon: React$1.ComponentType<{
1191
+ className?: string;
1192
+ }>;
1193
+ panel?: React$1.ReactNode;
1194
+ onClick?: () => void;
1195
+ position?: MapControlPosition;
1196
+ isOpen?: boolean;
1197
+ isDisplayOnly?: boolean;
1198
+ popoverDirection?: MapControlPopoverDirection;
1199
+ isMobileFilter?: boolean;
1200
+ }
1201
+ interface MapControlToolbarProps {
1202
+ controls: MapControlToolbarItem[];
1203
+ onToggleControl: (id: string) => void;
1204
+ }
1205
+ declare const MapControlToolbar: {
1206
+ ({ controls, onToggleControl, }: MapControlToolbarProps): react_jsx_runtime.JSX.Element;
1207
+ displayName: string;
1208
+ };
1209
+
1210
+ interface MapLayerInfo {
1211
+ citation?: string;
1212
+ dateOfContent?: string;
1213
+ description?: string;
1214
+ function?: string;
1215
+ geographicCoverage?: string;
1216
+ isVisible?: boolean;
1217
+ license?: string;
1218
+ source?: string;
1219
+ name?: string;
1220
+ resolution?: string;
1221
+ overview?: string;
1222
+ hoverCardText?: string;
1223
+ sourceLink?: {
1224
+ name?: string;
1225
+ href?: string;
1226
+ };
1227
+ citationLink?: {
1228
+ name?: string;
1229
+ href?: string;
1230
+ };
1231
+ }
1232
+ interface MapLayerWithInfo {
1233
+ id: string;
1234
+ title?: string;
1235
+ url: string;
1236
+ type: "WMS" | "GeoJson" | "GeoTrees" | "GoogleSheets" | "Marker" | "MarkerCluster";
1237
+ layerName: string;
1238
+ layerInfo?: MapLayerInfo;
1239
+ opacity: number;
1240
+ color: string;
1241
+ properties?: string;
1242
+ showPopup?: boolean;
1243
+ index: number;
1244
+ order?: number;
1245
+ legendConfig?: CustomLegendConfig;
1246
+ }
1247
+
1248
+ interface CustomLegendItem {
1249
+ label: string;
1250
+ color: string;
1251
+ symbol?: "circle" | "square" | "line" | "polygon" | "hexagon" | "icon";
1252
+ iconPath?: string;
1253
+ size?: number;
1254
+ }
1255
+ interface CustomLegendConfig {
1256
+ title?: string;
1257
+ items: CustomLegendItem[];
1258
+ position?: "top" | "bottom" | "left" | "right";
1259
+ showTitle?: boolean;
1260
+ }
1261
+ interface PopupConfig {
1262
+ enabled: boolean;
1263
+ renderContent: (feature: any) => string;
1264
+ popupOptions?: {
1265
+ maxWidth?: number;
1266
+ maxHeight?: number;
1267
+ className?: string;
1268
+ [key: string]: any;
1269
+ };
1270
+ }
1271
+ interface CustomMapLayer extends MapLayerWithInfo {
1272
+ isCustom: true;
1273
+ legendConfig?: CustomLegendConfig;
1274
+ layerData?: any;
1275
+ styleConfig?: {
1276
+ fillColor?: string;
1277
+ strokeColor?: string;
1278
+ strokeWidth?: number;
1279
+ fillOpacity?: number;
1280
+ strokeOpacity?: number;
1281
+ statusColorMap?: Record<string, string>;
1282
+ };
1283
+ popupConfig?: PopupConfig;
1284
+ ontoggle?: () => void;
1285
+ }
1286
+
1287
+ type MapMenuItemDto = {
1288
+ IconCSS?: string;
1289
+ IsVisible?: boolean;
1290
+ Order?: number;
1291
+ };
1292
+ type LayerInfo = {
1293
+ citation: string;
1294
+ dateOfContent: string;
1295
+ description: string;
1296
+ function: string;
1297
+ geographicCoverage: string;
1298
+ isVisible: string;
1299
+ license: string;
1300
+ source: string;
1301
+ name: string;
1302
+ resolution: string;
1303
+ overview: string;
1304
+ hoverCardText: string;
1305
+ sourceLink: [];
1306
+ citationLink: [];
1307
+ };
1308
+ type Layer = {
1309
+ id: string;
1310
+ title: string;
1311
+ url: string;
1312
+ type: string;
1313
+ layerName: string;
1314
+ color: string;
1315
+ properties: string;
1316
+ showPopup: boolean;
1317
+ order: number;
1318
+ layerInfo?: LayerInfo;
1319
+ };
1320
+ type MapMenuItemItemDto = {
1321
+ MapMenuItem?: MapMenuItemDto | null;
1322
+ Layers?: Layer[];
1323
+ Title?: string;
1324
+ };
1325
+
1326
+ declare const LayerSwitcher: React$1.MemoExoticComponent<({ mapMenuItems, customLayers }: {
1327
+ mapMenuItems: MapMenuItemItemDto[];
1328
+ customLayers: CustomMapLayer[];
1329
+ }) => react_jsx_runtime.JSX.Element>;
1330
+
1331
+ 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 };