@blockscout/ui-toolkit 2.1.0-alpha.2 → 2.1.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.
@@ -1,13 +1,11 @@
1
1
  import { ListCollection, Select as ChakraSelect } from '@chakra-ui/react';
2
2
  import * as React from 'react';
3
- export type SelectOption<Value extends string = string> = ({
3
+ export interface SelectOption<Value extends string = string> {
4
4
  label: string;
5
- } | {
6
- renderLabel: () => React.ReactNode;
7
- }) & {
5
+ renderLabel?: () => React.ReactNode;
8
6
  value: Value;
9
7
  icon?: React.ReactNode;
10
- };
8
+ }
11
9
  export interface SelectControlProps extends ChakraSelect.ControlProps {
12
10
  noIndicator?: boolean;
13
11
  triggerProps?: ChakraSelect.TriggerProps;
@@ -18,6 +18,7 @@ export interface TableColumnHeaderSortableProps<F extends string> extends TableC
18
18
  onSortToggle: (sortField: F) => void;
19
19
  disabled?: boolean;
20
20
  indicatorPosition?: 'left' | 'right';
21
+ contentAfter?: React.ReactNode;
21
22
  }
22
23
  export declare const TableColumnHeaderSortable: <F extends string>(props: TableColumnHeaderSortableProps<F>) => React.JSX.Element;
23
24
  export interface TableHeaderProps extends ChakraTable.HeaderProps {