@plasmicpkgs/antd5 0.0.128 → 0.0.129

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/antd5",
3
- "version": "0.0.128",
3
+ "version": "0.0.129",
4
4
  "description": "Plasmic registration calls for antd components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -62,10 +62,10 @@
62
62
  "@babel/preset-env": "^7.22.15",
63
63
  "@babel/preset-react": "^7.22.15",
64
64
  "@babel/preset-typescript": "^7.22.15",
65
- "@plasmicapp/data-sources": "0.1.113",
65
+ "@plasmicapp/data-sources": "0.1.114",
66
66
  "@plasmicapp/host": "1.0.164",
67
67
  "@plasmicapp/query": "0.1.68",
68
- "@plasmicapp/react-web": "0.2.256",
68
+ "@plasmicapp/react-web": "0.2.257",
69
69
  "@storybook/addon-actions": "^7.4.0",
70
70
  "@storybook/addon-essentials": "^7.4.0",
71
71
  "@storybook/addon-info": "^5.3.21",
@@ -99,5 +99,5 @@
99
99
  "publishConfig": {
100
100
  "access": "public"
101
101
  },
102
- "gitHead": "494b47b68cc8efb2df5187c0ffa18da49e5a306a"
102
+ "gitHead": "5d769615959db92f992904c782b1ab431f2c58ab"
103
103
  }
@@ -1060,6 +1060,8 @@ function commonFormItemProps(usage) {
1060
1060
  name: {
1061
1061
  type: "string",
1062
1062
  required: true,
1063
+ displayName: "Field key",
1064
+ description: "Key name for this field value in the submitted form data.",
1063
1065
  validator: (value, _ps, ctx) => {
1064
1066
  var _a, _b, _c;
1065
1067
  let currFullPath = [];
@@ -1070,7 +1072,7 @@ function commonFormItemProps(usage) {
1070
1072
  currFullPath = [...(_a = formItemCtx == null ? void 0 : formItemCtx.parentFormItemPath) != null ? _a : [], value];
1071
1073
  }
1072
1074
  const nameCounter = ((_c = (_b = ctx == null ? void 0 : ctx.internalFieldCtx) == null ? void 0 : _b.registeredFields) != null ? _c : []).filter((formItem) => utils.arrayEq(formItem.fullPath, currFullPath)).length;
1073
- return nameCounter === 1 ? true : `Repeated form item name: ${currFullPath.join(" \u2192 ")}`;
1075
+ return nameCounter === 1 ? true : `Repeated form field key: ${currFullPath.join(" \u2192 ")}`;
1074
1076
  },
1075
1077
  defaultValueHint: getDefaultValueHint("name")
1076
1078
  },
@@ -1186,7 +1188,6 @@ function commonFormItemProps(usage) {
1186
1188
  },
1187
1189
  hidden: {
1188
1190
  type: "boolean",
1189
- advanced: true,
1190
1191
  defaultValueHint: getDefaultValueHint("hidden")
1191
1192
  },
1192
1193
  validateTrigger: {
@@ -1472,7 +1473,9 @@ function registerFormGroup(loader) {
1472
1473
  actions: COMMON_ACTIONS,
1473
1474
  props: {
1474
1475
  name: {
1475
- type: "string"
1476
+ type: "string",
1477
+ displayName: "Form group key",
1478
+ description: "Name of the field key for this group of form fields in the submitted form data."
1476
1479
  },
1477
1480
  children: {
1478
1481
  type: "slot"