@mintlify/components 1.0.8 → 1.0.10
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/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 +4 -0
- package/dist/components/code-group/index.d.ts.map +1 -1
- package/dist/components/property/index.d.ts +2 -0
- package/dist/components/property/index.d.ts.map +1 -1
- package/dist/components/property/pills.d.ts +7 -4
- package/dist/components/property/pills.d.ts.map +1 -1
- package/dist/components/property/pills.js +1 -1
- package/dist/index.js +75 -64
- 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 st, offset as rt, size as ct, hide as lt, shift as ft,
|
|
1
|
+
import { flip as st, offset as rt, size as ct, hide as lt, shift as ft, computePosition as ut, detectOverflow as ht, limitShift as at } from "../../../../../@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js";
|
|
2
2
|
import { createCoords as y, rectToClientRect as J, floor as A, max as E, round as D, min as N } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
|
|
3
3
|
import { getOverflowAncestors as $, isElement as x, getDocumentElement as R, getWindow as L, getFrameElement as U, getComputedStyle as b, isHTMLElement as O, isWebKit as Q, isTopLayer as V, getParentNode as S, isLastTraversableNode as z, isTableElement as dt, isContainingBlock as Y, getContainingBlock as gt, getNodeName as _, isOverflowElement as q, getNodeScroll as H } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
|
|
4
4
|
function Z(t) {
|
|
@@ -374,7 +374,7 @@ function zt(t, e, o, i) {
|
|
|
374
374
|
}), h == null || h(), (g = a) == null || g.disconnect(), a = null, f && cancelAnimationFrame(m);
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
|
-
const Ht =
|
|
377
|
+
const Ht = ht, It = rt, Mt = ft, Nt = st, $t = ct, Vt = lt, _t = at, qt = (t, e, o) => {
|
|
378
378
|
const i = /* @__PURE__ */ new Map(), n = {
|
|
379
379
|
platform: St,
|
|
380
380
|
...o
|
|
@@ -382,7 +382,7 @@ const Ht = ut, It = rt, Mt = ft, Nt = st, $t = ct, Vt = lt, _t = at, qt = (t, e,
|
|
|
382
382
|
...n.platform,
|
|
383
383
|
_c: i
|
|
384
384
|
};
|
|
385
|
-
return
|
|
385
|
+
return ut(t, e, {
|
|
386
386
|
...n,
|
|
387
387
|
platform: r
|
|
388
388
|
});
|
|
@@ -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,
|