@rescui/dropdown-menu 0.5.3 → 0.6.0

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.
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { DropdownProps } from '@rescui/dropdown';
3
3
  import { MenuItemIconPlacement } from '@rescui/menu';
4
4
  declare type DropdownMenuSize = 's' | 'm' | 'l';
5
- interface DropdownMenuProps extends Omit<DropdownProps, 'maxWidth' | 'minWidth' | 'maxHeight' | 'leastMaxHeight' | 'className'> {
5
+ export interface DropdownMenuProps extends Omit<DropdownProps, 'maxWidth' | 'minWidth' | 'maxHeight' | 'leastMaxHeight' | 'className'> {
6
6
  maxVisibleItems?: number;
7
7
  iconPlacement?: MenuItemIconPlacement;
8
8
  itemTag?: React.ElementType;
@@ -16,7 +16,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
16
16
 
17
17
  import React from 'react';
18
18
  import { useTheme, getInverseTheme } from '@rescui/ui-contexts';
19
- import Dropdown from '@rescui/dropdown';
19
+ import { Dropdown } from '@rescui/dropdown';
20
20
  import { Menu } from '@rescui/menu';
21
21
  import styles from './index.p.module.css.js';
22
22
  var ITEM_HEIGHT_BY_SIZE = {
package/lib/index.css CHANGED
@@ -1,15 +1,15 @@
1
- ._sizeS_1g4tdpl_8{
1
+ ._sizeS_1kx5i1d_8{
2
2
  min-width:316px;
3
3
  max-width:389px;
4
4
  }
5
5
 
6
- ._sizeL_1g4tdpl_13,
7
- ._sizeM_1g4tdpl_14{
6
+ ._sizeL_1kx5i1d_13,
7
+ ._sizeM_1kx5i1d_14{
8
8
  min-width:316px;
9
9
  max-width:494px;
10
10
  }
11
11
 
12
- ._menu_1g4tdpl_19{
12
+ ._menu_1kx5i1d_19{
13
13
  margin:0;
14
14
  padding:0;
15
15
  list-style:none;
package/lib/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default as DropdownMenu } from './dropdown-menu';
2
+ export type { DropdownMenuProps } from './dropdown-menu';
2
3
  export { MenuItem } from '@rescui/menu';
@@ -1,7 +1,7 @@
1
1
  var styles = {
2
- "sizeS": "_sizeS_1g4tdpl_8",
3
- "sizeL": "_sizeL_1g4tdpl_13",
4
- "sizeM": "_sizeM_1g4tdpl_14",
5
- "menu": "_menu_1g4tdpl_19"
2
+ "sizeS": "_sizeS_1kx5i1d_8",
3
+ "sizeL": "_sizeL_1kx5i1d_13",
4
+ "sizeM": "_sizeM_1kx5i1d_14",
5
+ "menu": "_menu_1kx5i1d_19"
6
6
  };
7
7
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/dropdown-menu",
3
- "version": "0.5.3",
3
+ "version": "0.6.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@babel/runtime-corejs3": "^7.11.0",
19
- "@rescui/dropdown": "^0.4.1",
20
- "@rescui/menu": "^0.8.1",
19
+ "@rescui/dropdown": "^0.5.0",
20
+ "@rescui/menu": "^0.9.0",
21
21
  "classnames": "^2.2.6",
22
22
  "core-js": "^3.9.1"
23
23
  },
@@ -27,13 +27,13 @@
27
27
  "react": ">=16.8.0 <18"
28
28
  },
29
29
  "devDependencies": {
30
- "@rescui/colors": "^0.1.5",
31
- "@rescui/scripts": "^0.1.7",
32
- "@rescui/typography": "^0.9.0",
30
+ "@rescui/colors": "^0.1.6",
31
+ "@rescui/scripts": "^0.2.0",
32
+ "@rescui/typography": "^0.10.0",
33
33
  "@rescui/visual-regression": "^0.0.4"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "rescui-scripts build"
37
37
  },
38
- "gitHead": "dabdf725c89406ff04be3ac8148a70db22648e27"
38
+ "gitHead": "c87adfdebe07392a0aa67ce434ce465762d8fa95"
39
39
  }