You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guidance: Make sure that all KRadioButtons are wrapped in KRadioButtonGroup.
KOverlay: Use KOverlay to move an element from its original place in the DOM to the overlay container element #k-overlay. This is often useful for modals, tooltips, dropdowns, or other elements that should appear on top of other content. By @MisRob in Let's teleport + make 'sidebar' icon flip in RTL languages #722.
Guidance: Find all polite and live regions (or roles) in an application. Remove them and instead use useKLiveRegion.sendPoliteMessage and useKLiveRegion.sendAssertiveMessage to update the live regions that KDS inserted to document body during installation.
🚩BREAKING🚩 Removes KImg props related to dimensions: height, width, maxHeight, minHeight, maxWidth, minWidth. By @MisRob in KImg review follow-ups #615.
Guidance: Use native style, for example replace <KImg width="100%" maxWidth="500px" /> by <KImg :style="{ width: '100%', maxWidth: '500px' }" />.
Guidance: The KImg component may now emit an Error object in its @error listener when incorrectly configured, in addition to an UiEvent|Event when an image fails to load. Consumers should type check the value.
Adds logic that inserts ARIA live assertive and polite regions to an application's document body during KDS initialization. By @MisRob in Add live regions logic #687.
Adds new Installation page to inform the KDS installation steps, and note the changes it makes to the DOM, and the properties, helpers and components it provided. By @MisRob in Add live regions logic #687.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Environment 💻
New components
KCard
component #625, Update spaces to the latest designs #709, add custom validation #707, update below title slot styling #688, Add options to configure thumbnail alignment #706, Add preserveAboveTitle prop for flexible aboveTitle slot management. #705, Removed the border-radius on align left #754, fixes card display without a thumbnail #752, KCardGrid: Part 1 - Prepare KCard + few bugfixes and a visual spacing update #774, KCardGrid part 2: Add KCardGrid with the base layouts + Add selection controls + Final documentation for KCard and KCardGrid + Few KCard bugfixes and improvements #785, KCardGrid part 3: Add advanced grid configuration and loading skeletons #796, More flexible KCard click event handling #825, Re-organize KCard styles to simplify and improve content tolerance #838, PrependKCard
class names withk
#851.KCard
. By @MisRob in KCardGrid part 2: Add KCardGrid with the base layouts + Add selection controls + Final documentation for KCard and KCardGrid + Few KCard bugfixes and improvements #785, Fix KCard area not taking available width #820.KTable
#824, Fixed case-sensitive sorting for KTable #854, Add Margins to Empty Table Message for Consistent Spacing #887 and Refactor handleKeydown Method for Improved Readability and Maintainability #804.KRadioButton
s are wrapped inKRadioButtonGroup
.KOverlay
to move an element from its original place in the DOM to the overlay container element#k-overlay
. This is often useful for modals, tooltips, dropdowns, or other elements that should appear on top of other content. By @MisRob in Let's teleport + make 'sidebar' icon flip in RTL languages #722.New composables
useKLiveRegion.sendPoliteMessage
anduseKLiveRegion.sendAssertiveMessage
to update the live regions that KDS inserted to document body during installation.elementHeight
andelementWidth
. By @AlexVelezLl in Remove KResponsiveElementMixin #783.KImg
height
,width
,maxHeight
,minHeight
,maxWidth
,minWidth
. By @MisRob in KImg review follow-ups #615.<KImg width="100%" maxWidth="500px" />
by<KImg :style="{ width: '100%', maxWidth: '500px' }" />
.KImg
's placeholder and letterbox area background color to a lighter shade of grey,v_50
. By @MisRob in Update KImg's placeholder and letterbox area background color #666.KTextTruncator
lineHeightIE
prop and drops Internet Explorer 11 support. By @Nivas7 in Remove Internet Explorer 11 specific logic from KTextTruncator #652.KResponsiveWindow
KResponsiveWindowMixin
with the new composableuseKResponsiveWindow
.KResponsiveElementMixin
KResponsiveElementMixin
with the new composableuseKResponsiveElement
.UiToolbar
/lib/keen/UiToolbar
. By @rtibbles in Minimal implementation of KToolbar. #831.KToolbar
component instead.KModal
appendToRoot
prop toappendToOverlay
. By @MisRob in Let's teleport + make 'sidebar' icon flip in RTL languages #722KDS General Styling
%dropshadow-Xdp
usage different than 1dp, 2dp and 6dp to the latest drop shadows guidelines.KImg, KTabs, KTabsList
@error
listener to avoid polluting test output, nor suppressingconsole.*
in tests. By @bjester in Node.js upgrade to v18 along with dependency upgrades and linting fixes #645.KImg
component may now emit anError
object in its@error
listener when incorrectly configured, in addition to anUiEvent|Event
when an image fails to load. Consumers should type check the value.KSelect
KSelect
as part of moving away from Keen UI. By @Jaspreet-singh-1032 in kselect refactor #549.KSelect
is recommended due to the large scope of refactor.@dropdown-open
,@dropdown-close
,@query-change
,@input
,@touch
,@focus
. By @Jaspreet-singh-1032 in kselect refactor #549.#default
,#display
,#option
,#no-results
,#error
,#help
. By @Jaspreet-singh-1032 in kselect refactor #549.reset
to reset the state of the KSelect to default values. By @Jaspreet-singh-1032 in kselect refactor #549.value
prop changes. By @rtibbles in Restore value watcher to update selection #843.KIconButton
tooltip
prop as fallback whenariaLabel
is missing in KIconButton. By @shivam-daksh in Improve accessibility by using tooltip as fallback for ariaLabel in KIconButton #798.KDateRange
lastAllowedDate
prop instead of the current month. By @LianaHarris360 in Fix KDateRange failing tests on prs opened on last day of the month #718.KDropdownMenu
maxWidth
prop to KDropdownMenu to override dropdown max width. By @lokesh-sagi125 in make ui menu accept maxWidth to avoid text truncation #870.KSwitch
ariaLabelledBy
prop to KSwitch. By @Sahil-Sinha-11 in added arialabelled Prop for kSwitch #808.KTooltip
appendToOverlay
, to KTooltip. By @MisRob in Let's teleport + make 'sidebar' icon flip in RTL languages #722KIcon
previewUnavailable
,brokenImage
,autoReplace
,basicSkillsResource
,circleCheckmark
,optionsCircle
,dailyLifeResource
,forTeachersResource
andschoolResource
. By @MisRob, @rtibbles and @marcellamaki in Add previewUnavailable icon #678, Robustly handle missing icons. #391 and Add additional icons needed for 0.18 coach category modal #919.brokenImage
icon as fallback if the providedicon
is invalid. By @rtibbles in Robustly handle missing icons. #391.KRadioButton
KBreadcrumbs
KBreadcrumbs
so that the truncated text can be seen fully when a breadcrumb item is hovered. By @RONAK-AI647 in Adding title attribute in k breadcrumbs for truncated texts#839 #872.KThemePlugin
$darken1
,$darken2
and$darken3
global utility functions for darkening palette colors. By @shivam-daksh in Add $darken_ Utility Functions for Darkening Palette Colors #728.KDS Instalation
#k-overlay
to an application's document body during KDS initialization. By @MisRob in Let's teleport + make 'sidebar' icon flip in RTL languages #722User experience
$core-time
value from 0.25s to 0.15s to get faster transitions inKButton
,KExternalLink
,KRouterLink
,KModal
,KCard
,KIcon
,KTabsList
,KTabs
, and places in consumers that imports$core-time
. By @MisRob in Update $core-time value and dropshadows documentation to the latest guidance from the design team #723.Docs 🗒️
Installation
page to inform the KDS installation steps, and note the changes it makes to the DOM, and the properties, helpers and components it provided. By @MisRob in Add live regions logic #687.New Contributors
Full Changelog: v4.6.0...v5.0.0
This discussion was created from the release v5.0.0.
Beta Was this translation helpful? Give feedback.
All reactions