@dev-crew-berlin/enter-js-utils 0.10.4 → 0.10.5

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/dist/ui/button.js CHANGED
@@ -7,13 +7,15 @@ import 'styled-jsx';
7
7
  import { theme, classNames } from '../lib';
8
8
  export const Button = ({
9
9
  appearance = 'default',
10
+ borderless,
11
+ fullWidth,
10
12
  ...props
11
13
  }) => {
12
14
  return /*#__PURE__*/React.createElement("button", _extends({}, props, {
13
15
  className: _JSXStyle.dynamic([["1553186505", [theme.fonts.secondary, theme.colors.enterBackground, theme.colors.enterDarkGrey, theme.colors.enterGrey, theme.colors.enterError, theme.colors.enterGrey, theme.colors.enterError, theme.colors.enterDarkGrey, theme.colors.enterDarkGrey, theme.colors.enterDarkGrey, theme.colors.enterGreen, theme.colors.enterGreen, theme.colors.enterGreen]]]) + " " + (classNames({
14
16
  [appearance]: true,
15
- borderless: props.borderless,
16
- 'full-width': props.fullWidth
17
+ 'full-width': fullWidth,
18
+ borderless
17
19
  }) || "")
18
20
  }), props.children, /*#__PURE__*/React.createElement(_JSXStyle, {
19
21
  id: "1553186505",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",