slack-block-builder
Advanced tools
Comparing version 0.1.0 to 0.1.1
# Change Log | ||
## v0.1.1 - 2020-06-10 | ||
* Fix issue where strings passed to the 'fields()' method of a Section object would be mutated into plain text objects instead of markdown text objects. | ||
* Fix issue where strings passed to the 'elements()' method of a Context object would be mutated into plain text objects instead of markdown text objects. | ||
* Fix type in JSDoc for TextInput Element object (intiialValue => initialValue). | ||
* Update tests to accommodate for these changes. | ||
* Update description and keywords in package.json. | ||
* Update README.md. | ||
## v0.1.0 - 2020-06-09 | ||
* Initial Release and Commit |
{ | ||
"name": "slack-block-builder", | ||
"version": "0.1.0", | ||
"description": "Lightweight, no-dependency JavaScript library for creating Slack Block Kit UIs, with a builder interface, inspired by SwiftUI.", | ||
"version": "0.1.1", | ||
"description": "Lightweight, zero-dependency library for creating Slack messages and modals, with a builder interface inspired by SwiftUI.", | ||
"author": { | ||
@@ -30,6 +30,8 @@ "name": "Ray East", | ||
"modal", | ||
"block-kit", | ||
"block", | ||
"kit", | ||
"swiftui", | ||
"bot", | ||
"modal", | ||
"messages", | ||
"message-builder", | ||
@@ -36,0 +38,0 @@ "block-builder", |
@@ -242,3 +242,3 @@ const { Button, ButtonDto } = require('./button'); | ||
* @param {string} [params.placeholder] Adds the text in place of the input before selected or interacted with | ||
* @param {string} [params.intiialValue] Sets the default text entered into the TextInput at load | ||
* @param {string} [params.initialValue] Sets the default text entered into the TextInput at modal load | ||
* @param {int} [params.minLength] Sets a minimum character count in order for the user to submit the form | ||
@@ -245,0 +245,0 @@ * @param {int} [params.maxLength] Sets a maximum character count allowed to send the form |
@@ -66,3 +66,3 @@ const Objects = require('../../objects'); | ||
return array.map((item) => (typeof item === 'string' | ||
? this.getPlainTextObject(item) | ||
? this.getMarkdownObject(item) | ||
: item.build())); | ||
@@ -76,3 +76,3 @@ } | ||
return array.map((item) => this.getPlainTextObject(item)); | ||
return array.map((item) => this.getMarkdownObject(item)); | ||
} | ||
@@ -106,4 +106,4 @@ | ||
} | ||
} | ||
} | ||
module.exports = BuilderHelper; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167582