@thecb/components 9.0.7-beta.1 → 9.0.7

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.js CHANGED
@@ -24197,7 +24197,9 @@ var FormSelect = function FormSelect(_ref) {
24197
24197
  _ref$smoothScroll = _ref.smoothScroll,
24198
24198
  smoothScroll = _ref$smoothScroll === void 0 ? true : _ref$smoothScroll,
24199
24199
  _ref$dataQa = _ref.dataQa,
24200
- dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa;
24200
+ dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
24201
+ _ref$widthFitOptions = _ref.widthFitOptions,
24202
+ widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions;
24201
24203
 
24202
24204
  var _useState = React.useState(false),
24203
24205
  _useState2 = _slicedToArray(_useState, 2),
@@ -24240,6 +24242,7 @@ var FormSelect = function FormSelect(_ref) {
24240
24242
  ariaLabelledby: createIdFromString(labelTextWhenNoError),
24241
24243
  ariaDescribedby: createIdFromString(labelTextWhenNoError, "error message"),
24242
24244
  maxHeight: dropdownMaxHeight,
24245
+ widthFitOptions: widthFitOptions,
24243
24246
  hasTitles: hasTitles,
24244
24247
  placeholder: options[0] ? options[0].text : "",
24245
24248
  options: options,