@wandelbots/wandelbots-js-react-components 2.32.0-pr.feature-robot-precondition-list.372.82f340f → 2.32.0-pr.feature-robot-precondition-list.372.8bd8d01

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": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.32.0-pr.feature-robot-precondition-list.372.82f340f",
3
+ "version": "2.32.0-pr.feature-robot-precondition-list.372.8bd8d01",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -19,7 +19,7 @@ import { observer } from "mobx-react-lite"
19
19
  import { useMemo, useState } from "react"
20
20
  import { externalizeComponent } from "../externalizeComponent"
21
21
 
22
- export interface SearchableDataGridProps<T = Record<string, unknown>> {
22
+ export interface WandelbotsDataGridProps<T = Record<string, unknown>> {
23
23
  /**
24
24
  * Array of data items to display in the grid
25
25
  */
@@ -78,12 +78,6 @@ export interface SearchableDataGridProps<T = Record<string, unknown>> {
78
78
  */
79
79
  CustomToolbar?: React.ComponentType
80
80
 
81
- /**
82
- * Background color for the component
83
- * @default "transparent"
84
- */
85
- backgroundColor?: string
86
-
87
81
  /**
88
82
  * Select the first item by default
89
83
  * @default false
@@ -91,7 +85,7 @@ export interface SearchableDataGridProps<T = Record<string, unknown>> {
91
85
  selectFirstByDefault?: boolean
92
86
  }
93
87
 
94
- export const SearchableDataGrid = externalizeComponent(
88
+ export const WandelbotsDataGrid = externalizeComponent(
95
89
  observer(
96
90
  <T,>({
97
91
  data,
@@ -105,9 +99,8 @@ export const SearchableDataGrid = externalizeComponent(
105
99
  searchPlaceholder = "Search",
106
100
  dataGridProps,
107
101
  CustomToolbar,
108
- backgroundColor = "transparent",
109
102
  selectFirstByDefault = false,
110
- }: SearchableDataGridProps<T>) => {
103
+ }: WandelbotsDataGridProps<T>) => {
111
104
  // Internal state for selection when not controlled
112
105
  const [internalSelectedItem, setInternalSelectedItem] =
113
106
  useState<T | null>(null)
@@ -458,4 +451,4 @@ export const SearchableDataGrid = externalizeComponent(
458
451
  ),
459
452
  )
460
453
 
461
- SearchableDataGrid.displayName = "SearchableDataGrid"
454
+ WandelbotsDataGrid.displayName = "WandelbotsDataGrid"
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ export * from "./components/3d-viewport/PresetEnvironment"
2
2
  export * from "./components/3d-viewport/SafetyZonesRenderer"
3
3
  export * from "./components/3d-viewport/TrajectoryRenderer"
4
4
  export * from "./components/CycleTimer"
5
+ export * from "./components/DataGrid"
5
6
  export * from "./components/jogging/JoggingCartesianAxisControl"
6
7
  export * from "./components/jogging/JoggingJointRotationControl"
7
8
  export * from "./components/jogging/JoggingPanel"
@@ -20,7 +21,6 @@ export { defaultGetModel } from "./components/robots/robotModelLogic"
20
21
  export * from "./components/robots/SupportedRobot"
21
22
  export * from "./components/RobotSetupReadinessIndicator"
22
23
  export * from "./components/safetyBar/SafetyBar"
23
- export * from "./components/SearchableDataGrid"
24
24
  export * from "./components/SelectableFab"
25
25
  export * from "./components/utils/hooks"
26
26
  export * from "./components/utils/interpolation"
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchableDataGrid.d.ts","sourceRoot":"","sources":["../../src/components/SearchableDataGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,UAAU,EACf,KAAK,aAAa,EAOnB,MAAM,kBAAkB,CAAA;AAKzB,MAAM,WAAW,uBAAuB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAClE;;OAEG;IACH,IAAI,EAAE,CAAC,EAAE,CAAA;IAET;;OAEG;IACH,OAAO,EAAE,UAAU,EAAE,CAAA;IAErB;;;OAGG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAAE,EAAE,E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