Skip to content

Commit 3c8fd8b

Browse files
authored
Merge pull request #1 from themesberg/fileinput-dropzone-label
Fileinput dropzone label
2 parents 08ca958 + a72e3cc commit 3c8fd8b

File tree

353 files changed

+9005
-4480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+9005
-4480
lines changed

.eslintrc.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/node.js.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ name: Node.js CI
55

66
on:
77
pull_request:
8-
branches: [ "main" ]
8+
branches: ['main']
99

1010
jobs:
1111
docs-build:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [18.x, 20.x]
15+
node-version: [18.x, 20.x, 22.x]
1616
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
cache: 'npm'
@@ -30,9 +30,9 @@ jobs:
3030
node-version: [18.x]
3131
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v3
35+
uses: actions/setup-node@v4
3636
with:
3737
node-version: ${{ matrix.node-version }}
3838
cache: 'npm'
@@ -42,12 +42,12 @@ jobs:
4242
runs-on: ubuntu-latest
4343
strategy:
4444
matrix:
45-
node-version: [18.x, 20.x]
45+
node-version: [18.x, 20.x, 22.x]
4646
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
4747
steps:
48-
- uses: actions/checkout@v3
48+
- uses: actions/checkout@v4
4949
- name: Use Node.js ${{ matrix.node-version }}
50-
uses: actions/setup-node@v3
50+
uses: actions/setup-node@v4
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353
cache: 'npm'
@@ -57,12 +57,12 @@ jobs:
5757
runs-on: ubuntu-latest
5858
strategy:
5959
matrix:
60-
node-version: [ 18.x, 20.x ]
60+
node-version: [18.x, 20.x, 22.x]
6161
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
6262
steps:
63-
- uses: actions/checkout@v3
63+
- uses: actions/checkout@v4
6464
- name: Use Node.js ${{ matrix.node-version }}
65-
uses: actions/setup-node@v3
65+
uses: actions/setup-node@v4
6666
with:
6767
node-version: ${{ matrix.node-version }}
6868
cache: 'npm'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jspm_packages/
7474
.vuepress/dist
7575
docs/.vitepress/cache
7676

77+
# VSCode custom configs
78+
.vscode
79+
7780
# Stores VSCode versions used for testing VSCode extensions
7881
.vscode-test
7982

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.6.2
1+
18.20.6

.prettierrc.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/.postcssrc.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
// here we add :not(:where(.vp-raw *)) selector to use it inside component examples
44
// to prevent component style pollution from .vp-doc styles
55

6-
module.exports = {
7-
plugins: {
8-
'tailwindcss': {},
9-
'postcss-prefix-selector': {
10-
prefix: ':not(:where(.vp-raw *))',
11-
includeFiles: [/vp-doc\.css/],
12-
transform(prefix, _selector) {
13-
const [selector, pseudo = ''] = _selector.split(/(:\S*)$/)
14-
return selector + prefix + pseudo
15-
}
16-
},
17-
}
18-
}
6+
export default {
7+
plugins: {
8+
'tailwindcss': {},
9+
'postcss-prefix-selector': {
10+
prefix: ':not(:where(.vp-raw *))',
11+
includeFiles: [/vp-doc\.css/],
12+
transform (prefix, _selector) {
13+
const [selector, pseudo = ''] = _selector.split(/(:\S*)$/)
14+
return selector + prefix + pseudo
15+
},
16+
},
17+
},
18+
}

docs/.vitepress/config.mts renamed to docs/.vitepress/config.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineConfig } from 'vitepress'
22

3-
function buildSidebar() {
3+
function buildSidebar () {
44
return [
55
{
66
items: [
@@ -23,7 +23,7 @@ function buildSidebar() {
2323
collapsible: true,
2424
items: [
2525
...getTypography(),
26-
]
26+
],
2727
},
2828
{
2929
text: 'Utils',
@@ -33,7 +33,7 @@ function buildSidebar() {
3333
]
3434
}
3535

36-
function getComponents() {
36+
function getComponents () {
3737
return [
3838
{ text: 'Accordion', link: '/components/accordion' },
3939
{ text: 'Alert', link: '/components/alert' },
@@ -63,7 +63,7 @@ function getComponents() {
6363
]
6464
}
6565

66-
function getFormComponents() {
66+
function getFormComponents () {
6767
return [
6868
{ text: 'Input', link: '/components/input' },
6969
{ text: 'File Input', link: '/components/fileInput' },
@@ -76,19 +76,20 @@ function getFormComponents() {
7676
]
7777
}
7878

79-
function getUtils() {
79+
function getUtils () {
8080
return [
8181
{ text: 'Flowbite Themable', link: '/components/flowbiteThemable/flowbiteThemable.md' },
8282
{ text: 'Toast Provider', link: '/components/toastProvider/toastProvider.md' },
8383
]
8484
}
8585

86-
function getTypography() {
86+
function getTypography () {
8787
return [
88+
{ text: 'Blockquote', link: '/components/blockquote' },
8889
{ text: 'Heading', link: '/components/heading' },
8990
{ text: 'Paragraph', link: '/components/paragraph' },
9091
{ text: 'Image', link: '/components/image' },
91-
{ text: 'Link', link: '/components/link' }
92+
{ text: 'Link', link: '/components/link' },
9293
]
9394
}
9495

@@ -98,6 +99,7 @@ function getTypography() {
9899
*/
99100
export default defineConfig({
100101
title: 'Flowbite Vue 3',
102+
description: 'Flowbite Vue is an open-source UI component library built with Vue components, Tailwind CSS utility classes and based on the Flowbite design system and components.',
101103
cleanUrls: true,
102104
head: [
103105
['link', { rel: 'icon', type: 'image/svg', href: '/assets/logo.svg' }],
@@ -135,7 +137,7 @@ export default defineConfig({
135137

136138
footer: {
137139
message: 'Released under the MIT License.',
138-
copyright: 'Copyright © 2023 Flowbite™',
140+
copyright: `Copyright © ${new Date().getFullYear()} Flowbite™`,
139141
},
140142
},
141143
})

docs/.vitepress/theme/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// https://vitepress.dev/guide/custom-theme
2-
import { h } from 'vue'
32
import Theme from 'vitepress/theme'
3+
import { h } from 'vue'
4+
45
import './tailwind.css'
56
import './clear.css'
67

0 commit comments

Comments
 (0)