Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 12, 2023
1 parent 76df708 commit 1f8cd33
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v3.21.1

- :bug: Icon is now prefixed

### v3.21.0

- :rocket: Move to `@tabler/icons-vue` for most up-to-date icons
Expand Down
8 changes: 4 additions & 4 deletions components/Delete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
</template>
<template v-else>
<TrashIcon @click='modal = true' class='cursor-pointer'/>
<IconTrash @click='modal = true' class='cursor-pointer'/>
</template>

<TablerModal v-if='modal'>
Expand All @@ -20,7 +20,7 @@
</div>
<div class="modal-footer">
<div @click='$emit("delete")' class="btn btn-danger">
<TrashIcon/><span class='mx-2' v-text='label'/>
<IconTrash/><span class='mx-2' v-text='label'/>
</div>
</div>
</TablerModal>
Expand All @@ -30,7 +30,7 @@
<script>
import TablerModal from './Modal.vue';
import {
TrashIcon
IconTrash
} from '@tabler/icons-vue';
export default {
Expand All @@ -51,7 +51,7 @@ export default {
}
},
components: {
TrashIcon,
IconTrash,
TablerModal
}
}
Expand Down
6 changes: 3 additions & 3 deletions components/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="dropdown">
<div type="button" :id='id' data-bs-toggle="dropdown" aria-expanded="false">
<slot>
<SettingsIcon style='cursor-pointer'/>
<IconSettings style='cursor-pointer'/>
</slot>
</div>
<ul class="dropdown-menu w-100" :aria-labelledby='id'>
Expand All @@ -15,7 +15,7 @@

<script>
import {
SettingsIcon
IconSettings
} from '@tabler/icons-vue';
export default {
Expand All @@ -26,7 +26,7 @@ export default {
}
},
components: {
SettingsIcon
IconSettings
}
}
</script>
6 changes: 3 additions & 3 deletions components/Err.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<button type="button" class="btn-close" @click='close' aria-label="Close"></button>
<div class="modal-status bg-yellow"></div>
<div class="modal-body text-center py-4">
<AlertCircleIcon/>
<IconAlertCircle/>
<h3>Website Error</h3>
<div class="text-muted" v-text='err.message'></div>
<pre v-if='err.body' v-text='err.body'></pre>
Expand All @@ -21,7 +21,7 @@
<script>
import Modal from './Modal.vue';
import {
AlertCircleIcon
IconAlertCircle
} from '@tabler/icons-vue'
export default {
Expand All @@ -34,7 +34,7 @@ export default {
},
components: {
Modal,
AlertCircleIcon
IconAlertCircle
}
}
</script>
6 changes: 3 additions & 3 deletions components/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<span v-else style='padding-top: 6px;'>Select <span v-text='label'/></span>

<div class='ms-auto'>
<SettingsIcon style='margin-top: 4px;'/>
<IconSettings style='margin-top: 4px;'/>
</div>
</div>
</div>
Expand All @@ -34,7 +34,7 @@
<script>
import TablerInput from './input/Input.vue';
import {
SettingsIcon
IconSettings
} from '@tabler/icons-vue';
export default {
Expand Down Expand Up @@ -103,7 +103,7 @@ export default {
}
},
components: {
SettingsIcon,
IconSettings,
TablerInput
}
}
Expand Down
8 changes: 4 additions & 4 deletions components/None.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<div class='d-flex justify-content-center' :class='{
"mt-4 mb-2": !compact
}'>
<NotesOffIcon v-if='compact' width='32' height='32' />
<NotesOffIcon v-else width='48' height='48' />
<IconNotesOff v-if='compact' width='32' height='32' />
<IconNotesOff v-else width='48' height='48' />
</div>

<div class='text-center' :class='{
Expand All @@ -23,7 +23,7 @@

<script>
import {
NotesOffIcon
IconNotesOff
} from '@tabler/icons-vue'
export default {
Expand All @@ -43,7 +43,7 @@ export default {
},
},
components: {
NotesOffIcon
IconNotesOff
}
}
</script>
8 changes: 4 additions & 4 deletions components/Pager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<div>
<template v-if='parseInt(total) <= parseInt(limit)'>
<button @click='changePage(0)' class='btn mx-1' >
<HomeIcon class='icon'/>Home
<IconHome class='icon'/>Home
</button>
</template>
<template v-else>
<button @click='changePage(0)' class='btn mx-1' :class='{ "btn-primary": current === 0 }'>
<HomeIcon class='icon'/>Home
<IconHome class='icon'/>Home
</button>

<template v-if='end > 5 && current > 3'>
Expand Down Expand Up @@ -43,7 +43,7 @@

<script>
import {
HomeIcon
IconHome
} from '@tabler/icons-vue';
export default {
Expand Down Expand Up @@ -129,7 +129,7 @@ export default {
}
},
components: {
HomeIcon
IconHome
}
}
</script>
12 changes: 6 additions & 6 deletions components/Schema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
<div class='d-flex'>
<label class='form-label' v-text='key'/>
<div class='ms-auto'>
<PlusIcon v-if='!disabled' @click='push(key)' class='cursor-pointer'/>
<IconPlus v-if='!disabled' @click='push(key)' class='cursor-pointer'/>
</div>
</div>

<div :key='i' v-for='(arr, i) of data[key]' class='border rounded my-2 py-2 mx-2 px-2'>
<div class='d-flex'>
<div class='mx-2 my-2'>Entry <span v-text='i + 1'/></div>
<div class='ms-auto mx-2 my-2'>
<TrashIcon v-if='!disabled' @click='data[key].splice(i, 1)' class='cursor-pointer'/>
<IconTrash v-if='!disabled' @click='data[key].splice(i, 1)' class='cursor-pointer'/>
</div>
</div>

Expand All @@ -77,8 +77,8 @@ import TablerInput from './input/Input.vue';
import TablerToggle from './input/Toggle.vue';
import TablerEnum from './input/Enum.vue';
import {
PlusIcon,
TrashIcon,
IconPlus,
IconTrash,
} from '@tabler/icons-vue';
export default {
Expand Down Expand Up @@ -146,8 +146,8 @@ export default {
}
},
components: {
PlusIcon,
TrashIcon,
IconPlus,
IconTrash,
TablerInput,
TablerToggle,
TablerEnum
Expand Down
6 changes: 3 additions & 3 deletions components/internal/Label.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class='col-12 d-flex my-1'>
<span v-if='description' class='align-self-center'>
<InfoSquareIcon @click='help = true' size='20' class='cursor-pointer'/>
<IconInfoSquare @click='help = true' size='20' class='cursor-pointer'/>
<Help v-if='help' @click='help = false' :label='label || placeholder' :description='description'/>
</span>
<div
Expand All @@ -20,7 +20,7 @@

<script>
import {
InfoSquareIcon
IconInfoSquare
} from '@tabler/icons-vue';
import Help from '../Help.vue';
Expand All @@ -44,7 +44,7 @@ export default {
},
components: {
Help,
InfoSquareIcon
IconInfoSquare
}
}
</script>

0 comments on commit 1f8cd33

Please sign in to comment.