shinkansen-sprockets 1.1.1 → 1.1.2
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 +10 -14
- package/src/.babelrc +5 -0
- package/src/components/common/text-content/.babelrc +5 -0
- package/src/components/common/text-content/index.cjs +1 -1
- package/src/components/description/.babelrc +5 -0
- package/src/components/description/fieldset/.babelrc +5 -0
- package/src/components/description/fieldset/index.cjs +1 -1
- package/src/components/description/index.cjs +1 -1
- package/src/components/error-message/.babelrc +5 -0
- package/src/components/error-message/fieldset/.babelrc +5 -0
- package/src/components/error-message/fieldset/index.cjs +1 -1
- package/src/components/error-message/index.cjs +1 -1
- package/src/components/group/.babelrc +5 -0
- package/src/components/group/check-answers/.babelrc +5 -0
- package/src/components/group/check-answers/answer-title.cjs +1 -1
- package/src/components/group/check-answers/answer-value.cjs +1 -1
- package/src/components/group/check-answers/change-answer.cjs +1 -1
- package/src/components/group/check-answers/index.cjs +1 -1
- package/src/components/group/check-answers/index.jsx +1 -1
- package/src/components/group/check-answers/visually-hidden-text.cjs +1 -1
- package/src/components/group/error-summary/.babelrc +5 -0
- package/src/components/group/error-summary/index.cjs +1 -1
- package/src/components/group/error-summary/index.jsx +1 -1
- package/src/components/group/fieldset/.babelrc +5 -0
- package/src/components/group/fieldset/index.cjs +1 -1
- package/src/components/group/index.cjs +1 -1
- package/src/components/title/.babelrc +5 -0
- package/src/components/title/check-answers/.babelrc +5 -0
- package/src/components/title/check-answers/index.cjs +1 -1
- package/src/components/title/error-summary/.babelrc +5 -0
- package/src/components/title/error-summary/index.cjs +1 -1
- package/src/components/title/fieldset/.babelrc +5 -0
- package/src/components/title/fieldset/index.cjs +1 -1
- package/src/components/title/index.cjs +1 -1
- package/src/sprockets/.babelrc +5 -0
- package/src/sprockets/check-answers/.babelrc +5 -0
- package/src/sprockets/check-answers/index.cjs +1 -1
- package/src/sprockets/check-answers/index.jsx +1 -1
- package/src/sprockets/error-summary/.babelrc +5 -0
- package/src/sprockets/error-summary/index.cjs +1 -1
- package/src/sprockets/error-summary/index.jsx +1 -1
- package/src/sprockets/fieldset/.babelrc +5 -0
- package/src/sprockets/fieldset/index.cjs +1 -1
- package/src/sprockets/index.cjs +1 -1
- package/.gitattributes +0 -21
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "shinkansen-sprockets",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.2",
|
4
4
|
"description": "Shinkansen Sprockets",
|
5
5
|
"keywords": [
|
6
6
|
"Shinkansen",
|
@@ -55,14 +55,14 @@
|
|
55
55
|
"@babel/preset-env": "^7.21.5",
|
56
56
|
"@babel/preset-react": "^7.18.6",
|
57
57
|
"@babel/register": "^7.21.0",
|
58
|
-
"@modernpoacher/design-system": "1.0.
|
59
|
-
"@modernpoacher/hooks": "^1.0.
|
60
|
-
"@sequencemedia/gulp": "^1.0.
|
61
|
-
"@storybook/addon-actions": "^7.0.
|
62
|
-
"@storybook/addon-essentials": "^7.0.
|
63
|
-
"@storybook/addon-links": "^7.0.
|
64
|
-
"@storybook/react": "^7.0.
|
65
|
-
"@storybook/react-webpack5": "^7.0.
|
58
|
+
"@modernpoacher/design-system": "1.0.14",
|
59
|
+
"@modernpoacher/hooks": "^1.0.402",
|
60
|
+
"@sequencemedia/gulp": "^1.0.11",
|
61
|
+
"@storybook/addon-actions": "^7.0.11",
|
62
|
+
"@storybook/addon-essentials": "^7.0.11",
|
63
|
+
"@storybook/addon-links": "^7.0.11",
|
64
|
+
"@storybook/react": "^7.0.11",
|
65
|
+
"@storybook/react-webpack5": "^7.0.11",
|
66
66
|
"@types/react": "^18.2.6",
|
67
67
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
68
68
|
"@typescript-eslint/parser": "^5.59.5",
|
@@ -90,9 +90,6 @@
|
|
90
90
|
"gulp-sourcemaps": "^3.0.0",
|
91
91
|
"husky": "^8.0.3",
|
92
92
|
"jest": "^29.5.0",
|
93
|
-
"jest-environment-jsdom": "^29.5.0",
|
94
|
-
"jsdom": "^22.0.0",
|
95
|
-
"jsdom-global": "^3.0.2",
|
96
93
|
"postcss": "^8.4.23",
|
97
94
|
"postcss-easy-import": "^4.0.0",
|
98
95
|
"postcss-map": "^0.11.0",
|
@@ -105,9 +102,8 @@
|
|
105
102
|
"react-router-dom": "^6.11.1",
|
106
103
|
"react-test-renderer": "^18.2.0",
|
107
104
|
"regenerator-runtime": "^0.13.11",
|
108
|
-
"rimraf": "^5.0.0",
|
109
105
|
"sass": "^1.62.1",
|
110
|
-
"storybook": "^7.0.
|
106
|
+
"storybook": "^7.0.11",
|
111
107
|
"vinyl-paths": "^5.0.0"
|
112
108
|
},
|
113
109
|
"imports": {
|
package/src/.babelrc
ADDED
@@ -107,7 +107,7 @@ export default class CheckAnswersGroup extends Group {
|
|
107
107
|
|
108
108
|
CheckAnswersGroup.propTypes = {
|
109
109
|
...Group.propTypes,
|
110
|
-
checkAnswers: PropTypes.
|
110
|
+
checkAnswers: PropTypes.arrayOf(PropTypes.shape())
|
111
111
|
}
|
112
112
|
|
113
113
|
CheckAnswersGroup.defaultProps = {
|
@@ -109,7 +109,7 @@ export default class ErrorSummaryGroup extends Group {
|
|
109
109
|
|
110
110
|
ErrorSummaryGroup.propTypes = {
|
111
111
|
...Group.propTypes,
|
112
|
-
errorSummary: PropTypes.
|
112
|
+
errorSummary: PropTypes.arrayOf(PropTypes.shape())
|
113
113
|
}
|
114
114
|
|
115
115
|
ErrorSummaryGroup.defaultProps = {
|
@@ -75,7 +75,7 @@ export default class CheckAnswersSprocket extends Sprocket {
|
|
75
75
|
|
76
76
|
CheckAnswersSprocket.propTypes = {
|
77
77
|
...Sprocket.propTypes,
|
78
|
-
checkAnswers: PropTypes.
|
78
|
+
checkAnswers: PropTypes.arrayOf(PropTypes.shape())
|
79
79
|
}
|
80
80
|
|
81
81
|
CheckAnswersSprocket.defaultProps = {
|
@@ -77,7 +77,7 @@ export default class ErrorSummarySprocket extends Sprocket {
|
|
77
77
|
|
78
78
|
ErrorSummarySprocket.propTypes = {
|
79
79
|
...Sprocket.propTypes,
|
80
|
-
errorSummary: PropTypes.
|
80
|
+
errorSummary: PropTypes.arrayOf(PropTypes.shape())
|
81
81
|
}
|
82
82
|
|
83
83
|
ErrorSummarySprocket.defaultProps = {
|
package/src/sprockets/index.cjs
CHANGED
package/.gitattributes
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# Default behavior
|
2
|
-
* text=auto
|
3
|
-
|
4
|
-
# LF line endings
|
5
|
-
*.json text eol=lf
|
6
|
-
*.mjs text eol=lf
|
7
|
-
*.cjs text eol=lf
|
8
|
-
*.jsx text eol=lf
|
9
|
-
*.mts text eol=lf
|
10
|
-
*.cts text eol=lf
|
11
|
-
*.sh text eol=lf
|
12
|
-
.editorconfig text eol=lf
|
13
|
-
.eslintignore text eol=lf
|
14
|
-
.eslintrc text eol=lf
|
15
|
-
.gitattributes text eol=lf
|
16
|
-
.gitignore text eol=lf
|
17
|
-
.npmignore text eol=lf
|
18
|
-
.npmrc text eol=lf
|
19
|
-
.eslintrc text eol=lf
|
20
|
-
.babelrc text eol=lf
|
21
|
-
.husky/* text eol=lf
|