@newhighsco/chipset 6.13.2 → 6.13.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/package.json +31 -29
- package/src/components/Button/{index.js → index.jsx} +0 -0
- package/src/components/Card/{index.js → index.jsx} +0 -0
- package/src/components/LiveStream/utils.js +2 -0
- package/src/components/SmartLink/{index.js → index.jsx} +0 -0
- package/src/{README.stories.mdx → docs/README.stories.mdx} +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newhighsco/chipset",
|
|
3
3
|
"description": "Shareable, theme-able component library by New High Score",
|
|
4
|
-
"version": "6.13.
|
|
4
|
+
"version": "6.13.5",
|
|
5
5
|
"author": "New High Score <hello@newhighsco.re>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"config": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"url": "https://main--6004028a0df11e0021f58df8.chromatic.com"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
|
-
"start": "start-storybook --
|
|
28
|
+
"start": "start-storybook --docs --no-manager-cache",
|
|
29
29
|
"prebuild": "rm -rf build",
|
|
30
|
-
"build": "build-storybook --output-dir build --
|
|
30
|
+
"build": "build-storybook --output-dir build --docs --quiet",
|
|
31
31
|
"pretest": "yarn lint",
|
|
32
32
|
"test": "npm-run-all --parallel test:*",
|
|
33
33
|
"test:js": "jest --maxWorkers=2 --coverage",
|
|
@@ -42,45 +42,47 @@
|
|
|
42
42
|
"format:css": "yarn lint:css --fix"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@dr.pogodin/react-themes": "1.
|
|
45
|
+
"@dr.pogodin/react-themes": "1.4.1",
|
|
46
46
|
"classnames": "2.3.1",
|
|
47
47
|
"react-device-detect": "2.1.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@babel/core": "7.
|
|
50
|
+
"@babel/core": "7.17.5",
|
|
51
51
|
"@babel/polyfill": "7.12.1",
|
|
52
|
-
"@babel/preset-env": "7.16.
|
|
53
|
-
"@babel/preset-react": "7.16.
|
|
54
|
-
"@commitlint/cli": "
|
|
55
|
-
"@fullhuman/postcss-purgecss": "4.
|
|
52
|
+
"@babel/preset-env": "7.16.11",
|
|
53
|
+
"@babel/preset-react": "7.16.7",
|
|
54
|
+
"@commitlint/cli": "16.2.1",
|
|
55
|
+
"@fullhuman/postcss-purgecss": "4.1.3",
|
|
56
56
|
"@newhighsco/browserslist-config": "1.0.3",
|
|
57
|
-
"@newhighsco/commitlint-config": "1.0.
|
|
57
|
+
"@newhighsco/commitlint-config": "1.0.23",
|
|
58
58
|
"@newhighsco/editor-config": "1.1.2",
|
|
59
|
-
"@newhighsco/eslint-config": "
|
|
60
|
-
"@newhighsco/postcss-config": "3.4.
|
|
61
|
-
"@newhighsco/prettier-config": "2.0.
|
|
62
|
-
"@newhighsco/release-config": "1.
|
|
63
|
-
"@newhighsco/storybook-preset": "4.
|
|
64
|
-
"@newhighsco/stylelint-config": "3.0.
|
|
65
|
-
"@storybook/
|
|
66
|
-
"@
|
|
67
|
-
"
|
|
59
|
+
"@newhighsco/eslint-config": "3.1.12",
|
|
60
|
+
"@newhighsco/postcss-config": "3.4.65",
|
|
61
|
+
"@newhighsco/prettier-config": "2.0.16",
|
|
62
|
+
"@newhighsco/release-config": "1.1.6",
|
|
63
|
+
"@newhighsco/storybook-preset": "4.4.23",
|
|
64
|
+
"@newhighsco/stylelint-config": "3.0.17",
|
|
65
|
+
"@storybook/builder-webpack5": "6.4.19",
|
|
66
|
+
"@storybook/manager-webpack5": "6.4.19",
|
|
67
|
+
"@storybook/react": "6.4.19",
|
|
68
|
+
"@wojtekmaj/enzyme-adapter-react-17": "0.6.6",
|
|
69
|
+
"babel-jest": "27.5.1",
|
|
68
70
|
"babel-loader": "8.2.3",
|
|
69
|
-
"chromatic": "6.
|
|
71
|
+
"chromatic": "6.5.1",
|
|
70
72
|
"enzyme": "3.11.0",
|
|
71
|
-
"eslint": "8.
|
|
73
|
+
"eslint": "8.10.0",
|
|
72
74
|
"husky": "7.0.4",
|
|
73
75
|
"identity-obj-proxy": "3.0.0",
|
|
74
|
-
"jest": "27.
|
|
76
|
+
"jest": "27.5.1",
|
|
75
77
|
"npm-run-all": "4.1.5",
|
|
76
|
-
"postcss": "8.
|
|
77
|
-
"prettier": "2.
|
|
78
|
+
"postcss": "8.4.7",
|
|
79
|
+
"prettier": "2.5.1",
|
|
78
80
|
"react": "17.0.2",
|
|
79
81
|
"react-dom": "17.0.2",
|
|
80
|
-
"sass-true": "6.0
|
|
81
|
-
"semantic-release": "
|
|
82
|
-
"stylelint": "14.
|
|
83
|
-
"webpack": "5.
|
|
82
|
+
"sass-true": "6.1.0",
|
|
83
|
+
"semantic-release": "19.0.2",
|
|
84
|
+
"stylelint": "14.5.3",
|
|
85
|
+
"webpack": "5.70.0"
|
|
84
86
|
},
|
|
85
87
|
"peerDependencies": {
|
|
86
88
|
"react": "17.0.2",
|
|
@@ -96,7 +98,7 @@
|
|
|
96
98
|
},
|
|
97
99
|
"eslintConfig": {
|
|
98
100
|
"extends": [
|
|
99
|
-
"@newhighsco/eslint-config
|
|
101
|
+
"@newhighsco/eslint-config"
|
|
100
102
|
]
|
|
101
103
|
},
|
|
102
104
|
"husky": {
|
|
File without changes
|
|
File without changes
|
|
@@ -5,6 +5,8 @@ import { isMobile } from 'react-device-detect'
|
|
|
5
5
|
const getExternalUrl = url =>
|
|
6
6
|
`https://api.allorigins.win/get?url=${encodeURIComponent(url)}`
|
|
7
7
|
|
|
8
|
+
const location = window.location
|
|
9
|
+
|
|
8
10
|
const PROVIDERS = {
|
|
9
11
|
facebook: {
|
|
10
12
|
urlRegEx: /^(https?:\/\/)?(www\.)?(facebook\.(com|gg))(\/gaming)?\/(.+)$/,
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Meta, Title } from '@storybook/addon-docs'
|
|
2
|
-
import { CreditLockup, Image, SmartLink } from '
|
|
3
|
-
import packageInfo from '
|
|
2
|
+
import { CreditLockup, Image, SmartLink } from '../../src'
|
|
3
|
+
import packageInfo from '../../package.json'
|
|
4
4
|
|
|
5
|
-
import { ReactComponent as LogoSvg } from '
|
|
5
|
+
import { ReactComponent as LogoSvg } from '../../.storybook/static/logo.svg'
|
|
6
6
|
|
|
7
|
-
<Meta title=
|
|
7
|
+
<Meta title="Docs/README" />
|
|
8
8
|
|
|
9
9
|
<Title>
|
|
10
10
|
<LogoSvg /> <strong>{packageInfo.config.title}</strong>{' '}
|