Skip to content

Commit 3be8bca

Browse files
authored
Merge pull request #409 from Sqrcz/chore--refactoring-and-dependency-updates
chore: refactoring and dependency updates
2 parents 9d220c2 + 023d9bb commit 3be8bca

File tree

16 files changed

+2015
-1552
lines changed

16 files changed

+2015
-1552
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [18.x, 20.x, 22.x]
15+
node-version: [20.x, 22.x, 24.x]
1616
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1717
steps:
1818
- uses: actions/checkout@v4
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
node-version: [18.x]
30+
node-version: [20.x]
3131
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
3232
steps:
3333
- uses: actions/checkout@v4
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
strategy:
4444
matrix:
45-
node-version: [18.x, 20.x, 22.x]
45+
node-version: [20.x, 22.x, 24.x]
4646
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
4747
steps:
4848
- uses: actions/checkout@v4
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
strategy:
5959
matrix:
60-
node-version: [18.x, 20.x, 22.x]
60+
node-version: [20.x, 22.x, 24.x]
6161
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
6262
steps:
6363
- uses: actions/checkout@v4

docs/components/card/examples/FwbCardExample.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<template>
22
<div class="vp-raw inline-flex flex-wrap gap-2">
3-
<fwb-card href="#" class="w-sm">
3+
<fwb-card
4+
href="#"
5+
class="w-sm"
6+
>
47
<div class="p-5">
58
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
69
Noteworthy technology acquisitions 2021

docs/components/textarea/examples/FwbTextareaExampleDisabled.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<form
3-
class="vp-raw"
3+
class="gap-2 grid vp-raw"
44
@submit.prevent
55
>
66
<fwb-textarea
@@ -22,7 +22,10 @@
2222
placeholder="Cannot be edited"
2323
readonly
2424
/>
25-
<fwb-button type="submit">
25+
<fwb-button
26+
class="justify-self-start"
27+
type="submit"
28+
>
2629
Validate
2730
</fwb-button>
2831
</form>

docs/components/toastProvider/examples/UpdateToast.vue

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,43 @@
11
<template>
2-
<flowbite-themable theme="blue">
3-
<fwb-toast
4-
v-bind="$attrs"
5-
@close="$emit('close')"
6-
>
7-
<template #icon>
8-
<svg
9-
aria-hidden="true"
10-
class="size-5"
11-
fill="#ffff"
12-
viewBox="0 0 20 20"
13-
xmlns="http://www.w3.org/2000/svg"
14-
>
15-
<path
16-
fill-rule="evenodd"
17-
d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z"
18-
clip-rule="evenodd"
19-
/>
20-
</svg>
21-
</template>
22-
<span class="mb-1 text-sm font-semibold text-gray-900 dark:text-white">Update available</span>
23-
<div class="mb-2 text-sm font-normal">
24-
<slot />
25-
</div>
26-
<div class="grid grid-cols-2 gap-2">
27-
<fwb-button size="xs">
28-
Update
29-
</fwb-button>
30-
<fwb-button
31-
size="xs"
32-
:color="'alternative'"
33-
>
34-
Not now
35-
</fwb-button>
36-
</div>
37-
</fwb-toast>
38-
</flowbite-themable>
2+
<div>
3+
<flowbite-themable theme="blue">
4+
<fwb-toast
5+
v-bind="$attrs"
6+
@close="$emit('close')"
7+
>
8+
<template #icon>
9+
<svg
10+
aria-hidden="true"
11+
class="size-5"
12+
fill="#ffff"
13+
viewBox="0 0 20 20"
14+
xmlns="http://www.w3.org/2000/svg"
15+
>
16+
<path
17+
fill-rule="evenodd"
18+
d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z"
19+
clip-rule="evenodd"
20+
/>
21+
</svg>
22+
</template>
23+
<span class="mb-1 font-semibold text-gray-900 dark:text-white text-sm">Update available</span>
24+
<div class="mb-2 font-normal text-sm">
25+
<slot />
26+
</div>
27+
<div class="gap-2 grid grid-cols-2">
28+
<fwb-button size="xs">
29+
Update
30+
</fwb-button>
31+
<fwb-button
32+
size="xs"
33+
:color="'alternative'"
34+
>
35+
Not now
36+
</fwb-button>
37+
</div>
38+
</fwb-toast>
39+
</flowbite-themable>
40+
</div>
3941
</template>
4042

4143
<script lang="ts" setup>

0 commit comments

Comments
 (0)