Skip to content

Commit c8130a7

Browse files
committed
BREAKING CHANGE: add dependencies apexcharts
docs: update quickstart and introduction page
1 parent 1bcce90 commit c8130a7

File tree

10 files changed

+334
-330
lines changed

10 files changed

+334
-330
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flowbite-svelte",
3-
"version": "0.43.3",
3+
"version": "0.44.0",
44
"description": "Flowbite components for Svelte",
55
"main": "dist/index.js",
66
"author": {
@@ -37,7 +37,6 @@
3737
"@sveltejs/package": "2.1.0",
3838
"@typescript-eslint/eslint-plugin": "^5.62.0",
3939
"@typescript-eslint/parser": "^5.62.0",
40-
"apexcharts": "^3.41.1",
4140
"autoprefixer": "^10.4.15",
4241
"createprops": "^0.5.5",
4342
"esbuild": "0.18.10",
@@ -113,6 +112,7 @@
113112
},
114113
"dependencies": {
115114
"@floating-ui/dom": "^1.5.1",
115+
"apexcharts": "^3.41.1",
116116
"flowbite": "^1.8.1",
117117
"tailwind-merge": "^1.14.0"
118118
},

pnpm-lock.yaml

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/charts/Chart.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
});
1919
</script>
2020

21-
<div bind:this={chartNode} class="{$$props.class}"/>
21+
<div bind:this={chartNode} class={$$props.class} />

src/lib/charts/ChartWrapper.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<script lang="ts">
2-
import { twMerge } from "tailwind-merge";
2+
import { twMerge } from 'tailwind-merge';
33
44
export let divClass: string = 'max-w-sm w-full bg-white rounded-lg shadow dark:bg-gray-800 p-4 md:p-6';
5-
let divCls: string = twMerge(divClass, $$props.class)
5+
let divCls: string = twMerge(divClass, $$props.class);
66
</script>
77

8-
<div class="{divCls}">
8+
<div class={divCls}>
99
{#if $$slots.header}
1010
<slot name="header" />
1111
{/if}
1212
<slot />
1313
{#if $$slots.footer}
1414
<slot name="footer" />
1515
{/if}
16-
</div>
16+
</div>

src/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export { default as CarouselTransition } from './carousels/CarouselTransition.sv
4040

4141
// Charts
4242
export { default as ChartWrapper } from './charts/ChartWrapper.svelte';
43-
export { default as Chart } from './charts/Chart.svelte'
43+
export { default as Chart } from './charts/Chart.svelte';
4444

4545
// Dark mode
4646
export { default as DarkMode } from './darkmode/DarkMode.svelte';

0 commit comments

Comments
 (0)