@measured/puck-plugin-heading-analyzer 0.16.3-canary.af421c6 → 0.17.0-canary.8ea38c3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -84,7 +84,7 @@ type ExternalField<Props extends {
84
84
  filters: Record<string, any>;
85
85
  }) => Promise<any[] | null>;
86
86
  mapProp?: (value: any) => Props;
87
- mapRow?: (value: any) => Record<string, string | number>;
87
+ mapRow?: (value: any) => Record<string, string | number | ReactElement>;
88
88
  getItemSummary?: (item: Props, index?: number) => string;
89
89
  showSearch?: boolean;
90
90
  initialQuery?: string;
package/dist/index.d.ts CHANGED
@@ -84,7 +84,7 @@ type ExternalField<Props extends {
84
84
  filters: Record<string, any>;
85
85
  }) => Promise<any[] | null>;
86
86
  mapProp?: (value: any) => Props;
87
- mapRow?: (value: any) => Record<string, string | number>;
87
+ mapRow?: (value: any) => Record<string, string | number | ReactElement>;
88
88
  getItemSummary?: (item: Props, index?: number) => string;
89
89
  showSearch?: boolean;
90
90
  initialQuery?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.16.3-canary.af421c6",
3
+ "version": "0.17.0-canary.8ea38c3",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "devDependencies": {
28
- "@measured/puck": "^0.16.3-canary.af421c6",
28
+ "@measured/puck": "^0.17.0-canary.8ea38c3",
29
29
  "@types/react": "^18.2.0",
30
30
  "@types/react-dom": "^18.2.0",
31
31
  "eslint": "^7.32.0",