@plasmicpkgs/antd5 0.0.183 → 0.0.185

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/antd.esm.js CHANGED
@@ -3217,6 +3217,17 @@ const COMMON_EVENT_HANDLERS = {
3217
3217
  }
3218
3218
  };
3219
3219
  const inputComponentName = "plasmic-antd5-input";
3220
+ const inputTypeOptions = [
3221
+ "text",
3222
+ "password",
3223
+ "number",
3224
+ "date",
3225
+ "datetime-local",
3226
+ "time",
3227
+ "email",
3228
+ "tel",
3229
+ "hidden"
3230
+ ];
3220
3231
  function registerInput(loader) {
3221
3232
  registerComponentHelper(loader, AntdInput, __spreadProps$9(__spreadValues$h({
3222
3233
  name: inputComponentName,
@@ -3238,17 +3249,7 @@ function registerInput(loader) {
3238
3249
  },
3239
3250
  type: {
3240
3251
  type: "choice",
3241
- options: [
3242
- "text",
3243
- "password",
3244
- "number",
3245
- "date",
3246
- "datetime-local",
3247
- "time",
3248
- "email",
3249
- "tel",
3250
- "hidden"
3251
- ],
3252
+ options: inputTypeOptions,
3252
3253
  defaultValueHint: "text"
3253
3254
  }
3254
3255
  }, COMMON_ADVANCED_PROPS), COMMON_DECORATOR_PROPS), COMMON_EVENT_HANDLERS),
@@ -3356,6 +3357,13 @@ function registerNumberInput(loader) {
3356
3357
  type: "boolean",
3357
3358
  displayName: "Show add/minus controls?",
3358
3359
  advanced: true
3360
+ },
3361
+ type: {
3362
+ type: "choice",
3363
+ options: inputTypeOptions,
3364
+ displayName: "Input type",
3365
+ defaultValue: "number",
3366
+ advanced: true
3359
3367
  }
3360
3368
  }, COMMON_DECORATOR_PROPS), COMMON_ADVANCED_PROPS), COMMON_EVENT_HANDLERS), {
3361
3369
  // onChange directly called with the number