@fiscozen/composables 0.1.36-beta.0 → 0.1.36

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiscozen/composables",
3
- "version": "0.1.36-beta.0",
3
+ "version": "0.1.36",
4
4
  "description": "Design System utility composables",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -26,8 +26,8 @@
26
26
  "vitest": "^1.2.0",
27
27
  "vue-tsc": "^1.8.25",
28
28
  "@fiscozen/eslint-config": "^0.1.0",
29
- "@fiscozen/prettier-config": "^0.1.0",
30
- "@fiscozen/tsconfig": "^0.1.0"
29
+ "@fiscozen/tsconfig": "^0.1.0",
30
+ "@fiscozen/prettier-config": "^0.1.0"
31
31
  },
32
32
  "license": "ISC",
33
33
  "scripts": {
@@ -127,7 +127,7 @@ defineExpose({
127
127
  <div
128
128
  ref="content"
129
129
  v-show="$slots.default && (!$slots.opener || ($slots.opener && isOpen))"
130
- class="fz__floating__content bg-core-black"
130
+ class="fz__floating__content"
131
131
  :class="contentClass"
132
132
  >
133
133
  <slot :isOpen :floating></slot>
@@ -297,9 +297,6 @@ export const useFloating = (
297
297
  translateY = 0
298
298
  }
299
299
 
300
- if(float.position.y < 0) float.position.y = 0
301
- if(float.position.x < 0) float.position.x = 0
302
-
303
300
  safeElementDomRef.value.style.top = `${float.position.y}px`
304
301
  safeElementDomRef.value.style.left = `${float.position.x}px`
305
302
  safeElementDomRef.value.style.position = 'fixed'