@wordpress/shortcode 4.37.1-next.79a2f3cdd.0 → 4.37.1-next.v.0

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.
@@ -1,24 +1,29 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { ShortcodeAttrs, ShortcodeMatch, ShortcodeOptions, Match, ReplaceCallback, ShortcodeInstance } from './types';
5
+ export * from './types';
1
6
  /**
2
7
  * Find the next matching shortcode.
3
8
  *
4
- * @param {string} tag Shortcode tag.
5
- * @param {string} text Text to search.
6
- * @param {number} index Index to start search from.
9
+ * @param tag Shortcode tag.
10
+ * @param text Text to search.
11
+ * @param index Index to start search from.
7
12
  *
8
- * @return {import('./types').ShortcodeMatch | undefined} Matched information.
13
+ * @return Matched information.
9
14
  */
10
- export function next(tag: string, text: string, index?: number): import("./types").ShortcodeMatch | undefined;
15
+ export declare function next(tag: string, text: string, index?: number): ShortcodeMatch | undefined;
11
16
  /**
12
17
  * Replace matching shortcodes in a block of text.
13
18
  *
14
- * @param {string} tag Shortcode tag.
15
- * @param {string} text Text to search.
16
- * @param {import('./types').ReplaceCallback} callback Function to process the match and return
17
- * replacement string.
19
+ * @param tag Shortcode tag.
20
+ * @param text Text to search.
21
+ * @param callback Function to process the match and return
22
+ * replacement string.
18
23
  *
19
- * @return {string} Text with shortcodes replaced.
24
+ * @return Text with shortcodes replaced.
20
25
  */
21
- export function replace(tag: string, text: string, callback: import("./types").ReplaceCallback): string;
26
+ export declare function replace(tag: string, text: string, callback: ReplaceCallback): string;
22
27
  /**
23
28
  * Generate a string from shortcode parameters.
24
29
  *
@@ -28,11 +33,11 @@ export function replace(tag: string, text: string, callback: import("./types").R
28
33
  * `tag` string, a string or object of `attrs`, a boolean indicating whether to
29
34
  * format the shortcode using a `single` tag, and a `content` string.
30
35
  *
31
- * @param {Object} options
36
+ * @param options Shortcode options.
32
37
  *
33
- * @return {string} String representation of the shortcode.
38
+ * @return String representation of the shortcode.
34
39
  */
35
- export function string(options: Object): string;
40
+ export declare function string(options: ShortcodeOptions): string;
36
41
  /**
37
42
  * Generate a RegExp to identify a shortcode.
38
43
  *
@@ -49,24 +54,11 @@ export function string(options: Object): string;
49
54
  * 6. The closing tag.
50
55
  * 7. An extra `]` to allow for escaping shortcodes with double `[[]]`
51
56
  *
52
- * @param {string} tag Shortcode tag.
53
- *
54
- * @return {RegExp} Shortcode RegExp.
55
- */
56
- export function regexp(tag: string): RegExp;
57
- /**
58
- * Generate a Shortcode Object from a RegExp match.
59
- *
60
- * Accepts a `match` object from calling `regexp.exec()` on a `RegExp` generated
61
- * by `regexp()`. `match` can also be set to the `arguments` from a callback
62
- * passed to `regexp.replace()`.
63
- *
64
- * @param {import('./types').Match} match Match array.
57
+ * @param tag Shortcode tag.
65
58
  *
66
- * @return {InstanceType<import('./types').shortcode>} Shortcode instance.
59
+ * @return Shortcode RegExp.
67
60
  */
68
- export function fromMatch(match: import("./types").Match): InstanceType<import("./types").shortcode>;
69
- export * from "./types";
61
+ export declare function regexp(tag: string): RegExp;
70
62
  /**
71
63
  * Parse shortcode attributes.
72
64
  *
@@ -82,13 +74,21 @@ export * from "./types";
82
74
  *
83
75
  * @param {string} text Serialised shortcode attributes.
84
76
  *
85
- * @return {import('./types').ShortcodeAttrs} Parsed shortcode attributes.
77
+ * @return {ShortcodeAttrs} Parsed shortcode attributes.
86
78
  */
