@ballistix.digital/react-components 9.1.0 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -6350,7 +6350,7 @@ var $fcb5356ca075c486$var$renderRichNode = function(node, options) {
|
|
|
6350
6350
|
});
|
|
6351
6351
|
};
|
|
6352
6352
|
var $fcb5356ca075c486$var$RichTextArea = function(_a) {
|
|
6353
|
-
var _b = _a.name, name = _b === void 0 ? 'rich-text-area' : _b, _c = _a.initialValue, initialValue = _c === void 0 ? '[{"type":"paragraph","children":[{"text":"Hello from initial value. Edit me!"}]}]' : _c, onChange = _a.onChange, _d = _a.placeholder, placeholder = _d === void 0 ? "Type something\u2026" : _d, stylesOverrides = _a.styles, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, toolbarConfig = _a.toolbarConfig, //Header
|
|
6353
|
+
var _b = _a.name, name = _b === void 0 ? 'rich-text-area' : _b, _c = _a.initialValue, initialValue = _c === void 0 ? '[{"type":"paragraph","children":[{"text":"Hello from initial value. Edit me!"}]}]' : _c, onChange = _a.onChange, _d = _a.placeholder, placeholder = _d === void 0 ? "Type something\u2026" : _d, stylesOverrides = _a.styles, _e = _a.isReadOnly, isReadOnly = _e === void 0 ? false : _e, toolbarConfig = _a.toolbarConfig, onBlur = _a.onBlur, //Header
|
|
6354
6354
|
label = _a.label, description = _a.description, required = _a.required, isRequired = _a.isRequired, isOptionalLabelHidden = _a.isOptionalLabelHidden, //Footer
|
|
6355
6355
|
hint = _a.hint, error = _a.error, isTouched = _a.isTouched;
|
|
6356
6356
|
var styles = (0, $iA2ta$react.useMemo)(function() {
|
|
@@ -6519,6 +6519,7 @@ var $fcb5356ca075c486$var$RichTextArea = function(_a) {
|
|
|
6519
6519
|
placeholder: placeholder,
|
|
6520
6520
|
spellCheck: true,
|
|
6521
6521
|
autoFocus: true,
|
|
6522
|
+
onBlur: onBlur,
|
|
6522
6523
|
onKeyDown: function(event) {
|
|
6523
6524
|
(0, $iA2ta$lodash.forEach)($fcb5356ca075c486$var$HOTKEYS, function(mark, hotkey) {
|
|
6524
6525
|
if ((0, ($parcel$interopDefault($iA2ta$ishotkey)))(hotkey, event)) {
|