@skyux/validation
Advanced tools
Changelog
7.0.0-beta.5 (2022-10-20)
Changelog
7.0.0-beta.4 (2022-10-17)
dynamicComponentService
is now a required parameter of SkyModalService
. To address this change, provide the dynamicComponentService
wherever you are constructing the SkyModalService
or any mocks extending it for unit testing.dynamicComponentService
required in SkyModalService
constructor (#674) (c7c60f2)axe-core
rules when running the toBeAccessible
matcher (#681) (ed1b5bb)Changelog
7.0.0-beta.3 (2022-10-14)
alertType
on the alert component being an unaccepted string. To address this change, change the alertType
to an accepted SkyIndicatorTypeIcon
or remove it to use the default alertType
of 'warning'
.SkyFileDrop
and SkyFileAttachment
components' validateFn
input type was updated to receive a SkyFileType
parameter and return a string or undefined. To address this, ensure all validateFn
inputs have the correct parameter and return types.get
function was updated to accurately reflect that it may return undefined. To address this change, account for a possible undefined value wherever you are using the get
function.SkyModalConfigurationInterface.providers
accepts an array of StaticProvider
s instead of any value.SkyConfirmButton
's styleType
will only accept predefined strings of type SkyConfirmButtonStyleType
. To address this, ensure styleType
is only being set to a supported value.SkyConfirmButton
component is intended for internal use only and is removed from the exported API. To address this, remove any usages of the SkyConfirmButton
component.alertType
to SkyIndicatorIconType
(#683) (9081186)SkyModalConfigurationInterface.providers
type (#665) (a65dae0)SkyConfirmButton
's styleType
type (#664) (8fda84e)openComponent
component
param type (#667) (8ffa182)Changelog
7.0.0-beta.2 (2022-10-07)
sky-tabset-nav-button
of type finish
instead.SkyCheckboxChange
type to be an interface instead of a class. To address this, remove any instances of instantiating the SkyCheckboxChange
class and instead create an object that uses the interface type.SkyFluidGridGutterSize
enum and the numerical options (0, 1, 2) from SkyFluidGridGutterSizeType
. To address this, only use the strings 'small', 'medium', and 'large' for the fluid grid component's gutterSize
property, and use SkyFluidGridGutterSizeType
for Typescript typing.SkyKeyInfoLayoutType
if typing variables.SkyCheckboxChange
type to an interface (#597) (2c3c1e9)