Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion package.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove these changes.

Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@
"types": "./dist/src/helpers/index.d.ts"
}
},
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"packageManager": "pnpm@9.5.0+sha256.dbdf5961c32909fb030595a9daa1dae720162e658609a8f92f2fa99835510ca5"
}
2 changes: 1 addition & 1 deletion src/components/smart/Checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const checkboxID = `checkbox-${checkboxIDCounter++}`
defineProps({
on: {
type: Boolean,
default: false,
default: true, // Set default to true
},
name: {
type: String,
Expand Down
2 changes: 1 addition & 1 deletion src/components/smart/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ export { default as HoppSmartPicture } from "./Picture.vue"
export { default as HoppSmartPlaceholder } from "./Placeholder.vue"
export { default as HoppSmartTree } from "./Tree.vue"
export { default as HoppSmartTreeBranch } from "./TreeBranch.vue"
export { default as HoppSmartSelectWrapper } from "./SelectWrapper.vue"
export { default as HoppSmartSelectWrapper } from "./SelectWrapper.vue"
6 changes: 1 addition & 5 deletions src/stories/Checkbox.story.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<template>
<Story title="Checkbox">
<Variant title="Single">
<HoppSmartCheckbox :on="on" />
<HoppSmartCheckbox />
</Variant>
</Story>
</template>

<script setup lang="ts">
import { HoppSmartCheckbox } from "../components/smart"

import { ref } from "vue"

const on = ref(true)
</script>