@etsoo/materialui 1.6.14 → 1.6.15

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.
@@ -51,6 +51,7 @@ function ButtonPopupList(props) {
51
51
  ...selectedIds.toggleItem(item.id, checked)
52
52
  ];
53
53
  setSelectedIdsHandler(newIds);
54
+ onValueChange(newIds);
54
55
  } }), label: `${index + 1}. ${labelFormatter(item)}` })] })), mRef: dndRef }), onAdd && ((0, jsx_runtime_1.jsxs)(FlexBox_1.HBox, { gap: 1, children: [(0, jsx_runtime_1.jsx)(TextField_1.default, { variant: "outlined", label: labels?.more, fullWidth: true, inputRef: inputRef }), (0, jsx_runtime_1.jsx)(Button_1.default, { sx: { width: "120px" }, variant: "contained", startIcon: (0, jsx_runtime_1.jsx)(Add_1.default, {}), size: "small", onClick: async () => {
55
56
  if (inputRef.current == null)
56
57
  return;
@@ -45,6 +45,7 @@ function ButtonPopupList(props) {
45
45
  ...selectedIds.toggleItem(item.id, checked)
46
46
  ];
47
47
  setSelectedIdsHandler(newIds);
48
+ onValueChange(newIds);
48
49
  } }), label: `${index + 1}. ${labelFormatter(item)}` })] })), mRef: dndRef }), onAdd && (_jsxs(HBox, { gap: 1, children: [_jsx(TextField, { variant: "outlined", label: labels?.more, fullWidth: true, inputRef: inputRef }), _jsx(Button, { sx: { width: "120px" }, variant: "contained", startIcon: _jsx(AddIcon, {}), size: "small", onClick: async () => {
49
50
  if (inputRef.current == null)
50
51
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.6.14",
3
+ "version": "1.6.15",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -215,6 +215,7 @@ function ButtonPopupList<D extends DnDItemType>(
215
215
  ...selectedIds.toggleItem(item.id, checked)
216
216
  ];
217
217
  setSelectedIdsHandler(newIds);
218
+ onValueChange(newIds);
218
219
  }}
219
220
  />
220
221
  }