@semcore/dropdown-menu 16.1.8 → 16.1.9-prerelease.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.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/DropdownMenu.js +16 -16
- package/lib/es6/DropdownMenu.js +16 -16
- package/lib/esm/DropdownMenu.mjs +17 -17
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [16.1.9] - 2025-09-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/button` [16.0.7 ~> 16.0.8], `@semcore/dropdown` [16.0.7 ~> 16.0.8], `@semcore/icon` [16.6.0 ~> 16.7.0], `@semcore/base-components` [16.2.1 ~> 16.2.2]).
|
|
10
|
+
|
|
5
11
|
## [16.1.8] - 2025-08-29
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/cjs/DropdownMenu.js
CHANGED
|
@@ -37,24 +37,24 @@ var _excluded = ["className"];
|
|
|
37
37
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
38
38
|
function _superPropGet(t, o, e, r) { var p = (0, _get2["default"])((0, _getPrototypeOf2["default"])(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
39
39
|
/*!__reshadow-styles__:"./style/dropdown-menu.shadow.css"*/
|
|
40
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
40
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SDropdownMenuList_d72ot_gg_{max-height:240px;padding:var(--intergalactic-spacing-1x, 4px)0;position:relative;min-height:26px;min-width:32px;box-sizing:content-box;z-index:0;color:var(--intergalactic-text-primary, #191b23)}.___SDropdownMenuList_d72ot_gg_ .___SBar_d72ot_gg_{z-index:3}.___SDropdownMenuList_d72ot_gg_ .___SShadowHorizontal_d72ot_gg_:after,.___SDropdownMenuList_d72ot_gg_ .___SShadowHorizontal_d72ot_gg_:before,.___SDropdownMenuList_d72ot_gg_ .___SShadowVertical_d72ot_gg_:after,.___SDropdownMenuList_d72ot_gg_ .___SShadowVertical_d72ot_gg_:before{border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuItemContainer_d72ot_gg_.__nesting-trigger_d72ot_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_d72ot_gg_,.___SItemContentText_d72ot_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-1x, 4px);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SDropdownMenuItemAddon_d72ot_gg_:first-child,.___SItemContentText_d72ot_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_d72ot_gg_:last-child,.___SItemContentText_d72ot_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_d72ot_gg_,.___SDropdownMenuNesting_d72ot_gg_._size_l_d72ot_gg_,.___SDropdownMenuNesting_d72ot_gg_._size_m_d72ot_gg_{padding:0}.___SDropdownMenuNesting_d72ot_gg_.__highlighted_d72ot_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_d72ot_gg_._size_l_d72ot_gg_,.___SDropdownNestingItem_d72ot_gg_._size_m_d72ot_gg_{padding-right:0}.___SDropdownNestingItem_d72ot_gg_ .___SDropdownMenuItemContainer_d72ot_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}.___SItemContent_d72ot_gg_:focus{outline:0}.___SItemHint_d72ot_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}", /*__inner_css_end__*/"d72ot_gg_"),
|
|
41
41
|
/*__reshadow_css_end__*/
|
|
42
42
|
{
|
|
43
|
-
"__SDropdownMenuItemContainer": "
|
|
44
|
-
"_nesting-trigger": "__nesting-
|
|
45
|
-
"__SDropdownMenuNesting": "
|
|
46
|
-
"_size_l": "
|
|
47
|
-
"_size_m": "
|
|
48
|
-
"_highlighted": "
|
|
49
|
-
"__SDropdownNestingItem": "
|
|
50
|
-
"__SItemContent": "
|
|
51
|
-
"__SItemHint": "
|
|
52
|
-
"__SDropdownMenuList": "
|
|
53
|
-
"__SBar": "
|
|
54
|
-
"__SShadowHorizontal": "
|
|
55
|
-
"__SShadowVertical": "
|
|
56
|
-
"__SDropdownMenuItemAddon": "
|
|
57
|
-
"__SItemContentText": "
|
|
43
|
+
"__SDropdownMenuItemContainer": "___SDropdownMenuItemContainer_d72ot_gg_",
|
|
44
|
+
"_nesting-trigger": "__nesting-trigger_d72ot_gg_",
|
|
45
|
+
"__SDropdownMenuNesting": "___SDropdownMenuNesting_d72ot_gg_",
|
|
46
|
+
"_size_l": "_size_l_d72ot_gg_",
|
|
47
|
+
"_size_m": "_size_m_d72ot_gg_",
|
|
48
|
+
"_highlighted": "__highlighted_d72ot_gg_",
|
|
49
|
+
"__SDropdownNestingItem": "___SDropdownNestingItem_d72ot_gg_",
|
|
50
|
+
"__SItemContent": "___SItemContent_d72ot_gg_",
|
|
51
|
+
"__SItemHint": "___SItemHint_d72ot_gg_",
|
|
52
|
+
"__SDropdownMenuList": "___SDropdownMenuList_d72ot_gg_",
|
|
53
|
+
"__SBar": "___SBar_d72ot_gg_",
|
|
54
|
+
"__SShadowHorizontal": "___SShadowHorizontal_d72ot_gg_",
|
|
55
|
+
"__SShadowVertical": "___SShadowVertical_d72ot_gg_",
|
|
56
|
+
"__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_d72ot_gg_",
|
|
57
|
+
"__SItemContentText": "___SItemContentText_d72ot_gg_"
|
|
58
58
|
});
|
|
59
59
|
var ListBoxContextProvider = function ListBoxContextProvider(_ref20) {
|
|
60
60
|
var children = _ref20.children;
|
package/lib/es6/DropdownMenu.js
CHANGED
|
@@ -42,24 +42,24 @@ import { Text } from '@semcore/typography';
|
|
|
42
42
|
import cn from 'classnames';
|
|
43
43
|
import React from 'react';
|
|
44
44
|
/*!__reshadow-styles__:"./style/dropdown-menu.shadow.css"*/
|
|
45
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
45
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SDropdownMenuList_d72ot_gg_{max-height:240px;padding:var(--intergalactic-spacing-1x, 4px)0;position:relative;min-height:26px;min-width:32px;box-sizing:content-box;z-index:0;color:var(--intergalactic-text-primary, #191b23)}.___SDropdownMenuList_d72ot_gg_ .___SBar_d72ot_gg_{z-index:3}.___SDropdownMenuList_d72ot_gg_ .___SShadowHorizontal_d72ot_gg_:after,.___SDropdownMenuList_d72ot_gg_ .___SShadowHorizontal_d72ot_gg_:before,.___SDropdownMenuList_d72ot_gg_ .___SShadowVertical_d72ot_gg_:after,.___SDropdownMenuList_d72ot_gg_ .___SShadowVertical_d72ot_gg_:before{border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuItemContainer_d72ot_gg_.__nesting-trigger_d72ot_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_d72ot_gg_,.___SItemContentText_d72ot_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-1x, 4px);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SDropdownMenuItemAddon_d72ot_gg_:first-child,.___SItemContentText_d72ot_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_d72ot_gg_:last-child,.___SItemContentText_d72ot_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_d72ot_gg_,.___SDropdownMenuNesting_d72ot_gg_._size_l_d72ot_gg_,.___SDropdownMenuNesting_d72ot_gg_._size_m_d72ot_gg_{padding:0}.___SDropdownMenuNesting_d72ot_gg_.__highlighted_d72ot_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_d72ot_gg_._size_l_d72ot_gg_,.___SDropdownNestingItem_d72ot_gg_._size_m_d72ot_gg_{padding-right:0}.___SDropdownNestingItem_d72ot_gg_ .___SDropdownMenuItemContainer_d72ot_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}.___SItemContent_d72ot_gg_:focus{outline:0}.___SItemHint_d72ot_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}", /*__inner_css_end__*/"d72ot_gg_"),
|
|
46
46
|
/*__reshadow_css_end__*/
|
|
47
47
|
{
|
|
48
|
-
"__SDropdownMenuItemContainer": "
|
|
49
|
-
"_nesting-trigger": "__nesting-
|
|
50
|
-
"__SDropdownMenuNesting": "
|
|
51
|
-
"_size_l": "
|
|
52
|
-
"_size_m": "
|
|
53
|
-
"_highlighted": "
|
|
54
|
-
"__SDropdownNestingItem": "
|
|
55
|
-
"__SItemContent": "
|
|
56
|
-
"__SItemHint": "
|
|
57
|
-
"__SDropdownMenuList": "
|
|
58
|
-
"__SBar": "
|
|
59
|
-
"__SShadowHorizontal": "
|
|
60
|
-
"__SShadowVertical": "
|
|
61
|
-
"__SDropdownMenuItemAddon": "
|
|
62
|
-
"__SItemContentText": "
|
|
48
|
+
"__SDropdownMenuItemContainer": "___SDropdownMenuItemContainer_d72ot_gg_",
|
|
49
|
+
"_nesting-trigger": "__nesting-trigger_d72ot_gg_",
|
|
50
|
+
"__SDropdownMenuNesting": "___SDropdownMenuNesting_d72ot_gg_",
|
|
51
|
+
"_size_l": "_size_l_d72ot_gg_",
|
|
52
|
+
"_size_m": "_size_m_d72ot_gg_",
|
|
53
|
+
"_highlighted": "__highlighted_d72ot_gg_",
|
|
54
|
+
"__SDropdownNestingItem": "___SDropdownNestingItem_d72ot_gg_",
|
|
55
|
+
"__SItemContent": "___SItemContent_d72ot_gg_",
|
|
56
|
+
"__SItemHint": "___SItemHint_d72ot_gg_",
|
|
57
|
+
"__SDropdownMenuList": "___SDropdownMenuList_d72ot_gg_",
|
|
58
|
+
"__SBar": "___SBar_d72ot_gg_",
|
|
59
|
+
"__SShadowHorizontal": "___SShadowHorizontal_d72ot_gg_",
|
|
60
|
+
"__SShadowVertical": "___SShadowVertical_d72ot_gg_",
|
|
61
|
+
"__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_d72ot_gg_",
|
|
62
|
+
"__SItemContentText": "___SItemContentText_d72ot_gg_"
|
|
63
63
|
});
|
|
64
64
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
65
65
|
var ListBoxContextProvider = function ListBoxContextProvider(_ref20) {
|
package/lib/esm/DropdownMenu.mjs
CHANGED
|
@@ -40,26 +40,26 @@ var style = (
|
|
|
40
40
|
/*__reshadow_css_start__*/
|
|
41
41
|
(sstyled.insert(
|
|
42
42
|
/*__inner_css_start__*/
|
|
43
|
-
".
|
|
43
|
+
".___SDropdownMenuList_d72ot_gg_{max-height:240px;padding:var(--intergalactic-spacing-1x, 4px)0;position:relative;min-height:26px;min-width:32px;box-sizing:content-box;z-index:0;color:var(--intergalactic-text-primary, #191b23)}.___SDropdownMenuList_d72ot_gg_ .___SBar_d72ot_gg_{z-index:3}.___SDropdownMenuList_d72ot_gg_ .___SShadowHorizontal_d72ot_gg_:after,.___SDropdownMenuList_d72ot_gg_ .___SShadowHorizontal_d72ot_gg_:before,.___SDropdownMenuList_d72ot_gg_ .___SShadowVertical_d72ot_gg_:after,.___SDropdownMenuList_d72ot_gg_ .___SShadowVertical_d72ot_gg_:before{border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuItemContainer_d72ot_gg_.__nesting-trigger_d72ot_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_d72ot_gg_,.___SItemContentText_d72ot_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-1x, 4px);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SDropdownMenuItemAddon_d72ot_gg_:first-child,.___SItemContentText_d72ot_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_d72ot_gg_:last-child,.___SItemContentText_d72ot_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_d72ot_gg_,.___SDropdownMenuNesting_d72ot_gg_._size_l_d72ot_gg_,.___SDropdownMenuNesting_d72ot_gg_._size_m_d72ot_gg_{padding:0}.___SDropdownMenuNesting_d72ot_gg_.__highlighted_d72ot_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_d72ot_gg_._size_l_d72ot_gg_,.___SDropdownNestingItem_d72ot_gg_._size_m_d72ot_gg_{padding-right:0}.___SDropdownNestingItem_d72ot_gg_ .___SDropdownMenuItemContainer_d72ot_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}.___SItemContent_d72ot_gg_:focus{outline:0}.___SItemHint_d72ot_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}",
|
|
44
44
|
/*__inner_css_end__*/
|
|
45
|
-
"
|
|
45
|
+
"d72ot_gg_"
|
|
46
46
|
), /*__reshadow_css_end__*/
|
|
47
47
|
{
|
|
48
|
-
"__SDropdownMenuItemContainer": "
|
|
49
|
-
"_nesting-trigger": "__nesting-
|
|
50
|
-
"__SDropdownMenuNesting": "
|
|
51
|
-
"_size_l": "
|
|
52
|
-
"_size_m": "
|
|
53
|
-
"_highlighted": "
|
|
54
|
-
"__SDropdownNestingItem": "
|
|
55
|
-
"__SItemContent": "
|
|
56
|
-
"__SItemHint": "
|
|
57
|
-
"__SDropdownMenuList": "
|
|
58
|
-
"__SBar": "
|
|
59
|
-
"__SShadowHorizontal": "
|
|
60
|
-
"__SShadowVertical": "
|
|
61
|
-
"__SDropdownMenuItemAddon": "
|
|
62
|
-
"__SItemContentText": "
|
|
48
|
+
"__SDropdownMenuItemContainer": "___SDropdownMenuItemContainer_d72ot_gg_",
|
|
49
|
+
"_nesting-trigger": "__nesting-trigger_d72ot_gg_",
|
|
50
|
+
"__SDropdownMenuNesting": "___SDropdownMenuNesting_d72ot_gg_",
|
|
51
|
+
"_size_l": "_size_l_d72ot_gg_",
|
|
52
|
+
"_size_m": "_size_m_d72ot_gg_",
|
|
53
|
+
"_highlighted": "__highlighted_d72ot_gg_",
|
|
54
|
+
"__SDropdownNestingItem": "___SDropdownNestingItem_d72ot_gg_",
|
|
55
|
+
"__SItemContent": "___SItemContent_d72ot_gg_",
|
|
56
|
+
"__SItemHint": "___SItemHint_d72ot_gg_",
|
|
57
|
+
"__SDropdownMenuList": "___SDropdownMenuList_d72ot_gg_",
|
|
58
|
+
"__SBar": "___SBar_d72ot_gg_",
|
|
59
|
+
"__SShadowHorizontal": "___SShadowHorizontal_d72ot_gg_",
|
|
60
|
+
"__SShadowVertical": "___SShadowVertical_d72ot_gg_",
|
|
61
|
+
"__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_d72ot_gg_",
|
|
62
|
+
"__SItemContentText": "___SItemContentText_d72ot_gg_"
|
|
63
63
|
})
|
|
64
64
|
);
|
|
65
65
|
var ListBoxContextProvider = function ListBoxContextProvider2(_ref20) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/dropdown-menu",
|
|
3
3
|
"description": "Semrush DropdownMenu Component",
|
|
4
|
-
"version": "16.1.
|
|
4
|
+
"version": "16.1.9-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "16.0.
|
|
18
|
-
"@semcore/dropdown": "16.0.
|
|
19
|
-
"@semcore/icon": "16.
|
|
20
|
-
"@semcore/typography": "16.2.
|
|
21
|
-
"@semcore/popper": "16.0.
|
|
22
|
-
"@semcore/flex-box": "16.0.
|
|
23
|
-
"@semcore/scroll-area": "16.0.
|
|
17
|
+
"@semcore/button": "16.0.8-prerelease.0",
|
|
18
|
+
"@semcore/dropdown": "16.0.8-prerelease.0",
|
|
19
|
+
"@semcore/icon": "16.7.0-prerelease.0",
|
|
20
|
+
"@semcore/typography": "16.2.2-prerelease.0",
|
|
21
|
+
"@semcore/popper": "16.0.8-prerelease.0",
|
|
22
|
+
"@semcore/flex-box": "16.0.8-prerelease.0",
|
|
23
|
+
"@semcore/scroll-area": "16.0.8-prerelease.0",
|
|
24
24
|
"classnames": "2.2.6"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@semcore/base-components": "^16.
|
|
27
|
+
"@semcore/base-components": "^16.2.2-prerelease.0"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/classnames": "2.2.6",
|
|
36
|
-
"@semcore/core": "16.1.1",
|
|
37
36
|
"@semcore/testing-utils": "1.0.0",
|
|
38
|
-
"@semcore/
|
|
39
|
-
"@semcore/
|
|
40
|
-
"@semcore/
|
|
37
|
+
"@semcore/core": "16.2.0-prerelease.0",
|
|
38
|
+
"@semcore/base-trigger": "16.4.0-prerelease.0",
|
|
39
|
+
"@semcore/button": "16.0.8-prerelease.0",
|
|
40
|
+
"@semcore/icon": "16.7.0-prerelease.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|