@jetbrains/ring-ui 5.0.115 → 5.0.117

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.
@@ -14,6 +14,9 @@
14
14
  flex-direction: column;
15
15
 
16
16
  pointer-events: none;
17
+
18
+ font-family: var(--ring-font-family);
19
+ font-size: var(--ring-font-size);
17
20
  }
18
21
 
19
22
  .alertInContainer {
@@ -98,10 +98,11 @@ export default function FallbackAvatar({ username, size, round }) {
98
98
  </defs>
99
99
  <g>
100
100
  <rect fill={`url(#${gradientId})`} x="0" y="0" width={sizeKey} height={sizeKey} rx={radius} ry={radius}/>
101
- <text x={sizes.text.x} y={sizes.text.y} fontFamily="Arial, Helvetica, sans-serif" fontSize={sizes.fontSize} letterSpacing={sizes.letterSpacing} fill="#FFFFFF" textAnchor={sizes.textAnchor}>
101
+ <text x={sizes.text.x} y={sizes.text.y} fontFamily="Arial, Helvetica, sans-serif" fontSize={sizes.fontSize} letterSpacing={sizes.letterSpacing} fill="#FFFFFF" textAnchor={sizes.textAnchor} cursor="default">
102
102
  <tspan>{extractLetters(username)}</tspan>
103
103
  {sizes.underscore && <tspan x={sizes.underscore.x} y={sizes.underscore.y}>{'_'}</tspan>}
104
104
  </text>
105
+ <title>{username}</title>
105
106
  </g>
106
107
  </svg>);
107
108
  }
@@ -44,7 +44,7 @@ Input
44
44
  border: 1px solid var(--ring-borders-color);
45
45
  border-radius: var(--ring-border-radius);
46
46
  outline: none;
47
- background: transparent;
47
+ background-color: var(--ring-content-background-color);
48
48
 
49
49
  caret-color: var(--ring-main-color);
50
50
 
@@ -119,11 +119,12 @@ function FallbackAvatar(_ref) {
119
119
  fontSize: sizes.fontSize,
120
120
  letterSpacing: sizes.letterSpacing,
121
121
  fill: "#FFFFFF",
122
- textAnchor: sizes.textAnchor
122
+ textAnchor: sizes.textAnchor,
123
+ cursor: "default"
123
124
  }, /*#__PURE__*/React.createElement("tspan", null, extractLetters(username)), sizes.underscore && /*#__PURE__*/React.createElement("tspan", {
124
125
  x: sizes.underscore.x,
125
126
  y: sizes.underscore.y
126
- }, '_'))));
127
+ }, '_')), /*#__PURE__*/React.createElement("title", null, username)));
127
128
  }
128
129
  FallbackAvatar.propTypes = {
129
130
  username: PropTypes.string.isRequired,
@@ -5,11 +5,11 @@ const MAJOR_VERSION_INDEX = 0;
5
5
  /**
6
6
  * SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
7
7
  */
8
- if (!["and_chr 109", "chrome 109", "chrome 108", "edge 109", "edge 108", "firefox 108", "ios_saf 16.2", "ios_saf 16.1", "ios_saf 16.0", "ios_saf 15.6", "op_mini all", "safari 15.6", "samsung 19.0"]) {
8
+ if (!["and_chr 110", "chrome 110", "chrome 109", "edge 110", "edge 109", "firefox 109", "ios_saf 16.3", "ios_saf 16.2", "ios_saf 16.1", "ios_saf 16.0", "ios_saf 15.6", "samsung 19.0"]) {
9
9
  // eslint-disable-next-line no-console
10
10
  console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
11
11
  }
12
- const SUPPORTED = ["and_chr 109", "chrome 109", "chrome 108", "edge 109", "edge 108", "firefox 108", "ios_saf 16.2", "ios_saf 16.1", "ios_saf 16.0", "ios_saf 15.6", "op_mini all", "safari 15.6", "samsung 19.0"] || [];
12
+ const SUPPORTED = ["and_chr 110", "chrome 110", "chrome 109", "edge 110", "edge 109", "firefox 109", "ios_saf 16.3", "ios_saf 16.2", "ios_saf 16.1", "ios_saf 16.0", "ios_saf 15.6", "samsung 19.0"] || [];
13
13
  const WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
14
14
  const WHITE_LIST = SUPPORTED.reduce((acc, item) => {
15
15
  var _item$match;