@storybook/csf 0.1.12 → 0.1.13
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/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
|
*/
|