@dxos/react-ui-card 0.6.13-staging.1e988a3 → 0.6.14-main.7bd9c89

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,wBAmBE;AAEF,eAAO,MAAM,SAAS,yBAA2B,CAAC;AAClD,eAAO,MAAM,QAAQ,yBAA8B,CAAC;AACpD,eAAO,MAAM,QAAQ,yBAA8B,CAAC"}
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-card",
3
- "version": "0.6.13-staging.1e988a3",
3
+ "version": "0.6.14-main.7bd9c89",
4
4
  "description": "An opinionated card component.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -21,9 +21,7 @@
21
21
  "src"
22
22
  ],
23
23
  "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"
24
+ "@radix-ui/react-primitive": "^1.0.2"
27
25
  },
28
26
  "devDependencies": {
29
27
  "@dnd-kit/core": "^6.0.5",
@@ -34,15 +32,19 @@
34
32
  "@types/react-dom": "~18.2.0",
35
33
  "react": "~18.2.0",
36
34
  "react-dom": "~18.2.0",
37
- "vite": "^5.3.4",
38
- "@dxos/storybook-utils": "0.6.13-staging.1e988a3",
39
- "@dxos/util": "0.6.13-staging.1e988a3",
40
- "@dxos/random": "0.6.13-staging.1e988a3"
35
+ "vite": "5.4.7",
36
+ "@dxos/random": "0.6.14-main.7bd9c89",
37
+ "@dxos/react-ui": "0.6.14-main.7bd9c89",
38
+ "@dxos/react-ui-theme": "0.6.14-main.7bd9c89",
39
+ "@dxos/util": "0.6.14-main.7bd9c89",
40
+ "@dxos/storybook-utils": "0.6.14-main.7bd9c89"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@phosphor-icons/react": "^2.1.5",
44
- "react": "^18.0.0",
45
- "react-dom": "^18.0.0"
44
+ "react": "~18.2.0",
45
+ "react-dom": "~18.2.0",
46
+ "@dxos/react-ui": "0.6.14-main.7bd9c89",
47
+ "@dxos/react-ui-theme": "0.6.14-main.7bd9c89"
46
48
  },
47
49
  "publishConfig": {
48
50
  "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 { DensityProvider, DropdownMenu, Input, ScrollArea } from '@dxos/react-ui';
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
- {/* TODO(burdon): Story for different densities. */}
206
- <DensityProvider density='fine'>
207
- <Story />
208
- </DensityProvider>
205
+ <Story />
209
206
  </div>
210
207
  </div>
211
208
  ),