@assembly-js/design-system 3.1.11 → 3.1.12

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.
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
- import { type OptionWithCompanyMetadata } from './types';
3
- import { type GroupBase, type OptionProps } from 'react-select';
4
- export declare function ListItem<_OptionProps extends OptionWithCompanyMetadata, GroupProps extends GroupBase<_OptionProps> = GroupBase<_OptionProps>>({ data: option, innerRef, isFocused, innerProps, }: OptionProps<_OptionProps, true, GroupProps>): React.JSX.Element;
2
+ import { type OptionWithCompanyMetadata, type UserCompanySelectorOption, type UserCompanySelectorGroupedOption } from './types';
3
+ import { type OptionProps } from 'react-select';
4
+ type ListItemProps = OptionProps<UserCompanySelectorOption, true, UserCompanySelectorGroupedOption> & {
5
+ data: OptionWithCompanyMetadata;
6
+ listClassName?: string;
7
+ };
8
+ export declare function ListItem(props: ListItemProps): React.JSX.Element;
9
+ export {};
@@ -41,6 +41,7 @@ export type UserCompanySelectorProps = {
41
41
  groupTermPlural: string;
42
42
  };
43
43
  listHeading?: string;
44
+ listClassName?: string;
44
45
  };
45
46
  /**
46
47
  * @deprecated Use Option instead