@newhighsco/chipset 6.16.3 → 6.16.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.16.3",
4
+ "version": "6.16.5",
5
5
  "author": "New High Score",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -42,47 +42,47 @@
42
42
  "react-device-detect": "2.2.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@babel/core": "7.24.7",
46
- "@babel/preset-env": "7.24.7",
47
- "@babel/preset-react": "7.24.7",
48
- "@commitlint/cli": "19.3.0",
49
- "@fullhuman/postcss-purgecss": "6.0.0",
45
+ "@babel/core": "7.26.0",
46
+ "@babel/preset-env": "7.26.0",
47
+ "@babel/preset-react": "7.26.3",
48
+ "@commitlint/cli": "19.6.0",
49
+ "@fullhuman/postcss-purgecss": "7.0.2",
50
50
  "@newhighsco/browserslist-config": "1.1.0",
51
- "@newhighsco/commitlint-config": "1.1.40",
51
+ "@newhighsco/commitlint-config": "1.1.44",
52
52
  "@newhighsco/editor-config": "1.2.0",
53
- "@newhighsco/eslint-config": "4.0.192",
54
- "@newhighsco/postcss-config": "3.5.253",
55
- "@newhighsco/prettier-config": "2.1.25",
56
- "@newhighsco/release-config": "1.3.77",
57
- "@newhighsco/storybook-preset": "7.0.42",
58
- "@newhighsco/stylelint-config": "3.1.85",
59
- "@storybook/react-webpack5": "8.1.10",
60
- "@testing-library/dom": "10.1.0",
61
- "@testing-library/jest-dom": "6.4.6",
62
- "@testing-library/react": "16.0.0",
63
- "babel-loader": "9.1.3",
64
- "chromatic": "11.5.4",
65
- "concurrently": "8.2.2",
66
- "eslint": "8.57.0",
67
- "husky": "9.0.11",
53
+ "@newhighsco/eslint-config": "4.0.246",
54
+ "@newhighsco/postcss-config": "3.5.299",
55
+ "@newhighsco/prettier-config": "2.1.28",
56
+ "@newhighsco/release-config": "1.3.95",
57
+ "@newhighsco/storybook-preset": "7.0.99",
58
+ "@newhighsco/stylelint-config": "3.1.97",
59
+ "@storybook/react-webpack5": "8.4.7",
60
+ "@testing-library/dom": "10.4.0",
61
+ "@testing-library/jest-dom": "6.6.3",
62
+ "@testing-library/react": "16.1.0",
63
+ "babel-loader": "9.2.1",
64
+ "chromatic": "11.20.2",
65
+ "concurrently": "9.1.0",
66
+ "eslint": "8.57.1",
67
+ "husky": "9.1.7",
68
68
  "identity-obj-proxy": "3.0.0",
69
69
  "jest": "29.7.0",
70
70
  "jest-environment-jsdom": "29.7.0",
71
71
  "jest-environment-node-single-context": "29.4.0",
72
72
  "jest-junit": "16.0.0",
73
- "postcss": "8.4.38",
74
- "prettier": "3.3.2",
75
- "react": "18.3.1",
76
- "react-dom": "18.3.1",
77
- "sass-true": "8.0.0",
78
- "semantic-release": "24.0.0",
79
- "storybook": "8.1.10",
80
- "stylelint": "16.6.1",
81
- "webpack": "5.92.0"
73
+ "postcss": "8.4.49",
74
+ "prettier": "3.4.2",
75
+ "react": "19.0.0",
76
+ "react-dom": "19.0.0",
77
+ "sass-true": "8.1.0",
78
+ "semantic-release": "24.2.0",
79
+ "storybook": "8.4.7",
80
+ "stylelint": "16.11.0",
81
+ "webpack": "5.97.1"
82
82
  },
83
83
  "peerDependencies": {
84
- "react": "18.3.1",
85
- "react-dom": "18.3.1"
84
+ "react": "19.0.0",
85
+ "react-dom": "19.0.0"
86
86
  },
87
87
  "browserslist": [
88
88
  "extends @newhighsco/browserslist-config"
@@ -2,11 +2,11 @@
2
2
  @use '../../../styles/breakpoints.module';
3
3
 
4
4
  .root {
5
- @include mixins.clearfix;
6
-
7
5
  margin-left: auto;
8
6
  margin-right: auto;
9
7
  width: 100%;
8
+
9
+ @include mixins.clearfix;
10
10
  }
11
11
 
12
12
  @each $size, $maxWidth in breakpoints.$all {
@@ -148,7 +148,7 @@ $fraction-names: whole half third quarter fifth sixth seventh eighth ninth tenth
148
148
 
149
149
  /* stylelint-disable-next-line scss/at-function-pattern */
150
150
  @function _grid-gutter--item($g) {
151
- @if unit($g) == '%' {
151
+ @if math.unit($g) == '%' {
152
152
  $scale: math.div(100, 100 + $g);
153
153
 
154
154
  @return ($scale * $g) + 0%;
@@ -1,6 +1,8 @@
1
+ @use 'sass:math';
2
+
1
3
  @mixin hidpi($ratio: 1.3) {
2
4
  $mq: '(-webkit-min-device-pixel-ratio: #{$ratio}), ';
3
- $mq: '#{$mq} (min-resolution: #{floor($ratio * 96)}dpi)';
5
+ $mq: '#{$mq} (min-resolution: #{math.floor($ratio * 96)}dpi)';
4
6
 
5
7
  @media #{$mq} {
6
8
  @content;