@dxos/react-list 0.8.4-main.67995b8 → 0.8.4-main.70d3990

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-list",
3
- "version": "0.8.4-main.67995b8",
3
+ "version": "0.8.4-main.70d3990",
4
4
  "description": "List primitive components for React.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -10,10 +10,10 @@
10
10
  "type": "module",
11
11
  "exports": {
12
12
  ".": {
13
+ "source": "./src/index.ts",
13
14
  "types": "./dist/types/src/index.d.ts",
14
15
  "browser": "./dist/lib/browser/index.mjs",
15
- "node": "./dist/lib/node-esm/index.mjs",
16
- "source": "./src/index.ts"
16
+ "node": "./dist/lib/node-esm/index.mjs"
17
17
  }
18
18
  },
19
19
  "types": "dist/types/src/index.d.ts",
@@ -32,19 +32,19 @@
32
32
  "@radix-ui/react-slot": "1.1.2",
33
33
  "@radix-ui/react-use-controllable-state": "1.1.0",
34
34
  "lodash.omit": "^4.5.0",
35
- "@dxos/react-hooks": "0.8.4-main.67995b8"
35
+ "@dxos/react-hooks": "0.8.4-main.70d3990"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@radix-ui/react-checkbox": "1.1.4",
39
39
  "@types/lodash.omit": "^4.5.7",
40
- "@types/react": "~18.2.0",
41
- "@types/react-dom": "~18.2.0",
42
- "react": "~18.2.0",
43
- "react-dom": "~18.2.0"
40
+ "@types/react": "~19.2.2",
41
+ "@types/react-dom": "~19.2.2",
42
+ "react": "~19.2.0",
43
+ "react-dom": "~19.2.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "react": "~18.2.0",
47
- "react-dom": "~18.2.0"
46
+ "react": "^19.0.0",
47
+ "react-dom": "^19.0.0"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"
package/src/List.tsx CHANGED
@@ -2,7 +2,7 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
- import { createContextScope, type Scope } from '@radix-ui/react-context';
5
+ import { type Scope, createContextScope } from '@radix-ui/react-context';
6
6
  import { Primitive } from '@radix-ui/react-primitive';
7
7
  import React, { type ComponentPropsWithRef, forwardRef } from 'react';
8
8
 
package/src/ListItem.tsx CHANGED
@@ -5,7 +5,7 @@
5
5
  import type { CheckboxProps } from '@radix-ui/react-checkbox';
6
6
  import { type CollapsibleContentProps, type CollapsibleTriggerProps } from '@radix-ui/react-collapsible';
7
7
  import * as Collapsible from '@radix-ui/react-collapsible';
8
- import { createContextScope, type Scope } from '@radix-ui/react-context';
8
+ import { type Scope, createContextScope } from '@radix-ui/react-context';
9
9
  import { Primitive } from '@radix-ui/react-primitive';
10
10
  import { Slot } from '@radix-ui/react-slot';
11
11
  import { useControllableState } from '@radix-ui/react-use-controllable-state';
@@ -14,10 +14,10 @@ import React, {
14
14
  type ComponentPropsWithoutRef,
15
15
  type Dispatch,
16
16
  type ElementRef,
17
- forwardRef,
18
17
  type ForwardRefExoticComponent,
19
18
  type RefAttributes,
20
19
  type SetStateAction,
20
+ forwardRef,
21
21
  } from 'react';
22
22
 
23
23
  import { useId } from '@dxos/react-hooks';