@storybook/addon-ondevice-notes 6.5.5 → 6.5.6-alpha.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.
|
@@ -3,25 +3,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
/**
|
|
8
8
|
* mostly based on code from https://github.com/CharlesMangwa/react-native-simple-markdown
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
const react_1 = __importDefault(require("react"));
|
|
11
|
+
const react_native_1 = require("react-native");
|
|
12
|
+
const simple_markdown_1 = __importDefault(require("simple-markdown"));
|
|
13
13
|
// @ts-ignore
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var _renderContent = function () {
|
|
14
|
+
const rules_1 = __importDefault(require("./rules"));
|
|
15
|
+
const styles_1 = require("./styles");
|
|
16
|
+
const Markdown = ({ children = '', errorHandler }) => {
|
|
17
|
+
const styles = (0, styles_1.useThemedStyles)();
|
|
18
|
+
const _renderContent = () => {
|
|
20
19
|
try {
|
|
21
|
-
|
|
20
|
+
const rules = (0, rules_1.default)(styles);
|
|
22
21
|
// @TODO: Add another \n?
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
const blockSource = `${children}\n\n`;
|
|
23
|
+
const tree = simple_markdown_1.default.parserFor(rules)(blockSource, {
|
|
25
24
|
inline: false,
|
|
26
25
|
});
|
|
27
26
|
return simple_markdown_1.default.outputFor(rules, 'react')(tree);
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
4
|
};
|
|
@@ -17,23 +6,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
6
|
/**
|
|
18
7
|
* mostly based on code from https://github.com/CharlesMangwa/react-native-simple-markdown
|
|
19
8
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
exports.default = (
|
|
9
|
+
const react_1 = require("react");
|
|
10
|
+
const react_native_1 = require("react-native");
|
|
11
|
+
const simple_markdown_1 = __importDefault(require("simple-markdown"));
|
|
12
|
+
exports.default = (styles) => ({
|
|
13
|
+
...simple_markdown_1.default.defaultRules,
|
|
14
|
+
autolink: {
|
|
15
|
+
...simple_markdown_1.default.defaultRules.autolink,
|
|
16
|
+
react: (node, output, state) => {
|
|
24
17
|
state.withinText = true;
|
|
25
18
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
26
19
|
key: state.key,
|
|
27
20
|
style: styles.link,
|
|
28
|
-
onPress:
|
|
21
|
+
onPress: () => null,
|
|
29
22
|
}, output(node.content, state));
|
|
30
|
-
}
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
blockQuote: {
|
|
26
|
+
...simple_markdown_1.default.defaultRules.blockQuote,
|
|
27
|
+
react: (node, output, state) => {
|
|
31
28
|
state.withinText = true;
|
|
32
|
-
|
|
29
|
+
const blockBar = (0, react_1.createElement)(react_native_1.View, {
|
|
33
30
|
key: state.key,
|
|
34
31
|
style: [styles.blockQuoteSectionBar, styles.blockQuoteBar],
|
|
35
32
|
});
|
|
36
|
-
|
|
33
|
+
const blockText = (0, react_1.createElement)(react_native_1.Text, {
|
|
37
34
|
key: state.key,
|
|
38
35
|
style: styles.blockQuoteText,
|
|
39
36
|
}, output(node.content, state));
|
|
@@ -41,143 +38,201 @@ exports.default = (function (styles) { return (__assign(__assign({}, simple_mark
|
|
|
41
38
|
key: state.key,
|
|
42
39
|
style: [styles.blockQuoteSection, styles.blockQuote],
|
|
43
40
|
}, [blockBar, blockText]);
|
|
44
|
-
}
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
br: {
|
|
44
|
+
...simple_markdown_1.default.defaultRules.br,
|
|
45
|
+
react: (node, output, state) => {
|
|
45
46
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
46
47
|
key: state.key,
|
|
47
48
|
style: styles.br,
|
|
48
49
|
}, '\n\n');
|
|
49
|
-
}
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
codeBlock: {
|
|
53
|
+
...simple_markdown_1.default.defaultRules.codeBlock,
|
|
54
|
+
react: (node, output, state) => {
|
|
50
55
|
state.withinText = true;
|
|
51
56
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
52
57
|
key: state.key,
|
|
53
58
|
style: styles.codeBlock,
|
|
54
59
|
}, null);
|
|
55
|
-
}
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
del: {
|
|
63
|
+
...simple_markdown_1.default.defaultRules.del,
|
|
64
|
+
react: (node, output, state) => {
|
|
56
65
|
state.withinText = true;
|
|
57
66
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
58
67
|
key: state.key,
|
|
59
68
|
style: styles.del,
|
|
60
69
|
}, output(node.content, state));
|
|
61
|
-
}
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
em: {
|
|
73
|
+
...simple_markdown_1.default.defaultRules.em,
|
|
74
|
+
react: (node, output, state) => {
|
|
62
75
|
state.withinText = true;
|
|
63
76
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
64
77
|
key: state.key,
|
|
65
78
|
style: styles.em,
|
|
66
79
|
}, output(node.content, state));
|
|
67
|
-
}
|
|
68
|
-
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
heading: {
|
|
83
|
+
...simple_markdown_1.default.defaultRules.heading,
|
|
84
|
+
react: (node, output, parentState) => {
|
|
85
|
+
const state = { ...parentState };
|
|
69
86
|
state.withinText = true;
|
|
70
|
-
|
|
87
|
+
const stylesToApply = [styles.heading, styles[`heading${node.level}`]];
|
|
71
88
|
state.stylesToApply = stylesToApply;
|
|
72
89
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
73
90
|
key: state.key,
|
|
74
91
|
style: stylesToApply,
|
|
75
92
|
}, output(node.content, state));
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
hr: {
|
|
96
|
+
...simple_markdown_1.default.defaultRules.hr,
|
|
97
|
+
react: (node, output, state) => (0, react_1.createElement)(react_native_1.View, { key: state.key, style: styles.hr }),
|
|
98
|
+
},
|
|
99
|
+
image: {
|
|
100
|
+
...simple_markdown_1.default.defaultRules.image,
|
|
101
|
+
react: (node, output, state) => (0, react_1.createElement)(react_native_1.Image, {
|
|
102
|
+
key: state.key,
|
|
103
|
+
resizeMode: 'contain',
|
|
104
|
+
source: { uri: node.target },
|
|
105
|
+
style: (node.target.match(/youtu|vimeo/) ? styles.video : styles.image),
|
|
106
|
+
//styles.resizeMode ? styles.resizeMode :
|
|
107
|
+
}),
|
|
108
|
+
},
|
|
109
|
+
inlineCode: {
|
|
110
|
+
...simple_markdown_1.default.defaultRules.inlineCode,
|
|
111
|
+
react: (node, output, state) => {
|
|
87
112
|
state.withinText = true;
|
|
88
113
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
89
114
|
key: state.key,
|
|
90
115
|
style: styles.inlineCode,
|
|
91
116
|
}, node.content);
|
|
92
|
-
}
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
link: {
|
|
120
|
+
...simple_markdown_1.default.defaultRules.link,
|
|
121
|
+
react: (node, output, state) => {
|
|
93
122
|
state.withinText = true;
|
|
94
|
-
|
|
95
|
-
react_native_1.Linking.openURL(url).catch(
|
|
123
|
+
const openUrl = (url) => {
|
|
124
|
+
react_native_1.Linking.openURL(url).catch((error) => console.warn('An error occurred: ', error));
|
|
96
125
|
};
|
|
97
126
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
98
127
|
style: node.target.match(/@/) ? styles.mailTo : styles.link,
|
|
99
128
|
key: state.key,
|
|
100
|
-
onPress:
|
|
129
|
+
onPress: () => openUrl(node.target),
|
|
101
130
|
}, output(node.content, state));
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
list: {
|
|
134
|
+
...simple_markdown_1.default.defaultRules.list,
|
|
135
|
+
react: (node, output, state) => {
|
|
136
|
+
const items = node.items.map((item, i) => {
|
|
137
|
+
let bullet;
|
|
105
138
|
if (node.ordered) {
|
|
106
|
-
bullet = (0, react_1.createElement)(react_native_1.Text, { key: state.key, style: styles.listItemNumber },
|
|
139
|
+
bullet = (0, react_1.createElement)(react_native_1.Text, { key: state.key, style: styles.listItemNumber }, `${i + 1} . `);
|
|
107
140
|
}
|
|
108
141
|
else {
|
|
109
142
|
bullet = (0, react_1.createElement)(react_native_1.Text, { key: state.key, style: styles.listItemBullet }, '\u2022 ');
|
|
110
143
|
}
|
|
111
|
-
|
|
144
|
+
const listItemText = (0, react_1.createElement)(react_native_1.Text, { key: state.key + 1, style: styles.listItemText }, output(item, state));
|
|
112
145
|
return (0, react_1.createElement)(react_native_1.View, {
|
|
113
146
|
key: i,
|
|
114
147
|
style: styles.listItem,
|
|
115
148
|
}, [bullet, listItemText]);
|
|
116
149
|
});
|
|
117
150
|
return (0, react_1.createElement)(react_native_1.View, { key: state.key, style: styles.list }, items);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
newline: {
|
|
154
|
+
...simple_markdown_1.default.defaultRules.newline,
|
|
155
|
+
react: (node, output, state) => (0, react_1.createElement)(react_native_1.Text, {
|
|
156
|
+
key: state.key,
|
|
157
|
+
style: styles.newline,
|
|
158
|
+
}, '\n'),
|
|
159
|
+
},
|
|
160
|
+
paragraph: {
|
|
161
|
+
...simple_markdown_1.default.defaultRules.paragraph,
|
|
162
|
+
react: (node, output, state) => (0, react_1.createElement)(react_native_1.View, {
|
|
163
|
+
key: state.key,
|
|
164
|
+
style: styles.paragraph,
|
|
165
|
+
}, output(node.content, state)),
|
|
166
|
+
},
|
|
167
|
+
strong: {
|
|
168
|
+
...simple_markdown_1.default.defaultRules.strong,
|
|
169
|
+
react: (node, output, state) => {
|
|
129
170
|
state.withinText = true;
|
|
130
171
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
131
172
|
key: state.key,
|
|
132
173
|
style: styles.strong,
|
|
133
174
|
}, output(node.content, state));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
});
|
|
149
|
-
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
table: {
|
|
178
|
+
...simple_markdown_1.default.defaultRules.table,
|
|
179
|
+
react: (node, output, state) => {
|
|
180
|
+
const headers = node.header.map((content, i) => (0, react_1.createElement)(react_native_1.Text, {
|
|
181
|
+
style: styles.tableHeaderCell,
|
|
182
|
+
key: i,
|
|
183
|
+
}, output(content, state)));
|
|
184
|
+
const header = (0, react_1.createElement)(react_native_1.View, { style: styles.tableHeader }, headers);
|
|
185
|
+
const rows = node.cells.map((row, r) => {
|
|
186
|
+
const cells = row.map((content, c) => (0, react_1.createElement)(react_native_1.View, {
|
|
187
|
+
key: c,
|
|
188
|
+
style: styles.tableRowCell,
|
|
189
|
+
}, output(content, state)));
|
|
190
|
+
const rowStyles = [styles.tableRow];
|
|
150
191
|
node.cells.length - 1 === r ? rowStyles.push(styles.tableRowLast) : null;
|
|
151
192
|
return (0, react_1.createElement)(react_native_1.View, { key: r, style: rowStyles }, cells);
|
|
152
193
|
});
|
|
153
194
|
return (0, react_1.createElement)(react_native_1.View, { key: state.key, style: styles.table }, [header, rows]);
|
|
154
|
-
}
|
|
155
|
-
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
text: {
|
|
198
|
+
...simple_markdown_1.default.defaultRules.text,
|
|
199
|
+
react: (node, output, parentState) => {
|
|
200
|
+
const state = { ...parentState };
|
|
156
201
|
// Breaking words up in order to allow for text reflowing in flexbox
|
|
157
202
|
// let words = node.content.split(' ');
|
|
158
203
|
// words = words.map((word: string, i: number) => {
|
|
159
204
|
// i !== words.length - 1 ? (word = `${word} `) : null;
|
|
160
|
-
|
|
205
|
+
const textStyles = [styles.text];
|
|
161
206
|
// !state.withinText ? textStyles.push(styles.plainText) : null;
|
|
162
207
|
// state.stylesToApply ? textStyles.push(state.stylesToApply) : null;
|
|
163
208
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
164
209
|
key: state.key,
|
|
165
210
|
style: textStyles,
|
|
166
211
|
}, node.content);
|
|
167
|
-
}
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
u: {
|
|
215
|
+
...simple_markdown_1.default.defaultRules.u,
|
|
216
|
+
react: (node, output, state) => {
|
|
168
217
|
state.withinText = true;
|
|
169
218
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
170
219
|
key: state.key,
|
|
171
220
|
style: styles.u,
|
|
172
221
|
}, output(node.content, state));
|
|
173
|
-
}
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
url: {
|
|
225
|
+
...simple_markdown_1.default.defaultRules.url,
|
|
226
|
+
react: (node, output, state) => {
|
|
174
227
|
state.withinText = true;
|
|
175
|
-
|
|
176
|
-
react_native_1.Linking.openURL(url).catch(
|
|
228
|
+
const openURL = (url) => {
|
|
229
|
+
react_native_1.Linking.openURL(url).catch((error) => console.warn('An error occurred: ', error));
|
|
177
230
|
};
|
|
178
231
|
return (0, react_1.createElement)(react_native_1.Text, {
|
|
179
232
|
key: state.key,
|
|
180
233
|
style: styles.url,
|
|
181
|
-
onPress:
|
|
234
|
+
onPress: () => openURL(node.target),
|
|
182
235
|
}, output(node.content, state));
|
|
183
|
-
}
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
});
|
|
@@ -4,11 +4,11 @@ exports.useThemedStyles = void 0;
|
|
|
4
4
|
/**
|
|
5
5
|
* mostly based on code from https://github.com/CharlesMangwa/react-native-simple-markdown
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
const react_native_theming_1 = require("@storybook/react-native-theming");
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
const useThemedStyles = () => {
|
|
10
|
+
const theme = (0, react_native_theming_1.useTheme)();
|
|
11
|
+
const styles = (0, react_1.useMemo)(() => ({
|
|
12
12
|
blockQuoteSection: {
|
|
13
13
|
flexDirection: 'row',
|
|
14
14
|
},
|
|
@@ -132,7 +132,7 @@ var useThemedStyles = function () {
|
|
|
132
132
|
width: 300,
|
|
133
133
|
height: 300,
|
|
134
134
|
},
|
|
135
|
-
})
|
|
135
|
+
}), [theme.backgroundColor, theme.text.primaryColor]);
|
|
136
136
|
return styles;
|
|
137
137
|
};
|
|
138
138
|
exports.useThemedStyles = useThemedStyles;
|
package/dist/components/Notes.js
CHANGED
|
@@ -4,34 +4,33 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Notes = exports.PARAM_KEY = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
const react_native_1 = require("react-native");
|
|
10
|
+
const Markdown_1 = __importDefault(require("./Markdown/Markdown"));
|
|
11
|
+
const addons_1 = require("@storybook/addons");
|
|
12
|
+
const core_events_1 = require("@storybook/core-events");
|
|
13
13
|
exports.PARAM_KEY = 'notes';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
(0, react_1.useEffect)(function () {
|
|
14
|
+
const Notes = ({ active, api }) => {
|
|
15
|
+
const [story, setStory] = (0, react_1.useState)();
|
|
16
|
+
(0, react_1.useEffect)(() => {
|
|
18
17
|
if (active) {
|
|
19
|
-
|
|
18
|
+
const selection = api.store().getSelection();
|
|
20
19
|
setStory(api.store().fromId(selection.storyId));
|
|
21
20
|
}
|
|
22
|
-
addons_1.addons.getChannel().on(core_events_1.SET_CURRENT_STORY,
|
|
23
|
-
|
|
21
|
+
addons_1.addons.getChannel().on(core_events_1.SET_CURRENT_STORY, () => {
|
|
22
|
+
const selection = api.store().getSelection();
|
|
24
23
|
setStory(api.store().fromId(selection.storyId));
|
|
25
24
|
});
|
|
26
25
|
}, [api, active]);
|
|
27
26
|
if (!active || !story) {
|
|
28
27
|
return null;
|
|
29
28
|
}
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
const text = story.parameters[exports.PARAM_KEY];
|
|
30
|
+
const textAfterFormatted = text ? text.trim() : '';
|
|
32
31
|
return ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.container, children: (0, jsx_runtime_1.jsx)(Markdown_1.default, { children: textAfterFormatted }) }));
|
|
33
32
|
};
|
|
34
33
|
exports.Notes = Notes;
|
|
35
|
-
|
|
34
|
+
const styles = react_native_1.StyleSheet.create({
|
|
36
35
|
container: { flex: 1 },
|
|
37
36
|
});
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
const client_logger_1 = require("@storybook/client-logger");
|
|
4
4
|
if (__DEV__) {
|
|
5
5
|
client_logger_1.logger.log("import '@storybook/addon-ondevice-notes/register' to register the notes addon");
|
|
6
6
|
}
|
package/dist/register.js
CHANGED
|
@@ -4,18 +4,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PARAM_KEY = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const addons_1 = __importDefault(require("@storybook/addons"));
|
|
9
|
+
const Notes_1 = require("./components/Notes");
|
|
10
10
|
exports.PARAM_KEY = 'notes';
|
|
11
|
-
addons_1.default.register('storybook/notes',
|
|
12
|
-
|
|
11
|
+
addons_1.default.register('storybook/notes', (api) => {
|
|
12
|
+
const channel = addons_1.default.getChannel();
|
|
13
13
|
addons_1.default.addPanel('storybook/notes/panel', {
|
|
14
14
|
title: 'Notes',
|
|
15
|
-
render:
|
|
16
|
-
var active = _a.active, key = _a.key;
|
|
17
|
-
return (0, jsx_runtime_1.jsx)(Notes_1.Notes, { channel: channel, api: api, active: active }, key);
|
|
18
|
-
},
|
|
15
|
+
render: ({ active, key }) => (0, jsx_runtime_1.jsx)(Notes_1.Notes, { channel: channel, api: api, active: active }, key),
|
|
19
16
|
paramKey: exports.PARAM_KEY,
|
|
20
17
|
});
|
|
21
18
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-ondevice-notes",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.6-alpha.1",
|
|
4
4
|
"description": "Write notes for your react-native Storybook stories.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"dev": "tsc --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@emotion/react": "^11.11.1",
|
|
33
32
|
"@storybook/addons": "^6.5.14",
|
|
34
33
|
"@storybook/api": "^6.5.14",
|
|
35
34
|
"@storybook/client-api": "^6.5.14",
|
|
36
35
|
"@storybook/client-logger": "^6.5.14",
|
|
37
36
|
"@storybook/core-events": "^6.5.14",
|
|
38
|
-
"@storybook/react-native-theming": "^6.5.
|
|
37
|
+
"@storybook/react-native-theming": "^6.5.6-alpha.1",
|
|
39
38
|
"core-js": "^3.0.1",
|
|
40
39
|
"prop-types": "^15.7.2",
|
|
41
40
|
"simple-markdown": "^0.7.3"
|
|
@@ -47,5 +46,5 @@
|
|
|
47
46
|
"publishConfig": {
|
|
48
47
|
"access": "public"
|
|
49
48
|
},
|
|
50
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b360ede72785b3e0ed38bff323df74496919ed67"
|
|
51
50
|
}
|