@lynx-js/lynx-ui-sortable 3.136.0 → 3.137.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @lynx-js/lynx-ui-sortable
2
2
 
3
+ ## 3.137.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Emit declaration imports with explicit ESM-compatible paths. ([#280](https://github.com/lynx-family/lynx-ui/pull/280))
8
+
9
+ - Updated dependencies [[`064ea4e`](https://github.com/lynx-family/lynx-ui/commit/064ea4e49cd3d0ac5754519cbee43d8ab3040024)]:
10
+ - @lynx-js/lynx-ui-common@3.137.0
11
+ - @lynx-js/lynx-ui-draggable@3.137.0
12
+
3
13
  ## 3.136.0
4
14
 
5
15
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { DraggableArea } from '@lynx-js/lynx-ui-draggable';
2
- import type { SortableItemProps, SortableRootProps } from './types';
2
+ import type { SortableItemProps, SortableRootProps } from './types/index.js';
3
3
  export { DraggableArea as SortableItemArea };
4
4
  export declare function SortableRoot<T>(props: SortableRootProps<T>): import("react").JSX.Element;
5
5
  export declare function SortableItem(props: SortableItemProps): import("react").JSX.Element;
@@ -2,7 +2,7 @@ import type { MutableRefObject, RefObject } from '@lynx-js/react';
2
2
  import type { Point } from '@lynx-js/lynx-ui-common';
3
3
  import type { DraggableRef } from '@lynx-js/lynx-ui-draggable';
4
4
  import type { MainThread } from '@lynx-js/types';
5
- import type { SortableData } from './types';
5
+ import type { SortableData } from './types/index.js';
6
6
  interface SortableContextType<T = unknown> {
7
7
  data: SortableData<T>[];
8
8
  isDragOverlay: boolean;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { SortableRoot, SortableItem, SortableItemArea } from './Sortable';
2
- export type { SortableItemProps, SortableRootProps, SortableData, } from './types';
1
+ export { SortableRoot, SortableItem, SortableItemArea } from './Sortable.js';
2
+ export type { SortableItemProps, SortableRootProps, SortableData, } from './types/index.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export type * from './index.docs';
1
+ export type * from './index.docs.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@ import type { MainThreadRef, RefObject } from '@lynx-js/react';
2
2
  import type { Point } from '@lynx-js/lynx-ui-common';
3
3
  import type { DraggableRef } from '@lynx-js/lynx-ui-draggable';
4
4
  import type { MainThread } from '@lynx-js/types';
5
- import type { SortableData } from './types';
5
+ import type { SortableData } from './types/index.js';
6
6
  interface SortableOptionsType<T> {
7
7
  data: SortableData<T>[];
8
8
  sizeMap: MainThreadRef<Record<string, number>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/lynx-ui-sortable",
3
- "version": "3.136.0",
3
+ "version": "3.137.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/lynx-family/lynx-ui.git",
@@ -25,8 +25,8 @@
25
25
  "dist/**"
26
26
  ],
27
27
  "dependencies": {
28
- "@lynx-js/lynx-ui-common": "3.136.0",
29
- "@lynx-js/lynx-ui-draggable": "3.136.0"
28
+ "@lynx-js/lynx-ui-common": "3.137.0",
29
+ "@lynx-js/lynx-ui-draggable": "3.137.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@lynx-js/react": "0.123.1",