@jetbrains/ring-ui 7.0.25 → 7.0.27

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.
@@ -331,6 +331,12 @@
331
331
  box-shadow: var(--ring-button-shadow) var(--ring-button-default-border-color);
332
332
  }
333
333
 
334
+ .loader.inline {
335
+ animation-name: text-loading;
336
+ animation-duration: 1200ms;
337
+ animation-iteration-count: infinite;
338
+ }
339
+
334
340
  .loaderBackground {
335
341
  position: absolute;
336
342
  z-index: -1;
@@ -365,8 +371,7 @@
365
371
  }
366
372
  }
367
373
 
368
- .flat .loaderBackground,
369
- .inline .loaderBackground {
374
+ .flat .loaderBackground {
370
375
  top: 0;
371
376
  right: 0;
372
377
  bottom: 0;
@@ -408,3 +413,9 @@
408
413
  transform: translateX(0);
409
414
  }
410
415
  }
416
+
417
+ @keyframes text-loading {
418
+ 50% {
419
+ opacity: 0.5;
420
+ }
421
+ }
@@ -40,7 +40,7 @@ export class Button extends PureComponent {
40
40
  tabIndex: loader ? -1 : 0,
41
41
  ...props,
42
42
  className: classes,
43
- children: (_jsxs(_Fragment, { children: [loader && _jsx("div", { className: styles.loaderBackground }), content] })),
43
+ children: (_jsxs(_Fragment, { children: [loader && !isInline && _jsx("div", { className: styles.loaderBackground }), content] })),
44
44
  };
45
45
  return commonProps.href != null ? (_jsx(ClickableLink, { ...commonProps })) : (_jsx("button", { ref: this.buttonRef, type: "button", ...commonProps }));
46
46
  }
@@ -304,7 +304,7 @@
304
304
  color: var(--ring-disabled-color);
305
305
  }
306
306
 
307
- .item:not(.action),
307
+ .item:not(.action, .hint),
308
308
  .disabled {
309
309
  pointer-events: none;
310
310
  }
@@ -442,7 +442,8 @@ export default class List extends Component {
442
442
  // ensure rerendering
443
443
  noop: () => { }, scrollToIndex: !this.props.disableScrollToActive && this.state.needScrollToActive && this.state.activeIndex != null
444
444
  ? this.state.activeIndex + 1
445
- : undefined, scrollToAlignment: "center", deferredMeasurementCache: this._cache, onRowsRendered: this.checkOverflow }) })) }));
445
+ : undefined, scrollToAlignment: "center", deferredMeasurementCache: this._cache, onRowsRendered: this.checkOverflow, containerRole: "none" // row role is set by rowRenderer
446
+ }) })) }));
446
447
  }