87
- export const attrs: ((text: any) => {
88
- named: {};
89
- numeric: string[];
90
- }) & import("memize").MemizeMemoizedFunction;
91
- export default shortcode;
79
+ export declare const attrs: ((text: string) => ShortcodeAttrs) & import("memize").MemizeMemoizedFunction;
80
+ /**
81
+ * Generate a Shortcode Object from a RegExp match.
82
+ *
83
+ * Accepts a `match` object from calling `regexp.exec()` on a `RegExp` generated
84
+ * by `regexp()`. `match` can also be set to the `arguments` from a callback
85
+ * passed to `regexp.replace()`.
86
+ *
87
+ * @param match Match array.
88
+ *
89
+ * @return Shortcode instance.
90
+ */
91
+ export declare function fromMatch(match: Match): ShortcodeInstance;
92
92
  /**
93
93
  * Creates a shortcode instance.
94
94
  *
@@ -96,8 +96,48 @@ export default shortcode;
96
96
  * containing a `tag` string, a string or object of `attrs`, a string indicating
97
97
  * the `type` of the shortcode ('single', 'self-closing', or 'closed'), and a
98
98
  * `content` string.
99
- *
100
- * @type {import('./types').shortcode} Shortcode instance.
101
99
  */
102
- declare const shortcode: import("./types").shortcode;
100
+ declare class Shortcode implements ShortcodeInstance {
101
+ tag: string;
102
+ type?: 'self-closing' | 'closed' | 'single';
103
+ content?: string;
104
+ attrs: ShortcodeAttrs;
105
+ static next: typeof next;
106
+ static replace: typeof replace;
107
+ static string: typeof string;
108
+ static regexp: typeof regexp;
109
+ static attrs: ((text: string) => ShortcodeAttrs) & import("memize").MemizeMemoizedFunction;
110
+ static fromMatch: typeof fromMatch;
111
+ constructor(options: ShortcodeOptions);
112
+ /**
113
+ * Get a shortcode attribute.
114
+ *
115
+ * Automatically detects whether `attr` is named or numeric and routes it
116
+ * accordingly.
117
+ *
118
+ * @param attr Attribute key.
119
+ *
120
+ * @return Attribute value.
121
+ */
122
+ get(attr: string | number): string | undefined;
123
+ /**
124
+ * Set a shortcode attribute.
125
+ *
126
+ * Automatically detects whether `attr` is named or numeric and routes it
127
+ * accordingly.
128
+ *
129
+ * @param attr Attribute key.
130
+ * @param value Attribute value.
131
+ *
132
+ * @return Shortcode instance.
133
+ */
134
+ set(attr: string | number, value: string): this;
135
+ /**
136
+ * Transform the shortcode into a string.
137
+ *
138
+ * @return String representation of the shortcode.
139
+ */
140
+ string(): string;
141
+ }
142
+ export default Shortcode;
103
143
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAOA;;;;;;;;GAQG;AACH,0BANW,MAAM,QACN,MAAM,UACN,MAAM,GAEL,OAAO,SAAS,EAAE,cAAc,GAAG,SAAS,CAqCvD;AAED;;;;;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AAE,KAAK,EAAE,KAAK,GAAI,iBAAiB,CAiB3D;AAED;;;;;;;GAOG;AACH,cAAM,SAAU,YAAW,iBAAiB;IAE3C,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,cAAc,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,cAAc,CAAC;IAGtB,MAAM,CAAC,IAAI,cAAQ;IACnB,MAAM,CAAC,OAAO,iBAAW;IACzB,MAAM,CAAC,MAAM,gBAAU;IACvB,MAAM,CAAC,MAAM,gBAAU;IACvB,MAAM,CAAC,KAAK,+EAAS;IACrB,MAAM,CAAC,SAAS,mBAAa;gBAEhB,OAAO,EAAE,gBAAgB;IAwCtC;;;;;;;;;OASG;IACH,GAAG,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAI,MAAM,GAAG,SAAS;IAOhD;;;;;;;;;;OAUG;IACH,GAAG,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAI,IAAI;IASjD;;;;OAIG;IACH,MAAM,IAAI,MAAM;CAiChB;AAED,eAAe,SAAS,CAAC"}
@@ -11,6 +11,30 @@ export type ShortcodeAttrs = {
11
11
  */
12
12
  numeric: string[];
13
13
  };
