@flux-ui/dashboard 3.0.0-next.58 → 3.0.0-next.59
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/dist/index.js +38 -38
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/component/FluxDashboard.vue +2 -2
- package/src/component/FluxDashboardContent.vue +2 -2
- package/src/component/FluxDashboardHeader.vue +1 -1
- package/src/component/FluxDashboardMenu.vue +2 -2
- package/src/component/FluxDashboardNavigation.vue +2 -2
- package/src/component/FluxDashboardSide.vue +1 -1
- package/src/component/FluxDashboardTopBar.vue +2 -2
- package/src/composable/useDashboardInjection.ts +1 -1
- package/src/css/component/DashboardTopBar.module.scss +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flux-ui/dashboard",
|
|
3
3
|
"description": "Contains components to create dashboards with Flux UI.",
|
|
4
|
-
"version": "3.0.0-next.
|
|
4
|
+
"version": "3.0.0-next.59",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/basmilius",
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"types": "./dist/index.d.ts",
|
|
50
50
|
"sideEffects": false,
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@flux-ui/components": "3.0.0-next.
|
|
53
|
-
"@flux-ui/internals": "3.0.0-next.
|
|
54
|
-
"@flux-ui/types": "3.0.0-next.
|
|
52
|
+
"@flux-ui/components": "3.0.0-next.59",
|
|
53
|
+
"@flux-ui/internals": "3.0.0-next.59",
|
|
54
|
+
"@flux-ui/types": "3.0.0-next.59"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"luxon": "^3.7.2",
|
|
58
58
|
"vue": "^3.6.0-beta.10"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@basmilius/vite-preset": "^3.
|
|
61
|
+
"@basmilius/vite-preset": "^3.24.0",
|
|
62
62
|
"@types/node": "^25.6.0",
|
|
63
63
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
64
64
|
"@vue/tsconfig": "^0.9.1",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
setup>
|
|
18
18
|
import { useRemembered } from '@flux-ui/internals';
|
|
19
19
|
import { provide, ref, type VNode, watch } from 'vue';
|
|
20
|
-
import { FluxDashboardInjectionKey } from '
|
|
21
|
-
import $style from '
|
|
20
|
+
import { FluxDashboardInjectionKey } from '~flux/dashboard/data';
|
|
21
|
+
import $style from '~flux/dashboard/css/component/Dashboard.module.scss';
|
|
22
22
|
|
|
23
23
|
defineSlots<{
|
|
24
24
|
default(): VNode;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<script
|
|
8
8
|
lang="ts"
|
|
9
9
|
setup>
|
|
10
|
-
import { useDashboardInjection } from '
|
|
11
|
-
import $style from '
|
|
10
|
+
import { useDashboardInjection } from '~flux/dashboard/composable';
|
|
11
|
+
import $style from '~flux/dashboard/css/component/DashboardContent.module.scss';
|
|
12
12
|
|
|
13
13
|
const {isMenuCollapsed} = useDashboardInjection();
|
|
14
14
|
</script>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
import { useScrollPosition } from '@flux-ui/internals';
|
|
24
24
|
import type { FluxIconName } from '@flux-ui/types';
|
|
25
25
|
import FluxDashboardTopBar from './FluxDashboardTopBar.vue';
|
|
26
|
-
import $style from '
|
|
26
|
+
import $style from '~flux/dashboard/css/component/DashboardTopBar.module.scss';
|
|
27
27
|
|
|
28
28
|
defineProps<{
|
|
29
29
|
readonly icon?: FluxIconName;
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
setup>
|
|
28
28
|
import { FluxIcon, FluxSpacer } from '@flux-ui/components';
|
|
29
29
|
import type { FluxIconName } from '@flux-ui/types';
|
|
30
|
-
import { useDashboardInjection } from '
|
|
30
|
+
import { useDashboardInjection } from '~flux/dashboard/composable';
|
|
31
31
|
import FluxDashboardTopBar from './FluxDashboardTopBar.vue';
|
|
32
|
-
import $style from '
|
|
32
|
+
import $style from '~flux/dashboard/css/component/DashboardPane.module.scss';
|
|
33
33
|
|
|
34
34
|
defineProps<{
|
|
35
35
|
readonly icon?: FluxIconName;
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
setup>
|
|
38
38
|
import { FluxMenuItem } from '@flux-ui/components';
|
|
39
39
|
import type { FluxTo } from '@flux-ui/types';
|
|
40
|
-
import { useDashboardInjection } from '
|
|
41
|
-
import $style from '
|
|
40
|
+
import { useDashboardInjection } from '~flux/dashboard/composable';
|
|
41
|
+
import $style from '~flux/dashboard/css/component/DashboardNavigation.module.scss';
|
|
42
42
|
|
|
43
43
|
defineOptions({
|
|
44
44
|
inheritAttrs: false
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
setup>
|
|
20
20
|
import { FluxSpacer } from '@flux-ui/components';
|
|
21
21
|
import FluxDashboardTopBar from './FluxDashboardTopBar.vue';
|
|
22
|
-
import $style from '
|
|
22
|
+
import $style from '~flux/dashboard/css/component/DashboardPane.module.scss';
|
|
23
23
|
|
|
24
24
|
defineProps<{
|
|
25
25
|
readonly title: string;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<script
|
|
8
8
|
lang="ts"
|
|
9
9
|
setup>
|
|
10
|
-
import { useDashboardInjection } from '
|
|
11
|
-
import $style from '
|
|
10
|
+
import { useDashboardInjection } from '~flux/dashboard/composable';
|
|
11
|
+
import $style from '~flux/dashboard/css/component/DashboardTopBar.module.scss';
|
|
12
12
|
|
|
13
13
|
const {isMenuCollapsed} = useDashboardInjection();
|
|
14
14
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject } from 'vue';
|
|
2
|
-
import { type FluxDashboardInjection, FluxDashboardInjectionKey } from '
|
|
2
|
+
import { type FluxDashboardInjection, FluxDashboardInjectionKey } from '~flux/dashboard/data';
|
|
3
3
|
|
|
4
4
|
export default function (): FluxDashboardInjection {
|
|
5
5
|
const injection = inject(FluxDashboardInjectionKey);
|