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

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/index.d.mts CHANGED
@@ -87,6 +87,9 @@ type ExternalField<Props extends {
87
87
  mapRow?: (value: any) => Record<string, string | number | ReactElement>;
88
88
  getItemSummary?: (item: Props, index?: number) => string;
89
89
  showSearch?: boolean;
90
+ renderFooter?: (props: {
91
+ items: any[];
92
+ }) => ReactElement;
90
93
  initialQuery?: string;
91
94
  filterFields?: Record<string, Field>;
92
95
  initialFilters?: Record<string, any>;
@@ -147,6 +150,9 @@ type UiState = {
147
150
  controlsVisible: boolean;
148
151
  options: Viewport[];
149
152
  };
153
+ field: {
154
+ focus?: string | null;
155
+ };
150
156
  };
151
157
 
152
158
  type RenderFunc<Props extends {
package/dist/index.d.ts CHANGED
@@ -87,6 +87,9 @@ type ExternalField<Props extends {
87
87
  mapRow?: (value: any) => Record<string, string | number | ReactElement>;
88
88
  getItemSummary?: (item: Props, index?: number) => string;
89
89
  showSearch?: boolean;
90
+ renderFooter?: (props: {
91
+ items: any[];
92
+ }) => ReactElement;
90
93
  initialQuery?: string;
91
94
  filterFields?: Record<string, Field>;
92
95
  initialFilters?: Record<string, any>;
@@ -147,6 +150,9 @@ type UiState = {
147
150
  controlsVisible: boolean;
148
151
  options: Viewport[];
149
152
  };
153
+ field: {
154
+ focus?: string | null;
155
+ };
150
156
  };
151
157
 
152
158
  type RenderFunc<Props extends {
package/dist/index.js CHANGED
@@ -1630,7 +1630,8 @@ var defaultAppState = {
1630
1630
  },
1631
1631
  options: [],
1632
1632
  controlsVisible: true
1633
- }
1633
+ },
1634
+ field: { focus: null }
1634
1635
  }
1635
1636
  };
1636
1637
  var defaultContext = {
package/dist/index.mjs CHANGED
@@ -1627,7 +1627,8 @@ var defaultAppState = {
1627
1627
  },
1628
1628
  options: [],
1629
1629
  controlsVisible: true
1630
- }
1630
+ },
1631
+ field: { focus: null }
1631
1632
  }
1632
1633
  };
1633
1634
  var defaultContext = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
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",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "devDependencies": {
28
- "@measured/puck": "^0.17.0-canary.8ea38c3",
28
+ "@measured/puck": "^0.17.0-canary.f71da6d",
29
29
  "@types/react": "^18.2.0",
30
30
  "@types/react-dom": "^18.2.0",
31
31
  "eslint": "^7.32.0",