diff --git a/README.md b/README.md index f39121f..f07c3c6 100644 --- a/README.md +++ b/README.md @@ -64,11 +64,11 @@ You can use the components in your Vue templates like this: ```ts ``` @@ -76,7 +76,7 @@ If you're using `unplugin-vue-components` in your project, you can import the co ```ts diff --git a/src/components/button/Secondary.vue b/src/components/button/Secondary.vue deleted file mode 100644 index 3b73975..0000000 --- a/src/components/button/Secondary.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - diff --git a/src/components/button/index.ts b/src/components/button/index.ts index 5da4712..e372044 100644 --- a/src/components/button/index.ts +++ b/src/components/button/index.ts @@ -1,2 +1 @@ -export { default as HoppButtonPrimary } from "./Primary.vue" -export { default as HoppButtonSecondary } from "./Secondary.vue" +export { default as HoppButton } from "./Button.vue" diff --git a/src/components/modal/Heading.vue b/src/components/modal/Heading.vue index 2114a3a..9f689d4 100644 --- a/src/components/modal/Heading.vue +++ b/src/components/modal/Heading.vue @@ -12,7 +12,7 @@
- (HOPP_UI_OPTIONS) ?? {} diff --git a/src/components/modal/examples/InputDialog.vue b/src/components/modal/examples/InputDialog.vue index 46420b3..3b5528d 100644 --- a/src/components/modal/examples/InputDialog.vue +++ b/src/components/modal/examples/InputDialog.vue @@ -12,15 +12,10 @@ /> @@ -30,8 +25,7 @@ import { ref } from "vue" import { HoppModal } from "./../" import { HoppSmartInput, - HoppButtonSecondary, - HoppButtonPrimary, + HoppButton, } from "./../../index" const text = ref("") diff --git a/src/components/modal/examples/NestedDialog.vue b/src/components/modal/examples/NestedDialog.vue index 80fe2fc..e6fdffe 100644 --- a/src/components/modal/examples/NestedDialog.vue +++ b/src/components/modal/examples/NestedDialog.vue @@ -2,7 +2,7 @@ @@ -29,8 +28,7 @@ import { ref } from "vue" import { HoppModal } from "./../" import { - HoppButtonPrimary, - HoppButtonSecondary, + HoppButton, HoppSmartInput, } from "./../../index" diff --git a/src/components/smart/ConfirmModal.vue b/src/components/smart/ConfirmModal.vue index 7dadf74..68f239b 100644 --- a/src/components/smart/ConfirmModal.vue +++ b/src/components/smart/ConfirmModal.vue @@ -14,19 +14,13 @@ @@ -34,7 +28,7 @@ diff --git a/src/stories/Link.story.vue b/src/stories/Link.story.vue index e83d6fe..36f2b40 100644 --- a/src/stories/Link.story.vue +++ b/src/stories/Link.story.vue @@ -5,7 +5,7 @@ - + @@ -13,7 +13,7 @@