@newhighsco/chipset 7.0.1 → 7.1.0
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": "7.0
|
|
4
|
+
"version": "7.1.0",
|
|
5
5
|
"author": "New High Score",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/newhighsco/chipset/issues"
|
|
14
14
|
},
|
|
15
|
-
"packageManager": "yarn@4.
|
|
15
|
+
"packageManager": "yarn@4.16.0",
|
|
16
16
|
"main": "src/index.js",
|
|
17
17
|
"files": [
|
|
18
18
|
"src",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"test": "jest --runInBand",
|
|
30
30
|
"test:list": "jest --listTests",
|
|
31
31
|
"snapshot": "chromatic --storybook-build-dir build --auto-accept-changes main --exit-once-uploaded --only-changed",
|
|
32
|
-
"analyze": "omlet analyze",
|
|
33
32
|
"lint": "concurrently 'yarn:lint:*'",
|
|
34
33
|
"lint:js": "eslint --cache .",
|
|
35
34
|
"lint:css": "stylelint --cache --ignore-path .gitignore '**/*.?(s)css'",
|
|
@@ -38,55 +37,55 @@
|
|
|
38
37
|
"format:css": "yarn lint:css --fix"
|
|
39
38
|
},
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"@dr.pogodin/react-themes": "1.10.
|
|
40
|
+
"@dr.pogodin/react-themes": "1.10.4",
|
|
42
41
|
"@iconify/react": "6.0.2",
|
|
43
42
|
"classnames": "2.5.1",
|
|
44
43
|
"react-device-detect": "2.2.3"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
|
-
"@babel/core": "7.29.
|
|
48
|
-
"@babel/preset-env": "7.29.
|
|
49
|
-
"@babel/preset-react": "7.
|
|
50
|
-
"@commitlint/cli": "
|
|
51
|
-
"@newhighsco/browserslist-config": "
|
|
52
|
-
"@newhighsco/commitlint-config": "1.1
|
|
46
|
+
"@babel/core": "7.29.7",
|
|
47
|
+
"@babel/preset-env": "7.29.7",
|
|
48
|
+
"@babel/preset-react": "7.29.7",
|
|
49
|
+
"@commitlint/cli": "21.0.2",
|
|
50
|
+
"@newhighsco/browserslist-config": "3.0.0",
|
|
51
|
+
"@newhighsco/commitlint-config": "1.3.1",
|
|
53
52
|
"@newhighsco/editor-config": "1.2.0",
|
|
54
|
-
"@newhighsco/eslint-config": "7.
|
|
55
|
-
"@newhighsco/
|
|
56
|
-
"@newhighsco/
|
|
57
|
-
"@newhighsco/
|
|
58
|
-
"@newhighsco/
|
|
59
|
-
"@newhighsco/
|
|
53
|
+
"@newhighsco/eslint-config": "7.1.9",
|
|
54
|
+
"@newhighsco/lint-staged-config": "1.1.0",
|
|
55
|
+
"@newhighsco/postcss-config": "4.0.53",
|
|
56
|
+
"@newhighsco/prettier-config": "2.3.6",
|
|
57
|
+
"@newhighsco/release-config": "1.5.1",
|
|
58
|
+
"@newhighsco/storybook-preset": "10.2.49",
|
|
59
|
+
"@newhighsco/stylelint-config": "4.0.45",
|
|
60
60
|
"@newhighsco/svgr-config": "1.0.0",
|
|
61
|
-
"@newhighsco/yarn-plugin-preset": "1.1.
|
|
62
|
-
"@
|
|
63
|
-
"@storybook/react-webpack5": "10.3.5",
|
|
61
|
+
"@newhighsco/yarn-plugin-preset": "1.1.4",
|
|
62
|
+
"@storybook/react-webpack5": "10.4.3",
|
|
64
63
|
"@testing-library/dom": "10.4.1",
|
|
65
64
|
"@testing-library/jest-dom": "6.9.1",
|
|
66
65
|
"@testing-library/react": "16.3.2",
|
|
67
66
|
"babel-loader": "10.1.1",
|
|
68
|
-
"chromatic": "
|
|
69
|
-
"concurrently": "
|
|
70
|
-
"eslint": "10.
|
|
67
|
+
"chromatic": "17.4.0",
|
|
68
|
+
"concurrently": "10.0.3",
|
|
69
|
+
"eslint": "10.4.1",
|
|
71
70
|
"husky": "9.1.7",
|
|
72
71
|
"identity-obj-proxy": "3.0.0",
|
|
73
|
-
"jest": "30.
|
|
74
|
-
"jest-environment-jsdom": "30.
|
|
72
|
+
"jest": "30.4.2",
|
|
73
|
+
"jest-environment-jsdom": "30.4.1",
|
|
75
74
|
"jest-junit": "17.0.0",
|
|
76
|
-
"
|
|
77
|
-
"prettier": "3.8.
|
|
78
|
-
"react": "19.2.
|
|
79
|
-
"react-dom": "19.2.
|
|
75
|
+
"lint-staged": "17.0.7",
|
|
76
|
+
"prettier": "3.8.4",
|
|
77
|
+
"react": "19.2.7",
|
|
78
|
+
"react-dom": "19.2.7",
|
|
80
79
|
"sass-true": "10.1.0",
|
|
81
|
-
"semantic-release": "25.0.
|
|
82
|
-
"storybook": "10.3
|
|
83
|
-
"stylelint": "17.
|
|
80
|
+
"semantic-release": "25.0.5",
|
|
81
|
+
"storybook": "10.4.3",
|
|
82
|
+
"stylelint": "17.13.0",
|
|
84
83
|
"typescript": "6.0.3",
|
|
85
|
-
"webpack": "5.
|
|
84
|
+
"webpack": "5.107.2"
|
|
86
85
|
},
|
|
87
86
|
"peerDependencies": {
|
|
88
|
-
"react": "19.2.
|
|
89
|
-
"react-dom": "19.2.
|
|
87
|
+
"react": "19.2.7",
|
|
88
|
+
"react-dom": "19.2.7"
|
|
90
89
|
},
|
|
91
90
|
"browserslist": [
|
|
92
91
|
"extends @newhighsco/browserslist-config"
|
|
@@ -96,14 +95,6 @@
|
|
|
96
95
|
"@newhighsco"
|
|
97
96
|
]
|
|
98
97
|
},
|
|
99
|
-
"omlet": {
|
|
100
|
-
"exports": {
|
|
101
|
-
".": "src/index.js"
|
|
102
|
-
},
|
|
103
|
-
"ignore": [
|
|
104
|
-
"example/**"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
98
|
"prettier": "@newhighsco/prettier-config",
|
|
108
99
|
"release": {
|
|
109
100
|
"extends": "@newhighsco/release-config"
|
|
@@ -7,6 +7,7 @@ const Image = ({
|
|
|
7
7
|
src,
|
|
8
8
|
sources,
|
|
9
9
|
alt = '',
|
|
10
|
+
fetchPriority = 'low',
|
|
10
11
|
loading = 'lazy',
|
|
11
12
|
decoding = 'async',
|
|
12
13
|
className,
|
|
@@ -34,6 +35,7 @@ const Image = ({
|
|
|
34
35
|
...(!sources?.length && { className }),
|
|
35
36
|
src,
|
|
36
37
|
alt,
|
|
38
|
+
fetchPriority,
|
|
37
39
|
loading,
|
|
38
40
|
decoding,
|
|
39
41
|
...rest
|
|
@@ -48,6 +50,7 @@ Image.propTypes = {
|
|
|
48
50
|
shape({ srcSet: string, sizes: string, media: string, type: string })
|
|
49
51
|
),
|
|
50
52
|
alt: string,
|
|
53
|
+
fetchPriority: oneOf(['auto', 'low', 'high']),
|
|
51
54
|
loading: oneOf(['auto', 'lazy', 'eager']),
|
|
52
55
|
decoding: oneOf(['auto', 'async', 'sync']),
|
|
53
56
|
className: string
|
|
@@ -54,13 +54,19 @@ const LiveStream = ({
|
|
|
54
54
|
title="Live stream"
|
|
55
55
|
src={videoUrl.href}
|
|
56
56
|
allowFullScreen={allowFullScreen}
|
|
57
|
+
fetchPriority="low"
|
|
57
58
|
loading="lazy"
|
|
58
59
|
/>
|
|
59
60
|
</ResponsiveMedia>
|
|
60
61
|
</Grid.Item>
|
|
61
62
|
{chatUrl && (
|
|
62
63
|
<Grid.Item className={theme?.chat}>
|
|
63
|
-
<iframe
|
|
64
|
+
<iframe
|
|
65
|
+
title="Live chat"
|
|
66
|
+
src={chatUrl.href}
|
|
67
|
+
fetchPriority="low"
|
|
68
|
+
loading="lazy"
|
|
69
|
+
/>
|
|
64
70
|
</Grid.Item>
|
|
65
71
|
)}
|
|
66
72
|
</Grid>
|