@worldresources/wri-design-systems 2.175.0 → 2.177.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 +41 -41
- package/dist/index.d.ts +3 -13
- package/dist/index.esm.js +908 -908
- package/package.json +1 -1
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,
|
|
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';
|
|
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';
|
|
@@ -545,7 +545,7 @@ declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick
|
|
|
545
545
|
|
|
546
546
|
type QualitativeAttributeProps = {
|
|
547
547
|
type: 'raster' | 'line' | 'point';
|
|
548
|
-
label: string;
|
|
548
|
+
label: string | React.ReactNode;
|
|
549
549
|
caption?: string;
|
|
550
550
|
color: string;
|
|
551
551
|
showActionButton?: boolean;
|
|
@@ -657,16 +657,6 @@ interface AnalysisWidgetActionsProps {
|
|
|
657
657
|
|
|
658
658
|
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
659
659
|
|
|
660
|
-
interface ChartContainerProps extends BoxProps {
|
|
661
|
-
isLoading?: boolean;
|
|
662
|
-
isError?: boolean;
|
|
663
|
-
isEmpty?: boolean;
|
|
664
|
-
errorMessage?: string;
|
|
665
|
-
children: React.ReactNode;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
declare const ChartContainer: (props: ChartContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
669
|
-
|
|
670
660
|
type ModalProps = {
|
|
671
661
|
header: React.ReactNode;
|
|
672
662
|
content: React.ReactNode;
|
|
@@ -926,4 +916,4 @@ type ToastProps = {
|
|
|
926
916
|
|
|
927
917
|
declare const showToast: (props: ToastProps) => void;
|
|
928
918
|
|
|
929
|
-
export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button,
|
|
919
|
+
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 };
|