Skip to content

toggle tertiary button#3867

Closed
alanbsmith wants to merge 117 commits intoWorkday:masterfrom
alanbsmith:toggle-tertiary-button
Closed

toggle tertiary button#3867
alanbsmith wants to merge 117 commits intoWorkday:masterfrom
alanbsmith:toggle-tertiary-button

Conversation

@alanbsmith
Copy link
Copy Markdown
Member

Summary

Fixes: #1234

Release Category

Components

Release Note

Optional release note message. Changelog and release summaries will contain a pull request title. This section will add additional notes under that title. This section is not a summary, but something extra to point out in release notes. An example might be calling out breaking changes in a labs component or minor visual changes that need visual regression updates. Remove this section if no additional release notes are required.

BREAKING CHANGES

Optional breaking changes message. If your PR includes breaking changes. It is extremely rare to put breaking changes outside a prerelease/major branch. Anything in this section will show up in release notes. Remove this section if no breaking changes are present.


Checklist

For the Reviewer

  • PR title is short and descriptive
  • PR summary describes the change (Fixes/Resolves linked correctly)
  • PR Release Notes describes additional information useful to call out in a release message or removed if not applicable
  • Breaking Changes provides useful information to upgrade to this code or removed if not applicable

Where Should the Reviewer Start?

Areas for Feedback? (optional)

  • Code
  • Documentation
  • Testing
  • Codemods

Testing Manually

Screenshots or GIFs (if applicable)

Thank You Gif (optional)

mannycarrera4 and others added 30 commits November 12, 2025 14:36
Initial set up plus tokens update for v15

[category:Infrastructure]

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
…kday#3604)

Fixes: Workday#3587
Update our button components to use our new `size`, `shape`, `padding` `gap` and `type` tokens.

[category:Components]

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: @dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Fixes: Workday#3601

[category:Components]

Release Note:
We've promoted the SegmentedControl from Preview to Main, removing the old SegmentedControl that was deprecated. The new compound component API provides more flexibility and styling features and aligns with the rest of our components.

### BREAKING CHANGES
- If you were previously importing from Preview, the component has now moved to Main, the codemod should handle the import changes
- There's a API difference between the Preview and Main, please reference our upgrade guide for more details.

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: @dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Fixes: Workday#3602

[category:Components]

Release Note:
`InformationHighlight` has been promoted from Preview to our Main package. A codemod in v15 should handle changing the import path.

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: @alanbsmith <a.bax.smith@gmail.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @RayRedGoose <48605821+RayRedGoose@users.noreply.github.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @williamjstanton <40372497+williamjstanton@users.noreply.github.com>
Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com>
Co-authored-by: Alan Smith <a.smith@workday.com>
Fixes: Workday#3656

Removes the deprecated `SearchForm` and `Combobox` components from `@workday/canvas-kit-labs-react`, including all source code, tests, stories, and documentation.

[category:Components]

Release Note:
The following labs components have been removed:
- `SearchForm` (and related exports: `SearchFormProps`, `SearchFormState`, `SearchTheme`, `SearchThemeAttributes`)
- `Combobox` (and related exports: `ComboboxProps`, `AutocompleteList`, `Status`)

### BREAKING CHANGES
The following exports are no longer available from `@workday/canvas-kit-labs-react`:
- `Combobox`, `ComboboxProps`, `AutocompleteList`, `Status`
- `SearchForm`, `SearchFormProps`, `SearchFormState`, `SearchTheme`, `SearchThemeAttributes`

Users should migrate to the main `@workday/canvas-kit-react/combobox` component.

Co-authored-by: Alan Smith <a.smith@workday.com>
Fixes: Workday#2088

[category:Components]

Release Note:
We've promoted `Pill` from [Preview](#preview) to [Main](#main). There are no changes to the
functionality or styling of the component. The only change required is updating the import
statement.

**Before in v14**

```tsx
import {Pill} from '@workday/canvas-kit-preview-react/pill';
```

**After in v15**

```tsx
import {Pill} from '@workday/canvas-kit-react/pill';
```

> 🤖 The codemod will handle the change of imports as shown above.

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
mannycarrera4 and others added 29 commits February 25, 2026 13:59
Fixes: Workday#3657

Promote the compound component SidePanel that was in Labs, to our Main package. This component uses our model and compound component pattern and is more accessible than the one in Preview. This promotion replaces the previously deprecated SidePanel that was in our Main package.

[category:Components]

### BREAKING CHANGES
If you were previously using the deprecated SidePanel from Main, it has now been updated to use the SidePanel that was in Labs which has a model and sub components.

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @josh-bagwell <44883293+josh-bagwell@users.noreply.github.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Fixes: Workday#3763  

This is updating the Visual Changes doc.

[category:Documentation]
Co-authored-by: @dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: @desrosj <359867+desrosj@users.noreply.github.com>
Co-authored-by: Alan Smith <a.smith@workday.com>
Fixes: Workday#3747

