@newhighsco/chipset 6.13.4 → 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 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",
4
+ "version": "6.13.5",
5
5
  "author": "New High Score <hello@newhighsco.re>",
6
6
  "license": "ISC",
7
7
  "config": {
@@ -42,47 +42,47 @@
42
42
  "format:css": "yarn lint:css --fix"
43
43
  },
44
44
  "dependencies": {
45
- "@dr.pogodin/react-themes": "1.3.3",
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.16.12",
50
+ "@babel/core": "7.17.5",
51
51
  "@babel/polyfill": "7.12.1",
52
52
  "@babel/preset-env": "7.16.11",
53
53
  "@babel/preset-react": "7.16.7",
54
- "@commitlint/cli": "16.1.0",
54
+ "@commitlint/cli": "16.2.1",
55
55
  "@fullhuman/postcss-purgecss": "4.1.3",
56
56
  "@newhighsco/browserslist-config": "1.0.3",
57
- "@newhighsco/commitlint-config": "1.0.22",
57
+ "@newhighsco/commitlint-config": "1.0.23",
58
58
  "@newhighsco/editor-config": "1.1.2",
59
- "@newhighsco/eslint-config": "2.3.59",
60
- "@newhighsco/postcss-config": "3.4.49",
59
+ "@newhighsco/eslint-config": "3.1.12",
60
+ "@newhighsco/postcss-config": "3.4.65",
61
61
  "@newhighsco/prettier-config": "2.0.16",
62
- "@newhighsco/release-config": "1.1.5",
63
- "@newhighsco/storybook-preset": "4.4.16",
64
- "@newhighsco/stylelint-config": "3.0.11",
65
- "@storybook/builder-webpack5": "6.4.16",
66
- "@storybook/manager-webpack5": "6.4.16",
67
- "@storybook/react": "6.4.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
68
  "@wojtekmaj/enzyme-adapter-react-17": "0.6.6",
69
- "babel-jest": "27.4.6",
69
+ "babel-jest": "27.5.1",
70
70
  "babel-loader": "8.2.3",
71
- "chromatic": "6.4.2",
71
+ "chromatic": "6.5.1",
72
72
  "enzyme": "3.11.0",
73
- "eslint": "8.8.0",
73
+ "eslint": "8.10.0",
74
74
  "husky": "7.0.4",
75
75
  "identity-obj-proxy": "3.0.0",
76
- "jest": "27.4.7",
76
+ "jest": "27.5.1",
77
77
  "npm-run-all": "4.1.5",
78
- "postcss": "8.4.5",
78
+ "postcss": "8.4.7",
79
79
  "prettier": "2.5.1",
80
80
  "react": "17.0.2",
81
81
  "react-dom": "17.0.2",
82
- "sass-true": "6.0.1",
82
+ "sass-true": "6.1.0",
83
83
  "semantic-release": "19.0.2",
84
- "stylelint": "14.3.0",
85
- "webpack": "5.67.0"
84
+ "stylelint": "14.5.3",
85
+ "webpack": "5.70.0"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "react": "17.0.2",
@@ -98,7 +98,7 @@
98
98
  },
99
99
  "eslintConfig": {
100
100
  "extends": [
101
- "@newhighsco/eslint-config/react"
101
+ "@newhighsco/eslint-config"
102
102
  ]
103
103
  },
104
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 '../src'
3
- import packageInfo from '../package.json'
2
+ import { CreditLockup, Image, SmartLink } from '../../src'
3
+ import packageInfo from '../../package.json'
4
4
 
5
- import { ReactComponent as LogoSvg } from '../.storybook/static/logo.svg'
5
+ import { ReactComponent as LogoSvg } from '../../.storybook/static/logo.svg'
6
6
 
7
- <Meta title={`${packageInfo.config.title}/README`} />
7
+ <Meta title="Docs/README" />
8
8
 
9
9
  <Title>
10
10
  <LogoSvg /> <strong>{packageInfo.config.title}</strong>{' '}