-
Notifications
You must be signed in to change notification settings - Fork 472
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
feat(experimental): add tuiButtonGroup
#6686
Conversation
Pull request was closed ✔️All saved screenshots (for current PR) were deleted 🗑️ |
BundleMonFiles added (5)
Total files change +650.52KB Groups added (1)
Final result: ✅ View report in BundleMon website ➡️ |
Visit the preview URL for this PR (updated for commit 80e84b3): https://taiga-ui--pr6686-splincode-button-gro-3zbzwcog.web.app (expires Tue, 13 Feb 2024 13:21:44 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4b5ece1e114386f6a105425ef799091475b249eb |
53e44a8
to
bb55522
Compare
projects/demo/src/modules/experimental/button-group-card/examples/1/index.html
Outdated
Show resolved
Hide resolved
projects/demo/src/modules/experimental/button-group-card/examples/1/index.html
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group-card/button-group-card.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group-card/button-group-card.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group-card/button-group-card.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group-card/button-group-card.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group-card/button-group-card.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group-card/button-group-card.style.less
Outdated
Show resolved
Hide resolved
bb55522
to
6080d8a
Compare
tuiButtonGroupCard
tuiButtonGroup
d117e02
to
ea8f4c1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v3.x #6686 +/- ##
=======================================
Coverage ? 70.58%
=======================================
Files ? 1097
Lines ? 13090
Branches ? 1850
=======================================
Hits ? 9240
Misses ? 3539
Partials ? 311
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Just noticed that the icon is bigger than in vertical buttons. Let's not reuse vertical buttons, everything ends up different – padding, radius, gap, font. Let's just use regular button + tui-icon and apply all the necessary styles in the group. |
41671c0
to
23e069a
Compare
@waterplea updated |
50c52d7
to
6abee23
Compare
projects/demo/src/modules/experimental/button-group/examples/import/insert-template.md
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/demo/src/modules/experimental/button-group/examples/1/index.html
Show resolved
Hide resolved
82b0230
to
151ab9c
Compare
projects/demo/src/modules/experimental/button-group/examples/3/index.less
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
height: auto; | ||
font-size: 0.8125rem; | ||
white-space: pre-line; | ||
min-width: 7.125rem; |
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 height
, min-width
and font-weight
?
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.
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.
That's ok, we should just add width to the container, that is where it should come from.
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
Please also add |
151ab9c
to
ecdd08d
Compare
0314f88
to
dcd7767
Compare
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
projects/experimental/directives/button-group/button-group.style.less
Outdated
Show resolved
Hide resolved
aedb408
to
25c76f9
Compare
} | ||
|
||
[tuiButtonGroup] { | ||
width: 21.5625rem; |
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.
Why so specific? What if we move it to :host instead so there's no extra selectors in .less file?
25c76f9
to
80e84b3
Compare
80e84b3
to
60b9ea8
Compare
No description provided.