@ceed/cds 1.2.7 → 1.2.8
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/DataTable/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +4 -3
- package/framer/index.js +27 -27
- package/package.json +14 -12
|
@@ -10,6 +10,7 @@ export { Checkbox } from "./Checkbox";
|
|
|
10
10
|
export { Container } from "./Container";
|
|
11
11
|
export { CurrencyInput } from "./CurrencyInput";
|
|
12
12
|
export { DataTable } from "./DataTable";
|
|
13
|
+
export type * from "./DataTable/types";
|
|
13
14
|
export { DatePicker } from "./DatePicker";
|
|
14
15
|
export { DateRangePicker } from "./DateRangePicker";
|
|
15
16
|
export { Drawer } from "./Drawer";
|
package/dist/index.cjs
CHANGED
|
@@ -3174,7 +3174,7 @@ var BodyCell = (props) => {
|
|
|
3174
3174
|
);
|
|
3175
3175
|
const EditModeComponent = (0, import_react24.useMemo)(() => {
|
|
3176
3176
|
if (renderEditCell) {
|
|
3177
|
-
return renderEditCell
|
|
3177
|
+
return (0, import_react24.createElement)(renderEditCell, params);
|
|
3178
3178
|
}
|
|
3179
3179
|
return {
|
|
3180
3180
|
date: /* @__PURE__ */ import_react24.default.createElement(
|
|
@@ -3234,7 +3234,7 @@ var BodyCell = (props) => {
|
|
|
3234
3234
|
}, [value, editModeComponentProps, type]);
|
|
3235
3235
|
const ReadModeComponent = (0, import_react24.useMemo)(() => {
|
|
3236
3236
|
if (renderCell) {
|
|
3237
|
-
return renderCell
|
|
3237
|
+
return (0, import_react24.createElement)(renderCell, params);
|
|
3238
3238
|
}
|
|
3239
3239
|
const innerText = value;
|
|
3240
3240
|
const typedComponent = {
|
package/dist/index.js
CHANGED
|
@@ -1967,7 +1967,8 @@ import React22, {
|
|
|
1967
1967
|
useState as useState6,
|
|
1968
1968
|
useId,
|
|
1969
1969
|
forwardRef as forwardRef7,
|
|
1970
|
-
useImperativeHandle as useImperativeHandle2
|
|
1970
|
+
useImperativeHandle as useImperativeHandle2,
|
|
1971
|
+
createElement
|
|
1971
1972
|
} from "react";
|
|
1972
1973
|
import { useVirtualizer as useVirtualizer2 } from "@tanstack/react-virtual";
|
|
1973
1974
|
import { styled as styled11, LinearProgress, Link, useTheme } from "@mui/joy";
|
|
@@ -3134,7 +3135,7 @@ var BodyCell = (props) => {
|
|
|
3134
3135
|
);
|
|
3135
3136
|
const EditModeComponent = useMemo8(() => {
|
|
3136
3137
|
if (renderEditCell) {
|
|
3137
|
-
return renderEditCell
|
|
3138
|
+
return createElement(renderEditCell, params);
|
|
3138
3139
|
}
|
|
3139
3140
|
return {
|
|
3140
3141
|
date: /* @__PURE__ */ React22.createElement(
|
|
@@ -3194,7 +3195,7 @@ var BodyCell = (props) => {
|
|
|
3194
3195
|
}, [value, editModeComponentProps, type]);
|
|
3195
3196
|
const ReadModeComponent = useMemo8(() => {
|
|
3196
3197
|
if (renderCell) {
|
|
3197
|
-
return renderCell
|
|
3198
|
+
return createElement(renderCell, params);
|
|
3198
3199
|
}
|
|
3199
3200
|
const innerText = value;
|
|
3200
3201
|
const typedComponent = {
|