componenteshospitais 3.0.2 → 3.0.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/cjs/index.js CHANGED
@@ -1649,10 +1649,10 @@ var Busca = function (_a) {
1649
1649
  };
1650
1650
  }, []);
1651
1651
  return (React$2.createElement("div", { style: { position: 'relative', width: '100%' }, ref: inputRef },
1652
- label && React$2.createElement("label", { htmlFor: "codigoCbhpm", style: { color: corLabel ? corLabel : '' } }, label),
1652
+ label && React$2.createElement("label", { htmlFor: "busca", style: { color: corLabel ? corLabel : '' } }, label),
1653
1653
  React$2.createElement("div", { style: { position: 'relative', display: 'flex', alignItems: 'center', gap: '10px', width: '100%' } },
1654
1654
  showIcon && React$2.createElement(FaSearch, { className: styles$5.searchIcon }),
1655
- 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: {
1655
+ React$2.createElement("input", { type: "text", id: "busca", value: inputValue, onChange: handleInputChange, onFocus: handleFocus, placeholder: "Digite para buscar...", autoComplete: "off", className: styles$5.inputPadrao, style: {
1656
1656
  width: '100%',
1657
1657
  paddingLeft: showIcon ? '30px' : '0',
1658
1658
  backgroundColor: (corFundo ? corFundo : ''),
package/dist/esm/index.js CHANGED
@@ -1647,10 +1647,10 @@ var Busca = function (_a) {
1647
1647
  };
1648
1648
  }, []);
1649
1649
  return (React$2.createElement("div", { style: { position: 'relative', width: '100%' }, ref: inputRef },
1650
- label && React$2.createElement("label", { htmlFor: "codigoCbhpm", style: { color: corLabel ? corLabel : '' } }, label),
1650
+ label && React$2.createElement("label", { htmlFor: "busca", 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: {
1653
+ React$2.createElement("input", { type: "text", id: "busca", value: inputValue, onChange: handleInputChange, onFocus: handleFocus, placeholder: "Digite para buscar...", autoComplete: "off", className: styles$5.inputPadrao, style: {
1654
1654
  width: '100%',
1655
1655
  paddingLeft: showIcon ? '30px' : '0',
1656
1656
  backgroundColor: (corFundo ? corFundo : ''),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componenteshospitais",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -69,12 +69,12 @@ const Busca: React.FC<FilterableInputProps> = ({ options, value, onChange, label
69
69
 
70
70
  return (
71
71
  <div style={{ position: 'relative', width: '100%'}} ref={inputRef}>
72
- {label && <label htmlFor="codigoCbhpm" style={{color: corLabel ? corLabel: ''}}>{label}</label>}
72
+ {label && <label htmlFor="busca" style={{color: corLabel ? corLabel: ''}}>{label}</label>}
73
73
  <div style={{ position: 'relative', display: 'flex', alignItems: 'center', gap: '10px', width: '100%' }}>
74
74
  {showIcon && <FaSearch className={styles.searchIcon} />}
75
75
  <input
76
76
  type="text"
77
- id="codigoCbhpm"
77
+ id="busca"
78
78
  value={inputValue}
79
79
  onChange={handleInputChange}
80
80
  onFocus={handleFocus}