@dxos/react-ui-card 0.6.13-staging.1e988a3 → 0.6.14-main.1366248
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAKrB,OAAO,KAAoD,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2LzE,
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAKrB,OAAO,KAAoD,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2LzE,wBAgBE;AAEF,eAAO,MAAM,SAAS,yBAA2B,CAAC;AAClD,eAAO,MAAM,QAAQ,yBAA8B,CAAC;AACpD,eAAO,MAAM,QAAQ,yBAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-card",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.14-main.1366248",
|
|
4
4
|
"description": "An opinionated card component.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "DXOS.org",
|
|
9
|
+
"sideEffects": true,
|
|
9
10
|
"exports": {
|
|
10
11
|
".": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
12
|
+
"types": "./dist/types/src/index.d.ts",
|
|
13
|
+
"browser": "./dist/lib/browser/index.mjs"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -21,9 +22,7 @@
|
|
|
21
22
|
"src"
|
|
22
23
|
],
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@radix-ui/react-primitive": "^1.0.2"
|
|
25
|
-
"@dxos/react-ui": "0.6.13-staging.1e988a3",
|
|
26
|
-
"@dxos/react-ui-theme": "0.6.13-staging.1e988a3"
|
|
25
|
+
"@radix-ui/react-primitive": "^1.0.2"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
28
|
"@dnd-kit/core": "^6.0.5",
|
|
@@ -34,15 +33,19 @@
|
|
|
34
33
|
"@types/react-dom": "~18.2.0",
|
|
35
34
|
"react": "~18.2.0",
|
|
36
35
|
"react-dom": "~18.2.0",
|
|
37
|
-
"vite": "
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
36
|
+
"vite": "5.4.7",
|
|
37
|
+
"@dxos/random": "0.6.14-main.1366248",
|
|
38
|
+
"@dxos/react-ui-theme": "0.6.14-main.1366248",
|
|
39
|
+
"@dxos/storybook-utils": "0.6.14-main.1366248",
|
|
40
|
+
"@dxos/util": "0.6.14-main.1366248",
|
|
41
|
+
"@dxos/react-ui": "0.6.14-main.1366248"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
44
|
"@phosphor-icons/react": "^2.1.5",
|
|
44
|
-
"react": "
|
|
45
|
-
"react-dom": "
|
|
45
|
+
"react": "~18.2.0",
|
|
46
|
+
"react-dom": "~18.2.0",
|
|
47
|
+
"@dxos/react-ui": "0.6.14-main.1366248",
|
|
48
|
+
"@dxos/react-ui-theme": "0.6.14-main.1366248"
|
|
46
49
|
},
|
|
47
50
|
"publishConfig": {
|
|
48
51
|
"access": "public"
|
|
@@ -10,7 +10,7 @@ import { CSS } from '@dnd-kit/utilities';
|
|
|
10
10
|
import React, { type FC, type PropsWithChildren, useState } from 'react';
|
|
11
11
|
|
|
12
12
|
import { faker } from '@dxos/random';
|
|
13
|
-
import {
|
|
13
|
+
import { DropdownMenu, Input, ScrollArea } from '@dxos/react-ui';
|
|
14
14
|
import { modalSurface, mx } from '@dxos/react-ui-theme';
|
|
15
15
|
import { withTheme } from '@dxos/storybook-utils';
|
|
16
16
|
|
|
@@ -195,17 +195,14 @@ const EditableCardStory = () => {
|
|
|
195
195
|
};
|
|
196
196
|
|
|
197
197
|
export default {
|
|
198
|
-
title: 'react-ui-card/Card',
|
|
198
|
+
title: 'ui/react-ui-card/Card',
|
|
199
199
|
component: Card,
|
|
200
200
|
decorators: [
|
|
201
201
|
withTheme,
|
|
202
202
|
(Story: any) => (
|
|
203
203
|
<div className={mx('flex h-screen w-full justify-center overflow-hidden', modalSurface)}>
|
|
204
204
|
<div className='flex flex-col w-[360px] overflow-hidden'>
|
|
205
|
-
|
|
206
|
-
<DensityProvider density='fine'>
|
|
207
|
-
<Story />
|
|
208
|
-
</DensityProvider>
|
|
205
|
+
<Story />
|
|
209
206
|
</div>
|
|
210
207
|
</div>
|
|
211
208
|
),
|