@thecb/components 10.8.0-beta.2 → 10.8.0-beta.3

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
@@ -27106,7 +27106,6 @@ var FormInput = function FormInput(_ref15) {
27106
27106
  _ref15$isRequired = _ref15.isRequired,
27107
27107
  isRequired = _ref15$isRequired === void 0 ? false : _ref15$isRequired,
27108
27108
  props = _objectWithoutProperties(_ref15, _excluded2);
27109
- debugger;
27110
27109
  var _useState = React.useState(false),
27111
27110
  _useState2 = _slicedToArray(_useState, 2),
27112
27111
  showPassword = _useState2[0],
@@ -28616,12 +28615,10 @@ var Search = function Search(_ref) {
28616
28615
  placeholder = _ref$placeholder === void 0 ? "Search" : _ref$placeholder,
28617
28616
  _ref$searchOnKeypress = _ref.searchOnKeypress,
28618
28617
  searchOnKeypress = _ref$searchOnKeypress === void 0 ? false : _ref$searchOnKeypress,
28619
- _ref$searchContainerW = _ref.searchContainerWidth,
28620
- searchContainerWidth = _ref$searchContainerW === void 0 ? null : _ref$searchContainerW,
28618
+ _ref$width = _ref.width,
28619
+ width = _ref$width === void 0 ? "100%" : _ref$width,
28621
28620
  ariaControlsId = _ref.ariaControlsId,
28622
28621
  themeValues = _ref.themeValues;
28623
- console.log("🚀 ~ field:", field);
28624
- console.log("🚀 ~ fieldActions:", fieldActions);
28625
28622
  var searchTerm = field.rawValue;
28626
28623
  var getFilteredDataset = function getFilteredDataset() {
28627
28624
  if (!searchTerm) return dataset;
@@ -28636,10 +28633,10 @@ var Search = function Search(_ref) {
28636
28633
  return onSearchCallback(getFilteredDataset());
28637
28634
  };
28638
28635
  return /*#__PURE__*/React__default.createElement(Cluster, {
28639
- extraStyles: "overflow: visible;"
28636
+ extraStyles: "overflow: visible; width: ".concat(width, ";")
28640
28637
  }, /*#__PURE__*/React__default.createElement(Box, {
28641
28638
  padding: "0",
28642
- extraStyles: "\n flex-grow: ".concat(searchContainerWidth ? 0 : 1, "; \n width: ").concat(searchContainerWidth, " : auto;")
28639
+ extraStyles: "flex-grow: 1;"
28643
28640
  }, /*#__PURE__*/React__default.createElement(FormInput$1, {
28644
28641
  id: "searchInput",
28645
28642
  role: "search",