@smart-react-components/ui 2.0.0-alpha-117 → 2.0.0-alpha-118

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.
@@ -47,7 +47,7 @@ exports.default = (0, styled_components_1.default)(Button_1.default).attrs(({ ha
47
47
  align-items: stretch;
48
48
  background: transparent;
49
49
  border: 0;
50
- border-radius: ${(isFixedSize && shape === 'rounded') ? '100%' : '0'};
50
+ border-radius: ${(isFixedSize && shape === 'rounded') ? '100%' : theme.$.radius.button[shape]};
51
51
  cursor: ${(!isDisabled && !isLoading) ? theme.$.cursor.button : 'default'};
52
52
  font-family: ${theme.$.fontFamily.button};
53
53
  position: relative;
@@ -252,6 +252,20 @@ exports.default = (0, styled_components_1.default)(Button_1.default).attrs(({ ha
252
252
  `
253
253
  : ''}
254
254
 
255
+ ${hasSeparatedLeftAddon
256
+ ? `
257
+ border-top-left-radius: 0;
258
+ border-bottom-left-radius: 0;
259
+ `
260
+ : ''}
261
+
262
+ ${hasSeparatedRightAddon
263
+ ? `
264
+ border-top-right-radius: 0;
265
+ border-bottom-right-radius: 0;
266
+ `
267
+ : ''}
268
+
255
269
  .src-button-content {
256
270
  border-radius: ${(isFixedSize && shape === 'rounded') ? '100%' : theme.$.radius.button[shape]};
257
271
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-react-components/ui",
3
- "version": "2.0.0-alpha-117",
3
+ "version": "2.0.0-alpha-118",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "description": "SRC UI includes React and Styled components.",