All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
v12.4.5 (2025-02-21)
- fix: Define stable ref reference in
useComboboxInputConstrained
(#3145) (@mannycarrera4, manuel.carrera)
v12.4.4 (2025-02-21)
- docs: Add stackblitz support to our example (#3132) (@mannycarrera4, manuel.carrera)
v12.4.3 (2025-02-20)
- fix(popup): Fix useReturnFocus to respect tabindex=-1 buttons (#3141) (@NicholasBoll)
v11.2.3 (2025-02-20)
- fix(popup): Fix useReturnFocus to respect tabindex=-1 buttons (#3141) (@NicholasBoll)
v12.4.2 (2025-02-19)
- fix: Update tooltip mdx to correctly render (#3139) (@mannycarrera4, manuel.carrera)
v12.4.1 (2025-02-19)
- fix: Add missing semicolon to tooltip mdx (#3138) (@mannycarrera4, manuel.carrera)
v12.4.0 (2025-02-19)
v12.3.7 (2025-02-11)
- fix: Ensure width is passed to Select input (#3130) (@mannycarrera4, manuel.carrera)
v11.2.2 (2025-02-10)
- fix: Ensure width is passed to Select input (#3130) (@mannycarrera4, manuel.carrera)
v12.3.6 (2025-02-06)
- fix: Remove action tokens from CanvasProvider to allow cascading (#3125) (@mannycarrera4, manuel.carrera)
The
CanvasProvider
created a cascading barrier for our brand tokens. In the case wherebrand.action.**
tokens are defined at the root level, say:root
in a a CSS file, we want those tokens to cascade through theCanvasProvider
down to ourPrimaryButton
's. To allow this, we've removed them from theCanvasProvider
andvariables.css
.@workday/canvas-tokens-web@2.1.1
removed--cnvs-brand-action-**
tokens from ourvariables.css
to ensure proper cascading of this token to theme ourPrimaryButton
's.- The
CanvasProvider
has removed defaultingbrand.action.**
for theming and is longer a valid theme property onCanvasTheme
type. - In order to ensure proper cascading of the
--cnvs-brand-action-**
token, you must upgrade to the latest version of Canvas Kitv12
and whomever is bootstrapping thevariables.css
must upgrade@workday/canvas-tokens-web
to@2.1.1
to ensure correct theming.
v12.3.5 (2025-01-28)
- chore: Update banner image on welcome page (#3113) (@mannycarrera4, manuel.carrera)
v12.3.4 (2025-01-28)
v12.3.3 (2025-01-13)
- docs: Refreshing preview SidePanel storybook examples (#3056) (@williamjstanton, William Stanton)
v12.3.2 (2025-01-09)
- fix: Rename index file to correctly export (#3098) (@mannycarrera4, manuel.carrera)
v12.3.1 (2025-01-09)
- fix: Update Information Highlight folder name for slash imports (#3097) (@mannycarrera4, manuel.carrera)
v12.3.0 (2025-01-09)
v12.2.2 (2025-01-07)
- fix: Add overflowWrap on MenuItem (#3094) (@mannycarrera4, manuel.carrera)
v12.2.1 (2025-01-07)
- fix: Added CKR Dub and Logo References to preview package (#3093) (@josh-bagwell)
v11.2.1 (2025-01-07)
- fix: Added CKR Dub and Logo References to preview package (#3093) (@josh-bagwell)
v12.2.0 (2025-01-07)
-
feat: Update CKR Dub and Logo References (#3089) (@josh-bagwell) Workday has new logos with updated colors. We've added these to the
preview
package for a smooth transition for consumers.If you would like to consume these, here is the import:
import {dubLogoPrimary, dubLogoReversed} from '@workday/canvas-kit-preview-react/common'
v11.2.0 (2025-01-07)
-
feat: Update CKR Dub and Logo References (#3089) (@josh-bagwell) Workday has new logos with updated colors. We've added these to the
preview
package for a smooth transition for consumers.If you would like to consume these, here is the import:
import {dubLogoPrimary, dubLogoReversed} from '@workday/canvas-kit-preview-react/common'
v12.1.16 (2024-12-20)
- fix(side-panel): Filter out invalid DOM prop (#3080) (@NicholasBoll)
- fix: Resolve recast dep from jscodeshift to remove extra parens (#3083) (@mannycarrera4, manuel.carrera)
v11.1.26 (2024-12-20)
- fix(side-panel): Filter out invalid DOM prop (#3080) (@NicholasBoll)
v11.1.25 (2024-12-20)
- fix: Resolve recast dep from jscodeshift to remove extra parens (#3083) (@mannycarrera4, manuel.carrera)
v12.1.15 (2024-12-17)
- fix: Add pointer events none to Select caret (#3079) (@mannycarrera4, manuel.carrera)
v12.1.14 (2024-12-17)
- fix(multi-select): Update selected state when pill is removed (#3076) (@NicholasBoll)
v12.1.13 (2024-12-16)
v12.1.12 (2024-12-10)
- fix: Fixed Welcome Page (#3069) (@josh-bagwell)
- fix: Addressed Versions Table Update (#3071) (@josh-bagwell)
v12.1.11 (2024-12-10)
- fix: Fixes Broken Links from Storybook 7 Upgrade (#3065) (@josh-bagwell)
v12.1.10 (2024-12-09)
v12.1.9 (2024-12-04)
- docs: Add info to create compound component regarding createComponent (#3057) (@mannycarrera4, manuel.carrera, @NicholasBoll)
v12.1.8 (2024-12-02)
- fix: Measure offsetHeight vertical overflow (#3061) (@mannycarrera4, manuel.carrera)
v12.1.7 (2024-11-27)
- test: Resolve Cypress Flaky fixes (#3034) (@josh-bagwell)
v12.1.6 (2024-11-25)
- fix: Deconstruct typelevel from props and pass to stencil (#3059) (@mannycarrera4, manuel.carrera)
v11.1.24 (2024-11-22)
- fix: Deconstruct typelevel from props and pass to stencil (#3059) (@mannycarrera4, manuel.carrera)
v12.1.5 (2024-11-19)
- fix: Remove default modifier for formfield label (#3055) (@mannycarrera4, manuel.carrera)
v12.1.4 (2024-11-14)
- chore: Updated README for CK (#3052) (@josh-bagwell)
v12.1.3 (2024-11-13)
- chore: Upgrade storybook to 7.6.20 to fix vulnerabilities (#3047) (@mannycarrera4, manuel.carrera)
- fix: Prevent build step in modules from running in parallel (#3053) (@mannycarrera4, manuel.carrera)
v12.1.2 (2024-11-12)
- docs: Refreshing GlobalHeader Storybook Example (#2891) (@williamjstanton, William Stanton, manuel.carrera) 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.
- fix: Remove start server command from forward merge action (#3040) (@mannycarrera4, manuel.carrera)
v12.1.1 (2024-11-08)
- chore: SNYK Security upgrade chroma-js from 2.1.1 to 2.2.0 (#3043) (@mannycarrera4, @snyk-bot, manuel.carrera)
v12.1.0 (2024-11-07)
v12.0.10 (2024-11-06)
- fix: SystemIcon supports rem by default (#3031) (@NicholasBoll)
- chore: SNYK Security upgrade jscodeshift from 0.14.0 to 17.1.0 (#3016) (@mannycarrera4, @snyk-bot, manuel.carrera)
- ci: Update node version in our github actions (#3009) (@mannycarrera4, manuel.carrera)
- fix: Fix Style transform stencil variable lookup (#3038) (@NicholasBoll)
v11.1.23 (2024-11-06)
- fix: Fix Style transform stencil variable lookup (#3038) (@NicholasBoll)
v11.1.22 (2024-11-05)
- fix: SystemIcon supports rem by default (#3031) (@NicholasBoll)
v12.0.9 (2024-11-04)
- fix: Add gap to overflow calculations (#3029) (@NicholasBoll)
v11.1.21 (2024-11-04)
- fix: Add gap to overflow calculations (#3029) (@NicholasBoll)
v12.0.8 (2024-11-04)
- ci: Updated forward merge yml (#3027) (@josh-bagwell)
v12.0.7 (2024-11-04)
- fix: Update Select to open with spacebar (#3006) (@mannycarrera4, manuel.carrera, @NicholasBoll)
- fix: Add flex gap to overflow list calculations (#3021) (@NicholasBoll)
v11.1.20 (2024-11-04)
- fix: Add flex gap to overflow list calculations (#3021) (@NicholasBoll)
v11.1.19 (2024-10-28)
- fix: Update Select to open with spacebar (#3006) (@mannycarrera4, manuel.carrera, @NicholasBoll)
v12.0.6 (2024-10-24)
- fix: Ensure button label icon uses rem (#3001) (@mannycarrera4, manuel.carrera)
v11.1.18 (2024-10-23)
- fix: Ensure button label icon uses rem (#3001) (@mannycarrera4, manuel.carrera)
v12.0.5 (2024-10-23)
- chore: Button CustomStyles Examples Cleanup (#2918) (@josh-bagwell, @mannycarrera4)
v12.0.4 (2024-10-22)
- fix: Remove stale Github actions (#2999) (@mannycarrera4, manuel.carrera)
v12.0.3 (2024-10-22)
- fix: Add codemod to main index file to export (#2996) (@mannycarrera4, manuel.carrera)
v12.0.2 (2024-10-21)
- fix: Remove duplicate keys from routes (#2994) (@mannycarrera4, manuel.carrera)
v12.0.1 (2024-10-21)
- chore: Update deprecated urls to CodeshiftCommunity (#2977) (@danieldelcore)
- fix: Clean up Select file structure and move examples to main react (#2992) (@mannycarrera4, manuel.carrera)
v12.0.0 (2024-10-16)
-
#2793 - Avatar no longer uses
SystemIconCircle
for sizing.Avatar.Size
is no longer supported. Thesize
prop type has change to accept the following:"extraExtraLarge" | "extraLarge" | "large" | "medium" | "small" | "extraSmall" | (string{})
Avatar.Variant
is no longer supported. EnumAvatarVariant
has been removed. Thevariant
type prop now accepts"dark" | "light"
- The
as
prop now accepts any element, not justdiv
.
-
#2674 Codemods formatting have been updated and users will need to format their files after the codemod has been used.
-
#2934 The newly promoted
FormField
is a compound component. Due to the different APIs of the component, this change is not codemodable. The following shows an example of how to update your code to match the new compound component API.// v11 FormField in Main <FormField error={FormField.ErrorType.Alert} labelPosition={FormField.LabelPosition.Left} useFieldSet={true} required={true} hintId="hint-alert" hintText="Please enter a valid email." label="Email" > <TextInput onChange={handleChange} value={value} /> </FormField> // v12 Newly promoted FormField from Preview to Main <FormField error="error" orientation="horizontalStart" isRequired={true} > <FormField.Label>Email</FormField.Label> <FormField.Field> <FormField.Input as={TextInput} onChange={handleChange} value={value} /> <FormField.Hint>Please enter a valid email.</FormField.Hint> </FormField.Field> </FormField>
Noticeable changes:
error
prop takes in the following values:"error" | "alert"
.labelPosition
becomesorientation
with the following values:"horizontal" | "horizontalStart" | "horizontalEnd" | "vertical"
.useFieldSet
is no longer valid. If you want to group inputs, useFormFieldGroup
component.required
becomesisRequired
.hintId
is no longer needed. The component handles associating the hint text, label and input automatically. If you wish to have a uniqueid
, you can add one onto theFormField
element.hintText
is no longer a valid prop. UseFormField.Hint
sub component.errorLabel
andalertLabel
are no longer valid props. Customizing your hint text inside ofFormField.Hint
.label
is no longer a valid prop. UseFormField.Label
sub component to render your label text.- Instead of rendering an input, ensure you use
FormField.Input
with theas
prop. This ensures proper error handling and aria attributes for accessibility.
-
#2969 We've removed the
MenuItemProps
export from@workday/canvas-kit-react/menu
. UseExtractProps<typeof Menu.Item, never>
instead. We don't mean to export prop interfaces of polymorphic components. Thenever
means "don't add element props". The second parameter is used to pass the interface that theas
prop is pointing to. -
#2980
elemProps
hooks usingcomposeHooks
have more accurate type signatures which may lead to new type errors. For information, view our discussion. -
#2982 A list model's
navigation.getItem()
can returnundefined
if no item is found. Previously it threw an error, which cause many problems. It is now up to the caller to decide what to do with anundefined
return value
-
chore: Removed Select in Preview (#2796) (@thunguyen19, manuel.carrera, @mannycarrera4) We've removed the
Select
component that was in@workday/canvas-kit-preview-react
. Please use theSelect
in Main (https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) which is a compound component and offers more flexibility.Thank You Picture
-
chore: Modal, Dialog, Popup and Toast Styles Refactor (#2795) (@josh-bagwell) Updated
Modal, Dialog, Popup and Toast
to use newsystem
tokens and style utilities. -
chore: Removal of InputIconContainer (#2838) (@josh-bagwell) We've removed
InputIconContainer
from Main. Please useInputGroup
from Main instead. -
chore: Refactor TextArea and TextInput with new styling utilities (#2825) (@mannycarrera4, manuel.carrera, @NicholasBoll) We've updated
TextInput
andTextArea
to use our new Tokens and styling utilities. The React interface has not changed, but CSS variables are now used for dynamic properties. -
chore: Update Avatar to use createStencil and createComponent (#2793) (@kaconant, krissy.conant, @mannycarrera4, manuel.carrera) The Avatar component has been refactored to use our new tokens and styling utilities. The changes below highlight the breaking changes to the API.
-
feat: Add horizontal start and end label position for form field (#2881) (@mannycarrera4, manuel.carrera, @josh-bagwell) The orientation prop on the FormField component will be updated to accept the following values:
vertical
,horizontalStart
, andhorizontalEnd
.horizontal
will still be accepted as a value in v12, but it will be deprecated and slated for removal in a future major release. These changes are intended to provide more flexibility with label alignments on FormField elements.Instances where the orientation prop of the FormField component is set to
horizontal
will automatically default tohorizontalStart
via a codemod. A console warning message will also appear with a message to change the prop value to either horizontalStart or horizontalEnd. -
chore: Updated unique id generation for classnames (#2913) (@josh-bagwell, @mannycarrera4)
-
chore: Add FormFieldGroup component and density example (#2865) (@mannycarrera4, manuel.carrera, @josh-bagwell, @RayRedGoose)
-
We've added a new
FormFieldGroup
component to use when grouping inputs like checkboxes and radio inputs that need to be associated to one another. Its API matches theFormField
API where you haveerror
prop as well asid
isRequired
andorienation
. -
orientation
has been added back touseFormFieldModel
to better support sub component styling. -
Styles have been cleaned up to use
gap
for proper spacing between labels, inputs and hint text. -
Added a new
FormField.Field
component to ensure proper alignment between label and inputs regardless of orientation and hint text. Ensure to wrap your inputs and hint text in this component.
-
-
chore: Revert Select Preview Removal (#2933) (@josh-bagwell)
-
feat(text-input): Support CSS Variables in InputGroup (#2935) (@NicholasBoll)
-
feat: Promote FormField from Preview to Main (#2934) (@mannycarrera4, manuel.carrera, @josh-bagwell) We've promoted FormField from Preview to Main. The following changes have been made to provide more flexibility and better explicit components when using inputs.
- The orientation prop on the
FormField
component will be updated to accept the following values:vertical
,horizontalStart
, andhorizontalEnd
.horizontal
will still be accepted as a value in v12, but it will be deprecated and slated for removal in a future major release. These changes are intended to provide more flexibility with label alignments onFormField
elements.
Note: The horizontal alignment of start and end are relative to its container, meaning start and end match the flex property of
flex-start
andflex-end
. This is especially applicable for moving between RTL (right-to-left) and LTR (left-to-right) languages.Note: Orientation "horizontal" has been deprecated. You will see a console warn message suggesting to update your types and usage to
horizontalStart
,horizontalEnd
orvertical
.-
useFormFieldModel
:orientation
has been added back intouseFormFieldModel
. While we still support compat mode due to style merging issues, having orientation on the model allows for proper styling of sub components. -
Styles clean up.
FormField.Hint
andFormField.Label
where usingmargin
for spacing. We've updated styles so that the containing element usesgap
for proper spacing.
- The orientation prop on the
-
fix: Add visual testing for inputs after form field promotion (#2963) (@mannycarrera4, manuel.carrera)
-
chore(text-input): Convert
InputGroup
to use Stencils (#2964) (@NicholasBoll) -
feat(form-field): Add a11y links for non-input fields (#2967) (@NicholasBoll, manuel.carrera)
-
feat(menu): Add
MenuOption
and convert to MenuItem to Stencil (#2969) (@NicholasBoll) -
fix: Add isHidden to FormField label element (#2973) (@mannycarrera4, manuel.carrera, @josh-bagwell) If you want to hide the label but maintain accessibility, add the
isHidden
prop on theFormField.Label
element. -
fix: Fix mergeProps, createElemPropsHook, and composeHooks types (#2980) (@NicholasBoll)
-
chore: Remove useResizeObserver hack (#2981) (@NicholasBoll)
-
chore: Collection navigation getItem can return undefined (#2982) (@NicholasBoll)
-
fix: Fix InputGroup inner end width calculations (#2984) (@NicholasBoll)
-
refactor(select): Fix all syncing issues with the Select component (#2983) (@NicholasBoll)
-
feat: Add a MultiSelect component (#2911) (@NicholasBoll)
- chore: Upgrade Guide Cleanup (#2936) (@josh-bagwell)
- chore: Fix for ExampleCodeBlock (#2938) (@josh-bagwell, manuel.carrera)
- docs: Fix Markdown tables (#2986) (@NicholasBoll)
- chore: Storybook sidebar theme (#2987) (@jaclynjessup)
-
chore: Upgrade Storybook and Webpack (#2674) (@RayRedGoose, @NicholasBoll, manuel.carrera, @josh-bagwell)
- In Storybook, each component now has a "Docs" page. This is dedicated to documentation of the component and has examples as it did before.
- We now use the Cypress Component runner and not e2e.
- Codemod formatting has been updated with a dependency update and docs have been added to reflect the formatting issue.
The following have been upgraded:
- Storybook 7
- Webpack 5
- Typescript 4.9
- Cypress 13
-
fix: Update comment for canary action (#2950) (@mannycarrera4, manuel.carrera)
-
fix: Update routes path (#2966) (@mannycarrera4, manuel.carrera)
-
fix: Try to fix canary build (#2970) (@mannycarrera4, manuel.carrera)
-
ci: Fix build script (#2985) (@NicholasBoll)
-
ci: Fix tspc command (@NicholasBoll)
- feat(styling): Add support for fallthrough modifiers (#2944) (@NicholasBoll)
v11.1.17 (2024-10-11)
- fix: Unbroken String Overflow Menu Item Fix (#2975) (@josh-bagwell)
A fix to Menu Item to break a long unbroken string for
Select
.
v10.3.63 (2024-10-10)
- fix: Unbroken String Overflow Menu Item Fix (#2975) (@josh-bagwell)
A fix to Menu Item to break a long unbroken string for
Select
.
v11.1.16 (2024-10-07)
- chore: Fixed Button Style Merge Issue (#2951) (@josh-bagwell, manuel.carrera) Updates Button variants to fix merge style issue.
v11.1.15 (2024-10-07)
- fix: Remove extract docs in canary to prevent exceeding limit (#2948) (@mannycarrera4, manuel.carrera)
- fix: Support false modifier values (#2952) (@NicholasBoll)
v10.3.62 (2024-10-02)
v11.1.14 (2024-10-02)
- fix: Update BaseButton to use correct theming color for focus ring (#2942) (@josh-bagwell)
Fixes theming for the
BaseButton
withinPagination
.
v10.3.62 (2024-10-02)
- fix: Update BaseButton to use correct theming color for focus ring (#2942) (@josh-bagwell)
Fixes theming for the
BaseButton
withinPagination
.
v11.1.13 (2024-09-19)
- fix: Allow inherit background color on system icon (#2932) (@mannycarrera4, manuel.carrera)
v11.1.12 (2024-09-18)
- fix(search-form): Show ellipsis when placeholder overflows (#2927) (@NicholasBoll)
v10.3.61 (2024-09-17)
- fix(search-form): Show ellipsis when placeholder overflows (#2927) (@NicholasBoll)
v11.1.11 (2024-09-16)
- fix: Handle empty stack ref in useAssistiveHideSiblings (#2920) (@NicholasBoll)
v10.3.60 (2024-09-16)
- fix: Handle empty stack ref in useAssistiveHideSiblings (#2920) (@NicholasBoll)
v11.1.10 (2024-09-16)
v11.1.9 (2024-09-16)
- docs: Fixing NotificationBadge storybook example (#2903) (@williamjstanton, William Stanton)
v11.1.8 (2024-09-06)
- fix: Updated ButtonColors interface to deprecated focusRing from focus (#2906) (@josh-bagwell) Deprecated the use of focusRing within focus in the colors prop on buttons as this does not work with our current styling methods. Added support for boxShadowInner and boxShadowOuter within focus in colors prop.
v10.3.59 (2024-09-06)
- fix: Updated ButtonColors interface to deprecated focusRing from focus (#2906) (@josh-bagwell) Deprecated the use of focusRing within focus in the colors prop on buttons as this does not work with our current styling methods. Added support for boxShadowInner and boxShadowOuter within focus in colors prop.
v11.1.7 (2024-08-29)
- fix(color-picker): Add support for a11y labels on color swatches (#2894) (@wooksauce, Kiwook Kwon)
v11.1.6 (2024-08-27)
- fix: Make overflow items inert (#2886) (@NicholasBoll, manuel.carrera)
- fix(select): Forward ref to Select input (#2892) (@mannycarrera4, manuel.carrera)
-
fix: Enable styling compat mode to ensure proper style merging (#2890) (@mannycarrera4, manuel.carrera) We're seeing style merging issues when using createStyles or createStencil. It only happens when every style override of the element uses these utilities and @emotion/react or @emotion/styled is not used on the same element. These utilities rely on module execution order and we're having a few reports where modules are possibly executing out of order. In order to allow everyone to use createStyles and createStencil without worrying about style merge issues, we're going to enable compat mode all the time. We'll look into possible out-of-order execution issues in the future and plan to re-enable full static mode (for better performance) once we know why this is happening and have a proper workaround.
For more information, please read our discussion
v10.3.58 (2024-08-27)
- fix(select): Forward ref to Select input (#2892) (@mannycarrera4, manuel.carrera)
v10.3.57 (2024-08-27)
- fix: Make overflow items inert (#2886) (@NicholasBoll, manuel.carrera)
v10.3.56 (2024-08-27)
-
fix: Enable styling compat mode to ensure proper style merging (#2890) (@mannycarrera4, manuel.carrera) We're seeing style merging issues when using createStyles or createStencil. It only happens when every style override of the element uses these utilities and @emotion/react or @emotion/styled is not used on the same element. These utilities rely on module execution order and we're having a few reports where modules are possibly executing out of order. In order to allow everyone to use createStyles and createStencil without worrying about style merge issues, we're going to enable compat mode all the time. We'll look into possible out-of-order execution issues in the future and plan to re-enable full static mode (for better performance) once we know why this is happening and have a proper workaround.
For more information, please read our discussion
v11.1.5 (2024-08-23)
- fix(combobox): Show selected state when multiple is enabled (#2882) (@NicholasBoll)
v10.3.55 (2024-08-22)
- fix(combobox): Show selected state when multiple is enabled (#2882) (@NicholasBoll)
v11.1.4 (2024-08-21)
- docs: Update CanvasProvider info on install page (#2878) (@mannycarrera4, manuel.carrera, @alanbsmith)
v10.3.54 (2024-08-21)
- docs: Update CanvasProvider info on install page (#2878) (@mannycarrera4, manuel.carrera, @alanbsmith)
v11.1.3 (2024-08-20)
- fix: Update select to trigger onChange (#2874) (@mannycarrera4, manuel.carrera)
v10.3.53 (2024-08-20)
- fix: Update select to trigger onChange (#2874) (@mannycarrera4, manuel.carrera)
v11.1.2 (2024-08-20)
v11.1.1 (2024-08-20)
- fix(select): Clicking the input closes the menu (#2869) (@NicholasBoll)
v10.3.52 (2024-08-14)
- fix(select): Clicking the input closes the menu (#2869) (@NicholasBoll)
v11.1.0 (2024-08-14)
v11.0.27 (2024-08-12)
- fix(Checkbox): Remove console warning (#2863) (@thunguyen19)
v11.0.26 (2024-08-05)
- fix: Set aria-modal to false for better accessibility (#2855) (@mannycarrera4, manuel.carrera)
v10.3.51 (2024-08-05)
- fix: Set aria-modal to false for better accessibility (#2855) (@mannycarrera4, manuel.carrera)
v11.0.25 (2024-08-05)
- fix(combobox): Use correct state for aria-selected (#2849) (@NicholasBoll)
This change fixes
aria-selected
inCombobox.Menu.Item
components, but this does change the visuals of what is considered "selected". If you have any visual tests that have a screenshot of a selected state, the visual regression will have to be updated. The same is true for DOM-based snapshot tests.aria-selected="true"
will now be added when an item is selected and not just when the virtual cursor is on the item. If your snapshot captures this DOM state, the snapshot will have to be updated.
v10.3.50 (2024-08-05)
- fix(combobox): Use correct state for aria-selected (#2849) (@NicholasBoll)
This change fixes
aria-selected
inCombobox.Menu.Item
components, but this does change the visuals of what is considered "selected". If you have any visual tests that have a screenshot of a selected state, the visual regression will have to be updated. The same is true for DOM-based snapshot tests.aria-selected="true"
will now be added when an item is selected and not just when the virtual cursor is on the item. If your snapshot captures this DOM state, the snapshot will have to be updated.
v11.0.24 (2024-08-05)
- fix(SearchForm): Suppress forwarding props warning (#2850) (@thunguyen19, Thu Nguyen)
v11.0.23 (2024-07-30)
- fix: Support marginTop and marginBottom on ListBox (#2844) (@NicholasBoll)
v10.3.49 (2024-07-29)
- fix: Support marginTop and marginBottom on ListBox (#2844) (@NicholasBoll)
v11.0.22 (2024-07-29)
- docs: Fix stencil docs typo (#2847) (@alanbsmith)
v10.3.48 (2024-07-24)
v11.0.21 (2024-07-24)
v10.3.48 (2024-07-24)
v11.0.20 (2024-07-22)
v10.3.47 (2024-07-22)
v11.0.19 (2024-07-19)
- fix(avatar): Lazy load avatar images (#2834) (@NicholasBoll)
- fix: Popups render in the target's window (#2829) (@NicholasBoll, @mannycarrera4)
v10.3.46 (2024-07-19)
- fix: Popups render in the target's window (#2829) (@NicholasBoll, @mannycarrera4)
v10.3.45 (2024-07-18)
- fix(avatar): Lazy load avatar images (#2834) (@NicholasBoll)
v11.0.18 (2024-07-18)
- fix(avatar): Lazy load avatar images (#2833) (@NicholasBoll)
v11.0.17 (2024-07-17)
- docs: Fixing and updating the AriaLiveRegion storybook examples (#2818) (@williamjstanton, William Stanton, @mannycarrera4, @josh-bagwell, manuel.carrera)
v11.0.16 (2024-07-17)
- chore: SNYK Security upgrade markdown-to-jsx from 6.11.4 to 7.2.0 (#2826) (@mannycarrera4, @snyk-bot, manuel.carrera)
v11.0.15 (2024-07-11)
- fix(select): Add conditional for Select in React.StrictMode (#2822) (@NicholasBoll)
v10.3.44 (2024-07-10)
- fix(select): Add conditional for Select in React.StrictMode (#2822) (@NicholasBoll)
v11.0.14 (2024-07-10)
- fix: Upgrade vulnerable packages for security (#2812) (@mannycarrera4, manuel.carrera)
v11.0.13 (2024-07-09)
- fix: Prevent style-only props from being forwarded to elements (#2819) (@wainokray-ho)
v11.0.12 (2024-07-08)
- fix: Fix backwards compatibility with colors prop for buttons (#2816) (@mannycarrera4, manuel.carrera)
- fix: Revert jscodeshift version (#2813) (@mannycarrera4, manuel.carrera)
v11.0.11 (2024-06-26)
- chore: Update SNYK deps to non vulnerable versions (#2784) (@mannycarrera4, manuel.carrera) Fix some security issues found by SNYK in our codemod package.
v11.0.10 (2024-06-26)
- fix: Grow Prop Fix for Buttons (#2790) (@josh-bagwell, @mannycarrera4)
v10.3.43 (2024-06-25)
- fix: Grow Prop Fix for Buttons (#2790) (@josh-bagwell, @mannycarrera4)
v11.0.9 (2024-06-24)
v11.0.8 (2024-06-18)
v11.0.7 (2024-06-17)
- chore: Add robust example in storybook for ToolbarDropdown button (#2782) (@NehaAhujaa, Neha Ahuja)
- fix: Delete unused folder (#2771) (@mannycarrera4, manuel.carrera)
v11.0.6 (2024-06-10)
- fix: Prevent undefined from overriding model defaultConfig (#2766) (@NicholasBoll)
- fix(select): Update aria-haspopup to 'menu' (#2760) (@NicholasBoll)
v10.3.42 (2024-06-10)
- fix(select): Update aria-haspopup to 'menu' (#2760) (@NicholasBoll)
v10.3.41 (2024-06-10)
- fix: Prevent undefined from overriding model defaultConfig (#2766) (@NicholasBoll)
v11.0.5 (2024-06-10)
- fix: Fix backwards compatibility for hover state colors in System Icon (#2764) (@RayRedGoose)
v11.0.4 (2024-06-10)
- chore: Updated Canvas Tokens Web Dependency to version 2.0.0 (#2762) (@josh-bagwell)
v11.0.3 (2024-05-28)
- chore: Updated mergeStyles to accept grid styleprops (#2759) (@josh-bagwell)
v11.0.2 (2024-05-28)
- docs: Update v11 upgrade guide (@alanbsmith)
v11.0.1 (2024-05-24)
- fix: Add explicit info about tokens (#2754) (@mannycarrera4, manuel.carrera, @josh-bagwell)
v11.0.0 (2024-05-22)
- #2472 - The prop
hasError
for Preview componentsFormField
,TexInput
andTextArea
have been renamed toerror
and accepts the values:"error" | "alert" | undefined
- #2546 There may be slight visual changes.
- #2567 There may be slight visual changes.
- #2583 There may be slight visual changes.
- #2600 -
rowState
no longer exists.- The component is now a compound component with access to lower level elements.
- #2615 Impacts only internal Canvas Kit code.
Icon
component has been removed and no longer used. - #2697 Adds
box-sizing: border-box
to all stencils. If your stencil did not add this style already, it may change the waywidth
works for the component. Our intent is to make all elements use border box layouts to make width calculations more predictable. This change may change the way your component works if you use thewidth
style property.
- chore: Refactor StatusIndicator component (#2620) (@harshanarisetty)
StatusIndicator
now uses Canvas Tokens and our new styling utilities. The component now supports thecs
prop, but otherwise the API has not changed. It should behave identically as it did in previous versions.
- feat(loading-dots): Use static styling utilities (#2540) (@harshanarisetty)
- chore: Update CountBadge styles (#2442) (@alanbsmith, manuel.carrera)
- feat: Update FormField Preview API to support different inputs (#2472) (@mannycarrera4, manuel.carrera, @RayRedGoose)
TextInput
from Preview has been deprecated. Please useFormField
from Preview.TextArea
from Preview has been deprecated. Please useFormField
from Preview.FormField
from Main has been deprecated. Please useFormField
from Preview.orientation
prop defaults tovertical
and is no longer required.FormField.Input
can be used by anyinput
FormField
does not support theuseFieldSet
prop that theFormField
in Main does. In order to achieve the same behavior, set theas
prop on theFormField
element tofieldset
and theas
prop ofFormField.Label
tolegend
- feat: Text style refactoring (#2455) (@RayRedGoose, @mannycarrera4, manuel.carrera)
Text related components have been refactored to support the new
cs
prop and v10 styling utilities. Type level components,Title
,Heading
,BodyText
andSubtext
, as well asText
andLabelText
updated to use the new system level tokens via CSS variables from the CanvasProvider.LabelText
has been deprecated. - chore: Refactor Card Styles (#2471) (@alanbsmith, @RayRedGoose)
- feat: Component Style Updates from Audit (#2485) (@josh-bagwell, @mannycarrera4) Style updates will have minor visual changes.
- chore: Bump canvas-kit-styling version (@alanbsmith)
- chore: Bump canvas kit styling (@)
- fix: Update testing to use preview formfield (@)
- test: Add inverse variant visual tests (#2544) (@RayRedGoose)
- chore: Refactor FormField in Preview to use new styling utilities and tokens (#2541) (@mannycarrera4, manuel.carrera) Update FormField in Preview to use our new styling utilities and tokens.
- chore: Radio Styles Refactor (#2546) (@josh-bagwell)
Radio
andRadioGroup
now use Canvas Tokens and our new styling utilities. The component now supports thecs
prop, but otherwise the API has not changed. It should behave identically as it did in previous versions however, there may be some slight visual changes. - chore: Refactor Checkbox styles (#2542) (@RayRedGoose, @mannycarrera4, @alanbsmith)
Checkbox
now uses Canvas Tokens and our new styling utilities. The component now supports thecs
prop, but otherwise the API has not changed. It should behave identically as it did in previous versions. - chore: Table(Preview) Styles Refactor (#2567) (@josh-bagwell) Table now uses Canvas Tokens and our new styling utilities. The component now supports the cs prop, but otherwise the API has not changed. It should behave identically as it did in previous versions however, there may be some slight visual changes.
- fix: Fix build script on css packages (@NicholasBoll)
- chore: Switch Styles Refactor (#2583) (@josh-bagwell) Switch now uses Canvas Tokens and our new styling utilities. The component now supports the cs prop, but otherwise the API has not changed. It should behave identically as it did in previous versions however, there may be some slight visual changes.
- chore: Updated Radio(Preview) & Table(Preview) with createStencil (#2585) (@josh-bagwell)
- chore: Table Promotion from preview (#2600) (@josh-bagwell)
We've promoted the compound
Table
component from Preview to Main. This compound component API allows for more flexibility and access to lower level elements. - feat: Add support for stencil extension (#2612) (@NicholasBoll)
- chore: Refactor Select and Combobox to use new styling utilities and tokens (#2570) (@mannycarrera4, manuel.carrera, @josh-bagwell, @RayRedGoose)
- chore: Refactor icon components (#2615) (@RayRedGoose, @alanbsmith, @NicholasBoll, @mannycarrera4, manuel.carrera)
Icon components,
Svg
,SystemIcon
,AccentIcon
,AppletIcon
,Graphic
now uses Canvas Tokens and new styling utilities. Components now supports thecs
prop insteadstyles
, but otherwise the API has not changed. It should behave similar as it did in previous versions. - chore: Update Text to use system tokens (#2659) (@mannycarrera4, manuel.carrera, @RayRedGoose) Update our Text components to use our system tokens.
- fix: Make variable names safe for Emotion (#2687) (@NicholasBoll)
- chore: Update Card color tokens (#2682) (@alanbsmith)
- chore: Update FormField and Select to use system colors (#2685) (@RayRedGoose)
- chore: Update checkbox to use system color tokens (#2683) (@RayRedGoose)
- feat: Add box-sizing:border-box automatically to all stencils (#2697) (@NicholasBoll)
- fix: Update usage of deprecated form field across examples (#2491) (@mannycarrera4, manuel.carrera, @RayRedGoose)
- fix: Update upgrade guide for 11 (#2678) (@mannycarrera4, manuel.carrera)
- ci: Fix SymbolDoc (#2696) (@NicholasBoll)
- feat: Add initial v11 setup (#2476) (@RayRedGoose)
- ci: Fix missing dependency (@NicholasBoll)
- feat: Generate CSS kits from React kits (#2578) (@NicholasBoll)
- feat: Add per-module prefix (#2582) (@NicholasBoll)
- chore: Bump canvas-tokens-web (#2681) (@alanbsmith)
- ci: Run style transform in Storybook (#2677) (@NicholasBoll)
- fix(styling): Fix variables in stencil config (#2624) (@NicholasBoll)
v10.3.40 (2024-05-17)
- fix(radio): Spread props to input (#2747) (@mannycarrera4, manuel.carrera) StyledRadio was spreading props to the input and it's parent div. This change removed spreading prop to the parent div except for className.
v9.1.42 (2024-05-17)
- fix(radio): Spread props to input (#2747) (@mannycarrera4, manuel.carrera) StyledRadio was spreading props to the input and it's parent div. This change removed spreading prop to the parent div except for className.
- ci: Fix package.json forward-merge resolution (@NicholasBoll)
v10.3.39 (2024-05-15)
- docs: Fix typo (#2738) (@aarongarciah)
- chore: SNYK Security upgrade jscodeshift from 0.13.1 to 0.14.0 (#2739) (@mannycarrera4)
v10.3.38 (2024-05-09)
- docs: Fix typo in Merging Styles story name (#2732) (@josephnle)
v10.3.37 (2024-05-03)
- fix(select): Redirect focus to visual input (#2723) (@NicholasBoll)
v10.3.36 (2024-05-03)
- fix: Style merging in compat mode (#2719) (@NicholasBoll)
This fixes an issue where styles would merge incorrectly in compatibility mode. Compatibility mode is triggered when our component is augmented by a style prop, wrapped with
styled
, passed acss
prop, or passed acs
prop with object styles. This fix ensures thatmodifiers
viacreateModifiers
orcreateStencil
merge styles the same way in both static and compat modes. See the linked issue for more details.
v10.3.35 (2024-05-01)
- fix: CanvasProvider should use JS tokens instead of hard-coded strings (#2710) (@NicholasBoll)
v10.3.34 (2024-05-01)
- fix: Remove unused state parameter from getFirst in useCursorListModel (#2713) (@gbernert, @NicholasBoll, @RayRedGoose)
v10.3.33 (2024-04-15)
- docs: Improve the "accessible" example of loading dots (#2673) (@williamjstanton, @RayRedGoose, @NicholasBoll)
Accessible
LoadingDots
example has been updated, by changing background to a darker color that allowssoap400
to meet the minimum 3:1 contrast ratio and adding better screen reader support with theAriaLiveRegion
component.
v10.3.32 (2024-04-12)
- docs: Add new examples of new AriaLiveRegion component (#2672) (@williamjstanton, @RayRedGoose)
v10.3.31 (2024-04-11)
- docs: Clarify and correct Select docs (#2684) (@alanbsmith)
v10.3.30 (2024-04-11)
- chore: Pin Storybook CLI to v6 for extract docs script (#2657) (@alanbsmith)
- ci: Add @storybook/cli as a dev dependency (#2691) (@NicholasBoll)
- ci: Fix package.json forward-merge resolution (@NicholasBoll)
v10.3.29 (2024-04-11)
v10.3.28 (2024-04-11)
v9.1.41 (2024-04-10)
- chore: Pin Storybook CLI to v6 for extract docs script (#2657) (@alanbsmith)
- ci: Add @storybook/cli as a dev dependency (#2691) (@NicholasBoll)
v10.3.27 (2024-04-09)
- fix: Pass value to visual input in select (#2676) (@mannycarrera4, manuel.carrera, @NicholasBoll)
v10.3.26 (2024-04-02)
- chore: Automate reviewer lottery for yarn lock changes (#2667) (@mannycarrera4, manuel.carrera)
v10.3.25 (2024-03-28)
- fix: Update scorecard.yml (#2664) (@mannycarrera4)
v10.3.24 (2024-03-22)
- fix: Fix issue with dynamic keys in stencils for style parser (#2661) (@RayRedGoose)
v10.3.23 (2024-03-22)
- fix: Revert overflow calculation until we find a better solution (#2651) (@mannycarrera4, manuel.carrera) Reverting the sub pixel calculation on the overflow logic until we find a better solution.
- chore: Addressing dependency issues (#2639) (@josh-bagwell)
- fix: Fixed yarnrc (#2640) (@josh-bagwell)
- test: Remove dot only from tests (#2644) (@mannycarrera4, manuel.carrera)
v9.1.40 (2024-03-22)
- fix: Revert overflow calculation until we find a better solution (#2651) (@mannycarrera4, manuel.carrera) Reverting the sub pixel calculation on the overflow logic until we find a better solution.
v10.3.22 (2024-03-11)
- chore: Create scorecard.yml (#2632) (@mannycarrera4)
- chore: Addressing vulnerabilities and critical issues (#2634) (@josh-bagwell)
- fix(stencil): TypeScript support for variable/modifier with same key (#2635) (@NicholasBoll)
v10.3.21 (2024-03-06)
- fix: Update forward merge to track remote branch (#2627) (@mannycarrera4, manuel.carrera)
- chore: Add nonce support to styling (#2629) (@NicholasBoll)
This change does not introduce any breaking changes, but creating a custom Emotion instance can introduce a breaking change. A custom instance should only be used if all instances of Canvas Kit on the page are above the version this change is released in and no application code is imported directly from
@emotion/css
. This change updates all internal Canvas Kit styling to use the Emotion instance created in@workday/canvas-kit-styling
. If no custom instance is created, the one created by@emotion/css
will be used. If the default instance is used, there should be no breaking changes, but everyone should update their application code to use styling functions from@workday/canvas-kit-styling
and not@emotion/css
. SSR using@emotion/css
is unaffected since server to client hydration only cares about the cache key ("css") and the style's hash, which should be the same even with a custom cache instance.
v10.3.20 (2024-03-04)
- fix: Move selected item when scrolling via keyboard in Select (#2609) (@mannycarrera4, manuel.carrera)
v10.3.19 (2024-03-01)
- fix(button): Fix icon colors in buttons and SegmentedControl (#2623) (@NicholasBoll)
This change may trigger a visual regression with certain icons in buttons and
SegmentedControl
buttons. This change is intentional and fixes an accidental regression between v9 and v10. There should be no other breaking changes.
v10.3.18 (2024-02-28)
- fix: Fix stencil types to handle vars and deeply nested styles (#2617) (@NicholasBoll)
v10.3.17 (2024-02-26)
- fix: Wrap css variables passed into stencil and vars (#2614) (@RayRedGoose)
v10.3.16 (2024-02-20)
- fix(segmented-control): Fix size styling (#2606) (@NicholasBoll)
v10.3.15 (2024-02-17)
- fix: Add CSS fallback to custom transforms (#2604) (@NicholasBoll)
v10.3.14 (2024-02-15)
- ci: Fix package.json fix syntax error (#2573) (@NicholasBoll)
- ci: Fix resolve-package-json merge file (#2575) (@NicholasBoll)
- fix: Forward numeric style prop transform handling to Emotion (#2588) (@NicholasBoll)
v10.3.13 (2024-02-12)
- fix: Fix keyframes transform for commonjs modules (#2572) (@NicholasBoll)
- ci: Fix forward-merge version conflicts (#2568) (@NicholasBoll)
- ci: Fix resolve-package-json merge file (#2575) (@NicholasBoll)
v10.3.12 (2024-02-12)
- fix: Add CSS var fallbacks on Preview (#2571) (@NicholasBoll)
v10.3.11 (2024-02-12)
- docs: Fix Table example (#2564) (@alanbsmith)
v10.3.10 (2024-02-08)
- chore: Add versions mdx (#2553) (@mannycarrera4, manuel.carrera, @alanbsmith) We've added a table of previous versions to storybook
v10.3.9 (2024-02-08)
- fix: Fix FormField required label error (#2562) (@alanbsmith)
v9.1.39 (2024-02-08)
- fix: Fix FormField required label error (#2562) (@alanbsmith)
v10.3.8 (2024-02-08)
- fix: Update isOverflowed logic to account for sub-pixels (#2548) (@nonverbal, Lauren Clavell)
v9.1.38 (2024-02-08)
- fix: Update isOverflowed logic to account for sub-pixels (#2548) (@nonverbal, Lauren Clavell)
v10.3.7 (2024-02-07)
- docs: Add interactive table examples to storybook (#2457) (@williamjstanton, @alanbsmith)
v10.3.6 (2024-02-07)
- fix(preview): Changed table justifyContent to start (#2557) (@vibdev)
- fix: Update
aria-activedescendant
on ComboboxInput (#2554) (@josh-bagwell)
- ci: Fix forward merging with CSS packages deleted (@NicholasBoll)
v9.1.37 (2024-02-07)
- fix: Update
aria-activedescendant
on ComboboxInput (#2554) (@josh-bagwell)
v9.1.36 (2024-02-07)
v10.3.5 (2024-02-07)
- fix: Allow fetching of dynamic items on select (#2535) (@mannycarrera4, manuel.carrera, @alanbsmith, @josh-bagwell)
- Allow select to render while fetching items from a server
- Add initial selected item example with complex object
- Add placeholder example with select
- Select will now show your placeholder on initial load.
- When using select with complex items,
onChange
will return theid
of the item, not the text. data-id
is no longer required when your object has anid
property.
v10.3.4 (2024-02-07)
- docs: Update common docs (#2552) (@alanbsmith) 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.
v10.3.3 (2024-02-07)
- fix: Only run focusRing transform inside static styles (#2549) (@NicholasBoll)
v10.3.2 (2024-02-05)
- fix: SidePanel Examples aria-labelledby Update (#2538) (@williamjstanton, @josh-bagwell) Updates the Basic example, Alternate example, and Right-to-left example to display a hidden element when in the collapsed state.
v10.3.1 (2024-01-25)
- fix: Prevent popup from closing when combobox item is clicked (#2524) (@mannycarrera4, manuel.carrera) Prevents popup or dialog from closing when a combobox menu item is selected.
v9.1.35 (2024-01-23)
v9.1.35 (2024-01-23)
- fix: Prevent popup from closing when combobox item is clicked (#2524) (@mannycarrera4, manuel.carrera) Prevents popup or dialog from closing when a combobox menu item is selected.
v10.3.0 (2024-01-18)
v10.2.5 (2024-01-09)
- fix: Fix stencil types to accept a value as CSS variables (#2509) (@RayRedGoose)
v10.2.4 (2024-01-08)
- fix: Fix TS error for boolean modifiers in compound stencils styles (#2507) (@RayRedGoose)
v10.2.3 (2024-01-05)
- ci: Update reviewer-lottery.yml (#2503) (@mannycarrera4)
- chore: Remove ESLint warning for @emotion/css (#2505) (@alanbsmith)
v10.2.2 (2024-01-05)
- fix: Move styling to its own section (#2498) (@mannycarrera4, manuel.carrera)
v10.2.1 (2023-12-21)
- fix: Default createStyles vars to empty object (#2488) (@NicholasBoll)
v10.2.0 (2023-12-19)
v10.1.4 (2023-12-19)
- fix: Forward branding CSS variables through portals (#2482) (@NicholasBoll)
v10.1.3 (2023-12-19)
- fix: Fixed getFirstFocusableElement to recognize RadioGroup (#2470) (@thunguyen19)
v9.1.34 (2023-12-18)
- fix: Fixed getFirstFocusableElement to recognize RadioGroup (#2470) (@thunguyen19)
v10.1.2 (2023-12-13)
- fix: Make the style transform Emotion safe (#2468) (@NicholasBoll)
v10.1.1 (2023-12-13)
v10.1.0 (2023-12-13)
v10.0.29 (2023-12-12)
- fix: Extend CSSObject types to support CSS variables (#2462) (@alanbsmith)
v10.0.28 (2023-12-12)
- fix: OverflowTab does not render when no tab is selected (#2448) (@thunguyen19)
v9.1.33 (2023-12-11)
- fix: OverflowTab does not render when no tab is selected (#2448) (@thunguyen19)
v10.0.27 (2023-12-11)
v10.0.26 (2023-12-08)
- fix: Remove console.log (#2451) (@michaelhabibi)
v10.0.25 (2023-12-07)
- fix: Fix forwarding of the style attribute (#2453) (@NicholasBoll)
v10.0.24 (2023-12-07)
- fix: Fix accessibility tooltip bug (#2446) (@RayRedGoose)
v10.0.23 (2023-12-06)
- fix: Add button vars to pills to overwrite styles (#2432) (@mannycarrera4, manuel.carrera)
v9.1.32 (2023-12-05)
- fix: Fix accessibility tooltip bug (#2446) (@RayRedGoose)
v10.0.22 (2023-12-04)
- fix: FormField fix alignment for required asterisk (#2404) (@thunguyen19, manuel.carrera)
We've wrapped the contents of the
label
element including the asterisk in aspan
. The asterisk now is at the end of thelabel
.
v9.1.31 (2023-12-04)
- fix: FormField fix alignment for required asterisk (#2404) (@thunguyen19, manuel.carrera)
We've wrapped the contents of the
label
element including the asterisk in aspan
. The asterisk now is at the end of thelabel
.
v10.0.21 (2023-12-01)
- fix: Fix runtime style merging in handleCsProps (#2439) (@NicholasBoll)
v10.0.20 (2023-12-01)
- fix(preview): Fix multiline asterisk on preview form field (#2436) (@vibdev)
We removed a wrapping flex element so elemProps is now spread directly on the
<label>
element and the asterisk is at the end of the label.
v10.0.19 (2023-11-30)
- fix: Fixes popperOptions rerendering bug (#2437) (@alanbsmith)
v10.0.18 (2023-11-28)
- fix: Check for undefined error in radio group (#2427) (@mannycarrera4, manuel.carrera)
- fix: Quiet InputProvider logs for SSR (#2431) (@anicholls)
v9.1.30 (2023-11-28)
- fix: Quiet InputProvider logs for SSR (#2431) (@anicholls)
v10.0.17 (2023-11-28)
- fix: Table in preview export fix (#2419) (@josh-bagwell)
v9.1.29 (2023-11-21)
- fix: Check for undefined error in radio group (#2427) (@mannycarrera4, manuel.carrera)
v10.0.16 (2023-11-21)
v10.0.15 (2023-11-21)
- fix(select): Set initial selected id to the text value (#2421) (@mannycarrera4, manuel.carrera)
v9.1.28 (2023-11-20)
- fix: Table in preview export fix (#2419) (@josh-bagwell)
v10.0.14 (2023-11-17)
- fix: Update cs prop to create a class instead of style (#2408) (@NicholasBoll)
v10.0.13 (2023-11-17)
v10.0.12 (2023-11-17)
- docs: Modal example a11y polish (#2360) (@williamjstanton, @josh-bagwell)
v10.0.11 (2023-11-16)
- fix(button): Allow colors to override TertiaryButton (#2411) (@NicholasBoll)
v10.0.10 (2023-11-16)
- test: Skip autocomplete test for now (#2407) (@mannycarrera4, manuel.carrera)
v10.0.9 (2023-11-16)
v10.0.8 (2023-11-16)
- docs: Update Token docs (#2383) (@alanbsmith, @mannycarrera4)
v10.0.7 (2023-11-16)
- fix: Prevent modal from overlapping on mobile devices (#2385) (@mannycarrera4, manuel.carrera)
v9.1.27 (2023-11-14)
- fix: Prevent modal from overlapping on mobile devices (#2385) (@mannycarrera4, manuel.carrera)
v10.0.6 (2023-11-10)
-
fix: Fix Style prop merging with cs prop (#2379) (@NicholasBoll) This fix adds Emotion's
CacheProvider
to theCanvasProvider
. Any application that uses theCacheProvider
will not see this fix within the render tree of the customCacheProvider
. For this fix to be applied everywhere, consider removing any use of Emotion'sCacheProvider
.Some instances of use of
CacheProvider
were to set thecompat
mode of the cache. You can now do the following instead and not useCacheProvider
at all:cache.compat = true
Also note this fix will break automatic server side rendering because style merging is not creating server-side only
style
tags. SincecreateStyles
isn't compatible with automatic server side rendering, the merge style fix isn't compatible either. Use Emotion's solution for server-side@emotion/css
: https://emotion.sh/docs/ssr#when-using-emotioncssThe only modification is to import
cache
from@emotion/css
instead of creating a new cache. Their documentation doesn't work:- import createCache from '@emotion/cache' - - const key = 'custom' - const cache = createCache({ key }) + import {cache} from '@emotion/css'; + const {key} = cache
v10.0.5 (2023-11-09)
- docs: Update README (#2369) (@aditya7302)
v10.0.4 (2023-11-08)
- fix(select): Fix circular import statement (#2386) (@mannycarrera4, manuel.carrera)
v10.0.3 (2023-11-03)
v10.0.2 (2023-10-31)
- fix: Pass colors prop to basebutton and button (#2381) (@mannycarrera4, manuel.carrera)
v10.0.1 (2023-10-30)
- chore: Update Canvas dependencies (#2377) (@alanbsmith)
v10.0.0 (2023-10-25)
-
#2229 There is the possibility of breaking changes if users are changing the default browser font size from
16px
to another value.You can convert a
px
value to arem
value by dividing yourpx
value by16
(if your default browser font size hasn't been updated, the value will be16
).For example:
Equation rem Value 16px/16px
1rem
32px/16px
2rem
8px/16px
0.5rem
-
#2247 To move from the Menu component in Preview to the Menu compound component in Main, please read this discussion.
Also, see this codesandbox that shows the differences between DeprecatedMenu and the Menu compound component.
-
#2318 We have removed the useBanner hook, the only function of which was to add
aria-labelledby
andaria-describedby
references to the text inside of the Banner. This was not required for accessibility, and browsers can compute thename
of the Banner from the text given inside. -
#2285 - We refactored how we styled Buttons to use our
createStyles
utility function. We don't anticipate this as a breaking change but, there may be slight changes to visual test.- Icons will no longer be "filled" on toggle. This decision was made to not have the existing icon look different in the toggled state from default state.
PrimaryButton
: On theinverse
variant, the focus ring is now consistent with the default variant ofPrimaryButton
. This will visually change theinverse
variant to have a larger appearance when focused.colors
will no longer support thefocusRing
option:import {focusRing} from '@workday/canvas-kit-react/common'; // before <PrimaryButton colors={{ // other colors focus: { // other colors focusRing: focusRing(/* options */) } }} /> // after <PrimaryButton colors={{ // other colors focus: { // other colors } }} css={{ ':focus-visible': focusRing(/* options */) }} />;
-
#2309 - We've converted
Select
in Main into a compound component. This component matches our pattern of providing access to lower-level elements and allows for more flexibility.- The spacing between menu and its target element will increase from 0px to 4px
- We've also deprecated the
Select
in Preview. You may still consume this component but suggest migrating over to the one in Main.
-
#2368 The CSS kit is being removed in v10 and will come back later as derived from our React packages.
- feat: Set initial v10 codemod (#2239) (@RayRedGoose)
- feat: Update space and depth tokens to rem (#2229) (@josh-bagwell, @alanbsmith, @bstanton678, @mannycarrera4)
Updated
depth
andspace
token values to userem
instead ofpx
. - feat: Remove Menu Preview (#2247) (@josh-bagwell) This will not involve a codemod since the API has too many differences between the component being removed in Preview and the component in Main.
- fix: Changing ARIA role to switch (#2292) (@williamjstanton, @alanbsmith)
- refactor: Removing aria attributes from Banner component (#2318) (@williamjstanton, @mannycarrera4, manuel.carrera)
- fix: Revert removal of Menu in Preview (#2335) (@mannycarrera4, manuel.carrera) We're going to continue supporting the Menu in Preview until we implement grouped menu items (with virtualization) for the Menu in Main.
- feat: Deprecate InputIconContainer (#2332) (@dgubko, @mannycarrera4, manuel.carrera)
InputIconContainer
has been deprecated, because it does not handle bidirectionally or icons at the start of an input. Please useInputGroup
instead. - feat: Deprecated Table in Main (#2344) (@thunguyen19, @mannycarrera4)
- feat: Add CSS styling function (#2273) (@NicholasBoll) This change introduces an intermediate step towards static styling. The style function takes in statically analyzable style definitions with modifiers, variables, and static styles to create styling to be used in components. It can later be interpreted at build time to create CSS packages.
- chore: Refactored Button styles to use
createStyles
utility (#2285) (@josh-bagwell) - feat: Convert Select from Main into a compound component (#2309) (@mannycarrera4, manuel.carrera, @RayRedGoose, @jamesfan)
- chore: Remove CSS packages (#2368) (@NicholasBoll)
- fix: Set a default theme in canvas provider (#2371) (@mannycarrera4, manuel.carrera)
- chore(button): Add CSS Variable fallbacks (#2372) (@NicholasBoll)
- chore: Adding v10 upgrade guide (#2237) (@jaclynjessup)
- docs: Fix Select examples (#2370) (@jamesfan)
- docs: Clean up v10 Upgrade Guide (#2358) (@jamesfan, manuel.carrera, @NicholasBoll)
- chore: Make the styling package publish (@NicholasBoll)
- fix: Fix version numbers (#2373) (@NicholasBoll)
- feat: Add static style transform (#2374) (@NicholasBoll)
- fix: Fix commonjs styling transform (#2375) (@NicholasBoll)
- fix: Revert spaceNumber values to pixel values and deprecate it (#2345) (@mannycarrera4, manuel.carrera, @josh-bagwell)
We've deprecated
spaceNumbers
and encourage users to use our rem basedspace
tokens.
v9.1.26 (2023-10-20)
- fix: Force PrimaryButton text color in all states (#2364) (@anicholls)
v9.1.25 (2023-10-20)
- fix(collection): Set correct aria-setsize in virtualized collections (#2362) (@NicholasBoll)
v8.6.25 (2023-10-20)
- fix(collection): Set correct aria-setsize in virtualized collections (#2362) (@NicholasBoll)
v9.1.24 (2023-10-16)
v9.1.23 (2023-10-11)
- fix(popup): Include document.body in useReturnFocus bound check (#2351) (@Ebin-Benny, @ebin-benny-wd)
v8.6.24 (2023-10-11)
- fix(popup): Include document.body in useReturnFocus bound check (#2351) (@Ebin-Benny, @ebin-benny-wd)
v9.1.22 (2023-10-02)
- fix: Add jsdoc element in backticks for Avatar (#2350) (@mannycarrera4, manuel.carrera)
v8.6.23 (2023-10-02)
- fix: Add jsdoc element in backticks for Avatar (#2350) (@mannycarrera4, manuel.carrera)
v9.1.21 (2023-09-26)
- docs: Update the docParser to prevent max call stack errors (#2342) (@NicholasBoll)
- docs: Add info to maintaining doc about deprecations (#2339) (@mannycarrera4, manuel.carrera, @jamesfan)
v9.1.20 (2023-09-20)
- fix(Avatar): Support for Non-Square Input Image for Avatar component (#2337) (@thunguyen19, @mannycarrera4)
v8.6.22 (2023-09-20)
- fix(Avatar): Support for Non-Square Input Image for Avatar component (#2337) (@thunguyen19, @mannycarrera4)
v9.1.19 (2023-09-18)
- docs: Render type parameters in external SymbolDoc symbols (#2340) (@NicholasBoll)
- ci: Remove non-collaborator from reviewer lottery (@NicholasBoll)
v8.6.21 (2023-09-18)
- docs: Render type parameters in external SymbolDoc symbols (#2340) (@NicholasBoll)
v9.1.18 (2023-09-06)
- fix(popup): Allow SVG elements in focus calculations (#2331) (@NicholasBoll)
v8.6.20 (2023-09-06)
- fix(popup): Allow SVG elements in focus calculations (#2331) (@NicholasBoll)
v9.1.17 (2023-09-06)
- fix(color-picker): Disable submit button when custom hex is invalid (#2328) (@kennethjang34)
v9.1.16 (2023-08-29)
- fix: Accessibility enhancements to preview table examples (#2321) (@williamjstanton)
v9.1.15 (2023-08-29)
v9.1.14 (2023-08-24)
- fix(Tabs): Fix tab item icon accent styles (#2323) (@alanbsmith, emma.okeeffe)
v8.6.19 (2023-08-24)
- fix(Tabs): Fix tab item icon accent styles (#2323) (@alanbsmith, emma.okeeffe)
v9.1.13 (2023-08-14)
- fix: Table cell empty fix (#2313) (@kennethjang34)
v9.1.12 (2023-08-11)
v9.1.11 (2023-08-04)
- fix: Fix color util typo (#2312) (@alanbsmith)
v9.1.10 (2023-08-03)
- fix: Breadcrumbs first item gets cut-off when two items in array (#2308) (@thelightbringer, Abhijit Misra)
v8.6.18 (2023-08-03)
- fix: Breadcrumbs first item gets cut-off when two items in array (#2308) (@thelightbringer, Abhijit Misra)
v9.1.9 (2023-08-01)
- fix(preview): Fixes undefined id and aria-describedby in TextInput (#2305) (@vibdev, @mannycarrera4)
v9.1.8 (2023-07-31)
v9.1.7 (2023-07-27)
- fix: Adding landmark regions to Action Bar examples (#2291) (@bstanton678)
v9.1.6 (2023-07-25)
- fix: Polishing the expandable container component (#2293) (@bstanton678) Update aria attributes on example for expandable container for better accessibility and remove alt text on avatar.
v9.1.5 (2023-07-21)
v9.1.4 (2023-07-19)
- chore: Ditch a few console logs from useActionBarModel that can clutter up test logs (#2295) (@ahayes91)
v9.1.3 (2023-07-18)
- docs: Update w3.org links (#2287) (@willklein)
v9.1.2 (2023-07-17)
- fix(combobox): Do not clear the input when no item is selected (#2289) (@NicholasBoll)
v9.1.1 (2023-07-14)
- fix: Add ids to docs headings (#2284) (@mannycarrera4, manuel.carrera, @jamesfan)
v9.1.0 (2023-07-12)
v9.0.21 (2023-07-07)
v9.0.20 (2023-06-30)
- fix: Fix for useFocusRedirect (#2258) (@pablobirukov, Pavel Birukov, @mannycarrera4)
useFocusRedirect
handles focus leave from radio group within Popup
v9.0.19 (2023-06-29)
- fix: Update status indicator icon color on hover (#2278) (@mannycarrera4, manuel.carrera)
v8.6.17 (2023-06-29)
- fix: Update status indicator icon color on hover (#2278) (@mannycarrera4, manuel.carrera)
v9.0.18 (2023-06-27)
- fix: Move spreading of CSS styles to the top of a style block (#2244) (@thunguyen19)
v9.0.17 (2023-06-26)
- docs: Update comments about Select options prop to match actual use (#2271) (@JeffreyRuder)
v9.0.16 (2023-06-20)
- docs: Fixed Doc Parser Naming Collision (#2261) (@josh-bagwell)
v9.0.15 (2023-06-16)
- docs: Add codemod preamble (#2252) (@alanbsmith, @jamesfan)
v9.0.14 (2023-06-15)
v9.0.13 (2023-06-14)
- fix: Popper placements export in fallbackPlacements (#2255) (@NicholasBoll)
v8.6.16 (2023-06-14)
- fix: Popper placements export in fallbackPlacements (#2255) (@NicholasBoll)
v9.0.12 (2023-06-14)
- fix: Change Popup imports to prevent circular dependencies (#2251) (@MarcoASedano, marco.sedano)
- fix(collection): Default
T
toany
to allow overriding children types (#2254) (@NicholasBoll)
v8.6.15 (2023-06-14)
- fix(collection): Default
T
toany
to allow overriding children types (#2254) (@NicholasBoll)
v8.6.14 (2023-06-12)
- fix: Change Popup imports to prevent circular dependencies (#2251) (@MarcoASedano, marco.sedano)
v9.0.11 (2023-06-12)
v8.6.13 (2023-06-12)
v9.0.10 (2023-06-07)
- fix: Fix Popper imports (#2245) (@alanbsmith)
v8.6.12 (2023-06-07)
- fix: Fix Popper imports (#2245) (@alanbsmith)
v9.0.9 (2023-06-05)
- docs: Add Media Modal to examples (#2226) (@dgubko)
- fix: Add custom fallback placements modifier (#2200) (@clarehuang, clare.huang, @NicholasBoll)
This fix adds additional fallback placements to prevent popups from rendering off screen. This behavior is different than before and might result in a popup rendering in an unexpected position.
fallbackPlacements
was added as a prop toPopper
andPopup.Popper
to allow you to override the default fallback placements (which are top/right/bottom/left in that order). This shouldn't be considered a breaking change unless your popup position needs to be restricted.
v8.6.11 (2023-06-05)
- fix: Add custom fallback placements modifier (#2200) (@clarehuang, clare.huang, @NicholasBoll)
This fix adds additional fallback placements to prevent popups from rendering off screen. This behavior is different than before and might result in a popup rendering in an unexpected position.
fallbackPlacements
was added as a prop toPopper
andPopup.Popper
to allow you to override the default fallback placements (which are top/right/bottom/left in that order). This shouldn't be considered a breaking change unless your popup position needs to be restricted.
v9.0.8 (2023-06-01)
- fix: Replace overflow on Table (#2240) (@dgubko) We replaced overflow: scroll with overflow: auto to hide scrollbars unless needed. It would allow Table to not have scrollbars unless needed.
v8.6.10 (2023-05-25)
v9.0.7 (2023-05-25)
- fix: Fixing Alert and Error radio button examples (#2197) (@bstanton678)
v9.0.6 (2023-05-24)
- fix: Fixing focus blur problem on basic radio group example (#2198) (@bstanton678, @mannycarrera4)
v9.0.5 (2023-05-23)
- ci: Support fast-forward-merges [skip-release] (#2232) (@NicholasBoll)
v8.6.9 (2023-05-23)
- ci: Support fast-forward-merges [skip-release] (#2232) (@NicholasBoll)
v9.0.4 (2023-05-23)
- fix: Associating FormField hint while not in error state (#2199) (@bstanton678)
v9.0.3 (2023-05-19)
- fix: Add Side Panel with Navigation Example (#2106) (@myvuuu, manuel.carrera, @mannycarrera4)
v9.0.2 (2023-05-18)
- fix(collection): Fix SSR focus and multiple tab stops (#2223) (@NicholasBoll)
v8.6.8 (2023-05-17)
- fix(collection): Fix SSR focus and multiple tab stops (#2223) (@NicholasBoll)
v9.0.1 (2023-05-17)
- fix: Fix Checkbox label padding to support RTL (#2216) (@alanbsmith, Alex Nicholls)
- fix: Focusable elements not always focused (#2204) (@TylerCharlesworth, @NicholasBoll)
v8.6.7 (2023-05-17)
- fix: Focusable elements not always focused (#2204) (@TylerCharlesworth, @NicholasBoll)
v8.6.6 (2023-05-12)
- fix: Fix Checkbox label padding to support RTL (#2216) (@alanbsmith, Alex Nicholls)
v9.0.0 (2023-05-10)
- #1970 The
Drawer
component was hard deprecated and fully removed from Canvas Kit. Please replace the deprecatedDrawer
component withSidePanel
from the Preview package. - #1978 If you expected a button to submit by default, you'll have to add the attribute
type="submit"
in order to submit. - #2018 We have hard deprecated the Layout and Column components and they have been fully removed from our codebase in v9. We recommend using the
Grid
component as an alternative. - #2012 We've hard deprecated the
Stack
,HStack
andVStack
components. We recommend using theFlex
component as a replacement and replacing thespacing
prop with thegap
prop. You can also runnpx @workday/canvas-kit-codemod softDeprecate/Stack
as well. - #2034 - Lodash is no longer required for Canvas kit
- memoized is removed from FocusRingOptions
- #2044 If you're using Toast from Labs already, the package will be updated to point to
@workday/canvas-kit-react/toast
. If you're using the Toast from Main, we've replaced it with the compound Toast from labs.v9
codemod should handle these changes for you or you can reference our v9 upgrade guide for more details. - #2120 - We've removed
getCanvasTheme
anduseCanvasTheme
.- Use
useTheme
when you have aCanvasProvider
or you're inside of a functional component - Use
getTheme
when inside a styled component and you need access to theme.
- Use
- #2180 - Removed
composeModelHooks
from@workday/canvas-kit-react/common
- #2190 The type signature of
composeHooks
was changed to give more accurate return prop types. This may cause issues with Typescript if your code expected the incorrect return types. - #2194 The signature of the
NavigationManaget
andNavigationRequestor
was changed to use numeric indexes instead of string identifiers. This will only break for those who created a custom navigation manager.
- test: Update Toast codemod to transform before promote (#2125) (@mannycarrera4, manuel.carrera)
- fix: Stack Codemod Fix (#2127) (@josh-bagwell)
-
chore: Hard deprecate Drawer component (#1970) (@RayRedGoose, @mannycarrera4)
-
fix: Update button type for all canvas kit buttons (#1978) (@mannycarrera4, manuel.carrera) We've changed the default button type for all of our buttons from
submit
tobutton
-
chore: Hard deprecate Layout and Column components (#2018) (@RayRedGoose)
-
feat: Remove Stack, HStack and VStack (#2012) (@josh-bagwell)
-
feat: Promote labs Toast to Main (#2044) (@mannycarrera4, manuel.carrera, @RayRedGoose) We've promoted Toast from labs to the main package. This is a replacement from what was in the main package to our compound component version in labs.
-
feat: Update useTheme hook (#2120) (@RayRedGoose, @mannycarrera4)
-
feat: Tables Component (#2118) (@josh-bagwell) We've built a new
Table
compound component that will have more flexibility and has access to lower level components like Grid and Flex. -
feat: Add 'as' method with a stable reference to all component utilities (#2166) (@NicholasBoll)
-
fix: Only pass correct model to model components when using 'as' (#2168) (@NicholasBoll, @josh-bagwell)
-
chore: Remove unused composeModelHooks function (#2180) (@NicholasBoll)
-
feat: Add more layout examples (#2178) (@RayRedGoose)
-
feat(text-input): Add InputGroup component (#2182) (@NicholasBoll)
InputGroup
will replaceInputIconContainer
.InputIconContainer
does not handle bidirectionality or icons at the start of an input.InputIconContainer
will be deprecated and later removed in future versions.Before:
<InputIconContainer icon={<SystemIcon icon={exclamationCircleIcon} />} />
After
<InputGroup> <InputGroup.Input /> <InputGroup.InnerEnd> <SystemIcon icon={exclamationCircleIcon} /> </InputGroup.InnerEnd> </InputGroup>
-
fix: Return the correct props from composeHooks (#2190) (@NicholasBoll, @alanbsmith)
-
chore: Simplify composeHooks function (#2191) (@NicholasBoll)
-
chore: Rename Combobox.spec to ComboboxLabs.spec (#2193) (@NicholasBoll)
-
chore: Extract keyUtils to be used in other key-based collection hooks (#2192) (@NicholasBoll)
-
chore: Use index instead of identifier for cursor navigation (#2194) (@NicholasBoll)
-
feat(collection): Add support for string items (#2195) (@NicholasBoll, @alanbsmith)
- chore: Remove lodash dependency from canvas-kit (#2034) (@jaslloyd, @NicholasBoll)
- docs: Revert removal of Layout section (#2094) (@RayRedGoose)
- fix: Clean up toast documentation (#2108) (@mannycarrera4, manuel.carrera, @jamesfan)
- docs: Clean up v9 Upgrade Guide (#2132) (@jamesfan, manuel.carrera)
- docs: Fix Preview Table docs (#2159) (@jamesfan)
- fix: Removed Table Container Example (#2164) (@josh-bagwell)
- fix: Replaced Soft and Hard Deprecation Naming (#2165) (@josh-bagwell, manuel.carrera)
Changed definition of
soft-deprecation
andhard-deprecation
todeprecation/deprecate
andremoval/remove
. - feat: Dialog Update to MDX (#2184) (@josh-bagwell, @jamesfan)
- chore: Add initial V9 codemod (#2021) (@alanbsmith, @willklein)
- test: Modify visual testing (#2028) (@RayRedGoose)
- chore: Update the TSconfig target to es2019 (#2135) (@NicholasBoll)
We're updating our build target from
es5
toes2019
. This changes the syntax generated by allowing syntax supported up toes2019
. This may impact older environments that do not supportes2019
syntax like older versions of nodejs. This could also impact older AST build parsers that don't understand newer JavasScript syntax. This could include old versions of Webpack or outdated babel parsers for Jest. If you see a message like "Syntax Error", you may have to upgrade your bundler or babel parser. - chore: Add option to skip docgen (#2176) (@NicholasBoll)
- fix: Modify depth values to improve visual design (#2091) (@mannycarrera4, manuel.carrera)
We've updated our
depth
tokens to be more subtle rather than harsh. Any component using these depth tokens will be updated, includingCard, Menu, Toast, Box, Dialog, Popup
.
- chore: Move useThemedRing to main package and deprecate useThemeRTL (#2119) (@mannycarrera4, manuel.carrera)
- We've promoted
useThemedRing
to our Main package. - We've deprecated
useThemeRTL
from our Labs package. You may still use this utility but we encourage consumers to use CSS logical properties.
- We've promoted
v8.6.5 (2023-05-10)
- chore: Add actions for major release (#2211) (@RayRedGoose, @mannycarrera4)
v8.6.4 (2023-05-01)
- #2173 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.
- fix: Basic Grid Example with landmark regions for screen readers (#2173) (@bstanton678) 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.
v8.6.3 (2023-05-01)
- chore: Upgrade fsevents to a non-vulnerable version (#2181) (@NicholasBoll)
v8.6.2 (2023-04-27)
- fix: BaseButton and ButtonLabelIcon extend SystemIconProps (#2157) (@thunguyen19)
v7.4.12 (2023-04-27)
- fix: BaseButton and ButtonLabelIcon extend SystemIconProps (#2157) (@thunguyen19)
v7.4.11 (2023-04-26)
v8.6.1 (2023-04-26)
- fix(menu): Menu does not close with aria-disabled=true (#2128) (@NicholasBoll, manuel.carrera)
- fix(form-field): Forward required prop to input (#2154) (@NicholasBoll)
- fix: Add react-dom peer-dep to main package (#2162) (@alanbsmith)
- fix: Update release action to support node 16 (#2170) (@RayRedGoose)
v7.4.11 (2023-04-26)
- fix(menu): Menu does not close with aria-disabled=true (#2128) (@NicholasBoll, manuel.carrera)
- fix(form-field): Forward required prop to input (#2154) (@NicholasBoll)
- fix: Add react-dom peer-dep to main package (#2162) (@alanbsmith)
- fix: Update release action to support node 16 (#2170) (@RayRedGoose)
v8.6.0 (2023-04-20)
- feat: Added inset to PositionStyleProps (#2129) (@thunguyen19)
- feat: Allow Icon components to use color tokens (#2097) (@thunguyen19) 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.
- ci: Fix minor release action (@RayRedGoose)
v8.5.13 (2023-04-17)
- fix: PopupCard maxHeight calc function (#2130) (@thunguyen19, @alanbsmith)
v8.5.12 (2023-04-14)
- fix(menu): Fix MenuItem icon spacing (#2145) (@alanbsmith, @mannycarrera4, manuel.carrera)
Updated spacing between icon and text in our menus from
8px
to16px
to match our design specs.
v8.5.11 (2023-04-12)
- ci: Replace install steps by composite actions (#2146) (@RayRedGoose)
v8.5.10 (2023-04-11)
- fix(codemod): Pass codemod options to jscodeshift script (#2137) (@alanbsmith)
- chore: Upgrade to Node 16 (#2139) (@alanbsmith)
- fix: Update release actions to use node 16 (#2142) (@RayRedGoose)
v8.5.9 (2023-03-30)
-
fix: Extract the correct ref with a styled component (#2122) (@NicholasBoll) The following is now allowed:
const StyledComponent = styled('button')({}) const MyComponnent = createComponent(StyledComponent)({ Component(elemProps, ref, Element) { return <Box as={Element} ref={ref} {...elemProps} /> } })
v8.5.8 (2023-03-27)
- docs: Added doc for Delete Button story (#2113) (@thunguyen19)
v8.5.7 (2023-03-23)
- chore: Update release workflows (#2102) (@RayRedGoose)
v8.5.6 (2023-03-21)
- fix(collection): Correctly use custom getId (#2096) (@NicholasBoll)
An example was incorrectly using the wrong id. Note that
state.items
in a dynamic collection wraps your provided items so there is a.id
property onstate.items
.model.getId
is no longer needed and will be removed in the future to avoid confusion.
v7.4.10 (2023-03-21)
- fix(collection): Correctly use custom getId (#2096) (@NicholasBoll)
An example was incorrectly using the wrong id. Note that
state.items
in a dynamic collection wraps your provided items so there is a.id
property onstate.items
.model.getId
is no longer needed and will be removed in the future to avoid confusion.
v8.5.5 (2023-03-16)
- docs: Move Box, Flex, and Grid to a new Layout Folder in Storybook (#2078) (@thunguyen19)
v8.5.4 (2023-03-15)
- docs: Filter out model props in container components (#2085) (@NicholasBoll)
v8.5.3 (2023-03-13)
- docs: Add breadcrumbs to symbol doc dialog for nested symbols (#2072) (@mannycarrera4, manuel.carrera, @NicholasBoll)
v8.5.2 (2023-03-09)
- ci: Add logging to the merge step in forward-merge (@NicholasBoll)
v8.5.1 (2023-03-09)
- fix: Remove style attribute on Expandable Title (#2074) (@vibdev)
Not explicitly a breaking change for
Expandable.Title
, but does alter the specificity for fontFamily, fontSize, lineHeight, fontWeight, color, and textAlign.
- chore: Update browserlist config for eslint compat/compat (#2075) (@NicholasBoll)
v8.5.0 (2023-03-08)
- feat: Allow SystemIcon to use token colors (#1988) (@thunguyen19) Allow SystemIcon to use token colors for any color related props.
- fix: Update modal padding to match mobile specs (#2008) (@seans-cummin, @mannycarrera4)
- Updating padding from 16px to 24px for smaller screen sizes, bringing the total padding between edge and content to 24px.
- Reduced padding between title and body from 16px to 8px for smaller screen sizes.
- docs: Add custom docgen parsing (#1962) (@NicholasBoll)
- docs: Ignore dist directories when documenting symbols (@NicholasBoll)
v8.4.13 (2023-03-07)
- fix: Allow overriding aria-describedby in useTooltip (#2064) (@EugeneCib, @NicholasBoll)
- ci: Block fontawesome in Cypress tests to prevent failures (@NicholasBoll)
- ci: Add logging to the merge step in forward-merge (@NicholasBoll)
v8.4.12 (2023-03-01)
v8.4.11 (2023-02-28)
- ci: Changing assign reviewer action to a lottery system (#2039) (@jaclynjessup)
- ci: Updating project board action (#2026) (@jaclynjessup)
- ci: Fix to invalid yml error (#2040) (@jaclynjessup)
- ci: Updates to lottery and project actions (#2054) (@jaclynjessup)
- test: Update tooltip testing story to render properly (#2047) (@mannycarrera4, manuel.carrera)
v7.4.9 (2023-02-24)
- test: Update tooltip testing story to render properly (#2047) (@mannycarrera4, manuel.carrera)
v8.4.10 (2023-02-14)
- fix: Fixed an issue with codemod not recognizing VStack or HStack (#2036) (@josh-bagwell)
- chore: Adding step to add label for PR review (#2027) (@jaclynjessup)
- ci: Adding action to auto assign PR reviewer on label (#2031) (@jaclynjessup)
v8.4.9 (2023-02-07)
- docs: Add docs on model hooks and create utilities (#1881) (@mannycarrera4, manuel.carrera, @NicholasBoll) To better support our consumers, we're adding documentation on our Compound Component utilities and hooks. You can find the docs under Hooks and Utilities -> Compound Components
v8.4.8 (2023-02-07)
- fix: Allow overriding of return focus when closing a popup (#1991) (@christine-m, christine.mullins)
v7.4.8 (2023-02-07)
- fix: Allow overriding of return focus when closing a popup (#1991) (@christine-m, christine.mullins)
v8.4.7 (2023-02-07)
- docs: Cards, adding notice under 'as' usage (#2000) (@bstanton678, william.stanton, @myvuuu, @mannycarrera4, manuel.carrera)
v8.4.6 (2023-02-06)
- fix: Update broken link in CONTRIBUTING.md (#2019) (@thunguyen19)
v8.4.5 (2023-02-03)
- docs: Fix Expandable prop tables (#2016) (@alanbsmith)
v8.4.4 (2023-02-01)
- test: Increase font delay to make chromatic happy (#1996) (@mannycarrera4, manuel.carrera)
v8.4.3 (2023-02-01)
v8.4.2 (2023-01-30)
- fix: Update to soft dep stack codemod for styled component (#2007) (@josh-bagwell)
v8.4.1 (2023-01-26)
v8.4.0 (2023-01-25)
- feat: Soft Deprecate Stack (#1981) (@josh-bagwell)
v8.3.12 (2023-01-24)
- fix: Radio button navigation does not stay within its form (#1995) (@thunguyen19)
v8.3.11 (2023-01-17)
- fix(tabs): Use mask image to display fade effect on tabs (#1705) (@anishatulai, Anisha Tulai)
v8.3.10 (2023-01-13)
- docs(TextArea): Update installation package name (#1987) (@roydelgado)
v8.3.9 (2023-01-13)
- chore: Fix issue with changing wrong Layout (#1986) (@RayRedGoose)
v8.3.8 (2023-01-10)
- fix: Remove react sub folder for form field (#1979) (@mannycarrera4, manuel.carrera)
v8.3.7 (2023-01-10)
- fix: Update links on welcome and brand logo (#1976) (@mannycarrera4, manuel.carrera)
v8.3.6 (2023-01-09)
- fix: Storybook sidebar highlight styling (#1975) (@jaclynjessup)
v8.3.5 (2023-01-09)
- chore: Re organize storybook (#1943) (@mannycarrera4, manuel.carrera, @jaclynjessup) We've updated our categories and organization on storybook to better surface information.
v8.3.4 (2023-01-09)
- test(tooltip): Add delay to fix flaky placement tests on tooltips (#1968) (@mannycarrera4, manuel.carrera)
v7.4.7 (2023-01-06)
- test(tooltip): Add delay to fix flaky placement tests on tooltips (#1968) (@mannycarrera4, manuel.carrera)
v8.3.3 (2022-12-21)
- docs: Add Pagination responsive range example (#1966) (@alanbsmith, Will Klein)
v8.3.2 (2022-12-19)
- fix: Set Pagination GoTo TextInput to use current page as initial value (#1930) (@alanbsmith, manuel.carrera)
v8.3.1 (2022-12-16)
- chore: Remove conventional-recommended-bump from release.yml (#1961) (@alanbsmith)
- chore: Remove @emotion/jest (#1957) (@NicholasBoll)
- chore: Remove question template and dead links (#1958) (@jaclynjessup)
v8.3.0 (2022-12-09)
-
fix: Fix Expandable exports and types (#1953) (@alanbsmith)
useExpandableModel
wasn't properly exported with the other hooks. It's been moved into the/hooks
directory and exported from there. If you were importing this hook fromdist
, you'll need to update the import.// before import { useExpandableModel } from "@workday/canvas-kit-labs-react/dist/es6/expandable/lib/useExpandableModel"; // after import { useExpandableModel } from "@workday/canvas-kit-labs-react/expandable";
v7.4.6 (2022-12-09)
-
fix: Fix Expandable exports and types (#1953) (@alanbsmith)
useExpandableModel
wasn't properly exported with the other hooks. It's been moved into the/hooks
directory and exported from there. If you were importing this hook fromdist
, you'll need to update the import.// before import { useExpandableModel } from "@workday/canvas-kit-labs-react/dist/es6/expandable/lib/useExpandableModel"; // after import { useExpandableModel } from "@workday/canvas-kit-labs-react/expandable";
v8.2.4 (2022-12-06)
v8.2.3 (2022-12-01)
- docs: Responsive Codeblock Fix (#1937) (@josh-bagwell)
v8.2.2 (2022-11-22)
- docs: Update create compound component docs (#1883) (@NicholasBoll, @jamesfan)
v8.2.1 (2022-11-21)
- fix: Allow installing Canvas Kit with React 16.14 (#1917) (@willklein)
v8.2.0 (2022-11-18)
- fix: Made changes to docs for Tertiary button (#1923) (@mannycarrera4, @josh-bagwell)
v7.4.5 (2022-11-18)
- fix: Made changes to docs for Tertiary button (#1923) (@mannycarrera4, @josh-bagwell)
v8.1.2 (2022-11-17)
- fix: Make sure to use theme in modals (#1900) (@mannycarrera4, manuel.carrera)
v8.1.1 (2022-11-16)
- docs: Update major release documentation (#1888) (@NicholasBoll)
v8.1.0 (2022-11-14)
- fix(search-form): Enable overriding the generated labelId (#1909) (@willklein)
v7.4.4 (2022-11-14)
- fix(search-form): Enable overriding the generated labelId (#1909) (@willklein)
- ci: Attempt to fix forward-merge Chromatic (@NicholasBoll)
v8.0.9 (2022-11-09)
v8.0.8 (2022-11-08)
- fix: Security access error on
typeof localStorage
(#1902) (@NicholasBoll)
v8.0.7 (2022-11-08)
- fix(text): Update text component imports (#1906) (@RayRedGoose)
v8.0.6 (2022-11-03)
- fix: Fail gracefully if localStorage is blocked in useModalityType (#1898) (@NicholasBoll)
v8.0.5 (2022-11-03)
- fix(codemod): Fix codemod for Breadcrumbs promotion (#1895) (@RayRedGoose)
v8.0.4 (2022-11-03)
- docs: Update URL rewriting to support anchor tags (#1893) (@NicholasBoll)
v8.0.3 (2022-11-03)
- chore: Remove deadlinks, add v8 upgrade guide to README (#1891) (@jaclynjessup)
v8.0.2 (2022-11-03)
- fix(codemod): Fix promote components to testing codemod (#1890) (@alanbsmith)
v8.0.1 (2022-11-02)
-
#1636 Canvas Kit will require teams to be on version ^18.x or at least ^17.0 for backwards compatibility. To use have all React 18 features would require teams to upgrade root API, otherwise they will be ignored.
-
#1646 Some component will now have to be imported like this:
import { export1 } from "module-name";
- chore: Bump csstype to v3 and update style prop types (#1673)
We removed csstype in a previous update, but we need to add it back. I also updated the version and corrected the style prop types to match. You can read about the V3 changes here.
[category:Components]
-
feat: Added gridStyleProps to Box
-
fix: Adjusting items
-
feat: Added unit tests and chromatic tests
-
feat: Added chromatic test
-
fix: Adjusted props in UI Example
-
fix: Made adjustments per suggestions
-
chore: Updated docs with suggestions made in PR
-
fix: Adjusted UI Example for 12 columns
-
fix: Fixed docs with suggestions made
-
#1722 Some component will now have to be imported like this:
import { export1 } from "module-name";
- chore: Bump csstype to v3 and update style prop types (#1673)
We removed csstype in a previous update, but we need to add it back. I also updated the version and corrected the style prop types to match. You can read about the V3 changes here.
[category:Components]
-
feat: Added gridStyleProps to Box
-
fix: Adjusting items
-
feat: Added unit tests and chromatic tests
-
feat: Added chromatic test
-
fix: Adjusted props in UI Example
-
fix: Made adjustments per suggestions
-
chore: Updated docs with suggestions made in PR
-
fix: Adjusted UI Example for 12 columns
-
fix: Fixed docs with suggestions made
-
feat: Added token intake to specific grid props
-
fix: Added tokens to tests and added docs
-
fix: Added export for GridSpacePropsValues
-
chore: Added gridItem props to Box
-
chore: Updated grid and gridItem from comments
-
fix: Added continue on line 119 of grid util
-
fix: Made adjustment to gridSpaceStyleProps to fix visual test
-
#1747 This update soft-deprecates all exports from
canvas-kit-labs-react/drawer
,canvas-kit-preview-react/menu
andLayout
andColumn
imports fromcanvas-kit-react/layout
. 🤖 These changes are handled automatically by the codemod transform included in this PR. Please refer to the v8 upgrade guide for more information. -
#1724 -
Breadcrumbs
has been promoted and now it lives in main react packageBreadcrumbs.Nav
has been removed and replaced byBreadcrumbs
Breadcrumbs.Nav
prop ofaria-label
has been removed toBreadcrumbs
Breadcrumbs.CollapsibleList
has been renamed toBreadcrumbs.List
Breadcrumbs.ListItem
has been renamed toBreadcrumbs.Item
🤖 All the above changes can be handled by running codemod
⚠️ AsonAction
has been removed fromBreadcrumbs.Item
, it requires to change manuallyonAction
usage based on examples provided in the v8 upgrade guide.⚠️ AsBreadcrumbs.CollapsibleList
has been removed, all overflow functionality provided by this component has been removed too. Now overflow functionality is provided by List system and requires to switch toBreadcrumbsModel
manually. -
#1785 We've removed any IE11 specific code including any polyfills. This means your application will no longer run in IE11 and fail to bootstrap with an error and a white screen. Do not upgrade to this version if your application needs to support IE11.
-
#1800 -
ComponentStatesTable
,permutateProps
,StaticStates
andpropTypes
have been moved to@workday/canvas-kit-react/testing
.StaticStates
andconvertToStaticStates
have been moved from@workday/canvas-kit-react/common
to@workday/canvas-kit-react/testing
🤖 All the above changes can be handled by running codemod
-
#1863 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. -
#1861 We've updated all popup
CloseIcon
andCloseButton
to default totype=button
. We did this so these close buttons did not submit the forms unintentionally. Without this change, you have to manually addtype="button"
to these components if you wrap popup contents in aform
element. While this is a very unlikely that aCloseButton
was intentionally used as an implicit submit button, it is still a breaking change. This change effects the following components:Popup.CloseIcon
Dialog.CloseIcon
Modal.CloseIcon
Popup.CloseButton
Dialog.CloseButton
Modal.CloseButton
-
#1874
ActionBar.OverflowButton
insideActionBar.List
is replaced with anoverflowButton
prop. So, nowActionBar.List
with overflow behavior requires to pass an overflow button component as aoverflowButton
prop.<ActionBar.List overflowButton={<ActionBar.OverflowButton aria-label="More actions" />} />
🤖 This change can be handled by using codemod.
-
#1880 The
LoadingAnimation
component has been renamed toLoadingDots
and its slash import is now@workday/canvas-kit-react/loading-dots
instead of@workday/canvas-kit-react/loading-animation
.
-
fix: Remove default imports from components (#1634) (@mannycarrera4) We've updated some of our components to remove default exports. This matches what most of our component are doing.
Some component will now have to be imported like this:
import { export1 } from "module-name";
-
chore: Bump csstype to v3 and update style prop types (#1673) (@alanbsmith)
-
feat: Add Grid component (#1646) (@josh-bagwell, Manuel Carrera, Alan B Smith) We've updated some of our components to remove default exports. This matches what most of our component are doing.
-
feat(preview): Create type components (#1626) (@RayRedGoose) The next changes have been made:
- Added new
Box
component props to support font and text styles, added variant name value support tocolor
prop. - Created basic
Text
component withlevel
,size
props to set type levels andisTruncated
prop to have ellipsis overflow text. - Created specific level components:
Title
,Heading
,BodyText
andSubtext
. - Created
Label
text component.
- Added new
-
feat: Add responsive styles to Modal (#1700) (@mannycarrera4)
-
docs(layout): Improve Grid documentation (#1716) (@jamesfan, Raisa Primerova, Manuel Carrera)
-
feat: Grid Space Tokens (#1722) (@josh-bagwell, Manuel Carrera, Alan B Smith) We've updated some of our components to remove default exports. This matches what most of our component are doing.
-
fix(menu): Update CKR Menu (Main) to use depth 3 (#1768) (@RayRedGoose, Alan B Smith, Alan B Smith)
-
feat: Soft deprecation of Drawer, Menu (preview), Layout (#1747) (@RayRedGoose)
-
feat(breadcrumbs): Add List system to Breadcrumbs with promotion to main (#1724) (@RayRedGoose, @jamesfan, @alanbsmith, @mannycarrera4)
-
chore: Remove IE11 specific code (#1785) (@mannycarrera4, manuel.carrera)
-
fix: Update Modal styles on smaller screen sizes (#1815) (@mannycarrera4, manuel.carrera) On smaller screen sizes (min-width of 320px to a max-width of 767px) the follow styles change on the Modal:
- borderRadius on the
Modal.Card
has been reduced:8px
->24px
- Overall padding between the edge of the card and its contents has been reduced:
32px
->24px
- Spacing between
Moda.Heading
andModal.Body
has been reduced:24px
->16px
- borderRadius on the
-
feat: Refactor, reorganize, and expand style props (#1827) (@alanbsmith)
-
feat: Components and utilities to testing package (#1800) (@mannycarrera4, manuel.carrera, @alanbsmith)
-
fix: Add style prop doc examples to build-mdx script (#1848) (@alanbsmith)
-
feat(breadcrumbs): Update Breadcrumbs aria props, examples, and a11y guidance (#1850) (@RayRedGoose) Changes:
- Added requirement of
aria-label
fornav
element inBreadcrumbs
component. - Added requirement of
aria-label
for overflow button. - Limited overflow button render: it renders only when
overflowButtonProps
containing at leastaria-label
prop passed toBreadcrumbs.List
.
- Added requirement of
-
feat: Add
useCloseOnTargetHidden
popup hook (#1836) (@stefano-puzzuoli, @NicholasBoll) If you need a popup to close when the target element is no longer visible (useful for tooltips and dropdown menus), there's now a 'useCloseOnTargetHidden` popup hook. This will close the popup when less than 50% of the target element is visible. This hook uses an IntersectionObserver. -
feat: Add new compound status indicator (#1851) (@mannycarrera4, manuel.carrera, @NicholasBoll, @jamesfan, @willklein) We've created a compound component version of our
StatusIndicator
which you can find under ourpreview
components. This new API will allow for more composability and ergonomic API. With the new component, the default styling is to have sentenced cased text for better accessibility. -
fix: Update modal padding and event keys to match modern browsers (#1863) (@mannycarrera4, manuel.carrera) 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.
-
feat: New Segmented Control component (#1819) (@RayRedGoose, @mannycarrera4, @NicholasBoll)
-
fix: Popup close buttons no longer interfere with forms (#1861) (@NicholasBoll, @mannycarrera4)
-
refactor(preview): Remove equal size hook in SegmentedControl (#1869) (@RayRedGoose)
-
fix: Update modal padding and margin on smaller screen sizes (#1867) (@mannycarrera4, manuel.carrera)
-
refactor(action-bar): Overflow button replacement by a prop (#1874) (@RayRedGoose)
-
feat: Responsive Styles Support (#1779) (@josh-bagwell, @alanbsmith)
-
chore(loading-dots): Rename Loading Animation to be Loading Dots (#1880) (@willklein)
- chore: Upgrade to React 18 (#1636) (@RayRedGoose)
- chore: Bump Storybook to 6.5 version with react 18 support (#1655) (@RayRedGoose)
- docs: Separate Text MDX into separate MDXes (#1843) (@jamesfan)
- docs: Clean up v8 Upgrade Guide (#1788) (@jamesfan)
- docs: Add React 18 Upgrade to v8 upgrade guide (#1857) (@RayRedGoose, @mannycarrera4, @NicholasBoll, @jamesfan)
- docs: Updating Responsive Styles Support Section of V8 Guide (#1853) (@josh-bagwell)
- docs: Fix examples for Menu (Main) (#1860) (@jamesfan)
- docs: Update Segmented Control (Preview) docs (#1870) (@jamesfan, @RayRedGoose)
- chore: Removing component status page (#1886) (@jaclynjessup)
- docs: Improve Text component docs (#1840) (@alanbsmith, James Fan)
- fix(codemod): Add support for v8 param to codemod (#1787) (@jamesfan)
- ci: Attempt to fix forward-merge Chromatic (@NicholasBoll)
- ci: Add cypress version to canary builds (@NicholasBoll)
- feat: Add StyleProp types (#1868) (@alanbsmith)
- fix: Fix a model's TConfig type and add tests (#1875) (@NicholasBoll)
- chore: Deprecate old utility functions and minor type updates (#1884) (@NicholasBoll)
v7.4.3 (2022-10-31)
v7.4.2 (2022-10-25)
- ci: Add debug logging to forward merge workflow (@NicholasBoll)
v7.4.1 (2022-10-13)
- ci: Fix popup tests and ci bugs (#1846) (@NicholasBoll)
v7.4.0 (2022-10-12)
- feat: Add menu headers for grouping items (#1822) (@vibdev, @NicholasBoll)
Adds the ability to mark
<MenuItems>
as headers using theisHeader
attribute. This allows users to group menu items logically. It updates the code used for keyboard shortcuts to ignore any items marked as a header. - feat: Add support for opening stories in Tesseract (#1829) (@anicholls)
- ci: Fixing to make workflow valid-name needed for each if (#1842) (@jaclynjessup)
- ci: Forward merge commits that skip releases (@NicholasBoll)
v7.3.18 (2022-10-10)
- ci: Updates to Project Board Actions (#1834) (@jaclynjessup)
- test: Fix flaky Cypress popup specification (#1837) (@NicholasBoll)
v7.3.17 (2022-10-07)
- fix: Error handling to fix TypeError bug on models used in responsive modals/popups (#1831) (@ahayes91)
- ci: Add token to close-related-issues workflow (@NicholasBoll)
v7.3.16 (2022-10-06)
v7.3.15 (2022-10-04)
- fix: Update
useReturnFocus
to change focus if target is visible (#1709) (@NicholasBoll, @alanbsmith)
v7.3.14 (2022-10-04)
- docs: Update Modal examples (#1621) (@emroller16, @jamesfan)
- ci: Close related issues with pull requests (#1817) (@NicholasBoll)
v7.3.13 (2022-09-28)
v7.3.12 (2022-09-28)
- fix(popup): Fix return focus timing for tooltips and focus events (#1806) (@NicholasBoll)
- chore: Adding Epic issue template (#1811) (@jaclynjessup, @NicholasBoll)
v7.3.11 (2022-09-27)
- fix(combobox): Override z-index only when focus state (#1752) (@chaiwattsw)
- docs: Make release category easier to change in PR template (#1804) (@NicholasBoll)
- chore: Update pull request template (#1750) (@alanbsmith)
v7.3.10 (2022-09-23)
- fix: Remove use of style to style border radius on TertiaryButton (#1803) (@mannycarrera4)
We were using
style
to apply border radius which prevent users from overwriting styles. UsingborderRadius
allows for customization.
v7.3.9 (2022-09-23)
- fix: Update create-component scripts (#1719) (@vibdev) Updates the create create-component script to generate components using the new 7.x functions. It also updates the generated stories to use mdx.
v7.3.8 (2022-09-22)
- fix: Extend BaseButtonProps to our buttons and export utility functions (#1775) (@mannycarrera4)
- You can now overwrite styles using style properties from
Box
onPrimaryButton
,SecondaryButton
,TertiaryButton
andDeleteButton
. This allows you to customize styles more easily. - We're exporting utility functions
getMinWidthStyles
andgetPaddingStyles
to help those making custom buttons
- You can now overwrite styles using style properties from
v7.3.7 (2022-09-21)
- fix(common): Add support for class components to createComponent (#1786) (@anicholls)
v7.3.6 (2022-09-21)
v7.3.5 (2022-09-20)
- fix: Add PopperProps to PopupPopper props (#1772) (@alanbsmith)
v7.3.4 (2022-09-16)
- chore: Add custom lint rule to encourage CK slash imports (#1762) (@alanbsmith)
v6.8.15 (2022-09-15)
- fix: Add PopperProps to PopupPopper props (#1772) (@alanbsmith)
v7.3.3 (2022-09-15)
- fix: Enable to use size prop in SegmentedControl.Button component (#1766) (@RayRedGoose)
v7.3.2 (2022-09-15)
- docs: Add initial maintaining doc (#1764) (@alanbsmith)
v7.3.1 (2022-09-09)
- fix: Prevent focus ring from getting cut off in Popup.Body (#1727) (@mannycarrera4)
v7.3.0 (2022-08-31)
- feat(labs): Add expandable container component (#1562) (@giulialubet)
- fix: Update avatar on expandable component (#1739) (@mannycarrera4)
- feat(labs): New compound toast component (#1432) (@ckaptan)
- fix: Update Toast import statements (#1760) (@alanbsmith)
v7.2.11 (2022-08-31)
- fix(pagination): Fixes onPageChange regression (#1748) (@alanbsmith)
- ci: Update secret to new token for project board actions (#1757) (@jaclynjessup)
- ci: Update project board automations (@jaclynjessup)
v7.2.10 (2022-08-29)
- fix(menu): Fix issue with color change on menu item icon hover (#1744) (@RayRedGoose)
v7.2.9 (2022-08-16)
- ci: Add project board automations (#1729) (@jaclynjessup)
v7.2.8 (2022-08-15)
- fix: Change link URL to non-interactive examples (#1731) (@stefano-puzzuoli)
v7.2.7 (2022-08-12)
- fix: Ignore tabIndex to take elements out of the focus order (#1723) (@smopur) Fixes tabbing out of a a control where elements in the control are excluded from the tab order
v7.2.6 (2022-08-11)
- docs: Fix RadioGroup Basic example (#1726) (@alanbsmith)
v7.2.5 (2022-07-28)
- fix: Remove circular dependencies between monorepo packages (#1697) (@NicholasBoll)
In order to remove circular dependencies without any breaking changes, we removed the restriction on
SearchForm
,Combobox
, andAutoCompleteList
(labs components) that restricted children toMenuItem
components (preview component). This removes the Typescript error if you feed these components children that are notMenuItem
.
v7.2.4 (2022-07-27)
- ci: Allow auto-merging of the yarn.lock file (@NicholasBoll)
v6.8.14 (2022-07-27)
- ci: Allow auto-merging of the yarn.lock file (@NicholasBoll)
v7.2.3 (2022-07-27)
- fix: Set types import direction for sub-directory packages (#1695) (@RayRedGoose)
- ci: Fix forward-merge script and optimize release/forward-merge jobs (@NicholasBoll)
- ci: Ignore Storybook test on forward-merge (@NicholasBoll)
- ci: Remove extra manual bump step (@NicholasBoll)
v7.2.2 (2022-07-27)
- fix: Add missing
Popper
props toPopup.Popper
(#1701) (@PrajwalBorkar)
- fix: Set types import direction for sub-directory packages (#1695) (@RayRedGoose)
- ci: Fix forward-merge script and optimize release/forward-merge jobs (@NicholasBoll)
v6.8.13 (2022-07-22)
- fix: Set types import direction for sub-directory packages (#1695) (@RayRedGoose)
v7.2.1 (2022-07-22)
v6.8.12 (2022-07-21)
- ci: Fix forward-merge script and optimize release/forward-merge jobs (@NicholasBoll)
v7.2.0 (2022-07-21)
- feat(collection): Add grid model and examples (#1628) (@NicholasBoll)
- ci: Fix release and forward-merge CI interactions (@NicholasBoll)
v6.8.11 (2022-07-20)
- ci: Fixing issues with forward-merge script (@NicholasBoll)
- ci: Fix release and forward-merge CI interactions (@NicholasBoll)
v7.1.5 (2022-07-20)
- fix(pagination): Remove aria-relevant attr (#1659) (@alanbsmith)
- Throw CI errors in forward-merge script (@NicholasBoll)
- fix(button): Make icon-only tertiary button themeable (#1677) (@RayRedGoose)
We added
isThemeable
prop toTertiaryButton
to allow applying theme colors for icon-only variant. Because default icon button doesn't use default theme colors, it makes icon-onlyTertiaryButton
not themeable.
- docs: Update ActionBar upgrade guide docs (#1687) (@alanbsmith)
- ci: Add post-merge yarn install and add merge pr instructions (@NicholasBoll)
- ci: Add command logging to forward-merge (@NicholasBoll)
- ci: Fix forward-merge logic to move install out of conflict code (@NicholasBoll)
- ci: Fix forward-merge command line processing (@NicholasBoll)
- ci: Fix forward-merge command line processing (@NicholasBoll)
- ci: Fix issues with forward merge script when run locally (@NicholasBoll)
- ci: Fixing issues with forward-merge script (@NicholasBoll)
- ci: Add CI button to release minor versions [no release] (#1683) (@NicholasBoll)
- ci: Add version override to manual release action (@NicholasBoll)
v6.8.10 (2022-07-13)
v7.1.4 (2022-07-12)
- fix(radio): Align radio group button (#1441) (@karapalumbo)
- fix(skeleton): Move simulation code block within loading condition (#1676) (@anishatulai)
v7.1.3 (2022-07-11)
- fix(action-bar): Fix focus issue in ActionBar (#1666) (@RayRedGoose)
v7.1.2 (2022-07-07)
- chore: Bump support to next major version (@NicholasBoll)
- fix(pagination): Remove aria-relevant attr (#1659) (@alanbsmith)
- Throw CI errors in forward-merge script (@NicholasBoll)
- ci: Add automated forward merge (#1662) (@NicholasBoll)
- ci: Add yarn install step after forward merge attempt (@NicholasBoll)
- ci: Add post-merge yarn install and add merge pr instructions (@NicholasBoll)
- ci: Add command logging to forward-merge (@NicholasBoll)
- ci: Fix forward-merge logic to move install out of conflict code (@NicholasBoll)
- ci: Fix forward-merge command line processing (@NicholasBoll)
- ci: Fix forward-merge command line processing (@NicholasBoll)
- ci: Fix issues with forward merge script when run locally (@NicholasBoll)
- ci: Add automated forward merge (#1662) (@NicholasBoll)
- ci: Add yarn install step after forward merge attempt (@NicholasBoll)
v7.1.1 (2022-06-30)
v7.1.0 (2022-06-28)
- chore: Bump prerelease/minor to new major version (@NicholasBoll)
- feat: Add useModalityType hook and add modality support to tabs (#1523) (@NicholasBoll)
v7.0.15 (2022-06-28)
- docs(examples): Add example for SegmentedControl with text buttons (#1623) (@RayRedGoose)
v7.0.14 (2022-06-22)
- fix(button): Make PageButton in Pagination themable (#1648) (@mannycarrera4)
v7.0.13 (2022-06-20)
v7.0.12 (2022-06-20)
- chore: Update repository fields for NPM (#1642) (@willklein)
v7.0.11 (2022-06-20)
- fix: Update yarn.lock dependencies for icons and TypeScript (#1640) (@willklein)
- docs: Update SidePanel right origin story (#1644) (@willklein)
v7.0.10 (2022-06-16)
- chore: Bump design-assets-types to latest (#1639) (@willklein)
v7.0.9 (2022-06-16)
- fix: Update remaining Emotion 11 imports (#1638) (@willklein)
Updated documentation for
@workday/canvas-kit-react-fonts
to correctly import utilities from Emotion 11 rather than Emotion 10.
v7.0.8 (2022-06-08)
- docs(action-bar): Add delete action example to ActionBar (#1629) (@RayRedGoose)
v7.0.7 (2022-06-03)
- fix: Add inverse variant to checkbox and radio (#1617) (@mannycarrera4)
We've added
variant="inverse"
to ourRadio
andCheckBox
components
v7.0.6 (2022-06-03)
- test(select): Reduce sensitivity of scrolling test (#1613) (@jamesfan)
- fix(preview): Make removable pill accessible (#1616) (@mannycarrera4)
v7.0.5 (2022-05-25)
v7.0.4 (2022-05-25)
v7.0.3 (2022-05-24)
- fix(codemod): Support multiple imports from canvas-kit (#1607) (@NicholasBoll)
v7.0.2 (2022-05-24)
- fix(action-bar): Remove subcomponents from ActionBar.Item (#1606) (@RayRedGoose)
v7.0.1 (2022-05-23)
- docs: Clean up upgrade docs for base button example (#1603) (@mannycarrera4)
v7.0.0 (2022-05-18)
-
#1359 This change updates the banner component to use the compound component pattern. For more information, please see the V7 migration guide.
-
#1396 Change
fixed
prop from component toposition
to set container position (fixed
position has been set as default). -
#1329 Status Indicators currently truncate when they reach their max width of
150px
. After receiving requests to increase this, we have upped it by 25% to200px
. -
#1409 Canvas Kit will require teams to be on version ^17.x or at least 16.14 for backwards compatibility and we will remove the jsx pragma and use of css props. This does not mean consumers can’t use the css prop, just that internally we will stop using it. This would require teams to upgrade other parts of their app including React, potentially Babel and any other side effects that come with it.
-
#1456 We are hard deprecating
CookieBanner
,Header
andPageHeader
. If you would like to migrate off of these components you can find them under our Example section in storybook -
#1460 Flex, Box and Stack will no longer be imported from
@workday/canvas-kit-labs-react
. They will now be imported from@workday/canvas-kit-react/layout
-
#1477 - Combined Icon Buttons with Primary, Secondary, and Tertiary buttons
- Remove IconButton component
- Add a new XS, L sizes
- Removed the
toggled
prop when migrating over Icon Buttons - Converted
SegmentedControl
into a compound component and it no longer rendersIconButton
as children - Changed the values of
IconPosition
:left
|right
- >start
|end
- Refactored
AccentIcon
,AppletIcon
,Graphic
,Icon
,Svg
,SystemIcon
, andSystemIconCircle
to use create component and removeiconRef
prop and now just pass the ref forward - Remove
dataLabel
prop fromPrimaryButton
andSecondaryButton
-
#1547 - Upgrade Typescript to 4.1 and drop support for Typescript <4
Popup.Body
is an overflow container. If your popup buttons are inside thePopup.Body
element (our examples did this), you will need to move those buttons outside thePopup.Body
element, otherwise the focus rings may be cut off. See migration guide for more information.- Changed the signature of model callbacks and guards. This is handled by our codemod
- Before:
shouldUpdate({data, state})
onUpdate({data, prevState})
- After:
shouldUpdate(data, state)
onUpdate(data, prevState)
- Before:
-
#1587 Removed the data wrapper around the
event
inshow
andhide
events. The arguments are not commonly used, however.// v6 const model = usePopupModel({ onShow({ data: { event }, prevState }) { console.log(event); } }) // v7 const model = usePopupModel({ onShow(event, prevState) { console.log(event); } })
🤖 The codemod will update all inline guards and callbacks like in this example. If a guard or callback was defined outside the model config block, it will not be covered by the codemod.
-
#1585 This PR contains breaking changes because using new ActionBar requires restructure old version and adding ActionBar.List as sub-component of ActionBar. This changes are covered by codemod but using an overflow behavior requires manual implementation.
- fix(codemod): Add JSXExpressionContainer support to V7 IconButton codemod (#1558) (@josh-bagwell)
- refactor(banner): Update Banner to use the compound component pattern (#1359) (@vibdev)
- fix(side-panel): Add tooltip to toggle button for side panel (#1401) (@mannycarrera4)
- feat(action-bar): Refactor ActionBar component (#1396) (@RayRedGoose)
- feat: Increase max width of Status Indicator, add prop and examples (#1329) (@anicholls)
- feat(modal): Add support for scrolling a modal (#1259) (@NicholasBoll)
- chore!: Hard deprecate Header, Page Header and Cookie Banner (#1456) (@mannycarrera4)
- chore: Migrate Flex, Stack and Box to main under layout (#1460) (@mannycarrera4)
- fix(modal): Remove x axis scrollbar (@NicholasBoll)
- fix(modal): Correct overflow value (@NicholasBoll)
- fix(modal): Update Modal full-overflow for IE11 (@NicholasBoll)
- chore: Combine Icon Buttons with Primary, Secondary and Tertiary (#1477) (@mannycarrera4)
- feat(common): Update depth tokens (#1517) (@RayRedGoose)
- fix(button): Update padding for buttons (#1532) (@mannycarrera4)
- fix(popup): Remove containerElement prop from Popper (#1524) (@RayRedGoose)
- fix(toast): Add aria attributes to alert toast (#1536) (@RayRedGoose)
- fix(button): Updated stories to match spec (#1539) (@josh-bagwell)
- feat(select): Accept custom render method prop for selected option (#1512) (@giulialubet)
- chore: Update accent, applet, and system icon deps (#1554) (@alanbsmith)
- fix: Update codemod to run all transforms (#1563) (@mannycarrera4)
- feat: Add collection system (#1547) (@NicholasBoll) We've added a collection system to help our users create custom components like
- fix(layout): Update reentrant imports for layout components (#1574) (@mannycarrera4)
- feat(preview): Add Pill component (#1542) (@mannycarrera4) We've added a new Pill component. Pills are used to visually label objects on a page for quick recognition. They’re offered as both static, read-only and interactive elements. They allow users to input a section, filter a list or table, or label information to help with scanning and organization.
- chore(disclosure): Remove event data wrapper in disclosure events (#1587) (@NicholasBoll) 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.
- feat(action-bar): Add menu to ActionBar (#1585) (@RayRedGoose) 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.
- test: Fix test failure due to a github automerge issue (@NicholasBoll)
- fix: Update codemods to handle different imports (#1567) (@mannycarrera4)
- feat(button): Add ExternalHyperlink and missing stories for Hyperlinks (#1430) (@vibdev)
- fix(action-bar): Make hidden buttons non-interactive (#1592) (@RayRedGoose)
- chore: Upgrade to React 17 and refactor our css prop (#1409) (@mannycarrera4)
- chore: Upgrade to emotion 11, typescript 4.1 and necessary linting deps (#1442) (@mannycarrera4)
- fix: Fix imports in examples (#1568) (@jamesfan)
- docs: Clean up component docs (#1584) (@jamesfan)
- docs: Update Migration guide with tabs changes (#1581) (@NicholasBoll)
- docs: Clean up v7 migration guide (#1550) (@jamesfan)
- docs: Rename Migration Guides to Upgrade Guides (#1591) (@jamesfan)
- docs: Fix docs to account for v7 changes (#1595) (@jamesfan)
- chore: Initial setup for v7 (#1387) (@mannycarrera4)
- ci: Update prerelease/major build number to avoid duplicate versions (@NicholasBoll)
- fix: Fix build mdx script to better handle splitprops files (#1575) (@jamesfan)
v6.8.9 (2022-05-18)
- fix(action-bar): Update styled function to support RTL (#1534) (@alanbsmith)
- fix: Add RTL support to FormField.Label (#1541) (@alanbsmith)
- fix(action-bar): Update styled function to support RTL (#1534) (@alanbsmith)
v6.8.8 (2022-05-18)
- fix(popup): Exclude disabled elements from isFocusable (#1564) (@derek-h-kim)
v6.8.7 (2022-05-18)
- fix(table): Refactor TableRow to use createComponent (#1590) (@alanbsmith)
v6.8.6 (2022-05-16)
v6.8.5 (2022-05-12)
v6.8.4 (2022-04-28)
v6.8.3 (2022-04-22)
- fix(codemod): Limit specifier renaming to Canvas Kit imports (#1546) (@willklein)
Fixed code mods that improperly rename non-Canvas Kit components as well as Canvas Kit sub-components. This typically includes non-Canvas Kit
Header
components and Canvas Kit'sSkeleton.Header
being improperly renamed in the JSX, but solves for all future cases of Canvas Kit component names.
v5.3.17 (2022-04-14)
- fix: Add RTL support to FormField.Label (#1541) (@alanbsmith)
v5.3.16 (2022-04-06)
v6.8.2 (2022-04-05)
- fix(common): Update brand assets url (#1529) (@alanbsmith)
v6.8.1 (2022-04-05)
- fix(button): Update disabled background for tertiary button (#1530) (@mannycarrera4)
v6.8.0 (2022-04-04)
- fix(banner): Convert Banner to a functional component (#1520) (@NicholasBoll)
v5.3.15 (2022-04-01)
- fix(banner): Convert Banner to a functional component (#1520) (@NicholasBoll)
v6.7.2 (2022-03-30)
- fix(avatar): Resetting imageLoaded when new url is provided (#1521) (@BillGeoghegan)
v6.7.1 (2022-03-23)
- fix(layout): Pass key to Stack.Item when using shouldWrapChildren (#1518) (@alanbsmith)
v6.7.0 (2022-03-21)
v5.3.14 (2022-03-21)
v6.6.1 (2022-03-18)
- fix(action-bar): Update CSS selector to fix spacing bug (#1510) (@alanbsmith)
This change updates the CSS selector for the
ChildrenContainer
. We're using the same selector as what's used in Stack. It is also now SSR-safe by avoiding applying styles tostyle
tags. If you were compensating for this bug by adding space for non-button elements in the ActionBar, you'll need to remove that adjustment.
v6.6.0 (2022-03-07)
v5.3.13 (2022-03-02)
v6.5.1 (2022-02-24)
- fix: Fix Box valid prop passing (#1488) (@alanbsmith)
v6.5.0 (2022-02-23)
- feat(search-form): Allow onSubmit when input is empty (#1439) (@sophiasun311)
- feat(BrandAssets): Add alt property to Workday logos. (#1446) (@renato-rossi)
v6.4.6 (2022-02-23)
- fix(combobox): Use correct role for live region (#1466) (@anicholls)
v6.4.5 (2022-02-17)
- fix: Fix Primary button example (#1481) (@alanbsmith)
v6.4.4 (2022-02-17)
- fix: Fix button imports (#1479) (@alanbsmith)
v5.3.12 (2022-02-16)
- fix(combobox): Use correct role for live region (#1466) (@anicholls)
v6.4.3 (2022-02-16)
- docs: Remove CSS Radio stories (#1476) (@alanbsmith)
v6.4.2 (2022-02-15)
- fix(tabs): Add back the extending bottom border (#1474) (@NicholasBoll)
v6.4.1 (2022-02-14)
v6.4.0 (2022-02-12)
- fix(popup): Restore overflow y and x with
useDisableBodyScroll
(#1470) (@NicholasBoll)
- docs(switch): Fix error switch example id (@NicholasBoll)
v5.3.11 (2022-02-11)
- fix(popup): Restore overflow y and x with
useDisableBodyScroll
(#1470) (@NicholasBoll)
v6.3.11 (2022-02-11)
v5.3.10 (2022-02-09)
- docs(switch): Fix error switch example id (@NicholasBoll)
v6.3.10 (2022-02-08)
- docs(side-panel): Fix padding in header (#1459) (@emroller16)
v6.3.9 (2022-02-01)
- fix(popup-stack): Fix popup element removal when adapter is used (#1450) (@NicholasBoll)
v6.3.8 (2022-02-01)
v6.3.7 (2022-01-27)
v6.3.6 (2022-01-20)
- docs: Add examples for Select and TextInput with Formik (#1435) (@alanbsmith)
v6.3.5 (2022-01-19)
v6.3.4 (2022-01-19)
- fix(popup): Fix body scrolling using useInitialFocus (#1415) (@NicholasBoll)
- fix: Allow repositioning of PopperJS instances (#1424) (@NicholasBoll)
v5.3.9 (2022-01-19)
- fix: Allow repositioning of PopperJS instances (#1424) (@NicholasBoll)
v6.3.3 (2022-01-14)
- test: Remove enzyme (#1418) (@NicholasBoll)
v6.3.2 (2022-01-14)
- chore: Remove colors dependency/upgrade dependencies (#1413) (@NicholasBoll)
v6.3.1 (2022-01-13)
v5.3.8 (2022-01-13)
- chore: Add screenful to lockfile (@NicholasBoll)
- fix(popup): Fix body scrolling using useInitialFocus (#1415) (@NicholasBoll)
v6.3.0 (2022-01-13)
-
feat(common): Remove uuid and update unique id generation (#1408) (@NicholasBoll) NOTE for jest snapshots: This change removes the
uuid
package and instead will generate a one-time client seed and then create auto-incrementing ids. This change will not break UI or automated UI tests. It will break snapshot tests however. Previously, the only way to get stable ids for snapshot tests was to mock theuuid
module. This was an implementation detail. To make snapshots work again, add the following to your jest setup file:import {setUniqueSeed, resetUniqueIdCount} from '@workday/canvas-kit-react/common'; beforeEach(() => { setUniqueSeed('a'); // force set the seed resetUniqueIdCount(); // reset the unique id count });
This will ensure each Jest snapshot has ids that look like
a0
anda1
and will be the same every time the snapshot is run. Do not use these methods in production though - it may lead to inaccessible applications due to IDREF collisions.
- ci: Fix scripts (@NicholasBoll)
- ci: Fix build script calls (@NicholasBoll)
v6.2.3 (2022-01-13)
- fix(side-panel): Remove console.log (#1417) (@alanbsmith)
v6.2.2 (2022-01-10)
- chore: Pin colors to version 1.4.0 (#1411) (@Parker-Ledoux)
v6.2.1 (2022-01-07)
v6.2.0 (2022-01-03)
- fix(popup-stack): Add support for the fullscreen API (#1403) (@NicholasBoll)
Fullscreen support was added to all Popups. 3 new hooks were added to help support fullscreen in whatever way you see fit:
useTransferOnFullscreenEnter
: Use if your popup should remain open and be transfer into the fullscreen elementuseTransferOnFullscreenExit
: Use if your popup should remain open and transfer out of the fullscreen element back to the body elementuseCloseOnFullscreenExit
: Use if your popup should close when fullscreen is exited
- chore: Add screenful to lockfile (@NicholasBoll)
v5.3.7 (2022-01-03)
- fix(popup-stack): Add support for the fullscreen API (#1403) (@NicholasBoll)
Fullscreen support was added to all Popups. 3 new hooks were added to help support fullscreen in whatever way you see fit:
useTransferOnFullscreenEnter
: Use if your popup should remain open and be transfer into the fullscreen elementuseTransferOnFullscreenExit
: Use if your popup should remain open and transfer out of the fullscreen element back to the body elementuseCloseOnFullscreenExit
: Use if your popup should close when fullscreen is exited
v6.1.5 (2021-12-22)
- docs: Add CookieBanner example (#1402) (@RayRedGoose)
v6.1.4 (2021-12-17)
- docs: Add ExtractProps to the v5 migration guide (#1397) (@NicholasBoll)
v5.3.6 (2021-12-17)
- chore: Bump uuid to stable non deprecated version (#1367) (@mannycarrera4)
- docs: Add ExtractProps to the v5 migration guide (#1397) (@NicholasBoll)
- fix: Revert uuid upgrade to get releases working (#1371) (@NicholasBoll)
v6.1.3 (2021-12-17)
- fix(tabs): Fix Dynamic Tabs example (#1398) (@NicholasBoll)
v6.1.2 (2021-12-14)
- fix(tabs): Remove gutter from tabs overflow menu (#1378) (@mannycarrera4)
v6.1.1 (2021-12-10)
- chore: Have verify action to wait on visual tests (#1385) (@mannycarrera4)
- chore: Remove unused and uneeded dependencies (#1388) (@NicholasBoll)
- Storybook knobs are removed and all stories use Storybook Controls instead. This includes the
theme
override. See the PR for more details. - Storybook Readme addon was removed. This addon is no longer maintained. The Readme tab in the Storybook plugin panel was replaced with a custom addon that links to the Readme in Github. This allows us to more easily upgrade Storybook.
- Storybook knobs are removed and all stories use Storybook Controls instead. This includes the
v6.1.0 (2021-12-07)
- feat(labs): Add new compound component for text area and form field (#1308) (@vibdev)
- fix: Add formik and yup back to preview dev deps (#1376) (@alanbsmith)
v6.0.7 (2021-12-06)
- Bump support to next major version (@)
- chore: Fix support release (@NicholasBoll)
- fix(tooltip): Add delay to Tooltip show and hide (#1339) (@wooksauce) This change could cause visual regression tests to fail if a screen shot is taken expecting a tooltip to show immediately. Your visual regression will either have to add an explicit wait of 300ms, or change the delay to 1ms only under test.
- fix(LoadingAnimation): Add support for RTL (#1349) (@vibdev) Possible visual regression if you have overrides to get the old version working for RTL.
- fix(popup): Fix PopupCard styles to be more easily overridden (#1352) (@NicholasBoll)
- chore: Bump uuid to stable non deprecated version (#1367) (@mannycarrera4)
- ci: Fix npm tagging in release script (@NicholasBoll)
- fix: Revert uuid upgrade to get releases working (#1371) (@NicholasBoll)
v6.0.6 (2021-12-06)
- docs: Add headers examples to Storybook (#1366) (@RayRedGoose)
v6.0.5 (2021-11-24)
- docs(popup): Fix typo in JSDoc description for useReturnFocus (@RayRedGoose)
v6.0.4 (2021-11-23)
- ci: Add parallel PR verification [skip-release] (#1354) (@NicholasBoll)
v6.0.3 (2021-11-23)
- fix(tabs): Fix focusability of the More button (#1350) (@NicholasBoll)
v5.3.5 (2021-11-23)
- fix(popup): Fix PopupCard styles to be more easily overridden (#1352) (@NicholasBoll)
v5.3.4 (2021-11-22)
- fix(LoadingAnimation): Add support for RTL (#1349) (@vibdev) Possible visual regression if you have overrides to get the old version working for RTL.
v5.3.3 (2021-11-19)
- fix(tooltip): Add delay to Tooltip show and hide (#1339) (@wooksauce) This change could cause visual regression tests to fail if a screen shot is taken expecting a tooltip to show immediately. Your visual regression will either have to add an explicit wait of 300ms, or change the delay to 1ms only under test.
v6.0.1 (2021-11-17)
- ci: Fix major release process to detect breaking changes (@NicholasBoll)
- fix: Fix codemod command (#1346) (@NicholasBoll)
v6.0.0 (2021-11-16)
- #1201 Optional breaking changes message. If your PR includes breaking changes. It is extremely rare to put breaking changes outside a
prerelease/v*
branch. Anything in this section will show up in release notes. Remove this section if no breaking changes are present. - #1276
CanvasDepthValue
is renamed toCanvasDepthValues
for consistency. This change is handled automatically by the v6 codemod. Please refer to the V6 upgrade guide for more information. - #1319 This change updates the theme breakpoint values and the media query breakpoints used in
ActionBar
. For more information, please see the V6 upgrade guide. - #1331 This change updates our
PrimaryButton
styles. For more information, please see the V6 upgrade guide. - #1332 This change updates our
SecondaryButton
styles. For more information, please see the V6 upgrade guide. - #1338 This change updates our
TertiaryButton
styles. For more information, please see the V6 upgrade guide. - #1325 Tabs API was updated to support a more generic selection model for all lists.
model.events.activate({tab})
->model.events.select({id})
model.state.activeTab
->model.state.selectedKeys[0]
useTabsModel({onActivate})
->useTabsModel({onSelect})
useTabsModel({shouldActivate})
->useTabsModel({shouldSelect})
- feat(page-header): Deprecate PageHeader (#1247) (@alanbsmith)
- feat(cookie-banner): Deprecate CookieBanner (#1265) (@alanbsmith)
- feat: Rename SearchBar to SearchForm and move package (#1267) (@alanbsmith)
- feat: Deprecate Header and Global Header (#1273) (@alanbsmith)
- feat(labs): Add new compound component for text inputs (#1201) (@vibdev)
- feat(button): Update PrimaryButton for v6 (#1331) (@alanbsmith)
- feat(button): Update SecondaryButton for v6 (#1332) (@alanbsmith)
- feat(button): Update Tertiary Buttons for v6 (#1338) (@alanbsmith)
- feat(tabs): Add overflow support to tabs (#1325) (@NicholasBoll)
- chore: Fix major release (@NicholasBoll)
- chore: Fix support release (@NicholasBoll)
- docs: Clean up V6 migration guide (#1343) (@alanbsmith)
- fix: Update codemod to support output streaming (#1340) (@alanbsmith)
- feat: Update depth tokens (#1276) (@alanbsmith)
- feat(common): Update theme breakpoints (#1319) (@alanbsmith)
- feat(page-header): Deprecate PageHeader (#1247) (@alanbsmith)
- feat(cookie-banner): Deprecate CookieBanner (#1265) (@alanbsmith)
- feat: Rename SearchBar to SearchForm and move package (#1267) (@alanbsmith)
- feat: Deprecate Header and Global Header (#1273) (@alanbsmith)
- feat(labs): Add new compound component for text inputs (#1201) (@vibdev) 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.
- feat(button): Update PrimaryButton for v6 (#1331) (@alanbsmith)
- feat(button): Update SecondaryButton for v6 (#1332) (@alanbsmith)
- feat(button): Update Tertiary Buttons for v6 (#1338) (@alanbsmith)
- feat(tabs): Add overflow support to tabs (#1325) (@NicholasBoll) 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.
- docs: Clean up V6 migration guide (#1343) (@alanbsmith)
- fix: Update codemod to support output streaming (#1340) (@alanbsmith)
- feat: Update depth tokens (#1276) (@alanbsmith)
- feat(common): Update theme breakpoints (#1319) (@alanbsmith)
v5.3.2 (2021-11-16)
- ci: Fix npm tagging in release script (@NicholasBoll)
v5.3.1 (2021-11-16)
- Bump support to next major version (@)
- chore: Fix support release (@NicholasBoll)
v5.2.12 (2021-11-10)
- docs: Add Version Support section to Readme (#1337) (@alanbsmith)
v5.2.11 (2021-11-09)
v5.2.10 (2021-11-03)
- fix(tabs): Allow consumers to style the selected tab (#1327) (@sachinmorajkar)
v5.2.9 (2021-10-21)
- Update Licence (@jpante)
v5.2.8 (2021-10-07)
- docs: Remove travis badge (#1299) (@theiliad)
- docs: Re-order content and fix links (#1286) (@willklein) Improved Contributing Guidelines
- docs(pagination): Update Pagination MDX to adhere to standardized template (#1295) (@jamesfan)
- docs: Fix miscellaneous content issues with MDX docs (#1304) (@jamesfan)
- ci: Fix New Issue workflow job (@NicholasBoll)
- ci: Fix automerge by changing token to PAT (@NicholasBoll)
- ci: Add support for skip release (@NicholasBoll)
- ci: Update forward merge job to be once a day (@NicholasBoll)
v5.2.7 (2021-09-30)
v5.2.6 (2021-09-24)
- fix(combobox): Add keyboard navigation autoscroll to ComboBox menu (#1269) (@BillGeoghegan)
- ci: Change forward-merge to use PAT to trigger PR job' (@NicholasBoll)
v5.2.5 (2021-09-23)
- ci: Fix canary publish job (@NicholasBoll)
- ci: Fix canary publish message (@NicholasBoll)
v5.2.4 (2021-09-23)
-
ci: Add automerge job [skip ci] (@NicholasBoll)
-
ci: Update GA job names to help with branch checks [skip ci] (@NicholasBoll)
-
ci: Add prerelease canary builds (@NicholasBoll) This change updates branch names for automated release management. Branch renames are as follows:
support/v4.x
->support
prerelease/v5.3
->prerelease/minor
prerelease/v6
->prerelease/major
We renamed the
support
branch which could conflict with local refs. You may need to run the following if you've contributed to Canvas Kit in the past:git remote prune upstream
Change
upstream
to whichever remoteWorkday/canvas-kit
belongs to
v5.2.3 (2021-09-22)
- fix: Update import of static states when creating labs component (#1266) (@mannycarrera4)
v5.2.2 (2021-09-21)
- Fix: Fix PR template to include correct category shield (@NicholasBoll)
v5.2.1 (2021-09-20)
- fix(tooltip): Fix OverflowTooltip with SVG in IE11 (#1263) (@NicholasBoll)
- chore: Update pull request template (#1268) (@NicholasBoll)
- ci: Add prefix to forward-merge job (@NicholasBoll)
- ci: Update forward merge script (@NicholasBoll)
- ci: Add automation to releases (#1272) (@NicholasBoll)
This commit changes the interaction of contributors to Canvas Kit. All patches will be automatically released. In order to accomplish this, a new pull request link job is run to make sure that all features target a prerelease branch. For example, if you create a new pull request that adds a feature and the current version of Canvas Kit is
v5.2.0
, the target branch should beprerelease/minor
instead ofmaster
. Don't worry, the pull request lint job will prevent mistakes. Also the Canvas Kit team can help by changing the base branch of your pull requests. - ci: Add npm debug information (@NicholasBoll)
- ci: Fix npm publish for release (@NicholasBoll)
- ci: Fix npm token (@NicholasBoll)
- ci: Fix npm publish (@NicholasBoll)
- ci: Fix build process (@NicholasBoll)
- ci: Fix push GH token (@NicholasBoll)
- fix(toast): Update to properly render rtl (#1229) @JaredWF
- fix: Update search bar to properly render rtl (#1231) @JaredWF
- fix(side-panel): Fix SidePanel RTL support (#1234) @alanbsmith
- feat(icon): Add shouldMirror prop to icons (#1246) @alanbsmith
- docs: Update inter-linking to match Canvas Site (#1220) @NicholasBoll
- docs: Update SidePanel docs to MDX (#1236) @alanbsmith
- docs: Update various issues prevent docs mdx files from being rendered remotely (#1238) @anicholls
- docs: Improve Variant/Type/State docs (#1243) @anicholls
- chore: Bump path-parse from 1.0.6 to 1.0.7 (#1211) @dependabot
- ci: Add Chromatic baseline to support branches (#1219) @NicholasBoll
- fix: Fix create-component README template (#1235) @alanbsmith
- chore(table): Update polished package to fix security warning (#1242) @NicholasBoll
- fix(form-field): Updates legend to be direct child of FieldSet (#1146) @sahlhoff
- fix(popup): Fix RTL rendering for popups (#1183) @NicholasBoll
- fix(combobox): Add type attribute and remove tabindex attribute (#1172) @vibdev
- test(popup): Add visual tests for RTL in Modal and Popup (#1159) @NicholasBoll
- fix(menu): Fix Menu item icon colors (#1157) @sahlhoff
- fix: Fix changeFocus to take any input and Dialog/Modal to accept model config (#1154) @NicholasBoll
- fix(common): Remove @ts-ignore from ExtractProps (#1189) @NicholasBoll
- feat(common): Add useThemeRTL hook (#1041) @vibdev
- fix(menu): Update readme to show correct import for menu item (#1208) @karapalumbo
- docs: Fix prop tables. Also add spec table to Modal (#1155) @NicholasBoll
- docs: Add MDX docs and examples for Indicator components (#1169) @jamesfan
- docs: Remove incorrect info on ExtractProps (#1180) @NicholasBoll
- docs: Update MDX doc for Card and add MDX doc and examples for Table (#1185) @jamesfan
- docs: Update Breadcrumbs stories to mdx (#1206) @alanbsmith
- docs(popup): Add Popper note and args table of subcomponents (#1205) @NicholasBoll
- docs: Update common readme (#1186) @NicholasBoll
- docs: Update Breadcrumbs stories from review feedback (#1210) @alanbsmith
- docs(popup): Update custom target example to accept ref (#1209) @divyanshu023
- docs: Add menu mdx docs (#1203) @sahlhoff
- fix: Fix misc. MDX fixes (#1188) @anicholls
- fix: Fix broken link in pagination.stories.mdx (#1178) @stuartmccoll
- feat: Add comments in DTS files for JSDoc (#1207) @NicholasBoll
- fix: Add support for React 17 in main (#1182) @alanbsmith
- chore: Update incorrect prop names (#1181) @NicholasBoll
- ci: Add forward merge job (#1173) @NicholasBoll
- ci: Add pull request title check (#1153) @NicholasBoll
- chore: Bump prismjs from 1.23.0 to 1.24.0 (#1129) @dependabot
- ci: Delete main.yml @NicholasBoll
- fix(combobox): Add type attribute and remove tabindex attribute (#1172) @vibdev
- fix(popup): Fix RTL rendering for popups (#1183) @NicholasBoll
- ci: Add pull request title check (#1153) @NicholasBoll
- ci: Add forward-merge job @NicholasBoll
- feat(common): Add HTML attribute interface to ExtractProps (#1147) @NicholasBoll
- docs: Fix changelog issues @anicholls
- ci: Add additional check so support releases aren't treated as latest @anicholls
- fix: Convert focus-trap-js to TS file to fix module-not-found error (#1149) @NicholasBoll
- docs: Convert Buttons category stories to use mdx (#1127) @anicholls
- docs: Add MDX docs and examples for Input components (#1128) @jamesfan
- fix(tooltip): Fix overflow ellipsis detection (#1132) @NicholasBoll
- fix(modal): Fix focus trap when Modal contains an iframe (#1135)
- docs: Fix codemod link in v5 migration guide @anicholls
- build: Pull component mdx + examples into docs module during build (#1130) @anicholls@NicholasBoll
- feat: Add storybook utils to labs common (#1136) @vibdev
- fix(combobox): Modify combobox to accept empty string as initialValue (#1116) @bsaggese14
- fix(tooltip): Fix overflow ellipsis detection (#1132) @NicholasBoll
- fix(modal): Fix focus trap when Modal contains an iframe (#1135) @NicholasBoll
- fix(breadcrumbs): Fix onAction bugs in Breadcrumbs (#1073) @alanbsmith
- fix(checkbox): Fix Checkbox width bug (#1139) @alanbsmith
- feat(combobox): Modify combobox to accept empty string as initialValue (#1116) @bsaggese14
- fix: Add missing exports for CKR bundle (#1118) @anicholls
- fix(tokens): Fixes color token exports (#1110) @alanbsmith
- fix(popup): Remove ref forwarding requirement in Popup.Target (#1115) @NicholasBoll
- docs: Update readme links to use mdx (#1103) @jpante
- docs: Update old labs references (#1105) @anicholls
- build: Remove baseUrl and paths from tsconfig (#1107) @anicholls
- chore: Fix circular dep in preview module (#1104) @anicholls
- feat(checkbox): Add aria-checked for accessibility and testability (#1045) @svagi
- feat(comboxbox):Added default maxHeight to autocomplete container (#1079) @sraj
- fix(combobox): Fix Combobox RTL issue (#1064) @alanbsmith
- fix(popup): Allow popups to be owners of each other (#1054) @csongnguyen
- fix(popup): Allow tooltips to close alongside modals on click outside (#1074) @csongnguyen
- fix(tabs): Fix aria-selected for unselected tabs (#1033) @angadkaflay
- fix(tooltip): Allow aria-label pass-through in muted tooltips (#1037) @NicholasBoll
- docs: Add better documentation to the
as
prop (#1046) @NicholasBoll - docs: Popup accessible example (#1056) @csongnguyen
- chore: Bump y18n from 3.2.1 to 3.2.2 (#1011) @dependabot
- chore: Bump elliptic from 6.5.3 to 6.5.4 (#993) @dependabot
- chore: Upgrade storybook to v6.2.9 (#1055) @anicholls
- chore: Bump ssri, ua-parser-js, handlebars, lodash, and hosted-git-info (#1049) @dependabot
- ci: Fix font-loading issue by predownloading @NicholasBoll
- ci: Fix Tooltip flaky visual test (#1035) @NicholasBoll
- ci: Upgrade to node 14 (#1044) @NicholasBoll
- feat: Add package version in Storybook (#1082) @mihaelamiches
The changes below include the changes made across all 5.0.0 beta and rc versions (v5.0.0-beta.0 - v5.0.0-rc.0
).
To review the breaking changes made in this release, check out the v5.0.0 Upgrade Guide. Use our new codemod utility to make the update as smooth as possible.
- fix(common): Remove unintended whitespace around bdo tag in IE11 (#868) @vibdev
- feat(common): Spread additional props on CanvasProvider @NicholasBoll
- chore(tabs): Convert to a compound component utility functions (#953) @NicholasBoll
- feat(tabs): Update Tabs list model to support passing index position (#990) @omasrii
- fix: Allow refs to be passed to createComponent components (#1009) @NicholasBoll
- chore: Update spacing tokens + codemod (#1010) @alanbsmith
- chore: Refactor Button to use createComponent (#1017) @NicholasBoll
- chore: Rename core packages to tokens and add codemod (#1020) @alanbsmith
- chore(card): Convert to a Compound Component and create codemod (#1028) @NicholasBoll
- fix(tabs): Fix aria-selected for unselected tabs (#1033) @angadkaflay
- ci: Fix Tooltip flaky visual test (#1035) @NicholasBoll
- fix(tooltip): Allow aria-label pass-through in muted tooltips (#1037) @NicholasBoll
- docs: Add better documentation to the
as
prop (#1046) @NicholasBoll - docs(tabs): Update single tabs panel example (#1047) @NicholasBoll
- docs: Update Create Compound Component docs (#1048) @NicholasBoll
- fix(popup): Allow popups to be owners of each other (#1054) @csongnguyen
- fix(combobox): Fix Combobox RTL issue (#1064) @alanbsmith
- refactor(button): Button recategorization (#1034) @anicholls
- fix(popup): Allow tooltips to close alongside modals on click outside (#1074) @csongnguyen
- refactor: Move InputProvider from tokens to common (#1076) @anicholls
- feat(common): Add Box Component (#1027) @alanbsmith
- feat(comboxbox):Added default maxHeight to autocomplete container (#1079) @sraj
- feat: Forward refs for input components (#1068) @jamesfan
- feat(checkbox): Add aria-checked for accessibility and testability (#1045) @svagi
- docs: Popup accessible example (#1056) @csongnguyen
- chore: Upgrade Card to use Box (#1086) @NicholasBoll
- refactor(popup): Convert Popup to a compound component (#1065) @NicholasBoll
- fix(skeleton): Change skeleton animation to fade in and out (#1084) @willklein
- fix: Refactor/modal compound component (#1091) @NicholasBoll
- feat: Remove Preview/Tokens & Upgrade CKR Labs Type Hierarchy (#1078) @alanbsmith
- fix: Fix type upgrade issues (#1098) @alanbsmith
- docs: Update migration and Popup docs (#1095) @NicholasBoll
- feat: Add compound component utility functions (#946) @NicholasBoll
- test: Add verifyComponent test helper and fix test types (#958) @NicholasBoll
- docs: Add compound Component Creation Doc (#950) @NicholasBoll
- chore: Add slash imports (#992) @anicholls
- docs: Relocate supplemental docs to new docs module (#998) @anicholls
- chore: Deprecate CKCSS and update migration guide (#1000) @anicholls
- fix: Scope buttonRef codemod to only Button components (#1022) @NicholasBoll
- fix: Fix slash import paths (#1038) @NicholasBoll
- chore: Remove package.json from create component script (#1039) @NicholasBoll
- chore: Bump y18n from 3.2.1 to 3.2.2 (#1011) @dependabot
- chore: Bump elliptic from 6.5.3 to 6.5.4 (#993) @dependabot
- ci: Upgrade to node 14 (#1044) @NicholasBoll
- chore: Upgrade storybook to v6.2.9 (#1055) @anicholls
- chore: Bump ssri, ua-parser-js, handlebars, lodash, and hosted-git-info (#1049) @dependabot
- feat: Add Canvas Kit Preview and focus the purpose of CK Labs (#1069) @anicholls
- feat: Add package version in Storybook (#1082) @mihaelamiches
- docs: Review v5 migration guide (#1089) @jamesfan
- fix: Update canvas-kit-react package.json (#1099) @alanbsmith
- fix(tabs): Fix aria-selected for unselected tabs (#1033) @angadkaflay
- fix(tooltip): Allow aria-label pass-through in muted tooltips (#1037) @NicholasBoll
- fix(popup): Allow popups to be owners of each other (#1054) @csongnguyen
- fix(combobox): Fix Combobox RTL issue (#1064) @alanbsmith
- refactor: Button recategorization (#1034) @anicholls
- fix(popup): Allow tooltips to close alongside modals on click outside (#1074) @csongnguyen
- fix: Move InputProvider from tokens to common (#1076) @anicholls
- feat(common): Add Box Component @alanbsmith
- feat(comboxbox):Added default maxHeight to autocomplete container (#1079) @sraj
- feat: Forward refs for input components (#1068) @jamesfan
- feat(checkbox): Add aria-checked for accessibility and testability (#1045) @svagi
- chore: Upgrade Card to use Box (#1086) @NicholasBoll
- refactor(popup): Convert Popup to a compound component (#1065) @NicholasBoll
- fix(skeleton): Change skeleton animation to fade in and out (#1084) @willklein
- fix: Refactor/modal compound component (#1091) @NicholasBoll
- feat: Remove Preview/Tokens & Upgrade CKR Labs Type Hierarchy (#1078) @alanbsmith
- docs: Add better documentation to the
as
prop (#1046) @NicholasBoll - docs(tabs): Update single tabs panel example (#1047) @NicholasBoll
- docs: Update Create Compound Component docs (#1048) @NicholasBoll
- docs: Popup accessible example (#1056) @csongnguyen
- docs: Review v5 migration guide (#1089) @jamesfan
- chore: Bump y18n from 3.2.1 to 3.2.2 (#1011) @dependabot
- chore: Bump elliptic from 6.5.3 to 6.5.4 (#993) @dependabot
- ci: Fix Tooltip flaky visual test (#1035) @NicholasBoll
- ci: Upgrade to node 14 (#1044) @NicholasBoll
- chore: Upgrade storybook to v6.2.9 (#1055) @anicholls
- chore: Bump ssri, ua-parser-js, handlebars, lodash, and hosted-git-info (#1049) @dependabot
- fix: Prevent finding matches on the wrong imports (buttons codemod) @anicholls
- feat: Add Canvas Kit Preview and focus the purpose of CK Labs @anicholls
- fix: Update yarn.lock @alanbsmith
- ci: Fix font-loading issue by predownloading @NicholasBoll
- feat: Add package version in Storybook (#1082) @mihaelamiches
- chore(card): Convert to a Compound Component and create codemod (#1028) @NicholasBoll
- fix: Fix slash import paths (#1038) @NicholasBoll
- chore: Remove package.json from create component script (#1039) @NicholasBoll
- feat(common): Spread additional props on CanvasProvider @NicholasBoll
- chore(tabs): Convert to a compound component utility functions (#953) @NicholasBoll
- feat(tabs): Update Tabs list model to support passing index position (#990) @omasrii
- fix: Allow refs to be passed to createComponent components (#1009) @NicholasBoll
- chore: Refactor Button to use createComponent (#1017) @NicholasBoll
- chore: Add slash imports (#992) @anicholls
- chore: Update spacing tokens + codemod (#1010) @alanbsmith
- fix: Scope buttonRef codemod to only Button components (#1022) @NicholasBoll
- chore: Rename core packages to tokens and add codemod @alanbsmith
- fix: Updates jscodeshift build directories @alanbsmith
- docs: Add compound Component Creation Doc (#950) @NicholasBoll
- docs: Update v5 migration TOC and ordering @anicholls
- docs: Relocate supplemental docs to new docs module (#998) @anicholls
- chore: Deprecate CKCSS and update migration guide (#1000) @anicholls
- test: Add verifyComponent test helper and fix test types (#958) @NicholasBoll
- ci: Fix error in prerelease logic in publish-canary script @anicholls
- ci: Update setup-node action and remove custom matcher (#994) @NicholasBoll
- ci: Fix canary dist-tag for prerelease canaries in slack message (#1003) @anicholls
- docs: Fix Github Pages story link in Specifications (#1005) @NicholasBoll
- fix: Fix specification story links @NicholasBoll
- feat: Add basic primary theme support to CSS components (#995) @aaronanderson
- feat(popup): Add OverflowTooltip and update Popup behaviors to match a11y specs (#980) @NicholasBoll
- fix(modal): Update readme with correct import (#988) @mannycarrera4
- chore: Bump prismjs from 1.17.1 to 1.23.0 (#986) @dependabot
- ci: Update setup-node action and remove custom matcher (#994) @NicholasBoll
- fix(popup): Fix Popup icon RTL bug (#983) @alanbsmith
- fix(side-panel): Fix keyframes animation (#984) @alanbsmith
- chore: Update peerDependencies to support React 17 (#974) @alanbsmith
- docs: Update Component Status doc guideline links (#979) @NicholasBoll
- docs(toast): Update Toast docs (#982) @alanbsmith
- fix(tabs): Remove event.preventDefault from TabList #969 @NicholasBoll
- feat(Pagination): Update Pagination component (see notes) #954 @alanbsmith
- feat: Add closeButtonAriaLabel to Modal Component #959 @UltraTempest
- feat(skeleton): Add option for different skeleton colors #939 @stefanuros
- feat(badge): Add custom limit to CountBadge #935 @alanbsmith
- feat(common): Add useIsRTL hook to common module #971 @alanbsmith
- fix: Add crossorigin to font preloads #967 @NicholasBoll
- ci: Use pull_request_target in GH Actions @NicholasBoll
- docs: Fix Story names and extra imports #966 @NicholasBoll
- docs: Improve documentation #964 @NicholasBoll
- ci: Remove jest code-coverage threshold #957 @alanbsmith
- docs: Add compound component doc #937 @NicholasBoll
- feat: Add window config option to inherit or override mono font family #916 @anicholls
- chore: Bump ini from 1.3.5 to 1.3.7 #931 @NicholasBoll
- chore: Update @workday/canvas-system-icons-web dependency #940 @alanbsmith
- chore(form-field): Update FormField Readme #930 @alanbsmith
- fix: Fix create component scripts #929 @jamesfan
- docs: Standardize README badges for Labs components #928 @jamesfan
- Update Pagination component #954
- This is a breaking change in this Labs component. Please refer to the migration guide for more information on how to upgrade.
- feat: Add compound component utility functions (#946) @NicholasBoll
- build: Re-enable canary builds for prerelease/v5 @anicholls
- fix(menu): Remove minimum width and collapse around the content (#922) @willklein
- fix(common): Fix mouseFocusBehavior type issue (#926) @NicholasBoll
- feat: Upgrade Storybook to v6.1.3 (#897) @anicholls
- fix: Add Emotion dependency to fix transient dep issue (#917) @anicholls
- fix: Re-enable postcss for storybook builds to transpile svg-load (#919) @anicholls
- fix(color-picker): Detect different formats of
#ffffff
(#884) @NicholasBoll - docs(popup): Fix usePopup hook example docs (#911) @Parker-Ledoux
- fix(select): Allow a single option (#914) @NicholasBoll
- ci: Use exec instead of node-cmd (#908) @lychyi
- chore: Fix create component scripts (#912) @Parker-Ledoux
- feat: Add SidePanel to labs (#866) @lychyi
- fix(button): Fix accent colors on IconButton when toggled on (#895) @jamesfan
- fix(side-panel): Update Toggle spacing (#902) @lychyi
- feat(labs): Add Tabs component (#569) @darcar31
- docs: Remove universal selector for section elements (#896) @lychyi
- chore: Update publish-canary.js @lychyi
- ci: Increase buffer size for publish cmd (#903) @lychyi
With the #895, if you're using a toggleable IconButton
component, you will experience visual diffs for the following icons (they were not rendering properly prior, they should now look correct when "toggled" on):
adHocDelivery
alarmClockPlus
alarmClock
boxPlus
boxTextCheck
boxTextPlus
boxTextSearch
boxTextUser
cArea100
cAreaLayered
cAreaStacked
cBar100
cBarClustered
cBarStacked
cBubble
cColumn100
cColumnClustered
cColumnLine
cColumnStacked
cDualLine
cPie
cScatter
calendarUser
cameraPlus
cardView
clipboardBlankCheck
clipboardCheck
commentActive
dashboardExpenses
documentCandidateSearch
documentsCheck
flashAuto
fontSize
highlight
jobInfo
lockPlus
manageDelivery
orderedList
pill
qrCode
receipts
region
reportParameter
rowsCheck
rowsPlus
select
timeOffBalance
time
timelinePerson
unlink
userForward
userPlus
workbook
- refactor(select): Convert more of Select to FC and improve code style (#827) @jamesfan
- fix(popup): Cannot read property 'createContainer' of undefined (#889) @mannycarrera4
- fix(modal): Add exception to modal enter animation (#867) @NicholasBoll
- fix(menu): Update MenuItem icon styles (#885) @alanbsmith
- docs: Fix broken links in Storybook (#876) @NicholasBoll
- fix(popup-stack): Move adapter var to popup-stack global namespace (#865) @csongnguyen
- feat(badge): Add canvas-kit-css-badge to canvas-kit-css (#860) @alanbsmith
- fix(color-picker): Separate popup from color picker (#846) @mannycarrera4
- docs(core): Update core CSS border-radius docs (#871) @alanbsmith
- docs(popup): Change language around use of usePopupStack (#874) @NicholasBoll
- feat(popup): Add previousFocusRef to useCloseOnEscape hook (#873) @alanbsmith
- fix(drawer): Add support for word wrapping in IE11 (#879) @alanbsmith
- feat(breadcrumbs): Add Breadcrumbs component (#776) @alanbsmith
- fix(color-picker): Fix IE rendering for color picker swatchbook (#832) @jtschult
- feat(menu): exported MenuProps (#829) @rileymiller
- docs(segmented-control): Remove reference to labs (#839) @lychyi
- fix(select): Prevent disabled options from being keyboard-focused (#837) @jamesfan
- fix(color-picker): Remove data attributes (#838) @lychyi
- feat(color-picker): Update and export default color set (#831) @jtschult
- test: Add cypress test for placeholder in input and text area component (#841) @mannycarrera4
- fix(select): Replace disabled attribute on options with aria-disabled (#844) @jamesfan
- fix(modal): Bump focus-trap-js to 1.1.0 and add test (#857) @alexandrzavalii
- fix(form-field): Fix legend overflow bug (IE11) (#853) @lychyi
- docs: Create suggestion template (#819) @jpante
- docs: Create spike issue template (#818) @jpante
- ci: Add new issues into Backlog project (#823) @NicholasBoll
- docs: Update CHANGELOG w/ correct release dates (#821) @lychyi
- chore: Bump prismjs from 1.17.1 to 1.21.0 (#826) @dependabot
- chore: Bump node-fetch from 2.6.0 to 2.6.1 (#854) @dependabot
- fix(skeleton): Remove aria-live and add loading text content (#804) @NicholasBoll
- fix(menu): Auto scroll to selected menu item if necessary (#812) @NicholasBoll
- test(menu): Fix assertion name to be more clear @NicholasBoll
- docs(skeleton): Update to remove mention of aria-live (#814) @lychyi
- chore: Upgrade dependencies (#811) @NicholasBoll
- fix(skeleton): Remove aria-live and add loading text content (#804) @NicholasBoll
- fix(menu): Auto scroll to selected menu item if necessary (#812) @NicholasBoll
- test(menu): Fix assertion name to be more clear @NicholasBoll
- docs(skeleton): Update to remove mention of aria-live (#814) @lychyi
- fix(skeleton): Remove aria-live and add loading text content (#804) @NicholasBoll
- fix(menu): Auto scroll to selected menu item if necessary (#812) @NicholasBoll
- test(menu): Fix assertion name to be more clear @NicholasBoll
- docs(skeleton): Update to remove mention of aria-live (#814) @lychyi
- fix(select): Fix undesired scrolling when activating menu (#795) @jamesfan
- fix: Update Popup readme example (#798) @alanbsmith
- fix(select): Support required and aria-required (#797) @jamesfan
- fix(color-picker): Prevent enter key forwarding to next focus target (#799) @NicholasBoll
- fix(select): Add cancelAnimationFrame to unmount (#803) @jamesfan
- fix(menu): Delay focus to prevent scrolling (#802) @NicholasBoll
- fix(menu): Delay focus to prevent scrolling (#802) @NicholasBoll
- test(radio): Fix prop table logic (#748) @lychyi
- fix(select): Fix theming colors for proper contrast (#747) @jamesfan
- test(skeleton): Add stories and enabled snapshots (#720) @mannycarrera4
- chore: Add iconRef to Icon components (#707) @alanbsmith
- chore(popup-stack): Fix repo url in package.json (#753) @lychyi
- fix(select): Fix a11y issues (#764) @jamesfan
- fix(select): Fix typeahead behavior and scrolling (#754) @jamesfan
- feat(popup): Add getAnchorClientRect prop for custom positioning (#765) @luislikescoffee
- fix: Add explicit arg to initEvent in ComboBox and header SearchBar (#767) @lychyi
- test(text-area): Added placeholder with value unit test (#772) @amritbhullar
- refactor(form-field): Update error message color (#774) @jamesfan
- feat(combobox): Allow grouping of listbox items (#535) @vibdev
- fix(menu): Fix style so item is not truncated in IE11 (#777) @mannycarrera4
- fix(avatar): Fix undesired halo around Dark variant (#783) @6r3al
- fix: Address various publish-canary.js bugs (#749) @lychyi
- docs: Added Workday Design page to README file (#737) @tiarebalbi
- ci: Fix canary regex to grab version (#758) @anicholls
- feat: Support SSR (#649) @anicholls
- refactor(common): Update pickForegroundColor to use fallback color logic (#752) @donovangini
- feat(popup-stack): Add adapter API to integrate with other popup systems (#782) @NicholasBoll
This is a potentially breaking change if you use usePopupStack
and ReactDOM.createPortal(contents, document.body)
:
We added createContainer
to PopupStack
. React no longer controls the element that is given to the the PopupStack
. The PopupStack
will now create a containing element that your content should render into. If you recognize this pattern, you'll need to render into stackRef.current
instead of document.body
.
Before:
const ref = React.createRef<HTMLDivElement>(null);
usePopupStack(ref)
React.createPortal(contents, document.body)
Now
const stackRef = usePopupStack()
React.createPortal(contents, stackRef.current)
The changes below are the consolidation of changes made across all 4.0.0 beta versions (v4.0.0-beta.0-5
).
To review the breaking changes made in this release, check out the v4.0.0 Upgrade Guide.
- ci: Release canary builds for prerelease branches (#481) @anicholls
- ci: Fix prerelease canary builds (#501) @anicholls
- feat: Add script for easy promotion of labs components (#522) @anicholls
- chore: Manage dependencies (#533) @anicholls
- fix: Remove SyntheticEvent type usage (#499) @donovangini
- refactor: Destructure default props (#525) @mannycarrera4
- chore: Upgrade packages to fix vulnerabilities (#531) @anicholls
- feat(core): Add window configuration option to inherit font family (#553) @anicholls
- fix: Add type checking to PRs and fix type errors (#609) @NicholasBoll
- ci: Use sha in prerelease version to avoid duplicates (#616) @anicholls
- ci: Trim sha before using it for canary preid (#619) @anicholls
- ci: Fix version regex for canary publish (#622) @anicholls
- fix: Clean up ts3.5 files (#630) @NicholasBoll
- ci: Add script to announce trunk build failures in slack (#628) @anicholls
- chore: Upgrade Babel and presets to support optional chaining (#631) @NicholasBoll
- chore: Fix version issue in beta build (#644) @anicholls
- chore: Fix create-module and promote-module (#660) @NicholasBoll
- fix: Fix check-lockfile call during precommit linting (#663) @jamesfan
- ci: Improve canary builds & publish behavior (#665) @anicholls
- docs: Clean up 4.0 migration guide (#677) @anicholls
- fix: Cleanup after merging master into prerelease/v4 @anicholls
- chore: Update canvas-colors-web dependencies (#706) @anicholls
- chore: Promote theming functions out of labs (#558) @mannycarrera4
- chore: Move theme functionality from labs to common (#594) @mannycarrera4
- fix(common): Improve theming API stability (#593) @anicholls
- fix(common): Auto-generate contrast color for partial theme (#700) @donovangini
- refactor(button): Simplify Button components and prep for theming (#471) @anicholls
- refactor: Rename and move IconButtonToggleGroup to SegmentedControl (#505) @anicholls
- fix(modal): Use React portals for accessibility fixes (#419) @NicholasBoll
- chore: Promote SegmentedControl out of labs (#524) @anicholls
- fix(button): Misc. fixes after refactor (#509) @anicholls
- feat(button): Add theming support to buttons (#527) @anicholls
- refactor(button): TextButton design updates (#540) @anicholls
- feat(button): Add Hyperlink component (#541) @anicholls
- feat(tooltip): Refactor to a simpler API (#528) @NicholasBoll
- feat(core): Allow InputProvider to use a configurable container (#546) @mannycarrera4
- fix(button): Fix IconButton states and update TextButton CSS (#577) @anicholls
- ci(tooltip): Fix chromatic flag (#585) @NicholasBoll
- fix: Rename prop labels to match aria labels (#551) @mannycarrera4
- fix(modal): Add missing aria-modal=true and add aria-label (#588) @alexandrzavalii
- feat(button): Add href support (#590) @anicholls
- fix(color-picker): Fix accessibility announcement for color input (#639) @mannycarrera4
- test(toast): Fix chromatic stories for toast (#625) @mannycarrera4
- fix(pagination): Provide aria live attribute for accessbility (#620) @mannycarrera4
- fix(avatar): Combine Avatar & AvatarButton and provide fallback image (#614) @vibdev
- feat(select): Add theming to select in labs (#648) @mannycarrera4
- fix(avatar): Fix misalignment on ie11 (#676) @alexandrzavalii
- fix(toast): Action link align on new line (#682) @alexandrzavalii
- fix(button): Update button readme with toolbar section (#680) @mannycarrera4
- feat(button): Add toolbar dropdown button (#684) @mannycarrera4
- test(card): Add stories and enable snapshots (#708) @mannycarrera4
- feat: Add a Popup Stack manager to Canvas Kit (#670) @NicholasBoll
- fix: Use theme contrast color for input "checks" (#719) @anicholls
- fix(button): Misc. styling fixes and update to focusRing API (#726) @anicholls
- fix(form-field): Fix default prop bug (#702) @alanbsmith
- fix(segmented-control): Misc. fixes and story improvements (#730) @anicholls
- fix(icon): Fix icon color references (#733) @anicholls
- feat(select): Render menu using a portal (#641) @jamesfan
- test: Improve snapshot infrastructure and organization (#687) @anicholls
- chore: Bump websocket-extensions from 0.1.3 to 0.1.4 (#703) @dependabot
- chore: Remove unneeded dependency (#721) @NicholasBoll
- fix(select): Fix miscellaneous UI issues (#672) @jamesfan
- test(select): Fix visual testing states for options (#606) @jamesfan
- test(avatar): Add snapshot tests for Avatar and AvatarButton (#690) @anicholls
- test(tooltip): Add snapshot test for various placements (#691) @anicholls
- test(status-indicator): Add snapshots (#692) @anicholls
- test(modal): Add modal snapshots (#693) @anicholls
- test(avatar): Fix visual regression threshold (#723) @NicholasBoll
- test(core): Add new stories and enable snapshots (#696) @anicholls
- test(drawer): Add stories and snapshots for drawer (#727) @mannycarrera4
- feat(core): Add window configuration option to inherit font family (#722) @anicholls
- test(side-panel): Add stories and enable snapshots (#715) @mannycarrera4
- ci(avatar): Fixed threshold setting (#731) @NicholasBoll
- test(status-indicator): Fix visual testing story icons (#732) @anicholls
- chore(core): Update Labs Core stories and add snapshots (#735) @alanbsmith
- docs: Clean up 4.0 migration guide (#677) @anicholls
- fix: Cleanup after merging master into prerelease/v4 @anicholls
- chore: Update canvas-colors-web dependencies (#706) @anicholls
- fix(avatar): Fix misalignment on ie11 (#676) @alexandrzavalii
- fix(toast): Action link align on new line (#682) @alexandrzavalii
- fix(button): Update button readme with toolbar section (#680) @mannycarrera4
- feat(button): Add toolbar dropdown button (#684) @mannycarrera4
- test(card): Add stories and enable snapshots (#708) @mannycarrera4
- fix(common): Auto-generate contrast color for partial theme (#700) @donovangini
- feat: Add a Popup Stack manager to Canvas Kit (#670) @NicholasBoll
- fix: Use theme contrast color for input "checks" (#719) @anicholls
- fix(button): Misc. styling fixes and update to focusRing API (#726) @anicholls
- fix(form-field): Fix default prop bug (#702) @alanbsmith
- fix(segmented-control): Misc. fixes and story improvements (#730) @anicholls
- fix(icon): Fix icon color references (#733) @anicholls
- feat(select): Render menu using a portal (#641) @jamesfan
- docs: Remove rebase section for pull requests (#647) @NicholasBoll
- chore: Add invalid import rule (#652) @alanbsmith
- fix: Fix incorrect dep listing (#668) @lychyi
- chore: Add public config to create-component script (#667) @alanbsmith
- feat(badge): Add CountBadge component (#566) @alanbsmith
- fix: Add public access to Badge publish config (#653) @alanbsmith
- fix: Align hover ripple for checkbox and radio components in IE11 (#651) @lychyi
- fix(switch): Fix click target for switch (#671) @mannycarrera4
- chore: Fix create-module and promote-module (#660) @NicholasBoll
- fix: Fix check-lockfile call during precommit linting (#663) @jamesfan
- ci: Improve canary builds & publish behavior (#665) @anicholls
- fix(avatar): Combine Avatar & AvatarButton and provide fallback image (#614) @vibdev
- feat(select): Add theming to select in labs (#648) @mannycarrera4
- chore: Upgrade Babel and presets to support optional chaining (#631) @NicholasBoll
- chore: Fix version issue in beta build (#644) @anicholls
- fix(pagination): Provide aria live attribute for accessbility (#620) @mannycarrera4
- chore: Upgrade packages to fix vulnerabilities (#531) @anicholls
- feat(core): Add window configuration option to inherit font family (#553) @anicholls
- fix: Add type checking to PRs and fix type errors (#609) @NicholasBoll
- ci: Use sha in prerelease version to avoid duplicates (#616) @anicholls
- ci: Trim sha before using it for canary preid (#619) @anicholls
- ci: Fix version regex for canary publish (#622) @anicholls
- fix: Clean up ts3.5 files (#630) @NicholasBoll
- ci: Add script to announce trunk build failures in slack (#628) @anicholls
- chore: Promote theming functions out of labs (#558) @mannycarrera4
- chore: Move theme functionality from labs to common (#594) @mannycarrera4
- fix(common): Improve theming API stability (#593) @anicholls
- fix(button): Fix IconButton states and update TextButton CSS (#577) @anicholls
- ci(tooltip): Fix chromatic flag (#585) @NicholasBoll
- fix: Rename prop labels to match aria labels (#551) @mannycarrera4
- fix(modal): Add missing aria-modal=true and add aria-label (#588) @alexandrzavalii
- feat(button): Add href support (#590) @anicholls
- fix(color-picker): Fix accessibility announcement for color input (#639) @mannycarrera4
- test(toast): Fix chromatic stories for toast (#625) @mannycarrera4
- ci: Enable Github Actions for pull requests (#557) @NicholasBoll
- ci: Fix annotation for extra dependencies (#578) @NicholasBoll
- chore: Update Lerna (#583) @lychyi
- fix: Fix eslint for VSCode (#589) @NicholasBoll
- chore: Update Cypress to 4.4.1 and remove custom TS handling (#596) @NicholasBoll
- chore: Refactor control wrapper to hooks for easier examples (#597) @NicholasBoll
- chore: Decrease output of build-storybook (#598) @NicholasBoll
- fix: Fix ESLint VSCode plugin (#599) @NicholasBoll
- chore: Update copyright in license files (#615) @jpante
- fix(ColorPicker): Export ColorSwatch from the ColorPicker index (#580) @BlueVajra
- fix(table): Remove focus on CSS table rows (#595) @NicholasBoll
- test(toast): Write test for Toasts (#584) @mannycarrera4
- feat(select): Implement Canvas menu (#454) @jamesfan
- test(popup): Add tests for Popup (#600) @mannycarrera4
- fix: Remove SyntheticEvent type usage (#499) @donovangini
- refactor: Destructure default props (#525) @mannycarrera4
- refactor(button): TextButton design updates (#540) @anicholls
- feat(button): Add Hyperlink component (#541) @anicholls
- feat(tooltip): Refactor to a simpler API (#528) @NicholasBoll
- feat(core): Allow InputProvider to use a configurable container (#546) @mannycarrera4
- chore: Update thank you on README (#511) @lychyi
- ci: Quiet Travis build-storybook webpack logs (#516) @anicholls
- docs: Update Component Status (#547) @jpante
- feat(color-picker): Add color picker (#462) @laurenraddatz
- fix: Combobox and search bar not in container (#513) @vibdev
- test(form-field): Add testing-library/react and cypress tests (#482) @mannycarrera4
- fix(menu): Update aria role for menu (#520) @mannycarrera4
- feat(combobox): Convert to functional component and add translation function for status text (#532) @vibdev
- fix(color-picker): Design & use case improvements (#519) @anicholls
- fix(menu): Fix flashing on initial selected index (#561) @NicholasBoll
- ci: Release canary builds for prerelease branches (#481) @anicholls
- ci: Fix prerelease canary builds (#501) @anicholls
- feat: Add script for easy promotion of labs components (#522) @anicholls
- chore: Manage dependencies (#533) @anicholls
- [BREAKING] refactor(button): Simplify Button components and prep for theming (#471) @anicholls
- [BREAKING] refactor: Rename and move IconButtonToggleGroup to SegmentedControl (#505) @anicholls
- [BREAKING] fix(modal): Use React portals for accessibility fixes (#419) @NicholasBoll
- [BREAKING] chore: Promote SegmentedControl out of labs (#524) @anicholls
- fix(button): Misc. fixes after refactor (#509) @anicholls
- feat(button): Add theming support to buttons (#527) @anicholls
- test: Explicitly enable snapshots (#478) @lychyi
- docs: Update docs for visual testing change (#490) @NicholasBoll
- chore: Add lab modules as valid scopes for commit messages (#491) @NicholasBoll
- feat: Allow a module's story to self-reference the package (#494) @NicholasBoll
- fix: Avoid polyfill requirements (#492) @anicholls
- chore: Simplify Chromatic CI runs (#495) @anicholls
- fix: Update contributing readme with correct testing reference (#498) @anicholls
- build: Improve PR build times (#500) @lychyi
- chore: Update Storybook to 5.3 (#453) @lychyi
- chore: Remove unused typescript-eslint depenency (#502) @anicholls
- ci: Explicit use of yarn for Chromatic cmd (#503) @lychyi
- ci: Travis build speed improvements (#504) @lychyi
- feat(radio): Add theming support (#457) @anicholls
- feat(switch): Add theming support (#465) @anicholls
- test(button): Add static state tables for all Button components (#469) @anicholls
- feat(pagination): Add pagination component to labs (#301) @nikolasjchaconas
- feat(drawer): Make the close icon in DrawerHeader optional (#507) @devonsoto77
- ci: Add check for missing or unused dependencies (#437) @anicholls
- chore: Change nvmrc to use lts/dubnium (#441) @lychyi
- chore: Update Cypress/Storybook integration to use cypress-storybook (#439) @NicholasBoll
- ci: Add canary build script on master commit/merge (#443) @anicholls
- ci: Fix canary build null version error (#444) @anicholls
- ci: Run canary publish on master commit instead of tag (#446) @anicholls
- test: Add @testing-library/cypress to the project (#442) @NicholasBoll
- fix: Use correct module names in readmes for labs components (#445) @anicholls
- ci: Force publish all modules instead of relying on version check (#448) @anicholls
- ci: Disable git clone depth (#449) @anicholls
- chore: Upgrade Cypress to 4.0.0 (#450) @NicholasBoll
- ci: Announce canary builds on slack (#458) @anicholls
- ci: Use node script for publishing canary versions (#461) @anicholls
- ci: Pull canary version from lerna publish logs instead of lerna.json (#463) @anicholls
- ci: Fix undefined variable in canary publish (#464) @anicholls
- ci: Fix testing mistake with canary publish (#466) @anicholls
- ci: Take quieter lerna output into account in canary publish (#467) @anicholls
- test(color-picker): Add tests and convert them to react-testing-library (#407) @sahlhoff
- test(text-area): Change tests to react-testing-library and improve coverage (#394) @stephanerangaya
- fix(popup): Fix responsiveness for popup (#438) @alexandrzavalii
- fix(radio): Update checked dot position to scale properly (#393) @erik-vanlankvelt
- fix(icon): Remove React dependency from CSS kit (#447) @jamesfan
- test(radio): Change tests to react-testing-library and improve coverage (#381) @mannycarrera4
- test(select): Change tests to react-testing-library and improve coverage (#412) @jamesfan
- feat(text-input): Add theming to Text Input (#411) @mannycarrera4
- docs(labs): Fix broken link on ComboBox Readme (#455) @NicholasBoll
- feat(checkbox): Add theming support (#456) @anicholls
- fix(button): Avoid using transition: all for buttons (#460) @mannycarrera4
- feat(text-area): Add theming support (#459) @mannycarrera4
- fix(button): Fix Component Selector Issue (#474) @lychyi
- fix(icon): Support second accent layer (#475) @mannycarrera4
- docs: Add test documentation (#382) @NicholasBoll
- chore: Correct Changelog (#433) @lychyi
- fix: Add missing labs-core imports (#435) @anicholls
- test(switch): Redo switch tests in react-testing-library (#386) @lychyi
- fix(labs): Remove global type from useTheme hook (#430) @lychyi
- chore: Update Storybook Chromatic (#397) @NicholasBoll
- fix: Add missing rtl-css-js dependency (#399) @josephnle
- docs: Fix Storybook iframe rendering (#401) @NicholasBoll
- fix: Increase storybook test timeout (#402) @NicholasBoll
- fix: Fix Wallaby config for labs components (#403) @NicholasBoll
- chore: Upgrade to Chromatic 2.0 (#405) @NicholasBoll
- test: Fix StaticStatesTable row check (#415) @anicholls
- refactor: Update StaticStatesTable to be more flexible (#418) @anicholls
- ci: Add Chroma v1 for cross-browser visual regression (#421) @NicholasBoll
- test: Add tests for permutateProps utility function (#424) @anicholls
- fix(text-input): Removed the "clear" button on text input in IE 11 (#396) @Parker-Ledoux
- feat: Add bidirectionality support to input components (#337) @stephanerangaya
- feat(button): Add support for icons in CSS buttons (#353) @stephanerangaya
- fix(select): Includes Select to CKR main exports (#410) @sahlhoff
- fix(combobox): default to using ARIA 1.0 spec (#380) @vibdev
- test(checkbox): Change tests to react-testing-library and improve coverage (#372) @anicholls
- fix(toast): Fix typo in success message story (#417) @zorfling
- docs: Audit prop descriptions (#326) @sahlhoff
- test(text-input): Change tests to react-testing-library and improve coverage (#390) @stephanerangaya
- fix(form-field): Provide translation props for alert and error labels (#423) @mannycarrera4
- fix(button): Address issues with various IconButton states (#271) @mannycarrera4
- fix(header): Allow elements to flex correctly in IE11 (#427) @lychyi
- chore: Use proper prettier file in configs (#348) @Parker-Ledoux
- docs: Update Storybook IA (#300) @sahlhoff
- docs: Update incorrect story category for deprecated CSS buttons (#355) @sahlhoff
- docs: Fix Storybook category for CSS Text Input (Left Label) (#357) @jamesfan
- fix: Update storybook so knobs work as expected (#384) @vibdev
- fix: Build Storybook for IE11 (#370) @lychyi
- chore: Add StaticStates wrapper (#377) @mannycarrera4
- build(deps): Bump handlebars from 4.1.2 to 4.5.3 (#388) @dependabot
- chore: Update readme with thankyous (#395) @lychyi
- feat(fonts): Add missing CSS fonts module (#342) @anicholls
- feat(button): Add text button css (#335) @mannycarrera4
- feat(modal): Update focus-trap library to focus-trap-js (#328) @alexandrzavalii
- fix(text-input): Update type of inputRef (#346) @davvidbaker
- feat(labs): Theming (react) (#272) @anicholls
- fix: Allow icon injecting in shadowDOM (#345) @vibdev
- fix(labs): Fix theming implementation (#360) @anicholls
- feat: Add bidirectionality support (#288) @stephanerangaya
- test: Fix modal specs (#374) @NicholasBoll
- ci: Temporarily convert to TravisCI while billing is being figured out (#318) @NicholasBoll
- ci: Exit 0 on ChromaticQA changes (#325) @NicholasBoll
- fix: Add missing dependencies to CKCSS universal module (#322) @jamesfan
- build: Add Mdx support to webpack config (#296) @sahlhoff
- fix(side-panel): Add flexibility for aria attributes (#327) @mannycarrera4
- fix(modal): Add z-index to modal (#331) @mannycarrera4
- feat(menu): Fix import of React dependency. (#334) @jsievenpiper
- docs: Fix Component Status table (#332) @jpante
- fix(common): bad quote marks on accessible hide CSS (#344) @vibdev
- build: Upgrade Storybook to 5.2 (#267) @sahlhoff
- test: Add dependencies sync check (#292) @NicholasBoll
- chore: Add wallaby config (#297) @NicholasBoll
- chore: Update chromatic master job (#299) @NicholasBoll
- docs: Add browser support section (#287) @NicholasBoll
- fix: Add missing tilde on SASS imports and update Canvas Kit CSS usage README (#307) (#308) @vibdev
- fix(icon): Add index.scss to package.json for css icon (#306) @mannycarrera4
- feat(labs): Add Drawer component (#277) @mannycarrera4
- fix(side-panel): Change width of children container when closed (#304) @mannycarrera4
- fix: Rename -webkit-font-smoothing- to WebkitFontSmoothing (#298) @alexandrzavalii
- fix(common): Port accessible hide styles from JS to CSS (#310) @vibdev
- fix(labs): Update incorrect emotion version in labs core (#290) @anicholls
- fix: Add @emotion/is-prop-valid to components that need it (#289) @anicholls
- ci: Update ChromaticQA for better baselines (#269) @NicholasBoll
- ci: Update to use chroma/action (#273) @NicholasBoll
- test: Add axe to Cypress tests (#274) @NicholasBoll
- fix: Resolve lint and test warnings (#276) @anicholls
- fix: Add authors to 3.0.0-beta release changelog (#281) @mannycarrera4
- fix(layout): Add shouldForwardProp to Layout and Column components (#265) @sahlhoff
- fix(header): Support onMenuClick without menuToggle (#268) @jamesfan
- fix(button): Update missed css styles for buttons (#260) @mannycarrera4
- feat: Add support for translation (#251) @mannycarrera4
- fix(checkbox): Added an indeterminate checkbox type (#275) @Parker-Ledoux
- feat(button): Utilize input provider for mouse input focus (#280) @anicholls
- refactor(Header): Move search out and create combobox component (#157) @vibdev
- chore: Upgrade to Emotion 10 (#246) @anicholls
- ci: Fix fork failures (#241) @NicholasBoll
- ci: Fix Cypress tests (maybe?) (#248) @NicholasBoll
- ci: Add ChromaticQA to CI (#254) @NicholasBoll
- ci: Remove Travis from pull requests (#258) @NicholasBoll
- build: Replace TSLint with ESLint (#242) @anicholls
- chore: Remove snapshot tests (#259) @NicholasBoll
- chore(core): Add react-emotion as a dep (#256) @lychyi
- fix(toast): Fix background color on Safari (#245) @stephanerangaya
- fix(layout): Compensate column width calculations (#238) @sahlhoff
- docs: Update component_status.md
- ci: Create github action for CI and add Cypress to CI (#240) @NicholasBoll
- feat(modal): Implement CSS Modal to match React implementation (#185) @jamesfan
- refactor: A11y updates for CSS stories and Readmes (#221) @anicholls
- fix: Address misc. bugs in create-component script (#232) @anicholls
- fix: Change casing for aria-labelledby attr (#236) @lychyi
- fix: Move uuid from defaultProps to component instance (#228) @stephanerangaya
- fix(checkbox): Change default id to be unique per instance (#192) @mannycarrera4
- fix(menu): Add Menu example with icons and grow support (#147) @jamesfan
- fix(button): Fix accessibility styling for CSS buttons (#186) @stephanerangaya
- fix(menu): Always focus selected menu item and add tab accessibility (#239) @jayscheidt
- refactor(card): Update CSS styles to match React implementation (#113) @mannycarrera4
- refactor(icon): Update CSS styles to match React implementation (#159) @jamesfan
- refactor(tooltip): Update CSS story to match the React version (#198) @stephanerangaya
- refactor: Fix references to react attributes in css readmes
- fix: Update alert colors and error colors
- test: Add Cypress modal specifications (#184) @NicholasBoll
- feat(button): Promote React beta Button (#191) @mannycarrera4
- feat(button): Add blue css buttons (#231) @mannycarrera4
- feat(core): Add border radius variables to CSS and React (#204) @stephanerangaya
- feat(banner): Update CSS styles to match React (#50) @stephanerangaya
- refactor(tooltip): Update CSS styles to match React implementation (#49) @stephanerangaya
- refactor(forms): Split CSS forms module into individual modules (#24) @stephanerangaya
- refactor(loading-animation): Update CSS styles to match React implementation (#83) @jamesfan
- refactor(menu): Update CSS styles to match React implementation (#117) @jamesfan
- refactor(button): Update CSS styles to match React implementation (#53) @stephanerangaya
- fix(button): CSS button fixes (#156) @anicholls
- refactor(page-header): Refactor CSS to match React implementation (#151) @mannycarrera4
- refactor(layout): Update CSS naming to match React implementation (#168) @jamesfan
- refactor(popup): Refactor CSS to match React implementation (#155) @mannycarrera4
- fix(popup): CSS cleanup (#188) @anicholls
- refactor(form): Update CSS form styles and structure to match React implementation (#112) @stephanerangaya
- fix(button): Update incorrect delete button colors
- refactor(text-input): Remove error icon in CSS (#222) @stephanerangaya
- refactor: Add components to labs module (#210) @sahlhoff
- fix: Card, Popup and Modal cleanup (#233) @anicholls
- fix(form): Form field spacing (#234) @stephanerangaya
- feat: Refactor and improve our create-module script (#211) @anicholls
- fix(select): Tighten up onChange typing (#212) @lychyi
- fix(switch): Hide checkbox input (#224) @stephanerangaya
- refactor(text-input): Remove error icon in React (#218) @MackenzieBerliner-Glasser
- feat: Add Cypress tests to canvas-kit (#174) @NicholasBoll
- chore: Bump eslint-utils from 1.3.1 to 1.4.2 (#176) @dependabot
- chore: Bump lodash-es from 4.17.11 to 4.17.15 (#177) @dependabot
- chore: Bump lodash.template from 4.4.0 to 4.5.0 (#178) @dependabot
- chore: Bump jest-axe from 3.1.1 to 3.2.0 (#179) @NicholasBoll
- feat: Add faster testing of stories in Cypress (#183) @NicholasBoll
- docs(core): Fix broken link (#187) @anicholls
- fix: Extend component props with correct interfaces (#181) @lychyi
- refactor(switch): Add a11y messaging in Readme and move story location (#197) @stephanerangaya
- feat(form-field): Add red asterisk support for required inputs (#196) @elliot-at-workday
- feat(switch): add support for alert and error text (#203) @stephanerangaya
- feat: Add support for Canvas Kit Labs modules (#175) @anicholls
- refactor(side-panel): API update and fixes (#123) @anicholls
- feat: Standardize elemProps prop spread behavior (#150) @anicholls
- refactor(table): TableRow API update and cleanup (#172) @sahlhoff
- refactor(button): API Updates (#129) @anicholls
- refactor(avatar): Change themeColor to variant (#194) @stephanerangaya
- refactor(banner): Change BannerTheme to ErrorType (#195) @stephanerangaya
- refactor(core): Rename enums to singular (#199) @mannycarrera4
- chore: Fix console warnings in Storybook (#116) @anicholls
- docs: Update contributing git guidelines to reflect new PR strategy (#109) @anicholls
- feat: Reduce number of manual steps required after running create-module.sh (#46) @roblevintennis
- ci: Break out Travis testing to stages (#82) @d-bye
- fix: Add code-coverage to *.ts files (#148) @NicholasBoll
- chore: Update commit validation to use commitlint (#124) @Patil2099
- feat: Add watch support for faster development (#161) @NicholasBoll
- fix(button): Update TextButton focus outline for accessibility (#115) @jstin
- fix(avatar): Update background color when url is defined (#120) @anicholls
- fix(header): Remove duplicate icon buttons (#122) @anicholls
- fix(button): Pass buttonRef to IconButton button element (#128) @mannycarrera4
- fix(menu): Add menu component to universal module (#127) @lychyi
- fix(layout): Add check for null children (#119) @anicholls
- fix(page-header): Add missing dependency (#149) @anicholls
- refactor: Move InputProviderDecorators to Storybook config (#164) @stephanerangaya
- fix: Change positioning of Checkbox and Radio react components to relative (#160) @stephanerangaya
- fix(status-indicator): Export type and emphasis enums (#166) @anicholls
- fix: Add missing static variables and fix Popup padding static variable (#110) @anicholls
- refactor(loading-animation): Deprecate LoadingSpinner (#142) @sahlhoff
- fix(form-field): Add component prefix to exported enums and interfaces #146 @sahlhoff
- refactor(page-header): Update marketing and breakpoint props (#143) @sahlhoff
- chore: update lint-staged to v8 (#76) (@Patil2099)
- fix(SidePanel): Remove resize event on unmount (#78) (@mannycarrera4)
- fix(Menu): Allow aria role of menu item to be overridden (#75) (@jayscheidt)
- fix(TextArea): Align border color to match other inputs (#66) (@neilpelow)
- fix(Avatar): Change prop spread order to allow for overriding the aria label (#92) (@mannycarrera4)
- feat(Type): Add styled components for type primitives (#106) (@drschulz)
- fix(ActionBar): Match css styles to react action bar (#111) (@mannycarrera4)
- fix: Update lodash version to resolve vulnerability (#41)
- ci(travis): Enable tag publishing and re-enable master storybook (#52)
- chore: Pull in version bumps from old release branch (#71)
- build(travis): skip cleanup on npm publish (#79)
- ci(travis): fix npm publish conditional (#81)
- fix(Tooltip): Add missing fontFamily property (#47)
- fix(Popper): Spread remainder props on wrapper div (#44)
- feat(menu): Enable MenuItems to skip onClose (#48)
- fix(header): Header search accessibility & prop spread fixes (#43)
- fix(SidePanel): remove resize event handler on unmount (#74)
- refactor(Icon): Move icon-list from core into icon module (#30)
- refactor(Fonts): Remove @workday/canvas-kit-react-fonts from universal module (#40)