@times-components/button 2.4.65 → 2.4.69

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.4.69](https://github.com/newsuk/times-components/compare/@times-components/button@2.4.68...@times-components/button@2.4.69) (2022-01-24)
7
+
8
+ **Note:** Version bump only for package @times-components/button
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.4.68](https://github.com/newsuk/times-components/compare/@times-components/button@2.4.67...@times-components/button@2.4.68) (2022-01-04)
15
+
16
+ **Note:** Version bump only for package @times-components/button
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.4.67](https://github.com/newsuk/times-components/compare/@times-components/button@2.4.66...@times-components/button@2.4.67) (2022-01-04)
23
+
24
+ **Note:** Version bump only for package @times-components/button
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.4.66](https://github.com/newsuk/times-components/compare/@times-components/button@2.4.65...@times-components/button@2.4.66) (2021-12-02)
31
+
32
+ **Note:** Version bump only for package @times-components/button
33
+
34
+
35
+
36
+
37
+
6
38
  ## [2.4.65](https://github.com/newsuk/times-components/compare/@times-components/button@2.4.64...@times-components/button@2.4.65) (2021-11-25)
7
39
 
8
40
  **Note:** Version bump only for package @times-components/button
package/dist/button.js ADDED
@@ -0,0 +1 @@
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _react=_interopRequireDefault(require("react"));var _utils=require("@times-components/utils");var _buttonPropTypes=require("./button-prop-types");var _styles=_interopRequireDefault(require("./styles"));var _jsxFileName="/home/circleci/project/packages/button/src/button.js";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});}keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var Button=function Button(_ref){var fontSize=_ref.fontSize,lineHeight=_ref.lineHeight,onPress=_ref.onPress,style=_ref.style,title=_ref.title;var fontSizeStyle=fontSize?{fontSize:fontSize}:null;var lineHeightStyle=lineHeight?{lineHeight:lineHeight}:null;var buttonStyles=_objectSpread(_objectSpread(_objectSpread(_objectSpread({},_styles.default.button),style),fontSizeStyle),lineHeightStyle);return _react.default.createElement("button",{onClick:onPress,style:buttonStyles,type:"button",__source:{fileName:_jsxFileName,lineNumber:17,columnNumber:5}},(0,_utils.capitalise)(title));};Button.propTypes=_buttonPropTypes.propTypes;Button.defaultProps=_buttonPropTypes.defaultProps;var _default=Button;exports.default=_default;
File without changes
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@times-components/button",
3
- "version": "2.4.65",
3
+ "version": "2.4.69",
4
4
  "description": "Button component",
5
- "main": "dist/button.web",
6
- "dev": "src/button.web",
5
+ "main": "dist/button",
6
+ "dev": "src/button",
7
7
  "scripts": {
8
8
  "fmt": "eslint . --fix && prettier --write '**/*.*'",
9
9
  "prettier:diff": "prettier --list-different '**/*.*'",
@@ -35,12 +35,12 @@
35
35
  "homepage": "https://github.com/newsuk/times-components#readme",
36
36
  "devDependencies": {
37
37
  "@babel/core": "7.4.4",
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",
43
- "@times-components/webpack-configurator": "2.0.28",
38
+ "@times-components/eslint-config-thetimes": "0.8.18",
39
+ "@times-components/jest-configurator": "2.8.0",
40
+ "@times-components/jest-serializer": "3.2.29",
41
+ "@times-components/storybook": "4.1.71",
42
+ "@times-components/test-utils": "2.3.10",
43
+ "@times-components/webpack-configurator": "2.0.29",
44
44
  "babel-jest": "24.8.0",
45
45
  "babel-loader": "8.0.5",
46
46
  "babel-plugin-add-react-displayname": "0.0.5",
@@ -59,8 +59,8 @@
59
59
  "webpack-cli": "3.3.1"
60
60
  },
61
61
  "dependencies": {
62
- "@times-components/styleguide": "3.38.23",
63
- "@times-components/utils": "6.5.7",
62
+ "@times-components/styleguide": "3.38.27",
63
+ "@times-components/utils": "6.5.11",
64
64
  "prop-types": "15.7.2"
65
65
  },
66
66
  "resolutions": {
@@ -76,5 +76,5 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "gitHead": "e4ffceaf25ca396380a235406bf49c846731b2b4"
79
+ "gitHead": "e3f72d720ce1abe79a00dd754f3f146a9667d622"
80
80
  }
@@ -1 +0,0 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _react=_interopRequireDefault(require("react"));var _utils=require("@times-components/utils");var _buttonPropTypes=require("./button-prop-types");var _styles=_interopRequireDefault(require("./styles"));var _jsxFileName="/home/circleci/project/packages/button/src/button.web.js";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});}keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var Button=function Button(_ref){var fontSize=_ref.fontSize,lineHeight=_ref.lineHeight,onPress=_ref.onPress,style=_ref.style,title=_ref.title;var fontSizeStyle=fontSize?{fontSize:fontSize}:null;var lineHeightStyle=lineHeight?{lineHeight:lineHeight}:null;var buttonStyles=_objectSpread(_objectSpread(_objectSpread(_objectSpread({},_styles.default.button),style),fontSizeStyle),lineHeightStyle);return _react.default.createElement("button",{onClick:onPress,style:buttonStyles,type:"button",__source:{fileName:_jsxFileName,lineNumber:17,columnNumber:5}},(0,_utils.capitalise)(title));};Button.propTypes=_buttonPropTypes.propTypes;Button.defaultProps=_buttonPropTypes.defaultProps;var _default=Button;exports.default=_default;