@dxos/react-list 0.8.4-main.c1de068 → 0.8.4-main.fd6878d
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/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs.map +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/List.d.ts.map +1 -1
- package/dist/types/src/ListItem.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/List.tsx +1 -1
- package/src/ListItem.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-list",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.fd6878d",
|
|
4
4
|
"description": "List primitive components for React.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -10,6 +10,7 @@
|
|
|
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
16
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"@radix-ui/react-slot": "1.1.2",
|
|
32
33
|
"@radix-ui/react-use-controllable-state": "1.1.0",
|
|
33
34
|
"lodash.omit": "^4.5.0",
|
|
34
|
-
"@dxos/react-hooks": "0.8.4-main.
|
|
35
|
+
"@dxos/react-hooks": "0.8.4-main.fd6878d"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@radix-ui/react-checkbox": "1.1.4",
|
package/src/List.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import {
|
|
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 {
|
|
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';
|