From 92c8a4224ff8ce9c0030047fbdc1963ec95d1476 Mon Sep 17 00:00:00 2001 From: Alexandr Date: Fri, 22 Jul 2022 12:07:21 +0300 Subject: [PATCH] feat: some improvements for npm publish --- docs/.vitepress/config.ts | 36 ++++++++++++++-------------- package.json | 4 ++-- src/components/Avatar/Avatar.vue | 4 +++- src/components/Carousel/Carousel.vue | 6 ++--- src/components/ListGroup/types.ts | 0 src/components/Navbar/Navbar.vue | 2 +- 6 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 src/components/ListGroup/types.ts diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index d2f48f9..a26897b 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -30,25 +30,25 @@ function getComponents() { { text: 'Dropdown', link: '/guide/dropdown/dropdown.md' }, { text: 'Spinner', link: '/guide/spinner/spinner.md' }, { text: 'Tabs', link: '/guide/tabs/tabs.md' }, - - { text: 'Accordion', link: 'guide/accordion/accordion.md' }, - { text: 'Avatar', link: 'guide/avatar/avatar.md' }, - { text: 'Badge', link: 'guide/badge/badge.md' }, - { text: 'Breadcrumb', link: 'guide/breadcrumb/breadcrumb.md' }, - { text: 'Card', link: 'guide/card/card.md' }, - { text: 'Carousel', link: 'guide/carousel/carousel.md' }, - { text: 'Footer', link: 'guide/footer/footer.md' }, { text: 'ListGroup', link: 'guide/listGroup/listGroup.md' }, - { text: 'Modal', link: 'guide/modal/modal.md' }, - { text: 'Navbar', link: 'guide/navbar/navbar.md' }, - { text: 'Pagination', link: 'guide/pagination/pagination.md' }, - { text: 'Progress', link: 'guide/progress/progress.md' }, - { text: 'Rating', link: 'guide/rating/rating.md' }, - { text: 'Sidebar', link: 'guide/sidebar/sidebar.md' }, - { text: 'Table', link: 'guide/table/table.md' }, - { text: 'Timeline', link: 'guide/timeline/timeline.md' }, - { text: 'Toast', link: 'guide/toast/toast.md' }, - { text: 'Tooltip', link: 'guide/tooltip/tooltip.md' }, + + { text: '- Accordion', link: 'guide/accordion/accordion.md' }, + { text: '- Avatar', link: 'guide/avatar/avatar.md' }, + { text: '- Badge', link: 'guide/badge/badge.md' }, + { text: '- Breadcrumb', link: 'guide/breadcrumb/breadcrumb.md' }, + { text: '- Card', link: 'guide/card/card.md' }, + { text: '- Carousel', link: 'guide/carousel/carousel.md' }, + { text: '- Footer', link: 'guide/footer/footer.md' }, + { text: '- Modal', link: 'guide/modal/modal.md' }, + { text: '- Navbar', link: 'guide/navbar/navbar.md' }, + { text: '- Pagination', link: 'guide/pagination/pagination.md' }, + { text: '- Progress', link: 'guide/progress/progress.md' }, + { text: '- Rating', link: 'guide/rating/rating.md' }, + { text: '- Sidebar', link: 'guide/sidebar/sidebar.md' }, + { text: '- Table', link: 'guide/table/table.md' }, + { text: '- Timeline', link: 'guide/timeline/timeline.md' }, + { text: '- Toast', link: 'guide/toast/toast.md' }, + { text: '- Tooltip', link: 'guide/tooltip/tooltip.md' }, ] } diff --git a/package.json b/package.json index ce716b4..fc7ef6c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "flowbite-vue", - "version": "1.0.0", + "version": "0.0.1", "repository": "https://github.com/themesberg/flowbite-vue.git", - "author": "Ralph Schuler ", + "author": "themesberg", "license": "MIT", "files": [ "dist", diff --git a/src/components/Avatar/Avatar.vue b/src/components/Avatar/Avatar.vue index c7e766a..b56b350 100644 --- a/src/components/Avatar/Avatar.vue +++ b/src/components/Avatar/Avatar.vue @@ -1,5 +1,7 @@