mblabs-roccato-frontend-commons 0.1.39 → 0.1.40
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
|
@@ -1129,6 +1129,7 @@ export declare function normalizeCurrency(str: string): string;
|
|
|
1129
1129
|
declare type OptionsType = {
|
|
1130
1130
|
label: string;
|
|
1131
1131
|
icon?: React.ReactNode;
|
|
1132
|
+
value: string;
|
|
1132
1133
|
};
|
|
1133
1134
|
|
|
1134
1135
|
export declare function Pagination({ pageCount, pageIndex, setPageIndex, canPreviousPage, canNextPage, pageSize, setPageSize, previousPage, nextPage, nextPageText, previousPageText, pageSizeOptions, pageSizeLabel, showPageSizeSelector, maxVisiblePages, className, 'aria-label': ariaLabel, }: PaginationProps): JSX.Element;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ import { ChevronDown, PlusCircle, SearchLg, XClose } from '@/components/icons';
|
|
|
7
7
|
import { RenderCondition } from '@/main';
|
|
8
8
|
import { cn } from '@/utils';
|
|
9
9
|
|
|
10
|
-
type OptionsType = { label: string; icon?: React.ReactNode };
|
|
10
|
+
type OptionsType = { label: string; icon?: React.ReactNode; value: string };
|
|
11
11
|
|
|
12
12
|
type DropdownProps<
|
|
13
13
|
OptionType extends OptionsType,
|