cr-ui-lib 1.0.15 → 1.0.17
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 +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +361 -323
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +361 -323
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -172,6 +172,7 @@ interface SingleListInputProps {
|
|
|
172
172
|
label?: string;
|
|
173
173
|
buttonClass?: string;
|
|
174
174
|
labelClass?: string;
|
|
175
|
+
inputClass?: string;
|
|
175
176
|
}
|
|
176
177
|
declare const SingleListInput: React$1.FC<SingleListInputProps>;
|
|
177
178
|
|
|
@@ -289,7 +290,9 @@ interface TableHeaderProps {
|
|
|
289
290
|
middleHeaderCustomComponent?: React$1.ReactElement;
|
|
290
291
|
rightHeaderClass?: string;
|
|
291
292
|
dateRangeClass?: string;
|
|
292
|
-
customClass?:
|
|
293
|
+
customClass?: React$1.ReactElement;
|
|
294
|
+
hasCustomClass?: boolean;
|
|
295
|
+
headerClass?: string;
|
|
293
296
|
}
|
|
294
297
|
interface TableHeaderCustom$1 {
|
|
295
298
|
tableHeaderHeight?: string;
|
|
@@ -350,7 +353,7 @@ interface DynamicTableV2Props {
|
|
|
350
353
|
columns: Column[];
|
|
351
354
|
tableData: TableData[];
|
|
352
355
|
handleSort: (selector: string) => void;
|
|
353
|
-
pagination
|
|
356
|
+
pagination?: PaginationProps$1;
|
|
354
357
|
mainTableHeader: TableHeaderProps;
|
|
355
358
|
tableHeaderCustom?: TableHeaderCustom;
|
|
356
359
|
isLoading: boolean;
|
|
@@ -370,13 +373,14 @@ interface DynamicTableV2Props {
|
|
|
370
373
|
isDisableTableHeader?: boolean;
|
|
371
374
|
isShowDateRange?: boolean;
|
|
372
375
|
tableClass?: string;
|
|
376
|
+
hasPagination?: boolean;
|
|
373
377
|
}
|
|
374
378
|
declare const DynamicTableV2: React$1.FC<DynamicTableV2Props>;
|
|
375
379
|
|
|
376
380
|
interface PaginationProps {
|
|
377
381
|
totalPages: number;
|
|
378
382
|
currentPage: number;
|
|
379
|
-
onPageChange
|
|
383
|
+
onPageChange?: (selectedPage: number) => void;
|
|
380
384
|
pageRangeDisplayed?: number;
|
|
381
385
|
}
|
|
382
386
|
declare const Pagination: React$1.FC<PaginationProps>;
|
|
@@ -473,4 +477,4 @@ declare function toEndOfDay(date: Date): Date;
|
|
|
473
477
|
declare function toMidnight(date: Date): Date;
|
|
474
478
|
declare function isSameDateMDY(date1: Date, date2: Date): boolean;
|
|
475
479
|
|
|
476
|
-
export { Box, BoxBody, BoxHeader, Button, CollapseButton, CommonInput, DateRangePicker, DynamicTable, DynamicTableV2, ErrorToast, GraphedCard, Label, Modal, MultiLineGraph, MultipleAutoSuggestionInput, NavBar, type NavBarProps, Pagination, PlainButton, PopupWrapper, SelectionButton, SideNav, type LayoutProps as SideNavProps, SimpleCard, SingleDateInput, SingleLineGraph, SingleListInput, SingleSelectDropdown, SuccessToast, TableHeader, TimeInput, isSameDateMDY, toEndOfDay, toMidnight, validateAndFormatInput, validateDate, validateDateRange };
|
|
480
|
+
export { Box, BoxBody, BoxHeader, Button, CollapseButton, type Column, CommonInput, DateRangePicker, DynamicTable, DynamicTableV2, ErrorToast, GraphedCard, Label, Modal, MultiLineGraph, MultipleAutoSuggestionInput, NavBar, type NavBarProps, Pagination, PlainButton, PopupWrapper, SelectionButton, SideNav, type LayoutProps as SideNavProps, SimpleCard, SingleDateInput, SingleLineGraph, SingleListInput, SingleSelectDropdown, SuccessToast, TableHeader, TimeInput, isSameDateMDY, toEndOfDay, toMidnight, validateAndFormatInput, validateDate, validateDateRange };
|
package/dist/index.d.ts
CHANGED
|
@@ -172,6 +172,7 @@ interface SingleListInputProps {
|
|
|
172
172
|
label?: string;
|
|
173
173
|
buttonClass?: string;
|
|
174
174
|
labelClass?: string;
|
|
175
|
+
inputClass?: string;
|
|
175
176
|
}
|
|
176
177
|
declare const SingleListInput: React$1.FC<SingleListInputProps>;
|
|
177
178
|
|
|
@@ -289,7 +290,9 @@ interface TableHeaderProps {
|
|
|
289
290
|
middleHeaderCustomComponent?: React$1.ReactElement;
|
|
290
291
|
rightHeaderClass?: string;
|
|
291
292
|
dateRangeClass?: string;
|
|
292
|
-
customClass?:
|
|
293
|
+
customClass?: React$1.ReactElement;
|
|
294
|
+
hasCustomClass?: boolean;
|
|
295
|
+
headerClass?: string;
|
|
293
296
|
}
|
|
294
297
|
interface TableHeaderCustom$1 {
|
|
295
298
|
tableHeaderHeight?: string;
|
|
@@ -350,7 +353,7 @@ interface DynamicTableV2Props {
|
|
|
350
353
|
columns: Column[];
|
|
351
354
|
tableData: TableData[];
|
|
352
355
|
handleSort: (selector: string) => void;
|
|
353
|
-
pagination
|
|
356
|
+
pagination?: PaginationProps$1;
|
|
354
357
|
mainTableHeader: TableHeaderProps;
|
|
355
358
|
tableHeaderCustom?: TableHeaderCustom;
|
|
356
359
|
isLoading: boolean;
|
|
@@ -370,13 +373,14 @@ interface DynamicTableV2Props {
|
|
|
370
373
|
isDisableTableHeader?: boolean;
|
|
371
374
|
isShowDateRange?: boolean;
|
|
372
375
|
tableClass?: string;
|
|
376
|
+
hasPagination?: boolean;
|
|
373
377
|
}
|
|
374
378
|
declare const DynamicTableV2: React$1.FC<DynamicTableV2Props>;
|
|
375
379
|
|
|
376
380
|
interface PaginationProps {
|
|
377
381
|
totalPages: number;
|
|
378
382
|
currentPage: number;
|
|
379
|
-
onPageChange
|
|
383
|
+
onPageChange?: (selectedPage: number) => void;
|
|
380
384
|
pageRangeDisplayed?: number;
|
|
381
385
|
}
|
|
382
386
|
declare const Pagination: React$1.FC<PaginationProps>;
|
|
@@ -473,4 +477,4 @@ declare function toEndOfDay(date: Date): Date;
|
|
|
473
477
|
declare function toMidnight(date: Date): Date;
|
|
474
478
|
declare function isSameDateMDY(date1: Date, date2: Date): boolean;
|
|
475
479
|
|
|
476
|
-
export { Box, BoxBody, BoxHeader, Button, CollapseButton, CommonInput, DateRangePicker, DynamicTable, DynamicTableV2, ErrorToast, GraphedCard, Label, Modal, MultiLineGraph, MultipleAutoSuggestionInput, NavBar, type NavBarProps, Pagination, PlainButton, PopupWrapper, SelectionButton, SideNav, type LayoutProps as SideNavProps, SimpleCard, SingleDateInput, SingleLineGraph, SingleListInput, SingleSelectDropdown, SuccessToast, TableHeader, TimeInput, isSameDateMDY, toEndOfDay, toMidnight, validateAndFormatInput, validateDate, validateDateRange };
|
|
480
|
+
export { Box, BoxBody, BoxHeader, Button, CollapseButton, type Column, CommonInput, DateRangePicker, DynamicTable, DynamicTableV2, ErrorToast, GraphedCard, Label, Modal, MultiLineGraph, MultipleAutoSuggestionInput, NavBar, type NavBarProps, Pagination, PlainButton, PopupWrapper, SelectionButton, SideNav, type LayoutProps as SideNavProps, SimpleCard, SingleDateInput, SingleLineGraph, SingleListInput, SingleSelectDropdown, SuccessToast, TableHeader, TimeInput, isSameDateMDY, toEndOfDay, toMidnight, validateAndFormatInput, validateDate, validateDateRange };
|