@flux-ui/statistics 3.0.0-next.34 → 3.0.0-next.38

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@flux-ui/statistics",
3
3
  "description": "Statistics components for the Flux UI library.",
4
- "version": "3.0.0-next.34",
4
+ "version": "3.0.0-next.38",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/basmilius",
8
- "homepage": "https://flux.bas.dev",
8
+ "homepage": "https://flux-ui.dev",
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/basmilius/flux.git",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "build": "vue-tsc && vite build",
27
- "dev": "vite build --watch"
27
+ "dev": "vite build --watch --mode development"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=23"
@@ -42,36 +42,34 @@
42
42
  },
43
43
  "files": [
44
44
  "dist",
45
- "src",
46
- "tsconfig.json"
45
+ "src"
47
46
  ],
48
47
  "main": "./dist/index.js",
49
48
  "module": "./dist/index.js",
50
49
  "types": "./dist/index.d.ts",
51
- "typings": "./dist/index.d.ts",
52
50
  "sideEffects": false,
53
51
  "dependencies": {
54
- "@basmilius/common": "^3.12.1",
55
- "@basmilius/utils": "^3.12.1",
56
- "@flux-ui/components": "3.0.0-next.34",
57
- "@flux-ui/internals": "3.0.0-next.34",
58
- "apexcharts": "^5.10.4",
52
+ "@basmilius/common": "^3.19.0",
53
+ "@basmilius/utils": "^3.19.0",
54
+ "@flux-ui/components": "3.0.0-next.38",
55
+ "@flux-ui/internals": "3.0.0-next.38",
56
+ "@flux-ui/types": "3.0.0-next.38",
57
+ "apexcharts": "^5.10.6",
59
58
  "clsx": "^2.1.1",
60
- "lodash-es": "^4.17.23",
61
- "vue": "^3.6.0-beta.7",
62
- "vue-i18n": "^11.3.0",
59
+ "lodash-es": "^4.18.1",
60
+ "vue": "^3.6.0-beta.10",
61
+ "vue-i18n": "^11.4.0",
63
62
  "vue3-apexcharts": "^1.11.1"
64
63
  },
65
64
  "devDependencies": {
66
- "@basmilius/vite-preset": "^3.12.1",
67
- "@flux-ui/types": "3.0.0-next.34",
65
+ "@basmilius/vite-preset": "^3.19.0",
68
66
  "@types/lodash-es": "^4.17.12",
69
- "@types/node": "^25.5.0",
70
- "@vitejs/plugin-vue": "^6.0.5",
71
- "@vue/tsconfig": "^0.9.0",
72
- "sass-embedded": "^1.98.0",
73
- "typescript": "^5.9.3",
74
- "vite": "^8.0.0",
75
- "vue-tsc": "^3.2.5"
67
+ "@types/node": "^25.6.0",
68
+ "@vitejs/plugin-vue": "^6.0.6",
69
+ "@vue/tsconfig": "^0.9.1",
70
+ "sass-embedded": "^1.99.0",
71
+ "typescript": "^6.0.3",
72
+ "vite": "^8.0.10",
73
+ "vue-tsc": "^3.2.7"
76
74
  }
77
75
  }
@@ -9,7 +9,7 @@
9
9
  show: true,
10
10
  clipMarkers: false,
11
11
  padding: {
12
- top: 21,
12
+ top: 18,
13
13
  left: 9,
14
14
  right: 9
15
15
  }
@@ -132,7 +132,7 @@
132
132
  const chart = useTemplateRef('chart');
133
133
  const {t} = useI18n({useScope: 'parent'});
134
134
 
135
- useResizeObserver(chart, () => {
135
+ useResizeObserver(chart as any, () => {
136
136
  const _chart = unref(chart);
137
137
 
138
138
  if (!_chart) {
@@ -11,13 +11,13 @@
11
11
  .statisticsBaseContent {
12
12
  position: relative;
13
13
  display: flex;
14
- padding: 21px;
14
+ padding: 18px;
15
15
  flex-flow: column;
16
16
  }
17
17
 
18
18
  .statisticsBaseHeader {
19
19
  display: flex;
20
- padding: 21px 21px 0;
20
+ padding: 18px 18px 0;
21
21
  align-items: flex-start;
22
22
  }
23
23
 
@@ -40,9 +40,9 @@
40
40
  }
41
41
 
42
42
  :global(.apexcharts-tooltip) {
43
- background: rgb(from var(--gray-25) r g b / .85);
43
+ background: rgb(from var(--surface) r g b / .975);
44
44
  background-clip: padding-box;
45
- backdrop-filter: blur(6px) saturate(180%);
45
+ backdrop-filter: blur(3px) saturate(180%);
46
46
  border: 1px solid var(--surface-stroke-out-hover);
47
47
  border-radius: var(--radius-double);
48
48
  box-shadow: var(--shadow-lg);
@@ -34,5 +34,5 @@
34
34
  }
35
35
 
36
36
  :local(.paneHeader) + .statisticsChartPaneContainer {
37
- margin-top: 21px;
37
+ margin-top: 18px;
38
38
  }
@@ -1,3 +1,3 @@
1
1
  :local(.statisticsBaseContent) .statisticsStackable + .statisticsStackable {
2
- margin-top: 21px;
2
+ margin-top: 18px;
3
3
  }
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  .statisticsKpiValue {
16
- padding-top: 21px;
16
+ padding-top: 18px;
17
17
  color: var(--foreground-prominent);
18
18
  font-size: 21px;
19
19
  font-weight: 800;
@@ -3,11 +3,10 @@
3
3
  .statisticsLegend {
4
4
  display: flex;
5
5
  min-width: 0;
6
- padding: 15px 21px 15px;
6
+ padding: 15px 18px 15px;
7
7
  align-self: center;
8
8
  flex-flow: column;
9
9
  flex-grow: 1;
10
- gap: 3px;
11
10
  }
12
11
 
13
12
  .statisticsLegendItem {
@@ -47,7 +47,7 @@
47
47
  }
48
48
 
49
49
  .statisticsMetricLabel {
50
- padding-top: 21px;
50
+ padding-top: 18px;
51
51
  color: var(--foreground-secondary);
52
52
  font-size: 15px;
53
53
  font-weight: 500;
@@ -55,7 +55,7 @@
55
55
 
56
56
  .statisticsMetricValue {
57
57
  color: var(--foreground-prominent);
58
- font-size: 21px;
58
+ font-size: 18px;
59
59
  font-weight: 800;
60
60
  line-height: 36px;
61
61
  text-transform: capitalize;
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- { "path": "./tsconfig.app.json" },
5
- { "path": "./tsconfig.node.json" }
6
- ]
7
- }