@povio/ui 2.1.6 → 2.1.7

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.
@@ -4,7 +4,7 @@ import { useFocusable } from "react-aria";
4
4
  import { TooltipTrigger, Tooltip as Tooltip$1, OverlayArrow } from "react-aria-components";
5
5
  import { PointerHorizontalIcon } from "../../../assets/icons/PointerHorizontal.js";
6
6
  import { PointerVerticalIcon } from "../../../assets/icons/PointerVertical.js";
7
- import { tooltipCva, tooltipTextCva, tooltipPointerHorizontalCva, tooltipPointerVerticalCva } from "./tooltip.cva.js";
7
+ import { tooltipCva, tooltipPointerHorizontalCva, tooltipPointerVerticalCva, tooltipTextCva } from "./tooltip.cva.js";
8
8
  import { Typography } from "../../text/Typography/Typography.js";
9
9
  import { UIStyle } from "../../../config/uiStyle.context.js";
10
10
  const CustomTrigger = ({ children, className }) => {
@@ -34,6 +34,8 @@ const Tooltip = ({
34
34
  }) => {
35
35
  const uiStyle = UIStyle.useConfig();
36
36
  const tooltipCva$1 = uiStyle?.tooltip?.cva ?? tooltipCva;
37
+ const tooltipPointerHorizontalCva$1 = uiStyle?.tooltip?.pointerHorizontalCva ?? tooltipPointerHorizontalCva;
38
+ const tooltipPointerVerticalCva$1 = uiStyle?.tooltip?.pointerVerticalCva ?? tooltipPointerVerticalCva;
37
39
  const tooltipTextCva$1 = uiStyle?.tooltip?.textCva ?? tooltipTextCva;
38
40
  const Trigger = isNonInteractiveTrigger ? CustomTrigger : Fragment;
39
41
  return /* @__PURE__ */ jsxs(
@@ -60,8 +62,8 @@ const Tooltip = ({
60
62
  offset: 13,
61
63
  children: [
62
64
  /* @__PURE__ */ jsxs(OverlayArrow, { children: [
63
- /* @__PURE__ */ jsx(PointerHorizontalIcon, { className: tooltipPointerHorizontalCva({ color }) }),
64
- /* @__PURE__ */ jsx(PointerVerticalIcon, { className: tooltipPointerVerticalCva({ color }) })
65
+ /* @__PURE__ */ jsx(PointerHorizontalIcon, { className: tooltipPointerHorizontalCva$1({ color }) }),
66
+ /* @__PURE__ */ jsx(PointerVerticalIcon, { className: tooltipPointerVerticalCva$1({ color }) })
65
67
  ] }),
66
68
  /* @__PURE__ */ jsx(
67
69
  Typography,
@@ -7,7 +7,7 @@ import { RadioVariantProps } from '../components/inputs/RadioGroup/radio.cva';
7
7
  import { InputBaseProps, InputSideProps, InputSizeProps } from '../components/inputs/shared/input.cva';
8
8
  import { LabelBaseProps } from '../components/inputs/shared/label.cva';
9
9
  import { ToggleVariantProps } from '../components/inputs/Toggle/toggle.cva';
10
- import { TooltipTextVariantProps, TooltipVariantProps } from '../components/overlays/Tooltip/tooltip.cva';
10
+ import { TooltipPointerHorizontalVariantProps, TooltipPointerVerticalVariantProps, TooltipTextVariantProps, TooltipVariantProps } from '../components/overlays/Tooltip/tooltip.cva';
11
11
  import { AlertVariantProps } from '../components/status/Alert/alert.cva';
12
12
  import { ToastVariantProps } from '../components/status/Toast/toast.cva';
13
13
  import { TableDataVariantProps, TableHeadDataVariantProps, TableHeadRowVariantProps, TableRowVariantProps } from '../components/table/table.cva';
@@ -78,6 +78,8 @@ export declare namespace UIStyle {
78
78
  };
79
79
  tooltip: {
80
80
  cva?: Cva<TooltipVariantProps>;
81
+ pointerHorizontalCva?: Cva<TooltipPointerHorizontalVariantProps>;
82
+ pointerVerticalCva?: Cva<TooltipPointerVerticalVariantProps>;
81
83
  textCva?: Cva<TooltipTextVariantProps>;
82
84
  };
83
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",