@worldresources/wri-design-systems 2.148.9 → 2.148.11
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 +854 -854
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +853 -853
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
6
6
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
7
7
|
import { Placement } from '@floating-ui/react';
|
|
8
8
|
|
|
9
|
+
declare const designSystemStylesForTailwind: Record<string, string>;
|
|
9
10
|
declare const designSystemStyles: _chakra_ui_react.SystemContext;
|
|
10
11
|
declare const getThemedColor: (variant: "neutral" | "primary" | "secondary" | "success" | "warning" | "error" | "accessible", index: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "text-on-primary-mids" | "text-on-secondary-mids" | "controls-on-neutral-lights" | "controls-on-neutral-darks") => string;
|
|
11
12
|
|
|
@@ -633,6 +634,7 @@ interface AnalysisWidgetProps {
|
|
|
633
634
|
expanded?: boolean;
|
|
634
635
|
collapsible?: boolean;
|
|
635
636
|
actions?: AnalysisWidgetActionsProps[];
|
|
637
|
+
showFooterOnCollapsed?: boolean;
|
|
636
638
|
}
|
|
637
639
|
interface AnalysisWidgetActionsProps {
|
|
638
640
|
label: string;
|
|
@@ -640,7 +642,7 @@ interface AnalysisWidgetActionsProps {
|
|
|
640
642
|
icon?: React__default.ReactNode;
|
|
641
643
|
}
|
|
642
644
|
|
|
643
|
-
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
645
|
+
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
644
646
|
|
|
645
647
|
type ModalProps = {
|
|
646
648
|
header: React.ReactNode;
|
|
@@ -860,4 +862,4 @@ type ToastProps = {
|
|
|
860
862
|
|
|
861
863
|
declare const showToast: (props: ToastProps) => void;
|
|
862
864
|
|
|
863
|
-
export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, ClusterPoint, 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, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, getThemedColor, showToast };
|
|
865
|
+
export { AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, ClusterPoint, 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, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };
|