@storybook/csf 0.1.12 β 0.1.13-next.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -234
package/dist/index.d.ts
CHANGED
@@ -445,7 +445,9 @@ interface ComponentAnnotations<TRenderer extends Renderer = Renderer, TArgs = Ar
|
|
445
445
|
*
|
446
446
|
* By defining them each component will have its tab in the args table.
|
447
447
|
*/
|
448
|
-
subcomponents?: Record<string, TRenderer
|
448
|
+
subcomponents?: Record<string, (TRenderer & {
|
449
|
+
T: any;
|
450
|
+
})['component']>;
|
449
451
|
/**
|
450
452
|
* Function that is executed after the story is rendered.
|
451
453
|
*/
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
@@ -1,234 +0,0 @@
|
|
1
|
-
# v0.1.12 (Fri Nov 29 2024)
|
2
|
-
|
3
|
-
#### π Bug Fix
|
4
|
-
|
5
|
-
- Add ReportingAPI interface and reporting property to StoryContext [#110](https://github.com/ComponentDriven/csf/pull/110) ([@valentinpalkovic](https://github.com/valentinpalkovic) [@kasperpeulen](https://github.com/kasperpeulen))
|
6
|
-
- Update links to Storybook documentation [#77](https://github.com/ComponentDriven/csf/pull/77) ([@nkabrown](https://github.com/nkabrown))
|
7
|
-
|
8
|
-
#### Authors: 4
|
9
|
-
|
10
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
11
|
-
- Nathan Brown ([@nkabrown](https://github.com/nkabrown))
|
12
|
-
- Norbert de Langen ([@ndelangen](https://github.com/ndelangen))
|
13
|
-
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
|
14
|
-
|
15
|
-
---
|
16
|
-
|
17
|
-
# v0.1.11 (Tue Jul 02 2024)
|
18
|
-
|
19
|
-
#### π Bug Fix
|
20
|
-
|
21
|
-
- Add mount to CSF [#100](https://github.com/ComponentDriven/csf/pull/100) ([@kasperpeulen](https://github.com/kasperpeulen))
|
22
|
-
|
23
|
-
#### Authors: 1
|
24
|
-
|
25
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
26
|
-
|
27
|
-
---
|
28
|
-
|
29
|
-
# v0.1.10 (Tue Jul 02 2024)
|
30
|
-
|
31
|
-
#### π Bug Fix
|
32
|
-
|
33
|
-
- Consolidate loader, play and render context and add a self referencing context property [#98](https://github.com/ComponentDriven/csf/pull/98) ([@kasperpeulen](https://github.com/kasperpeulen))
|
34
|
-
- Add canvas prop to the context [#99](https://github.com/ComponentDriven/csf/pull/99) ([@kasperpeulen](https://github.com/kasperpeulen))
|
35
|
-
|
36
|
-
#### Authors: 1
|
37
|
-
|
38
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
39
|
-
|
40
|
-
---
|
41
|
-
|
42
|
-
# v0.1.9 (Mon Jun 24 2024)
|
43
|
-
|
44
|
-
#### π Bug Fix
|
45
|
-
|
46
|
-
- Add `beforeAll` hook to CSF types [#96](https://github.com/ComponentDriven/csf/pull/96) ([@ghengeveld](https://github.com/ghengeveld))
|
47
|
-
|
48
|
-
#### Authors: 2
|
49
|
-
|
50
|
-
- Gert Hengeveld ([@ghengeveld](https://github.com/ghengeveld))
|
51
|
-
- Michael Shilman ([@shilman](https://github.com/shilman))
|
52
|
-
|
53
|
-
---
|
54
|
-
|
55
|
-
# v0.1.8 (Mon Jun 03 2024)
|
56
|
-
|
57
|
-
#### π Bug Fix
|
58
|
-
|
59
|
-
- Add project initialGlobals & component/story globals, deprecate project globals [#92](https://github.com/ComponentDriven/csf/pull/92) ([@shilman](https://github.com/shilman))
|
60
|
-
|
61
|
-
#### Authors: 1
|
62
|
-
|
63
|
-
- Michael Shilman ([@shilman](https://github.com/shilman))
|
64
|
-
|
65
|
-
---
|
66
|
-
|
67
|
-
# v0.1.7 (Mon May 06 2024)
|
68
|
-
|
69
|
-
#### π Bug Fix
|
70
|
-
|
71
|
-
- Fix the package name in the readme [#81](https://github.com/ComponentDriven/csf/pull/81) ([@stof](https://github.com/stof))
|
72
|
-
- Add utility for tag combination & negation [#80](https://github.com/ComponentDriven/csf/pull/80) ([@shilman](https://github.com/shilman))
|
73
|
-
|
74
|
-
#### Authors: 2
|
75
|
-
|
76
|
-
- Christophe Coevoet ([@stof](https://github.com/stof))
|
77
|
-
- Michael Shilman ([@shilman](https://github.com/shilman))
|
78
|
-
|
79
|
-
---
|
80
|
-
|
81
|
-
# v0.1.6 (Tue Apr 30 2024)
|
82
|
-
|
83
|
-
#### π Bug Fix
|
84
|
-
|
85
|
-
- Add the beforeEach hook [#82](https://github.com/ComponentDriven/csf/pull/82) ([@kasperpeulen](https://github.com/kasperpeulen))
|
86
|
-
|
87
|
-
#### Authors: 1
|
88
|
-
|
89
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
90
|
-
|
91
|
-
---
|
92
|
-
|
93
|
-
# v0.1.5 (Thu Apr 25 2024)
|
94
|
-
|
95
|
-
#### π Bug Fix
|
96
|
-
|
97
|
-
- chore: resolve eslint issues [#87](https://github.com/ComponentDriven/csf/pull/87) ([@Cherry](https://github.com/Cherry))
|
98
|
-
- fix: better handle readonly InputType options [#85](https://github.com/ComponentDriven/csf/pull/85) ([@Cherry](https://github.com/Cherry))
|
99
|
-
|
100
|
-
#### Authors: 2
|
101
|
-
|
102
|
-
- James Ross ([@Cherry](https://github.com/Cherry))
|
103
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
104
|
-
|
105
|
-
---
|
106
|
-
|
107
|
-
# v0.1.4 (Fri Apr 12 2024)
|
108
|
-
|
109
|
-
#### π Bug Fix
|
110
|
-
|
111
|
-
- Loosen control type and some fixes [#83](https://github.com/ComponentDriven/csf/pull/83) ([@kasperpeulen](https://github.com/kasperpeulen))
|
112
|
-
|
113
|
-
#### Authors: 1
|
114
|
-
|
115
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
116
|
-
|
117
|
-
---
|
118
|
-
|
119
|
-
# v0.1.3 (Mon Mar 18 2024)
|
120
|
-
|
121
|
-
#### π Bug Fix
|
122
|
-
|
123
|
-
- Fix bad publish [#78](https://github.com/ComponentDriven/csf/pull/78) ([@shilman](https://github.com/shilman))
|
124
|
-
- Improve InputType for controls [#75](https://github.com/ComponentDriven/csf/pull/75) ([@Shinigami92](https://github.com/Shinigami92) [@shilman](https://github.com/shilman))
|
125
|
-
- Update README [#74](https://github.com/ComponentDriven/csf/pull/74) ([@nkabrown](https://github.com/nkabrown))
|
126
|
-
|
127
|
-
#### Authors: 4
|
128
|
-
|
129
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
130
|
-
- Michael Shilman ([@shilman](https://github.com/shilman))
|
131
|
-
- Nathan Brown ([@nkabrown](https://github.com/nkabrown))
|
132
|
-
- Shinigami ([@Shinigami92](https://github.com/Shinigami92))
|
133
|
-
|
134
|
-
---
|
135
|
-
|
136
|
-
# v0.1.2 (Wed Nov 22 2023)
|
137
|
-
|
138
|
-
#### π Bug Fix
|
139
|
-
|
140
|
-
- Allow loaders to be synchronous or void [#71](https://github.com/ComponentDriven/csf/pull/71) ([@kasperpeulen](https://github.com/kasperpeulen))
|
141
|
-
- Move `types` condition to the front [#69](https://github.com/ComponentDriven/csf/pull/69) ([@Andarist](https://github.com/Andarist))
|
142
|
-
|
143
|
-
#### Authors: 2
|
144
|
-
|
145
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
146
|
-
- Mateusz BurzyΕski ([@Andarist](https://github.com/Andarist))
|
147
|
-
|
148
|
-
---
|
149
|
-
|
150
|
-
# v0.1.1 (Fri Jun 02 2023)
|
151
|
-
|
152
|
-
#### π Bug Fix
|
153
|
-
|
154
|
-
- Move `types` condition to the front [#70](https://github.com/ComponentDriven/csf/pull/70) ([@Andarist](https://github.com/Andarist))
|
155
|
-
|
156
|
-
#### Authors: 1
|
157
|
-
|
158
|
-
- Mateusz BurzyΕski ([@Andarist](https://github.com/Andarist))
|
159
|
-
|
160
|
-
---
|
161
|
-
|
162
|
-
# v0.1.0 (Mon Apr 03 2023)
|
163
|
-
|
164
|
-
#### π Enhancement
|
165
|
-
|
166
|
-
|
167
|
-
#### π Bug Fix
|
168
|
-
|
169
|
-
- Turn Args interfaces into types when passed to decorators [#65](https://github.com/ComponentDriven/csf/pull/65) ([@kasperpeulen](https://github.com/kasperpeulen))
|
170
|
-
- Improve the startcase implementation to mimick lodash's version more closely [#64](https://github.com/ComponentDriven/csf/pull/64) ([@ndelangen](https://github.com/ndelangen))
|
171
|
-
- replace lodash [#62](https://github.com/ComponentDriven/csf/pull/62) ([@ndelangen](https://github.com/ndelangen))
|
172
|
-
- Fix bug with meta not working well as generic parameter for StoryObj [#60](https://github.com/ComponentDriven/csf/pull/60) ([@kasperpeulen](https://github.com/kasperpeulen))
|
173
|
-
- Make sure that index signatures (used in decorators) don't cause unexpected types [#58](https://github.com/ComponentDriven/csf/pull/58) ([@kasperpeulen](https://github.com/kasperpeulen))
|
174
|
-
- Add strict variants for Args and Paramters to CSF [#57](https://github.com/ComponentDriven/csf/pull/57) ([@kasperpeulen](https://github.com/kasperpeulen))
|
175
|
-
- Revert stricter parameters [#56](https://github.com/ComponentDriven/csf/pull/56) ([@kasperpeulen](https://github.com/kasperpeulen))
|
176
|
-
- Use builtin installation of actions/setup-node [#55](https://github.com/ComponentDriven/csf/pull/55) ([@kasperpeulen](https://github.com/kasperpeulen))
|
177
|
-
- Rename Framework to Renderer [#54](https://github.com/ComponentDriven/csf/pull/54) ([@kasperpeulen](https://github.com/kasperpeulen))
|
178
|
-
- Rework Framework type to contain `canvasElement` [#53](https://github.com/ComponentDriven/csf/pull/53) ([@tmeasday](https://github.com/tmeasday))
|
179
|
-
- Add tags annotation at all levels [#52](https://github.com/ComponentDriven/csf/pull/52) ([@tmeasday](https://github.com/tmeasday))
|
180
|
-
- First attempt at bringing new types over [#29](https://github.com/ComponentDriven/csf/pull/29) ([@tmeasday](https://github.com/tmeasday) [@shilman](https://github.com/shilman) [@ghengeveld](https://github.com/ghengeveld) [@wKich](https://github.com/wKich) [@kasperpeulen](https://github.com/kasperpeulen))
|
181
|
-
- Revert "Play function can only be set at the story level" [#40](https://github.com/ComponentDriven/csf/pull/40) ([@wKich](https://github.com/wKich) [@shilman](https://github.com/shilman))
|
182
|
-
- Add conditional arg types and metadata [#36](https://github.com/ComponentDriven/csf/pull/36) ([@shilman](https://github.com/shilman) [@tmeasday](https://github.com/tmeasday) [@kasperpeulen](https://github.com/kasperpeulen))
|
183
|
-
- Re-apply `TArgs` to CSF `render` type [#43](https://github.com/ComponentDriven/csf/pull/43) ([@tmeasday](https://github.com/tmeasday) [@shilman](https://github.com/shilman) [@kasperpeulen](https://github.com/kasperpeulen))
|
184
|
-
- Add step to play context and `runStep` to project annotations [#48](https://github.com/ComponentDriven/csf/pull/48) ([@tmeasday](https://github.com/tmeasday) [@shilman](https://github.com/shilman) [@kasperpeulen](https://github.com/kasperpeulen))
|
185
|
-
- Sound arg types for CSF3 [#49](https://github.com/ComponentDriven/csf/pull/49) ([@kasperpeulen](https://github.com/kasperpeulen) [@shilman](https://github.com/shilman))
|
186
|
-
- ArgsFromMeta utility and generic ArgsStoryFn RT [#51](https://github.com/ComponentDriven/csf/pull/51) ([@kasperpeulen](https://github.com/kasperpeulen))
|
187
|
-
- Configure Auto [#50](https://github.com/ComponentDriven/csf/pull/50) ([@shilman](https://github.com/shilman))
|
188
|
-
- Only make `TArgs` parameterize `args` and `argTypes` in our default annotations [#33](https://github.com/ComponentDriven/csf/pull/33) ([@tmeasday](https://github.com/tmeasday))
|
189
|
-
- Adding Components.studio as a tool using CSF [#13](https://github.com/ComponentDriven/csf/pull/13) ([@georges-gomes](https://github.com/georges-gomes) [@ghengeveld](https://github.com/ghengeveld))
|
190
|
-
- Makes name argument for 'toId' optional [#17](https://github.com/ComponentDriven/csf/pull/17) ([@unematiii](https://github.com/unematiii) [@ghengeveld](https://github.com/ghengeveld))
|
191
|
-
- use permanent url for the header image [#12](https://github.com/ComponentDriven/csf/pull/12) ([@winkerVSbecks](https://github.com/winkerVSbecks))
|
192
|
-
- fix link to image [#10](https://github.com/ComponentDriven/csf/pull/10) ([@winkerVSbecks](https://github.com/winkerVSbecks))
|
193
|
-
- Publish under @componentdriven and update README [#8](https://github.com/ComponentDriven/csf/pull/8) ([@winkerVSbecks](https://github.com/winkerVSbecks))
|
194
|
-
- Add meta types for CSF [#5](https://github.com/ComponentDriven/csf/pull/5) ([@wKich](https://github.com/wKich))
|
195
|
-
- types of csf properties [#3](https://github.com/ComponentDriven/csf/pull/3) ([@atanasster](https://github.com/atanasster) [@ndelangen](https://github.com/ndelangen))
|
196
|
-
- Extract @storybook/csf from monorepo [#1](https://github.com/ComponentDriven/csf/pull/1) ([@shilman](https://github.com/shilman))
|
197
|
-
|
198
|
-
#### β οΈ Pushed to `master`
|
199
|
-
|
200
|
-
- First commit ([@shilman](https://github.com/shilman))
|
201
|
-
|
202
|
-
#### π Documentation
|
203
|
-
|
204
|
-
- added storyNameFromExport(key) in README.md [#2](https://github.com/ComponentDriven/csf/pull/2) ([@georges-gomes](https://github.com/georges-gomes) [@shilman](https://github.com/shilman))
|
205
|
-
|
206
|
-
#### π© Dependency Updates
|
207
|
-
|
208
|
-
- Bump handlebars from 4.5.3 to 4.7.7 [#20](https://github.com/ComponentDriven/csf/pull/20) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
209
|
-
- Bump y18n from 4.0.0 to 4.0.3 [#32](https://github.com/ComponentDriven/csf/pull/32) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
210
|
-
- Bump ini from 1.3.5 to 1.3.8 [#18](https://github.com/ComponentDriven/csf/pull/18) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
211
|
-
- Bump yargs-parser from 13.1.1 to 13.1.2 [#15](https://github.com/ComponentDriven/csf/pull/15) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
212
|
-
- Bump lodash from 4.17.15 to 4.17.21 [#21](https://github.com/ComponentDriven/csf/pull/21) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
213
|
-
- Bump hosted-git-info from 2.8.5 to 2.8.9 [#22](https://github.com/ComponentDriven/csf/pull/22) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
214
|
-
- Bump path-parse from 1.0.6 to 1.0.7 [#25](https://github.com/ComponentDriven/csf/pull/25) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
215
|
-
- Bump browserslist from 4.11.1 to 4.16.6 [#23](https://github.com/ComponentDriven/csf/pull/23) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
216
|
-
- Bump acorn from 5.7.3 to 5.7.4 [#27](https://github.com/ComponentDriven/csf/pull/27) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
217
|
-
- Bump ws from 5.2.2 to 5.2.3 [#28](https://github.com/ComponentDriven/csf/pull/28) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
218
|
-
- Bump tar from 4.4.13 to 4.4.19 [#30](https://github.com/ComponentDriven/csf/pull/30) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
219
|
-
- Bump tmpl from 1.0.4 to 1.0.5 [#31](https://github.com/ComponentDriven/csf/pull/31) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
220
|
-
|
221
|
-
#### Authors: 12
|
222
|
-
|
223
|
-
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
224
|
-
- Atanas Stoyanov ([@atanasster](https://github.com/atanasster))
|
225
|
-
- Dmitriy Lazarev ([@wKich](https://github.com/wKich))
|
226
|
-
- Dominic Nguyen ([@domyen](https://github.com/domyen))
|
227
|
-
- Georges Gomes ([@georges-gomes](https://github.com/georges-gomes))
|
228
|
-
- Gert Hengeveld ([@ghengeveld](https://github.com/ghengeveld))
|
229
|
-
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
230
|
-
- Mati KΓ€rner ([@unematiii](https://github.com/unematiii))
|
231
|
-
- Michael Shilman ([@shilman](https://github.com/shilman))
|
232
|
-
- Norbert de Langen ([@ndelangen](https://github.com/ndelangen))
|
233
|
-
- Tom Coleman ([@tmeasday](https://github.com/tmeasday))
|
234
|
-
- Varun Vachhar ([@winkerVSbecks](https://github.com/winkerVSbecks))
|