@capybara-hq/plugin-sdk 0.1.0-rc.46 → 0.1.0-rc.47
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.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/shell-capabilities.d.ts +4 -0
- package/dist/shell-capabilities.js +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -166,6 +166,10 @@ export declare const MOBILE_SHELL_LIMITS: {
|
|
|
166
166
|
readonly shareTitle: 256;
|
|
167
167
|
readonly shareText: 4000;
|
|
168
168
|
readonly url: 2048;
|
|
169
|
+
/** `nav@1`: a section or menu label is 1..32 characters. */
|
|
170
|
+
readonly navLabel: 32;
|
|
171
|
+
/** `nav@1`: a badge count is an integer 0..9999 (`countMore` says there are more). */
|
|
172
|
+
readonly navCount: 9999;
|
|
169
173
|
};
|
|
170
174
|
/** The menu item id pattern, checked on `menu@1.show` (the shell validates every input). */
|
|
171
175
|
export declare const MENU_ITEM_ID: RegExp;
|
|
@@ -26,6 +26,10 @@ export const MOBILE_SHELL_LIMITS = {
|
|
|
26
26
|
shareTitle: 256,
|
|
27
27
|
shareText: 4000,
|
|
28
28
|
url: 2048,
|
|
29
|
+
/** `nav@1`: a section or menu label is 1..32 characters. */
|
|
30
|
+
navLabel: 32,
|
|
31
|
+
/** `nav@1`: a badge count is an integer 0..9999 (`countMore` says there are more). */
|
|
32
|
+
navCount: 9999,
|
|
29
33
|
};
|
|
30
34
|
/** The menu item id pattern, checked on `menu@1.show` (the shell validates every input). */
|
|
31
35
|
export const MENU_ITEM_ID = /^[A-Za-z0-9_.-]{1,64}$/;
|