@dxos/react-ui 0.6.12-main.89e9959 → 0.6.12-main.ac23639

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, Check as Check2 } from "@phosphor-icons/react";
1953
+ import { CaretDown as CaretDown2, CaretUp } 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,20 +1965,21 @@ 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(SelectPrimitive.Icon, {
1968
+ }, children), /* @__PURE__ */ React26.createElement("span", {
1969
+ className: "w-1 flex-1"
1970
+ }), /* @__PURE__ */ React26.createElement(SelectPrimitive.Icon, {
1969
1971
  asChild: true
1970
- }, /* @__PURE__ */ React26.createElement(React26.Fragment, null, /* @__PURE__ */ React26.createElement("span", {
1971
- className: "w-1"
1972
- }), /* @__PURE__ */ React26.createElement(CaretDown2, {
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",
1982
1983
  ref: forwardedRef
1983
1984
  }, children);
1984
1985
  });
@@ -2026,11 +2027,11 @@ var SelectOption = /* @__PURE__ */ forwardRef23(({ children, classNames, ...prop
2026
2027
  ...props,
2027
2028
  className: tx("select.item", "option", {}, classNames),
2028
2029
  ref: forwardedRef
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
- })));
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
+ }));
2034
2035
  });
2035
2036
  var SelectGroup = SelectPrimitive.Group;
2036
2037
  var SelectLabel = SelectPrimitive.Label;