@geowiki/design-system 0.16.9-dev.4 → 0.16.9-dev.6

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
@@ -1,6 +1,6 @@
1
1
  import { ClassValue } from 'clsx';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ComponentProps, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes } from 'react';
3
+ import React__default, { ComponentProps, Dispatch, SetStateAction, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes } from 'react';
4
4
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
5
5
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
6
6
  import { VariantProps } from 'class-variance-authority';
@@ -359,11 +359,11 @@ interface TagProps {
359
359
  }
360
360
  declare const Tag: ({ tag, className }: TagProps) => react_jsx_runtime.JSX.Element;
361
361
 
362
- interface Props$i {
362
+ interface Props$j {
363
363
  tags?: string[];
364
364
  tagColor?: string;
365
365
  }
366
- declare const TagList: (props: Props$i) => react_jsx_runtime.JSX.Element;
366
+ declare const TagList: (props: Props$j) => react_jsx_runtime.JSX.Element;
367
367
 
368
368
  interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
369
369
  }
@@ -609,14 +609,14 @@ interface FullPageLoaderProps {
609
609
  }
610
610
  declare const FullPageLoader: ({ show }: FullPageLoaderProps) => react_jsx_runtime.JSX.Element | null;
611
611
 
612
- interface Props$h {
612
+ interface Props$i {
613
613
  src: string;
614
614
  className?: string;
615
615
  alternativeText?: string;
616
616
  width?: number | string;
617
617
  height?: number | string;
618
618
  }
619
- declare const CustomImage: (props: Props$h) => react_jsx_runtime.JSX.Element;
619
+ declare const CustomImage: (props: Props$i) => react_jsx_runtime.JSX.Element;
620
620
 
621
621
  declare const Loader: () => react_jsx_runtime.JSX.Element;
622
622
 
@@ -636,7 +636,7 @@ declare const ThemeSwitcher: () => react_jsx_runtime.JSX.Element;
636
636
 
637
637
  declare const useDebounce: <V extends unknown>(value: V, delay?: number) => V;
638
638
 
639
- interface Props$g {
639
+ interface Props$h {
640
640
  register?: any;
641
641
  value?: any;
642
642
  defaultValue?: any;
@@ -652,9 +652,9 @@ interface Props$g {
652
652
  noDisplayTextAsLabel?: boolean;
653
653
  cssClass?: string;
654
654
  }
655
- declare const OldCustomInput: (props: Props$g) => react_jsx_runtime.JSX.Element;
655
+ declare const OldCustomInput: (props: Props$h) => react_jsx_runtime.JSX.Element;
656
656
 
657
- type Props$f = {
657
+ type Props$g = {
658
658
  name: string;
659
659
  displayText: string;
660
660
  register: any;
@@ -670,9 +670,9 @@ type Props$f = {
670
670
  Placeholder?: string;
671
671
  showLabel?: boolean;
672
672
  };
673
- declare const MultiSelect: (props: Props$f) => react_jsx_runtime.JSX.Element;
673
+ declare const MultiSelect: (props: Props$g) => react_jsx_runtime.JSX.Element;
674
674
 
675
- interface Props$e {
675
+ interface Props$f {
676
676
  register: any;
677
677
  value: any;
678
678
  defaultValue?: any;
@@ -686,7 +686,7 @@ interface Props$e {
686
686
  isLabelBold?: boolean;
687
687
  isPlaceholderItalic?: boolean;
688
688
  }
689
- declare const TextArea: (props: Props$e) => react_jsx_runtime.JSX.Element;
689
+ declare const TextArea: (props: Props$f) => react_jsx_runtime.JSX.Element;
690
690
 
691
691
  interface UmamiAnalyticsProps {
692
692
  scriptUrl?: string;
@@ -702,18 +702,18 @@ interface UmamiAnalyticsProps {
702
702
  */
703
703
  declare const UmamiAnalytics: React__default.FC<UmamiAnalyticsProps>;
704
704
 
705
- type Props$d = {
705
+ type Props$e = {
706
706
  onClick: any;
707
707
  };
708
- declare const DeleteButton: (props: Props$d) => react_jsx_runtime.JSX.Element;
708
+ declare const DeleteButton: (props: Props$e) => react_jsx_runtime.JSX.Element;
709
709
 
710
- type Props$c = {
710
+ type Props$d = {
711
711
  onClick?: () => void;
712
712
  label: string;
713
713
  type: "button" | "submit";
714
714
  style: "primary" | "secondary" | "danger";
715
715
  };
716
- declare const PrimaryButton: (props: Props$c) => react_jsx_runtime.JSX.Element;
716
+ declare const PrimaryButton: (props: Props$d) => react_jsx_runtime.JSX.Element;
717
717
 
718
718
  interface AboutInfoItemProps {
719
719
  title: string;
@@ -777,10 +777,10 @@ interface CookiesProps {
777
777
  }
778
778
  declare const Cookies: ({ handleAccept, handleDecline }: CookiesProps) => react_jsx_runtime.JSX.Element | null;
779
779
 
780
- interface Props$b {
780
+ interface Props$c {
781
781
  country: string;
782
782
  }
783
- declare const CountryItem: ({ country }: Props$b) => react_jsx_runtime.JSX.Element;
783
+ declare const CountryItem: ({ country }: Props$c) => react_jsx_runtime.JSX.Element;
784
784
 
785
785
  interface InfoBoxProps {
786
786
  title: string;
@@ -801,10 +801,10 @@ interface KeyInfoItemProps$1 {
801
801
  }
802
802
  declare const KeyInfoItem: ({ label, value }: KeyInfoItemProps$1) => react_jsx_runtime.JSX.Element;
803
803
 
804
- interface Props$a {
804
+ interface Props$b {
805
805
  date: string | number | Date;
806
806
  }
807
- declare const LastUpdatedTag: ({ date }: Props$a) => react_jsx_runtime.JSX.Element;
807
+ declare const LastUpdatedTag: ({ date }: Props$b) => react_jsx_runtime.JSX.Element;
808
808
 
809
809
  declare const NoResults: () => react_jsx_runtime.JSX.Element;
810
810
 
@@ -822,14 +822,14 @@ declare const DesignSelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPr
822
822
  declare const DesignSelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
823
823
  declare const DesignSelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
824
824
 
825
- interface Props$9 {
825
+ interface Props$a {
826
826
  tag: string;
827
827
  }
828
828
  declare const designSimpleTagVariants: (props?: ({
829
829
  variant?: "blue" | "orange" | "purple" | "turquoise" | "yellow" | "darkGreen" | "darkBlue" | null | undefined;
830
830
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
831
831
  type TagType$1 = VariantProps<typeof designSimpleTagVariants> & ComponentProps<"span">;
832
- declare const DesignSimpleTag: ({ tag, variant, className, }: Props$9 & TagType$1) => react_jsx_runtime.JSX.Element;
832
+ declare const DesignSimpleTag: ({ tag, variant, className, }: Props$a & TagType$1) => react_jsx_runtime.JSX.Element;
833
833
 
834
834
  declare const DesignSwitch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
835
835
 
@@ -839,6 +839,31 @@ interface DesignResultTagProps {
839
839
  }
840
840
  declare const DesignResultTag: ({ tag, name }: DesignResultTagProps) => react_jsx_runtime.JSX.Element | null;
841
841
 
842
+ interface ResourceTagProps {
843
+ tag: string;
844
+ type: "language" | "audience" | "topic" | "keyword" | "resourceType";
845
+ }
846
+ declare const ResourceTag: React.FC<ResourceTagProps>;
847
+
848
+ interface NotificationProps {
849
+ title: string;
850
+ description: string;
851
+ open: boolean;
852
+ setOpen: Dispatch<SetStateAction<boolean>>;
853
+ icon?: "email" | "computer";
854
+ }
855
+ declare const Notification: ({ title, description, open, setOpen, icon, }: NotificationProps) => react_jsx_runtime.JSX.Element;
856
+
857
+ interface LinkProps {
858
+ title: string;
859
+ href: string;
860
+ isNewTab: boolean;
861
+ }
862
+ interface Props$9 {
863
+ link: LinkProps;
864
+ }
865
+ declare const SimpleLink: ({ link }: Props$9) => react_jsx_runtime.JSX.Element;
866
+
842
867
  interface KeyInfoItemProps {
843
868
  label: string;
844
869
  tags?: string[];
@@ -1190,4 +1215,4 @@ interface H1BodyButtonWithAppProps {
1190
1215
  }
1191
1216
  declare const H1BodyButtonWithApp: (props: H1BodyButtonWithAppProps) => react_jsx_runtime.JSX.Element;
1192
1217
 
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 };
1218
+ 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, Notification, ObservationPin, OldButton, OldCustomInput, OverlayIcon, Pagination, PanelHorizontal, PermissionDisabled, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PrimaryButton, Progress, RadioGroup, RadioGroupItem, ResourceTag, 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, SimpleLink, 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 };