@modernpoacher/sprockets 1.0.2 → 1.0.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/index.d.mts +26 -4
- package/package.json +3 -2
package/index.d.mts
CHANGED
|
@@ -114,15 +114,18 @@ declare global {
|
|
|
114
114
|
|
|
115
115
|
export namespace CheckAnswers {
|
|
116
116
|
export interface CheckAnswersProps extends SprocketProps {
|
|
117
|
+
title?: string
|
|
117
118
|
checkAnswers?: AnswerDefinitionType[]
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
export namespace Group {
|
|
121
122
|
export interface CheckAnswersProps extends Super.Components.Group.GroupProps {
|
|
123
|
+
title?: string
|
|
122
124
|
checkAnswers?: AnswerDefinitionType[]
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
export interface CheckAnswersState extends Super.Components.Group.GroupState {
|
|
128
|
+
title?: string
|
|
126
129
|
checkAnswers?: AnswerDefinitionType[]
|
|
127
130
|
}
|
|
128
131
|
}
|
|
@@ -134,15 +137,18 @@ declare global {
|
|
|
134
137
|
|
|
135
138
|
export namespace ErrorSummary {
|
|
136
139
|
export interface ErrorSummaryProps extends SprocketProps {
|
|
140
|
+
title?: string
|
|
137
141
|
errorSummary?: ErrorDefinitionType[]
|
|
138
142
|
}
|
|
139
143
|
|
|
140
144
|
export namespace Group {
|
|
141
145
|
export interface ErrorSummaryProps extends Super.Components.Group.GroupProps {
|
|
146
|
+
title?: string
|
|
142
147
|
errorSummary?: ErrorDefinitionType[]
|
|
143
148
|
}
|
|
144
149
|
|
|
145
150
|
export interface ErrorSummaryState extends Super.Components.Group.GroupState {
|
|
151
|
+
title?: string
|
|
146
152
|
errorSummary?: ErrorDefinitionType[]
|
|
147
153
|
}
|
|
148
154
|
}
|
|
@@ -153,14 +159,30 @@ declare global {
|
|
|
153
159
|
}
|
|
154
160
|
|
|
155
161
|
export namespace Fieldset {
|
|
156
|
-
export
|
|
162
|
+
export interface FieldsetProps extends SprocketProps {
|
|
163
|
+
title?: string
|
|
164
|
+
description?: string
|
|
165
|
+
errorMessage?: string
|
|
166
|
+
}
|
|
157
167
|
|
|
158
|
-
export
|
|
168
|
+
export interface FieldsetState extends SprocketState {
|
|
169
|
+
title?: string
|
|
170
|
+
description?: string
|
|
171
|
+
errorMessage?: string
|
|
172
|
+
}
|
|
159
173
|
|
|
160
174
|
export namespace Group {
|
|
161
|
-
export
|
|
175
|
+
export interface FieldsetProps extends Super.Components.Group.GroupProps {
|
|
176
|
+
title?: string
|
|
177
|
+
description?: string
|
|
178
|
+
errorMessage?: string
|
|
179
|
+
}
|
|
162
180
|
|
|
163
|
-
export
|
|
181
|
+
export interface FieldsetState extends Super.Components.Group.GroupState {
|
|
182
|
+
title?: string
|
|
183
|
+
description?: string
|
|
184
|
+
errorMessage?: string
|
|
185
|
+
}
|
|
164
186
|
}
|
|
165
187
|
|
|
166
188
|
export namespace Title {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/sprockets",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Sprockets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Sprockets",
|
|
@@ -146,7 +146,8 @@
|
|
|
146
146
|
"#sprockets/transformers": "./src/js/transformers/index.mjs",
|
|
147
147
|
"#sprockets/transformers/*": "./src/js/transformers/*/index.mjs",
|
|
148
148
|
"#stories/definitions/*": "./stories/definitions/*.json",
|
|
149
|
-
"#stories/sprockets/*": "./stories/sprockets/*/index.stories.jsx"
|
|
149
|
+
"#stories/sprockets/*": "./stories/sprockets/*/index.stories.jsx",
|
|
150
|
+
"#stories/sprockets/sort": "./stories/sprockets/sort.mjs"
|
|
150
151
|
},
|
|
151
152
|
"exports": {
|
|
152
153
|
".": {
|