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