-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add info kanban + filters, fix: colors, refactoring
- Loading branch information
Showing
29 changed files
with
479 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<script setup lang="ts"> | ||
import { UiButton } from '@/shared/ui'; | ||
import { Trash2 } from 'lucide-vue-next'; | ||
</script> | ||
|
||
<template> | ||
<UiButton :variant="'dashed'" :size="'sm'" :class="$style.trash"> | ||
<Trash2 :size="16" /> | ||
</UiButton> | ||
</template> | ||
|
||
<style module lang="scss"> | ||
.trash { | ||
height: 30px; | ||
gap: 8px; | ||
& > svg { | ||
color: var(--zinc-500); | ||
} | ||
} | ||
:global(html.dark) { | ||
.trash { | ||
background-color: transparent; | ||
&:hover { | ||
background-color: transparent; | ||
border-color: var(--zinc-500); | ||
} | ||
& > svg { | ||
color: var(--zinc-300); | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<script setup lang="ts"> | ||
import { ref } from 'vue'; | ||
import { UiButton, UiSheet } from '@/shared/ui'; | ||
import type { SheetElement } from '@/shared/ui'; | ||
import { Settings2 } from 'lucide-vue-next'; | ||
const sheet = ref<SheetElement | null>(null); | ||
const open = () => { | ||
if (sheet.value) { | ||
sheet.value.open(); | ||
} | ||
}; | ||
</script> | ||
|
||
<template> | ||
<UiButton :variant="'dashed'" :size="'sm'" :class="$style.settings" @click="open"> | ||
<Settings2 :size="16" /> | ||
</UiButton> | ||
<UiSheet ref="sheet"> settings </UiSheet> | ||
</template> | ||
|
||
<style module lang="scss"> | ||
.settings { | ||
height: 30px; | ||
gap: 8px; | ||
& > svg { | ||
color: var(--zinc-500); | ||
} | ||
} | ||
:global(html.dark) { | ||
.settings { | ||
background-color: transparent; | ||
&:hover { | ||
background-color: transparent; | ||
border-color: var(--zinc-500); | ||
} | ||
& > svg { | ||
color: var(--zinc-300); | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<script setup lang="ts"> | ||
import { useI18n } from 'vue-i18n'; | ||
import { UiButton } from '@/shared/ui'; | ||
import { AlignEndHorizontal, ArrowDown10 } from 'lucide-vue-next'; | ||
const { t } = useI18n(); | ||
</script> | ||
|
||
<template> | ||
<UiButton :variant="'dashed'" :size="'sm'" :class="$style.sort_button"> | ||
<AlignEndHorizontal :size="16" /> | ||
{{ t('kanban.sorting.activity') }} | ||
</UiButton> | ||
<UiButton :variant="'dashed'" :size="'sm'" :class="$style.sort_button"> | ||
<ArrowDown10 :size="16" /> | ||
{{ t('kanban.sorting.workload') }} | ||
</UiButton> | ||
</template> | ||
|
||
<style module lang="scss"> | ||
.sort_button { | ||
height: 30px; | ||
gap: 8px; | ||
& > svg { | ||
color: var(--zinc-400); | ||
} | ||
} | ||
:global(html.dark) { | ||
.sort_button { | ||
background-color: transparent; | ||
&:hover { | ||
background-color: transparent; | ||
border-color: var(--zinc-500); | ||
} | ||
& > svg { | ||
color: var(--zinc-300); | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import AddColumn from './AddColumn.vue'; | ||
import DragCards from './DragCards.vue'; | ||
import DragColumns from './DragColumns.vue'; | ||
import SettingsSheet from './SettingsSheet.vue'; | ||
import SortingItems from './SortingItems.vue'; | ||
import RemoveBoard from './RemoveBoard.vue'; | ||
|
||
export { AddColumn, DragCards, DragColumns }; | ||
export { AddColumn, DragCards, DragColumns, SortingItems, SettingsSheet, RemoveBoard }; |
Oops, something went wrong.