Migrating to version 9
This guide is primarily for users of Kongponents v8 who want to browse the breaking changes they may encounter when upgrading to Kongponents v9.
This is not something you have to read from top to bottom before trying out the new version.
If you notice any breaking changes we missed, we invite you to open an issue.
General Breaking Changes
Styles
Kongponents styles are no longer designed to be utilized standalone, separately from the Vue components. Any standalone imports of the exported styles or Sass variables and/or mixins are no longer supported.
Breaking Component Changes
KAlert
Props
alertMessageprop has been changed tomessageisShowingprop has been removed. You can use Vue nativev-ifbinging to control whether alert is shown or hiddentypeprop has been removed. KAlert only comes in form of themed-color (defined byappearanceprop) containerdismissTypeprop has been removed. KAlert can only be dismissed by clicking on close icon text to title, which is either hidden or visible depending on value of newdismissiblepropsizeprop has been removedicon, iconSize, iconColorprops has been removed. You can useiconslot to override default icondescriptionprop has been removedisBordered, hasTopBorder, hasRightBorder, hasBottomBorder, hasLeftBorderprops has been removed. KAlert does not have a border by defaultisFixedprop has been removed
Slots
alertMessageslot has been removed. You can use thedefaultslot to pass alert message contenttitleslot has been removeddescriptionslot has been removedactionButtonsslot has been removed
Events
closedevent has been renamed todismissproceedevent has been been removed
Structure
k-alert-icon-containerclass has been replaced withalert-icon-containerk-alert-msg-textclass has been replaced withalert-contentk-alert-titleclass has been replaced withalert-titlek-alert-msgclass has been replaced withalert-message
Constants, Types & Interfaces
AlertSizetype has been removedAlertTypetype has been removedAlertDismissTypetype has been removedappearancesconst is no longer exported by the KAlert component. Instead, you can importAlertAppearancesfrom@kong/kongponentsdirectly.
KBadge
Props
appearanceprop no longer acceptsdefaultandcustomvalues (defaults toinfonow)isBorderedprop has been removedshapeprop has been removed (now KBadge only comes in one what used to berectangularshape)borderColorprop has been removedbackgroundColorprop has beed removedcolorprop has been removeddismissableprop has been removed. You can now pass a clickable close icon (remember to addrole="button"andtabindex="0"attributes) through theiconslot and handle KBadge showing/hiding from your host apphoverColorprop has been removedtruncationTooltipprop has been changed toboolean. When used in conjunction with newtooltipprop, KBadge will only show the tooltip when content passed through thedefaultslot needs truncation. Otherwise, iftooltipprop is used withouttruncationTooltipprop - tooltip will be shown regardless of whether truncation is neededforceTooltipprop has been removedhiddenprop has been removed
Structure
- dynamic
k-badge-*classes have been removed k-badge-textclass has been changed tobadge-content-wrapper- KIcon element that previously contained class
k-badge-dismiss-buttonhas been removed
Constants, Types & Interfaces
BadgeAppearancesconst no longer containsdefaultandcustomvaluesBadgeAppearancetype no longer containsdefaultandcustomvaluesBadgeShapesconst has been removedBadgeShapetype has been removedBadgeShapeRecordtype has been removed
Events
dismissedeven has been removed
KBreadcrumbs
Props
emphasisprop has been removed
Structure
k-breadcrumbs-itemclass has been replaced withbreadcrumbs-item-containerk-breadcrumb-icon-wrapperclass has been replaced withbreadcrumbs-icon-containerk-breadcrumb-textclass has been replaced withbreadcrumbs-textk-breadcrumb-dividerclass has been replaced withkbreadcrumbs-divider
Constants, Types & Interfaces
iconproperty has been removed fromBreadcrumbIteminterface
KButton
Props
- some values
appearanceprop accepts were changed:outlinehas been removed (we suggest usingsecondaryinstead)creationhas been removed (we suggest usingprimaryinstead)btn-linkis no longer accepted (we suggest usingtertiaryinstead)btn-link-dangerhas been removedaction-activehas been removed
showCaretprop is removedcaretColorprop is removedisRoundedprop is removediconprop has changed toboolean. Use it when only content you're passing to KButton is an icon to make KButton square
Slots
iconslot has been deprecated. Please usedefaultslot instead
Structure
icon-btnclass has been renamed toicon-button
Constants, Types & Interfaces
appearancesandsizesconstants are no longer exported by the KButton component. Instead, you can importButtonAppearancesandButtonSizesfrom@kong/kongponentsdirectly
KCard
Props
testModeprop has been removedbodyprop has been removed. Usedefaultslot insteadborderVariantprop has been removed. KCard has a border by defaulthasHoverprop has been removedhasShadowprop has been removed. KCard does not have a box-shadow by defaultstatusprop has been removed
Slots
statusHatslot has been removedbodyslot has been removed. Use thedefaultslot insteadnotificationsslot has been removed
Structure
kong-cardclass has been changed tok-cardhoverclass has been removedkcard-shadowclass has been removedk-card-headerclass has been changed tocard-headerhas-statusclass has been removedk-card-status-hatclass has been removedk-card-titleclass has been changed tocard-titlek-card-actionsclass has been changed tocard-actionsk-card-contentclass has been changed tocard-contentk-card-bodyclass has been removedk-card-notificationsclass has been removed
Constants, Types & Interfaces
BorderVariantsArrayconstant has been removedBorderVarianttype has been removed
KCatalog
Props
isLoadingprop has been removed and replaced withloadingpropnoTruncationprop has been removed and replaced withtruncateDescriptionpropemptyStateActionButtonIconprop has been removed. You can use the newempty-state-action-iconslot insteademptyStateIconprop has been removed. You can use the newemptyStateIconVariantprop insteadhasErrorprop has been removed and replaced witherrorpropemptyStateIconColorprop has been removedemptyStateIconSizeprop has been removederrorStateIconprop has been removederrorStateIconColorprop has been removederrorStateIconSizeprop has been removedtestModeprop has been removed
Slots
cardTitleprops has been renamed tocard-title- same change applies to KCatalogItem component
cardActionsprop has been renamed tocard-actions- same change applies to KCatalogItem component
cardBodyprop has been renamed tocard-body- same change applies to KCatalogItem component
Events
card:clickevent has been renamed tocard-click- in KCatalogItem component
card:clickevent has been renamed toclick kcatalog-error-cta-clickedevent has been renamed toerror-action-clickkcatalog-empty-state-cta-clickedevent has been renamed toempty-state-action-click
Structure
k-card-catalogclass has been replaced withk-catalogk-card-catalog-titleclass has been replaced withcatalog-titlek-catalog-titledata-testidproperty has been replaced withcatalog-titlek-catalog-toolbarclass anddata-testidattribute has been replaced withcatalog-toolbark-skeleton-gridclass has been replaced withcatalog-skeleton-loaderk-catalog-skeletondata-testidattribute has been replaced withcatalog-skeleton-loaderk-catalog-error-stateclass has been replaced withcatalog-error-statek-card-catalog-error-statedata-testidattribute has been replaced withcatalog-error-statek-catalog-empty-stateclass has been replaced withcatalog-empty-statek-card-catalog-empty-statedata-testidattribute has been replaced withcatalog-empty-statek-catalog-pageclass has been replaced withcatalog-pagek-card-[small | medium | large]classes were replaced withcard-[small | medium | large]k-catalog-paginationclass anddata-testidattribute has been replaced withcatalog-paginationk-card-catalog-itemclass has been replaced withk-catalog-item
KCheckbox
Props
testModeprop has been removedhelpproperty oflabelAttributesprop has been deprecated in favor ofinfo
Structure
k-inputclass has been changed tocheckbox-inputk-checkbox-labelclass has been changed tocheckbox-labelk-checkbox-descriptionclass has been changed tocheckbox-descriptionhas-descclass has been been changed tohas-description
KCodeBlock
Props
- new
maxHeightprop to control themax-heightof the code block. Defaults tonone isSearchableprop has been removed and replaced withsearchableisProcessingprop has been removed and replaced withprocessingisSingleLineprop has been removed and replaced withsingleLine
Structure
k-code-block-actionsclass has been changed tocode-block-actionsk-code-block-search-resultsclass has been changed tocode-block-search-resultsk-code-block-search-results-has-queryclass has been changed tocode-block-search-results-has-queryk-search-containerclass has been changed tosearch-containerk-search-iconclass has been changed tocode-block-search-iconk-code-block-search-icondata-testidattribute has been replaced withcode-block-search-iconk-code-block-search-inputclass anddata-testidattribute has been changed tocode-block-search-inputk-code-block-search-errorclass has been changed tocode-block-search-errork-is-processing-iconclass has been changed toprocessing-iconk-code-block-is-processing-icondata-testidattribute has been replaced withprocessing-iconk-clear-query-buttonandk-clear-iconclasses changed toclear-query-buttonk-code-block-clear-query-buttonandk-code-block-clear-icondata-testidattributes were replaced withclear-query-buttonk-search-actionsclass has been changed tocode-block-search-actionsk-regexp-mode-buttonclass has been changed toregexp-mode-buttonk-code-block-regexp-mode-buttondata-testidattribute has been replaced withregexp-mode-buttonk-filter-mode-buttonclass has been changed tofilter-mode-buttonk-code-block-filter-mode-buttondata-testidattribute has been replaced withfilter-mode-buttonk-previous-match-buttonclass has been changed toprevious-match-buttonk-code-block-previous-match-buttondata-testidattribute has been replaced withprevious-match-buttonk-next-match-buttonclass has been changed tonext-match-buttonk-code-block-next-match-buttondata-testidattribute has been replaced withnext-match-buttonk-code-block-contentclass has been changed tocode-block-contentk-filtered-code-blockclass has been changed tofiltered-code-blockk-code-block-filtered-code-blockdata-testidattribute has been replaced withfiltered-code-blockk-line-number-rowsclass has been changed toline-number-rowsk-lineclass has been changed tolinek-line-anchorclass has been changed toline-anchork-highlighted-code-blockclass has been changed tohighlighted-code-blockk-code-block-highlighted-code-blockdata-testidattribute has been replaced withhighlighted-code-blockis-single-lineclass has been changed tosingle-linek-line-number-rowsclass has been changed toline-number-rowsk-line-is-matchclass has been changed toline-is-matchk-line-is-highlighted-matchclass has been changed toline-is-highlighted-matchk-line-anchorclass has been changed toline-anchork-code-block-secondary-actionsclass has been changed tocode-block-secondary-actionsk-code-block-copy-buttonclass anddata-testidattribute has been changed tocode-block-copy-buttonk-matched-termclasshas been replaced withmatched-term
KCollapse
Events
toggledevent was renamed totoggle
Structure
k-collapse-headingclass has been replaced withcollapse-headingk-collapse-titleclass anddata-testidattribute has been replaced withcollapse-titlek-collapse-triggerclass has been replaced withcollapse-triggerk-collapse-trigger-contentclass anddata-testidattribute has been replaced withcollapse-trigger-contentk-collapse-trigger-labelclass anddata-testidattribute has been replaced withcollapse-trigger-labelk-collapse-trigger-chevronclass has been replaced withcollapse-trigger-iconk-collapse-trigger-iconclass anddata-testidattribute has been replaced withcollapse-trigger-iconk-collapse-visible-contentclass anddata-testidattribute has been replaced withcollapse-visible-contentk-collapse-hidden-contentclass anddata-testidattribute has been replaced withcollapse-hidden-content
KDateTimePicker
Props
v-modelSingle date and time picker's seed value (string in ISO date format) has been changed to aTimeRangeobject whosestartvalue will be set to a Date ISO string;endvalue will be set tonull. See KDateTimePickers's v-model for more details
Events
change,update:modelValue– a Single date and time picker will no longer emit an ISO date format string. Instead, aTimeRangeobject with a Date ISO stringstartvalue, and a nullendvalue will be emitted. See KDateTimePickers's Single date time picker events for more details
Structure
timepicker-inputclass has been changed todatetime-picker-triggerk-datetime-picker-inputdata-testidattribute has been changed todatetime-picker-triggertimepicker-displayclass has been changed todatetime-picker-displayk-datetime-picker-displaydata-testidattribute has been changed todatetime-picker-displayk-datetime-picker-toggledata-testidattribute has been changed todatetime-picker-togglek-datetime-picker-cleardata-testidattribute has been changed todatetime-picker-cleark-datetime-picker-submitdata-testidattribute has been changed todatetime-picker-submittimeframe-btnclass has been changed totimeframe-buttonaction-btnclass has been changed toaction-button
Constants, Types & Interfaces
TimeRange-startandendkeys are now defined asDate | nullhidePopoverproperty inDateTimePickerStateinterface has been renamed topopoverOpen
KDropdownMenu
Component has been renamed to KDropdown
Props
labelprop has been deprecated in favor of the newtriggerTextprop (usage is the same)appearanceprop has been changed in favor of theselectionMenuprop for the selection menu functionality.appearancenow controls the underlyingKButtonappearanceprop (note that defaultappearancefor component whenselectionMenuistruechanged fromtertiarytoprimary)buttonAppearanceprop has been removed in favor ofappearance, still controlling theKButtonappearanceproptestModeprop has been removediconprop is removedcaretColorprop is removedisDangerousKDropdownItemprop has been deprecated in favor ofdanger
Structure
k-dropdown-menuclass has been removed (k-dropdownclass remains)k-dropdown-menu-popoverdata-testidattribute has been renamed todropdown-popoverk-dropdown-triggerclass has been removedk-dropdown-triggerdata-testidattribute has been renamed todropdown-triggerk-dropdown-btnclass has been renamed todropdown-trigger-buttonk-dropdown-btndata-testidattribute has been renamed todropdown-trigger-buttonk-dropdown-listclass has been removedk-dropdown-listdata-testidattribute has been renamed todropdown-listk-dropdown-selected-optionclass has been renamed todropdown-selected-optionk-dropdown-item-triggerclass has been renamed todropdown-item-triggerk-dropdown-item-trigger-labelclass has been renamed todropdown-item-trigger-label- dynamic
k-dropdown-itemdata-testidattribute has been renamed todropdown-item
Constants, Types & Interfaces
AppearanceArrayconst has been removedAppearancetype has been removed
KEmptyState
Props
isErrorprop has been removed. You can use the newiconVariantprop instead. For more details check out component documentationiconSizeprop has been removediconprop has been removed and replaced withiconVariantprop. You can also use the newiconslot to provide your custom iconctaIsHiddenprop has been removed and replaced withactionButtonVisiblepropctaTextprop has been removed and replaced withactionButtonTextprophandleClickprop has been removed. You can bind your action button click handler function to newclick-actioneventiconColorprop has been removediconSecondaryColorprop has been removed
Slots
messageslot has been renamed todefaultctaslot has been renamed toaction
Structure
empty-state-wrapperclass has been changed tok-empty-statek-empty-state-iconclass has been changed toempty-state-iconk-empty-state-title-headerclass has been changed toempty-state-titlek-empty-state-messageclass has been changed toempty-state-messagek-empty-state-ctaclass has been changed toempty-state-action
KExternalLink
No breaking changes.
KFileUpload
Props
testModeprop has been removedbuttonAppearanceprop has been removed. Default button appearance has been changed totertiaryfileModelprop has been removedremovableprop has been removed. Component allows to clear input by defaulticonSizeprop has been removediconColorprop has been removediconprop has been removedhasErrorprop has been renamed toerrortypeprop has been removed- default value for
errorMessagehas been changed to''
Structure
k-file-upload-btnclass has been changed tofile-upload-buttonk-file-upload-buttondata-testidattribute has been changed tofile-upload-button
Constants, Types & Interfaces
FileUploadTypetype has been removed
KIcon
This component has been removed.
KInlineEdit
This component has been removed.
KInput
Props
overlayLabelprop has been removedsizeprop has been removed (KInput only comes in 1 size now)iconPositionprop has been removedtestModeprop has been removedhelpproperty oflabelAttributesprop has been deprecated in favor ofinfohasErrorprop has been deprecated in favor oferror
Slots
iconslot has been removed. Instead, you can use newbeforeand/orafterslots to provide icons on the left/right, inside the input
Events
icon:clickevent has been removed. Instead, when usingbeforeand/orafterslots, you can provide your custom click handlers bound to clicks on slotted content. See KInput's slots for more details
Structure
form-controlclass has been removedover-char-limitclass has been removedhelpclass has been changed tohelp-textk-input-wrapperclass has been changed tok-inputinput.k-inputelement class has been changed to.input
Constants, Types & Interfaces
SizeArrayandIconPositionArrayconstants have been removedSizeandIconPositiontypes have been removed
KInputSwitch
Props
labelPositionprop has been removed. Please uselabelBeforeprop insteadenabledIconprop has been removed
Structure
k-switchclass has been removedswitch-with-iconclass has been removedhas-label-rightandhas-label-leftclasses were removed
KLabel
Props
helpprop has been deprecated in favor ofinfotestModeprop has been removed
Structure
k-input-labelclass has been renamed tok-labelis-requiredclass has been renamed torequired
Constant, Types & Interfaces
positionFixedparameter was removed fromTooltipAttributesinterface
KMenu
This component has been removed.
KMethodBadge
This component has been removed. Please refer to KBadge component which has been updated to support method appearances.
Constants, Types & Interfaces
MethodShape,MethodandMethodBadgeColorstypes have been removedMethodsArrayconst has been removed
KModal
Props
- new
maxWidthprop to control the width of the modal. Defaults to500px testModeprop has been removedhideTitleprop has been removedhideDismissIconprop has been removed and replaced withhideCloseIcondismissButtonThemeprop has been removedtextAlignprop has been removedisVisibleprop has been removed and replaced withvisiblepropcontentprop has been removed. You can use thedefaultslot instead
Slots
header-imageslot has been removed. You can usecontentto pass custom content to KModalheader-contentslot has been removedbody-contentslot had been removed. You can use thedefaultslot insteadfooter-contentslot has been changed tofooteraction-buttonsslot has been changed tofooter-actions
Events
canceledevent has been renamed tocancel
Structure
k-modal-backdropclass has been removed and replaced withmodal-backdropk-modal-dialogclass has been removed and replaced withmodal-containerk-modal-contentclass has been removed and replaced withmodal-contentk-modal-footerclass has been removed and replaced withmodal-footer
Constants, Types & Interfaces
DismissButtonThemeArrayconst has been removedDismissButtonThemetype has been removedTextAlignArrayconst has been removedTextAligntype has been removed
KModalFullscreen
This component is deprecated and will be removed in the next major release.
KMultiselect
Props
testModeprop has been removedfilterFuncprop name has been changed tofilterFunctiondisabledTooltipTextproperty of object passed throughitemsprop is no longer supported- default value of
collapsedContextprop has changed totrue - default value of
selectedRowCountprop has changed to1 expandSelectedprop has been removedpositionFixedprop has been removed
Events
item:addedevent was renamed toitem-addeditem:removedevent was renamed toitem-removed
Structure
k-multiselect-itemclass has been changed tomultiselect-itemk-multiselect-item-containerclass has been changed tomultiselect-item-containerk-multiselect-item-labelclass has been changed tomultiselect-item-labelk-multiselect-group-containerclass has been changed tomultiselect-group-containerk-multiselect-group-titleclass has been changed tomultiselect-group-titlek-multiselect-labeldata-testidattribute has been changed tomultiselect-labelk-multiselect-containerdata-testidattribute has been changed tomultiselect-containerk-multiselect-wrapperclass has been changed tomultiselect-wrapperk-multiselect-triggerclass anddata-testidattribute has been changed tomultiselect-triggerk-multiselect-selectionsclass anddata-testidattribute has been changed toselection-badges-containerk-multiselect-selection-badgeclass has been changed tomultiselect-selection-badgek-multiselect-iconclass has been changed tomultiselect-icons-containerk-multiselect-clear-iconclass anddata-testidattribute has been changed tomultiselect-clear-iconk-multiselect-inputclass anddata-testidattribute has been changed tomultiselect-inputk-multiselect-listclass has been changed tomultiselect-listk-multiselect-new-itemclass has been changed tomultiselect-add-itemk-multiselect-empty-itemclass anddata-testidattribute has been changed tomultiselect-empty-itemk-multiselect-dropdown-footer-textclass has been changed todropdown-footerk-multiselect-popoverclass has been changed tomultiselect-popoverk-multiselect-chevron-iconclass has been changed tomultiselect-chevron-icon
Constants, Types & Interfaces
MultiselectFilterFnParamsinterface has been renamed toMultiselectFilterFunctionParams
KPagination
KPagination now uses KDropdown instead of KSelect as the underlying component for page size selection.
Props
testModeprop has been removedpaginationTypeprop has been removed. You can use the newoffsetprop insteadoffsetPrevButtonDisabledprop has been renamed tooffsetPreviousButtonDisabled
Events
pageChangedevent has been renamed topageChangepageSizeChangedevent has been renamed topageSizeChangegetPrevOffsetevent has been renamed togetPreviousOffset
Structure
card-pagination-barhas been removed and replaced withk-paginationk-pagination-containerhas been replaced withk-paginationprev-btndata-testidattribute has been changed toprevious-button*-btnpart in variousdata-testidattributes has been updated to*-button
Constants, Types & Interfaces
PageChangedDatainterface has been renamed toPageChangeDataPageSizeChangedDatainterface has been renamed toPageSizeChangeDataPaginationTypetype has been removed
KPop
Props
isSvgprop has been removed- default value of
buttonTextprop has changed popoverTransitionsprop has been removedtestModeprop has been removedonPopoverClickprop has been removed. You can a combination of newcloseOnPopoverClickprop andpopover-clickevent insteadplacementprop options have changed, see Constants, Types & Interfaces section for more detailshidePopoverprop has been removed. Instead, you can use exposed by the componenthidePopovermethodtargetprop has been removed (popover element is always mounted to.k-popoverelement)positionFixedprop has been removed (popover element always usesposition: fixed)
Slots
actionsslot has been removed
Events
openedevent has been renamed toopenclosedevent has been renamed toclose
Structure
kpop-button... has been replaced withpopover-buttonk-popover-headerclass has been replaced withpopover-headerk-popover-titleclass has been replaced withpopover-titlek-popover-contentclass has been replaced withpopover-contentk-popover-footerclass has been replaced withpopover-footerk-popoverclass has been replaced withpopover(instead,k-popoverclass has been given to outer-most element)
Constants, Types & Interfaces
- format of most placement options in
PopPlacementsArrayhas changed:topStart->top-start,rightEnd->right-end, etc.- same applies to
PopPlacementstype
- same applies to
KPrompt
Props
isVisibleprop has been removed and replaced withvisibleproptypeprop has been removed. You can useactionButtonAppearanceprop to modify appearance of action button insteadactionPendingprop has been removed. We suggest usingactionButtonDisabledprop insteadpreventProceedOnEnterprop has been removedtabbableOptionshas been removed. You can use newmodalAttributesprop to pass value totabbableOptionsprop in KModal
Slots
header-contentslot has been removedbody-contentslot has been changed todefaultaction-buttonsslot has been removed. If you need to slot in custom action buttons, check out KModal component
Events
canceledevent has been renamed tocancel
Structure
k-prompt-confirm-textclass has been changed toprompt-confirmation-textk-prompt-cancelclass has been removed. For testing, use[data-testid='modal-cancel-button']instead.k-prompt-proceedclass has been removed. For testing, use[data-testid='modal-action-button']instead.
Constants, Types & Interfaces
PromptVariantsArrayconst has been removedPromptVariantstype has been removed
Komponent
Removed as of v9. Use KComponent instead.
Kooltip
Removed as of v9. Use KTooltip instead.
KRadio
Props
testModeprop has been removedtypeprop has been deprecated in favor ofcardprophelpproperty oflabelAttributesprop has been deprecated in favor ofinfo
Structure
k-inputclass on theinput[type="radio"]has been changed toradio-inputk-radio-defaultclass has been removedk-radio-cardclass has been changed toradio-cardk-radio-labelclass has been changed toradio-label. If you were usingk-radio-labelto leverage preconfigured KRadio styles we suggest passing the label content through thelabelpropk-radio-descriptionclass has been changed toradio-description. If you were usingk-radio-descriptionto leverage preconfigured KRadio styles we suggest passing the label content through thedescriptionprop
Krumbs
Removed as of v9. Use KBreadcumbs instead.
KSegmentedControl
Props
allowPointerEventsprop has been removedisDisabledprop has been changed todisabled
Structure
name="option.value"attribute has been removed and replaced withdata-testid="option.value-option"attribute
Constants, Types & Interfaces
valueproperty inSegmentedControlOptiontype no longer acceptsboolean
KSelect
Props
appearanceprop has been removed. KSelect comes in one appearance (what previously wasselectappearance). If you need an element that behaves like a select but looks like a button, check out KDropdown's selectionMenu propbuttonTextprop has been removedtestModeprop has been removedoverlayLabelprop has been removedfilterFuncprop has been renamed tofilterFunctionautosuggestprop has been removed and replaced withenableFilteringprop. Should you want to simply enable default component-handled filtering or perform async fetching behind the scenes, you can use this prop in combination with@query-changeevent to achieve thatpositionFixedprop has been removed
Events
item:addedevent has been changed toitem-addeditem:removedevent has been changed toitem-removed
Structure
k-select-inputdata-testidattribute has been changed toselect-input- dynamic
k-select-item-*data-testidattribute has been changed toselect-item-* k-select-dropdown-footer-textclass has been changed todropdown-footerk-select-item-labelclass has been changed toselect-item-labelk-select-itemclass has been changed toselect-itemk-select-loadingclass has been changed toselect-loadingk-select-loadingdata-testidattribute has been changed toselect-loadingk-select-group-titleclass has been changed toselect-group-titlek-select-selected-itemdata-testidattribute has been changed toselected-itemk-select-listclass has been changed toselect-items-containerk-select-labeldata-testidattribute has been changed toselect-labelk-select-new-itemdata-testidattribute and class has been changed toselect-add-item
Constants, Types & Interfaces
SelectAppearanceArrayconst has been removedSelectAppearancetype has been removedSelectFilterFnParamsinterface has been renamed toSelectFilterFunctionParams
KSkeleton
Props
tableColumnsprop default value has changed
Structure
k-skeleton-containerclass has been replaced withk-skeletonboxclass has been replaced withskeleton-box
KSlideout
Props
isVisibleprop has been changed tovisiblepreventCloseOnBlurprop has been removed in favor of newcloseOnBlurpropcloseButtonAlignmentprop has been removed
Slots
before-titleslot has been removed (you can use the newly addedtitleslot instead)after-titleslot has been removed (you can use the newly addedtitleslot instead)
Structure
panelclass has been replaced withslideout-containerclassslideout-paneldata-testidattribute has been replaced withslideout-containerk-slideout-header-contentclass has been replaced withslideout-headerclassclose-button-startandclose-button-enddata-testidattributes have been removed. Use theslideout-close-icondata-testidattribute instead.k-slideout-main-titleclass andk-slideout-titleclass anddata-testidattribute were been replaced withslideout-titlecontentclass has been replaced withslideout-contentclasscontent-cardclass has been removed
KStepper
Structure
k-step-containerclass has been replaced withstep-containerk-stepclass has been replaced withstepk-step-labelclass has been replaced withstep-label
KTable
Props
hasHoverprop has been removed and replaced withrowHoverprophasSideBorderprop has been removedhasErrorprop has been removed and replaced witherrorpropisLoadingprop has been removed and replaced withloadingpropdisableSortingprop has been removed and replaced withsortableprop (defaults totrue)enableClientSortprop has been removed and replaced withclientSortpropsortHandlerFnprop has been removed and replaced withsortHandlerFunctionpropemptyStateIconprop has been removed. You can use the newemptyStateIconVariantprop insteademptyStateIconColorprop has been removedemptyStateIconSizeprop has been removedemptyStateActionButtonIconprop has been removed. You can use the newempty-state-action-iconslot insteaderrorStateIconprop has been removederrorStateIconColorprop has been removederrorStateIconSizeprop has been removedoptionsprop (deprecated) has been removedsortOrderprop (deprecated) has been removedtestModeprop has been removedpaginationTypeprop has been removed. You can use newpaginationOffsetprop instead
Events
ktable-error-cta-clickedevent has been renamed toerror-action-clickktable-empty-state-cta-clickedevent has been renamed toempty-state-action-click
Structure
k-table-containerclass has been changed tok-tablek-table-toolbarclass anddata-testidattribute has been changed totable-toolbark-table-skeletondata-testidattribute has been changed totable-skeletonk-table-error-stateclass anddata-testidattribute has been changed totable-error-statek-table-empty-stateclass anddata-testidattribute has been changed totable-empty-statek-table-wrapperclass has been changed totable-wrappertable.k-tableclass has been changed totablek-table-headersclass has been changed totable-headersk-table-header-*data-testidattribute has been changed totable-header-*k-table-paginationclass anddata-testidattribute has been changed totable-paginationcaretclass has been changed tosort-icon
Constants, Types & Interfaces
useSortHandlerFnparameter inTableHeaderinterface has been renamed touseSortHandlerFunctionTableSortOrderArrayconst has been removedTableSortOrdertype has been removedTableTestModeArrayconst has been removedTableTestModetype has been removedTablePaginationTypeArrayconst has been removedTablePaginationTypetype has been removed
KTabs
Props
hasPanelsprop has been renamed tohidePanels. the default value for this prop has also been changed tofalse
Events
changedevent has been rename tochange
KTextArea
Props
testModeprop is removedisResizableprop is deprecated in favor ofresizableprophasErrorprop is deprecated in favor oferrorpropcolsprop has been removed (use CSS to control the width of the textarea)disableCharacterLimitprop has been removed. You can pass a booleanfalsetocharacterLimitprop to disable character limit
Structure
k-input-wrapperclass has been changed tok-textareahas-errorclass has been changed toinput-errork-inputclass has been changed toinput-textareaform-controlclass has been removedis-resizableclass has been changed toresizable
KToaster
Structure
toaster-container-outerclass has been replaced withk-toastertoaster-itemclass has been replaced withtoastermessageandk-alert-msgclasses has been replaced withtoaster-message
Constants, Types & Interfaces
toasterAppearancesconstant has been renamed toToasterAppearancesToastinterface changes:titleproperty has been addedmessageproperty became optionalappearancesproperty is no longer an instance ofAlertAppearancetype - instead it is an instance of newToasterAppearancetype
KTooltip
Props
testModeprop has been removedlabelprop has been deprecated in favor oftextproppositionFixedprop has been removed
Structure
k-tooltip-topclass has been changed totooltip-topk-tooltip-rightclass has been changed totooltip-rightk-tooltip-bottomclass has been changed totooltip-bottomk-tooltip-leftclass has been changed totooltip-left
KTreeList
Props
iconproperty has been removed fromitemsprop. You can use theitem-iconslot to provide your custom icon or use newhideIconsprop to hide the icon
Constants, Types & Interfaces
iconproperty has been removed fromTreeListIteminterface
Structure
k-tree-draggableclass has been changed totree-draggablek-tree-item-containerclass has been changed totree-item-containerk-tree-list-grabbingclass has been changed totree-list-grabbingk-tree-item-grabbingclass has been changed totree-item-grabbingk-tree-item-draggedclass has been changed totree-item-draggedk-tree-itemclass has been changed totree-itemk-tree-item-iconclass has been changed totree-item-iconk-tree-item-labelclass has been changed totree-item-label
KTruncate
Props
isTextContentprop has been changed totruncateTextisExpandedprop has been changed toexpanded
Structure
k-truncate-contentclass has been changed totruncate-contentk-truncate-textclass has been changed totruncate-textk-truncate-expand-controlsclass has been changed totruncate-expand-controlsk-truncate-containerclass has been changed totruncate-containerk-truncate-collapse-controlsclass has been changed totruncate-collapse-controls
KViewSwitcher
This component has been removed.