14
+ /**
15
+ * Shortcode object.
16
+ */
17
+ export interface Shortcode {
18
+ /**
19
+ * Shortcode tag.
20
+ */
21
+ tag: string;
22
+ /**
23
+ * Shortcode attributes.
24
+ */
25
+ attrs: ShortcodeAttrs;
26
+ /**
27
+ * Shortcode content.
28
+ */
29
+ content?: string;
30
+ /**
31
+ * Shortcode type: `self-closing`, `closed`, or `single`.
32
+ */
33
+ type?: 'self-closing' | 'closed' | 'single';
34
+ }
35
+ /**
36
+ * Shortcode match result.
37
+ */
14
38
  export type ShortcodeMatch = {
15
39
  /**
16
40
  * Index the shortcode is found at.
@@ -26,7 +50,7 @@ export type ShortcodeMatch = {
26
50
  shortcode: Shortcode;
27
51
  };
28
52
  /**
29
- * Shortcode options.
53
+ * Shortcode options for creating a new shortcode.
30
54
  */
31
55
  export interface ShortcodeOptions {
32
56
  /**
@@ -47,136 +71,45 @@ export interface ShortcodeOptions {
47
71
  type?: 'self-closing' | 'closed' | 'single';
48
72
  }
49
73
  /**
50
- * Shortcode object.
74
+ * Match array from regexp.exec() or arguments from replace callback.
75
+ */
76
+ export type Match = NonNullable<ReturnType<RegExp['exec']>> | IArguments | ArrayLike<string>;
77
+ /**
78
+ * Callback function for replace operations.
51
79
  */
52
- export interface Shortcode extends ShortcodeOptions {
53
- /**
54
- * Shortcode attributes.
55
- */
56
- attrs: ShortcodeAttrs;
57
- }
58
- export type Match = NonNullable<ReturnType<RegExp['exec']>> | Array<string>;
59
80
  export type ReplaceCallback = (shortcode: Shortcode) => string;
60
81
  /**
61
- * WordPress Shortcode instance.
82
+ * Shortcode instance returned by the constructor.
62
83
  */
63
- export interface shortcode {
64
- new (options: Partial<ShortcodeOptions>): Shortcode & {
65
- /**
66
- * Transform the shortcode into a string.
67
- *
68
- * @return {string} String representation of the shortcode.
69
- */
70
- string: () => string;
71
- /**
72
- * Get a shortcode attribute.
73
- *
74
- * Automatically detects whether `attr` is named or numeric and routes it
75
- * accordingly.
76
- *
77
- * @param {(number|string)} attr Attribute key.
78
- *
79
- * @return {string} Attribute value.
80
- */
81
- get: (attr: string | number) => string | undefined;
82
- /**
83
- * Set a shortcode attribute.
84
- *
85
- * Automatically detects whether `attr` is named or numeric and routes it
86
- * accordingly.
87
- *
88
- * @param {(number|string)} attr Attribute key.
89
- * @param {string} value Attribute value.
90
- *
91
- * @return {InstanceType< shortcode >} Shortcode instance.
92
- */
93
- set: (attr: string | number, value: string) => InstanceType<shortcode>;
94
- };
95
- /**
96
- * Parse shortcode attributes.
97
- *
98
- * Shortcodes accept many types of attributes. These can chiefly be divided into
99
- * named and numeric attributes:
100
- *
101
- * Named attributes are assigned on a key/value basis, while numeric attributes
102
- * are treated as an array.
103
- *
104
- * Named attributes can be formatted as either `name="value"`, `name='value'`,
105
- * or `name=value`. Numeric attributes can be formatted as `"value"` or just
106
- * `value`.
107
- *
108
- * @param text Serialised shortcode attributes.
109
- *
110
- * @return Parsed shortcode attributes.
111
- */
112
- attrs: (text: string) => ShortcodeAttrs;
113
- /**
114
- * Generate a Shortcode Object from a RegExp match.
115
- *
116
- * Accepts a `match` object from calling `regexp.exec()` on a `RegExp` generated
117
- * by `regexp()`. `match` can also be set to the `arguments` from a callback
118
- * passed to `regexp.replace()`.
119
- *
120
- * @param match Match array.
121
- *
122
- * @return Shortcode instance.
123
- */
124
- fromMatch: (match: Match) => InstanceType<shortcode>;
84
+ export interface ShortcodeInstance extends Shortcode {
125
85
  /**
126
- * Find the next matching shortcode.
127
- *
128
- * @param tag Shortcode tag.
129
- * @param text Text to search.
130
- * @param index Index to start search from.
86
+ * Transform the shortcode into a string.
131
87
  *
132
- * @return Matched information.
88
+ * @return String representation of the shortcode.
133
89
  */
134
- next: (tag: string, text: string, index?: number) => ShortcodeMatch | undefined;
90
+ string: () => string;
135
91
  /**
136
- * Generate a RegExp to identify a shortcode.
137
- *
138
- * The base regex is functionally equivalent to the one found in
139
- * `get_shortcode_regex()` in `wp-includes/shortcodes.php`.
92
+ * Get a shortcode attribute.
140
93
  *
141
- * Capture groups:
94
+ * Automatically detects whether `attr` is named or numeric and routes it
95
+ * accordingly.
142
96
  *
143
- * 1. An extra `[` to allow for escaping shortcodes with double `[[]]`
144
- * 2. The shortcode name
145
- * 3. The shortcode argument list
146
- * 4. The self closing `/`
147
- * 5. The content of a shortcode when it wraps some content.
148
- * 6. The closing tag.
149
- * 7. An extra `]` to allow for escaping shortcodes with double `[[]]`
97
+ * @param attr Attribute key.
150
98
  *
151
- * @param tag Shortcode tag.
152
- *
153
- * @return Shortcode RegExp.
154
- */
155
- regexp: (tag: string) => RegExp;
156
- /**
157
- * Replace matching shortcodes in a block of text.
158
- *
159
- * @param tag Shortcode tag.
160
- * @param text Text to search.
161
- * @param callback Function to process the match and return
162
- * replacement string.
163
- *
164
- * @return Text with shortcodes replaced.
99
+ * @return Attribute value.
165
100
  */
166
- replace: (tag: string, text: string, callback: ReplaceCallback) => string;
101
+ get: (attr: string | number) => string | undefined;
167
102
  /**
168
- * Generate a string from shortcode parameters.
169
- *
170
- * Creates a shortcode instance and returns a string.
103
+ * Set a shortcode attribute.
171
104
  *
172
- * Accepts the same `options` as the `shortcode()` constructor, containing a
173
- * `tag` string, a string or object of `attrs`, a boolean indicating whether to
174
- * format the shortcode using a `single` tag, and a `content` string.
105
+ * Automatically detects whether `attr` is named or numeric and routes it
106
+ * accordingly.
175
107
  *
176
- * @param options
108
+ * @param attr Attribute key.
109
+ * @param value Attribute value.
177
110
  *
178
- * @return String representation of the shortcode.
111
+ * @return Shortcode instance.
179
112
  */
180
- string: (options: ShortcodeOptions) => string;
113
+ set: (attr: string | number, value: string) => ShortcodeInstance;
181
114
  }
182
115
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAE,MAAM,EAAE,MAAM,GAAG,SAAS,CAAE,CAAC;IAE5C;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAE,cAAc,CAAE,GAAG,MAAM,CAAC;IAE3C;;OAEG;IACH,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G;AACH,MAAM,MAAM,KAAK,GACd,WAAW,CAAE,UAAU,CAAE,MAAM,CAAE,MAAM,CAAE,CAAE,CAAE,GAC7C,UAAU,GACV,SAAS,CAAE,MAAM,CAAE,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAE,SAAS,EAAE,SAAS,KAAM,MAAM,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IACnD;;;;OAIG;IACH,MAAM,EAAE,MAAM,MAAM,CAAC;IAErB;;;;;;;;;OASG;IACH,GAAG,EAAE,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,KAAM,MAAM,GAAG,SAAS,CAAC;IAErD;;;;;;;;;;OAUG;IACH,GAAG,EAAE,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,KAAM,iBAAiB,CAAC;CACnE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/shortcode",
3
- "version": "4.37.1-next.79a2f3cdd.0",
3
+ "version": "4.37.1-next.v.0+500f87dd8",
4
4
  "description": "Shortcode module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "6a324496a37d9a333a11d4d7fe5fb93b8152a5ba"
52
+ "gitHead": "ca0db0ee8ac2116cd307650136027d26d0cdd9bd"
53
53
  }