@useparagon/connect 2.5.1-experimental.2 → 2.5.1

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.
@@ -488,6 +488,11 @@ export type FilePickerOptions = {
488
488
  allowedTypes?: string[];
489
489
  allowMultiSelect?: boolean;
490
490
  allowFolderSelect?: boolean;
491
+ /**
492
+ * Max items selectable in the native picker (Google Drive, SharePoint, OneDrive, Box).
493
+ * For Box, `integrationOptions.box.maxSelectable` takes precedence when set.
494
+ */
495
+ maxItems?: number;
491
496
  onOpen?: () => void;
492
497
  onClose?: () => void;
493
498
  onFileSelect?: (files: unknown) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.5.1-experimental.2",
3
+ "version": "2.5.1",
4
4
  "description": "Embed integrations into your app with the Paragon SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",