From 56d1575f8f71e60c648fd6a0e05778cb5b93b584 Mon Sep 17 00:00:00 2001 From: Aymane Dara Hlamnach Date: Sat, 11 Jan 2025 01:17:34 +0100 Subject: [PATCH] feat: link button (#8) --- .../celeste-vue/src/components/alert/index.ts | 1 + .../src/components/button/button.vue | 7 +- .../src/components/button/index.ts | 5 + .../src/components/button/link-button.vue | 126 ++++++++++++++++++ .../button/stories/link-button.stories.ts | 26 ++++ packages/celeste-vue/src/components/index.ts | 2 + packages/celeste-vue/src/index.ts | 14 +- packages/celeste-vue/tsconfig.app.json | 1 + packages/celeste-vue/tsconfig.build.json | 1 + packages/celeste-vue/tsconfig.check.json | 1 + packages/celeste-vue/uno.config.ts | 2 +- packages/celeste-vue/vite.config.ts | 27 ++-- 12 files changed, 196 insertions(+), 17 deletions(-) create mode 100644 packages/celeste-vue/src/components/button/index.ts create mode 100644 packages/celeste-vue/src/components/button/link-button.vue create mode 100644 packages/celeste-vue/src/components/button/stories/link-button.stories.ts create mode 100644 packages/celeste-vue/src/components/index.ts diff --git a/packages/celeste-vue/src/components/alert/index.ts b/packages/celeste-vue/src/components/alert/index.ts index 853b4cb..53a6053 100644 --- a/packages/celeste-vue/src/components/alert/index.ts +++ b/packages/celeste-vue/src/components/alert/index.ts @@ -1 +1,2 @@ export * from './alert.vue'; +export { default as Alert } from './alert.vue'; diff --git a/packages/celeste-vue/src/components/button/button.vue b/packages/celeste-vue/src/components/button/button.vue index b5086d5..0f5e462 100644 --- a/packages/celeste-vue/src/components/button/button.vue +++ b/packages/celeste-vue/src/components/button/button.vue @@ -21,15 +21,13 @@ export interface ButtonProps extends PrimitiveProps { iconPosition?: 'leading' | 'trailing'; icon?: string; label?: string; - disabled?: boolean; - as?: keyof HTMLElementTagNameMap; }