@gravity-ui/dashkit 7.2.0 → 8.0.1
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/build/cjs/components/ActionPanel/ActionPanel.d.ts +2 -15
- package/build/cjs/components/ActionPanel/types.d.ts +15 -0
- package/build/cjs/components/ActionPanel/types.js +2 -0
- package/build/cjs/components/DashKit/DashKit.d.ts +1 -1
- package/build/cjs/components/MobileLayout/helpers.d.ts +1 -1
- package/build/cjs/components/OverlayControls/OverlayControls.d.ts +1 -1
- package/build/cjs/components/index.d.ts +1 -0
- package/build/cjs/helpers.d.ts +3 -0
- package/build/cjs/helpers.js +6 -0
- package/build/cjs/hooks/useCalcLayout.d.ts +1 -1
- package/build/cjs/index.d.ts +2 -4
- package/build/cjs/index.js +2 -4
- package/build/cjs/plugins/Text/Text.js +2 -1
- package/build/cjs/plugins/Title/Title.js +2 -1
- package/build/cjs/plugins/constants.d.ts +1 -0
- package/build/cjs/plugins/constants.js +4 -0
- package/build/cjs/plugins/index.d.ts +1 -0
- package/build/cjs/plugins/index.js +1 -0
- package/build/cjs/shared/types/plugin.d.ts +1 -1
- package/build/cjs/typings/common.d.ts +1 -1
- package/build/cjs/typings/config.d.ts +1 -1
- package/build/cjs/typings/plugin.d.ts +2 -2
- package/build/cjs/utils/get-new-id.d.ts +1 -1
- package/build/cjs/utils/register-manager.d.ts +1 -1
- package/build/cjs/utils/update-manager.d.ts +2 -2
- package/build/esm/components/ActionPanel/ActionPanel.d.ts +2 -15
- package/build/esm/components/ActionPanel/types.d.ts +15 -0
- package/build/esm/components/ActionPanel/types.js +1 -0
- package/build/esm/components/DashKit/DashKit.d.ts +1 -1
- package/build/esm/components/MobileLayout/helpers.d.ts +1 -1
- package/build/esm/components/OverlayControls/OverlayControls.d.ts +1 -1
- package/build/esm/components/index.d.ts +1 -0
- package/build/esm/helpers.d.ts +3 -0
- package/build/esm/helpers.js +3 -0
- package/build/esm/hooks/useCalcLayout.d.ts +1 -1
- package/build/esm/index.d.ts +2 -4
- package/build/esm/index.js +2 -4
- package/build/esm/plugins/Text/Text.js +2 -1
- package/build/esm/plugins/Title/Title.js +2 -1
- package/build/esm/plugins/constants.d.ts +1 -0
- package/build/esm/plugins/constants.js +1 -0
- package/build/esm/plugins/index.d.ts +1 -0
- package/build/esm/plugins/index.js +1 -0
- package/build/esm/shared/types/plugin.d.ts +1 -1
- package/build/esm/typings/common.d.ts +1 -1
- package/build/esm/typings/config.d.ts +1 -1
- package/build/esm/typings/plugin.d.ts +2 -2
- package/build/esm/utils/get-new-id.d.ts +1 -1
- package/build/esm/utils/register-manager.d.ts +1 -1
- package/build/esm/utils/update-manager.d.ts +2 -2
- package/package.json +27 -6
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
4
|
-
icon: React.ReactNode;
|
|
5
|
-
title: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
className?: string;
|
|
8
|
-
qa?: string;
|
|
9
|
-
};
|
|
10
|
-
export type ActionPanelProps = {
|
|
11
|
-
items: ActionPanelItem[];
|
|
12
|
-
className?: string;
|
|
13
|
-
disable?: boolean;
|
|
14
|
-
toggleAnimation?: boolean;
|
|
15
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ActionPanelProps } from './types';
|
|
16
3
|
export declare const ActionPanel: (props: ActionPanelProps) => JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ActionPanelItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
icon: React.ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
qa?: string;
|
|
9
|
+
};
|
|
10
|
+
export type ActionPanelProps = {
|
|
11
|
+
items: ActionPanelItem[];
|
|
12
|
+
className?: string;
|
|
13
|
+
disable?: boolean;
|
|
14
|
+
toggleAnimation?: boolean;
|
|
15
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Config, ConfigItem, GlobalParams, ItemsStateAndParams } from '../../shared';
|
|
2
|
+
import type { Config, ConfigItem, GlobalParams, ItemsStateAndParams } from '../../shared';
|
|
3
3
|
import { ContextProps, Plugin, SetConfigItem, SetItemOptions, Settings, SettingsProps } from '../../typings';
|
|
4
4
|
import GridLayout from '../GridLayout/GridLayout';
|
|
5
5
|
import { OverlayControlItem } from '../OverlayControls/OverlayControls';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ConfigItem, ConfigLayout } from '../../shared';
|
|
1
|
+
import type { ConfigItem, ConfigLayout } from '../../shared';
|
|
2
2
|
import { DashKitProps } from '../DashKit';
|
|
3
3
|
export declare const getSortedConfigItems: (config: DashKitProps['config'], hasOrderId: boolean) => (ConfigItem & ConfigLayout)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonSize, ButtonView, IconProps, MenuItemProps } from '@gravity-ui/uikit';
|
|
3
|
-
import { Config, ConfigItem, ItemState, PluginBase, StringParams } from '../../shared';
|
|
3
|
+
import type { Config, ConfigItem, ItemState, PluginBase, StringParams } from '../../shared';
|
|
4
4
|
import type { RegisterManager } from '../../utils/register-manager';
|
|
5
5
|
export declare enum OverlayControlsPosition {
|
|
6
6
|
TopRight = "top_right",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./constants"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./shared"), exports);
|
package/build/cjs/index.d.ts
CHANGED
package/build/cjs/index.js
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./components"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./utils"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./constants"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./typings"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./shared"), exports);
|
|
9
5
|
tslib_1.__exportStar(require("./plugins"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./shared/types"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./typings"), exports);
|
|
@@ -6,6 +6,7 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
|
6
6
|
const uikit_1 = require("@gravity-ui/uikit");
|
|
7
7
|
const i18n_1 = require("../../i18n");
|
|
8
8
|
const cn_1 = require("../../utils/cn");
|
|
9
|
+
const constants_1 = require("../constants");
|
|
9
10
|
// need to set markdown styles separately
|
|
10
11
|
// for instance can use yfm-transform
|
|
11
12
|
const b = (0, cn_1.cn)('dashkit-plugin-text');
|
|
@@ -71,7 +72,7 @@ class PluginText extends react_1.default.PureComponent {
|
|
|
71
72
|
react_1.default.createElement("br", null)));
|
|
72
73
|
}
|
|
73
74
|
renderText() {
|
|
74
|
-
return (react_1.default.createElement("div", { className: b({ withMarkdown: this.withMarkdown }) }, this.withMarkdown ? (react_1.default.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
75
|
+
return (react_1.default.createElement("div", { className: b({ withMarkdown: this.withMarkdown }), [constants_1.PLUGIN_ROOT_ATTR_NAME]: 'text' }, this.withMarkdown ? (react_1.default.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
75
76
|
, dangerouslySetInnerHTML: { __html: this.state.htmlText } })) : (this.state.text)));
|
|
76
77
|
}
|
|
77
78
|
async getMarkdown() {
|
|
@@ -4,6 +4,7 @@ exports.PluginTitle = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const cn_1 = require("../../utils/cn");
|
|
7
|
+
const constants_1 = require("../constants");
|
|
7
8
|
const b = (0, cn_1.cn)('dashkit-plugin-title');
|
|
8
9
|
class PluginTitle extends react_1.default.Component {
|
|
9
10
|
render() {
|
|
@@ -11,7 +12,7 @@ class PluginTitle extends react_1.default.Component {
|
|
|
11
12
|
const text = data.text ? data.text : '';
|
|
12
13
|
const size = data.size ? data.size : false;
|
|
13
14
|
const id = data.showInTOC && text ? encodeURIComponent(text) : undefined;
|
|
14
|
-
return (react_1.default.createElement("div", { id: id, className: b({ size }) }, text));
|
|
15
|
+
return (react_1.default.createElement("div", { id: id, className: b({ size }), [constants_1.PLUGIN_ROOT_ATTR_NAME]: 'title' }, text));
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
exports.PluginTitle = PluginTitle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PLUGIN_ROOT_ATTR_NAME = "data-plugin-root-el";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type ReactGridLayout from 'react-grid-layout';
|
|
2
|
-
import { OverlayCustomControlItem } from '../components/OverlayControls/OverlayControls';
|
|
2
|
+
import type { OverlayCustomControlItem } from '../components/OverlayControls/OverlayControls';
|
|
3
3
|
import { MenuItems } from '../constants';
|
|
4
4
|
export interface Settings {
|
|
5
5
|
gridLayout?: ReactGridLayout.ReactGridLayoutProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ReactGridLayout from 'react-grid-layout';
|
|
3
|
-
import { ConfigItem, ItemState, ItemStateAndParams, ItemStateAndParamsChangeOptions, PluginBase, StringParams } from '../shared';
|
|
4
|
-
import { ContextProps, SettingsProps, WidgetLayout } from './common';
|
|
3
|
+
import type { ConfigItem, ItemState, ItemStateAndParams, ItemStateAndParamsChangeOptions, PluginBase, StringParams } from '../shared';
|
|
4
|
+
import type { ContextProps, SettingsProps, WidgetLayout } from './common';
|
|
5
5
|
export interface PluginWidgetProps<T = StringParams> {
|
|
6
6
|
id: string;
|
|
7
7
|
editMode: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Config, ConfigItem, ItemStateAndParams, ItemStateAndParamsChangeOptions, ItemsStateAndParams } from '../shared';
|
|
2
|
-
import { AddConfigItem, SetItemOptions, WidgetLayout } from '../typings';
|
|
1
|
+
import type { Config, ConfigItem, ItemStateAndParams, ItemStateAndParamsChangeOptions, ItemsStateAndParams } from '../shared';
|
|
2
|
+
import type { AddConfigItem, SetItemOptions, WidgetLayout } from '../typings';
|
|
3
3
|
import { RegisterManagerPluginLayout } from './register-manager';
|
|
4
4
|
interface RemoveItemArg {
|
|
5
5
|
id: string;
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ActionPanelProps } from './types';
|
|
2
3
|
import './ActionPanel.css';
|
|
3
|
-
export type ActionPanelItem = {
|
|
4
|
-
id: string;
|
|
5
|
-
icon: React.ReactNode;
|
|
6
|
-
title: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
className?: string;
|
|
9
|
-
qa?: string;
|
|
10
|
-
};
|
|
11
|
-
export type ActionPanelProps = {
|
|
12
|
-
items: ActionPanelItem[];
|
|
13
|
-
className?: string;
|
|
14
|
-
disable?: boolean;
|
|
15
|
-
toggleAnimation?: boolean;
|
|
16
|
-
};
|
|
17
4
|
export declare const ActionPanel: (props: ActionPanelProps) => JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ActionPanelItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
icon: React.ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
qa?: string;
|
|
9
|
+
};
|
|
10
|
+
export type ActionPanelProps = {
|
|
11
|
+
items: ActionPanelItem[];
|
|
12
|
+
className?: string;
|
|
13
|
+
disable?: boolean;
|
|
14
|
+
toggleAnimation?: boolean;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Config, ConfigItem, GlobalParams, ItemsStateAndParams } from '../../shared';
|
|
2
|
+
import type { Config, ConfigItem, GlobalParams, ItemsStateAndParams } from '../../shared';
|
|
3
3
|
import { ContextProps, Plugin, SetConfigItem, SetItemOptions, Settings, SettingsProps } from '../../typings';
|
|
4
4
|
import GridLayout from '../GridLayout/GridLayout';
|
|
5
5
|
import { OverlayControlItem } from '../OverlayControls/OverlayControls';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ConfigItem, ConfigLayout } from '../../shared';
|
|
1
|
+
import type { ConfigItem, ConfigLayout } from '../../shared';
|
|
2
2
|
import { DashKitProps } from '../DashKit';
|
|
3
3
|
export declare const getSortedConfigItems: (config: DashKitProps['config'], hasOrderId: boolean) => (ConfigItem & ConfigLayout)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonSize, ButtonView, IconProps, MenuItemProps } from '@gravity-ui/uikit';
|
|
3
|
-
import { Config, ConfigItem, ItemState, PluginBase, StringParams } from '../../shared';
|
|
3
|
+
import type { Config, ConfigItem, ItemState, PluginBase, StringParams } from '../../shared';
|
|
4
4
|
import type { RegisterManager } from '../../utils/register-manager';
|
|
5
5
|
import './OverlayControls.css';
|
|
6
6
|
export declare enum OverlayControlsPosition {
|
package/build/esm/index.d.ts
CHANGED
package/build/esm/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Button, Loader } from '@gravity-ui/uikit';
|
|
3
3
|
import { i18n } from '../../i18n';
|
|
4
4
|
import { cn } from '../../utils/cn';
|
|
5
|
+
import { PLUGIN_ROOT_ATTR_NAME } from '../constants';
|
|
5
6
|
import './Text.css';
|
|
6
7
|
// need to set markdown styles separately
|
|
7
8
|
// for instance can use yfm-transform
|
|
@@ -68,7 +69,7 @@ export class PluginText extends React.PureComponent {
|
|
|
68
69
|
React.createElement("br", null)));
|
|
69
70
|
}
|
|
70
71
|
renderText() {
|
|
71
|
-
return (React.createElement("div", { className: b({ withMarkdown: this.withMarkdown }) }, this.withMarkdown ? (React.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
72
|
+
return (React.createElement("div", { className: b({ withMarkdown: this.withMarkdown }), [PLUGIN_ROOT_ATTR_NAME]: 'text' }, this.withMarkdown ? (React.createElement("div", { className: "yfm" // className из стилей для markdown
|
|
72
73
|
, dangerouslySetInnerHTML: { __html: this.state.htmlText } })) : (this.state.text)));
|
|
73
74
|
}
|
|
74
75
|
async getMarkdown() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { cn } from '../../utils/cn';
|
|
3
|
+
import { PLUGIN_ROOT_ATTR_NAME } from '../constants';
|
|
3
4
|
import './Title.css';
|
|
4
5
|
const b = cn('dashkit-plugin-title');
|
|
5
6
|
export class PluginTitle extends React.Component {
|
|
@@ -8,7 +9,7 @@ export class PluginTitle extends React.Component {
|
|
|
8
9
|
const text = data.text ? data.text : '';
|
|
9
10
|
const size = data.size ? data.size : false;
|
|
10
11
|
const id = data.showInTOC && text ? encodeURIComponent(text) : undefined;
|
|
11
|
-
return (React.createElement("div", { id: id, className: b({ size }) }, text));
|
|
12
|
+
return (React.createElement("div", { id: id, className: b({ size }), [PLUGIN_ROOT_ATTR_NAME]: 'title' }, text));
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
const plugin = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PLUGIN_ROOT_ATTR_NAME = "data-plugin-root-el";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PLUGIN_ROOT_ATTR_NAME = 'data-plugin-root-el';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type ReactGridLayout from 'react-grid-layout';
|
|
2
|
-
import { OverlayCustomControlItem } from '../components/OverlayControls/OverlayControls';
|
|
2
|
+
import type { OverlayCustomControlItem } from '../components/OverlayControls/OverlayControls';
|
|
3
3
|
import { MenuItems } from '../constants';
|
|
4
4
|
export interface Settings {
|
|
5
5
|
gridLayout?: ReactGridLayout.ReactGridLayoutProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ReactGridLayout from 'react-grid-layout';
|
|
3
|
-
import { ConfigItem, ItemState, ItemStateAndParams, ItemStateAndParamsChangeOptions, PluginBase, StringParams } from '../shared';
|
|
4
|
-
import { ContextProps, SettingsProps, WidgetLayout } from './common';
|
|
3
|
+
import type { ConfigItem, ItemState, ItemStateAndParams, ItemStateAndParamsChangeOptions, PluginBase, StringParams } from '../shared';
|
|
4
|
+
import type { ContextProps, SettingsProps, WidgetLayout } from './common';
|
|
5
5
|
export interface PluginWidgetProps<T = StringParams> {
|
|
6
6
|
id: string;
|
|
7
7
|
editMode: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Config, ConfigItem, ItemStateAndParams, ItemStateAndParamsChangeOptions, ItemsStateAndParams } from '../shared';
|
|
2
|
-
import { AddConfigItem, SetItemOptions, WidgetLayout } from '../typings';
|
|
1
|
+
import type { Config, ConfigItem, ItemStateAndParams, ItemStateAndParamsChangeOptions, ItemsStateAndParams } from '../shared';
|
|
2
|
+
import type { AddConfigItem, SetItemOptions, WidgetLayout } from '../typings';
|
|
3
3
|
import { RegisterManagerPluginLayout } from './register-manager';
|
|
4
4
|
interface RemoveItemArg {
|
|
5
5
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/dashkit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Library for rendering dashboard grid layout",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/gravity-ui/dashkit"
|
|
9
9
|
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./build/esm/index.d.ts",
|
|
13
|
+
"require": "./build/cjs/index.js",
|
|
14
|
+
"import": "./build/esm/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./helpers": {
|
|
17
|
+
"types": "./build/esm/helpers.d.ts",
|
|
18
|
+
"require": "./build/cjs/helpers.js",
|
|
19
|
+
"import": "./build/esm/helpers.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
10
22
|
"files": [
|
|
11
23
|
"build"
|
|
12
24
|
],
|
|
@@ -17,9 +29,19 @@
|
|
|
17
29
|
"publishConfig": {
|
|
18
30
|
"access": "public"
|
|
19
31
|
},
|
|
20
|
-
"main": "build/cjs/index.js",
|
|
21
|
-
"module": "build/esm/index.js",
|
|
22
|
-
"types": "build/esm/index.d.ts",
|
|
32
|
+
"main": "./build/cjs/index.js",
|
|
33
|
+
"module": "./build/esm/index.js",
|
|
34
|
+
"types": "./build/esm/index.d.ts",
|
|
35
|
+
"typesVersions": {
|
|
36
|
+
"*": {
|
|
37
|
+
"index.d.ts": [
|
|
38
|
+
"./build/esm/index.d.ts"
|
|
39
|
+
],
|
|
40
|
+
"helpers": [
|
|
41
|
+
"./build/esm/helpers.d.ts"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
23
45
|
"scripts": {
|
|
24
46
|
"lint:prettier": "prettier --check --log-level=error '**/*.{js,jsx,ts,tsx,scss}'",
|
|
25
47
|
"lint:prettier:fix": "prettier --write '**/*.md'",
|
|
@@ -39,6 +61,7 @@
|
|
|
39
61
|
},
|
|
40
62
|
"dependencies": {
|
|
41
63
|
"@gravity-ui/icons": "^2.8.1",
|
|
64
|
+
"@bem-react/classname": "^1.6.0",
|
|
42
65
|
"hashids": "^2.2.8",
|
|
43
66
|
"immutability-helper": "^3.1.1",
|
|
44
67
|
"prop-types": "^15.8.1",
|
|
@@ -46,12 +69,10 @@
|
|
|
46
69
|
"react-transition-group": "^4.4.5"
|
|
47
70
|
},
|
|
48
71
|
"peerDependencies": {
|
|
49
|
-
"@bem-react/classname": "^1.6.0",
|
|
50
72
|
"@gravity-ui/uikit": "^6.0.0",
|
|
51
73
|
"react": "^16.8.0 || ^17 || ^18"
|
|
52
74
|
},
|
|
53
75
|
"devDependencies": {
|
|
54
|
-
"@bem-react/classname": "^1.6.0",
|
|
55
76
|
"@commitlint/cli": "^17.0.3",
|
|
56
77
|
"@commitlint/config-conventional": "^17.0.3",
|
|
57
78
|
"@gravity-ui/eslint-config": "^3.1.1",
|