@streamoid/settings 0.11.2 → 0.12.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.
package/dist/index.d.mts CHANGED
@@ -1340,18 +1340,13 @@ interface SettingsContentProps {
1340
1340
  */
1341
1341
  onClose?: () => void;
1342
1342
  /**
1343
- * Go back to the screen the user came from, rendered as a `← Back` control
1344
- * above the breadcrumb.
1345
- *
1346
- * Defaults to `adapters.navigation.back`, and to `window.history.back()`
1347
- * when neither is supplied — settings is a route in every host, so the
1348
- * browser already knows where the user was, and requiring a prop would mean
1349
- * the control appeared in whichever app remembered to pass one. Pass `null`
1350
- * to render no back control.
1343
+ * @deprecated Ignored. Settings no longer renders a Back control: it is a
1344
+ * top-level destination with one header row, and Escape still leaves it
1345
+ * (`onClose`). Kept so hosts that pass it keep compiling.
1351
1346
  */
1352
1347
  onBack?: (() => void) | null;
1353
1348
  }
1354
- declare function SettingsContent({ adapters, activeTab, onClose, onBack, hiddenApps, }: SettingsContentProps): react.JSX.Element;
1349
+ declare function SettingsContent({ adapters, activeTab, onClose, hiddenApps, }: SettingsContentProps): react.JSX.Element;
1355
1350
 
1356
1351
  interface WorkspaceData {
1357
1352
  id: string;
package/dist/index.d.ts CHANGED
@@ -1340,18 +1340,13 @@ interface SettingsContentProps {
1340
1340
  */
1341
1341
  onClose?: () => void;
1342
1342
  /**
1343
- * Go back to the screen the user came from, rendered as a `← Back` control
1344
- * above the breadcrumb.
1345
- *
1346
- * Defaults to `adapters.navigation.back`, and to `window.history.back()`
1347
- * when neither is supplied — settings is a route in every host, so the
1348
- * browser already knows where the user was, and requiring a prop would mean
1349
- * the control appeared in whichever app remembered to pass one. Pass `null`
1350
- * to render no back control.
1343
+ * @deprecated Ignored. Settings no longer renders a Back control: it is a
1344
+ * top-level destination with one header row, and Escape still leaves it
1345
+ * (`onClose`). Kept so hosts that pass it keep compiling.
1351
1346
  */
1352
1347
  onBack?: (() => void) | null;
1353
1348
  }
1354
- declare function SettingsContent({ adapters, activeTab, onClose, onBack, hiddenApps, }: SettingsContentProps): react.JSX.Element;
1349
+ declare function SettingsContent({ adapters, activeTab, onClose, hiddenApps, }: SettingsContentProps): react.JSX.Element;
1355
1350
 
1356
1351
  interface WorkspaceData {
1357
1352
  id: string;