@uniformdev/uniform-mcp 20.20.3 → 20.23.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.
Files changed (2) hide show
  1. package/dist/index.mjs +9 -2
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -60689,6 +60689,7 @@ var InputKeywordSearch = (0, import_react122.forwardRef)(
60689
60689
  onClear,
60690
60690
  compact = false,
60691
60691
  rounded = false,
60692
+ onKeyPress,
60692
60693
  ...props
60693
60694
  }, ref) => {
60694
60695
  const handleSearchTextChanged = (e4) => {
@@ -60706,6 +60707,12 @@ var InputKeywordSearch = (0, import_react122.forwardRef)(
60706
60707
  onSearchTextChanged("");
60707
60708
  }
60708
60709
  };
60710
+ const handleKeyPress = (e4) => {
60711
+ if (onKeyPress) {
60712
+ onKeyPress(e4);
60713
+ }
60714
+ preventSubmitOnField(e4);
60715
+ };
60709
60716
  return /* @__PURE__ */ jsx2(
60710
60717
  Input,
60711
60718
  {
@@ -60726,7 +60733,7 @@ var InputKeywordSearch = (0, import_react122.forwardRef)(
60726
60733
  }
60727
60734
  ) : /* @__PURE__ */ jsx2(Icon, { icon: import_CgSearch.CgSearch, iconColor: "gray", size: "1rem" }),
60728
60735
  onChange: handleSearchTextChanged,
60729
- onKeyPress: preventSubmitOnField,
60736
+ onKeyPress: handleKeyPress,
60730
60737
  disabled: disabled2,
60731
60738
  "aria-label": placeholder,
60732
60739
  css: [
@@ -61458,7 +61465,7 @@ var ChipContainer = css`
61458
61465
  `;
61459
61466
  var ChipText = css`
61460
61467
  align-self: center;
61461
- line-height: 1.1;
61468
+ line-height: 1.2;
61462
61469
  text-wrap: nowrap;
61463
61470
  `;
61464
61471
  var ChipIcon = css`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-mcp",
3
- "version": "20.20.3",
3
+ "version": "20.23.0",
4
4
  "description": "Uniform MCP Server",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  "@lexical/rich-text": "0.25.0",
29
29
  "@lexical/table": "0.25.0",
30
30
  "@modelcontextprotocol/sdk": "^1.12.0",
31
- "@uniformdev/canvas": "20.20.3",
31
+ "@uniformdev/canvas": "20.23.0",
32
32
  "fast-json-patch": "^3.1.1",
33
33
  "immer": "10.1.1",
34
34
  "lexical": "0.25.0",
@@ -42,8 +42,8 @@
42
42
  "access": "public"
43
43
  },
44
44
  "devDependencies": {
45
- "@uniformdev/design-system": "^20.20.3",
45
+ "@uniformdev/design-system": "^20.23.0",
46
46
  "vitest": "^3.1.4"
47
47
  },
48
- "gitHead": "3e58ece2c26439f3ee48d2ff445898a3be59b349"
48
+ "gitHead": "cc8a0ba91f036c7dea8d3a2dffad3373dec9cf2b"
49
49
  }