@times-components/watermark 2.7.51 → 2.7.55

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/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.7.55](https://github.com/newsuk/times-components/compare/@times-components/watermark@2.7.54...@times-components/watermark@2.7.55) (2021-11-25)
7
+
8
+ **Note:** Version bump only for package @times-components/watermark
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.7.54](https://github.com/newsuk/times-components/compare/@times-components/watermark@2.7.53...@times-components/watermark@2.7.54) (2021-08-09)
15
+
16
+ **Note:** Version bump only for package @times-components/watermark
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.7.53](https://github.com/newsuk/times-components/compare/@times-components/watermark@2.7.52...@times-components/watermark@2.7.53) (2021-07-05)
23
+
24
+ **Note:** Version bump only for package @times-components/watermark
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.7.52](https://github.com/newsuk/times-components/compare/@times-components/watermark@2.7.51...@times-components/watermark@2.7.52) (2021-07-02)
31
+
32
+ **Note:** Version bump only for package @times-components/watermark
33
+
34
+
35
+
36
+
37
+
6
38
  ## [2.7.51](https://github.com/newsuk/times-components/compare/@times-components/watermark@2.7.50...@times-components/watermark@2.7.51) (2021-05-27)
7
39
 
8
40
  **Note:** Version bump only for package @times-components/watermark
package/README.md CHANGED
@@ -27,17 +27,9 @@ yarn lint
27
27
  Testing can be done on each platform individually
28
28
 
29
29
  ```
30
- yarn test:android
31
- yarn test:ios
32
30
  yarn test:web
33
31
  ```
34
32
 
35
- Or the tests for all platforms can be run
36
-
37
- ```
38
- yarn test:all
39
- ```
40
-
41
33
  Visit the official
42
34
  [storybook](http://components.thetimes.co.uk/?knob-Size%20of%20ad%20placeholder%3A=default&selectedKind=Primitives%2FWatermark&selectedStory=MPU&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs)
43
35
  to see our available watermark templates.
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@times-components/watermark",
3
- "version": "2.7.51",
3
+ "version": "2.7.55",
4
4
  "description": "Watermark",
5
- "main": "dist/watermark",
6
- "dev": "src/watermark",
5
+ "main": "dist/watermark.web",
6
+ "dev": "src/watermark.web",
7
7
  "scripts": {
8
8
  "fmt": "eslint . --fix && prettier --write '**/*.*'",
9
9
  "prettier:diff": "prettier --list-different '**/*.*'",
10
10
  "depcheck": "depcheck --ignores='@babel/*,babel-*,depcheck,eslint,jest,prettier,webpack*' --ignore-bin-package=false --skip-missing",
11
11
  "lint": "eslint . && yarn prettier:diff && yarn depcheck",
12
- "test:android": "jest --config='./__tests__/android/jest.config.js'",
13
- "test:ios": "jest --config='./__tests__/ios/jest.config.js'",
14
12
  "test:web": "jest --config='./__tests__/web/jest.config.js'",
15
- "test:all": "yarn test:android --coverage && yarn test:ios --coverage && yarn test:web --coverage",
16
13
  "watch": "watch 'yarn bundle' ./src --ignoreDotFiles --ignoreUnreadable",
17
14
  "prepublishOnly": "yarn transpile && yarn bundle",
18
15
  "cleanup-dist": "rm -rf dist",
@@ -38,11 +35,11 @@
38
35
  "homepage": "https://github.com/newsuk/times-components#readme",
39
36
  "devDependencies": {
40
37
  "@babel/core": "7.4.4",
41
- "@times-components/eslint-config-thetimes": "0.8.16",
42
- "@times-components/jest-configurator": "2.7.1",
43
- "@times-components/jest-serializer": "3.2.25",
44
- "@times-components/storybook": "4.1.63",
45
- "@times-components/test-utils": "2.3.8",
38
+ "@times-components/eslint-config-thetimes": "0.8.17",
39
+ "@times-components/jest-configurator": "2.7.3",
40
+ "@times-components/jest-serializer": "3.2.27",
41
+ "@times-components/storybook": "4.1.67",
42
+ "@times-components/test-utils": "2.3.9",
46
43
  "babel-jest": "24.8.0",
47
44
  "babel-loader": "8.0.5",
48
45
  "babel-plugin-add-react-displayname": "0.0.5",
@@ -59,8 +56,8 @@
59
56
  "webpack-cli": "3.3.1"
60
57
  },
61
58
  "dependencies": {
62
- "@times-components/styleguide": "3.38.19",
63
- "@times-components/svgs": "2.7.32",
59
+ "@times-components/styleguide": "3.38.23",
60
+ "@times-components/svgs": "2.7.34",
64
61
  "prop-types": "15.7.2"
65
62
  },
66
63
  "resolutions": {
@@ -76,5 +73,5 @@
76
73
  "publishConfig": {
77
74
  "access": "public"
78
75
  },
79
- "gitHead": "da1242227cd45c6cfbaec2ae7643209093aaf4e2"
76
+ "gitHead": "e4ffceaf25ca396380a235406bf49c846731b2b4"
80
77
  }
package/dist/watermark.js DELETED
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _propTypes=_interopRequireDefault(require("prop-types"));var _jsxFileName="/home/circleci/project/packages/watermark/src/watermark.js";var Watermark=function Watermark(_ref){var height=_ref.height,width=_ref.width;return _react.default.createElement(_reactNative.Image,{resizeMode:"contain",source:require("../assets/watermark.png"),style:{height:height,width:width},__source:{fileName:_jsxFileName,lineNumber:6,columnNumber:3}});};Watermark.propTypes={height:_propTypes.default.number.isRequired,width:_propTypes.default.number.isRequired};var _default=Watermark;exports.default=_default;