@woosmap/ui 4.192.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
|
@@ -23,6 +23,7 @@ import { ReactComponent as Cars } from '../../icons/cars.svg';
|
|
|
23
23
|
import { ReactComponent as Cb } from '../../icons/cb.svg';
|
|
24
24
|
import { ReactComponent as ChatLove } from '../../icons/chat-love.svg';
|
|
25
25
|
import { ReactComponent as ChatConversation } from '../../icons/chat-conversation.svg';
|
|
26
|
+
import { ReactComponent as Circle } from '../../icons/circle.svg';
|
|
26
27
|
import { ReactComponent as Check } from '../../icons/check.svg';
|
|
27
28
|
import { ReactComponent as CheckBig } from '../../icons/check-big.svg';
|
|
28
29
|
import { ReactComponent as CallToAction } from '../../icons/call-to-action.svg';
|
|
@@ -254,6 +255,7 @@ const WebsiteIcons = {
|
|
|
254
255
|
'check-big': CheckBig,
|
|
255
256
|
'chat-love': ChatLove,
|
|
256
257
|
'chat-conversation': ChatConversation,
|
|
258
|
+
circle: Circle,
|
|
257
259
|
cube: Cube,
|
|
258
260
|
'cube-big': CubeBig,
|
|
259
261
|
'customers-services': CustomersServices,
|
|
@@ -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=
|
|
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}
|