@7shifts/sous-chef 4.7.0 → 4.7.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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -646,7 +646,7 @@ const updateMisalignedOverlay = (overlayPosition, arrowPosition, tooltipRectPosi
|
|
|
646
646
|
const calculateOverlayPosition$2 = (actualPlacement, anchorPosition, tooltipWidth = 156) => {
|
|
647
647
|
// some maths to align the tooltip with whatever you just hovered over (the 'target')
|
|
648
648
|
const position = {
|
|
649
|
-
width: tooltipWidth - PADDING * 2,
|
|
649
|
+
width: Math.ceil(tooltipWidth) - PADDING * 2,
|
|
650
650
|
left: 0,
|
|
651
651
|
top: 0
|
|
652
652
|
};
|
|
@@ -16704,10 +16704,10 @@ const RadioGroupBoxOption = ({
|
|
|
16704
16704
|
id: inputId
|
|
16705
16705
|
});
|
|
16706
16706
|
return React__default.createElement("label", {
|
|
16707
|
-
className: styles$u['radio-group-box-option']
|
|
16707
|
+
className: styles$u['radio-group-box-option'],
|
|
16708
|
+
"data-testid": testId
|
|
16708
16709
|
}, React__default.createElement("input", {
|
|
16709
16710
|
type: "radio",
|
|
16710
|
-
"data-testid": testId,
|
|
16711
16711
|
id: id,
|
|
16712
16712
|
name: radioGroupContext.name,
|
|
16713
16713
|
value: value,
|