@worldresources/wri-design-systems 2.171.0 → 2.172.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
@@ -1,5 +1,5 @@
1
1
  import * as _chakra_ui_react from '@chakra-ui/react';
2
- import { ButtonProps as ButtonProps$1, Checkbox as Checkbox$1, RadioCardRootProps, RadioGroup as RadioGroup$1, Slider as Slider$1, Switch as Switch$1, SelectRootProps, SliderRootProps, TextareaProps as TextareaProps$1, InputProps, Tag as Tag$1, Accordion, Table as Table$1, Tabs } from '@chakra-ui/react';
2
+ import { ButtonProps as ButtonProps$1, Checkbox as Checkbox$1, RadioCardRootProps, RadioGroup as RadioGroup$1, Slider as Slider$1, Switch as Switch$1, SelectRootProps, SliderRootProps, TextareaProps as TextareaProps$1, InputProps, Tag as Tag$1, Accordion, Table as Table$1, BoxProps, Tabs } from '@chakra-ui/react';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactElement, Ref } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -656,6 +656,16 @@ interface AnalysisWidgetActionsProps {
656
656
 
657
657
  declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
658
658
 
659
+ interface ChartContainerProps extends BoxProps {
660
+ isLoading?: boolean;
661
+ isError?: boolean;
662
+ isEmpty?: boolean;
663
+ errorMessage?: string;
664
+ children: React.ReactNode;
665
+ }
666
+
667
+ declare const ChartContainer: (props: ChartContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
668
+
659
669
  type ModalProps = {
660
670
  header: React.ReactNode;
661
671
  content: React.ReactNode;
@@ -914,4 +924,4 @@ type ToastProps = {
914
924
 
915
925
  declare const showToast: (props: ToastProps) => void;
916
926
 
917
- 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, Search, Select, Sheet, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };
927
+ export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, ChartContainer, 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, Search, Select, Sheet, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };