@withmarfa/inkkit 0.0.0-stage → 0.8.0-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.
- package/LICENSE +21 -0
- package/NOTICE +41 -0
- package/README.md +47 -2
- package/dist/THIRD-PARTY-NOTICES-FULL.txt +3377 -0
- package/dist/THIRD-PARTY-NOTICES.txt +3377 -0
- package/dist/chunks/core-DZmgpf9J.js +38254 -0
- package/dist/chunks/front-matter-yaml-Bh_a5HA2.js +5834 -0
- package/dist/chunks/highlight-C_1DEhlN.js +14069 -0
- package/dist/chunks/lib-CO2Iv0U3.js +28347 -0
- package/dist/core.d.ts +7 -0
- package/dist/core.js +2 -0
- package/dist/diagnostics.d.ts +109 -0
- package/dist/editor.d.ts +592 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +32793 -0
- package/dist/link-address.d.ts +11 -0
- package/dist/style.css +2193 -0
- package/dist/themes/calm.css +36 -0
- package/dist/themes/essential.css +36 -0
- package/dist/themes/standard.css +39 -0
- package/dist/types.d.ts +577 -0
- package/package.json +96 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The address a Link field should write for what the person typed, or `undefined` when it is not
|
|
3
|
+
* a web, mail or phone address. See the reference, which describes each rule.
|
|
4
|
+
*/
|
|
5
|
+
export declare function normalizeLinkAddress(input: string): string | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Whether a host may open `address` for the person. Only `http`, `https`, `mailto` and `tel`
|
|
8
|
+
* qualify, whatever the letter case. An address with no scheme, an unknown scheme such as
|
|
9
|
+
* `javascript:` or `file:`, or a control character does not.
|
|
10
|
+
*/
|
|
11
|
+
export declare function canOpenLink(address: string): boolean;
|