@woosmap/ui 4.193.0 → 4.195.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/package.json
CHANGED
|
@@ -116,12 +116,14 @@ export default class Input extends Component {
|
|
|
116
116
|
default:
|
|
117
117
|
iconSize = 22;
|
|
118
118
|
}
|
|
119
|
+
const btnSize = size ? `btn--${size}` : '';
|
|
119
120
|
return (
|
|
120
121
|
<div className="input__container">
|
|
121
122
|
{icon ? <Icon icon={icon} isFill={isInputIconFill} size={iconSize} /> : null}
|
|
123
|
+
|
|
122
124
|
{type === 'number' && (
|
|
123
125
|
<button
|
|
124
|
-
className=
|
|
126
|
+
className={`btn btn--icon btn--secondary ${btnSize}`}
|
|
125
127
|
onClick={this.increment}
|
|
126
128
|
type="button"
|
|
127
129
|
disabled={disabled}
|
|
@@ -151,7 +153,7 @@ export default class Input extends Component {
|
|
|
151
153
|
})}
|
|
152
154
|
{type === 'number' && (
|
|
153
155
|
<button
|
|
154
|
-
className=
|
|
156
|
+
className={`btn btn--icon btn--secondary ${btnSize}`}
|
|
155
157
|
onClick={this.decrement}
|
|
156
158
|
type="button"
|
|
157
159
|
disabled={disabled}
|