@dxos/react-ui-card 0.3.9-main.cdfefb1 → 0.3.9-main.d4ef8aa
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,YAAY,CAAC;AAMpB,OAAO,KAAoD,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAMpB,OAAO,KAAoD,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEA8L7D,GAAG;;;;;AAJf,wBAkBE;AAEF,eAAO,MAAM,SAAS,mBAA2B,CAAC;AAClD,eAAO,MAAM,QAAQ,mBAA8B,CAAC;AACpD,eAAO,MAAM,QAAQ,mBAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-card",
|
|
3
|
-
"version": "0.3.9-main.
|
|
3
|
+
"version": "0.3.9-main.d4ef8aa",
|
|
4
4
|
"description": "A navigation tree component.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@radix-ui/react-primitive": "^1.0.2",
|
|
20
|
-
"@dxos/react-ui": "0.3.9-main.
|
|
21
|
-
"@dxos/react-ui-theme": "0.3.9-main.
|
|
20
|
+
"@dxos/react-ui": "0.3.9-main.d4ef8aa",
|
|
21
|
+
"@dxos/react-ui-theme": "0.3.9-main.d4ef8aa"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@dnd-kit/core": "^6.0.5",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"@phosphor-icons/react": "^2.0.5",
|
|
29
29
|
"@types/react": "^18.0.21",
|
|
30
30
|
"@types/react-dom": "^18.0.6",
|
|
31
|
-
"chromatic": "^7.5.0",
|
|
32
31
|
"react": "^18.2.0",
|
|
33
32
|
"react-dom": "^18.2.0",
|
|
34
33
|
"vite": "^4.3.9",
|
|
35
34
|
"vite-plugin-turbosnap": "^1.0.2",
|
|
36
|
-
"@dxos/
|
|
35
|
+
"@dxos/storybook-utils": "0.3.9-main.d4ef8aa",
|
|
36
|
+
"@dxos/util": "0.3.9-main.d4ef8aa"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@phosphor-icons/react": "^2.0.5",
|
|
@@ -42,8 +42,5 @@
|
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
|
-
},
|
|
46
|
-
"scripts": {
|
|
47
|
-
"chromatic": "true"
|
|
48
45
|
}
|
|
49
46
|
}
|
|
@@ -12,6 +12,7 @@ import React, { type FC, type PropsWithChildren, useState } from 'react';
|
|
|
12
12
|
|
|
13
13
|
import { DensityProvider, DropdownMenu, Input, ScrollArea } from '@dxos/react-ui';
|
|
14
14
|
import { chromeSurface, mx } from '@dxos/react-ui-theme';
|
|
15
|
+
import { withTheme } from '@dxos/storybook-utils';
|
|
15
16
|
|
|
16
17
|
import { Card } from './Card';
|
|
17
18
|
|
|
@@ -196,6 +197,7 @@ const EditableCardStory = () => {
|
|
|
196
197
|
export default {
|
|
197
198
|
component: Card,
|
|
198
199
|
decorators: [
|
|
200
|
+
withTheme,
|
|
199
201
|
(Story: any) => (
|
|
200
202
|
<div className={mx('flex h-screen w-full justify-center overflow-hidden', chromeSurface)}>
|
|
201
203
|
<div className='flex flex-col w-[360px] overflow-hidden'>
|