Web Components Versions Save

React Components for Accord Project

v0.98.0

3 years ago

This is a major release of Accord Projects's Web Components, with support for the latest releases of Cicero 0.22 and Concerto 1.0.

๐Ÿ’ฅ Breaking Change

  • Support for latest Accord Project release: Cicero 0.22, Markdown Transform 0.13, and Concerto 1.0

โœจ Enhancement

  • Heading toolbar now supports H1-H6, consistent with commonmark - #293 (@d-e-v-esh @Michael-Grover )
  • Images can now be deleted using the backspace or delete keys - #320 (@K-Kumar-01 @Michael-Grover )
  • Better text description for an empty contract - #326 (@Aniruddha-Shriwant @Michael-Grover )

๐Ÿ› Bug fixes

  • Better catches onChange exceptions - #335 (@dselman )
  • Styles block not updating as we move our cursor - #276 (@d-e-v-esh @Michael-Grover )
  • Fixes to clickable area in toolbar - #318 (@K-Kumar-01 @Michael-Grover )
  • Fixes issue with initial hyperlink text - #301 (@K-Kumar-01 )

v0.97.0

3 years ago

Web Components v0.97.0 (2021-03-15)

A big release from lots of lovely contributors, including many first-time contributions. You're all very welcome to the Accord Project community!

๐Ÿ’ฅ Breaking Change

  • storybook, ui-concerto

:sparkles: Enhancement

  • ui-contract-editor
    • #277 style(ui-contract-editor): Drag-Drop Handle Resize - #137 (@K-Kumar-01)
    • #250 feat(ui-contract-editor): Drag&drop disabled for embeded clauses (@sanketshevkar)
  • storybook, ui-components, ui-concerto, ui-contract-editor, ui-markdown-editor
  • ui-markdown-editor
  • storybook, ui-markdown-editor
    • #229 style(ui-markdown-editor): resolve toolbar icon shrinkage - #228 (@K-Kumar-01)

:bug: Bug

  • ui-markdown-editor
    • #304 fix(ui-contract-editor): styling dropdown - #278 (@d-e-v-esh)
    • #298 fix(ui-markdown-editor): handle cut image operation - #294 (@Cronus1007)
    • #292 fix(ui-markdown-editor): text deselection - #291 (@d-e-v-esh)
    • #283 fix(ui-markdown-editor): styleblock refresh - #276 (@d-e-v-esh)
    • #268 bug(ui-contract-editor): remove z-index of toolbar - #87 (@Udbhavbisarya23)
    • #252 fix(ui-markdown-editor):multi-para to list proper indent - #158 (@K-Kumar-01)
    • #258 fix(ui-markdown-editor): list formatting is preserved in headings (@gatij10)
    • #222 fix(ui-markdown-editor): resolve hyperlink overflow - #219 (@K-Kumar-01)
  • ui-contract-editor
    • #251 fix(ui-contract-editor): Highlight read-only text clause template - i242 (@K-Kumar-01)
    • #240 fix(ui-contract-editor) prevent sig variable edits on readOnly - I212 (@sanketshevkar)
    • #231 fix(ui-contract-editor): prevent clause drag and drop in list - #157 (@sanketshevkar)
    • #236 fix(ui-contract-editor): adjust tooltip z-index - #185 (@K-Kumar-01)
  • ui-components
    • Long clause template names intersect with template logo (@Michael-Grover)

:soap: Chore

  • Other
    • #285 chore(changelog): Add script to generate release notes (@mttrbrts)

Committers: 9

v0.96.1

3 years ago

Markdown Editor

๐Ÿ› Bug Fix

  • #207 - Closes hyperlink modal when user is not interacting with it (@whyang0808)

๐Ÿ’… Styling

  • #205 - Adds border to editor (@justinclanglinais)

Concerto UI

๐Ÿš€ New Feature

  • #208 - Allow updating the form via the json prop (@DianaLease)

v0.96.0

3 years ago

Support for:

Concerto UI

๐Ÿ’ฅ Breaking Change

  • The passed in onValueChange prop should NOT be used to update the json prop passed to ConcertoForm! ConcertoForm updates its own value state internally and should only use the value passed as json for its initial render.

