@modernpoacher/sprockets 1.0.73 → 1.0.74
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/sprockets",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"description": "Sprockets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Sprockets",
|
|
@@ -51,20 +51,20 @@
|
|
|
51
51
|
"fast-deep-equal": "^3.1.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.28.
|
|
54
|
+
"@babel/core": "^7.28.3",
|
|
55
55
|
"@babel/eslint-parser": "^7.28.0",
|
|
56
56
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|
|
57
|
-
"@babel/preset-env": "^7.28.
|
|
57
|
+
"@babel/preset-env": "^7.28.3",
|
|
58
58
|
"@babel/preset-react": "^7.27.1",
|
|
59
|
-
"@babel/register": "^7.
|
|
59
|
+
"@babel/register": "^7.28.3",
|
|
60
60
|
"@modernpoacher/design-system": "2.0.15",
|
|
61
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
62
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
63
|
-
"@storybook/addon-docs": "^9.1.
|
|
64
|
-
"@storybook/addon-links": "^9.1.
|
|
61
|
+
"@sequencemedia/eslint-config-standard": "^0.2.76",
|
|
62
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.132",
|
|
63
|
+
"@storybook/addon-docs": "^9.1.3",
|
|
64
|
+
"@storybook/addon-links": "^9.1.3",
|
|
65
65
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
66
|
-
"@storybook/react-webpack5": "^9.1.
|
|
67
|
-
"@testing-library/jest-dom": "^6.
|
|
66
|
+
"@storybook/react-webpack5": "^9.1.3",
|
|
67
|
+
"@testing-library/jest-dom": "^6.8.0",
|
|
68
68
|
"@testing-library/react": "^16.3.0",
|
|
69
69
|
"@types/babel__register": "^7.17.3",
|
|
70
70
|
"@types/chai": "^5.2.2",
|
|
@@ -72,22 +72,22 @@
|
|
|
72
72
|
"@types/jest": "^30.0.0",
|
|
73
73
|
"@types/mocha": "^10.0.10",
|
|
74
74
|
"@types/prop-types": "^15.7.15",
|
|
75
|
-
"@types/react": "^19.1.
|
|
75
|
+
"@types/react": "^19.1.11",
|
|
76
76
|
"@types/react-dom": "^19.1.7",
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
78
|
-
"@typescript-eslint/parser": "^8.
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
|
78
|
+
"@typescript-eslint/parser": "^8.40.0",
|
|
79
79
|
"autoprefixer": "^10.4.21",
|
|
80
|
-
"chai": "^
|
|
81
|
-
"core-js": "^3.45.
|
|
80
|
+
"chai": "^6.0.1",
|
|
81
|
+
"core-js": "^3.45.1",
|
|
82
82
|
"cross-env": "^10.0.0",
|
|
83
|
-
"eslint": "^9.
|
|
83
|
+
"eslint": "^9.34.0",
|
|
84
84
|
"eslint-plugin-react": "^7.37.5",
|
|
85
|
-
"eslint-plugin-storybook": "^9.1.
|
|
85
|
+
"eslint-plugin-storybook": "^9.1.3",
|
|
86
86
|
"globals": "^16.3.0",
|
|
87
87
|
"husky": "^9.1.7",
|
|
88
88
|
"jest": "^30.0.5",
|
|
89
89
|
"jest-environment-jsdom": "^30.0.5",
|
|
90
|
-
"mini-css-extract-plugin": "^2.9.
|
|
90
|
+
"mini-css-extract-plugin": "^2.9.4",
|
|
91
91
|
"mocha": "^11.7.1",
|
|
92
92
|
"perfectionist": "^2.4.0",
|
|
93
93
|
"postcss": "^8.5.6",
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
"prettier": "^3.6.2",
|
|
100
100
|
"prop-types": "^15.8.1",
|
|
101
101
|
"react": "^19.1.1",
|
|
102
|
-
"react-component-instance": "^0.0.
|
|
103
|
-
"react-component-snapshot": "^0.0.
|
|
102
|
+
"react-component-instance": "^0.0.80",
|
|
103
|
+
"react-component-snapshot": "^0.0.102",
|
|
104
104
|
"react-dom": "^19.1.1",
|
|
105
|
-
"react-router": "^7.
|
|
105
|
+
"react-router": "^7.8.2",
|
|
106
106
|
"remove-files-webpack-plugin": "^1.5.0",
|
|
107
107
|
"sass": "^1.90.0",
|
|
108
108
|
"sass-loader": "^16.0.5",
|
|
109
|
-
"storybook": "^9.1.
|
|
110
|
-
"stylelint": "^16.23.
|
|
111
|
-
"stylelint-config-recommended-scss": "^
|
|
109
|
+
"storybook": "^9.1.3",
|
|
110
|
+
"stylelint": "^16.23.1",
|
|
111
|
+
"stylelint-config-recommended-scss": "^16.0.0",
|
|
112
112
|
"stylelint-scss": "^6.12.1",
|
|
113
|
-
"webpack": "^5.101.
|
|
113
|
+
"webpack": "^5.101.3",
|
|
114
114
|
"webpack-cli": "^6.0.1"
|
|
115
115
|
},
|
|
116
116
|
"overrides": {
|
package/src/sass/_sprockets.scss
CHANGED
|
@@ -9,25 +9,25 @@
|
|
|
9
9
|
padding: 0;
|
|
10
10
|
margin: 1rem 0;
|
|
11
11
|
|
|
12
|
-
&:first-child {
|
|
12
|
+
&:first-child /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
13
13
|
margin-top: 0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
&:last-child {
|
|
16
|
+
&:last-child /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
17
17
|
margin-bottom: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
line-height: 1.375rem;
|
|
21
21
|
|
|
22
|
-
&.error-summary {
|
|
22
|
+
&.error-summary /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
23
23
|
@include error-summary.sprocket-error-summary;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
&.check-answers {
|
|
26
|
+
&.check-answers /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
27
27
|
@include check-answers.sprocket-check-answers;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
&.fieldset {
|
|
30
|
+
&.fieldset /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
31
31
|
legend {
|
|
32
32
|
@include typography.heading-m;
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
&.error {
|
|
40
|
+
&.error /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
41
41
|
@include error.sprocket-error;
|
|
42
42
|
|
|
43
43
|
padding-left: 1rem;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
padding: 1rem;
|
|
11
11
|
line-height: 2rem;
|
|
12
12
|
|
|
13
|
-
& > h2:first-child {
|
|
13
|
+
& > h2:first-child /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
14
14
|
margin-top: 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
&:focus {
|
|
48
|
+
&:focus /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
49
49
|
outline: 3px solid palette.$outline;
|
|
50
50
|
outline-offset: 0;
|
|
51
51
|
border-color: palette.$black;
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
&.radio
|
|
18
|
-
&.checkbox {
|
|
17
|
+
&.radio /* stylelint-disable-line nesting-selector-no-missing-scoping-root */,
|
|
18
|
+
&.checkbox /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
19
19
|
padding-left: 4rem;
|
|
20
20
|
|
|
21
21
|
input /* stylelint-disable-line no-descending-specificity */ {
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
&.radio {
|
|
32
|
+
&.radio /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
33
33
|
input:checked + label:after {
|
|
34
34
|
left: 1.5rem;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
&.checkbox {
|
|
38
|
+
&.checkbox /* stylelint-disable-line nesting-selector-no-missing-scoping-root */ {
|
|
39
39
|
input:checked + label:after {
|
|
40
40
|
left: 1.3125rem; // 21px;
|
|
41
41
|
}
|