sceyt-chat-react-uikit 1.6.7-beta.7 → 1.6.7-beta.8
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/index.js +7 -3
- package/index.modern.js +7 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -11176,7 +11176,9 @@ var ReplyMessageText = styled__default.span(_templateObject29 || (_templateObjec
|
|
|
11176
11176
|
var CloseIcon = styled__default(SvgClose)(_templateObject30 || (_templateObject30 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 13px;\n cursor: pointer;\n padding: 15px;\n box-sizing: content-box;\n color: ", ";\n"])), function (props) {
|
|
11177
11177
|
return props.color;
|
|
11178
11178
|
});
|
|
11179
|
-
var ClearTypedText = styled__default(CloseIcon)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 10px;\n cursor: pointer;\n padding: 4px;\n"])))
|
|
11179
|
+
var ClearTypedText = styled__default(CloseIcon)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 10px;\n cursor: pointer;\n padding: 4px;\n color: ", ";\n"])), function (props) {
|
|
11180
|
+
return props.color;
|
|
11181
|
+
});
|
|
11180
11182
|
var StyledSearchSvg = styled__default(SvgSearch)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: absolute;\n top: 12px;\n left: ", ";\n"])), function (props) {
|
|
11181
11183
|
return props.left || '14px';
|
|
11182
11184
|
});
|
|
@@ -19603,7 +19605,8 @@ var ChannelSearch = function ChannelSearch(_ref) {
|
|
|
19603
19605
|
var _useColor = useColors(),
|
|
19604
19606
|
textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
|
|
19605
19607
|
surface1Background = _useColor[THEME_COLORS.SURFACE_1],
|
|
19606
|
-
textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY]
|
|
19608
|
+
textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
|
|
19609
|
+
iconPrimary = _useColor[THEME_COLORS.ICON_PRIMARY];
|
|
19607
19610
|
return /*#__PURE__*/React__default.createElement(SearchInputContainer, {
|
|
19608
19611
|
inline: inline,
|
|
19609
19612
|
borderColor: surface1Background
|
|
@@ -19620,7 +19623,8 @@ var ChannelSearch = function ChannelSearch(_ref) {
|
|
|
19620
19623
|
placeholder: 'Search for channels',
|
|
19621
19624
|
fontSize: fontSize
|
|
19622
19625
|
}), searchValue && /*#__PURE__*/React__default.createElement(ClearTypedText, {
|
|
19623
|
-
onClick: getMyChannels
|
|
19626
|
+
onClick: getMyChannels,
|
|
19627
|
+
color: iconPrimary
|
|
19624
19628
|
}));
|
|
19625
19629
|
};
|
|
19626
19630
|
|
package/index.modern.js
CHANGED
|
@@ -11153,7 +11153,9 @@ var ReplyMessageText = styled.span(_templateObject29 || (_templateObject29 = _ta
|
|
|
11153
11153
|
var CloseIcon = styled(SvgClose)(_templateObject30 || (_templateObject30 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 13px;\n cursor: pointer;\n padding: 15px;\n box-sizing: content-box;\n color: ", ";\n"])), function (props) {
|
|
11154
11154
|
return props.color;
|
|
11155
11155
|
});
|
|
11156
|
-
var ClearTypedText = styled(CloseIcon)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 10px;\n cursor: pointer;\n padding: 4px;\n"])))
|
|
11156
|
+
var ClearTypedText = styled(CloseIcon)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 10px;\n cursor: pointer;\n padding: 4px;\n color: ", ";\n"])), function (props) {
|
|
11157
|
+
return props.color;
|
|
11158
|
+
});
|
|
11157
11159
|
var StyledSearchSvg = styled(SvgSearch)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: absolute;\n top: 12px;\n left: ", ";\n"])), function (props) {
|
|
11158
11160
|
return props.left || '14px';
|
|
11159
11161
|
});
|
|
@@ -19580,7 +19582,8 @@ var ChannelSearch = function ChannelSearch(_ref) {
|
|
|
19580
19582
|
var _useColor = useColors(),
|
|
19581
19583
|
textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
|
|
19582
19584
|
surface1Background = _useColor[THEME_COLORS.SURFACE_1],
|
|
19583
|
-
textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY]
|
|
19585
|
+
textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
|
|
19586
|
+
iconPrimary = _useColor[THEME_COLORS.ICON_PRIMARY];
|
|
19584
19587
|
return /*#__PURE__*/React__default.createElement(SearchInputContainer, {
|
|
19585
19588
|
inline: inline,
|
|
19586
19589
|
borderColor: surface1Background
|
|
@@ -19597,7 +19600,8 @@ var ChannelSearch = function ChannelSearch(_ref) {
|
|
|
19597
19600
|
placeholder: 'Search for channels',
|
|
19598
19601
|
fontSize: fontSize
|
|
19599
19602
|
}), searchValue && /*#__PURE__*/React__default.createElement(ClearTypedText, {
|
|
19600
|
-
onClick: getMyChannels
|
|
19603
|
+
onClick: getMyChannels,
|
|
19604
|
+
color: iconPrimary
|
|
19601
19605
|
}));
|
|
19602
19606
|
};
|
|
19603
19607
|
|