@mongodb-js/compass-web 0.27.0 → 0.28.0

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.
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * clipboard.js v2.0.10
3
+ * https://clipboardjs.com/
4
+ *
5
+ * Licensed MIT © Zeno Rocha
6
+ */
7
+
8
+ /*!
9
+ * focus-trap 6.9.4
10
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
11
+ */
@@ -88,6 +88,10 @@ declare interface AsyncStatus {
88
88
  message?: string;
89
89
  }
90
90
 
91
+ declare const ATLAS_CLOUD_FEATURE_FLAGS: "DATA_EXPLORER_COMPASS_WEB_ENABLE_DATA_MODELING"[];
92
+
93
+ export declare type AtlasCloudFeatureFlags = Record<(typeof ATLAS_CLOUD_FEATURE_FLAGS)[number], boolean>;
94
+
91
95
  /**
92
96
  * Atlas metadata for clusters, refer to the backend implementation to see how
93
97
  * the values are derived
@@ -257,7 +261,7 @@ export declare const CompassExperimentationProvider: React_2.FC<{
257
261
  }>;
258
262
 
259
263
  /** @public */
260
- export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialAutoconnectId, initialWorkspace, onActiveWorkspaceTabChange, initialPreferences, onLog, onDebug, onTrack, onOpenConnectViaModal, onFailToLoadConnections, onBeforeUnloadCallbackRequest, }: CompassWebProps) => React_2.JSX.Element;
264
+ export declare const CompassWeb: ({ appName, orgId, projectId, darkMode, initialAutoconnectId, initialWorkspace, onActiveWorkspaceTabChange, initialPreferences, atlasCloudFeatureFlags, onLog, onDebug, onTrack, onOpenConnectViaModal, onFailToLoadConnections, onBeforeUnloadCallbackRequest, }: CompassWebProps) => React_2.JSX.Element;
261
265
 
262
266
  /** @public */
263
267
  export declare type CompassWebProps = {
@@ -304,6 +308,12 @@ export declare type CompassWebProps = {
304
308
  * Set of initial preferences to override default values
305
309
  */
306
310
  initialPreferences?: Partial<AllPreferences>;
311
+ /**
312
+ * A subset of Atlas Cloud feature flags that maps to Compass feature flag
313
+ * preferences. These flags have any effect ONLY if they were defined as
314
+ * mapped for some Compass preferences feature flags
315
+ */
316
+ atlasCloudFeatureFlags?: Partial<AtlasCloudFeatureFlags>;
307
317
  /**
308
318
  * Callback prop called every time any code inside Compass logs something
309
319
  */