@fiscozen/composables 0.1.22 → 0.1.23
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 +2 -2
- package/src/FzFloating.vue +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiscozen/composables",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "Design System utility composables",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"vite": "^5.0.10",
|
|
26
26
|
"vitest": "^1.2.0",
|
|
27
27
|
"vue-tsc": "^1.8.25",
|
|
28
|
-
"@fiscozen/eslint-config": "^0.1.0",
|
|
29
28
|
"@fiscozen/tsconfig": "^0.1.0",
|
|
29
|
+
"@fiscozen/eslint-config": "^0.1.0",
|
|
30
30
|
"@fiscozen/prettier-config": "^0.1.0"
|
|
31
31
|
},
|
|
32
32
|
"license": "ISC",
|
package/src/FzFloating.vue
CHANGED
|
@@ -80,7 +80,7 @@ const contentClass = computed(() => {
|
|
|
80
80
|
return props.contentClass
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
return ['
|
|
83
|
+
return ['bg-core-white fixed p-4 z-10', props.contentClass]
|
|
84
84
|
})
|
|
85
85
|
</script>
|
|
86
86
|
|
|
@@ -95,6 +95,7 @@ const contentClass = computed(() => {
|
|
|
95
95
|
v-if="!teleport"
|
|
96
96
|
ref="content"
|
|
97
97
|
v-show="$slots.default && (!$slots.opener || ($slots.opener && isOpen))"
|
|
98
|
+
class="fz__floating__content"
|
|
98
99
|
:class="contentClass"
|
|
99
100
|
>
|
|
100
101
|
<slot :isOpen :floating></slot>
|
|
@@ -103,6 +104,7 @@ const contentClass = computed(() => {
|
|
|
103
104
|
<div
|
|
104
105
|
ref="content"
|
|
105
106
|
v-show="$slots.default && (!$slots.opener || ($slots.opener && isOpen))"
|
|
107
|
+
class="fz__floating__content"
|
|
106
108
|
:class="contentClass"
|
|
107
109
|
>
|
|
108
110
|
<slot :isOpen :floating></slot>
|