@worldresources/wri-design-systems 2.191.1 → 2.191.2
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 +53 -53
- package/dist/index.d.ts +6 -6
- package/dist/index.esm.js +54 -54
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1205,6 +1205,8 @@ interface AnalysisWidgetActionsProps {
|
|
|
1205
1205
|
|
|
1206
1206
|
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, labels, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1207
1207
|
|
|
1208
|
+
type SizeValue = number | string;
|
|
1209
|
+
|
|
1208
1210
|
type ModalProps = {
|
|
1209
1211
|
header: React.ReactNode;
|
|
1210
1212
|
content: React.ReactNode;
|
|
@@ -1214,9 +1216,9 @@ type ModalProps = {
|
|
|
1214
1216
|
blocking?: boolean;
|
|
1215
1217
|
open: boolean;
|
|
1216
1218
|
onClose?: () => void;
|
|
1217
|
-
width?:
|
|
1218
|
-
height?:
|
|
1219
|
-
maxHeight?:
|
|
1219
|
+
width?: SizeValue;
|
|
1220
|
+
height?: SizeValue;
|
|
1221
|
+
maxHeight?: SizeValue;
|
|
1220
1222
|
};
|
|
1221
1223
|
|
|
1222
1224
|
declare const Modal: ({ header, content, footer, size, width, height, maxHeight, draggable, blocking, open, onClose, }: ModalProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
@@ -1225,7 +1227,7 @@ type PanelProps = {
|
|
|
1225
1227
|
header?: React.ReactNode;
|
|
1226
1228
|
content: React.ReactNode;
|
|
1227
1229
|
footer?: React.ReactNode;
|
|
1228
|
-
width?:
|
|
1230
|
+
width?: SizeValue;
|
|
1229
1231
|
variant?: 'fixed' | 'floating';
|
|
1230
1232
|
};
|
|
1231
1233
|
|
|
@@ -1262,8 +1264,6 @@ type BreadcrumbProps = {
|
|
|
1262
1264
|
|
|
1263
1265
|
declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, size, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1264
1266
|
|
|
1265
|
-
type SizeValue = number | string;
|
|
1266
|
-
|
|
1267
1267
|
type FooterProps = {
|
|
1268
1268
|
children: React.ReactNode;
|
|
1269
1269
|
label?: string;
|