@falcondev-oss/nuxt-layers-base 0.42.2 → 0.43.0
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.
|
@@ -49,6 +49,10 @@ export default defineSetupComponent(
|
|
|
49
49
|
>
|
|
50
50
|
{leadingSections}
|
|
51
51
|
|
|
52
|
+
{/* every section hugs its content, so the spare space collects here instead of
|
|
53
|
+
stretching the last leading section */}
|
|
54
|
+
<div class="flex-1" />
|
|
55
|
+
|
|
52
56
|
{endSections.length > 0 ? (
|
|
53
57
|
// one flex item, so the end sections wrap onto their own line as a group
|
|
54
58
|
// instead of splitting up — the leading sections give way first
|
|
@@ -27,12 +27,10 @@ export default defineSetupComponent(
|
|
|
27
27
|
<div
|
|
28
28
|
data-end={props.end || undefined}
|
|
29
29
|
class={cnMerge(
|
|
30
|
-
'border-default -mt-px -ml-px flex min-w-fit flex-col gap-1.5 border-l px-3 py-2',
|
|
30
|
+
'border-default -mt-px -ml-px flex min-w-fit flex-none flex-col gap-1.5 border-l px-3 py-2',
|
|
31
31
|
// the row separator spans the full ribbon width (clipped by its overflow-hidden), so a
|
|
32
32
|
// partially filled wrapped line still gets an unbroken line above it
|
|
33
33
|
'before:border-default relative before:absolute before:inset-x-[-100vw] before:top-0 before:border-t',
|
|
34
|
-
// end sections hug their content, so the leading sections absorb the spare space
|
|
35
|
-
props.end ? 'flex-none' : 'flex-1',
|
|
36
34
|
props.ui?.root,
|
|
37
35
|
)()}
|
|
38
36
|
>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@falcondev-oss/nuxt-layers-base",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.43.0",
|
|
5
5
|
"description": "Nuxt layer with lots of useful helpers and @nuxt/ui components",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -26,20 +26,43 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@falcondev-oss/form-core": ">=0.23.5",
|
|
28
28
|
"@falcondev-oss/form-vue": ">=0.23.5",
|
|
29
|
+
"@falcondev-oss/trpc-vue-query": ">=0.6.1",
|
|
29
30
|
"@internationalized/date": ">=3.12.1",
|
|
30
31
|
"@nuxt/ui": ">=4.9.0",
|
|
32
|
+
"@tanstack/vue-query": ">=5.102.1",
|
|
33
|
+
"@trpc/client": ">=11.18.0",
|
|
34
|
+
"@trpc/server": ">=11.18.0",
|
|
35
|
+
"reka-ui": ">=2.10.3",
|
|
31
36
|
"tailwind-variants": ">=3.2.2",
|
|
32
|
-
"
|
|
37
|
+
"tailwindcss": ">=4.3.3",
|
|
38
|
+
"vue": ">=3.5.40",
|
|
39
|
+
"vue-router": ">=5.2.0"
|
|
40
|
+
},
|
|
41
|
+
"peerDependenciesMeta": {
|
|
42
|
+
"@falcondev-oss/trpc-vue-query": {
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
"@trpc/client": {
|
|
46
|
+
"optional": true
|
|
47
|
+
},
|
|
48
|
+
"@trpc/server": {
|
|
49
|
+
"optional": true
|
|
50
|
+
},
|
|
51
|
+
"reka-ui": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
54
|
+
"tailwindcss": {
|
|
55
|
+
"optional": true
|
|
56
|
+
},
|
|
57
|
+
"vue-router": {
|
|
58
|
+
"optional": true
|
|
59
|
+
}
|
|
33
60
|
},
|
|
34
61
|
"dependencies": {
|
|
35
62
|
"@falcondev-oss/trpc-typed-form-data": "^0.5.3",
|
|
36
|
-
"@falcondev-oss/trpc-vue-query": "^0.6.1",
|
|
37
63
|
"@iconify-json/lucide": "^1.2.125",
|
|
38
64
|
"@nuxt/icon": "^2.5.0",
|
|
39
65
|
"@nuxtjs/color-mode": "^4.0.1",
|
|
40
|
-
"@tanstack/vue-query": "^5.102.1",
|
|
41
|
-
"@trpc/client": "^11.18.0",
|
|
42
|
-
"@trpc/server": "^11.18.0",
|
|
43
66
|
"@vue/devtools-api": "^8.2.1",
|
|
44
67
|
"@vueuse/core": "^14.4.0",
|
|
45
68
|
"@vueuse/nuxt": "^14.4.0",
|
|
@@ -48,19 +71,23 @@
|
|
|
48
71
|
"consola": "^3.4.2",
|
|
49
72
|
"defu": "^6.1.7",
|
|
50
73
|
"maska": "^3.2.0",
|
|
51
|
-
"reka-ui": "~2.10.3",
|
|
52
74
|
"remeda": "^2.43.0",
|
|
53
75
|
"superjson": "^2.2.6",
|
|
54
|
-
"tailwindcss": "^4.3.3",
|
|
55
76
|
"trpc-nuxt": "^2.1.2",
|
|
56
|
-
"type-fest": "^5.8.0"
|
|
57
|
-
"vue-router": "^5.2.0"
|
|
77
|
+
"type-fest": "^5.8.0"
|
|
58
78
|
},
|
|
59
79
|
"devDependencies": {
|
|
80
|
+
"@falcondev-oss/trpc-vue-query": "^0.6.1",
|
|
81
|
+
"@tanstack/vue-query": "^5.102.1",
|
|
82
|
+
"@trpc/client": "^11.18.0",
|
|
83
|
+
"@trpc/server": "^11.18.0",
|
|
60
84
|
"@types/luxon": "^3.7.5",
|
|
61
85
|
"luxon": "^3.7.2",
|
|
62
86
|
"nuxt": "^4.5.2",
|
|
87
|
+
"reka-ui": "~2.10.3",
|
|
88
|
+
"tailwindcss": "^4.3.3",
|
|
63
89
|
"typescript": "^5.9.3",
|
|
90
|
+
"vue-router": "^5.2.0",
|
|
64
91
|
"zod": "^4.4.3"
|
|
65
92
|
},
|
|
66
93
|
"scripts": {
|