@dxos/react-ui 0.6.13-main.ed424a1 → 0.6.13-staging.1e988a3

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.
@@ -7,15 +7,7 @@ import React, { forwardRef } from 'react';
7
7
 
8
8
  import { useThemeContext } from '../../hooks';
9
9
  import { type ThemedClassName } from '../../util';
10
- import {
11
- Button,
12
- ButtonGroup,
13
- type ButtonGroupProps,
14
- type ButtonProps,
15
- Toggle,
16
- type ToggleGroupItemProps,
17
- type ToggleProps,
18
- } from '../Buttons';
10
+ import { Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ToggleGroupItemProps } from '../Buttons';
19
11
  import { Link, type LinkProps } from '../Link';
20
12
  import { Separator, type SeparatorProps } from '../Separator';
21
13
 
@@ -40,16 +32,6 @@ const ToolbarButton = forwardRef<HTMLButtonElement, ToolbarButtonProps>((props,
40
32
  );
41
33
  });
42
34
 
43
- type ToolbarToggleProps = ToggleProps;
44
-
45
- const ToolbarToggle = forwardRef<HTMLButtonElement, ToolbarToggleProps>((props, forwardedRef) => {
46
- return (
47
- <ToolbarPrimitive.Button asChild>
48
- <Toggle {...props} ref={forwardedRef} />
49
- </ToolbarPrimitive.Button>
50
- );
51
- });
52
-
53
35
  type ToolbarLinkProps = LinkProps;
54
36
 
55
37
  const ToolbarLink = forwardRef<HTMLAnchorElement, ToolbarLinkProps>((props, forwardedRef) => {
@@ -102,7 +84,6 @@ export const Toolbar = {
102
84
  Root: ToolbarRoot,
103
85
  Button: ToolbarButton,
104
86
  Link: ToolbarLink,
105
- Toggle: ToolbarToggle,
106
87
  ToggleGroup: ToolbarToggleGroup,
107
88
  ToggleGroupItem: ToolbarToggleGroupItem,
108
89
  Separator: ToolbarSeparator,
@@ -112,7 +93,6 @@ export type {
112
93
  ToolbarRootProps,
113
94
  ToolbarButtonProps,
114
95
  ToolbarLinkProps,
115
- ToolbarToggleProps,
116
96
  ToolbarToggleGroupProps,
117
97
  ToolbarToggleGroupItemProps,
118
98
  ToolbarSeparatorProps,