@smart-react-components/ui 2.0.0-alpha-89 → 2.0.0-alpha-91

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%' : theme.$.radius.button[shape]};
50
+ border-radius: ${(isFixedSize && shape === 'rounded') ? '100%' : '0'};
51
51
  font-family: ${theme.$.fontFamily.button};
52
52
  position: relative;
53
53
  transition: box-shadow 300ms 0s ease-in-out;
@@ -244,20 +244,6 @@ exports.default = (0, styled_components_1.default)(Button_1.default).attrs(({ ha
244
244
  `
245
245
  : ''}
246
246
 
247
- ${hasSeparatedLeftAddon
248
- ? `
249
- border-top-left-radius: 0;
250
- border-bottom-left-radius: 0;
251
- `
252
- : ''}
253
-
254
- ${hasSeparatedRightAddon
255
- ? `
256
- border-top-right-radius: 0;
257
- border-bottom-right-radius: 0;
258
- `
259
- : ''}
260
-
261
247
  .src-button-content {
262
248
  border-radius: ${(isFixedSize && shape === 'rounded') ? '100%' : theme.$.radius.button[shape]};
263
249
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-react-components/ui",
3
- "version": "2.0.0-alpha-89",
3
+ "version": "2.0.0-alpha-91",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "description": "SRC UI includes React and Styled components.",
@@ -64,9 +64,9 @@
64
64
  "test": "jest"
65
65
  },
66
66
  "devDependencies": {
67
- "@smart-react-components/core": "2.0.0-alpha-30",
68
- "@smart-react-components/router": "2.0.0-alpha-28",
69
- "@smart-react-components/transition": "2.0.0-alpha-25",
67
+ "@smart-react-components/core": "2.0.0-alpha-31",
68
+ "@smart-react-components/router": "2.0.0-alpha-29",
69
+ "@smart-react-components/transition": "2.0.0-alpha-26",
70
70
  "@testing-library/react": "13.4.0",
71
71
  "@types/jest": "29.0.1",
72
72
  "@types/react": "18.0.19",
@@ -83,9 +83,9 @@
83
83
  "typescript": "4.8.3"
84
84
  },
85
85
  "peerDependencies": {
86
- "@smart-react-components/core": "^2.0.0-alpha-30",
87
- "@smart-react-components/router": "^2.0.0-alpha-28",
88
- "@smart-react-components/transition": "^2.0.0-alpha-25",
86
+ "@smart-react-components/core": "^2.0.0-alpha-31",
87
+ "@smart-react-components/router": "^2.0.0-alpha-29",
88
+ "@smart-react-components/transition": "^2.0.0-alpha-26",
89
89
  "react": "^18.2.0",
90
90
  "react-dom": "^18.2.0",
91
91
  "styled-components": "^5.3.5"