@newhighsco/chipset 6.25.1 → 6.25.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 +26 -31
- package/src/components/Backdrop/Backdrop.jsx +1 -4
- package/src/components/Card/Card.jsx +1 -4
- package/src/components/Element/Element.jsx +1 -4
- package/src/components/Image/Image.jsx +1 -6
- package/src/components/Landmark/Landmark.jsx +1 -3
- package/src/components/LiveStream/utils.js +1 -4
- package/src/components/Tooltip/Tooltip.jsx +1 -4
- package/src/components/VisuallyHidden/VisuallyHidden.jsx +1 -3
- package/src/providers/ImageProvider/ImageProvider.jsx +1 -4
- package/src/providers/LinkProvider/LinkProvider.jsx +1 -4
- package/styles/index.js +1 -3
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.25.
|
|
4
|
+
"version": "6.25.3",
|
|
5
5
|
"author": "New High Score",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -30,60 +30,60 @@
|
|
|
30
30
|
"snapshot": "chromatic --storybook-build-dir build --auto-accept-changes main --exit-once-uploaded --only-changed",
|
|
31
31
|
"analyze": "omlet analyze",
|
|
32
32
|
"lint": "concurrently yarn:lint:*",
|
|
33
|
-
"lint:js": "eslint --cache
|
|
33
|
+
"lint:js": "eslint --cache .",
|
|
34
34
|
"lint:css": "stylelint --cache --ignore-path .gitignore '**/*.?(s)css'",
|
|
35
35
|
"format": "concurrently yarn:format:*",
|
|
36
36
|
"format:js": "yarn lint:js --fix",
|
|
37
37
|
"format:css": "yarn lint:css --fix"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@dr.pogodin/react-themes": "1.9.
|
|
40
|
+
"@dr.pogodin/react-themes": "1.9.4",
|
|
41
41
|
"classnames": "2.5.1",
|
|
42
42
|
"react-device-detect": "2.2.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@babel/core": "7.28.
|
|
46
|
-
"@babel/preset-env": "7.28.
|
|
47
|
-
"@babel/preset-react": "7.
|
|
48
|
-
"@commitlint/cli": "
|
|
45
|
+
"@babel/core": "7.28.5",
|
|
46
|
+
"@babel/preset-env": "7.28.5",
|
|
47
|
+
"@babel/preset-react": "7.28.5",
|
|
48
|
+
"@commitlint/cli": "20.1.0",
|
|
49
49
|
"@fullhuman/postcss-purgecss": "7.0.2",
|
|
50
50
|
"@newhighsco/browserslist-config": "2.0.0",
|
|
51
51
|
"@newhighsco/commitlint-config": "1.1.46",
|
|
52
52
|
"@newhighsco/editor-config": "1.2.0",
|
|
53
|
-
"@newhighsco/eslint-config": "4.
|
|
54
|
-
"@newhighsco/postcss-config": "
|
|
55
|
-
"@newhighsco/prettier-config": "2.
|
|
56
|
-
"@newhighsco/release-config": "1.4.
|
|
57
|
-
"@newhighsco/storybook-preset": "8.
|
|
53
|
+
"@newhighsco/eslint-config": "5.4.0",
|
|
54
|
+
"@newhighsco/postcss-config": "4.0.3",
|
|
55
|
+
"@newhighsco/prettier-config": "2.3.2",
|
|
56
|
+
"@newhighsco/release-config": "1.4.18",
|
|
57
|
+
"@newhighsco/storybook-preset": "8.2.6",
|
|
58
58
|
"@newhighsco/stylelint-config": "4.0.18",
|
|
59
59
|
"@newhighsco/svgr-config": "1.0.0",
|
|
60
60
|
"@omlet/cli": "2.0.0",
|
|
61
|
-
"@storybook/react-webpack5": "9.1.
|
|
61
|
+
"@storybook/react-webpack5": "9.1.16",
|
|
62
62
|
"@testing-library/dom": "10.4.1",
|
|
63
|
-
"@testing-library/jest-dom": "6.
|
|
63
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
64
64
|
"@testing-library/react": "16.3.0",
|
|
65
65
|
"babel-loader": "10.0.0",
|
|
66
|
-
"chromatic": "13.
|
|
66
|
+
"chromatic": "13.3.3",
|
|
67
67
|
"concurrently": "9.2.1",
|
|
68
|
-
"eslint": "
|
|
68
|
+
"eslint": "9.39.1",
|
|
69
69
|
"husky": "9.1.7",
|
|
70
70
|
"identity-obj-proxy": "3.0.0",
|
|
71
|
-
"jest": "30.
|
|
72
|
-
"jest-environment-jsdom": "30.
|
|
71
|
+
"jest": "30.2.0",
|
|
72
|
+
"jest-environment-jsdom": "30.2.0",
|
|
73
73
|
"jest-junit": "16.0.0",
|
|
74
74
|
"postcss": "8.5.6",
|
|
75
75
|
"prettier": "3.6.2",
|
|
76
|
-
"react": "19.
|
|
77
|
-
"react-dom": "19.
|
|
76
|
+
"react": "19.2.0",
|
|
77
|
+
"react-dom": "19.2.0",
|
|
78
78
|
"sass-true": "9.0.0",
|
|
79
|
-
"semantic-release": "
|
|
80
|
-
"storybook": "9.1.
|
|
81
|
-
"stylelint": "16.
|
|
82
|
-
"webpack": "5.
|
|
79
|
+
"semantic-release": "25.0.2",
|
|
80
|
+
"storybook": "9.1.16",
|
|
81
|
+
"stylelint": "16.25.0",
|
|
82
|
+
"webpack": "5.102.1"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"react": "19.
|
|
86
|
-
"react-dom": "19.
|
|
85
|
+
"react": "19.2.0",
|
|
86
|
+
"react-dom": "19.2.0"
|
|
87
87
|
},
|
|
88
88
|
"browserslist": [
|
|
89
89
|
"extends @newhighsco/browserslist-config"
|
|
@@ -93,11 +93,6 @@
|
|
|
93
93
|
"@newhighsco"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"eslintConfig": {
|
|
97
|
-
"extends": [
|
|
98
|
-
"@newhighsco/eslint-config"
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
96
|
"omlet": {
|
|
102
97
|
"exports": {
|
|
103
98
|
".": "src/index.js"
|
|
@@ -19,9 +19,6 @@ const Backdrop = ({ children, className, ...rest }) => {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
Backdrop.displayName = 'Backdrop'
|
|
22
|
-
Backdrop.propTypes = {
|
|
23
|
-
children: node,
|
|
24
|
-
className: string
|
|
25
|
-
}
|
|
22
|
+
Backdrop.propTypes = { children: node, className: string }
|
|
26
23
|
|
|
27
24
|
export default Backdrop
|
|
@@ -53,10 +53,7 @@ Card.displayName = 'Card'
|
|
|
53
53
|
Card.propTypes = {
|
|
54
54
|
href: string,
|
|
55
55
|
target: string,
|
|
56
|
-
image: shape({
|
|
57
|
-
src: string,
|
|
58
|
-
ratio: oneOfType([number, string])
|
|
59
|
-
}),
|
|
56
|
+
image: shape({ src: string, ratio: oneOfType([number, string]) }),
|
|
60
57
|
heading: node,
|
|
61
58
|
children: node,
|
|
62
59
|
theme: shape({
|
|
@@ -3,9 +3,6 @@ import React from 'react'
|
|
|
3
3
|
|
|
4
4
|
const Element = ({ as: Component = 'div', ...rest }) => <Component {...rest} />
|
|
5
5
|
|
|
6
|
-
Element.propTypes = {
|
|
7
|
-
as: oneOfType([func, string]),
|
|
8
|
-
children: node
|
|
9
|
-
}
|
|
6
|
+
Element.propTypes = { as: oneOfType([func, string]), children: node }
|
|
10
7
|
|
|
11
8
|
export default Element
|
|
@@ -45,12 +45,7 @@ const Image = ({
|
|
|
45
45
|
Image.propTypes = {
|
|
46
46
|
src: string,
|
|
47
47
|
sources: arrayOf(
|
|
48
|
-
shape({
|
|
49
|
-
srcSet: string,
|
|
50
|
-
sizes: string,
|
|
51
|
-
media: string,
|
|
52
|
-
type: string
|
|
53
|
-
})
|
|
48
|
+
shape({ srcSet: string, sizes: string, media: string, type: string })
|
|
54
49
|
),
|
|
55
50
|
alt: string,
|
|
56
51
|
loading: oneOf(['auto', 'lazy', 'eager']),
|
|
@@ -61,10 +61,7 @@ const PROVIDERS = {
|
|
|
61
61
|
},
|
|
62
62
|
getVideoUrl: ({ channel, autoPlay, muted }) => {
|
|
63
63
|
const url = new URL(`https://www.youtube-nocookie.com/embed/${channel}`)
|
|
64
|
-
url.search = new URLSearchParams({
|
|
65
|
-
autoplay: !!autoPlay,
|
|
66
|
-
mute: !!muted
|
|
67
|
-
})
|
|
64
|
+
url.search = new URLSearchParams({ autoplay: !!autoPlay, mute: !!muted })
|
|
68
65
|
|
|
69
66
|
return url
|
|
70
67
|
},
|
|
@@ -43,10 +43,7 @@ const Tooltip = ({
|
|
|
43
43
|
target={target}
|
|
44
44
|
disabled={disabled}
|
|
45
45
|
aria-label="Toggle tooltip"
|
|
46
|
-
{...(manual && {
|
|
47
|
-
'aria-expanded': visible,
|
|
48
|
-
onClick: setVisibility
|
|
49
|
-
})}
|
|
46
|
+
{...(manual && { 'aria-expanded': visible, onClick: setVisibility })}
|
|
50
47
|
>
|
|
51
48
|
{toggle}
|
|
52
49
|
</SmartLink>
|
package/styles/index.js
CHANGED