-
Notifications
You must be signed in to change notification settings - Fork 70
Adaptive breadcrumb #4546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adaptive breadcrumb #4546
Conversation
9f5f531
to
f158a30
Compare
f3f8121
to
b19f950
Compare
$kendo-breadcrumb-md-icon-link-padding-x: $kendo-breadcrumb-icon-link-padding-x !default; | ||
/// The horizontal padding of the large Breadcrumb link icon. | ||
/// @group breadcrumb | ||
$kendo-breadcrumb-lg-icon-link-padding-x: $kendo-breadcrumb-lg-icon-link-padding-y !default; | ||
|
||
// Root link spacing | ||
$kendo-breadcrumb-root-link-spacing: 0px !default; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we could remove this var (for all themes), as it is not necessary any more. According to the updated design, there is not padding set to the root item
The Breadcrumb sizes look OK, Magi :) Just few more notes:
Note: I checked with the designers team the changed height of the Breadcrumb (medium size) in the Fluent theme and confirm it is intentional. |
@inikolova The final adaptive rendering is provided in the design and it doesn't include ActionSheet, just "hiding the middle items". If there is a demand for another UI, I've suggested a few new features to the Product managers, that may deserve attention here: https://github.com/telerik/web-components-ux/issues/799#issuecomment-1523702531 |
d01091f
to
3c94a91
Compare
<BreadcrumbContainer collapsing="wrap"> | ||
<BreadcrumbItem> | ||
<Icon className="k-breadcrumb-delimiter-icon" icon="chevron-right" size="xsmall" /> | ||
<BreadcrumbLink focus> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main purpose of this test is to demonstrate the different sizes of the Breadcrumb, therefore I would suggest to set background color to the page instead of using the items states (Like in this test:
https://github.com/telerik/kendo-themes/blob/develop/packages/html/src/bottom-nav/tests/bottom-nav.tsx)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Breadcrumb component should have a transparent background, so the sizes will not be visible changing the background of the test area.
105c8dc
to
afae9a2
Compare
<BreadcrumbItem> | ||
<Icon className="k-breadcrumb-delimiter-icon" icon="chevron-right" size="xsmall" /> | ||
<BreadcrumbLink> | ||
<span className="test"></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this class?
012f05c
to
0d97176
Compare
e1ed9d2
to
5f124fe
Compare
part of: https://github.com/telerik/kendo-themes-private/issues/96
closes: https://github.com/telerik/kendo-themes-private/issues/162