@grasp-labs/ds-react-components 1.5.0 → 1.7.0
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/components/select/Select.d.ts +2 -1
- package/dist/components/table/TableCell.d.ts +6 -1
- package/dist/{index-CV3-RYPO.js → index-DlpxAmKh.js} +8839 -8283
- package/dist/index.css +1 -1
- package/dist/{index.esm-CrVuMedI.js → index.esm-DXlFhov2.js} +3 -3
- package/dist/index.js +1 -1
- package/package.json +32 -32
|
@@ -18,6 +18,7 @@ export type BaseSelectProps<Option extends BaseOption> = {
|
|
|
18
18
|
containerClassName?: string;
|
|
19
19
|
listClassName?: string;
|
|
20
20
|
maxHeight?: number;
|
|
21
|
+
onListScrollEnd?: () => void;
|
|
21
22
|
};
|
|
22
23
|
export type ClientSelectProps = {
|
|
23
24
|
disableSearch?: boolean;
|
|
@@ -37,4 +38,4 @@ export type SelectProps<Option extends BaseOption> = (BaseSelectProps<Option> &
|
|
|
37
38
|
* @param props - The props for the Select component.
|
|
38
39
|
* @returns The rendered select dropdown component.
|
|
39
40
|
*/
|
|
40
|
-
export declare const Select: <Option extends BaseOption>({ value, setValue, options, id, prefix, suffix, error, disabled, placeholder, toggleAriaLabel, noOptionsText, ref, disableSearch, className, containerClassName, listClassName, maxHeight, onSearch, debounce, isLoading, loadingText, }: SelectProps<Option>) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const Select: <Option extends BaseOption>({ value, setValue, options, id, prefix, suffix, error, disabled, placeholder, toggleAriaLabel, noOptionsText, ref, disableSearch, className, containerClassName, listClassName, maxHeight, onSearch, debounce, isLoading, loadingText, onListScrollEnd, }: SelectProps<Option>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { Cell } from '@tanstack/react-table';
|
|
1
|
+
import { Cell, RowData } from '@tanstack/react-table';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
+
declare module "@tanstack/react-table" {
|
|
4
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
5
|
+
cellClassName?: string;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
3
8
|
/**
|
|
4
9
|
* Props for the Table Cell component.
|
|
5
10
|
*/
|