Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/adf-schema

Package Overview
Dependencies
Maintainers
1
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/adf-schema - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0

8

CHANGELOG.md
# @atlaskit/adf-schema
## 2.11.0
### Minor Changes
- [minor][ef787dba60](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef787dba60):
ED-7178: Promoting alignment and indentation to full schema
## 2.10.0

@@ -4,0 +12,0 @@

1

dist/es2015/schema/marks/alignment.d.ts

@@ -11,3 +11,2 @@ import { MarkSpec } from 'prosemirror-model';

* @name alignment_mark
* @stage 0
*/

@@ -14,0 +13,0 @@ export interface AlignmentMarkDefinition {

@@ -11,3 +11,2 @@ import { MarkSpec } from 'prosemirror-model';

* @name indentation_mark
* @stage 0
*/

@@ -14,0 +13,0 @@ export interface IndentationMarkDefinition {

@@ -28,3 +28,2 @@ import { NodeSpec } from 'prosemirror-model';

* @name heading_with_alignment_node
* @stage 0
*/

@@ -34,3 +33,2 @@ export declare type HeadingWithAlignmentDefinition = HeadingBaseDefinition & MarksObject<AlignmentMarkDefinition>;

* @name heading_with_indentation_node
* @stage 0
*/

@@ -37,0 +35,0 @@ export declare type HeadingWithIndentationDefinition = HeadingBaseDefinition & MarksObject<IndentationMarkDefinition>;

@@ -29,3 +29,2 @@ import { NodeSpec } from 'prosemirror-model';

* @name paragraph_with_alignment_node
* @stage 0
*/

@@ -35,3 +34,2 @@ export declare type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition & MarksObject<AlignmentMarkDefinition>;

* @name paragraph_with_indentation_node
* @stage 0
*/

@@ -38,0 +36,0 @@ export declare type ParagraphWithIndentationDefinition = ParagraphBaseDefinition & MarksObject<IndentationMarkDefinition>;

@@ -11,3 +11,2 @@ import { MarkSpec } from 'prosemirror-model';

* @name alignment_mark
* @stage 0
*/

@@ -14,0 +13,0 @@ export interface AlignmentMarkDefinition {

@@ -11,3 +11,2 @@ import { MarkSpec } from 'prosemirror-model';

* @name indentation_mark
* @stage 0
*/

@@ -14,0 +13,0 @@ export interface IndentationMarkDefinition {

@@ -28,3 +28,2 @@ import { NodeSpec } from 'prosemirror-model';

* @name heading_with_alignment_node
* @stage 0
*/

@@ -34,3 +33,2 @@ export declare type HeadingWithAlignmentDefinition = HeadingBaseDefinition & MarksObject<AlignmentMarkDefinition>;

* @name heading_with_indentation_node
* @stage 0
*/

@@ -37,0 +35,0 @@ export declare type HeadingWithIndentationDefinition = HeadingBaseDefinition & MarksObject<IndentationMarkDefinition>;

@@ -29,3 +29,2 @@ import { NodeSpec } from 'prosemirror-model';

* @name paragraph_with_alignment_node
* @stage 0
*/

@@ -35,3 +34,2 @@ export declare type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition & MarksObject<AlignmentMarkDefinition>;

* @name paragraph_with_indentation_node
* @stage 0
*/

@@ -38,0 +36,0 @@ export declare type ParagraphWithIndentationDefinition = ParagraphBaseDefinition & MarksObject<IndentationMarkDefinition>;

{
"name": "@atlaskit/adf-schema",
"version": "2.9.0",
"version": "2.10.0",
"sideEffects": false
}

@@ -250,2 +250,61 @@ {

},
"alignment_mark": {
"type": "object",
"properties": {
"type": {
"enum": [
"alignment"
]
},
"attrs": {
"type": "object",
"properties": {
"align": {
"enum": [
"center",
"end"
]
}
},
"required": [
"align"
],
"additionalProperties": false
}
},
"required": [
"type",
"attrs"
],
"additionalProperties": false
},
"indentation_mark": {
"type": "object",
"properties": {
"type": {
"enum": [
"indentation"
]
},
"attrs": {
"type": "object",
"properties": {
"level": {
"type": "number",
"minimum": 1,
"maximum": 6
}
},
"required": [
"level"
],
"additionalProperties": false
}
},
"required": [
"type",
"attrs"
],
"additionalProperties": false
},
"annotation_mark": {

@@ -324,2 +383,40 @@ "type": "object",

},
"paragraph_with_alignment_node": {
"allOf": [
{
"$ref": "#/definitions/paragraph_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/alignment_mark"
}
}
},
"additionalProperties": true
}
]
},
"paragraph_with_indentation_node": {
"allOf": [
{
"$ref": "#/definitions/paragraph_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/indentation_mark"
}
}
},
"additionalProperties": true
}
]
},
"bulletList_node": {

@@ -452,4 +549,4 @@ "type": "object",

"full-width",
"center",
"wrap-right",
"center",
"wrap-left",

@@ -726,2 +823,40 @@ "align-end",

},
"heading_with_alignment_node": {
"allOf": [
{
"$ref": "#/definitions/heading_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/alignment_mark"
}
}
},
"additionalProperties": true
}
]
},
"heading_with_indentation_node": {
"allOf": [
{
"$ref": "#/definitions/heading_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/indentation_mark"
}
}
},
"additionalProperties": true
}
]
},
"panel_node": {

@@ -1921,2 +2056,8 @@ "type": "object",

{
"$ref": "#/definitions/paragraph_with_alignment_node"
},
{
"$ref": "#/definitions/paragraph_with_indentation_node"
},
{
"$ref": "#/definitions/bulletList_node"

@@ -1937,2 +2078,8 @@ },

{
"$ref": "#/definitions/heading_with_alignment_node"
},
{
"$ref": "#/definitions/heading_with_indentation_node"
},
{
"$ref": "#/definitions/panel_node"

@@ -1980,2 +2127,8 @@ },

{
"$ref": "#/definitions/paragraph_with_alignment_node"
},
{
"$ref": "#/definitions/paragraph_with_indentation_node"
},
{
"$ref": "#/definitions/bulletList_node"

@@ -1996,2 +2149,8 @@ },

{
"$ref": "#/definitions/heading_with_alignment_node"
},
{
"$ref": "#/definitions/heading_with_indentation_node"
},
{
"$ref": "#/definitions/panel_node"

@@ -2214,2 +2373,8 @@ },

{
"$ref": "#/definitions/paragraph_with_alignment_node"
},
{
"$ref": "#/definitions/paragraph_with_indentation_node"
},
{
"$ref": "#/definitions/bulletList_node"

@@ -2233,2 +2398,8 @@ },

{
"$ref": "#/definitions/heading_with_alignment_node"
},
{
"$ref": "#/definitions/heading_with_indentation_node"
},
{
"$ref": "#/definitions/panel_node"

@@ -2235,0 +2406,0 @@ },

{
"name": "@atlaskit/adf-schema",
"version": "2.10.0",
"version": "2.11.0",
"sideEffects": false
}

@@ -250,2 +250,61 @@ {

},
"alignment_mark": {
"type": "object",
"properties": {
"type": {
"enum": [
"alignment"
]
},
"attrs": {
"type": "object",
"properties": {
"align": {
"enum": [
"center",
"end"
]
}
},
"required": [
"align"
],
"additionalProperties": false
}
},
"required": [
"type",
"attrs"
],
"additionalProperties": false
},
"indentation_mark": {
"type": "object",
"properties": {
"type": {
"enum": [
"indentation"
]
},
"attrs": {
"type": "object",
"properties": {
"level": {
"type": "number",
"minimum": 1,
"maximum": 6
}
},
"required": [
"level"
],
"additionalProperties": false
}
},
"required": [
"type",
"attrs"
],
"additionalProperties": false
},
"annotation_mark": {

@@ -324,2 +383,40 @@ "type": "object",

},
"paragraph_with_alignment_node": {
"allOf": [
{
"$ref": "#/definitions/paragraph_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/alignment_mark"
}
}
},
"additionalProperties": true
}
]
},
"paragraph_with_indentation_node": {
"allOf": [
{
"$ref": "#/definitions/paragraph_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/indentation_mark"
}
}
},
"additionalProperties": true
}
]
},
"bulletList_node": {

@@ -452,4 +549,4 @@ "type": "object",

"full-width",
"center",
"wrap-right",
"center",
"wrap-left",

@@ -726,2 +823,40 @@ "align-end",

},
"heading_with_alignment_node": {
"allOf": [
{
"$ref": "#/definitions/heading_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/alignment_mark"
}
}
},
"additionalProperties": true
}
]
},
"heading_with_indentation_node": {
"allOf": [
{
"$ref": "#/definitions/heading_node"
},
{
"type": "object",
"properties": {
"marks": {
"type": "array",
"items": {
"$ref": "#/definitions/indentation_mark"
}
}
},
"additionalProperties": true
}
]
},
"panel_node": {

@@ -1921,2 +2056,8 @@ "type": "object",

{
"$ref": "#/definitions/paragraph_with_alignment_node"
},
{
"$ref": "#/definitions/paragraph_with_indentation_node"
},
{
"$ref": "#/definitions/bulletList_node"

@@ -1937,2 +2078,8 @@ },

{
"$ref": "#/definitions/heading_with_alignment_node"
},
{
"$ref": "#/definitions/heading_with_indentation_node"
},
{
"$ref": "#/definitions/panel_node"

@@ -1980,2 +2127,8 @@ },

{
"$ref": "#/definitions/paragraph_with_alignment_node"
},
{
"$ref": "#/definitions/paragraph_with_indentation_node"
},
{
"$ref": "#/definitions/bulletList_node"

@@ -1996,2 +2149,8 @@ },

{
"$ref": "#/definitions/heading_with_alignment_node"
},
{
"$ref": "#/definitions/heading_with_indentation_node"
},
{
"$ref": "#/definitions/panel_node"

@@ -2214,2 +2373,8 @@ },

{
"$ref": "#/definitions/paragraph_with_alignment_node"
},
{
"$ref": "#/definitions/paragraph_with_indentation_node"
},
{
"$ref": "#/definitions/bulletList_node"

@@ -2233,2 +2398,8 @@ },

{
"$ref": "#/definitions/heading_with_alignment_node"
},
{
"$ref": "#/definitions/heading_with_indentation_node"
},
{
"$ref": "#/definitions/panel_node"

@@ -2235,0 +2406,0 @@ },

{
"name": "@atlaskit/adf-schema",
"version": "2.10.0",
"version": "2.11.0",
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

{
"name": "@atlaskit/adf-schema",
"version": "2.10.0",
"version": "2.11.0",
"sideEffects": false
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc