@worldresources/wri-design-systems 2.171.0 → 2.173.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;
@@ -705,9 +715,10 @@ type BreadcrumbProps = {
705
715
  separator?: React.ReactNode;
706
716
  maxItems?: number;
707
717
  linkRouter: any;
718
+ size?: 'small' | 'default';
708
719
  };
709
720
 
710
- declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
721
+ declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, size, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
711
722
 
712
723
  type FooterProps = {
713
724
  children: React.ReactNode;
@@ -914,4 +925,4 @@ type ToastProps = {
914
925
 
915
926
  declare const showToast: (props: ToastProps) => void;
916
927
 
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 };
928
+ 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 };