@plasmicpkgs/plasmic-rich-components 1.0.121 → 1.0.123
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/LICENSE.app.md +661 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/field-react-utils.d.ts +2 -2
- package/dist/formatting.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/plasmic-rich-components.esm.js.map +1 -1
- package/dist/rich-calendar/RichCalendar.d.ts +1 -1
- package/dist/rich-details/RichDetails.d.ts +2 -1
- package/dist/rich-layout/RichLayout.d.ts +2 -2
- package/dist/rich-list/RichList.d.ts +1 -1
- package/dist/rich-table/RichTable.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/widgets.d.ts +1 -1
- package/package.json +4 -4
- package/LICENSE.md +0 -21
|
@@ -21,7 +21,7 @@ interface RowActionMenu {
|
|
|
21
21
|
children?: RowActionItem[];
|
|
22
22
|
}
|
|
23
23
|
export type RowAction = RowActionItem | RowActionMenu;
|
|
24
|
-
export declare function deriveRowKey(data: QueryResult | undefined, rowKey: string | GetRowKey<any
|
|
24
|
+
export declare function deriveRowKey(data: QueryResult | undefined, rowKey: string | GetRowKey<Record<any, any>> | undefined): string | GetRowKey<Record<any, any>> | undefined;
|
|
25
25
|
export declare function deriveKeyOfRow(row: any, rowKey: string | GetRowKey<any> | undefined): any;
|
|
26
|
-
export declare function renderActions(rowActions: RowAction[], row: any, data: NormalizedData | undefined, rowKey: string | ((record: any, index?: number) => Key) | undefined): JSX.Element[];
|
|
26
|
+
export declare function renderActions(rowActions: RowAction[], row: any, data: NormalizedData | undefined, rowKey: string | ((record: any, index?: number) => Key) | undefined): React.JSX.Element[];
|
|
27
27
|
export {};
|
package/dist/formatting.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BaseColumnConfig } from "./field-mappings";
|
|
3
|
-
export declare function maybeRenderValue(record: any, cconfig: BaseColumnConfig | undefined): string | number | boolean | React.
|
|
4
|
-
export declare function multiRenderValue(record: any, cconfigs: BaseColumnConfig[] | undefined): (string | JSX.Element)[] | undefined;
|
|
3
|
+
export declare function maybeRenderValue(record: any, cconfig: BaseColumnConfig | undefined): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
4
|
+
export declare function multiRenderValue(record: any, cconfigs: BaseColumnConfig[] | undefined): (string | React.JSX.Element)[] | undefined;
|
|
5
5
|
export declare function maybeRenderString(record: any, cconfig: BaseColumnConfig | undefined): string | undefined;
|
|
6
6
|
export declare function getFieldAggregateValue(record: any, cconfigs: BaseColumnConfig[] | undefined, separator?: string): string | undefined;
|
|
7
|
-
export declare function renderValue(record: any, cconfig: BaseColumnConfig): string | number | boolean | React.
|
|
7
|
+
export declare function renderValue(record: any, cconfig: BaseColumnConfig): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|