@hitachivantara/uikit-react-core 5.76.0 → 5.78.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/dist/cjs/Footer/Footer.cjs +1 -1
- package/dist/cjs/Forms/Suggestions/Suggestions.cjs +13 -2
- package/dist/cjs/Forms/Suggestions/Suggestions.styles.cjs +7 -4
- package/dist/cjs/Input/Input.cjs +25 -6
- package/dist/cjs/Loading/Loading.styles.cjs +4 -2
- package/dist/cjs/MultiButton/MultiButton.cjs +12 -39
- package/dist/cjs/MultiButton/MultiButton.styles.cjs +25 -56
- package/dist/cjs/Select/Select.styles.cjs +1 -0
- package/dist/cjs/Table/TableCell/TableCell.styles.cjs +3 -0
- package/dist/cjs/Table/TableHeader/TableHeader.styles.cjs +3 -0
- package/dist/cjs/Table/TableRow/TableRow.styles.cjs +1 -0
- package/dist/cjs/Table/hooks/useRowExpand.cjs +3 -3
- package/dist/cjs/Tooltip/Tooltip.styles.cjs +12 -6
- package/dist/esm/Footer/Footer.js +1 -1
- package/dist/esm/Footer/Footer.js.map +1 -1
- package/dist/esm/Forms/Suggestions/Suggestions.js +13 -2
- package/dist/esm/Forms/Suggestions/Suggestions.js.map +1 -1
- package/dist/esm/Forms/Suggestions/Suggestions.styles.js +7 -4
- package/dist/esm/Forms/Suggestions/Suggestions.styles.js.map +1 -1
- package/dist/esm/Input/Input.js +25 -6
- package/dist/esm/Input/Input.js.map +1 -1
- package/dist/esm/Loading/Loading.styles.js +4 -2
- package/dist/esm/Loading/Loading.styles.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.js +15 -42
- package/dist/esm/MultiButton/MultiButton.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.styles.js +25 -56
- package/dist/esm/MultiButton/MultiButton.styles.js.map +1 -1
- package/dist/esm/Select/Select.styles.js +1 -0
- package/dist/esm/Select/Select.styles.js.map +1 -1
- package/dist/esm/Table/TableCell/TableCell.styles.js +3 -0
- package/dist/esm/Table/TableCell/TableCell.styles.js.map +1 -1
- package/dist/esm/Table/TableHeader/TableHeader.styles.js +3 -0
- package/dist/esm/Table/TableHeader/TableHeader.styles.js.map +1 -1
- package/dist/esm/Table/TableRow/TableRow.styles.js +1 -0
- package/dist/esm/Table/TableRow/TableRow.styles.js.map +1 -1
- package/dist/esm/Table/hooks/useRowExpand.js +4 -4
- package/dist/esm/Table/hooks/useRowExpand.js.map +1 -1
- package/dist/esm/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/Tooltip/Tooltip.styles.js +12 -6
- package/dist/esm/Tooltip/Tooltip.styles.js.map +1 -1
- package/dist/types/index.d.ts +34 -17
- package/package.json +6 -6
|
@@ -11,7 +11,7 @@ const useMediaQuery__default = /* @__PURE__ */ _interopDefault(useMediaQuery);
|
|
|
11
11
|
const HvFooter = (props) => {
|
|
12
12
|
const {
|
|
13
13
|
name = "Hitachi Vantara",
|
|
14
|
-
copyright = `© Hitachi Vantara
|
|
14
|
+
copyright = `© Hitachi Vantara LLC ${(/* @__PURE__ */ new Date()).getFullYear()}. All Rights Reserved.`,
|
|
15
15
|
links,
|
|
16
16
|
classes: classesProp,
|
|
17
17
|
className,
|
|
@@ -5,6 +5,8 @@ const React = require("react");
|
|
|
5
5
|
const ClickAwayListener = require("@mui/base/ClickAwayListener");
|
|
6
6
|
const Popper = require("@mui/base/Popper");
|
|
7
7
|
const utils = require("@mui/material/utils");
|
|
8
|
+
const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
|
|
9
|
+
const document = require("../../utils/document.cjs");
|
|
8
10
|
const setId = require("../../utils/setId.cjs");
|
|
9
11
|
const Suggestions_styles = require("./Suggestions.styles.cjs");
|
|
10
12
|
const SelectionList = require("../../SelectionList/SelectionList.cjs");
|
|
@@ -16,6 +18,7 @@ const HvSuggestions = React.forwardRef((props, extRef) => {
|
|
|
16
18
|
className,
|
|
17
19
|
classes: classesProp,
|
|
18
20
|
expanded = false,
|
|
21
|
+
enablePortal = false,
|
|
19
22
|
open: openProp,
|
|
20
23
|
anchorEl,
|
|
21
24
|
suggestionValues = [],
|
|
@@ -24,6 +27,7 @@ const HvSuggestions = React.forwardRef((props, extRef) => {
|
|
|
24
27
|
...others
|
|
25
28
|
} = props;
|
|
26
29
|
const { classes, cx } = Suggestions_styles.useClasses(classesProp);
|
|
30
|
+
const { rootId } = uikitReactUtils.useTheme();
|
|
27
31
|
const { elementId } = React.useContext(FormElementContext.HvFormElementContext);
|
|
28
32
|
const localId = id ?? setId.setId(elementId, "suggestions");
|
|
29
33
|
const ref = React.useRef(null);
|
|
@@ -49,10 +53,17 @@ const HvSuggestions = React.forwardRef((props, extRef) => {
|
|
|
49
53
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
50
54
|
Popper.Popper,
|
|
51
55
|
{
|
|
56
|
+
style: {
|
|
57
|
+
// @ts-ignore
|
|
58
|
+
"--popper-width": enablePortal ? `${anchorEl?.clientWidth}px` : "100%"
|
|
59
|
+
},
|
|
52
60
|
open: openProp ?? isOpen,
|
|
53
|
-
disablePortal:
|
|
61
|
+
disablePortal: !enablePortal,
|
|
62
|
+
container: enablePortal ? document.getContainerElement(rootId) : void 0,
|
|
54
63
|
anchorEl,
|
|
55
|
-
className: classes.popper,
|
|
64
|
+
className: cx(classes.popper, {
|
|
65
|
+
[classes.portal]: enablePortal
|
|
66
|
+
}),
|
|
56
67
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
57
68
|
SelectionList.HvSelectionList,
|
|
58
69
|
{
|
|
@@ -11,11 +11,14 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvSuggestio
|
|
|
11
11
|
width: "100%"
|
|
12
12
|
},
|
|
13
13
|
popper: {
|
|
14
|
-
width: "
|
|
14
|
+
width: "var(--popper-width)",
|
|
15
15
|
position: "absolute",
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
zIndex: uikitStyles.theme.zIndices.tooltip,
|
|
17
|
+
":not($portal)": {
|
|
18
|
+
transform: "translate3d(0, -1px, 0) !important"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
portal: {}
|
|
19
22
|
});
|
|
20
23
|
exports.staticClasses = staticClasses;
|
|
21
24
|
exports.useClasses = useClasses;
|
package/dist/cjs/Input/Input.cjs
CHANGED
|
@@ -57,6 +57,8 @@ const HvInput = React.forwardRef((props, ref) => {
|
|
|
57
57
|
required = false,
|
|
58
58
|
readOnly = false,
|
|
59
59
|
disabled = false,
|
|
60
|
+
enablePortal = false,
|
|
61
|
+
suggestOnFocus = false,
|
|
60
62
|
label,
|
|
61
63
|
"aria-label": ariaLabel,
|
|
62
64
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -249,11 +251,17 @@ const HvInput = React.forwardRef((props, ref) => {
|
|
|
249
251
|
const showClear = !disabled && !readOnly && !disableClear && !isEmptyValue && (!hasOnEnter || type !== "search" || disableSearchButton || validationState !== validationStates.default.standBy);
|
|
250
252
|
const showSearchIcon = type === "search" && !disableSearchButton;
|
|
251
253
|
const showRevealPasswordButton = type === "password" && !disableRevealPassword;
|
|
252
|
-
const handleClear = React.useCallback(
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
254
|
+
const handleClear = React.useCallback(
|
|
255
|
+
(event) => {
|
|
256
|
+
setValidationState(validationStates.default.standBy);
|
|
257
|
+
changeInputValue(inputRef.current, "");
|
|
258
|
+
if (canShowSuggestions && suggestOnFocus) event.stopPropagation();
|
|
259
|
+
else {
|
|
260
|
+
setTimeout(focusInput);
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
[canShowSuggestions, setValidationState, suggestOnFocus]
|
|
264
|
+
);
|
|
257
265
|
const clearButton = React.useMemo(() => {
|
|
258
266
|
if (!showClear) {
|
|
259
267
|
return null;
|
|
@@ -455,6 +463,16 @@ const HvInput = React.forwardRef((props, ref) => {
|
|
|
455
463
|
ref: inputRef,
|
|
456
464
|
// prevent browsers auto-fill/suggestions when we have our own
|
|
457
465
|
autoComplete: canShowSuggestions ? "off" : void 0,
|
|
466
|
+
onFocus: (event) => {
|
|
467
|
+
inputProps.onFocus?.(event);
|
|
468
|
+
if (canShowSuggestions && suggestOnFocus) {
|
|
469
|
+
suggestionHandler(value);
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
onClick: (event) => {
|
|
473
|
+
inputProps.onClick?.(event);
|
|
474
|
+
if (canShowSuggestions && suggestOnFocus) event.stopPropagation();
|
|
475
|
+
},
|
|
458
476
|
...inputProps
|
|
459
477
|
},
|
|
460
478
|
inputRef: forkedRef,
|
|
@@ -478,7 +496,8 @@ const HvInput = React.forwardRef((props, ref) => {
|
|
|
478
496
|
onClose: suggestionClearHandler,
|
|
479
497
|
onKeyDown: onSuggestionKeyDown,
|
|
480
498
|
onSuggestionSelected: suggestionSelectedHandler,
|
|
481
|
-
suggestionValues
|
|
499
|
+
suggestionValues,
|
|
500
|
+
enablePortal
|
|
482
501
|
}
|
|
483
502
|
)
|
|
484
503
|
] }),
|
|
@@ -12,13 +12,14 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvLoading",
|
|
|
12
12
|
},
|
|
13
13
|
barContainer: {
|
|
14
14
|
display: "flex",
|
|
15
|
+
alignItems: "center",
|
|
15
16
|
justifyContent: "space-around",
|
|
16
17
|
":has($regular)": {
|
|
17
18
|
width: 30,
|
|
18
19
|
height: 30
|
|
19
20
|
},
|
|
20
21
|
":has($small)": {
|
|
21
|
-
"--
|
|
22
|
+
"--height": "40%",
|
|
22
23
|
width: 18,
|
|
23
24
|
height: 18
|
|
24
25
|
}
|
|
@@ -29,9 +30,10 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvLoading",
|
|
|
29
30
|
animation: "loading 1s ease-in-out infinite",
|
|
30
31
|
// TODO: make this the default when it has better support
|
|
31
32
|
width: "round(up, 0.11em, 2px)",
|
|
33
|
+
height: "100%",
|
|
32
34
|
"@keyframes loading": {
|
|
33
35
|
"50%": {
|
|
34
|
-
|
|
36
|
+
height: "var(--height, 60%)",
|
|
35
37
|
backgroundColor: `var(--customColor, ${uikitStyles.theme.colors.secondary})`
|
|
36
38
|
}
|
|
37
39
|
},
|
|
@@ -3,11 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
|
|
6
|
-
const setId = require("../utils/setId.cjs");
|
|
7
6
|
const MultiButton_styles = require("./MultiButton.styles.cjs");
|
|
8
7
|
const HvMultiButton = (props) => {
|
|
9
8
|
const {
|
|
10
|
-
id,
|
|
11
9
|
className,
|
|
12
10
|
children,
|
|
13
11
|
classes: classesProp,
|
|
@@ -18,13 +16,7 @@ const HvMultiButton = (props) => {
|
|
|
18
16
|
split,
|
|
19
17
|
...others
|
|
20
18
|
} = uikitReactUtils.useDefaultProps("HvMultiButton", props);
|
|
21
|
-
const { classes, cx
|
|
22
|
-
const [color, type] = React.useMemo(() => {
|
|
23
|
-
const result = variant.split(/(?=[A-Z])/);
|
|
24
|
-
if (result[0] === "ghost" || result[0] === "semantic" || result[0] === "secondary" && !result[1])
|
|
25
|
-
return [];
|
|
26
|
-
return result.map((x) => x.toLowerCase());
|
|
27
|
-
}, [variant]);
|
|
19
|
+
const { classes, cx } = MultiButton_styles.useClasses(classesProp);
|
|
28
20
|
const buttons = React.useMemo(() => {
|
|
29
21
|
const btns = [];
|
|
30
22
|
React.Children.forEach(children, (child) => {
|
|
@@ -37,7 +29,6 @@ const HvMultiButton = (props) => {
|
|
|
37
29
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38
30
|
"div",
|
|
39
31
|
{
|
|
40
|
-
id,
|
|
41
32
|
className: cx(
|
|
42
33
|
classes.root,
|
|
43
34
|
{
|
|
@@ -53,35 +44,17 @@ const HvMultiButton = (props) => {
|
|
|
53
44
|
...others,
|
|
54
45
|
children: buttons.map((child, index) => {
|
|
55
46
|
const childIsSelected = !!child.props.selected;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}),
|
|
68
|
-
split && index < buttons.length - 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
69
|
-
"div",
|
|
70
|
-
{
|
|
71
|
-
className: cx(
|
|
72
|
-
classes.splitContainer,
|
|
73
|
-
color && css(MultiButton_styles.getSplitContainerColor(color, type, disabled)),
|
|
74
|
-
size && css(MultiButton_styles.getSplitContainerHeight(size)),
|
|
75
|
-
{
|
|
76
|
-
[classes.splitDisabled]: disabled
|
|
77
|
-
},
|
|
78
|
-
classes[variant]
|
|
79
|
-
// TODO - remove in v6
|
|
80
|
-
),
|
|
81
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.split })
|
|
82
|
-
}
|
|
83
|
-
)
|
|
84
|
-
] }, btnKey);
|
|
47
|
+
return React.cloneElement(child, {
|
|
48
|
+
key: index,
|
|
49
|
+
variant,
|
|
50
|
+
disabled: disabled || child.props.disabled,
|
|
51
|
+
size,
|
|
52
|
+
className: cx(child.props.className, classes.button, {
|
|
53
|
+
[classes.firstButton]: index === 0,
|
|
54
|
+
[classes.lastButton]: index === buttons.length - 1,
|
|
55
|
+
[classes.selected]: childIsSelected
|
|
56
|
+
})
|
|
57
|
+
});
|
|
85
58
|
})
|
|
86
59
|
}
|
|
87
60
|
);
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
|
|
4
4
|
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
5
|
-
const Button_styles = require("../Button/Button.styles.cjs");
|
|
6
5
|
const DropDownMenu_styles = require("../DropDownMenu/DropDownMenu.styles.cjs");
|
|
7
6
|
require("../DropDownMenu/DropDownMenu.cjs");
|
|
8
7
|
const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvMultiButton", {
|
|
@@ -98,44 +97,40 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvMultiButt
|
|
|
98
97
|
splitGroup: {
|
|
99
98
|
width: "fit-content",
|
|
100
99
|
background: uikitStyles.theme.colors.atmo1,
|
|
101
|
-
//
|
|
102
|
-
"& button$button": {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
marginLeft: -1
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"&$lastButton": {
|
|
111
|
-
borderTopLeftRadius: 0,
|
|
112
|
-
borderBottomLeftRadius: 0
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
// Dropdown Menu
|
|
116
|
-
[`& .${DropDownMenu_styles.staticClasses.root}`]: {
|
|
117
|
-
"&:has($firstButton)": {
|
|
118
|
-
"& + div$splitContainer": {
|
|
119
|
-
marginRight: -1
|
|
120
|
-
}
|
|
100
|
+
// HvButton, HvDropDownMenu
|
|
101
|
+
"& button$button:not($firstButton), & $button:not($firstButton) button": {
|
|
102
|
+
borderTopLeftRadius: 0,
|
|
103
|
+
borderBottomLeftRadius: 0,
|
|
104
|
+
"&:not([aria-controls])": {
|
|
105
|
+
borderLeftWidth: 0
|
|
121
106
|
}
|
|
122
107
|
},
|
|
123
|
-
|
|
124
|
-
|
|
108
|
+
// HvButton, HvDropDownMenu
|
|
109
|
+
"& button$button:not($lastButton), & $button:not($lastButton) button": {
|
|
125
110
|
borderTopRightRadius: 0,
|
|
126
|
-
borderBottomRightRadius: 0
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
111
|
+
borderBottomRightRadius: 0,
|
|
112
|
+
"&:not([aria-controls])": {
|
|
113
|
+
borderRightWidth: 0
|
|
114
|
+
},
|
|
115
|
+
"&::after": {
|
|
116
|
+
content: "''",
|
|
117
|
+
position: "absolute",
|
|
118
|
+
inset: "4px -1px 4px auto",
|
|
119
|
+
width: 1,
|
|
120
|
+
zIndex: 1,
|
|
121
|
+
height: "auto",
|
|
122
|
+
backgroundColor: "currentcolor"
|
|
123
|
+
}
|
|
132
124
|
},
|
|
125
|
+
// HvDropDownMenu
|
|
133
126
|
[`& .${DropDownMenu_styles.staticClasses.iconSelected}`]: {
|
|
134
127
|
zIndex: 2
|
|
135
128
|
}
|
|
136
129
|
},
|
|
137
130
|
splitGroupDisabled: { background: uikitStyles.theme.colors.atmo3 },
|
|
138
|
-
button: {
|
|
131
|
+
button: {
|
|
132
|
+
position: "relative"
|
|
133
|
+
},
|
|
139
134
|
selected: {},
|
|
140
135
|
vertical: {
|
|
141
136
|
flexDirection: "column",
|
|
@@ -197,23 +192,6 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvMultiButt
|
|
|
197
192
|
}
|
|
198
193
|
}
|
|
199
194
|
},
|
|
200
|
-
split: {
|
|
201
|
-
width: 1,
|
|
202
|
-
height: "100%",
|
|
203
|
-
background: "currentColor"
|
|
204
|
-
},
|
|
205
|
-
splitContainer: {
|
|
206
|
-
display: "flex",
|
|
207
|
-
justifyContent: "center",
|
|
208
|
-
zIndex: 1,
|
|
209
|
-
width: 2,
|
|
210
|
-
paddingTop: 4,
|
|
211
|
-
paddingBottom: 4,
|
|
212
|
-
height: "calc(32px - 2px)"
|
|
213
|
-
},
|
|
214
|
-
splitDisabled: {
|
|
215
|
-
color: uikitStyles.theme.colors.secondary_60
|
|
216
|
-
},
|
|
217
195
|
firstButton: {},
|
|
218
196
|
lastButton: {},
|
|
219
197
|
// TODO - review the need for these classes in v6
|
|
@@ -224,14 +202,5 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvMultiButt
|
|
|
224
202
|
secondarySubtle: {},
|
|
225
203
|
secondaryGhost: {}
|
|
226
204
|
});
|
|
227
|
-
const getSplitContainerColor = (color, type, disabled) => ({
|
|
228
|
-
color: Button_styles.getColoringStyle(color, type).color,
|
|
229
|
-
backgroundColor: disabled ? uikitStyles.theme.colors.atmo3 : type === "subtle" ? uikitStyles.theme.colors.atmo1 : "transparent"
|
|
230
|
-
});
|
|
231
|
-
const getSplitContainerHeight = (size) => ({
|
|
232
|
-
height: `calc(${Button_styles.getSizeStyles(size).height} - 2px)`
|
|
233
|
-
});
|
|
234
|
-
exports.getSplitContainerColor = getSplitContainerColor;
|
|
235
|
-
exports.getSplitContainerHeight = getSplitContainerHeight;
|
|
236
205
|
exports.staticClasses = staticClasses;
|
|
237
206
|
exports.useClasses = useClasses;
|
|
@@ -28,6 +28,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvSelect",
|
|
|
28
28
|
zIndex: uikitStyles.theme.zIndices.popover
|
|
29
29
|
},
|
|
30
30
|
panel: {
|
|
31
|
+
maxHeight: 400,
|
|
31
32
|
border: `1px solid ${uikitStyles.theme.colors.secondary}`,
|
|
32
33
|
marginTop: -1,
|
|
33
34
|
marginBottom: -1
|
|
@@ -7,6 +7,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableCell
|
|
|
7
7
|
/** Styles applied to the component root class. */
|
|
8
8
|
root: {
|
|
9
9
|
verticalAlign: "inherit",
|
|
10
|
+
alignContent: "inherit",
|
|
10
11
|
textAlign: "left",
|
|
11
12
|
padding: `calc(${uikitStyles.theme.space.xs} - 2px ) ${uikitStyles.theme.space.xs} calc(${uikitStyles.theme.space.xs} - 3px ) ${uikitStyles.theme.spacing(4)}`,
|
|
12
13
|
borderBottom: `1px solid ${uikitStyles.theme.colors.atmo4}`
|
|
@@ -15,6 +16,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableCell
|
|
|
15
16
|
head: {
|
|
16
17
|
height: 52,
|
|
17
18
|
verticalAlign: "top",
|
|
19
|
+
alignContent: "start",
|
|
18
20
|
backgroundColor: uikitStyles.theme.colors.atmo1,
|
|
19
21
|
borderTop: "1px solid transparent",
|
|
20
22
|
borderBottom: `1px solid ${uikitStyles.theme.colors.atmo4}`,
|
|
@@ -99,6 +101,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableCell
|
|
|
99
101
|
/** Styles applied to the cell when its variant is list and actions. */
|
|
100
102
|
variantListactions: {
|
|
101
103
|
verticalAlign: "middle",
|
|
104
|
+
alignContent: "center",
|
|
102
105
|
borderLeft: "none",
|
|
103
106
|
paddingLeft: "0",
|
|
104
107
|
textAlign: "center",
|
|
@@ -8,6 +8,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableHead
|
|
|
8
8
|
"--cell-height": "32px",
|
|
9
9
|
height: "var(--cell-height)",
|
|
10
10
|
verticalAlign: "inherit",
|
|
11
|
+
alignContent: "inherit",
|
|
11
12
|
textAlign: "left",
|
|
12
13
|
padding: uikitStyles.theme.spacing(0, 1, 0, 4),
|
|
13
14
|
borderBottom: `1px solid ${uikitStyles.theme.colors.atmo4}`
|
|
@@ -15,6 +16,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableHead
|
|
|
15
16
|
head: {
|
|
16
17
|
paddingTop: 8,
|
|
17
18
|
verticalAlign: "top",
|
|
19
|
+
alignContent: "start",
|
|
18
20
|
...uikitStyles.theme.typography.label,
|
|
19
21
|
transition: "background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
20
22
|
backgroundColor: uikitStyles.theme.colors.atmo1,
|
|
@@ -32,6 +34,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableHead
|
|
|
32
34
|
},
|
|
33
35
|
"&$sortable": {
|
|
34
36
|
verticalAlign: "initial",
|
|
37
|
+
alignContent: "initial",
|
|
35
38
|
paddingTop: 0,
|
|
36
39
|
paddingLeft: 0,
|
|
37
40
|
cursor: "pointer",
|
|
@@ -9,6 +9,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTableRow"
|
|
|
9
9
|
color: "inherit",
|
|
10
10
|
backgroundColor: uikitStyles.theme.colors.atmo1,
|
|
11
11
|
verticalAlign: "middle",
|
|
12
|
+
alignContent: "center",
|
|
12
13
|
outline: 0
|
|
13
14
|
},
|
|
14
15
|
/** Styles applied to the component root when inside a `HvTableHead`. */
|
|
@@ -15,7 +15,7 @@ const CellWithExpandButton = ({
|
|
|
15
15
|
labels: labelsProp
|
|
16
16
|
}) => {
|
|
17
17
|
const labels = useLabels.useLabels(DEFAULT_LABELS, labelsProp);
|
|
18
|
-
const
|
|
18
|
+
const rowProps = row.getToggleRowExpandedProps?.();
|
|
19
19
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
20
20
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21
21
|
Button.HvButton,
|
|
@@ -23,8 +23,8 @@ const CellWithExpandButton = ({
|
|
|
23
23
|
icon: true,
|
|
24
24
|
"aria-label": row.isExpanded ? labels.collapseRowButtonAriaLabel : labels.expandRowButtonAriaLabel,
|
|
25
25
|
"aria-expanded": row.isExpanded,
|
|
26
|
-
onClick,
|
|
27
|
-
children:
|
|
26
|
+
onClick: rowProps?.onClick,
|
|
27
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, { style: { rotate: row.isExpanded ? "180deg" : void 0 } })
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
30
|
cell?.value && /* @__PURE__ */ jsxRuntime.jsx(Typography.HvTypography, { variant: "label", component: "span", children: cell.value })
|
|
@@ -6,13 +6,9 @@ const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
|
6
6
|
const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTooltip", {
|
|
7
7
|
root: {},
|
|
8
8
|
tooltip: {},
|
|
9
|
-
tooltipMulti: {},
|
|
10
9
|
popper: {
|
|
11
|
-
|
|
12
|
-
opacity: 1
|
|
13
|
-
},
|
|
10
|
+
// TODO: move this to `tooltip` in v6 and make class always be applied
|
|
14
11
|
[`& .${Tooltip.tooltipClasses.tooltip}`]: {
|
|
15
|
-
fontFamily: uikitStyles.theme.fontFamily.body,
|
|
16
12
|
...uikitStyles.theme.typography.body,
|
|
17
13
|
display: "flex",
|
|
18
14
|
width: "fit-content",
|
|
@@ -56,19 +52,29 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTooltip",
|
|
|
56
52
|
padding: uikitStyles.theme.space.sm
|
|
57
53
|
},
|
|
58
54
|
"& $tooltip": {
|
|
59
|
-
padding:
|
|
55
|
+
padding: uikitStyles.theme.space.sm,
|
|
60
56
|
borderRadius: uikitStyles.theme.radii.round,
|
|
61
57
|
"& p": {
|
|
62
58
|
wordBreak: "break-word"
|
|
63
59
|
}
|
|
64
60
|
}
|
|
65
61
|
},
|
|
62
|
+
// TODO: remove in v6
|
|
63
|
+
/** @deprecated */
|
|
64
|
+
tooltipMulti: {},
|
|
65
|
+
/** @deprecated */
|
|
66
66
|
title: {},
|
|
67
|
+
/** @deprecated */
|
|
67
68
|
valuesContainer: {},
|
|
69
|
+
/** @deprecated */
|
|
68
70
|
values: {},
|
|
71
|
+
/** @deprecated */
|
|
69
72
|
color: {},
|
|
73
|
+
/** @deprecated */
|
|
70
74
|
separatorColor: {},
|
|
75
|
+
/** @deprecated */
|
|
71
76
|
separator: {},
|
|
77
|
+
/** @deprecated */
|
|
72
78
|
valueWrapper: {}
|
|
73
79
|
});
|
|
74
80
|
exports.staticClasses = staticClasses;
|
|
@@ -8,7 +8,7 @@ import { HvTypography } from "../Typography/Typography.js";
|
|
|
8
8
|
const HvFooter = (props) => {
|
|
9
9
|
const {
|
|
10
10
|
name = "Hitachi Vantara",
|
|
11
|
-
copyright = `© Hitachi Vantara
|
|
11
|
+
copyright = `© Hitachi Vantara LLC ${(/* @__PURE__ */ new Date()).getFullYear()}. All Rights Reserved.`,
|
|
12
12
|
links,
|
|
13
13
|
classes: classesProp,
|
|
14
14
|
className,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sources":["../../../src/Footer/Footer.tsx"],"sourcesContent":["import { useTheme } from \"@mui/material/styles\";\nimport useMediaQuery from \"@mui/material/useMediaQuery\";\nimport {\n useDefaultProps,\n type ExtractNames,\n} from \"@hitachivantara/uikit-react-utils\";\n\nimport { HvBaseProps } from \"../types/generic\";\nimport { HvTypography } from \"../Typography\";\nimport { staticClasses, useClasses } from \"./Footer.styles\";\n\nexport { staticClasses as footerClasses };\n\nexport type HvFooterClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvFooterProps extends HvBaseProps {\n /** Footer name. */\n name?: React.ReactNode;\n /** Footer copyright. */\n copyright?: React.ReactNode;\n /** Footer links. */\n links?: React.ReactNode;\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvFooterClasses;\n}\n\n/**\n * A Footer is a way of providing extra information at the end of a page.\n */\nexport const HvFooter = (props: HvFooterProps) => {\n const {\n name = \"Hitachi Vantara\",\n copyright = `© Hitachi Vantara
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../src/Footer/Footer.tsx"],"sourcesContent":["import { useTheme } from \"@mui/material/styles\";\nimport useMediaQuery from \"@mui/material/useMediaQuery\";\nimport {\n useDefaultProps,\n type ExtractNames,\n} from \"@hitachivantara/uikit-react-utils\";\n\nimport { HvBaseProps } from \"../types/generic\";\nimport { HvTypography } from \"../Typography\";\nimport { staticClasses, useClasses } from \"./Footer.styles\";\n\nexport { staticClasses as footerClasses };\n\nexport type HvFooterClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvFooterProps extends HvBaseProps {\n /** Footer name. */\n name?: React.ReactNode;\n /** Footer copyright. */\n copyright?: React.ReactNode;\n /** Footer links. */\n links?: React.ReactNode;\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvFooterClasses;\n}\n\n/**\n * A Footer is a way of providing extra information at the end of a page.\n */\nexport const HvFooter = (props: HvFooterProps) => {\n const {\n name = \"Hitachi Vantara\",\n copyright = `© Hitachi Vantara LLC ${new Date().getFullYear()}. All Rights Reserved.`,\n links,\n classes: classesProp,\n className,\n ...others\n } = useDefaultProps(\"HvFooter\", props);\n const muiTheme = useTheme();\n const { classes, cx } = useClasses(classesProp);\n\n const isSmDown = useMediaQuery(muiTheme.breakpoints.down(\"sm\"));\n\n return (\n <footer\n className={cx(classes.root, { [classes.small]: isSmDown }, className)}\n {...others}\n >\n <HvTypography variant=\"label\" className={classes.name}>\n {name}\n </HvTypography>\n <div className={classes.rightContainer}>\n <HvTypography className={classes.copyright}>{copyright}</HvTypography>\n {links && <div className={classes.separator} />}\n {links}\n </div>\n </footer>\n );\n};\n"],"names":[],"mappings":";;;;;;;AA6Ba,MAAA,WAAW,CAAC,UAAyB;AAC1C,QAAA;AAAA,IACJ,OAAO;AAAA,IACP,YAAY,0BAAyB,oBAAI,KAAK,GAAE,YAAa,CAAA;AAAA,IAC7D;AAAA,IACA,SAAS;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EAAA,IACD,gBAAgB,YAAY,KAAK;AACrC,QAAM,WAAW;AACjB,QAAM,EAAE,SAAS,GAAG,IAAI,WAAW,WAAW;AAE9C,QAAM,WAAW,cAAc,SAAS,YAAY,KAAK,IAAI,CAAC;AAG5D,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,GAAG,QAAQ,MAAM,EAAE,CAAC,QAAQ,KAAK,GAAG,SAAS,GAAG,SAAS;AAAA,MACnE,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAA,oBAAC,gBAAa,SAAQ,SAAQ,WAAW,QAAQ,MAC9C,UACH,MAAA;AAAA,QACC,qBAAA,OAAA,EAAI,WAAW,QAAQ,gBACtB,UAAA;AAAA,UAAA,oBAAC,cAAa,EAAA,WAAW,QAAQ,WAAY,UAAU,WAAA;AAAA,UACtD,SAAS,oBAAC,OAAI,EAAA,WAAW,QAAQ,WAAW;AAAA,UAC5C;AAAA,QAAA,GACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -3,6 +3,8 @@ import { forwardRef, useContext, useRef, useState, useEffect } from "react";
|
|
|
3
3
|
import { ClickAwayListener } from "@mui/base/ClickAwayListener";
|
|
4
4
|
import { Popper } from "@mui/base/Popper";
|
|
5
5
|
import { useForkRef } from "@mui/material/utils";
|
|
6
|
+
import { useTheme } from "@hitachivantara/uikit-react-utils";
|
|
7
|
+
import { getContainerElement } from "../../utils/document.js";
|
|
6
8
|
import { setId } from "../../utils/setId.js";
|
|
7
9
|
import { useClasses } from "./Suggestions.styles.js";
|
|
8
10
|
import { staticClasses } from "./Suggestions.styles.js";
|
|
@@ -15,6 +17,7 @@ const HvSuggestions = forwardRef((props, extRef) => {
|
|
|
15
17
|
className,
|
|
16
18
|
classes: classesProp,
|
|
17
19
|
expanded = false,
|
|
20
|
+
enablePortal = false,
|
|
18
21
|
open: openProp,
|
|
19
22
|
anchorEl,
|
|
20
23
|
suggestionValues = [],
|
|
@@ -23,6 +26,7 @@ const HvSuggestions = forwardRef((props, extRef) => {
|
|
|
23
26
|
...others
|
|
24
27
|
} = props;
|
|
25
28
|
const { classes, cx } = useClasses(classesProp);
|
|
29
|
+
const { rootId } = useTheme();
|
|
26
30
|
const { elementId } = useContext(HvFormElementContext);
|
|
27
31
|
const localId = id ?? setId(elementId, "suggestions");
|
|
28
32
|
const ref = useRef(null);
|
|
@@ -48,10 +52,17 @@ const HvSuggestions = forwardRef((props, extRef) => {
|
|
|
48
52
|
children: /* @__PURE__ */ jsx(
|
|
49
53
|
Popper,
|
|
50
54
|
{
|
|
55
|
+
style: {
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
"--popper-width": enablePortal ? `${anchorEl?.clientWidth}px` : "100%"
|
|
58
|
+
},
|
|
51
59
|
open: openProp ?? isOpen,
|
|
52
|
-
disablePortal:
|
|
60
|
+
disablePortal: !enablePortal,
|
|
61
|
+
container: enablePortal ? getContainerElement(rootId) : void 0,
|
|
53
62
|
anchorEl,
|
|
54
|
-
className: classes.popper,
|
|
63
|
+
className: cx(classes.popper, {
|
|
64
|
+
[classes.portal]: enablePortal
|
|
65
|
+
}),
|
|
55
66
|
children: /* @__PURE__ */ jsx(
|
|
56
67
|
HvSelectionList,
|
|
57
68
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Suggestions.js","sources":["../../../../src/Forms/Suggestions/Suggestions.tsx"],"sourcesContent":["import { forwardRef, useContext, useEffect, useRef, useState } from \"react\";\nimport {\n ClickAwayListener,\n ClickAwayListenerProps,\n} from \"@mui/base/ClickAwayListener\";\nimport { Popper
|
|
1
|
+
{"version":3,"file":"Suggestions.js","sources":["../../../../src/Forms/Suggestions/Suggestions.tsx"],"sourcesContent":["import { forwardRef, useContext, useEffect, useRef, useState } from \"react\";\nimport {\n ClickAwayListener,\n ClickAwayListenerProps,\n} from \"@mui/base/ClickAwayListener\";\nimport { Popper } from \"@mui/base/Popper\";\nimport { useForkRef } from \"@mui/material/utils\";\nimport { useTheme, type ExtractNames } from \"@hitachivantara/uikit-react-utils\";\n\nimport { HvListItem } from \"../../ListContainer\";\nimport { HvSelectionList } from \"../../SelectionList\";\nimport { HvBaseProps } from \"../../types/generic\";\nimport { getContainerElement } from \"../../utils/document\";\nimport { setId } from \"../../utils/setId\";\nimport { HvFormElementContext } from \"../FormElement\";\nimport { staticClasses, useClasses } from \"./Suggestions.styles\";\n\nexport { staticClasses as suggestionsClasses };\n\nexport type HvSuggestionsClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvSuggestion {\n id?: string;\n label: React.ReactNode;\n value?: string;\n disabled?: boolean;\n}\n\nexport interface HvSuggestionsProps extends HvBaseProps {\n /** Whether suggestions is visible */\n open?: boolean;\n /**\n * Whether suggestions is visible.\n * @deprecated use `open` instead.\n * */\n expanded?: boolean;\n /** The HTML element Suggestions attaches to. */\n anchorEl?: HTMLElement | null;\n /** Array of { id, label, ...others } values to display in the suggestion list */\n suggestionValues?: HvSuggestion[] | null;\n /** Function called when a suggestion is selected */\n onSuggestionSelected?: (event: React.MouseEvent, value: HvSuggestion) => void;\n /** Function called when suggestion list is closed */\n onClose?: ClickAwayListenerProps[\"onClickAway\"];\n /** A Jss Object used to override or extend the styles applied to the component. */\n classes?: HvSuggestionsClasses;\n /**\n * If enabled, the suggestions list will be rendered using a portal.\n * If disabled, it will be under the DOM hierarchy of the parent component.\n * @default false\n * */\n enablePortal?: boolean;\n}\n\nexport const HvSuggestions = forwardRef((props: HvSuggestionsProps, extRef) => {\n const {\n id,\n className,\n classes: classesProp,\n expanded = false,\n enablePortal = false,\n open: openProp,\n anchorEl,\n suggestionValues = [],\n onClose,\n onSuggestionSelected,\n ...others\n } = props;\n\n const { classes, cx } = useClasses(classesProp);\n\n const { rootId } = useTheme();\n\n const { elementId } = useContext(HvFormElementContext);\n const localId = id ?? setId(elementId, \"suggestions\");\n\n const ref = useRef<HTMLDivElement>(null);\n const forkedRef = useForkRef(ref, extRef);\n\n // TODO: remove controlled+uncontrolled `expanded` prop in v6\n const [isOpen, setIsOpen] = useState(expanded);\n useEffect(() => {\n setIsOpen(expanded);\n }, [expanded]);\n\n return (\n <div\n id={localId}\n ref={forkedRef}\n className={cx(classes.root, className)}\n {...others}\n >\n <ClickAwayListener\n onClickAway={(event) => {\n setIsOpen(false);\n onClose?.(event);\n }}\n >\n <Popper\n style={{\n // @ts-ignore\n \"--popper-width\": enablePortal\n ? `${anchorEl?.clientWidth}px`\n : \"100%\",\n }}\n open={openProp ?? isOpen}\n disablePortal={!enablePortal}\n container={enablePortal ? getContainerElement(rootId) : undefined}\n anchorEl={anchorEl}\n className={cx(classes.popper, {\n [classes.portal]: enablePortal,\n })}\n >\n <HvSelectionList\n className={classes.list}\n id={setId(localId, \"list\")}\n onChange={onSuggestionSelected}\n >\n {suggestionValues?.map((item) => (\n <HvListItem key={item.id} value={item} disabled={item.disabled}>\n {item.label}\n </HvListItem>\n ))}\n </HvSelectionList>\n </Popper>\n </ClickAwayListener>\n </div>\n );\n});\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsDO,MAAM,gBAAgB,WAAW,CAAC,OAA2B,WAAW;AACvE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT,WAAW;AAAA,IACX,eAAe;AAAA,IACf,MAAM;AAAA,IACN;AAAA,IACA,mBAAmB,CAAC;AAAA,IACpB;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACD,IAAA;AAEJ,QAAM,EAAE,SAAS,GAAG,IAAI,WAAW,WAAW;AAExC,QAAA,EAAE,WAAW;AAEnB,QAAM,EAAE,UAAA,IAAc,WAAW,oBAAoB;AACrD,QAAM,UAAU,MAAM,MAAM,WAAW,aAAa;AAE9C,QAAA,MAAM,OAAuB,IAAI;AACjC,QAAA,YAAY,WAAW,KAAK,MAAM;AAGxC,QAAM,CAAC,QAAQ,SAAS,IAAI,SAAS,QAAQ;AAC7C,YAAU,MAAM;AACd,cAAU,QAAQ;AAAA,EAAA,GACjB,CAAC,QAAQ,CAAC;AAGX,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,MACJ,KAAK;AAAA,MACL,WAAW,GAAG,QAAQ,MAAM,SAAS;AAAA,MACpC,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,aAAa,CAAC,UAAU;AACtB,sBAAU,KAAK;AACf,sBAAU,KAAK;AAAA,UACjB;AAAA,UAEA,UAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,OAAO;AAAA;AAAA,gBAEL,kBAAkB,eACd,GAAG,UAAU,WAAW,OACxB;AAAA,cACN;AAAA,cACA,MAAM,YAAY;AAAA,cAClB,eAAe,CAAC;AAAA,cAChB,WAAW,eAAe,oBAAoB,MAAM,IAAI;AAAA,cACxD;AAAA,cACA,WAAW,GAAG,QAAQ,QAAQ;AAAA,gBAC5B,CAAC,QAAQ,MAAM,GAAG;AAAA,cAAA,CACnB;AAAA,cAED,UAAA;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,WAAW,QAAQ;AAAA,kBACnB,IAAI,MAAM,SAAS,MAAM;AAAA,kBACzB,UAAU;AAAA,kBAET,UAAkB,kBAAA,IAAI,CAAC,6BACrB,YAAyB,EAAA,OAAO,MAAM,UAAU,KAAK,UACnD,UAAA,KAAK,SADS,KAAK,EAEtB,CACD;AAAA,gBAAA;AAAA,cACH;AAAA,YAAA;AAAA,UACF;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN,CAAC;"}
|
|
@@ -9,11 +9,14 @@ const { staticClasses, useClasses } = createClasses("HvSuggestions", {
|
|
|
9
9
|
width: "100%"
|
|
10
10
|
},
|
|
11
11
|
popper: {
|
|
12
|
-
width: "
|
|
12
|
+
width: "var(--popper-width)",
|
|
13
13
|
position: "absolute",
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
zIndex: theme.zIndices.tooltip,
|
|
15
|
+
":not($portal)": {
|
|
16
|
+
transform: "translate3d(0, -1px, 0) !important"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
portal: {}
|
|
17
20
|
});
|
|
18
21
|
export {
|
|
19
22
|
staticClasses,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Suggestions.styles.js","sources":["../../../../src/Forms/Suggestions/Suggestions.styles.tsx"],"sourcesContent":["import { createClasses } from \"@hitachivantara/uikit-react-utils\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\n\nexport const { staticClasses, useClasses } = createClasses(\"HvSuggestions\", {\n root: { position: \"relative\" },\n list: {\n backgroundColor: theme.colors.atmo1,\n boxShadow: theme.colors.shadow,\n padding: theme.space.xs,\n width: \"100%\",\n },\n popper: {\n width: \"
|
|
1
|
+
{"version":3,"file":"Suggestions.styles.js","sources":["../../../../src/Forms/Suggestions/Suggestions.styles.tsx"],"sourcesContent":["import { createClasses } from \"@hitachivantara/uikit-react-utils\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\n\nexport const { staticClasses, useClasses } = createClasses(\"HvSuggestions\", {\n root: { position: \"relative\" },\n list: {\n backgroundColor: theme.colors.atmo1,\n boxShadow: theme.colors.shadow,\n padding: theme.space.xs,\n width: \"100%\",\n },\n popper: {\n width: \"var(--popper-width)\",\n position: \"absolute\",\n zIndex: theme.zIndices.tooltip,\n \":not($portal)\": {\n transform: \"translate3d(0, -1px, 0) !important\",\n },\n },\n portal: {},\n});\n"],"names":[],"mappings":";;AAGO,MAAM,EAAE,eAAe,eAAe,cAAc,iBAAiB;AAAA,EAC1E,MAAM,EAAE,UAAU,WAAW;AAAA,EAC7B,MAAM;AAAA,IACJ,iBAAiB,MAAM,OAAO;AAAA,IAC9B,WAAW,MAAM,OAAO;AAAA,IACxB,SAAS,MAAM,MAAM;AAAA,IACrB,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,OAAO;AAAA,IACP,UAAU;AAAA,IACV,QAAQ,MAAM,SAAS;AAAA,IACvB,iBAAiB;AAAA,MACf,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EACA,QAAQ,CAAC;AACX,CAAC;"}
|