@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.d.ts CHANGED
@@ -455,7 +455,7 @@ interface FormInputProps {
455
455
  themeValues?: object;
456
456
  background?: string;
457
457
  customHeight?: string;
458
- autocompleteValue?: string | null;
458
+ autocompleteValue?: string;
459
459
  removeFromValue?: RegExp;
460
460
  dataQa?: string | null;
461
461
  }
@@ -476,9 +476,10 @@ interface FormSelectProps {
476
476
  disabledValues?: string[];
477
477
  themeValues?: object;
478
478
  hasTitles?: boolean;
479
- autocompleteValue?: string | null;
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> &
@@ -638,6 +639,7 @@ declare const XCircleIconSmall: React.FC<Expand<XCircleIconSmallProps> &
638
639
  React.HTMLAttributes<HTMLElement>>;
639
640
 
640
641
  interface BoxProps {
642
+ autocompleteValue?: string;
641
643
  padding?: string;
642
644
  borderSize?: string;
643
645
  borderColor?: string;
@@ -835,6 +837,7 @@ declare const Paragraph: React.FC<Expand<ParagraphProps> &
835
837
  React.HTMLAttributes<HTMLElement>>;
836
838
 
837
839
  interface SearchableSelectProps {
840
+ autocompleteValue?: boolean;
838
841
  items: SearchableSelectOption[];
839
842
  selectedItems: SearchableSelectOption[];
840
843
  allSelected: boolean;
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,