Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
9 changes: 8 additions & 1 deletion app/components/Button/Base.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<script setup lang="ts">
type StartIcon =
| `i-carbon:${string}`
| `i-lucide:${string}`
| `i-simple-icons:${string}`
| `i-svg-spinners:${string}`
| `i-custom:${string}`

const props = withDefaults(
defineProps<{
disabled?: boolean
Expand All @@ -8,7 +15,7 @@ const props = withDefaults(
ariaKeyshortcuts?: string
block?: boolean

classicon?: string
classicon?: StartIcon
}>(),
{
type: 'button',
Expand Down
3 changes: 2 additions & 1 deletion app/pages/package/[[org]]/[name].vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,9 @@ const { copied: copiedPkgName, copy: copyPkgName } = useClipboard({
})

//copy version name
//orginally only copied name and not version number
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
Comment thread
danielroe marked this conversation as resolved.
Outdated
const { copied: copiedVersion, copy: copyVersion } = useClipboard({
source: resolvedVersion.value ?? '',
source: () => resolvedVersion.value ?? '',
copiedDuring: 2000,
})

Expand Down
Loading