@dxos/react-ui 0.6.14-main.7bd9c89 → 0.6.14-main.f49f251
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 +697 -169
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +670 -140
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +697 -169
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/Avatars/Avatar.stories.d.ts +15 -1
- package/dist/types/src/components/Avatars/Avatar.stories.d.ts.map +1 -1
- package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts +6 -1
- package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts.map +1 -1
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts +9 -1
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/Button.d.ts +1 -1
- package/dist/types/src/components/Buttons/Button.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/Button.stories.d.ts +1 -1
- package/dist/types/src/components/Buttons/Toggle.stories.d.ts +2 -1
- package/dist/types/src/components/Buttons/Toggle.stories.d.ts.map +1 -1
- package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts +20 -1
- package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts +12 -1
- package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/Dialogs/Dialog.stories.d.ts +11 -1
- package/dist/types/src/components/Dialogs/Dialog.stories.d.ts.map +1 -1
- package/dist/types/src/components/Icon/Icon.d.ts +1 -1
- package/dist/types/src/components/Icon/Icon.d.ts.map +1 -1
- package/dist/types/src/components/Input/Input.stories.d.ts +16 -1
- package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/types/src/components/Lists/List.stories.d.ts +2 -3
- package/dist/types/src/components/Lists/List.stories.d.ts.map +1 -1
- package/dist/types/src/components/Lists/Tree.stories.d.ts +5 -1
- package/dist/types/src/components/Lists/Tree.stories.d.ts.map +1 -1
- package/dist/types/src/components/Main/Main.stories.d.ts +5 -1
- package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
- package/dist/types/src/components/Menus/ContextMenu.stories.d.ts +29 -1
- package/dist/types/src/components/Menus/ContextMenu.stories.d.ts.map +1 -1
- package/dist/types/src/components/Menus/DropdownMenu.d.ts +105 -44
- package/dist/types/src/components/Menus/DropdownMenu.d.ts.map +1 -1
- package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts +29 -1
- package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/types/src/components/Message/Message.stories.d.ts +6 -1
- package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
- package/dist/types/src/components/Popover/Popover.d.ts +87 -21
- package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/types/src/components/Popover/Popover.stories.d.ts +20 -1
- package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +20 -1
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
- package/dist/types/src/components/Toast/Toast.stories.d.ts +20 -1
- package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts +30 -1
- package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -1
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts +13 -1
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/types/src/playground/Surfaces.stories.d.ts +6 -2
- package/dist/types/src/playground/Surfaces.stories.d.ts.map +1 -1
- package/dist/types/src/playground/Typography.stories.d.ts +1 -1
- package/package.json +25 -19
- package/src/components/Avatars/Avatar.stories.tsx +3 -2
- package/src/components/Avatars/AvatarGroup.stories.tsx +3 -2
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +3 -2
- package/src/components/Buttons/Button.stories.tsx +1 -1
- package/src/components/Buttons/Button.tsx +46 -36
- package/src/components/Buttons/Toggle.stories.tsx +3 -2
- package/src/components/Buttons/ToggleGroup.stories.tsx +3 -2
- package/src/components/Dialogs/AlertDialog.stories.tsx +3 -2
- package/src/components/Dialogs/Dialog.stories.tsx +3 -2
- package/src/components/Icon/Icon.tsx +11 -9
- package/src/components/Input/Input.stories.tsx +4 -3
- package/src/components/Link/Link.stories.tsx +1 -1
- package/src/components/Lists/List.stories.tsx +4 -4
- package/src/components/Lists/Tree.stories.tsx +3 -2
- package/src/components/Lists/Treegrid.stories.tsx +1 -1
- package/src/components/Main/Main.stories.tsx +3 -2
- package/src/components/Menus/ContextMenu.stories.tsx +3 -2
- package/src/components/Menus/DropdownMenu.stories.tsx +43 -3
- package/src/components/Menus/DropdownMenu.tsx +518 -69
- package/src/components/Message/Message.stories.tsx +3 -2
- package/src/components/Popover/Popover.stories.tsx +27 -3
- package/src/components/Popover/Popover.tsx +524 -55
- package/src/components/ScrollArea/ScrollArea.stories.tsx +3 -2
- package/src/components/Select/Select.stories.tsx +1 -1
- package/src/components/Status/Status.stories.tsx +1 -1
- package/src/components/Tag/Tag.stories.tsx +1 -1
- package/src/components/Toast/Toast.stories.tsx +3 -2
- package/src/components/Toolbar/Toolbar.stories.tsx +3 -2
- package/src/components/Tooltip/Tooltip.stories.tsx +3 -2
- package/src/playground/Controls.stories.tsx +1 -1
- package/src/playground/Surfaces.stories.tsx +4 -3
- package/src/playground/Typography.stories.tsx +2 -2
|
@@ -34,8 +34,9 @@ const StorybookScrollArea = ({ children }: PropsWithChildren<{}>) => {
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
export default {
|
|
37
|
-
title: 'ui/react-ui/Scroll area',
|
|
38
|
-
component:
|
|
37
|
+
title: 'ui/react-ui-core/Scroll area',
|
|
38
|
+
component: ScrollArea,
|
|
39
|
+
render: StorybookScrollArea,
|
|
39
40
|
decorators: [withTheme],
|
|
40
41
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
41
42
|
};
|
|
@@ -48,7 +48,7 @@ export const Default: StoryObj<StoryProps> = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export default {
|
|
51
|
-
title: 'ui/react-ui/Select',
|
|
51
|
+
title: 'ui/react-ui-core/Select',
|
|
52
52
|
render: DefaultStory,
|
|
53
53
|
decorators: [withVariants(), withTheme],
|
|
54
54
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
@@ -10,7 +10,7 @@ import { Status } from './Status';
|
|
|
10
10
|
import { withTheme } from '../../testing';
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
|
-
title: 'ui/react-ui/Status',
|
|
13
|
+
title: 'ui/react-ui-core/Status',
|
|
14
14
|
component: Status,
|
|
15
15
|
decorators: [withTheme],
|
|
16
16
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
@@ -45,8 +45,9 @@ const StorybookToast = (props: StorybookToastProps) => {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
export default {
|
|
48
|
-
title: 'ui/react-ui/Toast',
|
|
49
|
-
component:
|
|
48
|
+
title: 'ui/react-ui-core/Toast',
|
|
49
|
+
component: Toast,
|
|
50
|
+
render: StorybookToast,
|
|
50
51
|
decorators: [withTheme],
|
|
51
52
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
52
53
|
};
|
|
@@ -70,8 +70,9 @@ const StorybookToolbar = (props: StorybookToolbarProps) => {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
export default {
|
|
73
|
-
title: 'ui/react-ui/Toolbar',
|
|
74
|
-
component:
|
|
73
|
+
title: 'ui/react-ui-core/Toolbar',
|
|
74
|
+
component: Toolbar,
|
|
75
|
+
render: StorybookToolbar,
|
|
75
76
|
decorators: [withTheme],
|
|
76
77
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
77
78
|
};
|
|
@@ -29,8 +29,9 @@ const StoryTooltip = ({ content }: StoryTooltipProps) => (
|
|
|
29
29
|
);
|
|
30
30
|
|
|
31
31
|
export default {
|
|
32
|
-
title: 'ui/react-ui/Tooltip',
|
|
33
|
-
component:
|
|
32
|
+
title: 'ui/react-ui-core/Tooltip',
|
|
33
|
+
component: Tooltip,
|
|
34
|
+
render: StoryTooltip,
|
|
34
35
|
decorators: [withTheme],
|
|
35
36
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
36
37
|
};
|
|
@@ -84,7 +84,7 @@ const DefaultStory = () => {
|
|
|
84
84
|
export const Default = {};
|
|
85
85
|
|
|
86
86
|
export default {
|
|
87
|
-
title: 'ui/react-ui/Playground/Controls',
|
|
87
|
+
title: 'ui/react-ui-core/Playground/Controls',
|
|
88
88
|
render: DefaultStory,
|
|
89
89
|
decorators: [withVariants(), withTheme],
|
|
90
90
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
@@ -47,7 +47,7 @@ const Surface = ({ children, level }: PropsWithChildren & { level: SurfaceLevel
|
|
|
47
47
|
);
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
const
|
|
50
|
+
const SurfaceStory = () => {
|
|
51
51
|
return (
|
|
52
52
|
<div className='bg-cubes p-10 m-0'>
|
|
53
53
|
<Surface level='fixed' />
|
|
@@ -61,8 +61,9 @@ const SurfacesStory = () => {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
export default {
|
|
64
|
-
title: 'ui/react-ui/Playground/Surfaces',
|
|
65
|
-
component:
|
|
64
|
+
title: 'ui/react-ui-core/Playground/Surfaces',
|
|
65
|
+
component: Surface,
|
|
66
|
+
render: SurfaceStory,
|
|
66
67
|
decorators: [withTheme],
|
|
67
68
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
68
69
|
};
|
|
@@ -44,8 +44,8 @@ const TypographyStory = () => {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
export default {
|
|
47
|
-
title: 'ui/react-ui/Playground/Typography',
|
|
48
|
-
|
|
47
|
+
title: 'ui/react-ui-core/Playground/Typography',
|
|
48
|
+
render: TypographyStory,
|
|
49
49
|
decorators: [withTheme],
|
|
50
50
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
51
51
|
};
|