@thecb/components 10.8.0-beta.3 → 10.8.0
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 +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/SearchIcon.js +1 -1
- package/src/components/atoms/search/Search.js +4 -6
- package/src/components/atoms/search/index.d.ts +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -14722,7 +14722,7 @@ var SearchIcon = function SearchIcon(_ref) {
|
|
|
14722
14722
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14723
14723
|
width: size,
|
|
14724
14724
|
height: size,
|
|
14725
|
-
viewBox: "0 0
|
|
14725
|
+
viewBox: "0 0 ".concat(size, " ").concat(size),
|
|
14726
14726
|
version: "1.1"
|
|
14727
14727
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14728
14728
|
id: "Debt-Search",
|
|
@@ -28618,7 +28618,8 @@ var Search = function Search(_ref) {
|
|
|
28618
28618
|
_ref$width = _ref.width,
|
|
28619
28619
|
width = _ref$width === void 0 ? "100%" : _ref$width,
|
|
28620
28620
|
ariaControlsId = _ref.ariaControlsId,
|
|
28621
|
-
themeValues = _ref.themeValues
|
|
28621
|
+
themeValues = _ref.themeValues,
|
|
28622
|
+
extraStyles = _ref.extraStyles;
|
|
28622
28623
|
var searchTerm = field.rawValue;
|
|
28623
28624
|
var getFilteredDataset = function getFilteredDataset() {
|
|
28624
28625
|
if (!searchTerm) return dataset;
|
|
@@ -28633,7 +28634,7 @@ var Search = function Search(_ref) {
|
|
|
28633
28634
|
return onSearchCallback(getFilteredDataset());
|
|
28634
28635
|
};
|
|
28635
28636
|
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
28636
|
-
extraStyles: "overflow: visible; width: ".concat(width, ";")
|
|
28637
|
+
extraStyles: "overflow: visible; width: ".concat(width, "; ").concat(extraStyles)
|
|
28637
28638
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
28638
28639
|
padding: "0",
|
|
28639
28640
|
extraStyles: "flex-grow: 1;"
|