@ctlyst.id/internal-ui 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- 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.mjs
CHANGED
@@ -2559,17 +2559,20 @@ import {
|
|
2559
2559
|
} from "@chakra-ui/react";
|
2560
2560
|
import { jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
|
2561
2561
|
var Tooltip = (props) => {
|
2562
|
-
const { children, bg = "neutral.700", textStyle = "text.sm", color = "white", width } = props;
|
2562
|
+
const { children, bg = "neutral.700", textStyle = "text.sm", color = "white", width, rounded = 4 } = props;
|
2563
2563
|
const content = /* @__PURE__ */ jsxs14(
|
2564
2564
|
PopoverContent,
|
2565
2565
|
{
|
2566
|
+
"data-test-id": "",
|
2566
2567
|
border: "none",
|
2567
2568
|
bg,
|
2569
|
+
rounded,
|
2570
|
+
ml: 1,
|
2568
2571
|
textStyle,
|
2569
2572
|
width,
|
2570
|
-
ml: 1,
|
2571
2573
|
placeItems: "center",
|
2572
2574
|
borderRadius: props.borderRadius,
|
2575
|
+
onClick: (e) => e.stopPropagation(),
|
2573
2576
|
children: [
|
2574
2577
|
props.hasArrow && /* @__PURE__ */ jsx35(PopoverArrow, { color, bg, shadow: "none" }),
|
2575
2578
|
/* @__PURE__ */ jsx35(PopoverBody, { color, ...props, children: props.label })
|
@@ -2648,7 +2651,7 @@ var Profile = ({
|
|
2648
2651
|
popoverProps: {
|
2649
2652
|
offset: [10, 8]
|
2650
2653
|
},
|
2651
|
-
width:
|
2654
|
+
width: 300,
|
2652
2655
|
...officeContainer,
|
2653
2656
|
children: /* @__PURE__ */ jsx36(Box16, { display: "flex", children: /* @__PURE__ */ jsxs15(
|
2654
2657
|
badge_default,
|