@skbkontur/side-menu 4.0.0-beta.1 → 4.0.0-beta.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skbkontur/side-menu",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
"build:lint:attw": "attw --config-path ../../.attw.json ./dist",
|
|
20
20
|
"lint": "tsc --noEmit -p tsconfig.json"
|
|
21
21
|
},
|
|
22
|
+
"exports": {
|
|
23
|
+
".": "./index.js",
|
|
24
|
+
"./lib/*": "./lib/*.js",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
22
27
|
"author": "Kontur",
|
|
23
28
|
"peerDependencies": {
|
|
24
29
|
"@skbkontur/react-ui": ">=5 <7",
|
|
@@ -29,14 +34,10 @@
|
|
|
29
34
|
"dependencies": {
|
|
30
35
|
"@skbkontur/bell-widget-npm-loader": "^0.2.3",
|
|
31
36
|
"@skbkontur/colors": "^2.1.1",
|
|
32
|
-
"@skbkontur/empty-state": "^2.0.0-beta.
|
|
37
|
+
"@skbkontur/empty-state": "^2.0.0-beta.2",
|
|
33
38
|
"@skbkontur/icons": ">=2 <3",
|
|
34
|
-
"@skbkontur/react-ui-addons": "^6.0.0-beta.
|
|
39
|
+
"@skbkontur/react-ui-addons": "^6.0.0-beta.1",
|
|
35
40
|
"@skbkontur/widget-consumer-react-utils": "^1.6.12",
|
|
36
41
|
"tslib": "^2.8.0"
|
|
37
|
-
},
|
|
38
|
-
"exports": {
|
|
39
|
-
"./package.json": "./package.json",
|
|
40
|
-
".": "./index.js"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type UserAvatarProps } from '@skbkontur/react-ui-addons/components/UserAvatar/UserAvatar
|
|
2
|
+
import { type UserAvatarProps } from '@skbkontur/react-ui-addons/components/UserAvatar/UserAvatar';
|
|
3
3
|
import type { DropdownMenu } from '@skbkontur/react-ui/components/DropdownMenu';
|
|
4
4
|
import type { SideMenuDropdownProps } from '../SideMenuDropdown/SideMenuDropdown.js';
|
|
5
5
|
export interface SideMenuAvatarProps extends Omit<UserAvatarProps, 'style'>, Omit<SideMenuDropdownProps, 'icon'>, Partial<Pick<SideMenuDropdownProps, 'icon' | 'onOpen' | 'onClose'>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
2
|
import React, { forwardRef, useContext } from 'react';
|
|
3
|
-
import { UserAvatar } from '@skbkontur/react-ui-addons/components/UserAvatar/UserAvatar
|
|
3
|
+
import { UserAvatar } from '@skbkontur/react-ui-addons/components/UserAvatar/UserAvatar';
|
|
4
4
|
import { ThemeContext } from '@skbkontur/react-ui/lib/theming/ThemeContext';
|
|
5
5
|
import { SideMenuDropdown } from '../SideMenuDropdown/SideMenuDropdown.js';
|
|
6
6
|
import { getSideMenuTheme } from '../../lib/theming/ThemeHelpers.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { LogotypeProps } from '@skbkontur/react-ui-addons/components/Logotype/Logotype
|
|
2
|
+
import type { LogotypeProps } from '@skbkontur/react-ui-addons/components/Logotype/Logotype';
|
|
3
3
|
export interface SideMenuHeaderProps extends Partial<LogotypeProps> {
|
|
4
4
|
iconUrl?: string;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __read, __rest } from "tslib";
|
|
2
2
|
import React, { forwardRef, useContext, useEffect, useRef, useState } from 'react';
|
|
3
|
-
import { Logotype } from '@skbkontur/react-ui-addons/components/Logotype/Logotype
|
|
3
|
+
import { Logotype } from '@skbkontur/react-ui-addons/components/Logotype/Logotype';
|
|
4
4
|
import { useEmotion, useStyles } from '@skbkontur/react-ui/lib/renderEnvironment';
|
|
5
5
|
import { ThemeContext } from '@skbkontur/react-ui/lib/theming/ThemeContext';
|
|
6
6
|
import { SideMenuContext } from '../SideMenuContext.js';
|