@storybook/addon-ondevice-notes 10.4.5 → 10.4.6
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/dist/index.js +0 -1
- package/dist/register.js +9 -12
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
require("./register.js");
|
|
2
1
|
let storybook_internal_client_logger = require("storybook/internal/client-logger");
|
|
3
2
|
//#region src/index.ts
|
|
4
3
|
if (__DEV__) storybook_internal_client_logger.logger.log("import '@storybook/addon-ondevice-notes/register' to register the notes addon");
|
package/dist/register.js
CHANGED
|
@@ -2613,7 +2613,7 @@ var import_css_to_react_native = /* @__PURE__ */ __toESM((/* @__PURE__ */ __comm
|
|
|
2613
2613
|
];
|
|
2614
2614
|
var devPropertiesWithUnitsRegExp = propertiesWithoutUnits != null ? new RegExp(propertiesWithoutUnits.join("|")) : null;
|
|
2615
2615
|
var SYMBOL_MATCH = "SYMBOL_MATCH";
|
|
2616
|
-
var TokenStream =
|
|
2616
|
+
var TokenStream = /*#__PURE__*/ function() {
|
|
2617
2617
|
function TokenStream(nodes, parent) {
|
|
2618
2618
|
this.index = 0;
|
|
2619
2619
|
this.nodes = nodes;
|
|
@@ -3192,7 +3192,7 @@ var decode_data_xml_default = new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t
|
|
|
3192
3192
|
//#endregion
|
|
3193
3193
|
//#region ../../node_modules/entities/lib/esm/decode_codepoint.js
|
|
3194
3194
|
var _a;
|
|
3195
|
-
const decodeMap = new Map([
|
|
3195
|
+
const decodeMap = /* @__PURE__ */ new Map([
|
|
3196
3196
|
[0, 65533],
|
|
3197
3197
|
[128, 8364],
|
|
3198
3198
|
[130, 8218],
|
|
@@ -5683,9 +5683,8 @@ var html_blocks_default = [
|
|
|
5683
5683
|
];
|
|
5684
5684
|
//#endregion
|
|
5685
5685
|
//#region ../../node_modules/markdown-it/lib/common/html_re.mjs
|
|
5686
|
-
const
|
|
5687
|
-
const
|
|
5688
|
-
const HTML_OPEN_CLOSE_TAG_RE = new RegExp("^(?:" + open_tag + "|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>)");
|
|
5686
|
+
const HTML_TAG_RE = /* @__PURE__ */ new RegExp("^(?:<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)");
|
|
5687
|
+
const HTML_OPEN_CLOSE_TAG_RE = /* @__PURE__ */ new RegExp("^(?:<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>)");
|
|
5689
5688
|
//#endregion
|
|
5690
5689
|
//#region ../../node_modules/markdown-it/lib/rules_block/html_block.mjs
|
|
5691
5690
|
const HTML_SEQUENCES = [
|
|
@@ -6863,12 +6862,11 @@ function re_default(opts) {
|
|
|
6863
6862
|
re.src_Cc
|
|
6864
6863
|
].join("|");
|
|
6865
6864
|
re.src_ZCc = [re.src_Z, re.src_Cc].join("|");
|
|
6866
|
-
|
|
6867
|
-
re.src_pseudo_letter = "(?:(?!" + text_separators + "|" + re.src_ZPCc + ")" + re.src_Any + ")";
|
|
6865
|
+
re.src_pseudo_letter = "(?:(?![><|]|" + re.src_ZPCc + ")" + re.src_Any + ")";
|
|
6868
6866
|
re.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";
|
|
6869
6867
|
re.src_auth = "(?:(?:(?!" + re.src_ZCc + "|[@/\\[\\]()]).)+@)?";
|
|
6870
6868
|
re.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?";
|
|
6871
|
-
re.src_host_terminator = "(?=$|
|
|
6869
|
+
re.src_host_terminator = "(?=$|[><|]|" + re.src_ZPCc + ")(?!" + (opts["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + re.src_ZPCc + "))";
|
|
6872
6870
|
re.src_path = "(?:[/?#](?:(?!" + re.src_ZCc + "|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!" + re.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + re.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + re.src_ZCc + "|[}]).)*\\}|\\\"(?:(?!" + re.src_ZCc + "|[\"]).)+\\\"|\\'(?:(?!" + re.src_ZCc + "|[']).)+\\'|\\'(?=" + re.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + re.src_ZCc + "|[.]|$)|" + (opts["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + ",(?!" + re.src_ZCc + "|$)|;(?!" + re.src_ZCc + "|$)|\\!+(?!" + re.src_ZCc + "|[!]|$)|\\?(?!" + re.src_ZCc + "|[?]|$))+|\\/)?";
|
|
6873
6871
|
re.src_email_name = "[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\\"\\.a-zA-Z0-9_]*";
|
|
6874
6872
|
re.src_xn = "xn--[a-z0-9\\-]{1,59}";
|
|
@@ -6883,7 +6881,7 @@ function re_default(opts) {
|
|
|
6883
6881
|
re.tpl_host_port_fuzzy_strict = re.tpl_host_fuzzy + re.src_port + re.src_host_terminator;
|
|
6884
6882
|
re.tpl_host_port_no_ip_fuzzy_strict = re.tpl_host_no_ip_fuzzy + re.src_port + re.src_host_terminator;
|
|
6885
6883
|
re.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + re.src_ZPCc + "|>|$))";
|
|
6886
|
-
re.tpl_email_fuzzy = "(^|
|
|
6884
|
+
re.tpl_email_fuzzy = "(^|[><|]|\"|\\(|" + re.src_ZCc + ")(" + re.src_email_name + "@" + re.tpl_host_fuzzy_strict + ")";
|
|
6887
6885
|
re.tpl_link_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + re.src_ZPCc + "))((?![$+<=>^`||])" + re.tpl_host_port_fuzzy_strict + re.src_path + ")";
|
|
6888
6886
|
re.tpl_link_no_ip_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + re.src_ZPCc + "))((?![$+<=>^`||])" + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ")";
|
|
6889
6887
|
return re;
|
|
@@ -7482,8 +7480,8 @@ var import_punycode = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e
|
|
|
7482
7480
|
let k = 0;
|
|
7483
7481
|
delta = firstTime ? floor(delta / damp) : delta >> 1;
|
|
7484
7482
|
delta += floor(delta / numPoints);
|
|
7485
|
-
for (; delta >
|
|
7486
|
-
return floor(k +
|
|
7483
|
+
for (; delta > 455; k += base) delta = floor(delta / baseMinusTMin);
|
|
7484
|
+
return floor(k + 36 * delta / (delta + skew));
|
|
7487
7485
|
};
|
|
7488
7486
|
/**
|
|
7489
7487
|
* Converts a Punycode string of ASCII-only symbols to a string of Unicode
|
|
@@ -8514,4 +8512,3 @@ storybook_manager_api.addons.register("storybook/notes", (api) => {
|
|
|
8514
8512
|
});
|
|
8515
8513
|
//#endregion
|
|
8516
8514
|
exports.PARAM_KEY = PARAM_KEY;
|
|
8517
|
-
exports.__toESM = __toESM;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-ondevice-notes",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.6",
|
|
4
4
|
"description": "Write notes for your react-native Storybook stories.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"*.d.ts"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@storybook/react-native-theming": "^10.4.
|
|
27
|
+
"@storybook/react-native-theming": "^10.4.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react-native-markdown-display": "^7.0.2",
|
|
31
|
-
"storybook": "^10.4.
|
|
32
|
-
"tsdown": "^0.22.
|
|
31
|
+
"storybook": "^10.4.6",
|
|
32
|
+
"tsdown": "^0.22.3",
|
|
33
33
|
"typescript": "~6.0.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|