@2urgseui/core 0.1.2 → 0.1.3

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 CHANGED
@@ -3391,8 +3391,10 @@ function FormFieldVariantControl({
3391
3391
  value: _omitValueFromInputProps,
3392
3392
  type: inputTypeProp,
3393
3393
  inputMode: inputModeProp,
3394
+ disabled: inputDisabledFromProps,
3394
3395
  ...restInputProps
3395
3396
  } = inputProps ?? {};
3397
+ const inputDisabled = Boolean(inputDisabledFromProps) || Boolean(field.disabled);
3396
3398
  if (maskInput) {
3397
3399
  const pattern = maskInput.pattern;
3398
3400
  const rawStored = field.value == null || field.value === "" ? "" : String(field.value);
@@ -3420,7 +3422,7 @@ function FormFieldVariantControl({
3420
3422
  },
3421
3423
  onBlur: field.onBlur,
3422
3424
  ref: field.ref,
3423
- disabled: field.disabled
3425
+ disabled: inputDisabled
3424
3426
  }
3425
3427
  ) });
3426
3428
  }
@@ -3454,7 +3456,7 @@ function FormFieldVariantControl({
3454
3456
  },
3455
3457
  onBlur: field.onBlur,
3456
3458
  ref: field.ref,
3457
- disabled: field.disabled
3459
+ disabled: inputDisabled
3458
3460
  }
3459
3461
  ) });
3460
3462
  }
@@ -3475,7 +3477,7 @@ function FormFieldVariantControl({
3475
3477
  },
3476
3478
  onBlur: field.onBlur,
3477
3479
  ref: field.ref,
3478
- disabled: field.disabled
3480
+ disabled: inputDisabled
3479
3481
  }
3480
3482
  ) });
3481
3483
  }
package/dist/index.js CHANGED
@@ -3151,8 +3151,10 @@ function FormFieldVariantControl({
3151
3151
  value: _omitValueFromInputProps,
3152
3152
  type: inputTypeProp,
3153
3153
  inputMode: inputModeProp,
3154
+ disabled: inputDisabledFromProps,
3154
3155
  ...restInputProps
3155
3156
  } = inputProps ?? {};
3157
+ const inputDisabled = Boolean(inputDisabledFromProps) || Boolean(field.disabled);
3156
3158
  if (maskInput) {
3157
3159
  const pattern = maskInput.pattern;
3158
3160
  const rawStored = field.value == null || field.value === "" ? "" : String(field.value);
@@ -3180,7 +3182,7 @@ function FormFieldVariantControl({
3180
3182
  },
3181
3183
  onBlur: field.onBlur,
3182
3184
  ref: field.ref,
3183
- disabled: field.disabled
3185
+ disabled: inputDisabled
3184
3186
  }
3185
3187
  ) });
3186
3188
  }
@@ -3214,7 +3216,7 @@ function FormFieldVariantControl({
3214
3216
  },
3215
3217
  onBlur: field.onBlur,
3216
3218
  ref: field.ref,
3217
- disabled: field.disabled
3219
+ disabled: inputDisabled
3218
3220
  }
3219
3221
  ) });
3220
3222
  }
@@ -3235,7 +3237,7 @@ function FormFieldVariantControl({
3235
3237
  },
3236
3238
  onBlur: field.onBlur,
3237
3239
  ref: field.ref,
3238
- disabled: field.disabled
3240
+ disabled: inputDisabled
3239
3241
  }
3240
3242
  ) });
3241
3243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2urgseui/core",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "2URGSE Shared UI component library",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./dist/index.cjs",