@worldresources/wri-design-systems 2.191.0 → 2.191.1

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
@@ -1262,12 +1262,14 @@ type BreadcrumbProps = {
1262
1262
 
1263
1263
  declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, size, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
1264
1264
 
1265
+ type SizeValue = number | string;
1266
+
1265
1267
  type FooterProps = {
1266
1268
  children: React.ReactNode;
1267
1269
  label?: string;
1268
1270
  fixed?: boolean;
1269
1271
  filled?: boolean;
1270
- maxWidth?: number;
1272
+ maxWidth?: SizeValue;
1271
1273
  additionalLogos?: React.ReactNode[];
1272
1274
  };
1273
1275
 
@@ -1314,7 +1316,7 @@ type NavbarProps = {
1314
1316
  size?: ButtonProps['size'];
1315
1317
  onClick?: ButtonProps['onClick'];
1316
1318
  }[];
1317
- maxWidth?: number;
1319
+ maxWidth?: SizeValue;
1318
1320
  fixed?: boolean;
1319
1321
  onNavbarHeightChange?: (height: number) => void;
1320
1322
  backgroundColor?: string;
@@ -1376,7 +1378,7 @@ type SearchProps = Omit<InputProps, 'variant' | 'colorPalette' | 'defaultChecked
1376
1378
  disabled?: boolean;
1377
1379
  size?: 'small' | 'default';
1378
1380
  options: ListItemProps[];
1379
- resultsMaxHeight?: string;
1381
+ resultsMaxHeight?: SizeValue;
1380
1382
  isLoading?: boolean;
1381
1383
  displayResults?: 'none' | 'text' | 'list' | 'custom';
1382
1384
  onSelect?: (selectedOption: ListItemProps) => void;