@worldresources/wri-design-systems 2.146.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/README.md +1 -0
- package/dist/index.cjs.js +144 -76
- package/dist/index.d.ts +27 -2
- package/dist/index.esm.js +941 -873
- package/package.json +1 -1
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
|
|
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;
|
|
@@ -777,6 +791,17 @@ type TabBarProps = {
|
|
|
777
791
|
|
|
778
792
|
declare const TabBar: ({ variant, defaultValue, tabs, onTabClick, activationMode, }: TabBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
779
793
|
|
|
794
|
+
type AvatarProps = {
|
|
795
|
+
name: string;
|
|
796
|
+
ariaLabel?: string;
|
|
797
|
+
src?: string;
|
|
798
|
+
srcSet?: string;
|
|
799
|
+
onClick?: () => void;
|
|
800
|
+
notificationCount?: number;
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
804
|
+
|
|
780
805
|
type BadgeProps = {
|
|
781
806
|
hasNotification?: boolean;
|
|
782
807
|
notificationCount?: number;
|
|
@@ -835,4 +860,4 @@ type ToastProps = {
|
|
|
835
860
|
|
|
836
861
|
declare const showToast: (props: ToastProps) => void;
|
|
837
862
|
|
|
838
|
-
export { AnalysisWidget, 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 };
|