apiuikit 1.8.2 → 1.9.0
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/{CodeSamples-CL8eb-T3.js → CodeSamples-BotKIQ6C.js} +895 -913
- package/dist/CodeSamples-D2iaaOjz.cjs +50 -0
- package/dist/{LogoExtension-DU3IhX6X.js → LogoExtension-CmDeWrqV.js} +1 -1
- package/dist/{LogoExtension-CPGCplgQ.cjs → LogoExtension-Dc_SUJhG.cjs} +1 -1
- package/dist/apiuikit.cjs.js +1 -1
- package/dist/apiuikit.css +1 -1
- package/dist/apiuikit.es.js +1 -1
- package/dist/components/DocumentTopBar.d.ts +4 -2
- package/dist/config/config.d.ts +15 -2
- package/dist/hooks/useDocumentProviderValue.d.ts +1 -0
- package/dist/hooks/useSystemColorScheme.d.ts +6 -0
- package/dist/{index-BknhLZWz.js → index-B5IqdQwF.js} +1 -1
- package/dist/{index-DQ7J7s-P.js → index-BW_gDunt.js} +2763 -2753
- package/dist/index-BaryvbmB.cjs +178 -0
- package/dist/{index-CRgA--GI.js → index-BnwQArUz.js} +1 -1
- package/dist/{index-COqgZ4Yj.cjs → index-BuZVtHPG.cjs} +1 -1
- package/dist/{index-AW9A5hmB.cjs → index-D7aNsAD6.cjs} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{protoToJsonSchema-BMBlvMH-.cjs → protoToJsonSchema-DAbk8Ysk.cjs} +1 -1
- package/dist/{protoToJsonSchema-DqNgaYMA.js → protoToJsonSchema-DUOthusN.js} +1 -1
- package/dist/{protobufSchemaParser-DpLRfSmz.cjs → protobufSchemaParser-BJ8lDMuw.cjs} +1 -1
- package/dist/{protobufSchemaParser-iQvfvNCx.js → protobufSchemaParser-kcEjdu3A.js} +2 -2
- package/dist/utils/scrollLock.d.ts +0 -1
- package/dist/utils/theme.d.ts +11 -1
- package/package.json +1 -1
- package/dist/CodeSamples-Cv-2sVZy.cjs +0 -50
- package/dist/index-BQPvrcDl.cjs +0 -178
- package/dist/utils/useScrollClipAncestor.d.ts +0 -12
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Finds the nearest ancestor of `element` that actually clips/scrolls its
|
|
3
|
-
* own content (e.g. a host page's bounded preview pane), stopping at
|
|
4
|
-
* `document.body`. Returns `null` when none exists — the common full-page
|
|
5
|
-
* host case, where the true browser viewport is the right anchor.
|
|
6
|
-
*
|
|
7
|
-
* This exists for viewport-pinned overlays that need a *stable* anchor rect:
|
|
8
|
-
* `element`'s own bounding rect moves (often deep negative) as it scrolls
|
|
9
|
-
* inside such an ancestor, but the ancestor's own box doesn't move just
|
|
10
|
-
* because its content scrolled.
|
|
11
|
-
*/
|
|
12
|
-
export declare function useScrollClipAncestor(element: HTMLElement | null): HTMLElement | null;
|