@thecb/components 9.0.7-beta.2 → 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.d.ts CHANGED
@@ -479,6 +479,7 @@ interface FormSelectProps {
479
479
  autocompleteValue?: string;
480
480
  smoothScroll?: boolean;
481
481
  dataQa?: string | null;
482
+ widthFitOptions?: boolean;
482
483
  }
483
484
 
484
485
  declare const FormSelect: React.FC<Expand<FormSelectProps> &
package/dist/index.esm.js CHANGED
@@ -24189,7 +24189,9 @@ var FormSelect = function FormSelect(_ref) {
24189
24189
  _ref$smoothScroll = _ref.smoothScroll,
24190
24190
  smoothScroll = _ref$smoothScroll === void 0 ? true : _ref$smoothScroll,
24191
24191
  _ref$dataQa = _ref.dataQa,
24192
- dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa;
24192
+ dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
24193
+ _ref$widthFitOptions = _ref.widthFitOptions,
24194
+ widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions;
24193
24195
 
24194
24196
  var _useState = useState(false),
24195
24197
  _useState2 = _slicedToArray(_useState, 2),
@@ -24232,6 +24234,7 @@ var FormSelect = function FormSelect(_ref) {
24232
24234
  ariaLabelledby: createIdFromString(labelTextWhenNoError),
24233
24235
  ariaDescribedby: createIdFromString(labelTextWhenNoError, "error message"),
24234
24236
  maxHeight: dropdownMaxHeight,
24237
+ widthFitOptions: widthFitOptions,
24235
24238
  hasTitles: hasTitles,
24236
24239
  placeholder: options[0] ? options[0].text : "",
24237
24240
  options: options,