@texturehq/edges 1.31.1 → 1.32.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.cts CHANGED
@@ -3394,6 +3394,11 @@ interface DeviceMetaCellProps<T = unknown> extends CellComponentProps<T> {
3394
3394
  align?: "left" | "center" | "right";
3395
3395
  /** Additional classes */
3396
3396
  className?: string;
3397
+ /**
3398
+ * Entity identifier for PII masking (can be a function to extract from row)
3399
+ * Example: (row) => `device:${row.id}`
3400
+ */
3401
+ piiEntity?: string | ((row: T) => string | undefined);
3397
3402
  }
3398
3403
  /**
3399
3404
  * DeviceMetaCell
@@ -3420,7 +3425,7 @@ interface DeviceMetaCellProps<T = unknown> extends CellComponentProps<T> {
3420
3425
  * }
3421
3426
  * ```
3422
3427
  */
3423
- declare function DeviceMetaCell<T = unknown>({ row, context, manufacturer, model, deviceType, logoUrl, layout, size, href, LinkComponent, linkVariant, showDeviceTypeIcon, showLogo, emphasis, align, className, }: DeviceMetaCellProps<T>): react_jsx_runtime.JSX.Element;
3428
+ declare function DeviceMetaCell<T = unknown>({ row, context, manufacturer, model, deviceType, logoUrl, layout, size, href, LinkComponent, linkVariant, showDeviceTypeIcon, showLogo, emphasis, align, className, piiEntity, }: DeviceMetaCellProps<T>): react_jsx_runtime.JSX.Element;
3424
3429
 
3425
3430
  interface DeviceStateCellProps<T = any> extends Omit<CellComponentProps<T>, "value"> {
3426
3431
  /** The device state value */
package/dist/index.d.ts CHANGED
@@ -3394,6 +3394,11 @@ interface DeviceMetaCellProps<T = unknown> extends CellComponentProps<T> {
3394
3394
  align?: "left" | "center" | "right";
3395
3395
  /** Additional classes */
3396
3396
  className?: string;
3397
+ /**
3398
+ * Entity identifier for PII masking (can be a function to extract from row)
3399
+ * Example: (row) => `device:${row.id}`
3400
+ */
3401
+ piiEntity?: string | ((row: T) => string | undefined);
3397
3402
  }
3398
3403
  /**
3399
3404
  * DeviceMetaCell
@@ -3420,7 +3425,7 @@ interface DeviceMetaCellProps<T = unknown> extends CellComponentProps<T> {
3420
3425
  * }
3421
3426
  * ```
3422
3427
  */
3423
- declare function DeviceMetaCell<T = unknown>({ row, context, manufacturer, model, deviceType, logoUrl, layout, size, href, LinkComponent, linkVariant, showDeviceTypeIcon, showLogo, emphasis, align, className, }: DeviceMetaCellProps<T>): react_jsx_runtime.JSX.Element;
3428
+ declare function DeviceMetaCell<T = unknown>({ row, context, manufacturer, model, deviceType, logoUrl, layout, size, href, LinkComponent, linkVariant, showDeviceTypeIcon, showLogo, emphasis, align, className, piiEntity, }: DeviceMetaCellProps<T>): react_jsx_runtime.JSX.Element;
3424
3429
 
3425
3430
  interface DeviceStateCellProps<T = any> extends Omit<CellComponentProps<T>, "value"> {
3426
3431
  /** The device state value */