@modernpoacher/sprockets 1.0.127 → 1.0.129
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/eslint.config.mjs +1 -1
- package/index.d.mts +1 -10
- package/package.json +12 -11
- package/src/js/index.d.cts +0 -2
- package/src/js/index.d.mts +0 -2
package/eslint.config.mjs
CHANGED
package/index.d.mts
CHANGED
|
@@ -21,20 +21,11 @@ declare global {
|
|
|
21
21
|
href: string
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export interface FieldChangeType {
|
|
25
|
-
text: string
|
|
26
|
-
href: string
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface FieldErrorType {
|
|
30
|
-
text: string
|
|
31
|
-
href: string
|
|
32
|
-
}
|
|
33
|
-
|
|
34
24
|
export namespace Super {
|
|
35
25
|
export namespace Sprockets {
|
|
36
26
|
export interface SprocketProps extends React.PropsWithChildren {
|
|
37
27
|
groupRef?: React.RefObject<any> // eslint-disable-line @typescript-eslint/no-explicit-any -- Simplicity
|
|
28
|
+
title?: string
|
|
38
29
|
}
|
|
39
30
|
|
|
40
31
|
export type SprocketState = Record<PropertyKey, unknown>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/sprockets",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.129",
|
|
4
4
|
"description": "Sprockets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Sprockets",
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"test": "npm run test:mocha && npm run test:jest",
|
|
44
44
|
"test:jest": "cross-env NODE_ENV=test jest",
|
|
45
45
|
"test:mocha": "cross-env NODE_ENV=test mocha test --recursive",
|
|
46
|
-
"transform": "cross-env DEBUG=@modernpoacher/sprockets* .storybook/transform.sh"
|
|
46
|
+
"transform": "cross-env DEBUG=@modernpoacher/sprockets* .storybook/transform.sh",
|
|
47
|
+
"type-check": "tsc --noEmit"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
50
|
"classnames": "^2.5.1",
|
|
@@ -58,12 +59,12 @@
|
|
|
58
59
|
"@babel/preset-react": "^7.28.5",
|
|
59
60
|
"@babel/register": "^7.28.3",
|
|
60
61
|
"@modernpoacher/design-system": "2.0.17",
|
|
61
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
62
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
63
|
-
"@storybook/addon-docs": "^10.0.
|
|
64
|
-
"@storybook/addon-links": "^10.0.
|
|
62
|
+
"@sequencemedia/eslint-config-standard": "^0.2.98",
|
|
63
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.169",
|
|
64
|
+
"@storybook/addon-docs": "^10.0.2",
|
|
65
|
+
"@storybook/addon-links": "^10.0.2",
|
|
65
66
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
66
|
-
"@storybook/react-webpack5": "^10.0.
|
|
67
|
+
"@storybook/react-webpack5": "^10.0.2",
|
|
67
68
|
"@testing-library/jest-dom": "^6.9.1",
|
|
68
69
|
"@testing-library/react": "^16.3.0",
|
|
69
70
|
"@types/babel__register": "^7.17.3",
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"cross-env": "^10.1.0",
|
|
83
84
|
"eslint": "^9.38.0",
|
|
84
85
|
"eslint-plugin-react": "^7.37.5",
|
|
85
|
-
"eslint-plugin-storybook": "^10.0.
|
|
86
|
+
"eslint-plugin-storybook": "^10.0.2",
|
|
86
87
|
"globals": "^16.4.0",
|
|
87
88
|
"husky": "^9.1.7",
|
|
88
89
|
"jest": "^30.2.0",
|
|
@@ -99,14 +100,14 @@
|
|
|
99
100
|
"prettier": "^3.6.2",
|
|
100
101
|
"prop-types": "^15.8.1",
|
|
101
102
|
"react": "^19.2.0",
|
|
102
|
-
"react-component-instance": "^0.0.
|
|
103
|
-
"react-component-snapshot": "^0.0.
|
|
103
|
+
"react-component-instance": "^0.0.121",
|
|
104
|
+
"react-component-snapshot": "^0.0.162",
|
|
104
105
|
"react-dom": "^19.2.0",
|
|
105
106
|
"react-router": "^7.9.5",
|
|
106
107
|
"remove-files-webpack-plugin": "^1.5.0",
|
|
107
108
|
"sass": "^1.93.2",
|
|
108
109
|
"sass-loader": "^16.0.6",
|
|
109
|
-
"storybook": "^10.0.
|
|
110
|
+
"storybook": "^10.0.2",
|
|
110
111
|
"stylelint": "^16.25.0",
|
|
111
112
|
"stylelint-config-recommended-scss": "^16.0.2",
|
|
112
113
|
"stylelint-scss": "^6.12.1",
|
package/src/js/index.d.cts
CHANGED
|
@@ -17,9 +17,7 @@ import type {
|
|
|
17
17
|
} from '#sprockets/sprockets/fieldset'
|
|
18
18
|
|
|
19
19
|
export type AnswerDefinitionType = SprocketsTypes.AnswerDefinitionType
|
|
20
|
-
export type FieldChangeType = SprocketsTypes.FieldChangeType
|
|
21
20
|
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
|
22
|
-
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
|
23
21
|
|
|
24
22
|
export { default as CheckAnswersSprocket } from '#sprockets/sprockets/check-answers'
|
|
25
23
|
export { default as ErrorSummarySprocket } from '#sprockets/sprockets/error-summary'
|
package/src/js/index.d.mts
CHANGED
|
@@ -17,9 +17,7 @@ import type {
|
|
|
17
17
|
} from '#sprockets/sprockets/fieldset'
|
|
18
18
|
|
|
19
19
|
export type AnswerDefinitionType = SprocketsTypes.AnswerDefinitionType
|
|
20
|
-
export type FieldChangeType = SprocketsTypes.FieldChangeType
|
|
21
20
|
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
|
22
|
-
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
|
23
21
|
|
|
24
22
|
export { default as CheckAnswersSprocket } from '#sprockets/sprockets/check-answers'
|
|
25
23
|
export { default as ErrorSummarySprocket } from '#sprockets/sprockets/error-summary'
|