@teamturing/react-kit 2.46.1 → 2.46.3

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 CHANGED
@@ -34146,7 +34146,8 @@ function useTooltip({
34146
34146
  const hover = useHover$1(context, {
34147
34147
  move: false,
34148
34148
  restMs: 300,
34149
- enabled: controlledOpen == null
34149
+ enabled: controlledOpen == null,
34150
+ mouseOnly: true
34150
34151
  });
34151
34152
  const focus = useFocus(context, {
34152
34153
  enabled: controlledOpen == null
@@ -34307,8 +34308,10 @@ const Tooltip = ({
34307
34308
  return /*#__PURE__*/jsxRuntimeExports.jsxs(BaseTooltip, {
34308
34309
  placement: directionToPlacement,
34309
34310
  children: [/*#__PURE__*/jsxRuntimeExports.jsx(BaseTooltipTrigger, {
34311
+ className: 'tooltip__tooltip_trigger',
34310
34312
  children: children
34311
34313
  }), /*#__PURE__*/jsxRuntimeExports.jsx(BaseTooltipContent, {
34314
+ className: 'tooltip__tooltip_content',
34312
34315
  children: text
34313
34316
  })]
34314
34317
  });
@@ -19,8 +19,10 @@ const Tooltip = ({
19
19
  return /*#__PURE__*/jsxRuntimeExports.jsxs(BaseTooltip, {
20
20
  placement: directionToPlacement,
21
21
  children: [/*#__PURE__*/jsxRuntimeExports.jsx(BaseTooltipTrigger, {
22
+ className: 'tooltip__tooltip_trigger',
22
23
  children: children
23
24
  }), /*#__PURE__*/jsxRuntimeExports.jsx(BaseTooltipContent, {
25
+ className: 'tooltip__tooltip_content',
24
26
  children: text
25
27
  })]
26
28
  });
@@ -34,7 +34,8 @@ function useTooltip({
34
34
  const hover = useHover(context, {
35
35
  move: false,
36
36
  restMs: 300,
37
- enabled: controlledOpen == null
37
+ enabled: controlledOpen == null,
38
+ mouseOnly: true
38
39
  });
39
40
  const focus = useFocus(context, {
40
41
  enabled: controlledOpen == null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.46.1",
3
+ "version": "2.46.3",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "bc2ac1fca3fc43166b5245fac1a7f78316ad39c7"
69
+ "gitHead": "9b9125cc4c39a4f0064a6ab1be742a030e3bf307"
70
70
  }