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
alertMessage
prop has been changed tomessage
isShowing
prop has been removed. You can use Vue nativev-if
binging to control whether alert is shown or hiddentype
prop has been removed. KAlert only comes in form of themed-color (defined byappearance
prop) containerdismissType
prop 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 newdismissible
propsize
prop has been removedicon, iconSize, iconColor
props has been removed. You can useicon
slot to override default icondescription
prop has been removedisBordered, hasTopBorder, hasRightBorder, hasBottomBorder, hasLeftBorder
props has been removed. KAlert does not have a border by defaultisFixed
prop has been removed
Slots
alertMessage
slot has been removed. You can use thedefault
slot to pass alert message contenttitle
slot has been removeddescription
slot has been removedactionButtons
slot has been removed
Events
closed
event has been renamed todismiss
proceed
event has been been removed
Structure
k-alert-icon-container
class has been replaced withalert-icon-container
k-alert-msg-text
class has been replaced withalert-content
k-alert-title
class has been replaced withalert-title
k-alert-msg
class has been replaced withalert-message
Constants, Types & Interfaces
AlertSize
type has been removedAlertType
type has been removedAlertDismissType
type has been removedappearances
const is no longer exported by the KAlert component. Instead, you can importAlertAppearances
from@kong/kongponents
directly.
KBadge
Props
appearance
prop no longer acceptsdefault
andcustom
values (defaults toinfo
now)isBordered
prop has been removedshape
prop has been removed (now KBadge only comes in one what used to berectangular
shape)borderColor
prop has been removedbackgroundColor
prop has beed removedcolor
prop has been removeddismissable
prop has been removed. You can now pass a clickable close icon (remember to addrole="button"
andtabindex="0"
attributes) through theicon
slot and handle KBadge showing/hiding from your host apphoverColor
prop has been removedtruncationTooltip
prop has been changed toboolean
. When used in conjunction with newtooltip
prop, KBadge will only show the tooltip when content passed through thedefault
slot needs truncation. Otherwise, iftooltip
prop is used withouttruncationTooltip
prop - tooltip will be shown regardless of whether truncation is neededforceTooltip
prop has been removedhidden
prop has been removed
Structure
- dynamic
k-badge-*
classes have been removed k-badge-text
class has been changed tobadge-content-wrapper
- KIcon element that previously contained class
k-badge-dismiss-button
has been removed
Constants, Types & Interfaces
BadgeAppearances
const no longer containsdefault
andcustom
valuesBadgeAppearance
type no longer containsdefault
andcustom
valuesBadgeShapes
const has been removedBadgeShape
type has been removedBadgeShapeRecord
type has been removed
Events
dismissed
even has been removed
KBreadcrumbs
Props
emphasis
prop has been removed
Structure
k-breadcrumbs-item
class has been replaced withbreadcrumbs-item-container
k-breadcrumb-icon-wrapper
class has been replaced withbreadcrumbs-icon-container
k-breadcrumb-text
class has been replaced withbreadcrumbs-text
k-breadcrumb-divider
class has been replaced withkbreadcrumbs-divider
Constants, Types & Interfaces
icon
property has been removed fromBreadcrumbItem
interface
KButton
Props
- some values
appearance
prop accepts were changed:outline
has been removed (we suggest usingsecondary
instead)creation
has been removed (we suggest usingprimary
instead)btn-link
is no longer accepted (we suggest usingtertiary
instead)btn-link-danger
has been removedaction-active
has been removed
showCaret
prop is removedcaretColor
prop is removedisRounded
prop is removedicon
prop has changed toboolean
. Use it when only content you're passing to KButton is an icon to make KButton square
Slots
icon
slot has been deprecated. Please usedefault
slot instead
Structure
icon-btn
class has been renamed toicon-button
Constants, Types & Interfaces
appearances
andsizes
constants are no longer exported by the KButton component. Instead, you can importButtonAppearances
andButtonSizes
from@kong/kongponents
directly
KCard
Props
testMode
prop has been removedbody
prop has been removed. Usedefault
slot insteadborderVariant
prop has been removed. KCard has a border by defaulthasHover
prop has been removedhasShadow
prop has been removed. KCard does not have a box-shadow by defaultstatus
prop has been removed
Slots
statusHat
slot has been removedbody
slot has been removed. Use thedefault
slot insteadnotifications
slot has been removed
Structure
kong-card
class has been changed tok-card
hover
class has been removedkcard-shadow
class has been removedk-card-header
class has been changed tocard-header
has-status
class has been removedk-card-status-hat
class has been removedk-card-title
class has been changed tocard-title
k-card-actions
class has been changed tocard-actions
k-card-content
class has been changed tocard-content
k-card-body
class has been removedk-card-notifications
class has been removed
Constants, Types & Interfaces
BorderVariantsArray
constant has been removedBorderVariant
type has been removed
KCatalog
Props
isLoading
prop has been removed and replaced withloading
propnoTruncation
prop has been removed and replaced withtruncateDescription
propemptyStateActionButtonIcon
prop has been removed. You can use the newempty-state-action-icon
slot insteademptyStateIcon
prop has been removed. You can use the newemptyStateIconVariant
prop insteadhasError
prop has been removed and replaced witherror
propemptyStateIconColor
prop has been removedemptyStateIconSize
prop has been removederrorStateIcon
prop has been removederrorStateIconColor
prop has been removederrorStateIconSize
prop has been removedtestMode
prop has been removed
Slots
cardTitle
props has been renamed tocard-title
- same change applies to KCatalogItem component
cardActions
prop has been renamed tocard-actions
- same change applies to KCatalogItem component
cardBody
prop has been renamed tocard-body
- same change applies to KCatalogItem component
Events
card:click
event has been renamed tocard-click
- in KCatalogItem component
card:click
event has been renamed toclick
kcatalog-error-cta-clicked
event has been renamed toerror-action-click
kcatalog-empty-state-cta-clicked
event has been renamed toempty-state-action-click
Structure
k-card-catalog
class has been replaced withk-catalog
k-card-catalog-title
class has been replaced withcatalog-title
k-catalog-title
data-testid
property has been replaced withcatalog-title
k-catalog-toolbar
class anddata-testid
attribute has been replaced withcatalog-toolbar
k-skeleton-grid
class has been replaced withcatalog-skeleton-loader
k-catalog-skeleton
data-testid
attribute has been replaced withcatalog-skeleton-loader
k-catalog-error-state
class has been replaced withcatalog-error-state
k-card-catalog-error-state
data-testid
attribute has been replaced withcatalog-error-state
k-catalog-empty-state
class has been replaced withcatalog-empty-state
k-card-catalog-empty-state
data-testid
attribute has been replaced withcatalog-empty-state
k-catalog-page
class has been replaced withcatalog-page
k-card-[small | medium | large]
classes were replaced withcard-[small | medium | large]
k-catalog-pagination
class anddata-testid
attribute has been replaced withcatalog-pagination
k-card-catalog-item
class has been replaced withk-catalog-item
KCheckbox
Props
testMode
prop has been removedhelp
property oflabelAttributes
prop has been deprecated in favor ofinfo
Structure
k-input
class has been changed tocheckbox-input
k-checkbox-label
class has been changed tocheckbox-label
k-checkbox-description
class has been changed tocheckbox-description
has-desc
class has been been changed tohas-description
KCodeBlock
Props
- new
maxHeight
prop to control themax-height
of the code block. Defaults tonone
isSearchable
prop has been removed and replaced withsearchable
isProcessing
prop has been removed and replaced withprocessing
isSingleLine
prop has been removed and replaced withsingleLine
Structure
k-code-block-actions
class has been changed tocode-block-actions
k-code-block-search-results
class has been changed tocode-block-search-results
k-code-block-search-results-has-query
class has been changed tocode-block-search-results-has-query
k-search-container
class has been changed tosearch-container
k-search-icon
class has been changed tocode-block-search-icon
k-code-block-search-icon
data-testid
attribute has been replaced withcode-block-search-icon
k-code-block-search-input
class anddata-testid
attribute has been changed tocode-block-search-input
k-code-block-search-error
class has been changed tocode-block-search-error
k-is-processing-icon
class has been changed toprocessing-icon
k-code-block-is-processing-icon
data-testid
attribute has been replaced withprocessing-icon
k-clear-query-button
andk-clear-icon
classes changed toclear-query-button
k-code-block-clear-query-button
andk-code-block-clear-icon
data-testid
attributes were replaced withclear-query-button
k-search-actions
class has been changed tocode-block-search-actions
k-regexp-mode-button
class has been changed toregexp-mode-button
k-code-block-regexp-mode-button
data-testid
attribute has been replaced withregexp-mode-button
k-filter-mode-button
class has been changed tofilter-mode-button
k-code-block-filter-mode-button
data-testid
attribute has been replaced withfilter-mode-button
k-previous-match-button
class has been changed toprevious-match-button
k-code-block-previous-match-button
data-testid
attribute has been replaced withprevious-match-button
k-next-match-button
class has been changed tonext-match-button
k-code-block-next-match-button
data-testid
attribute has been replaced withnext-match-button
k-code-block-content
class has been changed tocode-block-content
k-filtered-code-block
class has been changed tofiltered-code-block
k-code-block-filtered-code-block
data-testid
attribute has been replaced withfiltered-code-block
k-line-number-rows
class has been changed toline-number-rows
k-line
class has been changed toline
k-line-anchor
class has been changed toline-anchor
k-highlighted-code-block
class has been changed tohighlighted-code-block
k-code-block-highlighted-code-block
data-testid
attribute has been replaced withhighlighted-code-block
is-single-line
class has been changed tosingle-line
k-line-number-rows
class has been changed toline-number-rows
k-line-is-match
class has been changed toline-is-match
k-line-is-highlighted-match
class has been changed toline-is-highlighted-match
k-line-anchor
class has been changed toline-anchor
k-code-block-secondary-actions
class has been changed tocode-block-secondary-actions
k-code-block-copy-button
class anddata-testid
attribute has been changed tocode-block-copy-button
k-matched-term
class
has been replaced withmatched-term
KCollapse
Events
toggled
event was renamed totoggle
Structure
k-collapse-heading
class has been replaced withcollapse-heading
k-collapse-title
class anddata-testid
attribute has been replaced withcollapse-title
k-collapse-trigger
class has been replaced withcollapse-trigger
k-collapse-trigger-content
class anddata-testid
attribute has been replaced withcollapse-trigger-content
k-collapse-trigger-label
class anddata-testid
attribute has been replaced withcollapse-trigger-label
k-collapse-trigger-chevron
class has been replaced withcollapse-trigger-icon
k-collapse-trigger-icon
class anddata-testid
attribute has been replaced withcollapse-trigger-icon
k-collapse-visible-content
class anddata-testid
attribute has been replaced withcollapse-visible-content
k-collapse-hidden-content
class anddata-testid
attribute has been replaced withcollapse-hidden-content
KDateTimePicker
Props
v-model
Single date and time picker's seed value (string in ISO date format) has been changed to aTimeRange
object whosestart
value will be set to a Date ISO string;end
value 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, aTimeRange
object with a Date ISO stringstart
value, and a nullend
value will be emitted. See KDateTimePickers's Single date time picker events for more details
Structure
timepicker-input
class has been changed todatetime-picker-trigger
k-datetime-picker-input
data-testid
attribute has been changed todatetime-picker-trigger
timepicker-display
class has been changed todatetime-picker-display
k-datetime-picker-display
data-testid
attribute has been changed todatetime-picker-display
k-datetime-picker-toggle
data-testid
attribute has been changed todatetime-picker-toggle
k-datetime-picker-clear
data-testid
attribute has been changed todatetime-picker-clear
k-datetime-picker-submit
data-testid
attribute has been changed todatetime-picker-submit
timeframe-btn
class has been changed totimeframe-button
action-btn
class has been changed toaction-button
Constants, Types & Interfaces
TimeRange
-start
andend
keys are now defined asDate | null
hidePopover
property inDateTimePickerState
interface has been renamed topopoverOpen
KDropdownMenu
Component has been renamed to KDropdown
Props
label
prop has been deprecated in favor of the newtriggerText
prop (usage is the same)appearance
prop has been changed in favor of theselectionMenu
prop for the selection menu functionality.appearance
now controls the underlyingKButton
appearance
prop (note that defaultappearance
for component whenselectionMenu
istrue
changed fromtertiary
toprimary
)buttonAppearance
prop has been removed in favor ofappearance
, still controlling theKButton
appearance
proptestMode
prop has been removedicon
prop is removedcaretColor
prop is removedisDangerous
KDropdownItem
prop has been deprecated in favor ofdanger
Structure
k-dropdown-menu
class has been removed (k-dropdown
class remains)k-dropdown-menu-popover
data-testid
attribute has been renamed todropdown-popover
k-dropdown-trigger
class has been removedk-dropdown-trigger
data-testid
attribute has been renamed todropdown-trigger
k-dropdown-btn
class has been renamed todropdown-trigger-button
k-dropdown-btn
data-testid
attribute has been renamed todropdown-trigger-button
k-dropdown-list
class has been removedk-dropdown-list
data-testid
attribute has been renamed todropdown-list
k-dropdown-selected-option
class has been renamed todropdown-selected-option
k-dropdown-item-trigger
class has been renamed todropdown-item-trigger
k-dropdown-item-trigger-label
class has been renamed todropdown-item-trigger-label
- dynamic
k-dropdown-item
data-testid
attribute has been renamed todropdown-item
Constants, Types & Interfaces
AppearanceArray
const has been removedAppearance
type has been removed
KEmptyState
Props
isError
prop has been removed. You can use the newiconVariant
prop instead. For more details check out component documentationiconSize
prop has been removedicon
prop has been removed and replaced withiconVariant
prop. You can also use the newicon
slot to provide your custom iconctaIsHidden
prop has been removed and replaced withactionButtonVisible
propctaText
prop has been removed and replaced withactionButtonText
prophandleClick
prop has been removed. You can bind your action button click handler function to newclick-action
eventiconColor
prop has been removediconSecondaryColor
prop has been removed
Slots
message
slot has been renamed todefault
cta
slot has been renamed toaction
Structure
empty-state-wrapper
class has been changed tok-empty-state
k-empty-state-icon
class has been changed toempty-state-icon
k-empty-state-title-header
class has been changed toempty-state-title
k-empty-state-message
class has been changed toempty-state-message
k-empty-state-cta
class has been changed toempty-state-action
KExternalLink
No breaking changes.
KFileUpload
Props
testMode
prop has been removedbuttonAppearance
prop has been removed. Default button appearance has been changed totertiary
fileModel
prop has been removedremovable
prop has been removed. Component allows to clear input by defaulticonSize
prop has been removediconColor
prop has been removedicon
prop has been removedhasError
prop has been renamed toerror
type
prop has been removed- default value for
errorMessage
has been changed to''
Structure
k-file-upload-btn
class has been changed tofile-upload-button
k-file-upload-button
data-testid
attribute has been changed tofile-upload-button
Constants, Types & Interfaces
FileUploadType
type has been removed
KIcon
This component has been removed.
KInlineEdit
This component has been removed.
KInput
Props
overlayLabel
prop has been removedsize
prop has been removed (KInput only comes in 1 size now)iconPosition
prop has been removedtestMode
prop has been removedhelp
property oflabelAttributes
prop has been deprecated in favor ofinfo
hasError
prop has been deprecated in favor oferror
Slots
icon
slot has been removed. Instead, you can use newbefore
and/orafter
slots to provide icons on the left/right, inside the input
Events
icon:click
event has been removed. Instead, when usingbefore
and/orafter
slots, you can provide your custom click handlers bound to clicks on slotted content. See KInput's slots for more details
Structure
form-control
class has been removedover-char-limit
class has been removedhelp
class has been changed tohelp-text
k-input-wrapper
class has been changed tok-input
input.k-input
element class has been changed to.input
Constants, Types & Interfaces
SizeArray
andIconPositionArray
constants have been removedSize
andIconPosition
types have been removed
KInputSwitch
Props
labelPosition
prop has been removed. Please uselabelBefore
prop insteadenabledIcon
prop has been removed
Structure
k-switch
class has been removedswitch-with-icon
class has been removedhas-label-right
andhas-label-left
classes were removed
KLabel
Props
help
prop has been deprecated in favor ofinfo
testMode
prop has been removed
Structure
k-input-label
class has been renamed tok-label
is-required
class has been renamed torequired
Constant, Types & Interfaces
positionFixed
parameter was removed fromTooltipAttributes
interface
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
,Method
andMethodBadgeColors
types have been removedMethodsArray
const has been removed
KModal
Props
- new
maxWidth
prop to control the width of the modal. Defaults to500px
testMode
prop has been removedhideTitle
prop has been removedhideDismissIcon
prop has been removed and replaced withhideCloseIcon
dismissButtonTheme
prop has been removedtextAlign
prop has been removedisVisible
prop has been removed and replaced withvisible
propcontent
prop has been removed. You can use thedefault
slot instead
Slots
header-image
slot has been removed. You can usecontent
to pass custom content to KModalheader-content
slot has been removedbody-content
slot had been removed. You can use thedefault
slot insteadfooter-content
slot has been changed tofooter
action-buttons
slot has been changed tofooter-actions
Events
canceled
event has been renamed tocancel
Structure
k-modal-backdrop
class has been removed and replaced withmodal-backdrop
k-modal-dialog
class has been removed and replaced withmodal-container
k-modal-content
class has been removed and replaced withmodal-content
k-modal-footer
class has been removed and replaced withmodal-footer
Constants, Types & Interfaces
DismissButtonThemeArray
const has been removedDismissButtonTheme
type has been removedTextAlignArray
const has been removedTextAlign
type has been removed
KModalFullscreen
This component is deprecated and will be removed in the next major release.
KMultiselect
Props
testMode
prop has been removedfilterFunc
prop name has been changed tofilterFunction
disabledTooltipText
property of object passed throughitems
prop is no longer supported- default value of
collapsedContext
prop has changed totrue
- default value of
selectedRowCount
prop has changed to1
expandSelected
prop has been removedpositionFixed
prop has been removed
Events
item:added
event was renamed toitem-added
item:removed
event was renamed toitem-removed
Structure
k-multiselect-item
class has been changed tomultiselect-item
k-multiselect-item-container
class has been changed tomultiselect-item-container
k-multiselect-item-label
class has been changed tomultiselect-item-label
k-multiselect-group-container
class has been changed tomultiselect-group-container
k-multiselect-group-title
class has been changed tomultiselect-group-title
k-multiselect-label
data-testid
attribute has been changed tomultiselect-label
k-multiselect-container
data-testid
attribute has been changed tomultiselect-container
k-multiselect-wrapper
class has been changed tomultiselect-wrapper
k-multiselect-trigger
class anddata-testid
attribute has been changed tomultiselect-trigger
k-multiselect-selections
class anddata-testid
attribute has been changed toselection-badges-container
k-multiselect-selection-badge
class has been changed tomultiselect-selection-badge
k-multiselect-icon
class has been changed tomultiselect-icons-container
k-multiselect-clear-icon
class anddata-testid
attribute has been changed tomultiselect-clear-icon
k-multiselect-input
class anddata-testid
attribute has been changed tomultiselect-input
k-multiselect-list
class has been changed tomultiselect-list
k-multiselect-new-item
class has been changed tomultiselect-add-item
k-multiselect-empty-item
class anddata-testid
attribute has been changed tomultiselect-empty-item
k-multiselect-dropdown-footer-text
class has been changed todropdown-footer
k-multiselect-popover
class has been changed tomultiselect-popover
k-multiselect-chevron-icon
class has been changed tomultiselect-chevron-icon
Constants, Types & Interfaces
MultiselectFilterFnParams
interface has been renamed toMultiselectFilterFunctionParams
KPagination
KPagination now uses KDropdown instead of KSelect as the underlying component for page size selection.
Props
testMode
prop has been removedpaginationType
prop has been removed. You can use the newoffset
prop insteadoffsetPrevButtonDisabled
prop has been renamed tooffsetPreviousButtonDisabled
Events
pageChanged
event has been renamed topageChange
pageSizeChanged
event has been renamed topageSizeChange
getPrevOffset
event has been renamed togetPreviousOffset
Structure
card-pagination-bar
has been removed and replaced withk-pagination
k-pagination-container
has been replaced withk-pagination
prev-btn
data-testid
attribute has been changed toprevious-button
*-btn
part in variousdata-testid
attributes has been updated to*-button
Constants, Types & Interfaces
PageChangedData
interface has been renamed toPageChangeData
PageSizeChangedData
interface has been renamed toPageSizeChangeData
PaginationType
type has been removed
KPop
Props
isSvg
prop has been removed- default value of
buttonText
prop has changed popoverTransitions
prop has been removedtestMode
prop has been removedonPopoverClick
prop has been removed. You can a combination of newcloseOnPopoverClick
prop andpopover-click
event insteadplacement
prop options have changed, see Constants, Types & Interfaces section for more detailshidePopover
prop has been removed. Instead, you can use exposed by the componenthidePopover
methodtarget
prop has been removed (popover element is always mounted to.k-popover
element)positionFixed
prop has been removed (popover element always usesposition: fixed
)
Slots
actions
slot has been removed
Events
opened
event has been renamed toopen
closed
event has been renamed toclose
Structure
kpop-button
... has been replaced withpopover-button
k-popover-header
class has been replaced withpopover-header
k-popover-title
class has been replaced withpopover-title
k-popover-content
class has been replaced withpopover-content
k-popover-footer
class has been replaced withpopover-footer
k-popover
class has been replaced withpopover
(instead,k-popover
class has been given to outer-most element)
Constants, Types & Interfaces
- format of most placement options in
PopPlacementsArray
has changed:topStart
->top-start
,rightEnd
->right-end
, etc.- same applies to
PopPlacements
type
- same applies to
KPrompt
Props
isVisible
prop has been removed and replaced withvisible
proptype
prop has been removed. You can useactionButtonAppearance
prop to modify appearance of action button insteadactionPending
prop has been removed. We suggest usingactionButtonDisabled
prop insteadpreventProceedOnEnter
prop has been removedtabbableOptions
has been removed. You can use newmodalAttributes
prop to pass value totabbableOptions
prop in KModal
Slots
header-content
slot has been removedbody-content
slot has been changed todefault
action-buttons
slot has been removed. If you need to slot in custom action buttons, check out KModal component
Events
canceled
event has been renamed tocancel
Structure
k-prompt-confirm-text
class has been changed toprompt-confirmation-text
k-prompt-cancel
class has been removed. For testing, use[data-testid='modal-cancel-button']
instead.k-prompt-proceed
class has been removed. For testing, use[data-testid='modal-action-button']
instead.
Constants, Types & Interfaces
PromptVariantsArray
const has been removedPromptVariants
type has been removed
Komponent
Removed as of v9
. Use KComponent
instead.
Kooltip
Removed as of v9
. Use KTooltip
instead.
KRadio
Props
testMode
prop has been removedtype
prop has been deprecated in favor ofcard
prophelp
property oflabelAttributes
prop has been deprecated in favor ofinfo
Structure
k-input
class on theinput[type="radio"]
has been changed toradio-input
k-radio-default
class has been removedk-radio-card
class has been changed toradio-card
k-radio-label
class has been changed toradio-label
. If you were usingk-radio-label
to leverage preconfigured KRadio styles we suggest passing the label content through thelabel
propk-radio-description
class has been changed toradio-description
. If you were usingk-radio-description
to leverage preconfigured KRadio styles we suggest passing the label content through thedescription
prop
Krumbs
Removed as of v9
. Use KBreadcumbs
instead.
KSegmentedControl
Props
allowPointerEvents
prop has been removedisDisabled
prop has been changed todisabled
Structure
name="option.value"
attribute has been removed and replaced withdata-testid="option.value-option"
attribute
Constants, Types & Interfaces
value
property inSegmentedControlOption
type no longer acceptsboolean
KSelect
Props
appearance
prop has been removed. KSelect comes in one appearance (what previously wasselect
appearance). If you need an element that behaves like a select but looks like a button, check out KDropdown's selectionMenu propbuttonText
prop has been removedtestMode
prop has been removedoverlayLabel
prop has been removedfilterFunc
prop has been renamed tofilterFunction
autosuggest
prop has been removed and replaced withenableFiltering
prop. 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-change
event to achieve thatpositionFixed
prop has been removed
Events
item:added
event has been changed toitem-added
item:removed
event has been changed toitem-removed
Structure
k-select-input
data-testid
attribute has been changed toselect-input
- dynamic
k-select-item-*
data-testid
attribute has been changed toselect-item-*
k-select-dropdown-footer-text
class has been changed todropdown-footer
k-select-item-label
class has been changed toselect-item-label
k-select-item
class has been changed toselect-item
k-select-loading
class has been changed toselect-loading
k-select-loading
data-testid
attribute has been changed toselect-loading
k-select-group-title
class has been changed toselect-group-title
k-select-selected-item
data-testid
attribute has been changed toselected-item
k-select-list
class has been changed toselect-items-container
k-select-label
data-testid
attribute has been changed toselect-label
k-select-new-item
data-testid
attribute and class has been changed toselect-add-item
Constants, Types & Interfaces
SelectAppearanceArray
const has been removedSelectAppearance
type has been removedSelectFilterFnParams
interface has been renamed toSelectFilterFunctionParams
KSkeleton
Props
tableColumns
prop default value has changed
Structure
k-skeleton-container
class has been replaced withk-skeleton
box
class has been replaced withskeleton-box
KSlideout
Props
isVisible
prop has been changed tovisible
preventCloseOnBlur
prop has been removed in favor of newcloseOnBlur
propcloseButtonAlignment
prop has been removed
Slots
before-title
slot has been removed (you can use the newly addedtitle
slot instead)after-title
slot has been removed (you can use the newly addedtitle
slot instead)
Structure
panel
class has been replaced withslideout-container
classslideout-panel
data-testid
attribute has been replaced withslideout-container
k-slideout-header-content
class has been replaced withslideout-header
classclose-button-start
andclose-button-end
data-testid
attributes have been removed. Use theslideout-close-icon
data-testid
attribute instead.k-slideout-main-title
class andk-slideout-title
class anddata-testid
attribute were been replaced withslideout-title
content
class has been replaced withslideout-content
classcontent-card
class has been removed
KStepper
Structure
k-step-container
class has been replaced withstep-container
k-step
class has been replaced withstep
k-step-label
class has been replaced withstep-label
KTable
Props
hasHover
prop has been removed and replaced withrowHover
prophasSideBorder
prop has been removedhasError
prop has been removed and replaced witherror
propisLoading
prop has been removed and replaced withloading
propdisableSorting
prop has been removed and replaced withsortable
prop (defaults totrue
)enableClientSort
prop has been removed and replaced withclientSort
propsortHandlerFn
prop has been removed and replaced withsortHandlerFunction
propemptyStateIcon
prop has been removed. You can use the newemptyStateIconVariant
prop insteademptyStateIconColor
prop has been removedemptyStateIconSize
prop has been removedemptyStateActionButtonIcon
prop has been removed. You can use the newempty-state-action-icon
slot insteaderrorStateIcon
prop has been removederrorStateIconColor
prop has been removederrorStateIconSize
prop has been removedoptions
prop (deprecated) has been removedsortOrder
prop (deprecated) has been removedtestMode
prop has been removedpaginationType
prop has been removed. You can use newpaginationOffset
prop instead
Events
ktable-error-cta-clicked
event has been renamed toerror-action-click
ktable-empty-state-cta-clicked
event has been renamed toempty-state-action-click
Structure
k-table-container
class has been changed tok-table
k-table-toolbar
class anddata-testid
attribute has been changed totable-toolbar
k-table-skeleton
data-testid
attribute has been changed totable-skeleton
k-table-error-state
class anddata-testid
attribute has been changed totable-error-state
k-table-empty-state
class anddata-testid
attribute has been changed totable-empty-state
k-table-wrapper
class has been changed totable-wrapper
table.k-table
class has been changed totable
k-table-headers
class has been changed totable-headers
k-table-header-*
data-testid
attribute has been changed totable-header-*
k-table-pagination
class anddata-testid
attribute has been changed totable-pagination
caret
class has been changed tosort-icon
Constants, Types & Interfaces
useSortHandlerFn
parameter inTableHeader
interface has been renamed touseSortHandlerFunction
TableSortOrderArray
const has been removedTableSortOrder
type has been removedTableTestModeArray
const has been removedTableTestMode
type has been removedTablePaginationTypeArray
const has been removedTablePaginationType
type has been removed
KTabs
Props
hasPanels
prop has been renamed tohidePanels
. the default value for this prop has also been changed tofalse
Events
changed
event has been rename tochange
KTextArea
Props
testMode
prop is removedisResizable
prop is deprecated in favor ofresizable
prophasError
prop is deprecated in favor oferror
propcols
prop has been removed (use CSS to control the width of the textarea)disableCharacterLimit
prop has been removed. You can pass a booleanfalse
tocharacterLimit
prop to disable character limit
Structure
k-input-wrapper
class has been changed tok-textarea
has-error
class has been changed toinput-error
k-input
class has been changed toinput-textarea
form-control
class has been removedis-resizable
class has been changed toresizable
KToaster
Structure
toaster-container-outer
class has been replaced withk-toaster
toaster-item
class has been replaced withtoaster
message
andk-alert-msg
classes has been replaced withtoaster-message
Constants, Types & Interfaces
toasterAppearances
constant has been renamed toToasterAppearances
Toast
interface changes:title
property has been addedmessage
property became optionalappearances
property is no longer an instance ofAlertAppearance
type - instead it is an instance of newToasterAppearance
type
KTooltip
Props
testMode
prop has been removedlabel
prop has been deprecated in favor oftext
proppositionFixed
prop has been removed
Structure
k-tooltip-top
class has been changed totooltip-top
k-tooltip-right
class has been changed totooltip-right
k-tooltip-bottom
class has been changed totooltip-bottom
k-tooltip-left
class has been changed totooltip-left
KTreeList
Props
icon
property has been removed fromitems
prop. You can use theitem-icon
slot to provide your custom icon or use newhideIcons
prop to hide the icon
Constants, Types & Interfaces
icon
property has been removed fromTreeListItem
interface
Structure
k-tree-draggable
class has been changed totree-draggable
k-tree-item-container
class has been changed totree-item-container
k-tree-list-grabbing
class has been changed totree-list-grabbing
k-tree-item-grabbing
class has been changed totree-item-grabbing
k-tree-item-dragged
class has been changed totree-item-dragged
k-tree-item
class has been changed totree-item
k-tree-item-icon
class has been changed totree-item-icon
k-tree-item-label
class has been changed totree-item-label
KTruncate
Props
isTextContent
prop has been changed totruncateText
isExpanded
prop has been changed toexpanded
Structure
k-truncate-content
class has been changed totruncate-content
k-truncate-text
class has been changed totruncate-text
k-truncate-expand-controls
class has been changed totruncate-expand-controls
k-truncate-container
class has been changed totruncate-container
k-truncate-collapse-controls
class has been changed totruncate-collapse-controls
KViewSwitcher
This component has been removed.