@storybook/csf 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +13 -0
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
# v0.1.13 (Tue Dec 24 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- fix: story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component [#103](https://github.com/ComponentDriven/csf/pull/103) ([@lburgess](https://github.com/lburgess))
|
6
|
+
|
7
|
+
#### Authors: 2
|
8
|
+
|
9
|
+
- Kasper Peulen ([@kasperpeulen](https://github.com/kasperpeulen))
|
10
|
+
- Luke Burgess ([@lburgess](https://github.com/lburgess))
|
11
|
+
|
12
|
+
---
|
13
|
+
|
1
14
|
# v0.1.12 (Fri Nov 29 2024)
|
2
15
|
|
3
16
|
#### 🐛 Bug Fix
|
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
|
*/
|