jsx-slack

Build JSON object for Slack Block Kit surfaces from JSX

MIT License

Downloads
20.5K
Stars
458
Committers
7
jsx-slack - v1.3.1

Published by yhatt over 4 years ago

Fixed

  • Fix regression about not rendered special spaces around the content (#113)
jsx-slack - v1.3.0

Published by yhatt over 4 years ago

Changed

Added

jsx-slack - v1.2.0

Published by yhatt over 4 years ago

Added

Changed

  • Upgrade dependent packages to the latest version (#107)
  • Upgrade development Node to 12.15.0
jsx-slack - v1.1.0

Published by yhatt almost 5 years ago

Added

Changed

  • Mark <Home> container as stable (#105)
jsx-slack - v1.0.0

Published by yhatt almost 5 years ago

Breaking

Added

  • <Mrkdwn> text composition component (#73, #97 by @javaPhil, #103)

Fixed

  • Prevent over-escaping in valid emoji shorthand (#98, #101)

Changed

  • Upgrade dependent packages to the latest version (#92, #104)
  • Upgrade development Node to 12.14.1 (#104)

Removed

  • Remove deprecated dialog support (#84, #99)
  • Get rid of lodash.flattendeep dependency (#102)
jsx-slack - v0.12.0

Published by yhatt almost 5 years ago

Added

  • Radio buttons for modal (#88, #91)
    • <RadioButtonGroup> now can use in <Modal> container and acts as input component for modal

Changed

  • Upgrade dependent packages to the latest version (#90)
jsx-slack - v0.11.1

Published by yhatt almost 5 years ago

Fixed

  • Don't throw error even if <Overflow> has only one <OverflowItem> (#85, #86)
  • Fix 413 error from Block Kit Builder when translated huge JSON on REPL demo (#82)
  • Improve internal type definitions for overloaded props (#83)

Changed

  • Upgrade dependent packages to the latest version (#87)
jsx-slack - v0.11.0

Published by yhatt about 5 years ago

Added

Changed

  • Upgrade Node for development to v12 LTS (#79)

Fixed

  • Throw an error when using <File> in <Modal> (#76)
  • REPL demo can transfer the complete modal JSON to Block Kit Builder (#77)

Deprecated

  • Output warning about deprecated dialog components (#72)
jsx-slack - v0.10.2

Published by yhatt about 5 years ago

Fixed

  • Make interpolated fragments in template literal work correctly (#71)
jsx-slack - v0.10.1

Published by yhatt about 5 years ago

Fixed

  • Fix invalid array children in template literal (#69)

Changed

  • Upgrade Node and dependent packages to the latest version (#70)
jsx-slack - v0.10.0

Published by yhatt about 5 years ago

Added

  • Multi-select menus (#56, #58)
  • Modals support (#57)
    • <Modal> container component (#60)
    • <Input> layout block and component (#61)
    • <Textarea> component (#62)
    • Input-compatible props to select-like elements and <DatePicker> (#63)
    • Intrinsic HTML elements of input components (#65)
    • Add extra types for <Input> component (#66)
    • Update REPL demo to support Modals (#68)

Changed

  • Bump dependent packages to the latest version (#59)
  • Check invalid elements in <Blocks> and <Input> strictly (#64)
  • Split test cases for Block Kit components into multiple files (#66)
  • Organize documentation (#20, #67)

Deprecated

  • Mark <Dialog> as soft-deprecated in favor of Slack Modals (#60)
jsx-slack - v0.9.2

Published by yhatt about 5 years ago

Fixed

  • Nested fragments fail (#53, #54)

Changed

  • Update dependent packages to the latest version (#52)
jsx-slack - v0.9.1

Published by yhatt about 5 years ago

Fixed

  • Fix regression of not preserved <pre> whitespaces (#48, #49)

Changed

  • Update dependent packages to the latest version (#50)
jsx-slack - v0.9.0

Published by yhatt about 5 years ago

Breaking

  • Disabled heuristic detection for HTML entities (Escaping works just as same as React JSX) (#33)
  • Some raw characters for mrkdwn link, <, >, and & will always escape to entities (#45)

Changed

  • Improve html entity decoding in JSX and template literal tag (#33, #45, #47)
  • Allow links in the inside of <code> and <pre> element (#16, #46)
jsx-slack - v0.8.1

Published by yhatt about 5 years ago

Added

  • Better dialog support for jsxslack template literal (#42, #43)
  • Update REPL demo to add dialog example (#43)

Fixed

  • Coerce number-expected prop to integer (#44)
jsx-slack - v0.8.0

Published by yhatt about 5 years ago

Added

Fixed

  • Don't prevent generating <SelectFragment> with no options (#41)

Changed

jsx-slack - v0.7.0

Published by yhatt about 5 years ago

Added

  • <File> block component (#34, #35)
  • jsxslack.fragment template literal tag (#32)
  • Codecov integration and coverage badge (#36)

Changed

  • Update dependent packages to the latest version (#37)
jsx-slack - v0.6.0

Published by yhatt over 5 years ago

Added

  • Convert <span> in <Context> into mrkdwn element (#26, #31)
  • <Fragment> built-in component (#29)
jsx-slack - v0.5.1

Published by yhatt over 5 years ago

Added

  • Support mention to global user ID for Enterprise Grid (#25)

Changed

  • Update dependent packages to the latest version (#28)
jsx-slack - v0.5.0

Published by yhatt over 5 years ago

Added

  • Support Node.js 12 (#23)

Changed

  • Make interchangeable with <Image> component and intrinsic <img> tag (#21)
  • Upgrade dependent packages to the latest version (#24)

Removed

  • Remove deprecated <Block> component (#22)
Package Rankings
Top 3.7% on Npmjs.org
Top 6.67% on Proxy.golang.org
Badges
Extracted from project README
CircleCI Codecov npm LICENSE