|
16 | 16 | {{ categoryTitle }} |
17 | 17 | </template> |
18 | 18 | <template #icon> |
19 | | - <AlertOctagonIcon v-if="note.error" |
| 19 | + <AlertOctagonOutlineIcon v-if="note.error" |
20 | 20 | slot="icon" |
21 | 21 | :size="20" |
22 | 22 | fill-color="#E9322D" |
23 | 23 | /> |
24 | | - <StarIcon v-else-if="note.favorite" |
| 24 | + <StarOutlineIcon v-else-if="note.favorite" |
25 | 25 | slot="icon" |
26 | 26 | :size="20" |
27 | 27 | fill-color="#FC0" |
|
32 | 32 | /> |
33 | 33 | </template> |
34 | 34 | <template v-if="isShared" #indicator> |
35 | | - <ShareVariantIcon :size="16" fill-color="#0082c9" /> |
| 35 | + <ShareVariantOutlineIcon :size="16" fill-color="#0082c9" /> |
36 | 36 | </template> |
37 | 37 | <template #actions> |
38 | 38 | <NcActionButton :icon="actionFavoriteIcon" @click="onToggleFavorite"> |
|
41 | 41 |
|
42 | 42 | <NcActionButton @click="onToggleSharing"> |
43 | 43 | <template #icon> |
44 | | - <ShareVariantIcon :size="20" /> |
| 44 | + <ShareVariantOutlineIcon :size="20" /> |
45 | 45 | </template> |
46 | 46 | {{ t('notes', 'Share') }} |
47 | 47 | </NcActionButton> |
48 | 48 |
|
49 | 49 | <NcActionButton v-if="!showCategorySelect" @click="showCategorySelect = true"> |
50 | 50 | <template #icon> |
51 | | - <FolderIcon :size="20" /> |
| 51 | + <FolderOutlineIcon :size="20" /> |
52 | 52 | </template> |
53 | 53 | {{ categoryTitle }} |
54 | 54 | </NcActionButton> |
|
66 | 66 | @search-change="onCategoryChange" |
67 | 67 | > |
68 | 68 | <template #icon> |
69 | | - <FolderIcon :size="20" /> |
| 69 | + <FolderOutlineIcon :size="20" /> |
70 | 70 | </template> |
71 | 71 | {{ t('notes', 'Change category') }} |
72 | 72 | </NcActionInput> |
73 | 73 |
|
74 | 74 | <NcActionButton v-if="!renaming" @click="startRenaming"> |
75 | | - <PencilIcon slot="icon" :size="20" /> |
| 75 | + <PencilOutlineIcon slot="icon" :size="20" /> |
76 | 76 | {{ t('notes', 'Rename') }} |
77 | 77 | </NcActionButton> |
78 | 78 | <NcActionInput v-else |
|
83 | 83 | @input="onInputChange($event)" |
84 | 84 | @submit="onRename" |
85 | 85 | > |
86 | | - <PencilIcon slot="icon" :size="20" /> |
| 86 | + <PencilOutlineIcon slot="icon" :size="20" /> |
87 | 87 | </NcActionInput> |
88 | 88 |
|
89 | 89 | <NcActionSeparator /> |
|
101 | 101 |
|
102 | 102 | <script> |
103 | 103 | import { NcListItem, NcActionButton, NcActionSeparator, NcActionInput } from '@nextcloud/vue' |
104 | | -import AlertOctagonIcon from 'vue-material-design-icons/AlertOctagon.vue' |
| 104 | +import AlertOctagonOutlineIcon from 'vue-material-design-icons/AlertOctagonOutline.vue' |
105 | 105 | import FileDocumentOutlineIcon from 'vue-material-design-icons/FileDocumentOutline.vue' |
106 | | -import FolderIcon from 'vue-material-design-icons/Folder.vue' |
107 | | -import PencilIcon from 'vue-material-design-icons/Pencil.vue' |
108 | | -import StarIcon from 'vue-material-design-icons/Star.vue' |
| 106 | +import FolderOutlineIcon from 'vue-material-design-icons/FolderOutline.vue' |
| 107 | +import PencilOutlineIcon from 'vue-material-design-icons/PencilOutline.vue' |
| 108 | +import StarOutlineIcon from 'vue-material-design-icons/StarOutline.vue' |
109 | 109 | import { categoryLabel, routeIsNewNote } from '../Util.js' |
110 | 110 | import { showError } from '@nextcloud/dialogs' |
111 | 111 | import { setFavorite, setTitle, fetchNote, deleteNote, setCategory } from '../NotesService.js' |
112 | | -import ShareVariantIcon from 'vue-material-design-icons/ShareVariant.vue' |
| 112 | +import ShareVariantOutlineIcon from 'vue-material-design-icons/ShareVariantOutline.vue' |
113 | 113 | import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus' |
114 | 114 |
|
115 | 115 | export default { |
116 | 116 | name: 'NoteItem', |
117 | 117 |
|
118 | 118 | components: { |
119 | | - AlertOctagonIcon, |
| 119 | + AlertOctagonOutlineIcon, |
120 | 120 | FileDocumentOutlineIcon, |
121 | | - FolderIcon, |
| 121 | + FolderOutlineIcon, |
122 | 122 | NcActionButton, |
123 | 123 | NcListItem, |
124 | | - StarIcon, |
| 124 | + StarOutlineIcon, |
125 | 125 | NcActionSeparator, |
126 | 126 | NcActionInput, |
127 | | - PencilIcon, |
128 | | - ShareVariantIcon, |
| 127 | + PencilOutlineIcon, |
| 128 | + ShareVariantOutlineIcon, |
129 | 129 | }, |
130 | 130 |
|
131 | 131 | props: { |
|
0 commit comments