@dxos/react-ui 0.6.13-main.ed424a1 → 0.6.13

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.
@@ -1950,7 +1950,7 @@ var ScrollArea = {
1950
1950
  };
1951
1951
 
1952
1952
  // packages/ui/react-ui/src/components/Select/Select.tsx
1953
- import { CaretDown as CaretDown2, CaretUp } from "@phosphor-icons/react";
1953
+ import { CaretDown as CaretDown2, CaretUp, Check as Check2 } from "@phosphor-icons/react";
1954
1954
  import * as SelectPrimitive from "@radix-ui/react-select";
1955
1955
  import React26, { forwardRef as forwardRef23 } from "react";
1956
1956
  var SelectRoot = SelectPrimitive.Root;
@@ -1965,21 +1965,20 @@ var SelectTriggerButton = /* @__PURE__ */ forwardRef23(({ children, placeholder,
1965
1965
  ref: forwardedRef
1966
1966
  }, /* @__PURE__ */ React26.createElement(Button, props, /* @__PURE__ */ React26.createElement(SelectPrimitive.Value, {
1967
1967
  placeholder
1968
- }, children), /* @__PURE__ */ React26.createElement("span", {
1969
- className: "w-1 flex-1"
1970
- }), /* @__PURE__ */ React26.createElement(SelectPrimitive.Icon, {
1968
+ }, children), /* @__PURE__ */ React26.createElement(SelectPrimitive.Icon, {
1971
1969
  asChild: true
1972
- }, /* @__PURE__ */ React26.createElement(CaretDown2, {
1970
+ }, /* @__PURE__ */ React26.createElement(React26.Fragment, null, /* @__PURE__ */ React26.createElement("span", {
1971
+ className: "w-1"
1972
+ }), /* @__PURE__ */ React26.createElement(CaretDown2, {
1973
1973
  className: tx("select.triggerIcon", "select__trigger__icon", {}),
1974
1974
  weight: "bold"
1975
- }))));
1975
+ })))));
1976
1976
  });
1977
1977
  var SelectContent = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
1978
1978
  const { tx } = useThemeContext();
1979
1979
  return /* @__PURE__ */ React26.createElement(SelectPrimitive.Content, {
1980
1980
  ...props,
1981
1981
  className: tx("select.content", "select__content", {}, classNames),
1982
- position: "popper",
1983
1982
  ref: forwardedRef
1984
1983
  }, children);
1985
1984
  });
@@ -2027,11 +2026,11 @@ var SelectOption = /* @__PURE__ */ forwardRef23(({ children, classNames, ...prop
2027
2026
  ...props,
2028
2027
  className: tx("select.item", "option", {}, classNames),
2029
2028
  ref: forwardedRef
2030
- }, /* @__PURE__ */ React26.createElement(SelectPrimitive.ItemText, null, children), /* @__PURE__ */ React26.createElement("span", {
2031
- className: "grow w-1"
2032
- }), /* @__PURE__ */ React26.createElement(Icon, {
2033
- icon: "ph--check--regular"
2034
- }));
2029
+ }, /* @__PURE__ */ React26.createElement(SelectPrimitive.ItemText, null, children), /* @__PURE__ */ React26.createElement(SelectPrimitive.ItemIndicator, {
2030
+ className: tx("select.itemIndicator", "option__indicator", {})
2031
+ }, /* @__PURE__ */ React26.createElement(Check2, {
2032
+ weight: "bold"
2033
+ })));
2035
2034
  });
2036
2035
  var SelectGroup = SelectPrimitive.Group;
2037
2036
  var SelectLabel = SelectPrimitive.Label;
@@ -2196,14 +2195,6 @@ var ToolbarButton = /* @__PURE__ */ forwardRef26((props, forwardedRef) => {
2196
2195
  ref: forwardedRef
2197
2196
  }));
2198
2197
  });
2199
- var ToolbarToggle = /* @__PURE__ */ forwardRef26((props, forwardedRef) => {
2200
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Button, {
2201
- asChild: true
2202
- }, /* @__PURE__ */ React30.createElement(Toggle, {
2203
- ...props,
2204
- ref: forwardedRef
2205
- }));
2206
- });
2207
2198
  var ToolbarLink = /* @__PURE__ */ forwardRef26((props, forwardedRef) => {
2208
2199
  return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Link, {
2209
2200
  asChild: true
@@ -2248,7 +2239,6 @@ var Toolbar = {
2248
2239
  Root: ToolbarRoot,
2249
2240
  Button: ToolbarButton,
2250
2241
  Link: ToolbarLink,
2251
- Toggle: ToolbarToggle,
2252
2242
  ToggleGroup: ToolbarToggleGroup2,
2253
2243
  ToggleGroupItem: ToolbarToggleGroupItem,
2254
2244
  Separator: ToolbarSeparator