@semcore/dropdown-menu 16.1.7 → 16.1.8-prerelease.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/CHANGELOG.md +6 -0
- package/lib/cjs/DropdownMenu.js +16 -16
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/es6/DropdownMenu.js +16 -16
- package/lib/es6/index.d.js.map +1 -1
- package/lib/esm/DropdownMenu.mjs +17 -17
- package/lib/types/index.d.ts +16 -0
- 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.8] - 2025-08-29
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Type description for `DropdownMenuContext`/`DropdownMenuProps`.
|
|
10
|
+
|
|
5
11
|
## [16.1.7] - 2025-08-07
|
|
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_11u9k_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_11u9k_gg_ .___SBar_11u9k_gg_{z-index:3}.___SDropdownMenuList_11u9k_gg_ .___SShadowHorizontal_11u9k_gg_:after,.___SDropdownMenuList_11u9k_gg_ .___SShadowHorizontal_11u9k_gg_:before,.___SDropdownMenuList_11u9k_gg_ .___SShadowVertical_11u9k_gg_:after,.___SDropdownMenuList_11u9k_gg_ .___SShadowVertical_11u9k_gg_:before{border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuItemContainer_11u9k_gg_.__nesting-trigger_11u9k_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_11u9k_gg_,.___SItemContentText_11u9k_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-1x, 4px);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SDropdownMenuItemAddon_11u9k_gg_:first-child,.___SItemContentText_11u9k_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_11u9k_gg_:last-child,.___SItemContentText_11u9k_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_11u9k_gg_,.___SDropdownMenuNesting_11u9k_gg_._size_l_11u9k_gg_,.___SDropdownMenuNesting_11u9k_gg_._size_m_11u9k_gg_{padding:0}.___SDropdownMenuNesting_11u9k_gg_.__highlighted_11u9k_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_11u9k_gg_._size_l_11u9k_gg_,.___SDropdownNestingItem_11u9k_gg_._size_m_11u9k_gg_{padding-right:0}.___SDropdownNestingItem_11u9k_gg_ .___SDropdownMenuItemContainer_11u9k_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}.___SItemContent_11u9k_gg_:focus{outline:0}.___SItemHint_11u9k_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}", /*__inner_css_end__*/"11u9k_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_11u9k_gg_",
|
|
44
|
+
"_nesting-trigger": "__nesting-trigger_11u9k_gg_",
|
|
45
|
+
"__SDropdownMenuNesting": "___SDropdownMenuNesting_11u9k_gg_",
|
|
46
|
+
"_size_l": "_size_l_11u9k_gg_",
|
|
47
|
+
"_size_m": "_size_m_11u9k_gg_",
|
|
48
|
+
"_highlighted": "__highlighted_11u9k_gg_",
|
|
49
|
+
"__SDropdownNestingItem": "___SDropdownNestingItem_11u9k_gg_",
|
|
50
|
+
"__SItemContent": "___SItemContent_11u9k_gg_",
|
|
51
|
+
"__SItemHint": "___SItemHint_11u9k_gg_",
|
|
52
|
+
"__SDropdownMenuList": "___SDropdownMenuList_11u9k_gg_",
|
|
53
|
+
"__SBar": "___SBar_11u9k_gg_",
|
|
54
|
+
"__SShadowHorizontal": "___SShadowHorizontal_11u9k_gg_",
|
|
55
|
+
"__SShadowVertical": "___SShadowVertical_11u9k_gg_",
|
|
56
|
+
"__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_11u9k_gg_",
|
|
57
|
+
"__SItemContentText": "___SItemContentText_11u9k_gg_"
|
|
58
58
|
});
|
|
59
59
|
var ListBoxContextProvider = function ListBoxContextProvider(_ref20) {
|
|
60
60
|
var children = _ref20.children;
|
package/lib/cjs/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type {\n DropdownContext,\n DropdownProps,\n DropdownHandlers,\n DropdownTriggerProps,\n DropdownPopperAriaProps,\n} from '@semcore/dropdown';\nimport type Dropdown from '@semcore/dropdown';\nimport type { Box, BoxProps, FlexProps, Flex } from '@semcore/flex-box';\nimport type { eventInteraction } from '@semcore/popper';\nimport type { ScrollAreaProps } from '@semcore/scroll-area';\nimport type { Text } from '@semcore/typography';\n\nexport type DropdownMenuSize = 'm' | 'l';\n\n/** @deprecated */\nexport interface IDropdownMenuProps extends DropdownMenuProps, UnknownProperties {}\nexport type DropdownMenuProps = DropdownProps & {\n /**\n * Set role `menuitemradio` (or `menuitemcheckbox` if `multiselect`) for Dropdown.Item\n */\n selectable?: boolean;\n /**\n * Multiple select\n */\n multiselect?: boolean;\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of the element selected by default\n */\n defaultHighlightedIndex?: number | null;\n /**\n * Index of the selected item\n */\n highlightedIndex?: number | null;\n /**\n * Callback for highlightedIndex change\n * highlightedIndex - Index of the selected item\n */\n onHighlightedIndexChange?: (highlightedIndex: number | null) => void;\n locale?: string;\n /**\n * Flag for menu that using as actions on DropdownMenu.Item\n */\n inlineActions?: boolean;\n\n /**\n * Count of menu items (for virtual lists only)\n */\n itemsCount?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuListProps extends DropdownMenuListProps, UnknownProperties {}\nexport type DropdownMenuListProps = BoxProps &\n ScrollAreaProps & {\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n };\n\n/** @deprecated */\nexport interface IDropdownMenuMenuProps extends DropdownMenuMenuProps, UnknownProperties {}\nexport type DropdownMenuMenuProps = DropdownMenuListProps & {};\n\n/** @deprecated */\nexport interface IDropdownMenuItemProps extends DropdownMenuItemProps, UnknownProperties {}\nexport type DropdownMenuItemProps = FlexProps & {\n /**\n * Enables selected state. For selectable dropdowns only.\n */\n selected?: boolean;\n /**\n * Disables item\n */\n disabled?: boolean;\n /**\n * Adds focus styles around\n * @deprecated set focus manually by `.focus()` method to the same behaviour\n */\n highlighted?: boolean;\n /**\n * Disables hover state\n * @deprecated use `disabled` instead\n */\n notInteractive?: boolean;\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of item (used in virtualized lists)\n */\n index?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemHintProps extends DropdownMenuItemHintProps, UnknownProperties {}\nexport type DropdownMenuItemHintProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemTitleProps\n extends DropdownMenuItemTitleProps,\n UnknownProperties {}\nexport type DropdownMenuItemTitleProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuContext extends DropdownMenuContext, UnknownProperties {}\nexport type DropdownMenuContext = DropdownContext & {\n highlightedIndex?: number;\n getListProps: PropGetterFn;\n getItemProps: PropGetterFn;\n getItemHintProps: PropGetterFn;\n getItemTitleProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuHandlers extends DropdownMenuHandlers, UnknownProperties {}\nexport type DropdownMenuHandlers = DropdownHandlers & {\n highlightedIndex: (index: number) => void;\n};\n\nexport type DropdownMenuTriggerProps = DropdownTriggerProps;\n\ndeclare const DropdownMenu: Intergalactic.Component<\n 'div',\n DropdownMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n> & {\n Trigger: typeof Dropdown.Trigger;\n Popper: Intergalactic.Component<'div', DropdownMenuProps & DropdownPopperAriaProps>;\n List: Intergalactic.Component<\n 'div',\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Actions: Intergalactic.Component<\n typeof Flex,\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Menu: Intergalactic.Component<\n 'div',\n DropdownMenuMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Item: Intergalactic.Component<\n typeof Dropdown.Item,\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n Addon: typeof Box;\n Content: typeof Flex;\n Text: typeof Text;\n Hint: typeof Flex;\n };\n /**\n * @deprecated Use Group with title prop\n */\n ItemTitle: Intergalactic.Component<'div', DropdownMenuItemTitleProps>;\n /**\n * @deprecated Use prop subTitle on Group or Item component\n */\n ItemHint: Intergalactic.Component<'div', DropdownMenuItemHintProps>;\n Group: typeof Dropdown.Group;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Nesting: Intergalactic.Component<\n 'div',\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n /**\n * @deprecated Use Item instead of Nesting\n */\n Trigger: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Item: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Addon: typeof Box;\n };\n\n selectedIndexContext: React.Context<number>;\n nestedMenuInteraction: eventInteraction;\n};\n\nexport default DropdownMenu;\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type {\n DropdownContext,\n DropdownProps,\n DropdownHandlers,\n DropdownTriggerProps,\n DropdownPopperAriaProps,\n} from '@semcore/dropdown';\nimport type Dropdown from '@semcore/dropdown';\nimport type { Box, BoxProps, FlexProps, Flex } from '@semcore/flex-box';\nimport type { eventInteraction } from '@semcore/popper';\nimport type { ScrollAreaProps } from '@semcore/scroll-area';\nimport type { Text } from '@semcore/typography';\n\nexport type DropdownMenuSize = 'm' | 'l';\n\n/** @deprecated */\nexport interface IDropdownMenuProps extends DropdownMenuProps, UnknownProperties {}\nexport type DropdownMenuProps = DropdownProps & {\n /**\n * Set role `menuitemradio` (or `menuitemcheckbox` if `multiselect`) for Dropdown.Item\n */\n selectable?: boolean;\n /**\n * Multiple select\n */\n multiselect?: boolean;\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of the element selected by default\n */\n defaultHighlightedIndex?: number | null;\n /**\n * Index of the selected item\n */\n highlightedIndex?: number | null;\n /**\n * Callback for highlightedIndex change\n * highlightedIndex - Index of the selected item\n */\n onHighlightedIndexChange?: (highlightedIndex: number | null) => void;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Flag for menu that using as actions on DropdownMenu.Item\n */\n inlineActions?: boolean;\n\n /**\n * Count of menu items (for virtual lists only)\n */\n itemsCount?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuListProps extends DropdownMenuListProps, UnknownProperties {}\nexport type DropdownMenuListProps = BoxProps &\n ScrollAreaProps & {\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n };\n\n/** @deprecated */\nexport interface IDropdownMenuMenuProps extends DropdownMenuMenuProps, UnknownProperties {}\nexport type DropdownMenuMenuProps = DropdownMenuListProps & {};\n\n/** @deprecated */\nexport interface IDropdownMenuItemProps extends DropdownMenuItemProps, UnknownProperties {}\nexport type DropdownMenuItemProps = FlexProps & {\n /**\n * Enables selected state. For selectable dropdowns only.\n */\n selected?: boolean;\n /**\n * Disables item\n */\n disabled?: boolean;\n /**\n * Adds focus styles around\n * @deprecated set focus manually by `.focus()` method to the same behaviour\n */\n highlighted?: boolean;\n /**\n * Disables hover state\n * @deprecated use `disabled` instead\n */\n notInteractive?: boolean;\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of item (used in virtualized lists)\n */\n index?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemHintProps extends DropdownMenuItemHintProps, UnknownProperties {}\nexport type DropdownMenuItemHintProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemTitleProps\n extends DropdownMenuItemTitleProps,\n UnknownProperties {}\nexport type DropdownMenuItemTitleProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuContext extends DropdownMenuContext, UnknownProperties {}\nexport type DropdownMenuContext = DropdownContext & {\n /**\n * Tracks which menu item is currently highlighted/focused for keyboard navigation\n **/\n highlightedIndex?: number;\n /**\n * Returns props for the menu list container\n **/\n getListProps: PropGetterFn;\n /**\n * Returns props for individual menu items\n **/\n getItemProps: PropGetterFn;\n /**\n * Returns props for item hint/description elements\n **/\n getItemHintProps: PropGetterFn;\n /**\n * Returns props for item title elements\n **/\n getItemTitleProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuHandlers extends DropdownMenuHandlers, UnknownProperties {}\nexport type DropdownMenuHandlers = DropdownHandlers & {\n highlightedIndex: (index: number) => void;\n};\n\nexport type DropdownMenuTriggerProps = DropdownTriggerProps;\n\ndeclare const DropdownMenu: Intergalactic.Component<\n 'div',\n DropdownMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n> & {\n Trigger: typeof Dropdown.Trigger;\n Popper: Intergalactic.Component<'div', DropdownMenuProps & DropdownPopperAriaProps>;\n List: Intergalactic.Component<\n 'div',\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Actions: Intergalactic.Component<\n typeof Flex,\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Menu: Intergalactic.Component<\n 'div',\n DropdownMenuMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Item: Intergalactic.Component<\n typeof Dropdown.Item,\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n Addon: typeof Box;\n Content: typeof Flex;\n Text: typeof Text;\n Hint: typeof Flex;\n };\n /**\n * @deprecated Use Group with title prop\n */\n ItemTitle: Intergalactic.Component<'div', DropdownMenuItemTitleProps>;\n /**\n * @deprecated Use prop subTitle on Group or Item component\n */\n ItemHint: Intergalactic.Component<'div', DropdownMenuItemHintProps>;\n Group: typeof Dropdown.Group;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Nesting: Intergalactic.Component<\n 'div',\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n /**\n * @deprecated Use Item instead of Nesting\n */\n Trigger: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Item: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Addon: typeof Box;\n };\n\n selectedIndexContext: React.Context<number>;\n nestedMenuInteraction: eventInteraction;\n};\n\nexport default DropdownMenu;\n"],"mappings":"","ignoreList":[]}
|
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_11u9k_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_11u9k_gg_ .___SBar_11u9k_gg_{z-index:3}.___SDropdownMenuList_11u9k_gg_ .___SShadowHorizontal_11u9k_gg_:after,.___SDropdownMenuList_11u9k_gg_ .___SShadowHorizontal_11u9k_gg_:before,.___SDropdownMenuList_11u9k_gg_ .___SShadowVertical_11u9k_gg_:after,.___SDropdownMenuList_11u9k_gg_ .___SShadowVertical_11u9k_gg_:before{border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuItemContainer_11u9k_gg_.__nesting-trigger_11u9k_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_11u9k_gg_,.___SItemContentText_11u9k_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-1x, 4px);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SDropdownMenuItemAddon_11u9k_gg_:first-child,.___SItemContentText_11u9k_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_11u9k_gg_:last-child,.___SItemContentText_11u9k_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_11u9k_gg_,.___SDropdownMenuNesting_11u9k_gg_._size_l_11u9k_gg_,.___SDropdownMenuNesting_11u9k_gg_._size_m_11u9k_gg_{padding:0}.___SDropdownMenuNesting_11u9k_gg_.__highlighted_11u9k_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_11u9k_gg_._size_l_11u9k_gg_,.___SDropdownNestingItem_11u9k_gg_._size_m_11u9k_gg_{padding-right:0}.___SDropdownNestingItem_11u9k_gg_ .___SDropdownMenuItemContainer_11u9k_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}.___SItemContent_11u9k_gg_:focus{outline:0}.___SItemHint_11u9k_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}", /*__inner_css_end__*/"11u9k_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_11u9k_gg_",
|
|
49
|
+
"_nesting-trigger": "__nesting-trigger_11u9k_gg_",
|
|
50
|
+
"__SDropdownMenuNesting": "___SDropdownMenuNesting_11u9k_gg_",
|
|
51
|
+
"_size_l": "_size_l_11u9k_gg_",
|
|
52
|
+
"_size_m": "_size_m_11u9k_gg_",
|
|
53
|
+
"_highlighted": "__highlighted_11u9k_gg_",
|
|
54
|
+
"__SDropdownNestingItem": "___SDropdownNestingItem_11u9k_gg_",
|
|
55
|
+
"__SItemContent": "___SItemContent_11u9k_gg_",
|
|
56
|
+
"__SItemHint": "___SItemHint_11u9k_gg_",
|
|
57
|
+
"__SDropdownMenuList": "___SDropdownMenuList_11u9k_gg_",
|
|
58
|
+
"__SBar": "___SBar_11u9k_gg_",
|
|
59
|
+
"__SShadowHorizontal": "___SShadowHorizontal_11u9k_gg_",
|
|
60
|
+
"__SShadowVertical": "___SShadowVertical_11u9k_gg_",
|
|
61
|
+
"__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_11u9k_gg_",
|
|
62
|
+
"__SItemContentText": "___SItemContentText_11u9k_gg_"
|
|
63
63
|
});
|
|
64
64
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
65
65
|
var ListBoxContextProvider = function ListBoxContextProvider(_ref20) {
|
package/lib/es6/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type {\n DropdownContext,\n DropdownProps,\n DropdownHandlers,\n DropdownTriggerProps,\n DropdownPopperAriaProps,\n} from '@semcore/dropdown';\nimport type Dropdown from '@semcore/dropdown';\nimport type { Box, BoxProps, FlexProps, Flex } from '@semcore/flex-box';\nimport type { eventInteraction } from '@semcore/popper';\nimport type { ScrollAreaProps } from '@semcore/scroll-area';\nimport type { Text } from '@semcore/typography';\n\nexport type DropdownMenuSize = 'm' | 'l';\n\n/** @deprecated */\nexport interface IDropdownMenuProps extends DropdownMenuProps, UnknownProperties {}\nexport type DropdownMenuProps = DropdownProps & {\n /**\n * Set role `menuitemradio` (or `menuitemcheckbox` if `multiselect`) for Dropdown.Item\n */\n selectable?: boolean;\n /**\n * Multiple select\n */\n multiselect?: boolean;\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of the element selected by default\n */\n defaultHighlightedIndex?: number | null;\n /**\n * Index of the selected item\n */\n highlightedIndex?: number | null;\n /**\n * Callback for highlightedIndex change\n * highlightedIndex - Index of the selected item\n */\n onHighlightedIndexChange?: (highlightedIndex: number | null) => void;\n locale?: string;\n /**\n * Flag for menu that using as actions on DropdownMenu.Item\n */\n inlineActions?: boolean;\n\n /**\n * Count of menu items (for virtual lists only)\n */\n itemsCount?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuListProps extends DropdownMenuListProps, UnknownProperties {}\nexport type DropdownMenuListProps = BoxProps &\n ScrollAreaProps & {\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n };\n\n/** @deprecated */\nexport interface IDropdownMenuMenuProps extends DropdownMenuMenuProps, UnknownProperties {}\nexport type DropdownMenuMenuProps = DropdownMenuListProps & {};\n\n/** @deprecated */\nexport interface IDropdownMenuItemProps extends DropdownMenuItemProps, UnknownProperties {}\nexport type DropdownMenuItemProps = FlexProps & {\n /**\n * Enables selected state. For selectable dropdowns only.\n */\n selected?: boolean;\n /**\n * Disables item\n */\n disabled?: boolean;\n /**\n * Adds focus styles around\n * @deprecated set focus manually by `.focus()` method to the same behaviour\n */\n highlighted?: boolean;\n /**\n * Disables hover state\n * @deprecated use `disabled` instead\n */\n notInteractive?: boolean;\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of item (used in virtualized lists)\n */\n index?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemHintProps extends DropdownMenuItemHintProps, UnknownProperties {}\nexport type DropdownMenuItemHintProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemTitleProps\n extends DropdownMenuItemTitleProps,\n UnknownProperties {}\nexport type DropdownMenuItemTitleProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuContext extends DropdownMenuContext, UnknownProperties {}\nexport type DropdownMenuContext = DropdownContext & {\n highlightedIndex?: number;\n getListProps: PropGetterFn;\n getItemProps: PropGetterFn;\n getItemHintProps: PropGetterFn;\n getItemTitleProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuHandlers extends DropdownMenuHandlers, UnknownProperties {}\nexport type DropdownMenuHandlers = DropdownHandlers & {\n highlightedIndex: (index: number) => void;\n};\n\nexport type DropdownMenuTriggerProps = DropdownTriggerProps;\n\ndeclare const DropdownMenu: Intergalactic.Component<\n 'div',\n DropdownMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n> & {\n Trigger: typeof Dropdown.Trigger;\n Popper: Intergalactic.Component<'div', DropdownMenuProps & DropdownPopperAriaProps>;\n List: Intergalactic.Component<\n 'div',\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Actions: Intergalactic.Component<\n typeof Flex,\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Menu: Intergalactic.Component<\n 'div',\n DropdownMenuMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Item: Intergalactic.Component<\n typeof Dropdown.Item,\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n Addon: typeof Box;\n Content: typeof Flex;\n Text: typeof Text;\n Hint: typeof Flex;\n };\n /**\n * @deprecated Use Group with title prop\n */\n ItemTitle: Intergalactic.Component<'div', DropdownMenuItemTitleProps>;\n /**\n * @deprecated Use prop subTitle on Group or Item component\n */\n ItemHint: Intergalactic.Component<'div', DropdownMenuItemHintProps>;\n Group: typeof Dropdown.Group;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Nesting: Intergalactic.Component<\n 'div',\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n /**\n * @deprecated Use Item instead of Nesting\n */\n Trigger: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Item: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Addon: typeof Box;\n };\n\n selectedIndexContext: React.Context<number>;\n nestedMenuInteraction: eventInteraction;\n};\n\nexport default DropdownMenu;\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type {\n DropdownContext,\n DropdownProps,\n DropdownHandlers,\n DropdownTriggerProps,\n DropdownPopperAriaProps,\n} from '@semcore/dropdown';\nimport type Dropdown from '@semcore/dropdown';\nimport type { Box, BoxProps, FlexProps, Flex } from '@semcore/flex-box';\nimport type { eventInteraction } from '@semcore/popper';\nimport type { ScrollAreaProps } from '@semcore/scroll-area';\nimport type { Text } from '@semcore/typography';\n\nexport type DropdownMenuSize = 'm' | 'l';\n\n/** @deprecated */\nexport interface IDropdownMenuProps extends DropdownMenuProps, UnknownProperties {}\nexport type DropdownMenuProps = DropdownProps & {\n /**\n * Set role `menuitemradio` (or `menuitemcheckbox` if `multiselect`) for Dropdown.Item\n */\n selectable?: boolean;\n /**\n * Multiple select\n */\n multiselect?: boolean;\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of the element selected by default\n */\n defaultHighlightedIndex?: number | null;\n /**\n * Index of the selected item\n */\n highlightedIndex?: number | null;\n /**\n * Callback for highlightedIndex change\n * highlightedIndex - Index of the selected item\n */\n onHighlightedIndexChange?: (highlightedIndex: number | null) => void;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Flag for menu that using as actions on DropdownMenu.Item\n */\n inlineActions?: boolean;\n\n /**\n * Count of menu items (for virtual lists only)\n */\n itemsCount?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuListProps extends DropdownMenuListProps, UnknownProperties {}\nexport type DropdownMenuListProps = BoxProps &\n ScrollAreaProps & {\n /**\n * Size of the menu\n * @default m\n */\n size?: DropdownMenuSize;\n };\n\n/** @deprecated */\nexport interface IDropdownMenuMenuProps extends DropdownMenuMenuProps, UnknownProperties {}\nexport type DropdownMenuMenuProps = DropdownMenuListProps & {};\n\n/** @deprecated */\nexport interface IDropdownMenuItemProps extends DropdownMenuItemProps, UnknownProperties {}\nexport type DropdownMenuItemProps = FlexProps & {\n /**\n * Enables selected state. For selectable dropdowns only.\n */\n selected?: boolean;\n /**\n * Disables item\n */\n disabled?: boolean;\n /**\n * Adds focus styles around\n * @deprecated set focus manually by `.focus()` method to the same behaviour\n */\n highlighted?: boolean;\n /**\n * Disables hover state\n * @deprecated use `disabled` instead\n */\n notInteractive?: boolean;\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n /**\n * Index of item (used in virtualized lists)\n */\n index?: number;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemHintProps extends DropdownMenuItemHintProps, UnknownProperties {}\nexport type DropdownMenuItemHintProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuItemTitleProps\n extends DropdownMenuItemTitleProps,\n UnknownProperties {}\nexport type DropdownMenuItemTitleProps = FlexProps & {\n /**\n * Size of the component\n * @default m\n */\n size?: DropdownMenuSize;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuContext extends DropdownMenuContext, UnknownProperties {}\nexport type DropdownMenuContext = DropdownContext & {\n /**\n * Tracks which menu item is currently highlighted/focused for keyboard navigation\n **/\n highlightedIndex?: number;\n /**\n * Returns props for the menu list container\n **/\n getListProps: PropGetterFn;\n /**\n * Returns props for individual menu items\n **/\n getItemProps: PropGetterFn;\n /**\n * Returns props for item hint/description elements\n **/\n getItemHintProps: PropGetterFn;\n /**\n * Returns props for item title elements\n **/\n getItemTitleProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IDropdownMenuHandlers extends DropdownMenuHandlers, UnknownProperties {}\nexport type DropdownMenuHandlers = DropdownHandlers & {\n highlightedIndex: (index: number) => void;\n};\n\nexport type DropdownMenuTriggerProps = DropdownTriggerProps;\n\ndeclare const DropdownMenu: Intergalactic.Component<\n 'div',\n DropdownMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n> & {\n Trigger: typeof Dropdown.Trigger;\n Popper: Intergalactic.Component<'div', DropdownMenuProps & DropdownPopperAriaProps>;\n List: Intergalactic.Component<\n 'div',\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Actions: Intergalactic.Component<\n typeof Flex,\n DropdownMenuListProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Menu: Intergalactic.Component<\n 'div',\n DropdownMenuMenuProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n >;\n Item: Intergalactic.Component<\n typeof Dropdown.Item,\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n Addon: typeof Box;\n Content: typeof Flex;\n Text: typeof Text;\n Hint: typeof Flex;\n };\n /**\n * @deprecated Use Group with title prop\n */\n ItemTitle: Intergalactic.Component<'div', DropdownMenuItemTitleProps>;\n /**\n * @deprecated Use prop subTitle on Group or Item component\n */\n ItemHint: Intergalactic.Component<'div', DropdownMenuItemHintProps>;\n Group: typeof Dropdown.Group;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Nesting: Intergalactic.Component<\n 'div',\n DropdownMenuItemProps,\n DropdownMenuContext,\n [handlers: DropdownMenuHandlers]\n > & {\n /**\n * @deprecated Use Item instead of Nesting\n */\n Trigger: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Item: Intergalactic.Component<'div', DropdownMenuItemProps>;\n /**\n * @deprecated Use Item instead of Nesting\n */\n Addon: typeof Box;\n };\n\n selectedIndexContext: React.Context<number>;\n nestedMenuInteraction: eventInteraction;\n};\n\nexport default DropdownMenu;\n"],"mappings":"","ignoreList":[]}
|
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_11u9k_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_11u9k_gg_ .___SBar_11u9k_gg_{z-index:3}.___SDropdownMenuList_11u9k_gg_ .___SShadowHorizontal_11u9k_gg_:after,.___SDropdownMenuList_11u9k_gg_ .___SShadowHorizontal_11u9k_gg_:before,.___SDropdownMenuList_11u9k_gg_ .___SShadowVertical_11u9k_gg_:after,.___SDropdownMenuList_11u9k_gg_ .___SShadowVertical_11u9k_gg_:before{border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuItemContainer_11u9k_gg_.__nesting-trigger_11u9k_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_11u9k_gg_,.___SItemContentText_11u9k_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-1x, 4px);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SDropdownMenuItemAddon_11u9k_gg_:first-child,.___SItemContentText_11u9k_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_11u9k_gg_:last-child,.___SItemContentText_11u9k_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_11u9k_gg_,.___SDropdownMenuNesting_11u9k_gg_._size_l_11u9k_gg_,.___SDropdownMenuNesting_11u9k_gg_._size_m_11u9k_gg_{padding:0}.___SDropdownMenuNesting_11u9k_gg_.__highlighted_11u9k_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_11u9k_gg_._size_l_11u9k_gg_,.___SDropdownNestingItem_11u9k_gg_._size_m_11u9k_gg_{padding-right:0}.___SDropdownNestingItem_11u9k_gg_ .___SDropdownMenuItemContainer_11u9k_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}.___SItemContent_11u9k_gg_:focus{outline:0}.___SItemHint_11u9k_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}",
|
|
44
44
|
/*__inner_css_end__*/
|
|
45
|
-
"
|
|
45
|
+
"11u9k_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_11u9k_gg_",
|
|
49
|
+
"_nesting-trigger": "__nesting-trigger_11u9k_gg_",
|
|
50
|
+
"__SDropdownMenuNesting": "___SDropdownMenuNesting_11u9k_gg_",
|
|
51
|
+
"_size_l": "_size_l_11u9k_gg_",
|
|
52
|
+
"_size_m": "_size_m_11u9k_gg_",
|
|
53
|
+
"_highlighted": "__highlighted_11u9k_gg_",
|
|
54
|
+
"__SDropdownNestingItem": "___SDropdownNestingItem_11u9k_gg_",
|
|
55
|
+
"__SItemContent": "___SItemContent_11u9k_gg_",
|
|
56
|
+
"__SItemHint": "___SItemHint_11u9k_gg_",
|
|
57
|
+
"__SDropdownMenuList": "___SDropdownMenuList_11u9k_gg_",
|
|
58
|
+
"__SBar": "___SBar_11u9k_gg_",
|
|
59
|
+
"__SShadowHorizontal": "___SShadowHorizontal_11u9k_gg_",
|
|
60
|
+
"__SShadowVertical": "___SShadowVertical_11u9k_gg_",
|
|
61
|
+
"__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_11u9k_gg_",
|
|
62
|
+
"__SItemContentText": "___SItemContentText_11u9k_gg_"
|
|
63
63
|
})
|
|
64
64
|
);
|
|
65
65
|
var ListBoxContextProvider = function ListBoxContextProvider2(_ref20) {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export type DropdownMenuProps = DropdownProps & {
|
|
|
43
43
|
* highlightedIndex - Index of the selected item
|
|
44
44
|
*/
|
|
45
45
|
onHighlightedIndexChange?: (highlightedIndex: number | null) => void;
|
|
46
|
+
/** Specifies the locale for i18n support */
|
|
46
47
|
locale?: string;
|
|
47
48
|
/**
|
|
48
49
|
* Flag for menu that using as actions on DropdownMenu.Item
|
|
@@ -127,10 +128,25 @@ export type DropdownMenuItemTitleProps = FlexProps & {
|
|
|
127
128
|
/** @deprecated */
|
|
128
129
|
export interface IDropdownMenuContext extends DropdownMenuContext, UnknownProperties {}
|
|
129
130
|
export type DropdownMenuContext = DropdownContext & {
|
|
131
|
+
/**
|
|
132
|
+
* Tracks which menu item is currently highlighted/focused for keyboard navigation
|
|
133
|
+
**/
|
|
130
134
|
highlightedIndex?: number;
|
|
135
|
+
/**
|
|
136
|
+
* Returns props for the menu list container
|
|
137
|
+
**/
|
|
131
138
|
getListProps: PropGetterFn;
|
|
139
|
+
/**
|
|
140
|
+
* Returns props for individual menu items
|
|
141
|
+
**/
|
|
132
142
|
getItemProps: PropGetterFn;
|
|
143
|
+
/**
|
|
144
|
+
* Returns props for item hint/description elements
|
|
145
|
+
**/
|
|
133
146
|
getItemHintProps: PropGetterFn;
|
|
147
|
+
/**
|
|
148
|
+
* Returns props for item title elements
|
|
149
|
+
**/
|
|
134
150
|
getItemTitleProps: PropGetterFn;
|
|
135
151
|
};
|
|
136
152
|
|
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.8-prerelease.1",
|
|
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.5.
|
|
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.7-prerelease.1",
|
|
18
|
+
"@semcore/dropdown": "16.0.7-prerelease.1",
|
|
19
|
+
"@semcore/icon": "16.5.1-prerelease.1",
|
|
20
|
+
"@semcore/typography": "16.2.1-prerelease.1",
|
|
21
|
+
"@semcore/popper": "16.0.7-prerelease.1",
|
|
22
|
+
"@semcore/flex-box": "16.0.7-prerelease.1",
|
|
23
|
+
"@semcore/scroll-area": "16.0.7-prerelease.1",
|
|
24
24
|
"classnames": "2.2.6"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@semcore/base-components": "^16.
|
|
27
|
+
"@semcore/base-components": "^16.2.1-prerelease.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/classnames": "2.2.6",
|
|
36
36
|
"@semcore/testing-utils": "1.0.0",
|
|
37
|
-
"@semcore/core": "16.0.
|
|
38
|
-
"@semcore/base-trigger": "16.3.
|
|
39
|
-
"@semcore/button": "16.0.
|
|
40
|
-
"@semcore/icon": "16.5.
|
|
37
|
+
"@semcore/core": "16.1.0-prerelease.1",
|
|
38
|
+
"@semcore/base-trigger": "16.3.1-prerelease.1",
|
|
39
|
+
"@semcore/button": "16.0.7-prerelease.1",
|
|
40
|
+
"@semcore/icon": "16.5.1-prerelease.1"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|