@flux-ui/statistics 3.0.0-next.48 → 3.0.0-next.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -7
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
# `@flux-ui/
|
|
1
|
+
# `@flux-ui/statistics`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Chart and statistics components for [Flux UI](https://flux-ui.dev).
|
|
4
|
+
|
|
5
|
+
Built on top of [ApexCharts](https://apexcharts.com) via [`vue3-apexcharts`](https://github.com/apexcharts/vue3-apexcharts), themed to match the Flux design system. Locale-aware labels are provided through `vue-i18n`.
|
|
6
|
+
|
|
7
|
+
## Highlights
|
|
8
|
+
|
|
9
|
+
- Themed chart components that respect the Flux color palette and surfaces.
|
|
10
|
+
- Locale-aware formatting for axes, tooltips, and legends.
|
|
11
|
+
- Same CSS Modules and naming conventions as `@flux-ui/components`.
|
|
4
12
|
|
|
5
13
|
## ⭐️ Prerequisites
|
|
6
14
|
|
|
@@ -9,8 +17,16 @@ Contains Flux UI components for creating dashboards.
|
|
|
9
17
|
|
|
10
18
|
## 🚀 Getting started
|
|
11
19
|
|
|
12
|
-
1. Make sure
|
|
13
|
-
2. Run `bun install` in the root
|
|
14
|
-
3. Run `bun --cwd packages/
|
|
15
|
-
4. To link Flux
|
|
16
|
-
- In another project, use `link:@flux-ui/
|
|
20
|
+
1. Make sure the Flux monorepo is checked out.
|
|
21
|
+
2. Run `bun install` in the project root.
|
|
22
|
+
3. Run `bun run --cwd packages/statistics build` to build the package (runs `vue-tsc` then `vite build`).
|
|
23
|
+
4. To link Flux Statistics globally with Bun, run `bun link --cwd packages/statistics`.
|
|
24
|
+
- In another project, use `link:@flux-ui/statistics` as the dependency version in `package.json`.
|
|
25
|
+
|
|
26
|
+
## 📦 Sibling packages
|
|
27
|
+
|
|
28
|
+
- [`@flux-ui/components`](../components)
|
|
29
|
+
- [`@flux-ui/types`](../types)
|
|
30
|
+
- [`@flux-ui/internals`](../internals)
|
|
31
|
+
- [`@flux-ui/dashboard`](../dashboard)
|
|
32
|
+
- [`@flux-ui/application`](../application)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flux-ui/statistics",
|
|
3
3
|
"description": "Statistics components for the Flux UI library.",
|
|
4
|
-
"version": "3.0.0-next.
|
|
4
|
+
"version": "3.0.0-next.51",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/basmilius",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@basmilius/common": "^3.19.0",
|
|
53
53
|
"@basmilius/utils": "^3.19.0",
|
|
54
|
-
"@flux-ui/components": "3.0.0-next.
|
|
55
|
-
"@flux-ui/internals": "3.0.0-next.
|
|
56
|
-
"@flux-ui/types": "3.0.0-next.
|
|
54
|
+
"@flux-ui/components": "3.0.0-next.51",
|
|
55
|
+
"@flux-ui/internals": "3.0.0-next.51",
|
|
56
|
+
"@flux-ui/types": "3.0.0-next.51",
|
|
57
57
|
"apexcharts": "^5.10.6",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
59
59
|
"lodash-es": "^4.18.1",
|