myshell-react-lib 0.1.10 → 0.1.12
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.cjs +19 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6358,23 +6358,25 @@ var TooltipContent = React9.forwardRef(function(_param, ref) {
|
|
|
6358
6358
|
"showArrow",
|
|
6359
6359
|
"arrowClassName"
|
|
6360
6360
|
]);
|
|
6361
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(TooltipPrimitive.Portal, {
|
|
6362
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(TooltipPrimitive.Content, _object_spread_props(_object_spread({
|
|
6363
|
+
ref: ref,
|
|
6364
|
+
align: align,
|
|
6365
|
+
sideOffset: sideOffset,
|
|
6366
|
+
alignOffset: alignOffset,
|
|
6367
|
+
side: side,
|
|
6368
|
+
className: cn("relative z-[49] mx-4 w-fit max-w-72 rounded-lg px-3 py-2 text-left text-xs shadow-modal-bolder", "outline-none delay-0 data-[state=open]:animate-in data-[state=open]:fade-in-0 [&[data-state=open]>span]:animate-none", "data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 [&[data-state=delayed-open]>span]:animate-none", "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", variant === "default" ? "bg-cc-Tooltip-bg-default text-cc-Tooltip-fg-default border border-cc-Tooltip-border-default" : variant === "info" ? "bg-surface-accent-yellow-subtle text-Colors-Text-Warning-Bolder" : "bg-Colors-Utility-Lake-Blue-50 text-cc-Tooltip-fg-default", className)
|
|
6369
|
+
}, props), {
|
|
6370
|
+
children: [
|
|
6371
|
+
props.children,
|
|
6372
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(TooltipArrow, {
|
|
6373
|
+
width: 12,
|
|
6374
|
+
height: 6,
|
|
6375
|
+
className: cn(variant === "default" ? "fill-cc-Tooltip-bg-default stroke-cc-Tooltip-border-default -ml-[0.5px]" : variant === "info" ? "fill-surface-accent-yellow-subtle" : "fill-Colors-Utility-Lake-Blue-50", arrowClassName)
|
|
6376
|
+
})
|
|
6377
|
+
]
|
|
6378
|
+
}))
|
|
6379
|
+
});
|
|
6378
6380
|
});
|
|
6379
6381
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
6380
6382
|
// src/components/button/icon-button.styles.ts
|