@repobuddy/storybook 0.5.0 → 0.6.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/manager/tag_badges.d.ts +1 -0
- package/esm/manager/tag_badges.js +12 -0
- package/package.json +1 -1
- package/readme.md +1 -0
- package/src/manager/tag_badges.ts +12 -0
|
@@ -4,6 +4,7 @@ import { type TagBadgeParameters } from 'storybook-addon-tag-badges';
|
|
|
4
4
|
* Each badge is associated with a specific tag and displays an emoji with a tooltip.
|
|
5
5
|
*
|
|
6
6
|
* The badges help visually identify stories with certain characteristics:
|
|
7
|
+
* - ✏️ Editor - Stories with live editor
|
|
7
8
|
* - 🆕 New - Recently added stories
|
|
8
9
|
* - 🅱️ Beta - Stories for features in beta
|
|
9
10
|
* - 🪦 Deprecated - Stories for deprecated features
|
|
@@ -5,6 +5,7 @@ const [, , , , , , versionBadge] = defaultConfig;
|
|
|
5
5
|
* Each badge is associated with a specific tag and displays an emoji with a tooltip.
|
|
6
6
|
*
|
|
7
7
|
* The badges help visually identify stories with certain characteristics:
|
|
8
|
+
* - ✏️ Editor - Stories with live editor
|
|
8
9
|
* - 🆕 New - Recently added stories
|
|
9
10
|
* - 🅱️ Beta - Stories for features in beta
|
|
10
11
|
* - 🪦 Deprecated - Stories for deprecated features
|
|
@@ -18,6 +19,17 @@ const [, , , , , , versionBadge] = defaultConfig;
|
|
|
18
19
|
* Also includes the default version badge from `storybook-addon-tag-badges`.
|
|
19
20
|
*/
|
|
20
21
|
export const tagBadges = [
|
|
22
|
+
{
|
|
23
|
+
tags: 'editor',
|
|
24
|
+
badge: {
|
|
25
|
+
text: '✏️',
|
|
26
|
+
bgColor: 'transparent',
|
|
27
|
+
tooltip: 'Editor'
|
|
28
|
+
},
|
|
29
|
+
display: {
|
|
30
|
+
sidebar: ['story']
|
|
31
|
+
}
|
|
32
|
+
},
|
|
21
33
|
{
|
|
22
34
|
tags: 'new',
|
|
23
35
|
badge: {
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -64,6 +64,7 @@ addons.setConfig({
|
|
|
64
64
|
If you use [`storybook-addon-tag-badges`][`storybook-addon-tag-badges`],
|
|
65
65
|
we provide a different set of badges that uses emojis:
|
|
66
66
|
|
|
67
|
+
- ✏️ Editor - Stories with live editor
|
|
67
68
|
- 🆕 New components/features
|
|
68
69
|
- 🅱️ Beta status
|
|
69
70
|
- 🪦 Deprecated notices
|
|
@@ -7,6 +7,7 @@ const [, , , , , , versionBadge] = defaultConfig
|
|
|
7
7
|
* Each badge is associated with a specific tag and displays an emoji with a tooltip.
|
|
8
8
|
*
|
|
9
9
|
* The badges help visually identify stories with certain characteristics:
|
|
10
|
+
* - ✏️ Editor - Stories with live editor
|
|
10
11
|
* - 🆕 New - Recently added stories
|
|
11
12
|
* - 🅱️ Beta - Stories for features in beta
|
|
12
13
|
* - 🪦 Deprecated - Stories for deprecated features
|
|
@@ -20,6 +21,17 @@ const [, , , , , , versionBadge] = defaultConfig
|
|
|
20
21
|
* Also includes the default version badge from `storybook-addon-tag-badges`.
|
|
21
22
|
*/
|
|
22
23
|
export const tagBadges: TagBadgeParameters = [
|
|
24
|
+
{
|
|
25
|
+
tags: 'editor',
|
|
26
|
+
badge: {
|
|
27
|
+
text: '✏️',
|
|
28
|
+
bgColor: 'transparent',
|
|
29
|
+
tooltip: 'Editor'
|
|
30
|
+
},
|
|
31
|
+
display: {
|
|
32
|
+
sidebar: ['story']
|
|
33
|
+
}
|
|
34
|
+
},
|
|
23
35
|
{
|
|
24
36
|
tags: 'new',
|
|
25
37
|
badge: {
|