[category:Components]

Release Note:
We've added backwards compatibility to `CanvasProvider` to customize theming via the `theme` prop even though our components now use semantic brandable tokens. Consumers should only use this approach when creating a `scoped` theme intended to break away from global theming.

Co-authored-by: manuel.carrera <manuel.carrera@workday.com>
Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: @josh-bagwell <44883293+josh-bagwell@users.noreply.github.com>
Co-authored-by: @josh-bagwell <josh.bagwell@workday.com>
Fixes: Workday#3722

Update token migration guide to use v4 tokens in tables and examples.

[category:Documentation]

Co-authored-by: @Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: @dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: @desrosj <359867+desrosj@users.noreply.github.com>
Co-authored-by: Alan Smith <a.smith@workday.com>
Fixes: Workday#3808  

This is to update the `colorSpace` utility to add a `hover` and `pressed` function to the `darken` function.

[category:Components]
Co-authored-by: @RayRedGoose <48605821+RayRedGoose@users.noreply.github.com>
Co-authored-by: @josh-bagwell <josh.bagwell@workday.com>
Co-authored-by: @josh-bagwell <44883293+josh-bagwell@users.noreply.github.com>
Co-authored-by: @RayRedGoose <48605821+RayRedGoose@users.noreply.github.com>
Upgrade icons package to alpha versions

[category:Infrastructure]

Co-authored-by: Raisa Primerova <raisa.primerova@workday.com>
Fixes: Workday#3803, Workday#3800  |

Updated visuals with "High Contrast Mode" enabled:
<img width="382" height="178" alt="Screenshot 2026-03-30 at 10 36 24 AM" src="https://github.com/user-attachments/assets/a2f1e394-645e-4d94-a22f-56f9629416c7" />
<img width="378" height="154" alt="Screenshot 2026-03-30 at 10 36 31 AM" src="https://github.com/user-attachments/assets/4516108c-b89e-4c2e-876b-53128dca90cd" />
<img width="318" height="154" alt="Screenshot 2026-03-30 at 10 36 37 AM" src="https://github.com/user-attachments/assets/0dee59ab-0358-41e6-af1c-e3e8300a5453" />
<img width="318" height="140" alt="Screenshot 2026-03-30 at 10 36 45 AM" src="https://github.com/user-attachments/assets/24690f3b-f6a5-4966-9773-c53c1354feb2" />

[category:Components]

Release Note:
We've created a new version of the `Switch` component in `Preview`.

It has increased accessibility with:
- Added an icon to show the `unchecked` and `checked` state.
- Has visible borders when "High Contrast Mode" is enabled.
Co-authored-by: @dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: @josh-bagwell <44883293+josh-bagwell@users.noreply.github.com>
Fixes: Workday#3714 Workday#3715 

The next changes have been made to Icon components:
- `ExpressiveIcon` component to support new icon type have been added to main.
- `SystemIcon` component has been updated
   - `size` prop supports icon size tokens, `xxs`, `xs`, `sm`, `md`, `lg`, `xl`. 
   - `color` prop doesn't support values as token names, like `blueberry400`.
   - hover props (`colorHover`, `accentHover`, `backgroundHover`) have been removed. 
   - Old deprecated functionality (`systemIconStyles`) have been removed.
- `SystemIconCircle` component has been updated:
    - `inverse` prop has been added to support an inverse variant.
    - The `background` prop is required `color` prop to maintain proper contrast between a circle and an
  icon.
- `SVG` component:
    - `width` and `height` stencil vars are deprecated.
    - `SvgProps` was updated to not extend `BoxProps`
    - `transformColorNameToToken` has been removed

[category:Components]

Release Note:
The next changes have been made to Icon components:
- `ExpressiveIcon` component to support new icon type have been added to main.
- `SystemIcon` component has been updated
   - `size` prop supports icon size tokens, `xxs`, `xs`, `sm`, `md`, `lg`, `xl`. 
   - `color` prop doesn't support values as token names, like `blueberry400`.
   - hover props (`colorHover`, `accentHover`, `backgroundHover`) have been removed. 
   - Old deprecated functionality (`systemIconStyles`) have been removed.
- `SystemIconCircle` component has been updated:
    - `inverse` prop has been added to support an inverse variant.
    - The `background` prop is required `color` prop to maintain proper contrast between a circle and an
  icon.
- `SVG` component:
    - `width` and `height` stencil vars are deprecated.
    - `SvgProps` was updated to not extend `BoxProps`
    - `transformColorNameToToken` has been removed

Co-authored-by: Raisa Primerova <raisa.primerova@workday.com>
Co-authored-by: @alanbsmith <a.bax.smith@gmail.com>
Fixes: Workday#3804

[category:Components]

Release Note:
Switch in Main is now deprecated.
@alanbsmith alanbsmith closed this Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants