@dxos/keyboard 0.8.4-main.c1de068 → 0.8.4-main.dedc0f3

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/keyboard",
3
- "version": "0.8.4-main.c1de068",
3
+ "version": "0.8.4-main.dedc0f3",
4
4
  "description": "Keyboard bindings",
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"
@@ -24,16 +25,16 @@
24
25
  "src"
25
26
  ],
26
27
  "dependencies": {
27
- "@dxos/invariant": "0.8.4-main.c1de068",
28
- "@dxos/node-std": "0.8.4-main.c1de068",
29
- "@dxos/util": "0.8.4-main.c1de068"
28
+ "@dxos/invariant": "0.8.4-main.dedc0f3",
29
+ "@dxos/node-std": "0.8.4-main.dedc0f3",
30
+ "@dxos/util": "0.8.4-main.dedc0f3"
30
31
  },
31
32
  "devDependencies": {
32
33
  "react": "~18.2.0",
33
34
  "react-dom": "~18.2.0",
34
- "@dxos/react-ui": "0.8.4-main.c1de068",
35
- "@dxos/react-ui-theme": "0.8.4-main.c1de068",
36
- "@dxos/storybook-utils": "0.8.4-main.c1de068"
35
+ "@dxos/react-ui": "0.8.4-main.dedc0f3",
36
+ "@dxos/react-ui-theme": "0.8.4-main.dedc0f3",
37
+ "@dxos/storybook-utils": "0.8.4-main.dedc0f3"
37
38
  },
38
39
  "publishConfig": {
39
40
  "access": "public"
@@ -4,9 +4,10 @@
4
4
 
5
5
  import '@dxos-theme';
6
6
 
7
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
7
8
  import React, { useEffect, useState } from 'react';
8
9
 
9
- import { Select, Input } from '@dxos/react-ui';
10
+ import { Input, Select } from '@dxos/react-ui';
10
11
  import { withTheme } from '@dxos/storybook-utils';
11
12
 
12
13
  import { type KeyHandler, Keyboard } from './keyboard';
@@ -67,10 +68,14 @@ const DefaultStory = () => {
67
68
  );
68
69
  };
69
70
 
70
- export default {
71
+ const meta = {
71
72
  title: 'common/keyboard/Keyboard',
72
73
  decorators: [withTheme],
73
74
  render: DefaultStory,
74
- };
75
+ } satisfies Meta<typeof Input>;
76
+
77
+ export default meta;
78
+
79
+ type Story = StoryObj<typeof meta>;
75
80
 
76
- export const Default = {};
81
+ export const Default: Story = {};