@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 +4 -4
- package/dist/index.css +5 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
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
|
-
|
|
346
|
-
|
|
347
|
-
|
|
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:
|
|
2095
|
-
height:
|
|
2094
|
+
width: 12px;
|
|
2095
|
+
height: 12px;
|
|
2096
2096
|
fill: none;
|
|
2097
2097
|
stroke: currentColor;
|
|
2098
|
-
stroke-width: 1.
|
|
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:
|
|
2109
|
+
fill: none;
|
|
2110
2110
|
stroke: currentColor;
|
|
2111
|
-
stroke-width:
|
|
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
|
-
|
|
316
|
-
|
|
317
|
-
|
|
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();
|