react-survey-builder 1.0.108 → 1.0.110

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.
@@ -1946,7 +1946,7 @@ export var Checkboxes = /*#__PURE__*/function (_React$Component2) {
1946
1946
  type: "checkbox",
1947
1947
  label: option.text,
1948
1948
  variant: (_ref22 = (_self$props$item$bgCo = (_self$props4 = self.props) === null || _self$props4 === void 0 || (_self$props4 = _self$props4.item) === null || _self$props4 === void 0 ? void 0 : _self$props4.bgColor) !== null && _self$props$item$bgCo !== void 0 ? _self$props$item$bgCo : (_self$props5 = self.props) === null || _self$props5 === void 0 ? void 0 : _self$props5.checkboxButtonClassName) !== null && _ref22 !== void 0 ? _ref22 : "outline-light",
1949
- className: "btn-survey-builder-checkbox ".concat((_self$props6 = self.props) === null || _self$props6 === void 0 || (_self$props6 = _self$props6.item) === null || _self$props6 === void 0 ? void 0 : _self$props6.className, " ").concat(isBooleanTrue(checked) ? (_self$props7 = self.props) === null || _self$props7 === void 0 || (_self$props7 = _self$props7.item) === null || _self$props7 === void 0 ? void 0 : _self$props7.selectedClassName : (_self$props8 = self.props) === null || _self$props8 === void 0 || (_self$props8 = _self$props8.item) === null || _self$props8 === void 0 ? void 0 : _self$props8.unselectedClassName),
1949
+ className: "btn-survey-builder-checkbox ".concat((_self$props6 = self.props) === null || _self$props6 === void 0 || (_self$props6 = _self$props6.item) === null || _self$props6 === void 0 ? void 0 : _self$props6.className, " ").concat(isBooleanTrue(props.checked) ? (_self$props7 = self.props) === null || _self$props7 === void 0 || (_self$props7 = _self$props7.item) === null || _self$props7 === void 0 ? void 0 : _self$props7.selectedClassName : (_self$props8 = self.props) === null || _self$props8 === void 0 || (_self$props8 = _self$props8.item) === null || _self$props8 === void 0 ? void 0 : _self$props8.unselectedClassName),
1950
1950
  key: "preview_".concat(option.key),
1951
1951
  id: name + '-' + ID.uuid(),
1952
1952
  inputRef: function inputRef(c) {
package/lib/toolbar.js CHANGED
@@ -93,8 +93,8 @@ var _defaultItems = [{
93
93
  className: "p-2 shadow-none rounded-3 text-black border border-2 w-100",
94
94
  fieldLabelClassName: "text-start text-black fs-3",
95
95
  fieldDescriptionClassName: "text-start text-muted fs-6",
96
- selectedClassName: "",
97
- unselectedClassName: "",
96
+ selectedClassName: "border-black",
97
+ unselectedClassName: "border-light",
98
98
  unselectedColor: "black",
99
99
  selectedColor: "black",
100
100
  inline: false
@@ -129,8 +129,8 @@ var _defaultItems = [{
129
129
  className: "p-2 shadow-none rounded-3 text-black border border-2 w-100",
130
130
  fieldLabelClassName: "text-start text-black fs-3",
131
131
  fieldDescriptionClassName: "text-start text-muted fs-6",
132
- selectedClassName: "",
133
- unselectedClassName: "",
132
+ selectedClassName: "border-black",
133
+ unselectedClassName: "border-light",
134
134
  unselectedColor: "black",
135
135
  selectedColor: "black",
136
136
  showRadio: true,
@@ -151,8 +151,8 @@ var _defaultItems = [{
151
151
  className: "p-2 shadow-none rounded-3 text-black border border-2 w-100",
152
152
  fieldLabelClassName: "text-start text-black fs-3",
153
153
  fieldDescriptionClassName: "text-start text-muted fs-6",
154
- selectedClassName: "",
155
- unselectedClassName: "",
154
+ selectedClassName: "border-black",
155
+ unselectedClassName: "border-light",
156
156
  unselectedColor: "black",
157
157
  selectedColor: "black",
158
158
  showRadio: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-survey-builder",
3
- "version": "1.0.108",
3
+ "version": "1.0.110",
4
4
  "description": "A complete survey builder for react.",
5
5
  "main": "lib/index.js",
6
6
  "types": "types/index.d.ts",