pebble-web 2.12.0 → 2.13.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pebble-web",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "author": "ritz078 <rkritesh078@gmail.com>",
5
5
  "license": "MIT",
6
6
  "main": "dist/pebble-web.js",
@@ -19,7 +19,7 @@
19
19
  "build:watch": "chokidar 'src/**/*.ts' 'src/**/*.tsx' -c 'yarn build'",
20
20
  "pretest": "tslint ./src/**/*.{ts,tsx} ./stories/**/*.{ts,tsx} ./{tests,typings}/**/*.{ts,tsx}",
21
21
  "test": "jest --coverage",
22
- "prepublishOnly": "yarn build && yarn test",
22
+ "__prepublishOnly": "yarn build && yarn test",
23
23
  "test:watch": "yarn jest --watchAll"
24
24
  },
25
25
  "peerDependencies": {
@@ -44,12 +44,12 @@
44
44
  "utility-types": "^3.10.0"
45
45
  },
46
46
  "devDependencies": {
47
- "pebble-shared": "^2.12.0"
47
+ "pebble-shared": "^2.13.0"
48
48
  },
49
49
  "greenkeeper": {
50
50
  "ignore": [
51
51
  "rheostat"
52
52
  ]
53
53
  },
54
- "gitHead": "de48b77f535067ed0a9c6577c3cef146e5c65114"
54
+ "gitHead": "6dc85d74edf5f75a4443b4e4afbca6fa2e3f58f7"
55
55
  }
@@ -21,16 +21,16 @@ const Button: React.FunctionComponent<ButtonProps> = ({
21
21
  className,
22
22
  showRipple = true,
23
23
  loading,
24
- filled,
24
+ outline,
25
25
  size = "small",
26
26
  buttonProps
27
27
  }: ButtonProps) => {
28
28
  const disableAction = disabled || loading;
29
29
 
30
- const _filled = size !== "x-small" && filled !== false;
30
+ const _outline = size === "x-small" || !!outline;
31
31
 
32
32
  const _className = cx(
33
- getButtonStyle(size, type, !!showShadow, _filled),
33
+ getButtonStyle(size, type, !!showShadow, !_outline),
34
34
  className
35
35
  );
36
36
 
@@ -14,7 +14,7 @@ export interface ButtonProps {
14
14
  className?: string;
15
15
  showRipple?: boolean;
16
16
  loading?: boolean;
17
- filled?: boolean;
17
+ outline?: boolean;
18
18
  buttonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
19
19
  }
20
20