@measured/puck-field-contentful 0.17.0-canary.8ea38c3 → 0.17.0-canary.f71da6d

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -84,6 +84,9 @@ type ExternalField<Props extends {
84
84
  mapRow?: (value: any) => Record<string, string | number | ReactElement>;
85
85
  getItemSummary?: (item: Props, index?: number) => string;
86
86
  showSearch?: boolean;
87
+ renderFooter?: (props: {
88
+ items: any[];
89
+ }) => ReactElement;
87
90
  initialQuery?: string;
88
91
  filterFields?: Record<string, Field>;
89
92
  initialFilters?: Record<string, any>;
package/dist/index.d.ts CHANGED
@@ -84,6 +84,9 @@ type ExternalField<Props extends {
84
84
  mapRow?: (value: any) => Record<string, string | number | ReactElement>;
85
85
  getItemSummary?: (item: Props, index?: number) => string;
86
86
  showSearch?: boolean;
87
+ renderFooter?: (props: {
88
+ items: any[];
89
+ }) => ReactElement;
87
90
  initialQuery?: string;
88
91
  filterFields?: Record<string, Field>;
89
92
  initialFilters?: Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-field-contentful",
3
- "version": "0.17.0-canary.8ea38c3",
3
+ "version": "0.17.0-canary.f71da6d",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "devDependencies": {
25
- "@measured/puck": "^0.17.0-canary.8ea38c3",
25
+ "@measured/puck": "^0.17.0-canary.f71da6d",
26
26
  "@types/react": "^18.2.0",
27
27
  "@types/react-dom": "^18.2.0",
28
28
  "contentful": "^10.8.6",