@dxos/react-ui 0.4.4-main.ff4ae18 → 0.4.4-next.e0df51e
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.
|
@@ -1724,14 +1724,16 @@ var SelectValue = SelectPrimitive.Value;
|
|
|
1724
1724
|
var SelectIcon = SelectPrimitive.Icon;
|
|
1725
1725
|
var SelectPortal = SelectPrimitive.Portal;
|
|
1726
1726
|
var SelectTriggerButton = /* @__PURE__ */ forwardRef21(({ children, placeholder, ...props }, forwardedRef) => {
|
|
1727
|
+
const { tx } = useThemeContext();
|
|
1727
1728
|
return /* @__PURE__ */ React24.createElement(SelectPrimitive.Trigger, {
|
|
1728
1729
|
asChild: true,
|
|
1729
1730
|
ref: forwardedRef
|
|
1730
1731
|
}, /* @__PURE__ */ React24.createElement(Button, props, /* @__PURE__ */ React24.createElement(SelectPrimitive.Value, {
|
|
1731
1732
|
placeholder
|
|
1732
1733
|
}, children), /* @__PURE__ */ React24.createElement(SelectPrimitive.Icon, {
|
|
1733
|
-
|
|
1734
|
+
asChild: true
|
|
1734
1735
|
}, /* @__PURE__ */ React24.createElement(CaretDown2, {
|
|
1736
|
+
className: tx("select.triggerIcon", "select__trigger__icon", {}),
|
|
1735
1737
|
weight: "bold"
|
|
1736
1738
|
}))));
|
|
1737
1739
|
});
|