@stokr/components-library 3.0.73 → 3.0.74

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.
@@ -16,6 +16,7 @@ const Button = styled.button.withConfig({
16
16
  "negative",
17
17
  "outline",
18
18
  "outlineBlack",
19
+ "black",
19
20
  "marginTop",
20
21
  "marginRight",
21
22
  "isLoginMobile"
@@ -181,6 +182,20 @@ const Button = styled.button.withConfig({
181
182
  }
182
183
  `}
183
184
 
185
+ ${(props) => props.black && css`
186
+ border-color: ${theme.grey4};
187
+ background-color: transparent;
188
+ color: ${theme.cBlack};
189
+
190
+ &:hover,
191
+ &:focus,
192
+ &:active {
193
+ background-color: ${theme.cBlack};
194
+ border-color: ${theme.cBlack};
195
+ color: ${theme.cWhite};
196
+ }
197
+ `}
198
+
184
199
  //next 2 props added from SUF
185
200
 
186
201
  ${(props) => props.marginTop && css`
@@ -202,7 +217,8 @@ Button.propTypes = {
202
217
  negative: PropTypes.bool,
203
218
  center: PropTypes.bool,
204
219
  outline: PropTypes.bool,
205
- outlineBlack: PropTypes.bool
220
+ outlineBlack: PropTypes.bool,
221
+ black: PropTypes.bool
206
222
  };
207
223
  var stdin_default = Button;
208
224
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "3.0.73",
3
+ "version": "3.0.74",
4
4
  "description": "STOKR - Components Library",
5
5
  "author": "Bilal Hodzic <bilal@stokr.io>",
6
6
  "license": "MIT",