From 2e5bcff55de9d0ff32ad066693655de4a0759958 Mon Sep 17 00:00:00 2001 From: Lowie Benoot Date: Fri, 3 Nov 2023 16:17:13 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=90=9B=20Add=20back=20the=20data-team?= =?UTF-8?q?leader-ui=20attribute=20on=20the=20Tooltip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tooltip/Tooltip.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/tooltip/Tooltip.tsx b/src/components/tooltip/Tooltip.tsx index e4e9bbeb5..eaddff41f 100644 --- a/src/components/tooltip/Tooltip.tsx +++ b/src/components/tooltip/Tooltip.tsx @@ -1,13 +1,15 @@ -import uiUtilities from '@teamleader/ui-utilities'; -import cx from 'classnames'; import * as RadixTooltip from '@radix-ui/react-tooltip'; -import omit from 'lodash.omit'; -import React, { MouseEventHandler, ReactNode, useEffect, useRef, useState } from 'react'; -import { GenericComponent } from '../../@types/types'; + import { COLORS, SIZES } from '../../constants'; +import React, { MouseEventHandler, ReactNode, useEffect, useRef, useState } from 'react'; + import Box from '../box'; import { BoxProps } from '../box/Box'; +import { GenericComponent } from '../../@types/types'; +import cx from 'classnames'; +import omit from 'lodash.omit'; import theme from './theme.css'; +import uiUtilities from '@teamleader/ui-utilities'; type Position = 'bottom' | 'left' | 'right' | 'top'; @@ -175,6 +177,7 @@ const TooltippedComponent: GenericComponent = ({ sideOffset={8} side={tooltipPosition} style={{ zIndex }} + data-teamleader-ui="tooltip" > {tooltipIcon &&
{tooltipIcon}
} From 6fda07f891798bd8c4e417a4ca09831bfed661cd Mon Sep 17 00:00:00 2001 From: Lowie Benoot Date: Fri, 3 Nov 2023 16:20:03 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9D=20Update=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5527c84cd..d2c20a371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,12 @@ - `Tooltip`: removed `horizontal` and `vertical` positions from the `tooltipPosition` options. Tooltips will still render to the opposite side in case there is not enough space on the chosen position. ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2796](https://github.com/teamleadercrm/ui/pull/2796)` +## [23.0.1] - 2023-10-30 + +### Fixed + +- `Tooltip`: added missing `data-teamleader-ui="tooltip"` attribute ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2799](https://github.com/teamleadercrm/ui/pull/2799)` + ## [22.3.5] - 2023-10-18 ### Fixed From 680414bc208fe9fc6d0bad454b66f61350f6fd43 Mon Sep 17 00:00:00 2001 From: Lowie Benoot Date: Fri, 3 Nov 2023 16:20:21 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=96=20Bump=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 811ea52eb..d4130c854 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@teamleader/ui", "description": "Teamleader UI library", - "version": "23.0.0", + "version": "23.0.1", "author": "Teamleader ", "bugs": { "url": "https://github.com/teamleadercrm/ui/issues"