@worldresources/wri-design-systems 2.144.0 → 2.145.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
@@ -612,6 +612,22 @@ interface ExtendableCardProps {
612
612
 
613
613
  declare const ExtendableCard: ({ children, header, footer }: ExtendableCardProps) => _emotion_react_jsx_runtime.JSX.Element;
614
614
 
615
+ interface AnalysisWidgetProps {
616
+ children: React__default.ReactNode;
617
+ header: React__default.ReactNode;
618
+ footer?: React__default.ReactNode;
619
+ expanded?: boolean;
620
+ collapsible?: boolean;
621
+ actions?: AnalysisWidgetActionsProps[];
622
+ }
623
+ interface AnalysisWidgetActionsProps {
624
+ label: string;
625
+ onClick: () => void;
626
+ icon?: React__default.ReactNode;
627
+ }
628
+
629
+ declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
630
+
615
631
  type ModalProps = {
616
632
  header: React.ReactNode;
617
633
  content: React.ReactNode;
@@ -819,4 +835,4 @@ type ToastProps = {
819
835
 
820
836
  declare const showToast: (props: ToastProps) => void;
821
837
 
822
- export { 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 };
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 };