@lax-wp/design-system 0.14.37 → 0.14.38

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.
@@ -340,10 +340,8 @@ export interface ICellContextMenuTarget {
340
340
  column: ICell['column'];
341
341
  /** Raw cell value as it comes from the data source. */
342
342
  value: unknown;
343
- /** Plain text rendering of the cell — what the built-in "Copy content" item writes to the clipboard. */
343
+ /** Plain text rendering of the cell — what the built-in "Copy Cell" item writes to the clipboard. */
344
344
  text: string;
345
- /** Tab-separated text of the whole row, as rendered — what "Copy row" writes to the clipboard. */
346
- rowText: string;
347
345
  cell: ICell;
348
346
  }
349
347
  export interface ICellContextMenuContext extends ICellContextMenuTarget {
@@ -380,7 +378,7 @@ export interface ICellContextMenuConfig {
380
378
  isDisabledForCell?: (target: ICellContextMenuTarget) => boolean;
381
379
  /** Called after any built-in copy item writes to the clipboard. */
382
380
  onCopy?: (text: string, target: ICellContextMenuTarget) => void;
383
- /** Label override for the built-in "Copy content" item. */
381
+ /** Label override for the built-in "Copy Cell" item. */
384
382
  copyLabel?: string;
385
383
  /** Append the table's `rowOptions` (the three-dot row actions) to the menu. Defaults to true. */
386
384
  includeRowOptions?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lax-wp/design-system",
3
3
  "private": false,
4
- "version": "0.14.37",
4
+ "version": "0.14.38",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",