@jetbrains/ring-ui 7.0.51 → 7.0.53

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.
@@ -1,4 +1,3 @@
1
- import ExtendableError from 'es6-error';
2
1
  export interface AuthResponse {
3
2
  accessToken?: string;
4
3
  state?: string;
@@ -10,7 +9,7 @@ export interface AuthResponse {
10
9
  errorUri?: string;
11
10
  restoreAuthState?: string;
12
11
  }
13
- export declare class AuthError extends ExtendableError {
12
+ export declare class AuthError extends Error {
14
13
  code: string | Error | AuthError | undefined;
15
14
  uri: string | undefined;
16
15
  stateId: string | undefined;
@@ -1,6 +1,5 @@
1
- import ExtendableError from 'es6-error';
2
1
  import { parseQueryString } from '../global/url';
3
- export class AuthError extends ExtendableError {
2
+ export class AuthError extends Error {
4
3
  code;
5
4
  uri;
6
5
  stateId;
@@ -1,10 +1,9 @@
1
- import ExtendableError from 'es6-error';
2
1
  import AuthStorage, { StoredToken } from './storage';
3
2
  export interface TokenValidatorConfig {
4
3
  scope: string[];
5
4
  optionalScopes?: readonly string[] | null | undefined;
6
5
  }
7
- export declare class TokenValidationError extends ExtendableError {
6
+ export declare class TokenValidationError extends Error {
8
7
  cause: Error | undefined;
9
8
  authRedirect: true;
10
9
  constructor(message: string, cause?: Error);
@@ -1,6 +1,5 @@
1
- import ExtendableError from 'es6-error';
2
1
  import { CODE } from '../http/http';
3
- export class TokenValidationError extends ExtendableError {
2
+ export class TokenValidationError extends Error {
4
3
  cause;
5
4
  authRedirect;
6
5
  constructor(message, cause) {
@@ -71,7 +71,7 @@ class DataList extends PureComponent {
71
71
  const item = itemFormatter(model);
72
72
  const { id, key, title, items } = item;
73
73
  const showMoreLessButton = this.props.itemMoreLessState?.(item);
74
- return (_jsx(Item, { item: model, title: title, items: items, itemFormatter: itemFormatter, collapsible: item.collapsible, collapsed: item.collapsed, onCollapse: item.onCollapse, onExpand: item.onExpand, showFocus: selection.isFocused(model), onFocus: this.onItemFocus, selection: selection, selectable: item.selectable, selected: selection.isSelected(model), onSelect: this.onItemSelect, showMoreLessButton: showMoreLessButton, onItemMoreLess: this.props.onItemMoreLess }, key || id));
74
+ return (_jsx(Item, { item: model, title: title, items: items, itemFormatter: itemFormatter, collapsible: item.collapsible, collapsed: item.collapsed, onCollapse: item.onCollapse, onExpand: item.onExpand, showFocus: selection.isFocused(model), onFocus: this.onItemFocus, selection: selection, selectable: item.selectable, selected: selection.isSelected(model), partialSelected: selection.isPartialSelected(model), onSelect: this.onItemSelect, showMoreLessButton: showMoreLessButton, onItemMoreLess: this.props.onItemMoreLess }, key || id));
75
75
  }) }), loading && (_jsx("div", { className: data.length > 0 ? styles.loadingOverlay : undefined, children: _jsx(Loader, {}) }))] }));
76
76
  }
77
77
  }
@@ -1,5 +1,6 @@
1
1
  import { PureComponent, ReactNode } from 'react';
2
- import Selection, { SelectionItem } from '../table/selection';
2
+ import { SelectionItem } from '../table/selection';
3
+ import Selection from './selection';
3
4
  export declare enum moreLessButtonStates {
4
5
  UNUSED = 0,
5
6
  MORE = 1,
@@ -32,6 +33,7 @@ export interface ItemProps<T extends SelectionItem> extends BaseFormattedItem<T>
32
33
  showFocus?: boolean | undefined;
33
34
  selection: Selection<T>;
34
35
  selected?: boolean | undefined;
36
+ partialSelected?: boolean | undefined;
35
37
  }
36
38
  export default class Item<T extends SelectionItem> extends PureComponent<ItemProps<T>> {
37
39
  static defaultProps: {
@@ -44,10 +44,10 @@ export default class Item extends PureComponent {
44
44
  renderItem = (model, parentShift) => {
45
45
  const { onFocus, onSelect, selection, level, itemFormatter } = this.props;
46
46
  const item = itemFormatter(model);
47
- return (_jsx(Item, { item: model, title: item.title, items: item.items, level: level + 1, parentShift: parentShift, itemFormatter: itemFormatter, collapsible: item.collapsible, collapsed: item.collapsed, onCollapse: item.onCollapse, onExpand: item.onExpand, showFocus: selection.isFocused(model), onFocus: onFocus, selection: selection, selectable: item.selectable, selected: selection.isSelected(model), onSelect: onSelect }, item.key || item.id));
47
+ return (_jsx(Item, { item: model, title: item.title, items: item.items, level: level + 1, parentShift: parentShift, itemFormatter: itemFormatter, collapsible: item.collapsible, collapsed: item.collapsed, onCollapse: item.onCollapse, onExpand: item.onExpand, showFocus: selection.isFocused(model), onFocus: onFocus, selection: selection, selectable: item.selectable, selected: selection.isSelected(model), partialSelected: selection.isPartialSelected(model), onSelect: onSelect }, item.key || item.id));
48
48
  };
49
49
  render() {
50
- const { title, items, showMoreLessButton, level, parentShift, showFocus, selectable, selected, collapsible, collapsed, onCollapse, onExpand, } = this.props;
50
+ const { title, items, showMoreLessButton, level, parentShift, showFocus, selectable, selected, partialSelected, collapsible, collapsed, onCollapse, onExpand, } = this.props;
51
51
  let moreLessButton;
52
52
  if (showMoreLessButton === moreLessButtonStates.MORE || showMoreLessButton === moreLessButtonStates.MORE_LOADING) {
53
53
  moreLessButton = (_jsxs(Text, { info: true, children: [_jsx(Link, { inherit: true, pseudo: true, onClick: this.onShowMore, children: 'Show more' }), showMoreLessButton === moreLessButtonStates.MORE_LOADING && (_jsx(LoaderInline, { className: styles.showMoreLoader }))] }));
@@ -66,6 +66,6 @@ export default class Item extends PureComponent {
66
66
  }
67
67
  const itemIsEmpty = !items?.length || (collapsible && collapsed);
68
68
  const offset = level * LIST_LEFT_OFFSET + ITEM_LEFT_OFFSET + parentShift;
69
- return (_jsxs("li", { children: [_jsx(Title, { title: title, focused: showFocus, showFocus: showFocus, selectable: selectable, selected: selected, collapserExpander: collapserExpander, onFocus: this.onFocus, onSelect: this.onSelect, offset: offset }), !itemIsEmpty ? (_jsxs("ul", { className: styles.itemContent, children: [items.map(model => this.renderItem(model, parentShift)), showMoreLessButton !== moreLessButtonStates.UNUSED ? (_jsx("li", { className: styles.showMore, children: moreLessButton })) : null] })) : null] }));
69
+ return (_jsxs("li", { children: [_jsx(Title, { title: title, focused: showFocus, showFocus: showFocus, selectable: selectable, selected: selected, partialSelected: partialSelected, collapserExpander: collapserExpander, onFocus: this.onFocus, onSelect: this.onSelect, offset: offset }), !itemIsEmpty ? (_jsxs("ul", { className: styles.itemContent, children: [items.map(model => this.renderItem(model, parentShift)), showMoreLessButton !== moreLessButtonStates.UNUSED ? (_jsx("li", { className: styles.showMore, children: moreLessButton })) : null] })) : null] }));
70
70
  }
71
71
  }
@@ -1,5 +1,13 @@
1
- import TableSelection, { CloneWithConfig, SelectionItem } from '../table/selection';
1
+ import TableSelection, { CloneWithConfig, SelectionItem, TableSelectionConfig } from '../table/selection';
2
+ interface DataListSelectionConfig<T extends SelectionItem> extends TableSelectionConfig<T> {
3
+ partialSelected?: Set<T> | undefined;
4
+ }
5
+ interface DataListCloneWithConfig<T> extends CloneWithConfig<T> {
6
+ partialSelected?: Set<T> | undefined;
7
+ }
2
8
  export default class Selection<T extends SelectionItem> extends TableSelection<T> {
9
+ protected _partialSelected: Set<T>;
10
+ constructor({ partialSelected, ...props }: DataListSelectionConfig<T>);
3
11
  protected _buildData(data: T[]): Set<T>;
4
12
  protected _buildSelected(data: Set<T>, selected: Set<T>): Set<T>;
5
13
  private _getDescendants;
@@ -9,8 +17,10 @@ export default class Selection<T extends SelectionItem> extends TableSelection<T
9
17
  private _selectAncestors;
10
18
  private _deselectAncestors;
11
19
  select(value?: T | null): Selection<T>;
20
+ isPartialSelected(value: T | null): boolean;
12
21
  focus(value: T | null | undefined): Selection<T>;
13
22
  resetSelection(): Selection<T>;
14
- cloneWith(config: CloneWithConfig<T>): Selection<T>;
23
+ cloneWith({ partialSelected, ...rest }: DataListCloneWithConfig<T>): Selection<T>;
15
24
  deselect(value?: T | null): Selection<T>;
16
25
  }
26
+ export {};
@@ -1,5 +1,10 @@
1
1
  import TableSelection from '../table/selection';
2
2
  export default class Selection extends TableSelection {
3
+ _partialSelected;
4
+ constructor({ partialSelected = new Set(), ...props }) {
5
+ super(props);
6
+ this._partialSelected = partialSelected;
7
+ }
3
8
  _buildData(data) {
4
9
  return new Set(this._getDescendants(data));
5
10
  }
@@ -7,7 +12,7 @@ export default class Selection extends TableSelection {
7
12
  const _selected = new Set(selected);
8
13
  [...data].forEach(item => {
9
14
  if (_selected.has(item)) {
10
- this._selectDescendants(item, _selected);
15
+ this._selectDescendants(item, _selected, this._partialSelected);
11
16
  }
12
17
  });
13
18
  return _selected;
@@ -28,34 +33,64 @@ export default class Selection extends TableSelection {
28
33
  }
29
34
  return result;
30
35
  }
31
- _selectDescendants(item, selected) {
32
- this._getDescendants(this._getChildren(item)).forEach(it => selected.add(it));
36
+ _selectDescendants(item, selected, partialSelected) {
37
+ this._getDescendants(this._getChildren(item)).forEach(it => {
38
+ selected.add(it);
39
+ partialSelected.delete(it);
40
+ });
33
41
  }
34
- _deselectDescendants(item, selected) {
35
- this._getDescendants(this._getChildren(item)).forEach(it => selected.delete(it));
42
+ _deselectDescendants(item, selected, partialSelected) {
43
+ this._getDescendants(this._getChildren(item)).forEach(it => {
44
+ selected.delete(it);
45
+ partialSelected.delete(it);
46
+ });
36
47
  }
37
- _selectAncestors(item, selected) {
48
+ _selectAncestors(item, selected, partialSelected) {
38
49
  this._getAncestors(item).forEach(ancestor => {
39
50
  const groupIsSelected = this._getChildren(ancestor)
40
51
  .filter(it => this._isItemSelectable(it))
41
52
  .every(it => selected.has(it));
53
+ const groupIsPartialSelected = this._getChildren(ancestor)
54
+ .filter(it => this._isItemSelectable(it))
55
+ .some(it => selected.has(it) || partialSelected.has(it));
42
56
  if (groupIsSelected) {
43
57
  selected.add(ancestor);
58
+ partialSelected.delete(ancestor);
59
+ }
60
+ else if (groupIsPartialSelected) {
61
+ partialSelected.add(ancestor);
44
62
  }
45
63
  });
46
64
  }
47
- _deselectAncestors(item, selected) {
48
- this._getAncestors(item).forEach(it => selected.delete(it));
65
+ _deselectAncestors(item, selected, partialSelected) {
66
+ this._getAncestors(item).forEach(ancestor => {
67
+ const groupIsPartialSelected = this._getChildren(ancestor)
68
+ .filter(it => this._isItemSelectable(it))
69
+ .filter(it => it !== item)
70
+ .some(it => selected.has(it) || partialSelected.has(it));
71
+ if (groupIsPartialSelected) {
72
+ partialSelected.add(ancestor);
73
+ }
74
+ else {
75
+ partialSelected.delete(ancestor);
76
+ }
77
+ selected.delete(ancestor);
78
+ });
49
79
  }
50
80
  select(value = this._focused) {
51
81
  if (!value || !this._isItemSelectable(value)) {
52
82
  return this;
53
83
  }
54
84
  const selected = new Set(this._selected);
85
+ const partialSelected = new Set(this._partialSelected);
55
86
  selected.add(value);
56
- this._selectDescendants(value, selected);
57
- this._selectAncestors(value, selected);
58
- return this.cloneWith({ selected });
87
+ partialSelected.delete(value);
88
+ this._selectDescendants(value, selected, partialSelected);
89
+ this._selectAncestors(value, selected, partialSelected);
90
+ return this.cloneWith({ selected, partialSelected });
91
+ }
92
+ isPartialSelected(value) {
93
+ return value != null && this._partialSelected.has(value);
59
94
  }
60
95
  focus(value) {
61
96
  return super.focus(value);
@@ -63,17 +98,28 @@ export default class Selection extends TableSelection {
63
98
  resetSelection() {
64
99
  return super.resetSelection();
65
100
  }
66
- cloneWith(config) {
67
- return super.cloneWith(config);
101
+ cloneWith({ partialSelected = this._partialSelected, ...rest }) {
102
+ const parentClone = super.cloneWith(rest);
103
+ return new this.constructor({
104
+ data: parentClone._rawData,
105
+ selected: parentClone._selected,
106
+ focused: parentClone._focused,
107
+ getKey: parentClone._getKey,
108
+ getChildren: parentClone._getChildren,
109
+ isItemSelectable: parentClone._isItemSelectable,
110
+ partialSelected,
111
+ });
68
112
  }
69
113
  deselect(value = this._focused) {
70
114
  if (!value || !this._isItemSelectable(value)) {
71
115
  return this;
72
116
  }
73
117
  const selected = new Set(this._selected);
118
+ const partialSelected = new Set(this._partialSelected);
74
119
  selected.delete(value);
75
- this._deselectDescendants(value, selected);
76
- this._deselectAncestors(value, selected);
77
- return this.cloneWith({ selected });
120
+ partialSelected.delete(value);
121
+ this._deselectDescendants(value, selected, partialSelected);
122
+ this._deselectAncestors(value, selected, partialSelected);
123
+ return this.cloneWith({ selected, partialSelected });
78
124
  }
79
125
  }
@@ -4,6 +4,7 @@ export interface TitleProps extends FocusSensorAddProps<HTMLDivElement> {
4
4
  onSelect: (selected: boolean) => void;
5
5
  selectable?: boolean | undefined;
6
6
  selected?: boolean | undefined;
7
+ partialSelected?: boolean | undefined;
7
8
  showFocus?: boolean | undefined;
8
9
  offset?: number | undefined;
9
10
  className?: string | null | undefined;
@@ -25,13 +25,13 @@ class Title extends PureComponent {
25
25
  }
26
26
  }
27
27
  render() {
28
- const { className, title, offset, showFocus, innerRef, selectable, selected, collapserExpander } = this.props;
28
+ const { className, title, offset, showFocus, innerRef, selectable, selected, partialSelected, collapserExpander } = this.props;
29
29
  const classes = classNames(className, {
30
30
  [styles.title]: true,
31
31
  [styles.titleFocused]: showFocus,
32
32
  [styles.titleSelected]: selected,
33
33
  });
34
- return (_jsxs("div", { id: this.id, className: classes, style: { paddingLeft: offset }, ref: innerRef, children: [_jsxs("div", { className: styles.boxes, children: [selectable && (_jsx("div", { className: styles.checkboxBox, children: _jsx(Checkbox, { "aria-labelledby": this.id, className: showFocus ? 'ring-checkbox_focus' : '', checked: selected, onFocus: this.onCheckboxFocus, onChange: this.onCheckboxChange, tabIndex: -1 }) })), collapserExpander] }), title] }));
34
+ return (_jsxs("div", { id: this.id, className: classes, style: { paddingLeft: offset }, ref: innerRef, children: [_jsxs("div", { className: styles.boxes, children: [selectable && (_jsx("div", { className: styles.checkboxBox, children: _jsx(Checkbox, { "aria-labelledby": this.id, className: showFocus ? 'ring-checkbox_focus' : '', checked: selected, indeterminate: partialSelected, onFocus: this.onCheckboxFocus, onChange: this.onCheckboxChange, tabIndex: -1 }) })), collapserExpander] }), title] }));
35
35
  }
36
36
  }
37
37
  export default focusSensorHOC(Title);
@@ -1,7 +1,6 @@
1
- import ExtendableError from 'es6-error';
2
1
  export declare const defaultFetchConfig: RequestInit;
3
2
  export type HTTPErrorData = Record<string, unknown>;
4
- export declare class HTTPError extends ExtendableError {
3
+ export declare class HTTPError extends Error {
5
4
  data: HTTPErrorData;
6
5
  status: number | undefined;
7
6
  constructor(response: Partial<Response>, data?: HTTPErrorData);
@@ -1,4 +1,3 @@
1
- import ExtendableError from 'es6-error';
2
1
  import { encodeURL, joinBaseURLAndPath } from '../global/url';
3
2
  /**
4
3
  * @name HTTP
@@ -11,7 +10,7 @@ export const defaultFetchConfig = {
11
10
  },
12
11
  credentials: 'same-origin',
13
12
  };
14
- export class HTTPError extends ExtendableError {
13
+ export class HTTPError extends Error {
15
14
  data;
16
15
  status;
17
16
  constructor(response, data = {}) {
@@ -13,7 +13,7 @@ export default function adaptiveIslandHOC(ComposedComponent) {
13
13
  onContentScroll = ({ scrollTop, scrollHeight, clientHeight }) => {
14
14
  if (scrollHeight - clientHeight >=
15
15
  interpolateLinear(TITLE_RESIZE_THRESHOLD, TITLE_RESIZE_END, this.state.phase ?? 0)) {
16
- const phase = Math.min(1, scrollTop / TITLE_RESIZE_END);
16
+ const phase = Math.min(1, Math.max(0, scrollTop) / TITLE_RESIZE_END);
17
17
  this.setState({ phase });
18
18
  }
19
19
  };
@@ -14,7 +14,7 @@ const Start = {
14
14
  SPACING: 0,
15
15
  };
16
16
  const End = {
17
- FONT_SIZE: 13,
17
+ FONT_SIZE: 14,
18
18
  LINE_HEIGHT: 20,
19
19
  PADDING_TOP: 16,
20
20
  PADDING_BOTTOM: 8,
@@ -31,6 +31,19 @@ class Header extends Component {
31
31
  style(name) {
32
32
  return interpolateLinear(Start[name], End[name], this.props.phase ?? 0);
33
33
  }
34
+ getTitleStyle(phase) {
35
+ if (phase === undefined)
36
+ return;
37
+ if (phase < 1) {
38
+ const scaleFont = this.style('FONT_SIZE') / Start.FONT_SIZE;
39
+ return {
40
+ fontSize: Start.FONT_SIZE,
41
+ transform: `translate(${this.style('X')}px, ${this.style('Y')}px) scale(${scaleFont})`,
42
+ letterSpacing: this.style('SPACING'),
43
+ };
44
+ }
45
+ return { fontSize: End.FONT_SIZE };
46
+ }
34
47
  render() {
35
48
  const { children, className, wrapWithTitle, border, phase, ...restProps } = this.props;
36
49
  const classes = classNames(styles.header, className, {
@@ -43,14 +56,7 @@ class Header extends Component {
43
56
  paddingBottom: this.style('PADDING_BOTTOM'),
44
57
  }
45
58
  : undefined;
46
- const scaleFont = phase != null && this.style('FONT_SIZE') / Start.FONT_SIZE;
47
- const titleStyle = phase != null && phase < 1
48
- ? {
49
- fontSize: Start.FONT_SIZE,
50
- transform: `translate(${this.style('X')}px, ${this.style('Y')}px) scale(${scaleFont})`,
51
- letterSpacing: this.style('SPACING'),
52
- }
53
- : undefined;
59
+ const titleStyle = this.getTitleStyle(phase);
54
60
  return (_jsxs("div", { ...restProps, "data-test": "ring-island-header", className: classes, style: headerStyle, children: [wrapWithTitle && (_jsx("h2", { className: styles.title, style: titleStyle, children: children })), !wrapWithTitle && children] }));
55
61
  }
56
62
  }
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { PureComponent } from 'react';
3
- import dataTests from '../global/data-tests';
4
3
  import LoaderCore from './loader__core';
5
4
  /**
6
5
  * @name Loader
@@ -30,6 +29,6 @@ export default class Loader extends PureComponent {
30
29
  };
31
30
  render() {
32
31
  const { message, size, colors, 'data-test': dataTest, stop, deterministic, ...restProps } = this.props;
33
- return _jsx("div", { "data-test": dataTests('ring-loader', dataTest), ...restProps, ref: this.initLoader });
32
+ return _jsx("div", { ...restProps, ref: this.initLoader });
34
33
  }
35
34
  }
@@ -1,5 +1,8 @@
1
1
  @import "../global/variables.css";
2
2
 
3
+ /* ensure style order */
4
+ @import "../popup/popup.css";
5
+
3
6
  .container {
4
7
  display: inline;
5
8
  }
@@ -15,12 +15,12 @@ export interface CloneWithConfig<T> {
15
15
  focused?: T | null | undefined;
16
16
  }
17
17
  export default class Selection<T extends SelectionItem> {
18
- private _rawData;
18
+ protected _rawData: readonly T[];
19
19
  protected _getChildren: (item: T) => readonly T[];
20
20
  protected _data: Set<T>;
21
21
  protected _selected: Set<T>;
22
22
  protected _focused: T | null;
23
- private _getKey;
23
+ protected _getKey: (item: T) => string | number;
24
24
  protected _isItemSelectable: (item: T) => boolean | undefined;
25
25
  constructor({ data, selected, focused, getKey, getChildren, isItemSelectable, }?: TableSelectionConfig<T>);
26
26
  protected _buildData(data: readonly T[] | null | undefined): Set<T>;
@@ -33,6 +33,7 @@ export default class Tooltip extends Component {
33
33
  this.addListeners();
34
34
  }
35
35
  else if (prevProps.title && !this.props.title) {
36
+ this.hidePopup();
36
37
  this.listeners.removeAll();
37
38
  }
38
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "7.0.51",
3
+ "version": "7.0.53",
4
4
  "description": "JetBrains UI library",
5
5
  "author": {
6
6
  "name": "JetBrains"
@@ -97,28 +97,28 @@
97
97
  },
98
98
  "readmeFilename": "README.md",
99
99
  "devDependencies": {
100
- "@babel/cli": "^7.27.2",
101
- "@babel/eslint-parser": "^7.27.5",
100
+ "@babel/cli": "^7.28.0",
101
+ "@babel/eslint-parser": "^7.28.0",
102
102
  "@csstools/css-parser-algorithms": "^3.0.4",
103
103
  "@csstools/stylelint-no-at-nest-rule": "^4.0.0",
104
- "@eslint/compat": "^1.3.0",
104
+ "@eslint/compat": "^1.3.1",
105
105
  "@eslint/eslintrc": "^3.2.0",
106
106
  "@eslint/js": "^9.28.0",
107
- "@figma/code-connect": "^1.3.3",
107
+ "@figma/code-connect": "^1.3.4",
108
108
  "@jetbrains/eslint-config": "^6.0.5",
109
109
  "@jetbrains/logos": "3.0.0-canary.734b213.0",
110
110
  "@jetbrains/rollup-css-plugin": "./packages/rollup-css-plugin",
111
111
  "@jetbrains/stylelint-config": "^4.0.2",
112
- "@primer/octicons": "^19.15.2",
112
+ "@primer/octicons": "^19.15.3",
113
113
  "@rollup/plugin-babel": "^6.0.4",
114
114
  "@rollup/plugin-json": "^6.1.0",
115
115
  "@rollup/plugin-node-resolve": "^16.0.1",
116
116
  "@rollup/plugin-replace": "^6.0.2",
117
- "@storybook/addon-a11y": "9.0.9",
118
- "@storybook/addon-docs": "^9.0.9",
119
- "@storybook/addon-themes": "^9.0.9",
117
+ "@storybook/addon-a11y": "9.0.15",
118
+ "@storybook/addon-docs": "^9.0.15",
119
+ "@storybook/addon-themes": "^9.0.15",
120
120
  "@storybook/csf": "^0.1.13",
121
- "@storybook/react-webpack5": "9.0.9",
121
+ "@storybook/react-webpack5": "9.0.15",
122
122
  "@storybook/test-runner": "^0.23.0",
123
123
  "@testing-library/dom": "^10.4.0",
124
124
  "@testing-library/react": "^16.3.0",
@@ -131,62 +131,62 @@
131
131
  "@types/react": "^19.1.8",
132
132
  "@types/react-dom": "^19.1.6",
133
133
  "@types/webpack-env": "^1.18.8",
134
- "@vitejs/plugin-react": "^4.5.2",
135
- "@vitest/eslint-plugin": "^1.2.4",
134
+ "@vitejs/plugin-react": "^4.6.0",
135
+ "@vitest/eslint-plugin": "^1.3.4",
136
136
  "acorn": "^8.15.0",
137
137
  "axe-playwright": "^2.1.0",
138
138
  "babel-plugin-require-context-hook": "^1.0.0",
139
- "caniuse-lite": "^1.0.30001723",
139
+ "caniuse-lite": "^1.0.30001726",
140
140
  "chai": "^5.2.0",
141
141
  "chai-as-promised": "^8.0.1",
142
142
  "chai-dom": "^1.12.1",
143
143
  "cheerio": "^1.1.0",
144
- "chromatic": "^12.2.0",
144
+ "chromatic": "^13.1.2",
145
145
  "core-js": "^3.43.0",
146
146
  "cpy-cli": "^5.0.0",
147
147
  "dotenv-cli": "^8.0.0",
148
- "eslint": "^9.28.0",
148
+ "eslint": "^9.30.1",
149
149
  "eslint-config-prettier": "^10.1.5",
150
150
  "eslint-formatter-jslint-xml": "^8.40.0",
151
151
  "eslint-import-resolver-exports": "^1.0.0-beta.5",
152
152
  "eslint-import-resolver-webpack": "^0.13.10",
153
- "eslint-plugin-import": "^2.31.0",
153
+ "eslint-plugin-import": "^2.32.0",
154
154
  "eslint-plugin-jsx-a11y": "^6.10.2",
155
- "eslint-plugin-prettier": "^5.4.1",
155
+ "eslint-plugin-prettier": "^5.5.1",
156
156
  "eslint-plugin-react": "^7.37.5",
157
157
  "eslint-plugin-react-hooks": "^5.2.0",
158
- "eslint-plugin-storybook": "^9.0.9",
158
+ "eslint-plugin-storybook": "^9.0.15",
159
159
  "events": "^3.3.0",
160
160
  "glob": "^11.0.3",
161
- "globals": "^16.2.0",
161
+ "globals": "^16.3.0",
162
162
  "html-webpack-plugin": "^5.6.3",
163
163
  "http-server": "^14.1.1",
164
164
  "husky": "^9.1.7",
165
165
  "identity-obj-proxy": "^3.0.0",
166
- "jest": "~30.0.0",
167
- "jest-environment-jsdom": "^30.0.0",
166
+ "jest": "~30.0.4",
167
+ "jest-environment-jsdom": "^30.0.4",
168
168
  "jest-teamcity": "^1.12.0",
169
- "lint-staged": "^16.1.0",
169
+ "lint-staged": "^16.1.2",
170
170
  "markdown-it": "^14.1.0",
171
171
  "merge-options": "^3.0.4",
172
172
  "pinst": "^3.0.0",
173
- "prettier": "^3.5.3",
173
+ "prettier": "^3.6.2",
174
174
  "raw-loader": "^4.0.2",
175
175
  "react": "^19.1.0",
176
176
  "react-dom": "^19.1.0",
177
177
  "regenerator-runtime": "^0.14.1",
178
178
  "rimraf": "^6.0.1",
179
- "rollup": "^4.43.0",
179
+ "rollup": "^4.44.1",
180
180
  "rollup-plugin-clear": "^2.0.7",
181
181
  "storage-mock": "^2.1.0",
182
- "storybook": "9.0.9",
183
- "stylelint": "^16.20.0",
182
+ "storybook": "9.0.15",
183
+ "stylelint": "^16.21.1",
184
184
  "svg-inline-loader": "^0.8.2",
185
185
  "teamcity-service-messages": "^0.1.14",
186
186
  "terser-webpack-plugin": "^5.3.14",
187
187
  "typescript": "~5.8.3",
188
- "typescript-eslint": "^8.34.0",
189
- "vitest": "^3.2.3",
188
+ "typescript-eslint": "^8.35.1",
189
+ "vitest": "^3.2.4",
190
190
  "vitest-teamcity-reporter": "^0.3.1",
191
191
  "wallaby-webpack": "^3.9.16",
192
192
  "webpack": "^5.99.9",
@@ -213,18 +213,18 @@
213
213
  }
214
214
  },
215
215
  "dependencies": {
216
- "@babel/core": "^7.27.4",
216
+ "@babel/core": "^7.28.0",
217
217
  "@babel/preset-typescript": "^7.27.1",
218
218
  "@jetbrains/babel-preset-jetbrains": "^2.4.0",
219
219
  "@jetbrains/icons": "^5.10.0",
220
- "@jetbrains/postcss-require-hover": "^0.1.3",
220
+ "@jetbrains/postcss-require-hover": "^0.2.0",
221
221
  "@types/combokeys": "^2.4.9",
222
222
  "@types/element-resize-detector": "^1.1.6",
223
223
  "@types/react-virtualized": "9.22.2",
224
224
  "@types/util-deprecate": "^1.0.4",
225
225
  "babel-loader": "10.0.0",
226
226
  "babel-plugin-transform-define": "^2.1.4",
227
- "browserslist": "^4.25.0",
227
+ "browserslist": "^4.25.1",
228
228
  "change-case": "^4.1.1",
229
229
  "classnames": "^2.5.1",
230
230
  "combokeys": "^3.0.1",
@@ -233,20 +233,19 @@
233
233
  "date-fns": "^4.1.0",
234
234
  "dequal": "^2.0.3",
235
235
  "element-resize-detector": "^1.2.4",
236
- "es6-error": "^4.1.1",
237
236
  "fastdom": "^1.0.12",
238
237
  "file-loader": "^6.2.0",
239
238
  "focus-trap": "^7.6.5",
240
239
  "highlight.js": "^10.7.2",
241
240
  "just-debounce-it": "^3.2.0",
242
241
  "memoize-one": "^6.0.0",
243
- "postcss": "^8.5.5",
242
+ "postcss": "^8.5.6",
244
243
  "postcss-calc": "^10.1.1",
245
244
  "postcss-flexbugs-fixes": "^5.0.2",
246
245
  "postcss-font-family-system-ui": "^5.0.0",
247
246
  "postcss-loader": "^8.1.1",
248
247
  "postcss-modules-values-replace": "^4.2.2",
249
- "postcss-preset-env": "^10.2.3",
248
+ "postcss-preset-env": "^10.2.4",
250
249
  "react-movable": "^3.4.1",
251
250
  "react-virtualized": "^9.22.6",
252
251
  "react-waypoint": "^10.3.0",