@lensui/lens-table 0.1.55 → 0.1.56

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.cjs CHANGED
@@ -342,11 +342,11 @@ function ChoiceEditor({ value, options, style, labels, onChange, onCommit, onCan
342
342
  lazyMount: true,
343
343
  unmountOnExit: true,
344
344
  positioning: { sameWidth: true, placement: "bottom-start" },
345
- onSelect: (details) => {
346
- onChange(details.value);
347
- onCommit(details.value);
345
+ onValueChange: (details) => {
346
+ const nextValue = details.value[0] ?? "";
347
+ onChange(nextValue);
348
+ onCommit(nextValue);
348
349
  },
349
- onValueChange: (details) => onChange(details.value[0] ?? ""),
350
350
  onKeyDown: (event) => {
351
351
  event.stopPropagation();
352
352
  if (event.key === "Escape") onCancel();
package/dist/index.css CHANGED
@@ -2091,11 +2091,11 @@
2091
2091
  }
2092
2092
  .rvg-clear-icon {
2093
2093
  display: block;
2094
- width: 10px;
2095
- height: 10px;
2094
+ width: 12px;
2095
+ height: 12px;
2096
2096
  fill: none;
2097
2097
  stroke: currentColor;
2098
- stroke-width: 1.7;
2098
+ stroke-width: 1.5;
2099
2099
  stroke-linecap: round;
2100
2100
  }
2101
2101
  .rvg-date-editor [data-part=trigger]:hover {
@@ -2106,9 +2106,9 @@
2106
2106
  display: block;
2107
2107
  width: 12px;
2108
2108
  height: 12px;
2109
- fill: currentColor;
2109
+ fill: none;
2110
2110
  stroke: currentColor;
2111
- stroke-width: 12px;
2111
+ stroke-width: 1.5px;
2112
2112
  stroke-linejoin: round;
2113
2113
  paint-order: stroke fill;
2114
2114
  }
package/dist/index.js CHANGED
@@ -312,11 +312,11 @@ function ChoiceEditor({ value, options, style, labels, onChange, onCommit, onCan
312
312
  lazyMount: true,
313
313
  unmountOnExit: true,
314
314
  positioning: { sameWidth: true, placement: "bottom-start" },
315
- onSelect: (details) => {
316
- onChange(details.value);
317
- onCommit(details.value);
315
+ onValueChange: (details) => {
316
+ const nextValue = details.value[0] ?? "";
317
+ onChange(nextValue);
318
+ onCommit(nextValue);
318
319
  },
319
- onValueChange: (details) => onChange(details.value[0] ?? ""),
320
320
  onKeyDown: (event) => {
321
321
  event.stopPropagation();
322
322
  if (event.key === "Escape") onCancel();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensui/lens-table",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "A lightweight, canvas-rendered React table component for LensUI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",