@kalamazoo/adf-utils
7.3.1
Patch Changes
[patch]24865cfaff:
Relax text color mark validation to allow upper case characters
Updated dependencies 24865cfaff:
7.3.0
Minor Changes
[minor]f1a06fc2fd:
ED-7876 Add expand and nestedExpand to stage-0 schema
Adds two new nodes
expandandnestedExpandto the stage-0 schema.[minor]ae42b1ba1e:
Adf schema changes (for stage-0) to support alt text on media nodes.
editor-corechanges are wrapped under the editor propUNSAFE_allowAltTextOnImages. There is no alt text implementation yet, so the user won't be able to add alt text to images just yet.
7.2.0
Minor Changes
[minor]1a0fe670f9:
ED-7674: support nested actions in stage-0 schema; change DOM representation of actions
Nested actions
This changeset adds support for nesting actions at the schema level, currently only within the stage-0 ADF schema.
The editor and renderer currently do nothing special to represent these nested actions. As of this release, they appear as as flat list.
To enable this feature, use the new
allowNestedTasksprop.DOM representation of actions in renderer + editor
This release also changes the DOM representation of actions away from a
ol > listructure, to adiv > divone. That is, both thetaskListandtaskItemare wrapped indivelements.Because taskLists can now be allowed to nest themselves, this would otherwise have created an
ol > olstructure, which is invalid.- [minor]ae4f336a3a:
FABDODGEM-13 Editor Damask Release - Internal post
BREAKING CHANGES
- Media: Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
- Tasks & Decisions: Removed containerAri for task-decisions components.
- Renderer: Adapts to task-decision changes.
- Editor Mobile Bridge: Adapts to task-decision changes.
- Util Data Test: Adapts to task-decision changes.
Affected Editor Components:
tables, media, mobile, emoji, tasks & decisions, analytics
Editor
- Support nested actions in stage-0 schema; Change DOM representation of actions
- Updated i18n translations
- Improved analytics & crash reporting (via a new error boundary)
- Improvements to heading anchor links.
- Copy/Paste improvements
- Fixes for the selection state of Smart links.
- Improvements for table resizing & column creation.
Mobile
- GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
- Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
Media
- Improved analytics
- Added shouldOpenMediaViewer property to renderer
- Implemented analytics for file copy
- New
media-viewedevent dispatched when media is interacted with via the media card or viewer. - Support for
alttext attribute on media image elements.
i18n-tools
Bumped dependencies.
Patch Changes
[patch]cc28419139:
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
7.1.1
Patch Changes
[patch]a2d0043716:
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
7.1.0
Minor Changes
[minor]65ada7f318:
FABDODGEM-12 Editor Cashmere Release
Affected editor components:
tables, media, mobile, text color, emoji, copy/paste, analytics
Performance
- Async import for code blocks and task items on renderer
Table
- Add support to sort tables that contains smart links
- Scale table when changing to full width mode
Text color
- Update text color toolbar with right color when text is inside a list, panel, etc.
Mobile - Implement undo/redo interface on Hybrid Editor - https://product-fabric.atlassian.net/browse/FM-2393
Copy and Paste
- Support copy & paste when missing context-id attr
- https://product-fabric.atlassian.net/browse/MS-2344
- Right click + copy image fails the second time that is pasted
- https://product-fabric.atlassian.net/browse/MS-2324
- Copying a never touched image for the first time from editor fails to paste
- https://product-fabric.atlassian.net/browse/MS-2338
- Implement analytics when a file is copied
- https://product-fabric.atlassian.net/browse/MS-2036Media
- Add analytics events and error reporting [NEW BIG FEATURE]
- https://product-fabric.atlassian.net/browse/MS-2275
- https://product-fabric.atlassian.net/browse/MS-2329
- https://product-fabric.atlassian.net/browse/MS-2330
- https://product-fabric.atlassian.net/browse/MS-2331
- https://product-fabric.atlassian.net/browse/MS-2332
- https://product-fabric.atlassian.net/browse/MS-2390
- Fixed issue where we can’t insert same file from MediaPicker twice
- Disable upload of external files to media
Notable Bug Fixes
- Implement consistent behaviour for rule and mediaSingle on insertion
- Feature Flag:
- allowNewInsertionBehaviour - [default: true]
- https://product-fabric.atlassian.net/browse/ED-7503
- Fixed bug where we were showing table controls on mobile.
- https://product-fabric.atlassian.net/browse/ED-7690
- Fixed bug where editor crashes after unmounting react component.
- https://product-fabric.atlassian.net/browse/ED-7318
- Fixed bug where custom emojis are not been showed on the editor
- https://product-fabric.atlassian.net/browse/ED-7726[minor]79c69ed5cd:
ED-7449 Implement sorting inline cards inside tables base on resolved title
7.0.0
Major Changes
[major]80adfefba2:
Remove applicationCard node and action mark
Updated dependencies 1194ad5eb3:
6.1.7
Patch Changes
[patch]48fcfce0a1:
Export missing definitions from schema to fix types in utils
6.1.6
Patch Changes
[patch]097b696613:
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
6.1.5
Patch Changes
[patch]0d7d459f1a:
Fixes type errors which were incompatible with TS 3.6
6.1.4
Patch Changes
[patch]ecca4d1dbb:
Upgraded Typescript to 3.3.x
6.1.3
- Updated dependencies 6164bc2629:
6.1.2
Patch Changes
[patch]bbff8a7d87:
Fixes bug, missing version.json file
6.1.1
Patch Changes
[patch]18dfac7332:
In this PR, we are:
6.1.0
[minor]79f0ef0601:
- Use strict tsconfig to compile editor packages
6.0.5
- Updated dependencies 7c17b35107:
6.0.4
[patch]0a4ccaafae:
- Bump tslib
[patch]0ac39bd2dd:
- Bump tslib to 1.9
6.0.3
[patch]97e555c168:
- Revert "[ED-5259 - ED-6200] adds defaultMarks on tableNode (pull request #5259)"
6.0.2
[patch]b425ea772b:
- Revert "ED-5505 add strong as default mark to table header (pull request #5291)"
6.0.1
[patch]499f9783d8:
- [ED-5505] Fix forceContentValidation replacing valid entities to empty array
6.0.0
[major]9d5cc39394:
- Dropped ES5 distributables from the typescript packages
5.8.0
[minor]a7af8a8865:
- [ED-6325] Add forceContentValidation to array specs
5.7.2
- Updated dependencies 76299208e6:
5.7.1
[patch]60ea09b0cc:
- ED-6246 Improves types and adds more metadata to errors
5.7.0
[minor]4d8d759bf9:
- [ED-6255] Migrate ADFNode type to ADFEntity
5.6.3
[patch]e83a441140:
- Revert type change to width/height attributes for media node
5.6.2
[patch]09696170ec:
- Bumps prosemirror-utils to 0.7.6
5.6.1
[patch]14fe1381ba:
- ED-6118: ensure media dimensions are always integers, preventing invalid ADF
5.6.0
[minor]be706e55f6:
- ED-6154 Adds
arrayvalidation support
- ED-6154 Adds
5.5.0
[minor]a5b5a5098e:
- Adds index to visitor
5.4.2
[patch]76ed7f0:
- Update Specs
5.4.1
[patch]57cffcb:
- Need tslib
5.4.0
[minor]1205725:
- Move schema to its own package
5.3.4
- Updated dependencies 80f765b:
5.3.3
[patch]34df084:
- Fix layout schema and enable breakout layouts in renderer
5.3.2
- Updated dependencies 58b84fa:
5.3.1
[patch]0a297ba:
- Packages should not be shown in the navigation, search and overview
5.3.0
[minor]a1b03d0:
- ED-3890 Adds Indentation support on paragraphs and headings
5.2.0
[minor]94094fe:
- Adds support for links around images
5.1.9
- Updated dependencies 7e8b4b9:
5.1.8
[patch]416fbb3:
- ED-3298: codeBlocks inside lists
5.1.7
[patch]409e610:
- Fix schema block marks name inconsistency
5.1.6
[patch]df33a8b:
- Fix block marks validation
5.1.5
[patch]d3bb11f:
- Fixing validator for alignment marks
5.1.4
[patch]4e2a3b1:
- Fixes validating marks with multiple possible branch
5.1.3
[patch]a1fb551:
- Fixed style attribute ADF error for Fabric Status
5.1.2
[patch]11d4b85:
- ED-5606 Adds union attrs support to validator
5.1.1
[patch]b19b7bb:
- ED-5721 Validator now supports optional content
5.1.0
[minor]b440439:
- Add breakout mark to editor, renderer and adf-utils
5.0.1
- Updated dependencies 2c21466:
5.0.0
[major]e1db106:
- New validator API
Breaking Change
Old API
export type ValidationMode = 'strict' | 'loose'; validator( nodes?: Array<string>, marks?: Array<string>, validationMode?: ValidationMode, )New API
We introduced a new
allowPrivateAttributesoption. It allows attributes starting with__without validation.export type ValidationMode = 'strict' | 'loose'; export interface ValidationOptions { mode?: ValidationMode; allowPrivateAttributes?: boolean; } validator( nodes?: Array<string>, marks?: Array<string>, options?: ValidationOptions, )
4.1.0
[minor]4f5830f:
- ED-4200: add page layout support to generator and ADF schema
4.0.4
[patch]e8052e1:
- Add main field to adf-utils package.json
4.0.3
[patch]653b6a9:
- removed optional attributes from adf-builder module for status node
[patch]cd5471b:
- added style attribute for Status node in ADF schema
4.0.2
[patch][6201223" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6201223" d):
- Add examples.
4.0.1
- [patch] Fix floating number validation ea027b8
4.0.0
- [major] Wrap invalid node with unsupported node fb60e39
3.0.1
- [patch] Updated dependencies b1ce691
3.0.0
- [major] New validator API db2d466
2.2.6
- [patch] Updated dependencies 2afa60d
2.2.5
2.2.4
- [patch] make attris in ADFNode optioanla as not every node have this value df13878
2.2.3
- [patch] Updated dependencies 927ae63
2.2.2
- [patch] Fix .d.ts file names 3d6c0fd
2.2.1
- [patch] .es.js files now reference es2015 builds instead of es5 98034c7
2.2.0
- [minor] FS-2961 Introduce status component and status node in editor 7fe2b0a
2.1.5
- [patch] Updated dependencies 6e1d642
2.1.4
2.1.3
- [patch] Updated dependencies 7545979
2.1.2
- [patch] Updated dependencies b12f7e6
2.1.1
2.1.0
2.0.5
2.0.4
- [none] Updated dependencies 597e0bd
- [none] Updated dependencies 61df453
- [none] Updated dependencies 812a39c
- [none] Updated dependencies c8eb097
- [patch] Updated dependencies d02746f
2.0.3
- [patch] Updated dependencies acd86a1
2.0.2
- [patch] Include type files to release 02cae82
2.0.1
- [patch] Fix types for top level imports 61cd06b