Components renaming (#225)
* refactor: eslint config adjusted for better diff's * refactor: stricter linting + dependencies updated * refactoring: paragraph component - component - docs * refactoring: heading component - component - docs * Update docs/components/heading.md Co-authored-by: Ilya Artamonov <ilya.sosidka@gmail.com> * refactoring: link component - component - docs * refactoring: image component - component - docs * refactoring: alert component - component - docs * refactoring: avatar component - component - docs * refactoring: removed unnecessary code - component names come from the file name * refactoring: breadcrumb component - component - docs * refactoring: accordion component - component - docs * refactoring: buttom component - component - docs * refactoring: badge component - component - docs * refactoring: card component - component - docs * refactoring: order of components in docs updated * refactoring: unnecessary semicolons removed * refactoring: button group component - component - docs * refactoring: carousel component - component - docs * refactoring: dropdown component - component - docs * refactoring: footer component - component - docs * refactoring:list-group component - component - docs * refactoring: modal component - component - docs * refactoring: navbar component - component - docs * refactoring: pagination component - component - docs * refactoring: progress component - component - docs * refactoring: rating component - component - docs * refactoring: spinner component - component - docs * refactoring: table component - component - docs * refactoring: tabs component - component - docs * feat: Updated pagination examples * lint: Lister fixes * feat: Sidebar component and some fixes * feat: Input component * feat: Some fixes * feat: Some fixes * chore: update deps * refactor: removed old Modal component * refactor: radio component and some fixes * fix: fixed path error * refactor: Range component * refactoring: timeline component - component - docs * refactor: Select component * refactoring: toast component - component - docs * refactoring: tooltip component - component - docs * refactoring: sidebar component - component - docs * refactoring: input component - component - docs * refactoring: fileInput component - component - docs * refactoring: select component - component - docs * refactoring: textarea component - component - docs * refactoring: checkbox component - component - docs * refactoring: radio component - component - docs * refactoring: toggle component - component - docs * refactoring: range component - component - docs * local configs linted * documentation quick start updated * flowbite-themable refactored to fit new linters and style guide * random linter fixes * refactoring: toast-provider component - component - docs * final linter fixes * lint: Linter fixes * fix: Fixed types * fix: Fixed card component * docs: Updated card examples * fix: Fixed tabs * refactor: Heading component refactoring * Fwb rename - few fixes after component review (#237) * fix: button documentation * fix: model type in range examples * chore: Toast marked as WIP --------- Co-authored-by: Sqrcz <naorniakowski@slashlab.pl> Co-authored-by: Sqrcz <naorniakowski@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup>
|
||||
import CardDefaultExample from './card/examples/CardDefaultExample.vue'
|
||||
import CardImageExample from './card/examples/CardImageExample.vue'
|
||||
import CardHorizontalExample from './card/examples/CardHorizontalExample.vue'
|
||||
import FwbCardExample from './card/examples/FwbCardExample.vue'
|
||||
import FwbCardExampleImage from './card/examples/FwbCardExampleImage.vue'
|
||||
import FwbCardExampleHorizontal from './card/examples/FwbCardExampleHorizontal.vue'
|
||||
</script>
|
||||
# Vue Card - Flowbite
|
||||
|
||||
@@ -17,54 +17,74 @@ Use these responsive card components to show data entries and information to you
|
||||
|
||||
## Prop - default
|
||||
|
||||
<CardDefaultExample />
|
||||
|
||||
<fwb-card-example />
|
||||
```vue
|
||||
<script setup>
|
||||
import { TheCard } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<the-card href="#">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</the-card>
|
||||
<fwb-card href="#">
|
||||
<div class="p-5">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
|
||||
Noteworthy technology acquisitions 2021
|
||||
</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</div>
|
||||
</fwb-card>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { FwbCard } from 'flowbite-vue'
|
||||
</script>
|
||||
```
|
||||
|
||||
## Prop - image
|
||||
|
||||
<CardImageExample />
|
||||
|
||||
<fwb-card-example-image />
|
||||
```vue
|
||||
<script setup>
|
||||
import { TheCard } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<the-card variant="image" img-src="https://flowbite.com/docs/images/blog/image-1.jpg" img-alt="Desk">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</the-card>
|
||||
<fwb-card
|
||||
img-alt="Desk"
|
||||
img-src="https://flowbite.com/docs/images/blog/image-1.jpg"
|
||||
variant="image"
|
||||
>
|
||||
<div class="p-5">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
|
||||
Noteworthy technology acquisitions 2021
|
||||
</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</div>
|
||||
</fwb-card>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { FwbCard } from 'flowbite-vue'
|
||||
</script>
|
||||
```
|
||||
|
||||
## Prop - horizontal
|
||||
|
||||
<CardHorizontalExample />
|
||||
|
||||
<fwb-card-example-horizontal />
|
||||
```vue
|
||||
<script setup>
|
||||
import { TheCard } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<the-card href="#" variant="horizontal" img-src="https://flowbite.com/docs/images/blog/image-4.jpg" img-alt="Desk">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</the-card>
|
||||
<fwb-card
|
||||
img-alt="Desk"
|
||||
img-src="https://flowbite.com/docs/images/blog/image-4.jpg"
|
||||
variant="horizontal"
|
||||
>
|
||||
<div class="p-5">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
|
||||
Noteworthy technology acquisitions 2021
|
||||
</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</div>
|
||||
</fwb-card>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { FwbCard } from 'flowbite-vue'
|
||||
</script>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user