@atlaskit/adf-schema 56.1.16 → 56.1.18

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 56.1.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 56.1.17
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 56.1.16
4
16
 
5
17
  ### Patch Changes
@@ -24,7 +24,7 @@ export type PMNodeSpecFactoryInstance<N extends Omit<PMNode, 'toDOM' | 'parseDOM
24
24
  * @param nodeSpec - NodeSpec without toDom and parseDom
25
25
  * @returns A function for a node which allows the consumer to define toDom and parseDom
26
26
  */
27
- export declare const createPMNodeSpecFactory: <N extends Omit<PMNode, "toDOM" | "parseDOM">>(nodeSpec: NodeSpec) => ({ parseDOM, toDOM, toDebugString }: NodeSpecOptions<N>) => NodeSpec;
27
+ export declare const createPMNodeSpecFactory: <N extends Omit<PMNode, 'toDOM' | 'parseDOM'>>(nodeSpec: NodeSpec) => ({ parseDOM, toDOM, toDebugString }: NodeSpecOptions<N>) => NodeSpec;
28
28
  /**
29
29
  * Factory method to attach custom parseDOM and/or toDOM for markSpec
30
30
  *
@@ -34,4 +34,4 @@ export declare const createPMNodeSpecFactory: <N extends Omit<PMNode, "toDOM" |
34
34
  * @param markSpec - Markspec without toDom and parseDom
35
35
  * @returns A function for a mark which allows the consumer to define toDom and parseDom
36
36
  */
37
- export declare const createPMMarkSpecFactory: <M extends Omit<Mark, "toDOM" | "parseDOM">>(markSpec: MarkSpec) => ({ parseDOM, toDOM, toDebugString }: MarkSpecOptions<M>) => MarkSpec;
37
+ export declare const createPMMarkSpecFactory: <M extends Omit<Mark, 'toDOM' | 'parseDOM'>>(markSpec: MarkSpec) => ({ parseDOM, toDOM, toDebugString }: MarkSpecOptions<M>) => MarkSpec;
@@ -62,8 +62,8 @@ export interface MutableMediaAttributes extends MediaAttributes {
62
62
  [key: string]: string | number | undefined | null | boolean;
63
63
  }
64
64
  export declare const camelCaseToKebabCase: (str: string) => string;
65
- export declare const copyPrivateAttributes: (from: Record<string, any>, to: Record<string, any>, attributes?: Partial<NodeSpec["attrs"]>, map?: ((str: string) => string) | undefined) => void;
66
- export declare const createMediaSpec: (attributes: Partial<NodeSpec["attrs"]>, inline?: boolean, generateLocalId?: boolean) => NodeSpec;
65
+ export declare const copyPrivateAttributes: (from: Record<string, any>, to: Record<string, any>, attributes?: Partial<NodeSpec['attrs']>, map?: ((str: string) => string) | undefined) => void;
66
+ export declare const createMediaSpec: (attributes: Partial<NodeSpec['attrs']>, inline?: boolean, generateLocalId?: boolean) => NodeSpec;
67
67
  export declare const media: NodeSpec;
68
68
  export declare const mediaWithLocalId: NodeSpec;
69
69
  export declare const toJSON: (node: PMNode) => {
@@ -108,7 +108,7 @@ export declare const editorTextPalette: {
108
108
  /** magenta - strong */
109
109
  '#943D73': string;
110
110
  /** yellow - medium */
111
- readonly "#B38600": "var(--ds-border-accent-yellow, #B38600)" | "var(--ds-icon-accent-yellow, #B38600)";
111
+ readonly "#B38600": 'var(--ds-border-accent-yellow, #B38600)' | 'var(--ds-icon-accent-yellow, #B38600)';
112
112
  /** yellow - strong */
113
113
  '#7F5F01': string;
114
114
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "56.1.16",
3
+ "version": "56.1.18",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/adf-schema-generator": "^3.1.0",
41
41
  "@atlaskit/editor-prosemirror": "^8.0.0",
42
42
  "@atlaskit/platform-feature-flags": "^2.1.0",
43
- "@atlaskit/tmp-editor-statsig": "^133.0.0",
43
+ "@atlaskit/tmp-editor-statsig": "^135.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "css-color-names": "0.0.4",
46
46
  "linkify-it": "^3.0.3",