@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.cjs.js +353 -362
- package/dist/index.d.ts +17 -17
- package/dist/index.esm.js +353 -362
- package/package.json +1 -1
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,
|
|
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
|
|
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
|
|
443
|
+
declare const MapMarker: React$1.ForwardRefExoticComponent<MapMarkerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
444
444
|
|
|
445
|
-
type
|
|
445
|
+
type GenericMapMarkersProps$1 = {
|
|
446
446
|
onClick?: () => void;
|
|
447
447
|
triggerRef?: React__default.Ref<HTMLButtonElement>;
|
|
448
448
|
showFocusState?: boolean;
|
|
449
|
-
count?:
|
|
450
|
-
mode?:
|
|
451
|
-
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, }:
|
|
454
|
-
declare const SimpleMapPin: ({ onClick, triggerRef, showFocusState, count, mode, variant, }:
|
|
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
|
|
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
|
|
463
|
-
Paper: ({ ariaLabel, onClick, triggerRef, showFocusState, }:
|
|
464
|
-
Drop: ({ ariaLabel, onClick, triggerRef, showFocusState, }:
|
|
465
|
-
Plant: ({ ariaLabel, onClick, triggerRef, showFocusState, }:
|
|
466
|
-
Point: ({ ariaLabel, onClick, triggerRef, showFocusState, }:
|
|
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,
|
|
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 };
|