@worldresources/wri-design-systems 2.147.0 → 2.148.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
@@ -429,15 +429,29 @@ type BaseMapProps = {
429
429
  declare const BaseMap: ({ title, caption, additionalSettings, options, onOptionSelected, maxHeight, maxWidth, }: BaseMapProps) => _emotion_react_jsx_runtime.JSX.Element;
430
430
 
431
431
  type IconMarkerProps = {
432
- ariaLabel: string;
432
+ ariaLabel?: string;
433
433
  icon?: React.ReactNode;
434
434
  backgroundColor?: string;
435
435
  onClick?: () => void;
436
436
  showFocusState?: boolean;
437
+ count?: number;
438
+ mode?: 'dark' | 'light';
439
+ variant?: 'cluster' | 'simple-pin' | 'icon';
437
440
  };
438
441
 
439
442
  declare const IconMarker: React$1.ForwardRefExoticComponent<IconMarkerProps & React$1.RefAttributes<HTMLButtonElement>>;
440
443
 
444
+ type GenericIconMarkersProps$1 = {
445
+ onClick?: () => void;
446
+ triggerRef?: React__default.Ref<HTMLButtonElement>;
447
+ showFocusState?: boolean;
448
+ count?: IconMarkerProps['count'];
449
+ mode?: IconMarkerProps['mode'];
450
+ variant?: IconMarkerProps['variant'];
451
+ };
452
+ declare const ClusterPoint: ({ onClick, triggerRef, showFocusState, count, mode, variant, }: GenericIconMarkersProps$1) => react_jsx_runtime.JSX.Element;
453
+ declare const SimpleMapPin: ({ onClick, triggerRef, showFocusState, count, mode, variant, }: GenericIconMarkersProps$1) => react_jsx_runtime.JSX.Element;
454
+
441
455
  type GenericIconMarkersProps = {
442
456
  ariaLabel?: string;
443
457
  onClick?: () => void;
@@ -846,4 +860,4 @@ type ToastProps = {
846
860
 
847
861
  declare const showToast: (props: ToastProps) => void;
848
862
 
849
- export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, 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, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, getThemedColor, showToast };
863
+ 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, getThemedColor, showToast };