@repobuddy/storybook 0.15.0 → 0.16.1
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/esm/storybook-addon-tag-badges/index.d.ts +1 -0
- package/esm/storybook-addon-tag-badges/tag_badges.d.ts +4 -0
- package/esm/storybook-addon-tag-badges/types.d.ts +5 -0
- package/esm/storybook-addon-tag-badges/types.js +1 -0
- package/package.json +2 -1
- package/src/storybook-addon-tag-badges/index.ts +1 -0
- package/src/storybook-addon-tag-badges/tag_badges.ts +19 -0
- package/src/storybook-addon-tag-badges/types.ts +6 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { type TagBadgeParameters } from 'storybook-addon-tag-badges';
|
|
2
2
|
type TagBadgeParameter = TagBadgeParameters[0];
|
|
3
|
+
/**
|
|
4
|
+
* Type representing the names of predefined tags used in Storybook stories.
|
|
5
|
+
*/
|
|
6
|
+
export type TagNames = 'editor' | 'new' | 'beta' | 'props' | 'deprecated' | 'outdated' | 'danger' | 'todo' | 'code-only' | 'snapshot' | 'unit' | 'integration' | 'keyboard' | 'internal';
|
|
3
7
|
/**
|
|
4
8
|
* Configuration for story tag badges that appear in the Storybook sidebar.
|
|
5
9
|
* Each badge is associated with a specific tag and displays an emoji with a tooltip.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobuddy/storybook",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "Storybook repo buddy",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"storybook-addon-vis": "^1.0.0",
|
|
70
70
|
"storybook-dark-mode": "^4.0.2",
|
|
71
71
|
"tailwindcss": "^4.1.5",
|
|
72
|
+
"type-plus": "8.0.0-beta.7",
|
|
72
73
|
"vite": "^6.3.4",
|
|
73
74
|
"vitest": "^3.1.2"
|
|
74
75
|
},
|
|
@@ -4,6 +4,25 @@ const [, , , , , , versionBadge] = defaultConfig
|
|
|
4
4
|
|
|
5
5
|
type TagBadgeParameter = TagBadgeParameters[0]
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Type representing the names of predefined tags used in Storybook stories.
|
|
9
|
+
*/
|
|
10
|
+
export type TagNames =
|
|
11
|
+
| 'editor'
|
|
12
|
+
| 'new'
|
|
13
|
+
| 'beta'
|
|
14
|
+
| 'props'
|
|
15
|
+
| 'deprecated'
|
|
16
|
+
| 'outdated'
|
|
17
|
+
| 'danger'
|
|
18
|
+
| 'todo'
|
|
19
|
+
| 'code-only'
|
|
20
|
+
| 'snapshot'
|
|
21
|
+
| 'unit'
|
|
22
|
+
| 'integration'
|
|
23
|
+
| 'keyboard'
|
|
24
|
+
| 'internal'
|
|
25
|
+
|
|
7
26
|
/**
|
|
8
27
|
* Configuration for story tag badges that appear in the Storybook sidebar.
|
|
9
28
|
* Each badge is associated with a specific tag and displays an emoji with a tooltip.
|