@progress/kendo-react-conversational-ui 5.17.0-dev.202308261921 → 5.17.0-dev.202308290932
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/cdn/js/kendo-react-conversational-ui.js +1 -1
- package/dist/es/components/Attachment.js +1 -1
- package/dist/es/components/AttachmentGroup.js +4 -1
- package/dist/es/components/NewMessage.js +3 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/components/Attachment.js +1 -1
- package/dist/npm/components/AttachmentGroup.js +4 -1
- package/dist/npm/components/NewMessage.js +3 -3
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-conversational-ui.js +1 -1
- package/package.json +6 -6
|
@@ -46,7 +46,7 @@ var Attachment = /** @class */ (function (_super) {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
Attachment.prototype.getClassNames = function () {
|
|
49
|
-
return classNames({ 'k-selected': this.props.selected }, { 'k-focus': this.props.selected },
|
|
49
|
+
return classNames({ 'k-selected': this.props.selected }, { 'k-focus': this.props.selected }, { 'k-first': this.props.isFirstItemInGroup }, { 'k-last': this.props.isLastItemInGroup });
|
|
50
50
|
};
|
|
51
51
|
Attachment.prototype.getTitleView = function () {
|
|
52
52
|
return this.props.item.title ?
|
|
@@ -82,7 +82,10 @@ var AttachmentGroup = /** @class */ (function (_super) {
|
|
|
82
82
|
return props.group.attachmentLayout !== 'list';
|
|
83
83
|
};
|
|
84
84
|
AttachmentGroup.prototype.getClassNames = function () {
|
|
85
|
-
return classNames({
|
|
85
|
+
return classNames({
|
|
86
|
+
'k-card-list': this.props.group.attachmentLayout,
|
|
87
|
+
'k-card-deck': this.isCardDeckLayout(this.props)
|
|
88
|
+
});
|
|
86
89
|
};
|
|
87
90
|
return AttachmentGroup;
|
|
88
91
|
}(SelectableItemsContainer));
|
|
@@ -56,10 +56,10 @@ var NewMessage = /** @class */ (function (_super) {
|
|
|
56
56
|
var _this = this;
|
|
57
57
|
var localizationService = provideLocalizationService(this);
|
|
58
58
|
var messageInput = (React.createElement("input", { type: "text", className: this.getClassNames(), placeholder: this.props.placeholder, onKeyDown: this.onInputKeyDown, onFocus: function () { return _this.setState({ focused: true }); }, onBlur: function () { return _this.setState({ focused: false }); }, ref: function (el) { return _this.inputEl = el; }, "aria-label": localizationService.toLanguageString(newMessageMessageInput, messages[newMessageMessageInput]) }));
|
|
59
|
-
var sendButton = (React.createElement(Button, { fillMode: "flat", themeColor: "base",
|
|
59
|
+
var sendButton = (React.createElement(Button, { fillMode: "flat", themeColor: "base", className: "k-chat-send", icon: "paper-plane", svgIcon: paperPlaneIcon, onClick: this.sendMessage, "aria-label": localizationService.toLanguageString(newMessageSendButton, messages[newMessageSendButton]), dir: this.props.isDirectionRightToLeft ? 'rtl' : undefined }));
|
|
60
60
|
var toolbarButton = (React.createElement(Button, { fillMode: "flat", themeColor: "base", rounded: null, className: "k-button-toggle", icon: 'more-horizontal', svgIcon: moreHorizontalIcon, onClick: function (event) { return _this.props.onToolbarActionButtonClick(!_this.props.showToolbar, event); }, "aria-label": localizationService.toLanguageString(newMessageOptionsButton, messages[newMessageOptionsButton]) }));
|
|
61
61
|
return (React.createElement(React.Fragment, null,
|
|
62
|
-
React.createElement("
|
|
62
|
+
React.createElement("span", { className: "k-message-box k-textbox k-input k-input-md k-rounded-md k-input-solid" }, this.props.MessageBox ?
|
|
63
63
|
React.createElement(this.props.MessageBox, { messageInput: messageInput, sendButton: sendButton, toolbarButton: toolbarButton }) :
|
|
64
64
|
React.createElement(React.Fragment, null,
|
|
65
65
|
messageInput,
|
|
@@ -74,7 +74,7 @@ var NewMessage = /** @class */ (function (_super) {
|
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
NewMessage.prototype.getClassNames = function () {
|
|
77
|
-
return classNames({ 'k-focus': this.state.focused }
|
|
77
|
+
return classNames('k-input-inner', { 'k-focus': this.state.focused });
|
|
78
78
|
};
|
|
79
79
|
return NewMessage;
|
|
80
80
|
}(React.Component));
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-conversational-ui',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1693299410,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -48,7 +48,7 @@ var Attachment = /** @class */ (function (_super) {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
Attachment.prototype.getClassNames = function () {
|
|
51
|
-
return (0, kendo_react_common_1.classNames)({ 'k-selected': this.props.selected }, { 'k-focus': this.props.selected },
|
|
51
|
+
return (0, kendo_react_common_1.classNames)({ 'k-selected': this.props.selected }, { 'k-focus': this.props.selected }, { 'k-first': this.props.isFirstItemInGroup }, { 'k-last': this.props.isLastItemInGroup });
|
|
52
52
|
};
|
|
53
53
|
Attachment.prototype.getTitleView = function () {
|
|
54
54
|
return this.props.item.title ?
|
|
@@ -84,7 +84,10 @@ var AttachmentGroup = /** @class */ (function (_super) {
|
|
|
84
84
|
return props.group.attachmentLayout !== 'list';
|
|
85
85
|
};
|
|
86
86
|
AttachmentGroup.prototype.getClassNames = function () {
|
|
87
|
-
return (0, kendo_react_common_1.classNames)({
|
|
87
|
+
return (0, kendo_react_common_1.classNames)({
|
|
88
|
+
'k-card-list': this.props.group.attachmentLayout,
|
|
89
|
+
'k-card-deck': this.isCardDeckLayout(this.props)
|
|
90
|
+
});
|
|
88
91
|
};
|
|
89
92
|
return AttachmentGroup;
|
|
90
93
|
}(SelectableItemsContainer_1.SelectableItemsContainer));
|
|
@@ -58,10 +58,10 @@ var NewMessage = /** @class */ (function (_super) {
|
|
|
58
58
|
var _this = this;
|
|
59
59
|
var localizationService = (0, kendo_react_intl_1.provideLocalizationService)(this);
|
|
60
60
|
var messageInput = (React.createElement("input", { type: "text", className: this.getClassNames(), placeholder: this.props.placeholder, onKeyDown: this.onInputKeyDown, onFocus: function () { return _this.setState({ focused: true }); }, onBlur: function () { return _this.setState({ focused: false }); }, ref: function (el) { return _this.inputEl = el; }, "aria-label": localizationService.toLanguageString(messages_1.newMessageMessageInput, messages_1.messages[messages_1.newMessageMessageInput]) }));
|
|
61
|
-
var sendButton = (React.createElement(kendo_react_buttons_1.Button, { fillMode: "flat", themeColor: "base",
|
|
61
|
+
var sendButton = (React.createElement(kendo_react_buttons_1.Button, { fillMode: "flat", themeColor: "base", className: "k-chat-send", icon: "paper-plane", svgIcon: kendo_svg_icons_1.paperPlaneIcon, onClick: this.sendMessage, "aria-label": localizationService.toLanguageString(messages_1.newMessageSendButton, messages_1.messages[messages_1.newMessageSendButton]), dir: this.props.isDirectionRightToLeft ? 'rtl' : undefined }));
|
|
62
62
|
var toolbarButton = (React.createElement(kendo_react_buttons_1.Button, { fillMode: "flat", themeColor: "base", rounded: null, className: "k-button-toggle", icon: 'more-horizontal', svgIcon: kendo_svg_icons_1.moreHorizontalIcon, onClick: function (event) { return _this.props.onToolbarActionButtonClick(!_this.props.showToolbar, event); }, "aria-label": localizationService.toLanguageString(messages_1.newMessageOptionsButton, messages_1.messages[messages_1.newMessageOptionsButton]) }));
|
|
63
63
|
return (React.createElement(React.Fragment, null,
|
|
64
|
-
React.createElement("
|
|
64
|
+
React.createElement("span", { className: "k-message-box k-textbox k-input k-input-md k-rounded-md k-input-solid" }, this.props.MessageBox ?
|
|
65
65
|
React.createElement(this.props.MessageBox, { messageInput: messageInput, sendButton: sendButton, toolbarButton: toolbarButton }) :
|
|
66
66
|
React.createElement(React.Fragment, null,
|
|
67
67
|
messageInput,
|
|
@@ -76,7 +76,7 @@ var NewMessage = /** @class */ (function (_super) {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
NewMessage.prototype.getClassNames = function () {
|
|
79
|
-
return (0, kendo_react_common_1.classNames)({ 'k-focus': this.state.focused }
|
|
79
|
+
return (0, kendo_react_common_1.classNames)('k-input-inner', { 'k-focus': this.state.focused });
|
|
80
80
|
};
|
|
81
81
|
return NewMessage;
|
|
82
82
|
}(React.Component));
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-conversational-ui',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1693299410,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|