sceyt-chat-react-uikit 1.7.6-beta.11 → 1.7.6-beta.12

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 CHANGED
@@ -23186,7 +23186,9 @@ function JoinGroupPopup(_ref) {
23186
23186
  textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
23187
23187
  background = _useColor[THEME_COLORS.BACKGROUND],
23188
23188
  iconPrimary = _useColor[THEME_COLORS.ICON_PRIMARY],
23189
- surface1 = _useColor[THEME_COLORS.SURFACE_1];
23189
+ surface1 = _useColor[THEME_COLORS.SURFACE_1],
23190
+ accentColor = _useColor[THEME_COLORS.ACCENT],
23191
+ textOnPrimary = _useColor[THEME_COLORS.TEXT_ON_PRIMARY];
23190
23192
  var contactsMap = useSelector(contactsMapSelector, reactRedux.shallowEqual);
23191
23193
  var members = React.useMemo(function () {
23192
23194
  return channel.members.map(function (m) {
@@ -23286,8 +23288,8 @@ function JoinGroupPopup(_ref) {
23286
23288
  color: textSecondary
23287
23289
  }, membersLine), /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(Button, {
23288
23290
  type: 'button',
23289
- color: '#fff',
23290
- backgroundColor: '#0DBD8B',
23291
+ color: textOnPrimary,
23292
+ backgroundColor: accentColor,
23291
23293
  borderRadius: '8px',
23292
23294
  onClick: onJoin
23293
23295
  }, joinButtonText)))));
package/index.modern.js CHANGED
@@ -23185,7 +23185,9 @@ function JoinGroupPopup(_ref) {
23185
23185
  textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
23186
23186
  background = _useColor[THEME_COLORS.BACKGROUND],
23187
23187
  iconPrimary = _useColor[THEME_COLORS.ICON_PRIMARY],
23188
- surface1 = _useColor[THEME_COLORS.SURFACE_1];
23188
+ surface1 = _useColor[THEME_COLORS.SURFACE_1],
23189
+ accentColor = _useColor[THEME_COLORS.ACCENT],
23190
+ textOnPrimary = _useColor[THEME_COLORS.TEXT_ON_PRIMARY];
23189
23191
  var contactsMap = useSelector(contactsMapSelector, shallowEqual);
23190
23192
  var members = useMemo(function () {
23191
23193
  return channel.members.map(function (m) {
@@ -23285,8 +23287,8 @@ function JoinGroupPopup(_ref) {
23285
23287
  color: textSecondary
23286
23288
  }, membersLine), /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(Button, {
23287
23289
  type: 'button',
23288
- color: '#fff',
23289
- backgroundColor: '#0DBD8B',
23290
+ color: textOnPrimary,
23291
+ backgroundColor: accentColor,
23290
23292
  borderRadius: '8px',
23291
23293
  onClick: onJoin
23292
23294
  }, joinButtonText)))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.7.6-beta.11",
3
+ "version": "1.7.6-beta.12",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",