@react-form-builder/components-rsuite 3.1.0 → 3.3.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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -152,7 +152,7 @@ const F = J.withEditorProps({ min: 0 }), lt = J.withEditorProps({ min: 1 }), lA
|
|
|
152
152
|
onSelect: c
|
|
153
153
|
}), xt = h(JA, "RsCheckbox").name("Checkbox").props({
|
|
154
154
|
children: l.named("Label").default("Checkbox"),
|
|
155
|
-
checked: a.hinted("Specifies whether the checkbox is selected").valued.default(!0),
|
|
155
|
+
checked: a.hinted("Specifies whether the checkbox is selected").valued.default(!0).uncontrolledValue(!1),
|
|
156
156
|
disabled: a.hinted("Whether disabled").default(!1),
|
|
157
157
|
readOnly: D,
|
|
158
158
|
indeterminate: a.hinted("When being a checkbox, setting styles after the child part is selected").default(!1),
|
|
@@ -359,7 +359,7 @@ const F = J.withEditorProps({ min: 0 }), lt = J.withEditorProps({ min: 1 }), lA
|
|
|
359
359
|
label: l.default("Input").hinted("Input label"),
|
|
360
360
|
...IA,
|
|
361
361
|
type: v("text", "password", "email", "number", "search", "tel", "url", "time").default("text"),
|
|
362
|
-
value: l.valued,
|
|
362
|
+
value: l.valued.uncontrolledValue(""),
|
|
363
363
|
passwordMask: a.default(!1)
|
|
364
364
|
}), nn = ({ text: A, ...e }) => /* @__PURE__ */ r("label", { ...e, children: A }), rn = h(nn, "RsLabel").name("Label").props({
|
|
365
365
|
text: l.default("Label")
|
|
@@ -810,7 +810,7 @@ const jn = ({ style: A, className: e, label: t, onChange: n, value: o, ...s }) =
|
|
|
810
810
|
onSelect: c
|
|
811
811
|
}), $n = h(Ge, "RsToggle").name("Toggle").props({
|
|
812
812
|
children: l.named("Label"),
|
|
813
|
-
checked: a.valued.default(!0),
|
|
813
|
+
checked: a.valued.default(!0).uncontrolledValue(!1),
|
|
814
814
|
checkedChildren: l.named("Checked text"),
|
|
815
815
|
unCheckedChildren: l.named("Unchecked text"),
|
|
816
816
|
disabled: a.hinted("Whether disabled").default(!1),
|