import { type Accessor, createContext, useContext } from "solid-js"; /** * The value handed down by `` to its descendants. * * `nonce` is an accessor so a parent that updates `props.nonce` is observed * by consumers without them needing to subscribe to an outer signal — this * keeps the shape consistent with the other Base UI internal contexts (see * `field-context.ts`) and avoids the top-level reactive-read warning in * Solid 2. * * `disableStyleElements` mirrors React Base UI's CSP context flag: when * `true`, components skip injecting inline `