447
448
  renderVirtualized(maxHeight, rowCount) {
448
449
  if (maxHeight) {
@@ -7,12 +7,12 @@ const macSymbolsMap = {
7
7
  alt: '⌥',
8
8
  ctrl: '⌃',
9
9
  backspace: '⌫',
10
- esc: 'Esc',
11
- tab: 'Tab',
12
- del: 'Del',
13
- home: 'Home',
14
- end: 'End',
15
- space: 'Space',
10
+ esc: '',
11
+ tab: '',
12
+ del: '',
13
+ home: '',
14
+ end: '',
15
+ space: '',
16
16
  ins: 'Insert',
17
17
  left: '←',
18
18
  up: '↑',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "7.0.25",
3
+ "version": "7.0.27",
4
4
  "description": "JetBrains UI library",
5
5
  "author": {
6
6
  "name": "JetBrains"
@@ -90,31 +90,31 @@
90
90
  "@babel/plugin-syntax-import-assertions": "^7.26.0",
91
91
  "@csstools/css-parser-algorithms": "^3.0.4",
92
92
  "@csstools/stylelint-no-at-nest-rule": "^4.0.0",
93
- "@eslint/compat": "^1.2.5",
93
+ "@eslint/compat": "^1.2.6",
94
94
  "@eslint/eslintrc": "^3.2.0",
95
- "@eslint/js": "^9.18.0",
95
+ "@eslint/js": "^9.19.0",
96
96
  "@figma/code-connect": "^1.2.4",
97
97
  "@jetbrains/eslint-config": "^6.0.4",
98
98
  "@jetbrains/logos": "3.0.0-canary.734b213.0",
99
99
  "@jetbrains/rollup-css-plugin": "./packages/rollup-css-plugin",
100
100
  "@jetbrains/stylelint-config": "^4.0.2",
101
- "@primer/octicons": "^19.14.0",
101
+ "@primer/octicons": "^19.15.0",
102
102
  "@rollup/plugin-babel": "^6.0.4",
103
103
  "@rollup/plugin-json": "^6.1.0",
104
104
  "@rollup/plugin-node-resolve": "^16.0.0",
105
105
  "@rollup/plugin-replace": "^6.0.2",
106
- "@storybook/addon-a11y": "8.4.7",
107
- "@storybook/addon-docs": "8.4.7",
108
- "@storybook/addon-essentials": "8.4.7",
109
- "@storybook/addon-themes": "^8.4.7",
110
- "@storybook/components": "8.4.7",
106
+ "@storybook/addon-a11y": "8.5.3",
107
+ "@storybook/addon-docs": "8.5.3",
108
+ "@storybook/addon-essentials": "8.5.3",
109
+ "@storybook/addon-themes": "^8.5.3",
110
+ "@storybook/components": "8.5.3",
111
111
  "@storybook/csf": "^0.1.13",
112
- "@storybook/manager-api": "8.4.7",
113
- "@storybook/preview-api": "8.4.7",
114
- "@storybook/react": "8.4.7",
115
- "@storybook/react-webpack5": "8.4.7",
112
+ "@storybook/manager-api": "8.5.3",
113
+ "@storybook/preview-api": "8.5.3",
114
+ "@storybook/react": "8.5.3",
115
+ "@storybook/react-webpack5": "8.5.3",
116
116
  "@storybook/test-runner": "^0.21.0",
117
- "@storybook/theming": "8.4.7",
117
+ "@storybook/theming": "8.5.3",
118
118
  "@testing-library/dom": "^10.4.0",
119
119
  "@testing-library/react": "^16.2.0",
120
120
  "@testing-library/user-event": "^14.6.1",
@@ -129,25 +129,25 @@
129
129
  "@types/react-dom": "^18.3.1",
130
130
  "@types/sinon": "^17.0.3",
131
131
  "@types/sinon-chai": "^4.0.0",
132
- "@types/webpack-env": "^1.18.5",
132
+ "@types/webpack-env": "^1.18.8",
133
133
  "@vitejs/plugin-react": "^4.3.4",
134
134
  "@vitest/eslint-plugin": "^1.1.25",
135
135
  "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
136
136
  "acorn": "^8.14.0",
137
- "axe-playwright": "^2.0.3",
137
+ "axe-playwright": "^2.1.0",
138
138
  "babel-plugin-require-context-hook": "^1.0.0",
139
- "caniuse-lite": "^1.0.30001695",
139
+ "caniuse-lite": "^1.0.30001698",
140
140
  "chai": "^5.1.2",
141
141
  "chai-as-promised": "^8.0.1",
142
142
  "chai-dom": "^1.10.0",
143
143
  "chai-enzyme": "1.0.0-beta.1",
144
144
  "cheerio": "^1.0.0-rc.12",
145
- "chromatic": "^11.25.1",
145
+ "chromatic": "^11.25.2",
146
146
  "core-js": "^3.40.0",
147
147
  "cpy-cli": "^5.0.0",
148
148
  "dotenv-cli": "^8.0.0",
149
149
  "enzyme": "^3.11.0",
150
- "eslint": "^9.18.0",
150
+ "eslint": "^9.19.0",
151
151
  "eslint-config-prettier": "^10.0.1",
152
152
  "eslint-formatter-jslint-xml": "^8.40.0",
153
153
  "eslint-import-resolver-webpack": "^0.13.10",
@@ -167,7 +167,7 @@
167
167
  "jest": "~29.7.0",
168
168
  "jest-environment-jsdom": "^29.7.0",
169
169
  "jest-teamcity": "^1.12.0",
170
- "lint-staged": "^15.4.2",
170
+ "lint-staged": "^15.4.3",
171
171
  "markdown-it": "^14.1.0",
172
172
  "merge-options": "^3.0.4",
173
173
  "pinst": "^3.0.0",
@@ -178,19 +178,19 @@
178
178
  "react-test-renderer": "^19.0.0",
179
179
  "regenerator-runtime": "^0.14.1",
180
180
  "rimraf": "^6.0.1",
181
- "rollup": "^4.32.0",
181
+ "rollup": "^4.34.5",
182
182
  "rollup-plugin-clear": "^2.0.7",
183
183
  "sinon": "^19.0.2",
184
184
  "sinon-chai": "^4.0.0",
185
185
  "storage-mock": "^2.1.0",
186
- "storybook": "8.4.7",
187
- "stylelint": "^16.13.2",
186
+ "storybook": "8.5.3",
187
+ "stylelint": "^16.14.1",
188
188
  "svg-inline-loader": "^0.8.2",
189
189
  "teamcity-service-messages": "^0.1.14",
190
190
  "terser-webpack-plugin": "^5.3.11",
191
191
  "typescript": "~5.7.3",
192
- "typescript-eslint": "^8.21.0",
193
- "vitest": "^3.0.4",
192
+ "typescript-eslint": "^8.23.0",
193
+ "vitest": "^3.0.5",
194
194
  "vitest-teamcity-reporter": "^0.3.1",
195
195
  "wallaby-webpack": "^3.9.16",
196
196
  "webpack": "^5.97.1",
@@ -217,7 +217,7 @@
217
217
  }
218
218
  },
219
219
  "dependencies": {
220
- "@babel/core": "^7.26.0",
220
+ "@babel/core": "^7.26.7",
221
221
  "@babel/preset-typescript": "^7.26.0",
222
222
  "@jetbrains/babel-preset-jetbrains": "^2.4.0",
223
223
  "@jetbrains/icons": "^5.4.0",
@@ -245,14 +245,14 @@
245
245
  "just-debounce-it": "^3.2.0",
246
246
  "memoize-one": "^6.0.0",
247
247
  "postcss": "^8.5.1",
248
- "postcss-calc": "^10.1.0",
248
+ "postcss-calc": "^10.1.1",
249
249
  "postcss-flexbugs-fixes": "^5.0.2",
250
250
  "postcss-font-family-system-ui": "^5.0.0",
251
251
  "postcss-loader": "^8.1.1",
252
252
  "postcss-modules-values-replace": "^4.2.0",
253
253
  "postcss-preset-env": "^10.1.3",
254
254
  "react-movable": "^3.4.0",
255
- "react-virtualized": "^9.22.5",
255
+ "react-virtualized": "^9.22.6",
256
256
  "react-waypoint": "^10.3.0",
257
257
  "scrollbar-width": "^3.1.1",
258
258
  "simply-uuid": "^1.0.1",