@worldresources/wri-design-systems 2.148.12 → 2.150.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
@@ -54,6 +54,7 @@ interface ToolbarItem {
54
54
  disabled?: boolean;
55
55
  onClick?: () => void;
56
56
  gap?: boolean;
57
+ tooltip?: string;
57
58
  }
58
59
  interface ToolbarProps {
59
60
  items: ToolbarItem[];
@@ -62,10 +63,9 @@ interface ToolbarProps {
62
63
  showExpandedToggle?: boolean;
63
64
  ariaLabel?: string;
64
65
  defaultGaps?: boolean;
65
- breakpoint?: number;
66
66
  }
67
67
 
68
- declare const Toolbar: ({ items, vertical, expanded, showExpandedToggle, ariaLabel, defaultGaps, breakpoint, }: ToolbarProps) => _emotion_react_jsx_runtime.JSX.Element;
68
+ declare const Toolbar: ({ items, vertical, expanded, showExpandedToggle, ariaLabel, defaultGaps, }: ToolbarProps) => _emotion_react_jsx_runtime.JSX.Element;
69
69
 
70
70
  type MapControlsToolbarProps = {
71
71
  onZoomInClick?: () => void;
@@ -429,7 +429,7 @@ type BaseMapProps = {
429
429
 
430
430
  declare const BaseMap: ({ title, caption, additionalSettings, options, onOptionSelected, maxHeight, maxWidth, }: BaseMapProps) => _emotion_react_jsx_runtime.JSX.Element;
431
431
 
432
- type IconMarkerProps = {
432
+ type MapMarkerProps = {
433
433
  ariaLabel?: string;
434
434
  icon?: React.ReactNode;
435
435
  backgroundColor?: string;
@@ -440,30 +440,30 @@ type IconMarkerProps = {
440
440
  variant?: 'cluster' | 'simple-pin' | 'icon';
441
441
  };
442
442
 
443
- declare const IconMarker: React$1.ForwardRefExoticComponent<IconMarkerProps & React$1.RefAttributes<HTMLButtonElement>>;
443
+ declare const MapMarker: React$1.ForwardRefExoticComponent<MapMarkerProps & React$1.RefAttributes<HTMLButtonElement>>;
444
444
 
445
- type GenericIconMarkersProps$1 = {
445
+ type GenericMapMarkersProps$1 = {
446
446
  onClick?: () => void;
447
447
  triggerRef?: React__default.Ref<HTMLButtonElement>;
448
448
  showFocusState?: boolean;
449
- count?: IconMarkerProps['count'];
450
- mode?: IconMarkerProps['mode'];
451
- variant?: IconMarkerProps['variant'];
449
+ count?: MapMarkerProps['count'];
450
+ mode?: MapMarkerProps['mode'];
451
+ variant?: MapMarkerProps['variant'];
452
452
  };
453
- declare const ClusterPoint: ({ onClick, triggerRef, showFocusState, count, mode, variant, }: GenericIconMarkersProps$1) => react_jsx_runtime.JSX.Element;
454
- declare const SimpleMapPin: ({ onClick, triggerRef, showFocusState, count, mode, variant, }: GenericIconMarkersProps$1) => react_jsx_runtime.JSX.Element;
453
+ declare const ClusterPoint: ({ onClick, triggerRef, showFocusState, count, mode, variant, }: GenericMapMarkersProps$1) => react_jsx_runtime.JSX.Element;
454
+ declare const SimpleMapPin: ({ onClick, triggerRef, showFocusState, count, mode, variant, }: GenericMapMarkersProps$1) => react_jsx_runtime.JSX.Element;
455
455
 
456
- type GenericIconMarkersProps = {
456
+ type GenericMapMarkersProps = {
457
457
  ariaLabel?: string;
458
458
  onClick?: () => void;
459
459
  triggerRef?: React__default.Ref<HTMLButtonElement>;
460
460
  showFocusState?: boolean;
461
461
  };
462
- declare const IconMarkers: {
463
- Paper: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericIconMarkersProps) => react_jsx_runtime.JSX.Element;
464
- Drop: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericIconMarkersProps) => react_jsx_runtime.JSX.Element;
465
- Plant: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericIconMarkersProps) => react_jsx_runtime.JSX.Element;
466
- Point: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericIconMarkersProps) => react_jsx_runtime.JSX.Element;
462
+ declare const MapMarkers: {
463
+ Paper: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericMapMarkersProps) => react_jsx_runtime.JSX.Element;
464
+ Drop: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericMapMarkersProps) => react_jsx_runtime.JSX.Element;
465
+ Plant: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericMapMarkersProps) => react_jsx_runtime.JSX.Element;
466
+ Point: ({ ariaLabel, onClick, triggerRef, showFocusState, }: GenericMapMarkersProps) => react_jsx_runtime.JSX.Element;
467
467
  };
468
468
 
469
469
  type MapPopUpProps = {
@@ -862,4 +862,4 @@ type ToastProps = {
862
862
 
863
863
  declare const showToast: (props: ToastProps) => void;
864
864
 
865
- export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, ClusterPoint, ExtendableCard, Footer, IconButton, IconMarker, IconMarkers, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, List, MapControlsToolbar, MapPopUp, Menu, MobileTabBar, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, ProgressBar, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Select, Sheet, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };
865
+ export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, ClusterPoint, ExtendableCard, Footer, IconButton, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, List, MapControlsToolbar, MapMarker, MapMarkers, MapPopUp, Menu, MobileTabBar, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, ProgressBar, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Select, Sheet, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };