@ctlyst.id/internal-ui 3.1.4 → 3.1.5
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 +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2847,17 +2847,20 @@ NavItem.defaultProps = {
|
|
2847
2847
|
var import_react44 = require("@chakra-ui/react");
|
2848
2848
|
var import_jsx_runtime35 = require("react/jsx-runtime");
|
2849
2849
|
var Tooltip = (props) => {
|
2850
|
-
const { children, bg = "neutral.700", textStyle = "text.sm", color = "white", width } = props;
|
2850
|
+
const { children, bg = "neutral.700", textStyle = "text.sm", color = "white", width, rounded = 4 } = props;
|
2851
2851
|
const content = /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
2852
2852
|
import_react44.PopoverContent,
|
2853
2853
|
{
|
2854
|
+
"data-test-id": "",
|
2854
2855
|
border: "none",
|
2855
2856
|
bg,
|
2857
|
+
rounded,
|
2858
|
+
ml: 1,
|
2856
2859
|
textStyle,
|
2857
2860
|
width,
|
2858
|
-
ml: 1,
|
2859
2861
|
placeItems: "center",
|
2860
2862
|
borderRadius: props.borderRadius,
|
2863
|
+
onClick: (e) => e.stopPropagation(),
|
2861
2864
|
children: [
|
2862
2865
|
props.hasArrow && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverArrow, { color, bg, shadow: "none" }),
|
2863
2866
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverBody, { color, ...props, children: props.label })
|
@@ -2936,7 +2939,7 @@ var Profile = ({
|
|
2936
2939
|
popoverProps: {
|
2937
2940
|
offset: [10, 8]
|
2938
2941
|
},
|
2939
|
-
width:
|
2942
|
+
width: 300,
|
2940
2943
|
...officeContainer,
|
2941
2944
|
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react45.Box, { display: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
2942
2945
|
badge_default,
|