@synerise/ds-menu 1.4.12 → 1.4.14
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 +8 -0
- package/dist/Elements/Breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/Elements/Breadcrumb/Breadcrumb.js +53 -74
- package/dist/Elements/Breadcrumb/Breadcrumb.styles.d.ts +10 -10
- package/dist/Elements/Breadcrumb/Breadcrumb.styles.js +45 -60
- package/dist/Elements/Breadcrumb/Breadcrumb.types.d.ts +1 -1
- package/dist/Elements/Breadcrumb/Breadcrumb.types.js +1 -1
- package/dist/Elements/Divider/Divider.d.ts +3 -3
- package/dist/Elements/Divider/Divider.js +8 -9
- package/dist/Elements/Divider/Divider.styles.d.ts +2 -2
- package/dist/Elements/Divider/Divider.styles.js +7 -8
- package/dist/Elements/Header/Header.d.ts +2 -2
- package/dist/Elements/Header/Header.js +15 -15
- package/dist/Elements/Header/Header.styles.d.ts +2 -2
- package/dist/Elements/Header/Header.styles.js +9 -9
- package/dist/Elements/Header/Header.types.js +1 -1
- package/dist/Elements/Item/Danger/Danger.d.ts +2 -3
- package/dist/Elements/Item/Danger/Danger.js +10 -10
- package/dist/Elements/Item/Danger/Danger.styles.d.ts +2 -2
- package/dist/Elements/Item/Danger/Danger.styles.js +28 -33
- package/dist/Elements/Item/MenuItem.d.ts +2 -3
- package/dist/Elements/Item/MenuItem.js +45 -89
- package/dist/Elements/Item/Select/Select.d.ts +2 -3
- package/dist/Elements/Item/Select/Select.js +12 -16
- package/dist/Elements/Item/Select/Select.styles.d.ts +2 -2
- package/dist/Elements/Item/Select/Select.styles.js +13 -18
- package/dist/Elements/Item/SubmenuText/SubmenuText.d.ts +2 -3
- package/dist/Elements/Item/SubmenuText/SubmenuText.js +15 -24
- package/dist/Elements/Item/SubmenuText/SubmenuText.styles.d.ts +3 -3
- package/dist/Elements/Item/SubmenuText/SubmenuText.styles.js +18 -23
- package/dist/Elements/Item/Text/DynamicLabel.d.ts +1 -1
- package/dist/Elements/Item/Text/DynamicLabel.js +15 -10
- package/dist/Elements/Item/Text/Text.const.d.ts +1 -1
- package/dist/Elements/Item/Text/Text.const.js +13 -6
- package/dist/Elements/Item/Text/Text.d.ts +2 -2
- package/dist/Elements/Item/Text/Text.js +131 -196
- package/dist/Elements/Item/Text/Text.styles.d.ts +15 -15
- package/dist/Elements/Item/Text/Text.styles.js +68 -112
- package/dist/Elements/Item/Text/Text.types.d.ts +3 -3
- package/dist/Elements/Item/Text/Text.types.js +1 -1
- package/dist/Elements/SubMenu/SubMenu.d.ts +2 -3
- package/dist/Elements/SubMenu/SubMenu.js +44 -89
- package/dist/Elements/index.js +4 -1
- package/dist/Menu.d.ts +6 -8
- package/dist/Menu.js +71 -136
- package/dist/Menu.styles.d.ts +4 -4
- package/dist/Menu.styles.js +26 -76
- package/dist/Menu.types.d.ts +4 -4
- package/dist/Menu.types.js +22 -22
- package/dist/assets/style/index-tn0RQdqM.css +0 -0
- package/dist/hooks/useTemporaryLabel.d.ts +1 -1
- package/dist/hooks/useTemporaryLabel.js +12 -13
- package/dist/index.js +25 -18
- package/dist/modules.d.js +1 -1
- package/dist/modules.d.ts +0 -0
- package/dist/utils/getCopyConfig.d.ts +2 -2
- package/dist/utils/getCopyConfig.js +21 -17
- package/package.json +11 -10
|
@@ -1,166 +1,131 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var renderAddon = function renderAddon(addon) {
|
|
18
|
-
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
19
|
-
params[_key - 1] = arguments[_key];
|
|
20
|
-
}
|
|
21
|
-
return addon instanceof Function ? addon.apply(void 0, params) : addon;
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import copy from "copy-to-clipboard";
|
|
4
|
+
import { useState, useMemo, useCallback } from "react";
|
|
5
|
+
import { useTheme, useDropdown } from "@synerise/ds-core";
|
|
6
|
+
import Icon, { AngleRightS, CheckS } from "@synerise/ds-icon";
|
|
7
|
+
import { getPlacement, Popover, PopoverContent, PopoverTrigger } from "@synerise/ds-popover";
|
|
8
|
+
import { escapeRegEx } from "@synerise/ds-utils";
|
|
9
|
+
import { VisibilityTrigger } from "../../../Menu.types.js";
|
|
10
|
+
import { useTemporaryLabel } from "../../../hooks/useTemporaryLabel.js";
|
|
11
|
+
import { getCopyConfig } from "../../../utils/getCopyConfig.js";
|
|
12
|
+
import { DynamicLabel } from "./DynamicLabel.js";
|
|
13
|
+
import { TRANSITION_DURATION, HOVER_CONFIG, FLIP_CONFIG, OFFSET_CONFIG, SHIFT_CONFIG } from "./Text.const.js";
|
|
14
|
+
import { Wrapper, Inner, ContentWrapper, PrefixelWrapper, Content, Description, ArrowRight, ContentDivider, SuffixWraper, PropagationStopper } from "./Text.styles.js";
|
|
15
|
+
const renderAddon = (addon, ...params) => {
|
|
16
|
+
return addon instanceof Function ? addon(...params) : addon;
|
|
22
17
|
};
|
|
23
|
-
function WithHoverTooltip(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
18
|
+
function WithHoverTooltip({
|
|
19
|
+
popoverProps,
|
|
20
|
+
renderHoverTooltip,
|
|
21
|
+
children,
|
|
22
|
+
style
|
|
23
|
+
}) {
|
|
24
|
+
const theme = useTheme();
|
|
25
|
+
const zIndex = parseInt(theme.variables["zindex-tooltip"], 10);
|
|
26
|
+
const cancelBubblingEvent = useCallback(() => (ev) => {
|
|
27
|
+
ev.stopPropagation();
|
|
34
28
|
}, []);
|
|
35
|
-
|
|
29
|
+
const popoverPlacement = getPlacement(popoverProps?.placement || "right");
|
|
36
30
|
return (
|
|
37
|
-
/*#__PURE__*/
|
|
38
31
|
// onKeyDown is used to disallow propagating key events to tooltip's container element
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
componentId: "information-card",
|
|
46
|
-
testId: "information-card",
|
|
47
|
-
shiftConfig: SHIFT_CONFIG,
|
|
48
|
-
offsetConfig: OFFSET_CONFIG,
|
|
49
|
-
flipConfig: FLIP_CONFIG,
|
|
50
|
-
hoverConfig: HOVER_CONFIG,
|
|
51
|
-
autoUpdate: {
|
|
52
|
-
layoutShift: true
|
|
53
|
-
},
|
|
54
|
-
transitionDuration: TRANSITION_DURATION,
|
|
55
|
-
zIndex: zIndex
|
|
56
|
-
}, popoverProps, {
|
|
57
|
-
placement: popoverPlacement
|
|
58
|
-
}), /*#__PURE__*/React.createElement(PopoverContent, null, renderHoverTooltip && renderHoverTooltip()), /*#__PURE__*/React.createElement(PopoverTrigger, {
|
|
59
|
-
asChild: true
|
|
60
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
61
|
-
style: style
|
|
62
|
-
}, children))))
|
|
32
|
+
/* @__PURE__ */ jsx(PropagationStopper, { onKeyDown: cancelBubblingEvent, onClick: cancelBubblingEvent, children: /* @__PURE__ */ jsxs(Popover, { trigger: "hover", modal: false, componentId: "information-card", testId: "information-card", shiftConfig: SHIFT_CONFIG, offsetConfig: OFFSET_CONFIG, flipConfig: FLIP_CONFIG, hoverConfig: HOVER_CONFIG, autoUpdate: {
|
|
33
|
+
layoutShift: true
|
|
34
|
+
}, transitionDuration: TRANSITION_DURATION, zIndex, ...popoverProps, placement: popoverPlacement, children: [
|
|
35
|
+
/* @__PURE__ */ jsx(PopoverContent, { children: renderHoverTooltip && renderHoverTooltip() }),
|
|
36
|
+
/* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { style, children }) })
|
|
37
|
+
] }) })
|
|
63
38
|
);
|
|
64
39
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
var prefixElement = useMemo(function () {
|
|
119
|
-
return renderAddon(prefixel, hovered);
|
|
120
|
-
}, [prefixel, hovered]);
|
|
121
|
-
var childrenWithHighlight = useMemo(function () {
|
|
122
|
-
if (highlight && typeof children === 'string') {
|
|
123
|
-
var index = children.toLocaleLowerCase().indexOf(highlight.toLocaleLowerCase());
|
|
40
|
+
const Text = ({
|
|
41
|
+
parent,
|
|
42
|
+
disabled,
|
|
43
|
+
prefixel,
|
|
44
|
+
suffixel,
|
|
45
|
+
danger,
|
|
46
|
+
children,
|
|
47
|
+
description,
|
|
48
|
+
copyable,
|
|
49
|
+
copyValue,
|
|
50
|
+
copyHint,
|
|
51
|
+
copyTooltip,
|
|
52
|
+
timeToHideTooltip,
|
|
53
|
+
tooltipProps,
|
|
54
|
+
highlight,
|
|
55
|
+
style,
|
|
56
|
+
prefixVisibilityTrigger,
|
|
57
|
+
suffixVisibilityTrigger,
|
|
58
|
+
indentLevel,
|
|
59
|
+
ordered,
|
|
60
|
+
onClick,
|
|
61
|
+
checked,
|
|
62
|
+
popoverProps,
|
|
63
|
+
renderHoverTooltip,
|
|
64
|
+
size = "default",
|
|
65
|
+
...rest
|
|
66
|
+
}) => {
|
|
67
|
+
const theme = useTheme();
|
|
68
|
+
const dropdownContext = useDropdown();
|
|
69
|
+
const [hovered, setHovered] = useState(false);
|
|
70
|
+
const [clicked, setClicked] = useState(false);
|
|
71
|
+
const showSuffixOnHover = suffixVisibilityTrigger === VisibilityTrigger.HOVER;
|
|
72
|
+
const showPrefixOnHover = prefixVisibilityTrigger === VisibilityTrigger.HOVER;
|
|
73
|
+
const {
|
|
74
|
+
enabled: canCopyToClipboard,
|
|
75
|
+
valueToCopy,
|
|
76
|
+
copiedLabel,
|
|
77
|
+
labelTimerReset,
|
|
78
|
+
delayClickEvent
|
|
79
|
+
} = getCopyConfig({
|
|
80
|
+
copyable,
|
|
81
|
+
copyValue,
|
|
82
|
+
disabled
|
|
83
|
+
});
|
|
84
|
+
const {
|
|
85
|
+
temporaryLabel,
|
|
86
|
+
setTemporaryLabel
|
|
87
|
+
} = useTemporaryLabel(labelTimerReset);
|
|
88
|
+
const suffixElement = useMemo(() => renderAddon(suffixel, hovered), [suffixel, hovered]);
|
|
89
|
+
const prefixElement = useMemo(() => renderAddon(prefixel, hovered), [prefixel, hovered]);
|
|
90
|
+
const childrenWithHighlight = useMemo(() => {
|
|
91
|
+
if (highlight && typeof children === "string") {
|
|
92
|
+
const index = children.toLocaleLowerCase().indexOf(highlight.toLocaleLowerCase());
|
|
124
93
|
if (index === -1) {
|
|
125
94
|
return children;
|
|
126
95
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
key: children,
|
|
132
|
-
className: "search-highlight"
|
|
133
|
-
}, children.substring(startOfQuery, endOfQuery)), children.substring(endOfQuery, children.length)];
|
|
96
|
+
const escapedHighlight = escapeRegEx(highlight);
|
|
97
|
+
const startOfQuery = children.toLowerCase().search(escapedHighlight.toLowerCase());
|
|
98
|
+
const endOfQuery = startOfQuery + highlight.length;
|
|
99
|
+
const resultArray = [children.substring(0, startOfQuery), /* @__PURE__ */ jsx("span", { className: "search-highlight", children: children.substring(startOfQuery, endOfQuery) }, children), children.substring(endOfQuery, children.length)];
|
|
134
100
|
return resultArray;
|
|
135
101
|
}
|
|
136
102
|
return children;
|
|
137
103
|
}, [children, highlight]);
|
|
138
|
-
|
|
104
|
+
const shouldRenderSuffix = useMemo(() => {
|
|
139
105
|
if (showSuffixOnHover) {
|
|
140
106
|
return (!!suffixElement || !!checked) && hovered;
|
|
141
107
|
}
|
|
142
108
|
return !!suffixElement || !!checked;
|
|
143
109
|
}, [showSuffixOnHover, suffixElement, checked, hovered]);
|
|
144
|
-
|
|
110
|
+
const shouldRenderPrefix = useMemo(() => {
|
|
145
111
|
if (showPrefixOnHover) {
|
|
146
112
|
return !!prefixElement && hovered;
|
|
147
113
|
}
|
|
148
114
|
return !!prefixElement;
|
|
149
115
|
}, [showPrefixOnHover, prefixElement, hovered]);
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
var className = useMemo(function () {
|
|
154
|
-
return classNames('ds-menu-item', rest.className, size);
|
|
116
|
+
const renderPrefixElement = (isHover) => prefixel instanceof Function ? prefixel(isHover) : prefixel;
|
|
117
|
+
const className = useMemo(() => {
|
|
118
|
+
return classNames("ds-menu-item", rest.className, size);
|
|
155
119
|
}, [rest.className, size]);
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
120
|
+
const mergedStyle = {
|
|
121
|
+
...style,
|
|
122
|
+
paddingLeft: "revert-layer"
|
|
123
|
+
};
|
|
124
|
+
const handleClick = (itemData) => {
|
|
125
|
+
const handler = () => {
|
|
126
|
+
onClick?.(itemData);
|
|
127
|
+
if (dropdownContext?.hideOnItemClick === true) {
|
|
128
|
+
dropdownContext?.setIsOpen(false);
|
|
164
129
|
}
|
|
165
130
|
};
|
|
166
131
|
if (delayClickEvent) {
|
|
@@ -169,64 +134,34 @@ var Text = function Text(_ref2) {
|
|
|
169
134
|
}
|
|
170
135
|
handler();
|
|
171
136
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
className: className
|
|
196
|
-
}), /*#__PURE__*/React.createElement(S.Inner, {
|
|
197
|
-
indentLevel: Number(indentLevel)
|
|
198
|
-
}, /*#__PURE__*/React.createElement(S.ContentWrapper, {
|
|
199
|
-
className: "ds-menu-content-wrapper"
|
|
200
|
-
}, shouldRenderPrefix && /*#__PURE__*/React.createElement(S.PrefixelWrapper, {
|
|
201
|
-
className: "ds-menu-prefix",
|
|
202
|
-
visible: shouldRenderPrefix,
|
|
203
|
-
disabled: disabled
|
|
204
|
-
}, renderPrefixElement(hovered)), /*#__PURE__*/React.createElement(S.Content, {
|
|
205
|
-
className: "ds-menu-content",
|
|
206
|
-
highlight: !!highlight
|
|
207
|
-
}, /*#__PURE__*/React.createElement(DynamicLabel, {
|
|
208
|
-
content: childrenWithHighlight,
|
|
209
|
-
alternativeContent: canCopyToClipboard ? copiedLabel : undefined,
|
|
210
|
-
showAlternative: temporaryLabel
|
|
211
|
-
}), !!description && /*#__PURE__*/React.createElement(S.Description, null, description)), parent && /*#__PURE__*/React.createElement(S.ArrowRight, {
|
|
212
|
-
disabled: disabled
|
|
213
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
214
|
-
component: /*#__PURE__*/React.createElement(AngleRightS, null),
|
|
215
|
-
color: theme.palette['grey-600']
|
|
216
|
-
})), /*#__PURE__*/React.createElement(S.ContentDivider, null), (!!suffixElement || !!checked) && /*#__PURE__*/React.createElement(S.SuffixWraper, {
|
|
217
|
-
visible: shouldRenderSuffix,
|
|
218
|
-
disabled: disabled
|
|
219
|
-
}, !!checked && /*#__PURE__*/React.createElement(Icon, {
|
|
220
|
-
component: /*#__PURE__*/React.createElement(CheckS, null),
|
|
221
|
-
color: theme.palette["green-600"]
|
|
222
|
-
}), suffixElement))));
|
|
137
|
+
const element = /* @__PURE__ */ jsx(Wrapper, { onMouseOver: () => {
|
|
138
|
+
setHovered(true);
|
|
139
|
+
}, onMouseLeave: () => {
|
|
140
|
+
setHovered(false);
|
|
141
|
+
}, onMouseDown: () => {
|
|
142
|
+
setClicked(!clicked);
|
|
143
|
+
if (canCopyToClipboard && valueToCopy) {
|
|
144
|
+
copy(valueToCopy);
|
|
145
|
+
setTemporaryLabel(true);
|
|
146
|
+
}
|
|
147
|
+
}, disabled, tabIndex: disabled ? -1 : 0, description, style: renderHoverTooltip ? void 0 : mergedStyle, ordered, size, onClick: handleClick, ...rest, "data-name": typeof children === "string" ? children : void 0, className, children: /* @__PURE__ */ jsx(Inner, { indentLevel: Number(indentLevel), children: /* @__PURE__ */ jsxs(ContentWrapper, { className: "ds-menu-content-wrapper", children: [
|
|
148
|
+
shouldRenderPrefix && /* @__PURE__ */ jsx(PrefixelWrapper, { className: "ds-menu-prefix", visible: shouldRenderPrefix, disabled, children: renderPrefixElement(hovered) }),
|
|
149
|
+
/* @__PURE__ */ jsxs(Content, { className: "ds-menu-content", highlight: !!highlight, children: [
|
|
150
|
+
/* @__PURE__ */ jsx(DynamicLabel, { content: childrenWithHighlight, alternativeContent: canCopyToClipboard ? copiedLabel : void 0, showAlternative: temporaryLabel }),
|
|
151
|
+
!!description && /* @__PURE__ */ jsx(Description, { children: description })
|
|
152
|
+
] }),
|
|
153
|
+
parent && /* @__PURE__ */ jsx(ArrowRight, { disabled, children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(AngleRightS, {}), color: theme.palette["grey-600"] }) }),
|
|
154
|
+
/* @__PURE__ */ jsx(ContentDivider, {}),
|
|
155
|
+
(!!suffixElement || !!checked) && /* @__PURE__ */ jsxs(SuffixWraper, { visible: shouldRenderSuffix, disabled, children: [
|
|
156
|
+
!!checked && /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(CheckS, {}), color: theme.palette[`green-600`] }),
|
|
157
|
+
suffixElement
|
|
158
|
+
] })
|
|
159
|
+
] }) }) });
|
|
223
160
|
if (renderHoverTooltip) {
|
|
224
|
-
return
|
|
225
|
-
popoverProps: popoverProps,
|
|
226
|
-
renderHoverTooltip: renderHoverTooltip,
|
|
227
|
-
style: mergedStyle
|
|
228
|
-
}, element);
|
|
161
|
+
return /* @__PURE__ */ jsx(WithHoverTooltip, { popoverProps, renderHoverTooltip, style: mergedStyle, children: element });
|
|
229
162
|
}
|
|
230
163
|
return element;
|
|
231
164
|
};
|
|
232
|
-
export
|
|
165
|
+
export {
|
|
166
|
+
Text as default
|
|
167
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import MenuItem from 'antd/lib/menu/MenuItem';
|
|
2
|
-
import
|
|
1
|
+
import { default as MenuItem } from 'antd/lib/menu/MenuItem';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
type WrapperProps = {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
prefixel?: React.ReactNode;
|
|
@@ -10,31 +10,31 @@ type WrapperProps = {
|
|
|
10
10
|
size?: 'default' | 'large';
|
|
11
11
|
active?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare const ArrowRight: import(
|
|
13
|
+
export declare const ArrowRight: import('styled-components').StyledComponent<"div", any, {
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
}, never>;
|
|
16
|
-
export declare const Inner: import(
|
|
16
|
+
export declare const Inner: import('styled-components').StyledComponent<"div", any, {
|
|
17
17
|
indentLevel?: number;
|
|
18
18
|
}, never>;
|
|
19
|
-
export declare const PrefixelWrapper: import(
|
|
19
|
+
export declare const PrefixelWrapper: import('styled-components').StyledComponent<"div", any, {
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
visible?: boolean;
|
|
22
22
|
}, never>;
|
|
23
|
-
export declare const Wrapper: import(
|
|
24
|
-
export declare const Content: import(
|
|
23
|
+
export declare const Wrapper: import('styled-components').StyledComponent<typeof MenuItem, any, WrapperProps, never>;
|
|
24
|
+
export declare const Content: import('styled-components').StyledComponent<"div", any, {
|
|
25
25
|
highlight?: boolean;
|
|
26
26
|
}, never>;
|
|
27
|
-
export declare const Description: import(
|
|
28
|
-
export declare const SuffixWraper: import(
|
|
27
|
+
export declare const Description: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
28
|
+
export declare const SuffixWraper: import('styled-components').StyledComponent<"div", any, {
|
|
29
29
|
disabled?: boolean;
|
|
30
30
|
visible?: boolean;
|
|
31
31
|
}, never>;
|
|
32
|
-
export declare const ContentWrapper: import(
|
|
33
|
-
export declare const ContentDivider: import(
|
|
34
|
-
export declare const DynamicLabelMain: import(
|
|
35
|
-
export declare const DynamicLabelAlternate: import(
|
|
36
|
-
export declare const DynamicLabelWrapper: import(
|
|
32
|
+
export declare const ContentWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
33
|
+
export declare const ContentDivider: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
34
|
+
export declare const DynamicLabelMain: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
35
|
+
export declare const DynamicLabelAlternate: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
36
|
+
export declare const DynamicLabelWrapper: import('styled-components').StyledComponent<"div", any, {
|
|
37
37
|
showAlternative?: boolean;
|
|
38
38
|
}, never>;
|
|
39
|
-
export declare const PropagationStopper: import(
|
|
39
|
+
export declare const PropagationStopper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
40
40
|
export {};
|