Skip to content
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(VIconBtn): create new component #21114

Merged
merged 55 commits into from
Mar 28, 2025
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
9af9cfa
feat(VIconBtn): create new component
johnleider Mar 17, 2025
6227b69
chore(VIconBtn): adjust default styling, hook up css variables
johnleider Mar 18, 2025
ee52634
Merge branch 'dev' into feat/v-icon-btn
johnleider Mar 22, 2025
2e6e5da
chore(VIconBtn): clean-up, hooking up various things, testing
johnleider Mar 22, 2025
a31384e
refactor(VIconBtn): move style declarations
johnleider Mar 22, 2025
b968146
feat(VIconBtn): add defaults provider support
johnleider Mar 22, 2025
eb2bf2e
feat(VIconBtn): add active / inactive rotate support
johnleider Mar 22, 2025
e7931c0
refactor(VIconBtn): swap toggle functionality to color
johnleider Mar 22, 2025
813ab66
feat(VIconBtn): add icon-color prop
johnleider Mar 22, 2025
e982051
fix(VIconBtn): vertically align middle
johnleider Mar 22, 2025
a81546e
chore(VIconBtn): remove unused import
johnleider Mar 22, 2025
280822e
feat(VIconBtn): add focus-visible
johnleider Mar 22, 2025
b110631
fix(VIconBtn): opacity transition
johnleider Mar 22, 2025
791f843
docs(VIconBtn): add documentation page
johnleider Mar 22, 2025
4a69132
feat(VIconBtn): add variant support
johnleider Mar 23, 2025
494911d
Merge branch 'dev' into feat/v-icon-btn
johnleider Mar 23, 2025
6786eee
chore: move v-icon-btn examples
johnleider Mar 23, 2025
1d7b5b2
docs(prop-active): fix example
johnleider Mar 23, 2025
166b382
Merge branch 'dev' into feat/v-icon-btn
Mar 24, 2025
522201d
feat(VIconBtn): add new props base and active variant, make active v-…
johnleider Mar 25, 2025
d2eb92a
fix(VIconBtn): remove pointer events when disabled
johnleider Mar 25, 2025
73182f6
docs(VIconBtn): clean-up content and examples
johnleider Mar 25, 2025
a3e9af0
feat(VIconBtn): add active-icon prop and height/width dimension support
johnleider Mar 25, 2025
673fbb5
fix(VIconBtn): return default variant if isActive is undefined
johnleider Mar 25, 2025
98477a2
docs(VInputBtn): add advanced example
johnleider Mar 25, 2025
51082f2
docs(VIconBtn): clean out usage file
johnleider Mar 25, 2025
98bdf26
fix(VIconBtn): active and focus states
johnleider Mar 25, 2025
4025b10
fix(VIconBtn): don't toggle isActive if tag is anchor and has href
johnleider Mar 25, 2025
9009fb5
docs(icon-buttons): updates from feedback
johnleider Mar 25, 2025
6f52adf
feat(VIconBtn): add new prop hide-overlay
johnleider Mar 25, 2025
41553d7
refactor(VIconBtn): remove useDimensions in favor of css variables
johnleider Mar 25, 2025
bdf636f
docs(icon-buttons): improve doc examples
johnleider Mar 25, 2025
eadb3de
chore(VIconBtn): clean-up, normalize checks for isActive typeof
johnleider Mar 25, 2025
ea4f59e
fix(VIconBtn): don't show overlay when active and NOT hovered
johnleider Mar 25, 2025
3a9f98f
fix(VIconBtn): missing color when activeColor isn't set
johnleider Mar 25, 2025
db916fb
docs(misc-video-controls): clean-up example
johnleider Mar 25, 2025
a6486b4
refactor(VIconBtn): add sensible fallback for toggle btns without color
johnleider Mar 25, 2025
2ee47de
refactor: remove computed() (#21157)
KaelWD Mar 25, 2025
3e070ff
docs(icon-buttons): add new example
johnleider Mar 26, 2025
ef93202
docs(icon-buttons): add data table example
ikushum Mar 26, 2025
1a64787
refactor: missed one
KaelWD Mar 26, 2025
9a74e58
docs(misc-table-actions): improve example
johnleider Mar 26, 2025
16fde59
Update packages/vuetify/src/components/VIconBtn/VIconBtn.tsx
johnleider Mar 27, 2025
dac2fd9
chore(VIconBtn): changes from feedback
johnleider Mar 27, 2025
00923d1
feat(VIconBtn): add new prop sizes and iconSizes
johnleider Mar 27, 2025
b23b80e
refactor(VIconBtn): remove icon font size and multiplier declaration
johnleider Mar 27, 2025
48312fe
feat(VIconBtn): add new prop icon-size
johnleider Mar 27, 2025
14b7d58
docs(misc-video-controls): update example
johnleider Mar 27, 2025
b0ad3bb
fix(VIconBtn): only use size for icon map if named
johnleider Mar 27, 2025
d2be0d2
docs(VIconBtn): update usage
johnleider Mar 27, 2025
505746d
chore: clean-up
johnleider Mar 27, 2025
5d0d57b
chore(VIconBtn): move to labs
johnleider Mar 27, 2025
80544bd
chore: fix types
johnleider Mar 27, 2025
891c876
Revert "refactor: remove computed() (#21157)"
KaelWD Mar 27, 2025
541254a
remove redundant condition
KaelWD Mar 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(prop-active): fix example
johnleider committed Mar 23, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1d7b5b2a90ce96b75d3a2bf342788d2d62b28775
20 changes: 0 additions & 20 deletions packages/docs/src/examples/v-icon-btn/prop-active.vue
Original file line number Diff line number Diff line change
@@ -1,25 +1,6 @@
<template>
<v-toolbar class="px-3" title="Toolbar">
<template #append>
<div class="d-flex ga-2">
<v-icon-btn icon="mdi-magnify">
<v-icon />

<v-dialog v-model="dialog" activator="parent" width="400">
<v-card title="Find in page">
<v-card-text>
<v-text-field label="Search" hide-details="auto" />
</v-card-text>

<template #actions>
<v-btn text="Cancel" variant="plain" @click="dialog = false"></v-btn>

<v-btn text="Search" @click="dialog = false"></v-btn>
</template>
</v-card>
</v-dialog>
</v-icon-btn>

<v-icon-btn icon="mdi-dots-vertical" active-color="surface-variant" :active="menu">
<v-icon />

@@ -31,7 +12,6 @@
</v-list>
</v-menu>
</v-icon-btn>
</div>
</template>
</v-toolbar>
</template>