Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [v13.2.53](https://github.com/Workday/canvas-kit/releases/tag/v13.2.53) (2026-01-22)

### Components

- fix: Remove global selector on body for tooltip ([#3705](https://github.com/Workday/canvas-kit/pull/3705)) ([@mannycarrera4](https://github.com/mannycarrera4), manuel.carrera)


## [v13.2.52](https://github.com/Workday/canvas-kit/releases/tag/v13.2.52) (2026-01-22)

### Components

- fix: Add RTL icon support to ExternalHyperlink component in v13 ([#3694](https://github.com/Workday/canvas-kit/pull/3694)) ([@ahayes91](https://github.com/ahayes91))
## [v14.2.10](https://github.com/Workday/canvas-kit/releases/tag/v14.2.10) (2026-01-21)

### Components
Expand Down
5 changes: 4 additions & 1 deletion modules/react/button/lib/BaseButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ export const buttonStencil = createStencil({
position: 'relative',
verticalAlign: 'middle',
overflow: 'hidden',
[systemIconStencil.vars.color]: cssVar(buttonColorPropVars.default.icon, system.color.fg.strong),
[systemIconStencil.vars.color]: cssVar(
buttonColorPropVars.default.icon,
system.color.fg.strong
),
transition:
'box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear',
'&:disabled, &:disabled:active, &.disabled': {
Expand Down
5 changes: 5 additions & 0 deletions modules/react/button/stories/button/Hyperlink.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {Link} from './examples/Hyperlink';
import {LinkInverse} from './examples/HyperlinkInverse';
import {ExternalLink} from './examples/ExternalHyperlink';
import {ExternalLinkInverse} from './examples/ExternalHyperlinkInverse';
import {ExternalLinkRTL} from './examples/ExternalHyperlinkRTL';
import {StandaloneLink} from './examples/StandaloneHyperlink';
import {InBodyText} from './examples/HyperlinkInBodyText';

Expand Down Expand Up @@ -103,6 +104,10 @@ link on a dark or colorful background.

<ExampleCodeBlock code={ExternalLinkInverse} />

`ExternalHyperlink`s will also flip the icon for right-to-left (RTL) languages.

<ExampleCodeBlock code={ExternalLinkRTL} />

### Component API

<SymbolDoc
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import {ExternalHyperlink} from '@workday/canvas-kit-react/button';
import {CanvasProvider, ContentDirection} from '@workday/canvas-kit-react/common';

export const ExternalLinkRTL = () => (
<CanvasProvider theme={{canvas: {direction: ContentDirection.RTL}}}>
<ExternalHyperlink href="https://workday.com" iconLabel="Opens link in new window">
השועל החום המהיר קופץ מעל הכלב העצל
</ExternalHyperlink>
</CanvasProvider>
);
5 changes: 1 addition & 4 deletions modules/react/button/stories/button/examples/Primary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ const parentContainerStyles = createStyles({
export const Primary = () => (
<Flex cs={parentContainerStyles}>
<PrimaryButton>Primary</PrimaryButton>
<PrimaryButton
icon={plusIcon}
iconPosition="start"
>
<PrimaryButton icon={plusIcon} iconPosition="start">
Primary
</PrimaryButton>
<PrimaryButton icon={caretDownIcon} iconPosition="end">
Expand Down
2 changes: 1 addition & 1 deletion modules/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
"@tanstack/react-virtual": "^3.13.9",
"@workday/canvas-colors-web": "^2.0.0",
"@workday/canvas-kit-popup-stack": "^14.2.10",
"@workday/canvas-kit-preview-react": "^14.2.10",
"@workday/canvas-kit-styling": "^14.2.10",
"@workday/canvas-system-icons-web": "^3.0.36",
"@workday/canvas-tokens-web": "^3.1.1",
"@workday/canvas-kit-preview-react": "^14.2.10",
"@workday/design-assets-types": "^0.2.10",
"chroma-js": "^2.2.0",
"csstype": "^3.0.2",
Expand Down
8 changes: 0 additions & 8 deletions modules/react/tooltip/lib/TooltipContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ export const tooltipContainerStencil = createStencil({
bottom: 0,
},

// offset tooltips by 2 pixels when a keyboard focus ring is detected
'body:has(:focus-visible, .focus) &': {
padding: calc.subtract(system.space.x4, calc.divide(system.space.x1, 2)),
'&:before': {
margin: calc.add(system.space.x1, calc.divide(system.space.x1, 2)),
},
},

// Hide tooltip when the reference element is either clipped or fully hidden
'[data-popper-reference-hidden] &': {
visibility: 'hidden',
Expand Down
2 changes: 1 addition & 1 deletion modules/styling-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"dependencies": {
"@emotion/serialize": "^1.0.2",
"@workday/canvas-kit-styling": "^14.2.10",
"@workday/canvas-tokens-web": "^3.1.1",
"stylis": "4.0.13",
"@workday/canvas-tokens-web": "^3.1.1",
"ts-node": "^10.9.1",
"typescript": "5.0"
},
Expand Down
Loading