@para-ui/core 3.0.88 → 3.0.89

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/Form/index.js CHANGED
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import { DeepClone } from '@paraview/lib';
5
5
  import React__default from 'react';
6
- import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-816522b9.js';
6
+ import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-e41350ca.js';
7
7
  import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
8
8
  import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
9
9
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { RadioGroupProps } from '../../../RadioGroup';
2
+ import { RadioGroupProps } from "../../../RadioGroup";
3
3
  export interface FormRadioGroupProps extends RadioGroupProps {
4
4
  defaultValue?: string;
5
5
  change?: (value: any) => any;
package/FormItem/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { F as default } from '../_verture/index-816522b9.js';
3
+ export { F as default } from '../_verture/index-e41350ca.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-66aa48a1.js';
package/README.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 版本: 3.0.89
2
+
3
+ para-ui/core@3.0.89 发布
4
+ 【表单-Form】修复当单选框组的的值是boolean的时候,设置默认值为fasle选中不了的问题
5
+
1
6
  ## 版本: 3.0.88
2
7
 
3
8
  para-ui/core@3.0.88 发布
@@ -24,15 +24,15 @@ var FormRadioGroup = function FormRadioGroup(props) {
24
24
  var defaultValue = props.defaultValue,
25
25
  change = props.change;
26
26
  /**
27
- * 选中的值
28
- */
29
- var _React$useState = React__default.useState(defaultValue || ''),
27
+ * 选中的值
28
+ */
29
+ var _React$useState = React__default.useState(defaultValue === undefined ? "" : defaultValue),
30
30
  _React$useState2 = _slicedToArray(_React$useState, 2),
31
31
  selectValue = _React$useState2[0],
32
32
  setSelectValue = _React$useState2[1];
33
33
  /**
34
- * 选中值改变
35
- */
34
+ * 选中值改变
35
+ */
36
36
  var changeValue = function changeValue(value) {
37
37
  setSelectValue(value);
38
38
  change && change(value);
package/index.js CHANGED
@@ -22,7 +22,7 @@ export { D as Dropdown } from './_verture/index-77f9e0fb.js';
22
22
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
23
23
  export { default as Empty } from './Empty/index.js';
24
24
  export { default as Form } from './Form/index.js';
25
- export { F as FormItem } from './_verture/index-816522b9.js';
25
+ export { F as FormItem } from './_verture/index-e41350ca.js';
26
26
  export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-630bdb73.js';
27
27
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
28
28
  export { default as Help } from './Help/index.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.88",
4
+ "version": "3.0.89",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",