๐Ÿงน Refactor

  • #202 - Cleaned up code and refactored to use React hook (@DianaLease & @dselman )

๐Ÿš€ New Feature

  • #200 - Adds an new optional parameter to allow relationships to populate a drop-down (@dselman )

v0.95.4

3 years ago

Support for:

โ‡ง โŽ Contract editor

  • Shift + Enter now creates a hard line break within a paragraph #188

๐Ÿ’ฎ Support for Read-only and Hidden variables

  • Variables with the @ContractEditor("readOnly", "true") decorator annotation are now made read-only in the contract editor #194
  • Variables with the @FormEditor("hide", true) decorator are hidden in the Concerto form editor #199

v0.95.3

3 years ago

Support for:

๐Ÿ› Bug fixes

v0.95.2

3 years ago

Contract Editor

๐Ÿ’… Polish

#181 Fixes two edge cases with tooltip rendering - (1) Makes sure it is positioned right above formula element no matter the size of the tooltip & (2) Adds z-index 2 to make sure it floats over clause icons if it is high up in the clause (@DianaLease)

v0.95.1

3 years ago

Support for:

Contract Editor

๐Ÿ’… Polish

  • #180 Updates formula dependencies to be determined by the data on the formula node itself, fixes issue with crashing when clicking multiple times in Safari, polishes styling to reposition tooltip text and arrow, polishes styling to remove border from formulas and instead use different font color to distringuish them. (@DianaLease)

v0.95.0

3 years ago

Support for:

Contract Editor

๐Ÿ’ฅ Breaking Change

  • #165: onClauseUpdated passed to the Contract Editor should return a promise for an object (@DianaLease)
    • Previously it was fine for it to return undefined

๐Ÿš€ New Feature

  • #165: Indicate a parse error exists for a clause with a red border (@DianaLease)
  • #69: Support for Formulas! (@dselman @irmerk)
    • Formulas update when dependents change
  • #170: All instances of a variable update when one changes in the editor (@dselman)

UI Concerto

๐Ÿš€ New Feature

  • #164: New UI improving formatting for relationship fields to better support relationship URIs (@mttrbrts)

v0.94.0

3 years ago

Support for:

Web Components

๐Ÿ’ฅ Breaking Change

  • This should be considered a major release, and notably includes changes to the Slate document object model used in the markdown and contract editors. The markdown parser has also been switched from commonmark.js to the markdown-it library.

๐Ÿ‘“ Spec Compliance

  • #127: Upgrade to new parser (@irmerk)

๐Ÿ  Internal

  • #125: update rollup and babel configs (@DianaLease)

Markdown Editor

๐Ÿ’ฅ Breaking Change

๐Ÿš€ New Feature

  • #24: Support for thematic breaks (@irmerk)

๐Ÿ› Bug Fixes

  • #134: Fix issue when transforming blocks to lists (@hohooio823)

๐Ÿ’… Polish

  • #103: Preview for headings in the dropdown menu now reflects their size in the document (@conste11ations)

๐Ÿ“ Documentation

  • #121: Include information on semantic ui styling (@DianaLease)

Contract Editor

๐Ÿš€ New Feature

  • #145: Support for optional variables in conditionals (@irmerk)

๐Ÿ› Bug Fixes

  • #115: Drag-n-Drop no longer causes clause to not be editable in Safari (@DianaLease)
  • #122: Protect clause from backspace (@irmerk)
  • #74: Prevent SHIFT + ENTER inside template variables in the contract editor (@irmerk)

๐Ÿƒโ€โ™€ Performance

  • #117: Support for new transform parser (@irmerk)

UI Components

๐Ÿ› Bug Fixes

  • #128: Change onClick to onMouseDown to preserve Slate selection (@DianaLease)

๐Ÿ’… Polish

  • #93: Utilize CSS classes for styling (@petrgazarov)

UI Concerto

๐Ÿ› Bug Fixes

  • #131: Various bugs including DateTime error (@DianaLease)

Storybook

๐Ÿ  Internal

  • #130: Snapshot testing (@DianaLease)