@dxos/react-ui-dnd 0.8.4-main.8360d9e660 → 0.8.4-main.8baae0fced

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": "@dxos/react-ui-dnd",
3
- "version": "0.8.4-main.8360d9e660",
3
+ "version": "0.8.4-main.8baae0fced",
4
4
  "description": "Drag and drop components.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": false,
14
14
  "type": "module",
@@ -21,9 +21,6 @@
21
21
  }
22
22
  },
23
23
  "types": "dist/types/src/index.d.ts",
24
- "typesVersions": {
25
- "*": {}
26
- },
27
24
  "files": [
28
25
  "dist",
29
26
  "src"
@@ -37,15 +34,15 @@
37
34
  "@types/react-dom": "~19.2.3",
38
35
  "react": "~19.2.3",
39
36
  "react-dom": "~19.2.3",
40
- "vite": "^7.1.11",
41
- "@dxos/react-ui": "0.8.4-main.8360d9e660",
42
- "@dxos/ui-theme": "0.8.4-main.8360d9e660"
37
+ "vite": "^8.0.13",
38
+ "@dxos/react-ui": "0.8.4-main.8baae0fced",
39
+ "@dxos/ui-theme": "0.8.4-main.8baae0fced"
43
40
  },
44
41
  "peerDependencies": {
45
42
  "react": "~19.2.3",
46
43
  "react-dom": "~19.2.3",
47
- "@dxos/react-ui": "0.8.4-main.8360d9e660",
48
- "@dxos/ui-theme": "0.8.4-main.8360d9e660"
44
+ "@dxos/ui-theme": "0.8.4-main.8baae0fced",
45
+ "@dxos/react-ui": "0.8.4-main.8baae0fced"
49
46
  },
50
47
  "publishConfig": {
51
48
  "access": "public"
@@ -34,7 +34,7 @@ const getNextSize = (
34
34
  Math.max(
35
35
  minSize,
36
36
  startSize +
37
- ((location.current.input[client] - location.initial.input[client]) / REM) * (side.endsWith('end') ? -1 : 1),
37
+ ((location.current.input[client] - location.initial.input[client]) / REM) * (side.endsWith('start') ? -1 : 1),
38
38
  ),
39
39
  );
40
40
  };
@@ -136,8 +136,8 @@ export const ResizeHandle = ({
136
136
  'group absolute flex focus-visible:outline-hidden',
137
137
  surfaceZIndex({ elevation, level: 'tooltip' }),
138
138
  orientation === 'horizontal'
139
- ? 'cursor-col-resize w-4 inset-y-0 data-[side="w-end"]:end-0 data-[side="w-end"]:before:end-0 data-[side="w-start"]:start-0 data-[side="w-start"]:before:start-0 border-b-0! before:inset-y-0 before:w-1'
140
- : 'cursor-row-resize h-4 inset-x-0 data-[side="h-end"]:bottom-0 data-[side="h-end"]:before:bottom-0 data-[side="h-start"]:top-0 data-[side="h-start"]:before:top-0 border-x-0! before:inset-x-0 before:h-1',
139
+ ? 'cursor-col-resize w-4 inset-y-0 data-[side=inline-end]:end-0 data-[side=inline-end]:before:end-0 data-[side=inline-start]:start-0 data-[side=inline-start]:before:start-0 border-b-0! before:inset-y-0 before:w-1'
140
+ : 'cursor-row-resize h-4 inset-x-0 data-[side=block-end]:bottom-0 data-[side=block-end]:before:bottom-0 data-[side=block-start]:top-0 data-[side=block-start]:before:top-0 border-x-0! before:inset-x-0 before:h-1',
141
141
  orientation === 'horizontal'
142
142
  ? iconPosition === 'end'
143
143
  ? 'align-end'
@@ -150,7 +150,7 @@ export const ResizeHandle = ({
150
150
  ? 'justify-center'
151
151
  : 'justify-start',
152
152
  'before:transition-opacity before:duration-100 before:ease-in-out before:opacity-0 hover:before:opacity-100 focus-visible:before:opacity-100 active:before:opacity-100',
153
- 'before:absolute before:block before:bg-neutral-focus-indicator',
153
+ 'before:absolute before:block before:bg-focus-ring-subtle',
154
154
  classNames,
155
155
  )}
156
156
  />