@jetbrains/ring-ui 6.0.24 → 6.0.26
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.
|
@@ -24,7 +24,7 @@ export default class ErrorMessage extends Component {
|
|
|
24
24
|
return (<div className={classes} data-test={dataTests('ring-error-message', dataTest)}>
|
|
25
25
|
{icon && (<Icon className={styles.icon} glyph={icon} size={Size.Size64} suppressSizeWarning/>)}
|
|
26
26
|
<div className={styles.content}>
|
|
27
|
-
<div className={styles.title}>
|
|
27
|
+
<div className={styles.title} data-test="ring-error-message-title">
|
|
28
28
|
{code && `${code}:`} {message}
|
|
29
29
|
</div>
|
|
30
30
|
{description && (<div className={styles.description}>
|
|
@@ -31,7 +31,7 @@ const isPossibleClientSideNavigation = (event) => {
|
|
|
31
31
|
!event.metaKey && // Not open in new tab by user
|
|
32
32
|
!event.ctrlKey && // Not open in new tab by user
|
|
33
33
|
!event.shiftKey && // Not open in new window by user
|
|
34
|
-
event.defaultPrevented;
|
|
34
|
+
!event.defaultPrevented;
|
|
35
35
|
};
|
|
36
36
|
const stop = (event) => {
|
|
37
37
|
if (!isPossibleClientSideNavigation(event)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.26",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -88,26 +88,24 @@
|
|
|
88
88
|
"@rollup/plugin-json": "^6.1.0",
|
|
89
89
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
90
90
|
"@rollup/plugin-replace": "^5.0.5",
|
|
91
|
-
"@storybook/addon-a11y": "8.0.
|
|
92
|
-
"@storybook/addon-docs": "8.0.
|
|
93
|
-
"@storybook/addon-essentials": "8.0.
|
|
94
|
-
"@storybook/
|
|
95
|
-
"@storybook/
|
|
96
|
-
"@storybook/
|
|
97
|
-
"@storybook/
|
|
98
|
-
"@storybook/react": "8.0.
|
|
99
|
-
"@storybook/
|
|
100
|
-
"@storybook/
|
|
101
|
-
"@
|
|
102
|
-
"@storybook/theming": "8.0.9",
|
|
103
|
-
"@testing-library/react": "^15.0.4",
|
|
91
|
+
"@storybook/addon-a11y": "8.0.10",
|
|
92
|
+
"@storybook/addon-docs": "8.0.10",
|
|
93
|
+
"@storybook/addon-essentials": "8.0.10",
|
|
94
|
+
"@storybook/components": "8.0.10",
|
|
95
|
+
"@storybook/manager-api": "8.0.10",
|
|
96
|
+
"@storybook/preview-api": "8.0.10",
|
|
97
|
+
"@storybook/react": "8.0.10",
|
|
98
|
+
"@storybook/react-webpack5": "8.0.10",
|
|
99
|
+
"@storybook/test-runner": "^0.18.0",
|
|
100
|
+
"@storybook/theming": "8.0.10",
|
|
101
|
+
"@testing-library/react": "^15.0.7",
|
|
104
102
|
"@testing-library/user-event": "^14.5.2",
|
|
105
|
-
"@types/chai": "^4.3.
|
|
103
|
+
"@types/chai": "^4.3.16",
|
|
106
104
|
"@types/chai-as-promised": "^7.1.8",
|
|
107
105
|
"@types/chai-dom": "0.0.10",
|
|
108
106
|
"@types/chai-enzyme": "^0.6.13",
|
|
109
107
|
"@types/enzyme": "^3.10.18",
|
|
110
|
-
"@types/markdown-it": "^14.
|
|
108
|
+
"@types/markdown-it": "^14.1.1",
|
|
111
109
|
"@types/react": "^18.3.1",
|
|
112
110
|
"@types/react-dom": "^18.3.0",
|
|
113
111
|
"@types/sinon": "^17.0.3",
|
|
@@ -118,8 +116,8 @@
|
|
|
118
116
|
"acorn": "^8.11.3",
|
|
119
117
|
"axe-playwright": "^2.0.1",
|
|
120
118
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
121
|
-
"caniuse-lite": "^1.0.
|
|
122
|
-
"chai": "^5.1.
|
|
119
|
+
"caniuse-lite": "^1.0.30001617",
|
|
120
|
+
"chai": "^5.1.1",
|
|
123
121
|
"chai-as-promised": "^7.1.1",
|
|
124
122
|
"chai-dom": "^1.10.0",
|
|
125
123
|
"chai-enzyme": "1.0.0-beta.1",
|
|
@@ -156,7 +154,7 @@
|
|
|
156
154
|
"mocha": "^10.4.0",
|
|
157
155
|
"pinst": "^3.0.0",
|
|
158
156
|
"prettier": "^3.2.5",
|
|
159
|
-
"puppeteer": "^22.
|
|
157
|
+
"puppeteer": "^22.8.0",
|
|
160
158
|
"raw-loader": "^4.0.2",
|
|
161
159
|
"react": "^18.3.1",
|
|
162
160
|
"react-dom": "^18.3.1",
|
|
@@ -166,12 +164,12 @@
|
|
|
166
164
|
"rollup": "^4.17.2",
|
|
167
165
|
"rollup-plugin-clear": "^2.0.7",
|
|
168
166
|
"rollup-plugin-styles": "^4.0.0",
|
|
169
|
-
"sinon": "^17.0.
|
|
167
|
+
"sinon": "^17.0.2",
|
|
170
168
|
"sinon-chai": "^3.7.0",
|
|
171
169
|
"storage-mock": "^2.1.0",
|
|
172
|
-
"storybook": "8.0.
|
|
170
|
+
"storybook": "8.0.10",
|
|
173
171
|
"storybook-addon-themes": "^6.1.0",
|
|
174
|
-
"stylelint": "^16.
|
|
172
|
+
"stylelint": "^16.5.0",
|
|
175
173
|
"svg-inline-loader": "^0.8.2",
|
|
176
174
|
"teamcity-service-messages": "^0.1.14",
|
|
177
175
|
"terser-webpack-plugin": "^5.3.10",
|
|
@@ -239,7 +237,7 @@
|
|
|
239
237
|
"postcss-font-family-system-ui": "^5.0.0",
|
|
240
238
|
"postcss-loader": "^8.1.1",
|
|
241
239
|
"postcss-modules-values-replace": "^4.2.0",
|
|
242
|
-
"postcss-preset-env": "^9.5.
|
|
240
|
+
"postcss-preset-env": "^9.5.11",
|
|
243
241
|
"prop-types": "^15.8.1",
|
|
244
242
|
"react-movable": "^3.2.0",
|
|
245
243
|
"react-virtualized": "^9.22.5",
|