@foxglove/extension 2.48.1 → 2.49.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxglove/extension",
3
- "version": "2.48.1",
3
+ "version": "2.49.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Foxglove Technologies",
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable @typescript-eslint/no-namespace */
2
- import type { Immutable } from "./immutable.ts";
2
+ import type { Immutable } from "./immutable";
3
3
  import type {
4
4
  ExtensionContext as BaseExtensionContext,
5
5
  PanelExtensionContext as BasePanelExtensionContext,
6
- } from "./stable.ts";
6
+ } from "./stable";
7
7
 
8
8
  /**
9
9
  * The experimental namespace contains experimental APIs that are not yet stable and WILL change or
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./stable.ts";
2
- export type { Immutable } from "./immutable.ts";
3
- export type { Experimental } from "./experimental.ts";
1
+ export * from "./stable";
2
+ export type { Immutable } from "./immutable";
3
+ export type { Experimental } from "./experimental";
package/src/stable.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Immutable } from "./immutable.ts";
1
+ import type { Immutable } from "./immutable";
2
2
 
3
3
  /** Valid types for parameter data (such as rosparams) */
4
4
  export type ParameterValue =
@@ -1304,6 +1304,7 @@ export type SettingsIcon =
1304
1304
  | "SouthEast"
1305
1305
  | "Timeline"
1306
1306
  | "Topic"
1307
+ | "Tune"
1307
1308
  | "Walk"
1308
1309
  | "World";
1309
1310
 
@@ -1450,6 +1451,11 @@ export type SettingsTreeFieldValue =
1450
1451
  * @category Custom panels
1451
1452
  */
1452
1453
  export type SettingsTreeField = SettingsTreeFieldValue & {
1454
+ /**
1455
+ * Optional caption.
1456
+ */
1457
+ caption?: string;
1458
+
1453
1459
  /**
1454
1460
  * True if the field is disabled.
1455
1461
  */
@@ -1522,6 +1528,11 @@ export type SettingsTreeNodeActionItem = {
1522
1528
  */
1523
1529
  display?: "menu" | "inline";
1524
1530
 
1531
+ /**
1532
+ * Optional semantic color for the action button.
1533
+ */
1534
+ color?: "inherit" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
1535
+
1525
1536
  /**
1526
1537
  * Whether this action is disabled or not. Defaults to false.
1527
1538
  */