mayak-common-library 0.0.767 → 0.0.769

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.mts CHANGED
@@ -1471,25 +1471,25 @@ declare const List: FC<ListProps>;
1471
1471
 
1472
1472
  interface ListItemProps {
1473
1473
  title: string;
1474
- value: MACHINE_NAME | string;
1474
+ value?: MACHINE_NAME | string;
1475
1475
  icon?: ReactElement;
1476
1476
  subTitle?: string;
1477
1477
  bold?: boolean;
1478
- onClick?: (value: MACHINE_NAME | string) => void;
1478
+ onClick?: (value?: MACHINE_NAME | string) => void;
1479
1479
  }
1480
1480
  declare const ListItem: FC<ListItemProps>;
1481
1481
 
1482
1482
  interface TermListProps {
1483
1483
  options: {
1484
1484
  name: string;
1485
+ slug?: string;
1485
1486
  desc?: string;
1486
- slug: string;
1487
1487
  icon?: ReactElement;
1488
1488
  }[];
1489
1489
  currentValue?: string;
1490
1490
  label?: string;
1491
1491
  collapseParent?: any;
1492
- onChange?: (value: string) => void;
1492
+ onChange?: (value?: string) => void;
1493
1493
  }
1494
1494
  declare const TermList: (props: TermListProps) => react_jsx_runtime.JSX.Element;
1495
1495
 
package/dist/index.d.ts CHANGED
@@ -1471,25 +1471,25 @@ declare const List: FC<ListProps>;
1471
1471
 
1472
1472
  interface ListItemProps {
1473
1473
  title: string;
1474
- value: MACHINE_NAME | string;
1474
+ value?: MACHINE_NAME | string;
1475
1475
  icon?: ReactElement;
1476
1476
  subTitle?: string;
1477
1477
  bold?: boolean;
1478
- onClick?: (value: MACHINE_NAME | string) => void;
1478
+ onClick?: (value?: MACHINE_NAME | string) => void;
1479
1479
  }
1480
1480
  declare const ListItem: FC<ListItemProps>;
1481
1481
 
1482
1482
  interface TermListProps {
1483
1483
  options: {
1484
1484
  name: string;
1485
+ slug?: string;
1485
1486
  desc?: string;
1486
- slug: string;
1487
1487
  icon?: ReactElement;
1488
1488
  }[];
1489
1489
  currentValue?: string;
1490
1490
  label?: string;
1491
1491
  collapseParent?: any;
1492
- onChange?: (value: string) => void;
1492
+ onChange?: (value?: string) => void;
1493
1493
  }
1494
1494
  declare const TermList: (props: TermListProps) => react_jsx_runtime.JSX.Element;
1495
1495