@codecademy/gamut 72.2.3-alpha.5f9331.0 → 72.2.3-alpha.895e70.0

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.
@@ -15,6 +15,7 @@ export const IconButton = /*#__PURE__*/forwardRef(({
15
15
  const buttonSize = size || 'normal';
16
16
  const iconSize = iconSizeMapping[buttonSize];
17
17
  return /*#__PURE__*/_jsx(ToolTip, {
18
+ closeOnClick: true,
18
19
  info: tip,
19
20
  ...tipProps,
20
21
  children: /*#__PURE__*/_jsx(IconButtonBase, {
@@ -1,6 +1,6 @@
1
1
  import { WithChildrenProp } from '../../utils';
2
- import { TipBaseProps, TipCenterAlignment } from '../shared/types';
3
- export type ToolTipProps = TipBaseProps & WithChildrenProp & {
2
+ import { TipCenterAlignment, TipNewBaseProps } from '../shared/types';
3
+ export type ToolTipProps = TipNewBaseProps & WithChildrenProp & {
4
4
  alignment?: TipCenterAlignment;
5
5
  /**
6
6
  * If true, the tooltip closes immediately when the trigger is clicked or activated via keyboard.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@codecademy/gamut",
3
3
  "description": "Styleguide & Component library for Codecademy",
4
- "version": "72.2.3-alpha.5f9331.0",
4
+ "version": "72.2.3-alpha.895e70.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "bin": "./bin/gamut.mjs",
7
7
  "dependencies": {
8
- "@codecademy/gamut-icons": "9.57.10-alpha.5f9331.0",
9
- "@codecademy/gamut-illustrations": "0.58.16-alpha.5f9331.0",
10
- "@codecademy/gamut-patterns": "0.10.35-alpha.5f9331.0",
11
- "@codecademy/gamut-styles": "20.0.3-alpha.5f9331.0",
12
- "@codecademy/variance": "0.26.2-alpha.5f9331.0",
8
+ "@codecademy/gamut-icons": "9.57.10-alpha.895e70.0",
9
+ "@codecademy/gamut-illustrations": "0.58.16-alpha.895e70.0",
10
+ "@codecademy/gamut-patterns": "0.10.35-alpha.895e70.0",
11
+ "@codecademy/gamut-styles": "20.0.3-alpha.895e70.0",
12
+ "@codecademy/variance": "0.26.2-alpha.895e70.0",
13
13
  "@formatjs/intl-locale": "5.3.1",
14
14
  "@react-aria/interactions": "3.25.0",
15
15
  "@types/marked": "^4.0.8",