@mintlify/components 1.0.7 → 1.0.9
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/components/code-group/code-group-select.d.ts +24 -0
- package/dist/components/code-group/code-group-select.d.ts.map +1 -0
- package/dist/components/code-group/code-group-select.js +109 -0
- package/dist/components/code-group/code-select-dropdown.d.ts +1 -3
- package/dist/components/code-group/code-select-dropdown.d.ts.map +1 -1
- package/dist/components/code-group/code-select-dropdown.js +41 -0
- package/dist/components/code-group/code-snippet.js +26 -0
- package/dist/components/code-group/dropdown.d.ts +1 -1
- package/dist/components/code-group/dropdown.d.ts.map +1 -1
- package/dist/components/code-group/dropdown.js +10 -10
- package/dist/components/code-group/index.d.ts +6 -0
- package/dist/components/code-group/index.d.ts.map +1 -1
- package/dist/index.js +71 -62
- package/dist/node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingPortal.js +6 -6
- package/dist/node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js +1 -1
- package/dist/node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/root/MenuRoot.js +4 -4
- package/dist/node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/trigger/MenuTrigger.js +3 -3
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +3 -3
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +4 -4
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { flip as H, offset as I, size as J, hide as K,
|
|
1
|
+
import { flip as H, offset as I, size as J, hide as K, computePosition as N, shift as Q, limitShift as T } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
2
2
|
import { autoUpdate as ae, detectOverflow as de, platform as me } from "../../../../../@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import { useLayoutEffect as X } from "react";
|
|
@@ -83,7 +83,7 @@ function ne(e) {
|
|
|
83
83
|
strategy: n,
|
|
84
84
|
middleware: M
|
|
85
85
|
};
|
|
86
|
-
P.current && (o.platform = P.current),
|
|
86
|
+
P.current && (o.platform = P.current), N(a.current, d.current, o).then((h) => {
|
|
87
87
|
const m = {
|
|
88
88
|
...h,
|
|
89
89
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -154,7 +154,7 @@ const re = (e, t) => ({
|
|
|
154
154
|
...I(e),
|
|
155
155
|
options: [e, t]
|
|
156
156
|
}), oe = (e, t) => ({
|
|
157
|
-
...
|
|
157
|
+
...Q(e),
|
|
158
158
|
options: [e, t]
|
|
159
159
|
}), fe = (e, t) => ({
|
|
160
160
|
...T(e),
|
|
@@ -171,7 +171,7 @@ const re = (e, t) => ({
|
|
|
171
171
|
});
|
|
172
172
|
export {
|
|
173
173
|
ae as autoUpdate,
|
|
174
|
-
|
|
174
|
+
N as computePosition,
|
|
175
175
|
de as detectOverflow,
|
|
176
176
|
se as flip,
|
|
177
177
|
ue as hide,
|