intelicoreact 0.0.45 → 0.0.46

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.
@@ -157,7 +157,7 @@ var Dropdown = function Dropdown(_ref) {
157
157
  className: (0, _classnames.default)(RC, className),
158
158
  ref: dropdownRef
159
159
  }, /*#__PURE__*/_react.default.createElement("button", {
160
- className: "".concat(RC, "__trigger ").concat(!value ? 'placeholder' : '', " ").concat(error ? 'error' : ''),
160
+ className: "".concat(RC, "__trigger input__wrap ").concat(!value ? 'placeholder' : '', " ").concat(error ? 'error' : ''),
161
161
  onClick: function onClick() {
162
162
  return setIsOpen(!isOpen);
163
163
  }
@@ -73,6 +73,8 @@
73
73
  display: flex;
74
74
  align-items: center;
75
75
  //justify-content: center;
76
+ border: none;
77
+ background: transparent;
76
78
  padding: 0 20px 0 30px;
77
79
  position: relative;
78
80
  cursor: pointer;
@@ -103,6 +105,7 @@
103
105
  display: flex;
104
106
  align-items: center;
105
107
  width: 16px;
108
+ height: 16px;
106
109
  position: absolute;
107
110
  right: 4px;
108
111
  top: 50%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -75,7 +75,7 @@ const Dropdown = ({ options, value, error, onChange, placeholder, className, isS
75
75
 
76
76
  return (
77
77
  <div className={cn(RC, className)} ref={dropdownRef}>
78
- <button className={`${RC}__trigger ${!value ? 'placeholder' : ''} ${error ? 'error' : ''}`} onClick={() => setIsOpen(!isOpen)}>
78
+ <button className={`${RC}__trigger input__wrap ${!value ? 'placeholder' : ''} ${error ? 'error' : ''}`} onClick={() => setIsOpen(!isOpen)}>
79
79
  {isSearchable ? (
80
80
  <input
81
81
  className={`${RC}__input`}
@@ -73,6 +73,8 @@
73
73
  display: flex;
74
74
  align-items: center;
75
75
  //justify-content: center;
76
+ border: none;
77
+ background: transparent;
76
78
  padding: 0 20px 0 30px;
77
79
  position: relative;
78
80
  cursor: pointer;
@@ -103,6 +105,7 @@
103
105
  display: flex;
104
106
  align-items: center;
105
107
  width: 16px;
108
+ height: 16px;
106
109
  position: absolute;
107
110
  right: 4px;
108
111
  top: 50%;