componenteshospitais 3.0.1 → 3.0.2

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/esm/index.js CHANGED
@@ -1606,7 +1606,7 @@ var SelectField = function (_a) {
1606
1606
  };
1607
1607
 
1608
1608
  var Busca = function (_a) {
1609
- var options = _a.options; _a.value; var onChange = _a.onChange, label = _a.label, _b = _a.showIcon, showIcon = _b === void 0 ? false : _b, corLabel = _a.corLabel, corFundo = _a.corFundo;
1609
+ var options = _a.options; _a.value; var onChange = _a.onChange, label = _a.label, _b = _a.showIcon, showIcon = _b === void 0 ? false : _b, corLabel = _a.corLabel, corFundo = _a.corFundo, borderRadius = _a.borderRadius, border = _a.border;
1610
1610
  var _c = useState(options), filteredOptions = _c[0], setFilteredOptions = _c[1];
1611
1611
  var _d = useState(false), showOptions = _d[0], setShowOptions = _d[1];
1612
1612
  var _e = useState(''), inputValue = _e[0], setInputValue = _e[1];
@@ -1650,7 +1650,13 @@ var Busca = function (_a) {
1650
1650
  label && React$2.createElement("label", { htmlFor: "codigoCbhpm", style: { color: corLabel ? corLabel : '' } }, label),
1651
1651
  React$2.createElement("div", { style: { position: 'relative', display: 'flex', alignItems: 'center', gap: '10px', width: '100%' } },
1652
1652
  showIcon && React$2.createElement(FaSearch, { className: styles$5.searchIcon }),
1653
- React$2.createElement("input", { type: "text", id: "codigoCbhpm", value: inputValue, onChange: handleInputChange, onFocus: handleFocus, placeholder: "Digite para buscar...", autoComplete: "off", className: styles$5.inputPadrao, style: { width: '100%', paddingLeft: showIcon ? '30px' : '0', backgroundColor: (corFundo ? corFundo : '') } })),
1653
+ React$2.createElement("input", { type: "text", id: "codigoCbhpm", value: inputValue, onChange: handleInputChange, onFocus: handleFocus, placeholder: "Digite para buscar...", autoComplete: "off", className: styles$5.inputPadrao, style: {
1654
+ width: '100%',
1655
+ paddingLeft: showIcon ? '30px' : '0',
1656
+ backgroundColor: (corFundo ? corFundo : ''),
1657
+ borderRadius: (borderRadius ? "".concat(borderRadius, "px") : ''),
1658
+ border: (border ? border : '')
1659
+ } })),
1654
1660
  showOptions && filteredOptions.length > 0 && (React$2.createElement("ul", { style: {
1655
1661
  position: 'absolute',
1656
1662
  width: '100%',