@wacht/jsx 1.0.0-beta.51 → 1.0.0-beta.53
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.
- package/dist/index.cjs.js +20 -20
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.es.js +5369 -5370
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1532,6 +1532,16 @@ export declare type UseSignUpReturnType = {
|
|
|
1532
1532
|
*/
|
|
1533
1533
|
export declare function useSSOCallback(): SSOCallbackState;
|
|
1534
1534
|
|
|
1535
|
+
/**
|
|
1536
|
+
* Inline `--wa-ov-*` override vars for the current deployment's theme_tokens.
|
|
1537
|
+
* Apply to any `.wacht-root` element that lives OUTSIDE the main provider's DOM
|
|
1538
|
+
* subtree — i.e. portalled popovers/dropdowns/dialogs rendered to `document.body`.
|
|
1539
|
+
* Those re-wrap in `.wacht-root` (restoring base tokens) but don't inherit the
|
|
1540
|
+
* overrides, which are set inline on the provider's root; this re-applies them.
|
|
1541
|
+
* React context flows through portals, so this reads the same deployment.
|
|
1542
|
+
*/
|
|
1543
|
+
export declare function useThemeOverrideVars(): Record<string, string>;
|
|
1544
|
+
|
|
1535
1545
|
export declare function useUser(): {
|
|
1536
1546
|
user: {
|
|
1537
1547
|
refetch: KeyedMutator<CurrentUser>;
|