Move /platform/detection vars into /env (#9707)

* Add platform vars to env

* Replace /platform/detection with /env
This commit is contained in:
Eric Bailey
2026-01-16 16:28:17 -06:00
committed by GitHub
parent bd510d8468
commit 0589bd7d9e
244 changed files with 789 additions and 789 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export function Trigger({children, label}: TriggerProps) {
if (typeof children === 'function') {
return children({
isNative: true,
IS_NATIVE: true,
control,
state: {
hovered: false,
+1 -1
View File
@@ -68,7 +68,7 @@ export function Trigger({children, label}: TriggerProps) {
<RadixTriggerPassThrough>
{props =>
children({
isNative: false,
IS_NATIVE: false,
state: {
hovered,
focused,
+2 -2
View File
@@ -65,7 +65,7 @@ export type TriggerProps = {
export type TriggerChildProps =
| {
isNative: true
IS_NATIVE: true
control: DialogControlProps
state: {
/**
@@ -92,7 +92,7 @@ export type TriggerChildProps =
}
}
| {
isNative: false
IS_NATIVE: false
state: {
hovered: boolean
focused: boolean