@bitrise/bitkit 9.16.0 → 9.16.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "9.16.0",
4
+ "version": "9.16.3",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -40,8 +40,8 @@
40
40
  "@types/react-transition-group": "^4.4.4",
41
41
  "classnames": "^2.3.1",
42
42
  "clipboard": "^2.0.11",
43
- "framer-motion": "^6.3.3",
44
- "luxon": "^2.3.2",
43
+ "framer-motion": "^6.3.4",
44
+ "luxon": "^2.4.0",
45
45
  "react": "^17.0.2",
46
46
  "react-dom": "^17.0.2",
47
47
  "react-popper": "^2.3.0",
@@ -52,32 +52,32 @@
52
52
  "react-dom": "^17.0.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/core": "^7.17.10",
55
+ "@babel/core": "^7.18.2",
56
56
  "@bitrise/eslint-plugin": "^2.1.0",
57
57
  "@chakra-ui/cli": "^1.9.0",
58
- "@chakra-ui/storybook-addon": "^1.0.3",
59
- "@commitlint/cli": "^16.2.4",
58
+ "@chakra-ui/storybook-addon": "^3.0.2",
59
+ "@commitlint/cli": "^16.3.0",
60
60
  "@commitlint/config-conventional": "^16.2.4",
61
61
  "@google-cloud/storage": "^5.19.4",
62
62
  "@semantic-release/changelog": "^6.0.1",
63
63
  "@semantic-release/commit-analyzer": "^9.0.2",
64
64
  "@semantic-release/git": "^10.0.1",
65
- "@storybook/addon-actions": "^6.4.22",
66
- "@storybook/addon-essentials": "^6.4.22",
67
- "@storybook/addon-interactions": "^6.4.22",
68
- "@storybook/addon-links": "^6.4.22",
69
- "@storybook/addons": "^6.4.22",
70
- "@storybook/builder-webpack5": "^6.4.22",
71
- "@storybook/manager-webpack5": "^6.4.22",
72
- "@storybook/react": "^6.4.22",
65
+ "@storybook/addon-actions": "^6.5.6",
66
+ "@storybook/addon-essentials": "^6.5.6",
67
+ "@storybook/addon-interactions": "^6.5.6",
68
+ "@storybook/addon-links": "^6.5.6",
69
+ "@storybook/addons": "^6.5.6",
70
+ "@storybook/builder-webpack5": "^6.5.6",
71
+ "@storybook/manager-webpack5": "^6.5.6",
72
+ "@storybook/react": "^6.5.6",
73
73
  "@storybook/testing-library": "^0.0.11",
74
- "@storybook/theming": "^6.4.22",
74
+ "@storybook/theming": "^6.5.6",
75
75
  "@svgr/cli": "^6.2.1",
76
76
  "@types/cheerio": "^0.22.31",
77
77
  "@types/clipboard": "^2.0.1",
78
78
  "@types/enzyme": "^3.10.12",
79
79
  "@types/fscreen": "^1.0.1",
80
- "@types/jest": "^27.5.0",
80
+ "@types/jest": "^27.5.1",
81
81
  "@types/lodash.sample": "^4.2.7",
82
82
  "@types/lodash.shuffle": "^4.2.7",
83
83
  "@types/luxon": "^2.3.2",
@@ -88,28 +88,28 @@
88
88
  "@types/react-router-dom": "^5.3.3",
89
89
  "@types/react-transition-group": "^4.4.4",
90
90
  "@types/vfile-message": "^2.0.0",
91
- "@typescript-eslint/eslint-plugin": "^5.22.0",
92
- "@typescript-eslint/parser": "^5.22.0",
91
+ "@typescript-eslint/eslint-plugin": "^5.26.0",
92
+ "@typescript-eslint/parser": "^5.26.0",
93
93
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
94
94
  "axios": "^0.27.2",
95
95
  "babel-eslint": "^10.0.1",
96
96
  "babel-loader": "^8.2.5",
97
97
  "babel-plugin-polyfill-corejs2": "^0.3.1",
98
98
  "chokidar-cli": "^3.0.0",
99
- "concurrently": "^7.1.0",
99
+ "concurrently": "^7.2.1",
100
100
  "enzyme": "^3.11.0",
101
101
  "enzyme-to-json": "^3.6.2",
102
- "eslint": "^8.14.0",
102
+ "eslint": "^8.16.0",
103
103
  "eslint-plugin-import": "^2.26.0",
104
- "eslint-plugin-jest": "^26.1.5",
104
+ "eslint-plugin-jest": "^26.4.5",
105
105
  "eslint-plugin-jsx-a11y": "^6.5.1",
106
106
  "eslint-plugin-prettier": "^4.0.0",
107
- "eslint-plugin-react": "^7.29.4",
107
+ "eslint-plugin-react": "^7.30.0",
108
108
  "eslint-plugin-react-hooks": "^4.5.0",
109
- "eslint-plugin-storybook": "^0.5.11",
110
- "eslint-plugin-testing-library": "^5.3.1",
109
+ "eslint-plugin-storybook": "^0.5.12",
110
+ "eslint-plugin-testing-library": "^5.5.1",
111
111
  "fscreen": "^1.2.0",
112
- "glob": "^8.0.1",
112
+ "glob": "^8.0.3",
113
113
  "husky": "^7.0.4",
114
114
  "identity-obj-proxy": "^3.0.0",
115
115
  "jest": "^27.5.1",
@@ -127,11 +127,11 @@
127
127
  "react-router-dom": "^5.3.1",
128
128
  "semantic-release": "^19.0.2",
129
129
  "superstatic": "^8.0.0",
130
- "ts-jest": "^27.1.4",
131
- "ts-node": "^10.7.0",
130
+ "ts-jest": "^27.1.5",
131
+ "ts-node": "^10.8.0",
132
132
  "tsconfig-paths-webpack-plugin": "^3.5.2",
133
133
  "typescript": "^4.6.4",
134
- "webpack": "^5.72.0"
134
+ "webpack": "^5.72.1"
135
135
  },
136
136
  "files": [
137
137
  "src",
@@ -10,6 +10,6 @@ const Box = forwardRef<BoxProps, 'div'>((props, ref) => {
10
10
  return <ChakraBox {...props} ref={ref} />;
11
11
  });
12
12
 
13
- export { BoxProps } from '@chakra-ui/react';
13
+ export type { BoxProps };
14
14
 
15
15
  export default Box;
@@ -69,12 +69,12 @@ const Text = forwardRef<TextProps, 'p'>((props, ref) => {
69
69
  properties.fontWeight = 'bold';
70
70
  }
71
71
  if (hasEllipsis) {
72
- if (properties.maxWidth) {
72
+ if (!properties.maxWidth) {
73
73
  properties.maxWidth = '100%';
74
- properties.textOverflow = 'ellipsis';
75
- properties.whiteSpace = 'nowrap';
76
- properties.overflow = 'hidden';
77
74
  }
75
+ properties.textOverflow = 'ellipsis';
76
+ properties.whiteSpace = 'nowrap';
77
+ properties.overflow = 'hidden';
78
78
  }
79
79
  return <ChakraText {...properties} ref={ref} />;
80
80
  });
package/src/tsconfig.json CHANGED
@@ -3,4 +3,4 @@
3
3
  "include": [
4
4
  "**/*"
5
5
  ]
6
- }
6
+ }