@oc-digital/react-component-library 8.24.0-beta.2 → 8.24.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.
|
@@ -32,6 +32,7 @@ type TopLevelOnlyFields = {
|
|
|
32
32
|
accessor?: any;
|
|
33
33
|
stickyColumn?: boolean;
|
|
34
34
|
shadedHeader?: boolean;
|
|
35
|
+
friendlyHeader?: string;
|
|
35
36
|
};
|
|
36
37
|
type LowerLevelOnlyFields = {
|
|
37
38
|
linkedStatusColumn?: string;
|
|
@@ -90,7 +91,6 @@ type EditableTableFieldConfiguration = {
|
|
|
90
91
|
export type FieldConfig = {
|
|
91
92
|
[key: string]: EditableTableFieldConfiguration;
|
|
92
93
|
};
|
|
93
|
-
export type TypedFieldConfig<T> = Record<keyof T, EditableTableFieldConfiguration>;
|
|
94
94
|
export type TypedFieldConfiguration<T> = {
|
|
95
95
|
[key in keyof T]?: EditableTableFieldConfiguration;
|
|
96
96
|
};
|
package/build/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import KeyboardDatePicker from "./KeyboardDatePicker/KeyboardDatePicker";
|
|
|
19
19
|
import ButtonWithConfirm from "./ButtonWithConfirm/ButtonWithConfirm";
|
|
20
20
|
import EditableTable from "./EditableTable/EditableTable";
|
|
21
21
|
import { useElementDimensions } from "./hooks/useElementDimensions";
|
|
22
|
-
import { FieldConfig,
|
|
22
|
+
import { FieldConfig, TypedFieldConfiguration, RowData, ITableHeader, ITableHeaderComplexAccessor, IColumnsTableHeader, IColumnsTableHeaderComplexAccessor, ITableHeaders, TableCellValues, SynchCellWithStateFn, ICustomRenderFnProps, IEssentialRenderFnProps, SortMeta, IEditableTableRef } from "./EditableTable/EditableTable.types";
|
|
23
23
|
import { tableNumericStringField, tableNumericStringFixedDecimalField, tableDateField, tableCheckbox, TableSelect, TableMultipleSelect, NonEditableField } from "./EditableTable/defaultCells";
|
|
24
24
|
import { useDebounceEffect, useInterval, useWhyDidYouUpdate } from "./hooks";
|
|
25
25
|
import { didCellValueChange } from "./utils";
|
|
@@ -39,4 +39,4 @@ import { TableTextInput } from "./EditableTable/components/TableTextInput";
|
|
|
39
39
|
import type { ITableTextInputProps } from "./EditableTable/components/TableTextInput";
|
|
40
40
|
import type { ISideNavConfig, ISecondaryNavigationElement, ISecondaryNavigationElements } from "./LeftNavigation/LeftNavigation.types";
|
|
41
41
|
export { ImageDisplayAndUpload, Alert, Button, ContentLabel, ContentBox, StaticTable, LoadingSpinner, Breadcrumbs, EntityList, ErrorIndicator, LeftNavigation, MainLayout, SearchBar, TextField, Select, DatePicker, AutoSaveTextField, AutoSaveSelectField, KeyboardDatePicker, MobileDatePicker, ButtonWithConfirm, EditableTable, TableSelect, TableMultipleSelect, NonEditableField, TableDateInput as TableDatePicker, TableTextInput as TableTextField, tableNumericStringField, tableNumericStringFixedDecimalField, tableDateField, tableCheckbox, didCellValueChange, useDebounceEffect, useInterval, useWhyDidYouUpdate, useElementDimensions, AlphabeticalList, NumberFormatField, NavbarLayout, OptionalTooltip, FORM_SUCCESS, FORM_ERROR, FORM_LOADING, FORM_ENABLED, FORM_WARNING, FORM_INFO, FORM_DELETING, };
|
|
42
|
-
export type { FieldConfig,
|
|
42
|
+
export type { FieldConfig, TypedFieldConfiguration, RowData, ITableHeader, TableCellValues, SynchCellWithStateFn, ICustomRenderFnProps, IEssentialRenderFnProps, ISelectProps, IEntity, INavigationLink, ISecondaryNavigationItem, ISecondaryNavigationSubItem, NavbarLayoutTabs, FormStatuses, ITableTextInputProps, ISideNavConfig, ITableHeaderComplexAccessor, IColumnsTableHeader, IColumnsTableHeaderComplexAccessor, ITableHeaders, SortMeta, IEditableTableRef, IAlertProps, ISecondaryNavigationElement, ISecondaryNavigationElements, IStaticRow, };
|