@wordpress/annotations 3.40.1-next.v.202602271551.0 → 3.40.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/build-types/block/index.d.ts +2 -0
- package/build-types/block/index.d.ts.map +1 -0
- package/build-types/format/annotation.d.ts +19 -0
- package/build-types/format/annotation.d.ts.map +1 -0
- package/build-types/format/index.d.ts +2 -0
- package/build-types/format/index.d.ts.map +1 -0
- package/build-types/index.d.ts +7 -0
- package/build-types/index.d.ts.map +1 -0
- package/build-types/store/actions.d.ts +48 -0
- package/build-types/store/actions.d.ts.map +1 -0
- package/build-types/store/constants.d.ts +5 -0
- package/build-types/store/constants.d.ts.map +1 -0
- package/build-types/store/index.d.ts +9 -0
- package/build-types/store/index.d.ts.map +1 -0
- package/build-types/store/reducer.d.ts +14 -0
- package/build-types/store/reducer.d.ts.map +1 -0
- package/build-types/store/selectors.d.ts +34 -0
- package/build-types/store/selectors.d.ts.map +1 -0
- package/build-types/types.d.ts +113 -0
- package/build-types/types.d.ts.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/block/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RichTextValue } from '@wordpress/rich-text';
|
|
2
|
+
import type { Annotation, AnnotationFormat } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Applies given annotations to the given record.
|
|
5
|
+
*
|
|
6
|
+
* @param record The record to apply annotations to.
|
|
7
|
+
* @param annotations The annotation to apply.
|
|
8
|
+
* @return A record with the annotations applied.
|
|
9
|
+
*/
|
|
10
|
+
export declare function applyAnnotations(record: RichTextValue, annotations?: Annotation[]): RichTextValue;
|
|
11
|
+
/**
|
|
12
|
+
* Removes annotations from the given record.
|
|
13
|
+
*
|
|
14
|
+
* @param record Record to remove annotations from.
|
|
15
|
+
* @return The cleaned record.
|
|
16
|
+
*/
|
|
17
|
+
export declare function removeAnnotations(record: RichTextValue): RichTextValue;
|
|
18
|
+
export declare const annotation: AnnotationFormat;
|
|
19
|
+
//# sourceMappingURL=annotation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotation.d.ts","sourceRoot":"","sources":["../../src/format/annotation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAM1D,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAM7D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,MAAM,EAAE,aAAa,EACrB,WAAW,GAAE,UAAU,EAAO,GAC5B,aAAa,CAkCf;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAE,MAAM,EAAE,aAAa,GAAI,aAAa,CAExE;AAwFD,eAAO,MAAM,UAAU,EAAE,gBAgExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/format/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,UAAU,CAAC;AAClB,OAAO,SAAS,CAAC;AAEjB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { AddAnnotationParameters, AnnotationAction } from '../types';
|
|
5
|
+
/**
|
|
6
|
+
* Adds an annotation to a block.
|
|
7
|
+
*
|
|
8
|
+
* The `block` attribute refers to a block ID that needs to be annotated.
|
|
9
|
+
* `isBlockAnnotation` controls whether or not the annotation is a block
|
|
10
|
+
* annotation. The `source` is the source of the annotation, this will be used
|
|
11
|
+
* to identify groups of annotations.
|
|
12
|
+
*
|
|
13
|
+
* The `range` property is only relevant if the selector is 'range'.
|
|
14
|
+
*
|
|
15
|
+
* @param annotation The annotation to add.
|
|
16
|
+
* @param annotation.blockClientId The blockClientId to add the annotation to.
|
|
17
|
+
* @param annotation.richTextIdentifier Identifier for the RichText instance the annotation applies to.
|
|
18
|
+
* @param annotation.range The range at which to apply this annotation.
|
|
19
|
+
* @param annotation.selector The way to apply this annotation.
|
|
20
|
+
* @param annotation.source The source that added the annotation.
|
|
21
|
+
* @param annotation.id The ID the annotation should have. Generates a UUID by default.
|
|
22
|
+
* @return Action object.
|
|
23
|
+
*/
|
|
24
|
+
export declare function __experimentalAddAnnotation({ blockClientId, richTextIdentifier, range, selector, source, id }: AddAnnotationParameters): AnnotationAction;
|
|
25
|
+
/**
|
|
26
|
+
* Removes an annotation with a specific ID.
|
|
27
|
+
*
|
|
28
|
+
* @param annotationId The annotation to remove.
|
|
29
|
+
* @return Action object.
|
|
30
|
+
*/
|
|
31
|
+
export declare function __experimentalRemoveAnnotation(annotationId: string): AnnotationAction;
|
|
32
|
+
/**
|
|
33
|
+
* Updates the range of an annotation.
|
|
34
|
+
*
|
|
35
|
+
* @param annotationId ID of the annotation to update.
|
|
36
|
+
* @param start The start of the new range.
|
|
37
|
+
* @param end The end of the new range.
|
|
38
|
+
* @return Action object.
|
|
39
|
+
*/
|
|
40
|
+
export declare function __experimentalUpdateAnnotationRange(annotationId: string, start: number, end: number): AnnotationAction;
|
|
41
|
+
/**
|
|
42
|
+
* Removes all annotations of a specific source.
|
|
43
|
+
*
|
|
44
|
+
* @param source The source to remove.
|
|
45
|
+
* @return Action object.
|
|
46
|
+
*/
|
|
47
|
+
export declare function __experimentalRemoveAnnotationsBySource(source: string): AnnotationAction;
|
|
48
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE1E;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,2BAA2B,CAAE,EAC5C,aAAa,EACb,kBAAyB,EACzB,KAAY,EACZ,QAAkB,EAClB,MAAkB,EAClB,EAAW,EACX,EAAE,uBAAuB,GAAI,gBAAgB,CAiB7C;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC7C,YAAY,EAAE,MAAM,GAClB,gBAAgB,CAKlB;AAED;;;;;;;GAOG;AACH,wBAAgB,mCAAmC,CAClD,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,GACT,gBAAgB,CAOlB;AAED;;;;;GAKG;AACH,wBAAgB,uCAAuC,CACtD,MAAM,EAAE,MAAM,GACZ,gBAAgB,CAKlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/store/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,UAAU,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as selectors from './selectors';
|
|
2
|
+
import * as actions from './actions';
|
|
3
|
+
/**
|
|
4
|
+
* Store definition for the annotations namespace.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
|
7
|
+
*/
|
|
8
|
+
export declare const store: import("@wordpress/data").StoreDescriptor<import("@wordpress/data").ReduxStoreConfig<unknown, typeof actions, typeof selectors>>;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAOrC;;;;GAIG;AACH,eAAO,MAAM,KAAK,kIAIf,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { AnnotationAction, AnnotationsState } from '../types';
|
|
5
|
+
/**
|
|
6
|
+
* Reducer managing annotations.
|
|
7
|
+
*
|
|
8
|
+
* @param state The annotations currently shown in the editor.
|
|
9
|
+
* @param action Dispatched action.
|
|
10
|
+
* @return Updated state.
|
|
11
|
+
*/
|
|
12
|
+
export declare function annotations(state: AnnotationsState | undefined, action: AnnotationAction): AnnotationsState;
|
|
13
|
+
export default annotations;
|
|
14
|
+
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,gBAAgB,EAChB,gBAAgB,EAGhB,MAAM,UAAU,CAAC;AA8DlB;;;;;;GAMG;AACH,wBAAgB,WAAW,CAC1B,KAAK,EAAE,gBAAgB,YAAK,EAC5B,MAAM,EAAE,gBAAgB,GACtB,gBAAgB,CA4ElB;eAEc,WAAW"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { AnnotationsState, Annotation } from '../types';
|
|
5
|
+
/**
|
|
6
|
+
* Returns the annotations for a specific client ID.
|
|
7
|
+
*
|
|
8
|
+
* @param state Editor state.
|
|
9
|
+
* @param blockClientId The ID of the block to get the annotations for.
|
|
10
|
+
* @return The annotations applicable to this block.
|
|
11
|
+
*/
|
|
12
|
+
export declare const __experimentalGetAnnotationsForBlock: ((state: AnnotationsState, blockClientId: string) => Annotation[]) & import("rememo").EnhancedSelector;
|
|
13
|
+
export declare function __experimentalGetAllAnnotationsForBlock(state: AnnotationsState, blockClientId: string): Annotation[];
|
|
14
|
+
/**
|
|
15
|
+
* Returns the annotations that apply to the given RichText instance.
|
|
16
|
+
*
|
|
17
|
+
* Both a blockClientId and a richTextIdentifier are required. This is because
|
|
18
|
+
* a block might have multiple `RichText` components. This does mean that every
|
|
19
|
+
* block needs to implement annotations itself.
|
|
20
|
+
*
|
|
21
|
+
* @param state Editor state.
|
|
22
|
+
* @param blockClientId The client ID for the block.
|
|
23
|
+
* @param richTextIdentifier Unique identifier that identifies the given RichText.
|
|
24
|
+
* @return All the annotations relevant for the `RichText`.
|
|
25
|
+
*/
|
|
26
|
+
export declare const __experimentalGetAnnotationsForRichText: ((state: AnnotationsState, blockClientId: string, richTextIdentifier: string) => Annotation[]) & import("rememo").EnhancedSelector;
|
|
27
|
+
/**
|
|
28
|
+
* Returns all annotations in the editor state.
|
|
29
|
+
*
|
|
30
|
+
* @param state Editor state.
|
|
31
|
+
* @return All annotations currently applied.
|
|
32
|
+
*/
|
|
33
|
+
export declare function __experimentalGetAnnotations(state: AnnotationsState): Annotation[];
|
|
34
|
+
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAW7D;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,WACvC,gBAAgB,iBAAiB,MAAM,KAAI,UAAU,EAAE,qCAQhE,CAAC;AAEF,wBAAgB,uCAAuC,CACtD,KAAK,EAAE,gBAAgB,EACvB,aAAa,EAAE,MAAM,GACnB,UAAU,EAAE,CAEd;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uCAAuC,WAE3C,gBAAgB,iBACR,MAAM,sBACD,MAAM,KACxB,UAAU,EAAE,qCAoBf,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC3C,KAAK,EAAE,gBAAgB,GACrB,UAAU,EAAE,CAId"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a range in text content.
|
|
3
|
+
*/
|
|
4
|
+
export interface AnnotationRange {
|
|
5
|
+
/** The offset where the annotation should start. */
|
|
6
|
+
start: number;
|
|
7
|
+
/** The offset where the annotation should end. */
|
|
8
|
+
end: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Represents an annotation selector type.
|
|
12
|
+
*/
|
|
13
|
+
export type AnnotationSelector = 'range' | 'block';
|
|
14
|
+
/**
|
|
15
|
+
* Base annotation interface.
|
|
16
|
+
*/
|
|
17
|
+
export interface Annotation {
|
|
18
|
+
/** Unique identifier for the annotation. */
|
|
19
|
+
id: string;
|
|
20
|
+
/** The block client ID this annotation applies to. */
|
|
21
|
+
blockClientId: string;
|
|
22
|
+
/** The source that created this annotation. */
|
|
23
|
+
source: string;
|
|
24
|
+
/** The type of selector used for this annotation. */
|
|
25
|
+
selector: AnnotationSelector;
|
|
26
|
+
/** Rich text identifier for range annotations. */
|
|
27
|
+
richTextIdentifier?: string | null;
|
|
28
|
+
/** Range for range-based annotations. */
|
|
29
|
+
range?: AnnotationRange | null;
|
|
30
|
+
/** Start position for annotations returned from selectors. */
|
|
31
|
+
start?: number;
|
|
32
|
+
/** End position for annotations returned from selectors. */
|
|
33
|
+
end?: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Parameters for adding an annotation.
|
|
37
|
+
*/
|
|
38
|
+
export interface AddAnnotationParameters {
|
|
39
|
+
/** The blockClientId to add the annotation to. */
|
|
40
|
+
blockClientId: string;
|
|
41
|
+
/** Identifier for the RichText instance the annotation applies to. */
|
|
42
|
+
richTextIdentifier?: string | null;
|
|
43
|
+
/** The range at which to apply this annotation. */
|
|
44
|
+
range?: AnnotationRange | null;
|
|
45
|
+
/** The way to apply this annotation. */
|
|
46
|
+
selector?: AnnotationSelector;
|
|
47
|
+
/** The source that added the annotation. */
|
|
48
|
+
source?: string;
|
|
49
|
+
/** The ID the annotation should have. Generates a UUID by default. */
|
|
50
|
+
id?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Store state interface.
|
|
54
|
+
*/
|
|
55
|
+
export type AnnotationsState = Partial<Record<string, Annotation[]>>;
|
|
56
|
+
/**
|
|
57
|
+
* Action types.
|
|
58
|
+
*/
|
|
59
|
+
export type AnnotationAction = {
|
|
60
|
+
type: 'ANNOTATION_ADD';
|
|
61
|
+
id: string;
|
|
62
|
+
blockClientId: string;
|
|
63
|
+
richTextIdentifier: string | null;
|
|
64
|
+
source: string;
|
|
65
|
+
selector: AnnotationSelector;
|
|
66
|
+
range?: AnnotationRange;
|
|
67
|
+
} | {
|
|
68
|
+
type: 'ANNOTATION_REMOVE';
|
|
69
|
+
annotationId: string;
|
|
70
|
+
} | {
|
|
71
|
+
type: 'ANNOTATION_UPDATE_RANGE';
|
|
72
|
+
annotationId: string;
|
|
73
|
+
start: number;
|
|
74
|
+
end: number;
|
|
75
|
+
} | {
|
|
76
|
+
type: 'ANNOTATION_REMOVE_SOURCE';
|
|
77
|
+
source: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Format registration interface for annotations.
|
|
81
|
+
*/
|
|
82
|
+
export interface AnnotationFormat {
|
|
83
|
+
name: string;
|
|
84
|
+
title: string;
|
|
85
|
+
tagName: string;
|
|
86
|
+
className: string;
|
|
87
|
+
attributes: {
|
|
88
|
+
className: string;
|
|
89
|
+
id: string;
|
|
90
|
+
};
|
|
91
|
+
interactive: boolean;
|
|
92
|
+
object: boolean;
|
|
93
|
+
edit: () => null;
|
|
94
|
+
__experimentalGetPropsForEditableTreePreparation: (select: any, props: {
|
|
95
|
+
richTextIdentifier: string;
|
|
96
|
+
blockClientId: string;
|
|
97
|
+
}) => {
|
|
98
|
+
annotations: Annotation[];
|
|
99
|
+
};
|
|
100
|
+
__experimentalCreatePrepareEditableTree: (props: {
|
|
101
|
+
annotations: Annotation[];
|
|
102
|
+
}) => (formats: any[], text: string) => any[];
|
|
103
|
+
__experimentalGetPropsForEditableTreeChangeHandler: (dispatch: any) => {
|
|
104
|
+
removeAnnotation: (annotationId: string) => void;
|
|
105
|
+
updateAnnotationRange: (annotationId: string, start: number, end: number) => void;
|
|
106
|
+
};
|
|
107
|
+
__experimentalCreateOnChangeEditableValue: (props: {
|
|
108
|
+
removeAnnotation: (annotationId: string) => void;
|
|
109
|
+
updateAnnotationRange: (annotationId: string, start: number, end: number) => void;
|
|
110
|
+
annotations: Annotation[];
|
|
111
|
+
}) => (formats: any[]) => void;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/annotations",
|
|
3
|
-
"version": "3.40.1
|
|
3
|
+
"version": "3.40.1",
|
|
4
4
|
"description": "Annotate content in the Gutenberg editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"react-native": "src/index",
|
|
42
42
|
"wpScript": true,
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@wordpress/data": "^10.40.1
|
|
45
|
-
"@wordpress/hooks": "^4.40.1
|
|
46
|
-
"@wordpress/i18n": "^6.13.1
|
|
47
|
-
"@wordpress/rich-text": "^7.40.1
|
|
44
|
+
"@wordpress/data": "^10.40.1",
|
|
45
|
+
"@wordpress/hooks": "^4.40.1",
|
|
46
|
+
"@wordpress/i18n": "^6.13.1",
|
|
47
|
+
"@wordpress/rich-text": "^7.40.1",
|
|
48
48
|
"uuid": "^9.0.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "adb6623c9f32490cfc73c7ac7f122578c1f10c65"
|
|
57
57
|
}
|