@woosmap/ui 4.193.0 → 4.194.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.193.0",
3
+ "version": "4.194.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -116,12 +116,14 @@ export default class Input extends Component {
116
116
  default:
117
117
  iconSize = 22;
118
118
  }
119
+ const btnSize = `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="btn btn--icon btn--secondary"
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="btn btn--icon btn--secondary"
156
+ className={`btn btn--icon btn--secondary ${btnSize}`}
155
157
  onClick={this.decrement}
156
158
  type="button"
157
159
  disabled={disabled}