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 A from './typography/link/A.vue'
|
||||
import APara from './typography/link/APara.vue'
|
||||
import ACustom from './typography/link/ACustom.vue'
|
||||
import FwbAExample from './typography/link/FwbAExample.vue'
|
||||
import FwbAExampleParagraph from './typography/link/FwbAExampleParagraph.vue'
|
||||
import FwbAExampleCustom from './typography/link/FwbAExampleCustom.vue'
|
||||
</script>
|
||||
|
||||
# Vue Links - Flowbite
|
||||
@@ -14,34 +14,34 @@ Use this example to set default styles to an inline link element.
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<A href="/"> Flowbite-vue </A>
|
||||
<fwb-a href="#"> Flowbite-vue </fwb-a>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import A from 'flowbite-vue'
|
||||
import { FwbA } from 'flowbite-vue'
|
||||
</script>
|
||||
```
|
||||
<fwb-a-example />
|
||||
|
||||
<A />
|
||||
|
||||
## Para link
|
||||
## Paragraph link
|
||||
|
||||
Use this example to set a link inside a paragraph with an underline style.
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<P>
|
||||
The free updates that will be provided is based on the <A href="/" class="underline hover:no-underline">roadmap</A> that we have laid out for this project. It is also possible that we will provide
|
||||
<fwb-p>
|
||||
The free updates that will be provided is based on the <fwb-a href="#"
|
||||
class="underline hover:no-underline">roadmap</fwb-a> that we have laid
|
||||
out for this project. It is also possible that we will provide
|
||||
extra updates outside of the roadmap as well.
|
||||
</P>
|
||||
</fwb-p>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { P, A } from 'flowbite-vue'
|
||||
import { FwbA, FwbP } from 'flowbite-vue'
|
||||
</script>
|
||||
```
|
||||
|
||||
<APara />
|
||||
<fwb-a-example-paragraph />
|
||||
|
||||
## Custom classes
|
||||
|
||||
@@ -49,12 +49,11 @@ Use `class` attribute prop to apply the tailwind classes.
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<A class="underline italic" href="/"> Flowbite-vue </A>
|
||||
<fwb-a class="text-orange-500 italic" href="#"> Flowbite-vue </fwb-a>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import A from 'flowbite-vue'
|
||||
import { FwbA } from 'flowbite-vue'
|
||||
</script>
|
||||
```
|
||||
|
||||
<ACustom />
|
||||
<fwb-a-example-custom />
|
||||
|
||||
Reference in New Issue
Block a user