fumadocs-ui 16.10.3 → 16.10.4

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.
Files changed (28) hide show
  1. package/dist/components/image-zoom.d.ts +1 -1
  2. package/dist/components/image-zoom.js +1 -1
  3. package/dist/components/ui/button.d.ts +1 -1
  4. package/dist/layouts/docs/slots/header.d.ts +1 -1
  5. package/dist/layouts/home/slots/header.d.ts +2 -2
  6. package/dist/layouts/notebook/slots/header.d.ts +1 -1
  7. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/controlled.d.ts +1 -1
  8. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/controlled.js +1 -2
  9. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +1 -1
  10. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/uncontrolled.js +1 -1
  11. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js +1 -1
  12. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js +1 -1
  13. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/element-tests.js +1 -1
  14. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js +1 -1
  15. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js +1 -1
  16. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js +1 -1
  17. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js +1 -1
  18. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js +1 -1
  19. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js +1 -1
  20. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-scale.js +1 -1
  21. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js +1 -1
  22. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js +1 -1
  23. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js +1 -1
  24. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/parse-position.js +1 -1
  25. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js +1 -1
  26. package/dist/style.css +118 -118
  27. package/package.json +22 -22
  28. /package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
1
+ import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
2
2
  import { ImageProps } from "fumadocs-core/framework";
3
3
  import { ComponentProps } from "react";
4
4
 
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Uncontrolled } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
2
+ import { Uncontrolled } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
3
3
  import "./image-zoom2.css";
4
4
  import { Image } from "fumadocs-core/framework";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -4,7 +4,7 @@ import { VariantProps } from "class-variance-authority";
4
4
  declare const buttonVariants: (props?: ({
5
5
  variant?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
6
6
  color?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
7
- size?: "sm" | "icon" | "icon-sm" | "icon-xs" | null | undefined;
7
+ size?: "icon" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type ButtonProps = VariantProps<typeof buttonVariants>;
10
10
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from "react";
2
2
 
3
3
  //#region src/layouts/docs/slots/header.d.ts
4
- declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
4
+ declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element;
5
5
  //#endregion
6
6
  export { Header };
@@ -2,8 +2,8 @@ import { ComponentProps } from "react";
2
2
 
3
3
  //#region src/layouts/home/slots/header.d.ts
4
4
  declare const navItemVariants: (props?: ({
5
- variant?: "icon" | "button" | "main" | null | undefined;
5
+ variant?: "button" | "main" | "icon" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
7
+ declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element;
8
8
  //#endregion
9
9
  export { Header, navItemVariants };
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from "react";
2
2
 
3
3
  //#region src/layouts/notebook/slots/header.d.ts
4
- declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
4
+ declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element;
5
5
  //#endregion
6
6
  export { Header };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/controlled.d.ts
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/controlled.d.ts
4
4
  type ModalState = 'LOADED' | 'LOADING' | 'UNLOADED' | 'UNLOADING';
5
5
  interface ControlledProps {
6
6
  a11yNameButtonUnzoom?: string;
@@ -6,7 +6,7 @@ import { getStyleGhost } from "./utils/get-style-ghost.js";
6
6
  import { getStyleModalImg } from "./utils/get-style-modal-img.js";
7
7
  import React from "react";
8
8
  import ReactDOM from "react-dom";
9
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/controlled.js
9
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/controlled.js
10
10
  const IMAGE_QUERY = [
11
11
  "img",
12
12
  "svg",
@@ -368,7 +368,6 @@ var ControlledBase = class extends React.Component {
368
368
  });
369
369
  }
370
370
  return React.createElement(WrapElement, {
371
- "aria-owns": idModal,
372
371
  "data-rmiz": "",
373
372
  ref: refWrap
374
373
  }, React.createElement(WrapElement, {
@@ -1,7 +1,7 @@
1
1
  import { ControlledProps } from "./controlled.js";
2
2
  import React from "react";
3
3
 
4
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts
4
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts
5
5
  type UncontrolledProps = Omit<ControlledProps, 'isZoomed'>;
6
6
  //#endregion
7
7
  export { UncontrolledProps };
@@ -1,6 +1,6 @@
1
1
  import { Controlled } from "./controlled.js";
2
2
  import React from "react";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js
4
4
  function Uncontrolled({ onZoomChange, ...props }) {
5
5
  const [isZoomed, setIsZoomed] = React.useState(false);
6
6
  const handleZoomChange = React.useCallback((value, { event }) => {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js
2
2
  const adjustSvgIDs = (svgEl) => {
3
3
  const newIdSuffix = "-zoom";
4
4
  const attrs = [
@@ -1,6 +1,6 @@
1
1
  import { getScale } from "./get-scale.js";
2
2
  import { parsePosition } from "./parse-position.js";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js
4
4
  const computePositionedStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, position, targetHeight, targetWidth, visibleHeight, visibleWidth }) => {
5
5
  const [posLeft = "50%", posTop = "50%"] = position.split(" ");
6
6
  const posX = parsePosition(posLeft, containerWidth - visibleWidth);
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/element-tests.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/element-tests.js
2
2
  function isElement(el) {
3
3
  if (typeof Element === "undefined") return false;
4
4
  return el instanceof Element;
@@ -1,6 +1,6 @@
1
1
  import { parsePosition } from "./parse-position.js";
2
2
  import { computePositionedStyle } from "./compute-positioned-style.js";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js
4
4
  const getDivImgStyle = ({ backgroundPosition, backgroundSize, containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, targetHeight, targetWidth }) => {
5
5
  const base = {
6
6
  containerHeight,
@@ -1,5 +1,5 @@
1
1
  import { testImg } from "./element-tests.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js
3
3
  const getImgAlt = (imgEl) => {
4
4
  if (imgEl !== null) if (testImg(imgEl)) return imgEl.alt;
5
5
  else return imgEl.getAttribute("aria-label") ?? void 0;
@@ -1,6 +1,6 @@
1
1
  import { getScale } from "./get-scale.js";
2
2
  import { computePositionedStyle } from "./compute-positioned-style.js";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js
4
4
  const getImgObjectFitStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, objectFit: objectFitParam, objectPosition, offset, targetHeight, targetWidth }) => {
5
5
  let resolvedObjectFit = objectFitParam;
6
6
  if (resolvedObjectFit === "scale-down") if (targetWidth <= containerWidth && targetHeight <= containerHeight) resolvedObjectFit = "none";
@@ -1,5 +1,5 @@
1
1
  import { getScale } from "./get-scale.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js
3
3
  const getImgRegularStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, targetHeight, targetWidth }) => {
4
4
  const scale = getScale({
5
5
  containerHeight,
@@ -1,5 +1,5 @@
1
1
  import { testDiv, testImg } from "./element-tests.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js
3
3
  const URL_REGEX = /url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/;
4
4
  const getImgSrc = (imgEl) => {
5
5
  if (imgEl !== null) {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js
2
2
  const getModalImgTransform = ({ height, initialTransform, isZoomed, left, top, userTransform, width }) => {
3
3
  let centeredUserTransform = "";
4
4
  if (userTransform !== "none" && userTransform !== "") {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-scale.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-scale.js
2
2
  const getScaleToWindow = ({ height, offset, width }) => Math.min((window.innerWidth - offset * 2) / width, (window.innerHeight - offset * 2) / height);
3
3
  const getScaleToWindowMax = ({ containerHeight, containerWidth, offset, targetHeight, targetWidth }) => {
4
4
  const scale = getScaleToWindow({
@@ -1,5 +1,5 @@
1
1
  import { testSvg } from "./element-tests.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js
3
3
  const getStyleGhost = (imgEl) => {
4
4
  if (imgEl == null) return {};
5
5
  if (testSvg(imgEl)) {
@@ -5,7 +5,7 @@ import { getDivImgStyle } from "./get-div-img-style.js";
5
5
  import { getModalImgTransform } from "./get-modal-img-transform.js";
6
6
  import { getTargetDimension } from "./get-target-dimension.js";
7
7
  import { testHasScalableSrc } from "./test-has-scalable-src.js";
8
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js
8
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js
9
9
  const getStyleModalImg = ({ hasZoomImg, imgSrc, isSvg, isZoomed, loadedImgEl, offset, shouldRefresh, targetEl }) => {
10
10
  const hasScalableSrc = testHasScalableSrc({
11
11
  hasZoomImg,
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js
2
2
  const getTargetDimension = ({ fallback, natural }) => natural !== void 0 && natural !== 0 ? natural : fallback;
3
3
  //#endregion
4
4
  export { getTargetDimension };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/parse-position.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/parse-position.js
2
2
  const parsePosition = (position, relativeNum) => {
3
3
  const positionNum = parseFloat(position);
4
4
  return position.endsWith("%") ? relativeNum * positionNum / 100 : positionNum;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js
2
2
  const SRC_SVG_REGEX = /\.svg$/i;
3
3
  const testHasScalableSrc = ({ hasZoomImg, imgSrc, isSvg }) => isSvg || imgSrc?.slice(0, 18) === "data:image/svg+xml" || hasZoomImg || imgSrc !== void 0 && SRC_SVG_REGEX.test(imgSrc);
4
4
  //#endregion
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -300,22 +300,22 @@
300
300
  position: sticky;
301
301
  }
302
302
  .inset-0 {
303
- inset: calc(var(--spacing) * 0);
303
+ inset: 0;
304
304
  }
305
305
  .inset-x-0 {
306
- inset-inline: calc(var(--spacing) * 0);
306
+ inset-inline: 0;
307
307
  }
308
308
  .inset-x-2 {
309
309
  inset-inline: calc(var(--spacing) * 2);
310
310
  }
311
311
  .inset-y-0 {
312
- inset-block: calc(var(--spacing) * 0);
312
+ inset-block: 0;
313
313
  }
314
314
  .inset-y-2 {
315
315
  inset-block: calc(var(--spacing) * 2);
316
316
  }
317
317
  .inset-s-0 {
318
- inset-inline-start: calc(var(--spacing) * 0);
318
+ inset-inline-start: 0;
319
319
  }
320
320
  .inset-s-3 {
321
321
  inset-inline-start: calc(var(--spacing) * 3);
@@ -330,7 +330,7 @@
330
330
  inset-inline-end: calc(var(--spacing) * 2);
331
331
  }
332
332
  .inset-e-0 {
333
- inset-inline-end: calc(var(--spacing) * 0);
333
+ inset-inline-end: 0;
334
334
  }
335
335
  .inset-e-2 {
336
336
  inset-inline-end: calc(var(--spacing) * 2);
@@ -348,7 +348,7 @@
348
348
  top: var(--fd-docs-row-3);
349
349
  }
350
350
  .top-0 {
351
- top: calc(var(--spacing) * 0);
351
+ top: 0;
352
352
  }
353
353
  .top-1\/2 {
354
354
  top: calc(1 / 2 * 100%);
@@ -369,7 +369,7 @@
369
369
  right: calc(var(--spacing) * 2);
370
370
  }
371
371
  .bottom-0 {
372
- bottom: calc(var(--spacing) * 0);
372
+ bottom: 0;
373
373
  }
374
374
  .bottom-1\.5 {
375
375
  bottom: calc(var(--spacing) * 1.5);
@@ -378,7 +378,7 @@
378
378
  bottom: calc(var(--spacing) * 26);
379
379
  }
380
380
  .left-0 {
381
- left: calc(var(--spacing) * 0);
381
+ left: 0;
382
382
  }
383
383
  .left-1\/2 {
384
384
  left: calc(1 / 2 * 100%);
@@ -438,10 +438,10 @@
438
438
  margin-inline: auto;
439
439
  }
440
440
  .my-0 {
441
- margin-block: calc(var(--spacing) * 0);
441
+ margin-block: 0;
442
442
  }
443
443
  .my-0\! {
444
- margin-block: calc(var(--spacing) * 0) !important;
444
+ margin-block: 0 !important;
445
445
  }
446
446
  .my-0\.5 {
447
447
  margin-block: calc(var(--spacing) * 0.5);
@@ -459,7 +459,7 @@
459
459
  margin-inline-start: calc(var(--spacing) * -1.5);
460
460
  }
461
461
  .ms-1 {
462
- margin-inline-start: calc(var(--spacing) * 1);
462
+ margin-inline-start: var(--spacing);
463
463
  }
464
464
  .ms-2 {
465
465
  margin-inline-start: calc(var(--spacing) * 2);
@@ -480,7 +480,7 @@
480
480
  margin-inline-end: calc(var(--spacing) * -2);
481
481
  }
482
482
  .me-1 {
483
- margin-inline-end: calc(var(--spacing) * 1);
483
+ margin-inline-end: var(--spacing);
484
484
  }
485
485
  .me-2 {
486
486
  margin-inline-end: calc(var(--spacing) * 2);
@@ -493,126 +493,126 @@
493
493
  max-width: none;
494
494
  font-size: 1rem;
495
495
  line-height: 1.75rem;
496
- :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
496
+ :where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
497
497
  font-size: 1.25em;
498
498
  line-height: 1.6;
499
499
  margin-top: 1.2em;
500
500
  margin-bottom: 1.2em;
501
501
  color: var(--tw-prose-lead);
502
502
  }
503
- :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
503
+ :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
504
504
  padding-inline-start: 1rem;
505
505
  list-style-type: disc;
506
506
  margin-top: 1.25em;
507
507
  margin-bottom: 1.25em;
508
508
  }
509
- :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
509
+ :where(li):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
510
510
  margin-top: 0.5em;
511
511
  margin-bottom: 0.5em;
512
512
  }
513
- :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
513
+ :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
514
514
  padding-inline-start: 0.375em;
515
515
  }
516
- :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
516
+ :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
517
517
  padding-inline-start: 0;
518
518
  }
519
- :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
519
+ :where(.prose > ul > li p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
520
520
  margin-top: 0.75em;
521
521
  margin-bottom: 0.75em;
522
522
  }
523
- :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
523
+ :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
524
524
  margin-top: 1.25em;
525
525
  }
526
- :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
526
+ :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
527
527
  margin-bottom: 1.25em;
528
528
  }
529
- :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
529
+ :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
530
530
  margin-top: 1.25em;
531
531
  }
532
- :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
532
+ :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
533
533
  margin-bottom: 1.25em;
534
534
  }
535
- :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
535
+ :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
536
536
  margin-top: 0.75em;
537
537
  margin-bottom: 0.75em;
538
538
  }
539
- :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
539
+ :where(dl):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
540
540
  margin-top: 1.25em;
541
541
  margin-bottom: 1.25em;
542
542
  }
543
- :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
543
+ :where(dt):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
544
544
  color: var(--tw-prose-headings);
545
545
  font-weight: 600;
546
546
  margin-top: 1.25em;
547
547
  }
548
- :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
548
+ :where(dd):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
549
549
  margin-top: 0.5em;
550
550
  padding-inline-start: 1.625em;
551
551
  }
552
- :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
552
+ :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
553
553
  border-color: var(--tw-prose-hr);
554
554
  border-top-width: 1px;
555
555
  margin-top: 3em;
556
556
  margin-bottom: 3em;
557
557
  }
558
- :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
558
+ :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
559
559
  margin-top: 1.25em;
560
560
  margin-bottom: 1.25em;
561
561
  }
562
- :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
562
+ :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
563
563
  color: var(--tw-prose-bold);
564
564
  font-weight: 500;
565
565
  }
566
- :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
566
+ :where(a strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
567
567
  color: inherit;
568
568
  }
569
- :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
569
+ :where(blockquote strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
570
570
  color: inherit;
571
571
  }
572
- :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
572
+ :where(thead th strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
573
573
  color: inherit;
574
574
  }
575
- :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
575
+ :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
576
576
  list-style-type: decimal;
577
577
  margin-top: 1.25em;
578
578
  margin-bottom: 1.25em;
579
579
  padding-inline-start: 1.625em;
580
580
  }
581
- :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
581
+ :where(ol[type="A"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
582
582
  list-style-type: upper-alpha;
583
583
  }
584
- :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
584
+ :where(ol[type="a"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
585
585
  list-style-type: lower-alpha;
586
586
  }
587
- :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
587
+ :where(ol[type="A" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
588
588
  list-style-type: upper-alpha;
589
589
  }
590
- :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
590
+ :where(ol[type="a" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
591
591
  list-style-type: lower-alpha;
592
592
  }
593
- :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
593
+ :where(ol[type="I"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
594
594
  list-style-type: upper-roman;
595
595
  }
596
- :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
596
+ :where(ol[type="i"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
597
597
  list-style-type: lower-roman;
598
598
  }
599
- :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
599
+ :where(ol[type="I" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
600
600
  list-style-type: upper-roman;
601
601
  }
602
- :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
602
+ :where(ol[type="i" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
603
603
  list-style-type: lower-roman;
604
604
  }
605
- :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
605
+ :where(ol[type="1"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
606
606
  list-style-type: decimal;
607
607
  }
608
- :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
608
+ :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
609
609
  font-weight: 400;
610
610
  color: var(--tw-prose-counters);
611
611
  }
612
- :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
612
+ :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
613
613
  color: var(--tw-prose-bullets);
614
614
  }
615
- :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
615
+ :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
616
616
  margin-top: 1.6em;
617
617
  margin-bottom: 1.6em;
618
618
  padding-inline-start: 1em;
@@ -623,13 +623,13 @@
623
623
  border-inline-start-color: var(--tw-prose-quote-borders);
624
624
  quotes: "\201C""\201D""\2018""\2019";
625
625
  }
626
- :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
626
+ :where(blockquote p:first-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *))::before {
627
627
  content: open-quote;
628
628
  }
629
- :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
629
+ :where(blockquote p:last-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *))::after {
630
630
  content: close-quote;
631
631
  }
632
- :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
632
+ :where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
633
633
  color: var(--tw-prose-headings);
634
634
  font-weight: 800;
635
635
  font-size: var(--text-3xl);
@@ -637,11 +637,11 @@
637
637
  margin-bottom: 0.8888889em;
638
638
  line-height: 1.1111111;
639
639
  }
640
- :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
640
+ :where(h1 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
641
641
  font-weight: 900;
642
642
  color: inherit;
643
643
  }
644
- :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
644
+ :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
645
645
  color: var(--tw-prose-headings);
646
646
  font-size: 1.5em;
647
647
  margin-top: 2em;
@@ -649,11 +649,11 @@
649
649
  line-height: 1.3333333;
650
650
  font-weight: 600;
651
651
  }
652
- :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
652
+ :where(h2 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
653
653
  font-weight: 800;
654
654
  color: inherit;
655
655
  }
656
- :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
656
+ :where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
657
657
  color: var(--tw-prose-headings);
658
658
  font-weight: 600;
659
659
  font-size: 1.25em;
@@ -661,51 +661,51 @@
661
661
  margin-bottom: 0.6em;
662
662
  line-height: 1.6;
663
663
  }
664
- :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
664
+ :where(h3 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
665
665
  font-weight: 700;
666
666
  color: inherit;
667
667
  }
668
- :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
668
+ :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
669
669
  color: var(--tw-prose-headings);
670
670
  font-weight: 600;
671
671
  margin-top: 1.5em;
672
672
  margin-bottom: 0.5em;
673
673
  line-height: 1.5;
674
674
  }
675
- :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
675
+ :where(h4 strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
676
676
  font-weight: 700;
677
677
  color: inherit;
678
678
  }
679
- :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
679
+ :where(hr + *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
680
680
  margin-top: 0;
681
681
  }
682
- :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
682
+ :where(h2 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
683
683
  margin-top: 0;
684
684
  }
685
- :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
685
+ :where(h3 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
686
686
  margin-top: 0;
687
687
  }
688
- :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
688
+ :where(h4 + *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
689
689
  margin-top: 0;
690
690
  }
691
- :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
691
+ :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
692
692
  margin-top: 2em;
693
693
  margin-bottom: 2em;
694
694
  }
695
- :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
695
+ :where(picture):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
696
696
  display: block;
697
697
  margin-top: 2em;
698
698
  margin-bottom: 2em;
699
699
  }
700
- :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
700
+ :where(picture > img):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
701
701
  margin-top: 0;
702
702
  margin-bottom: 0;
703
703
  }
704
- :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
704
+ :where(video):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
705
705
  margin-top: 2em;
706
706
  margin-bottom: 2em;
707
707
  }
708
- :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
708
+ :where(kbd):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
709
709
  font-size: 0.875em;
710
710
  border-radius: 0.3125rem;
711
711
  padding-top: 0.1875em;
@@ -717,7 +717,7 @@
717
717
  color: var(--tw-prose-kbd);
718
718
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);
719
719
  }
720
- :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
720
+ :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
721
721
  padding: 3px;
722
722
  border: solid 1px;
723
723
  font-size: 13px;
@@ -727,49 +727,49 @@
727
727
  background: var(--color-fd-muted);
728
728
  color: var(--tw-prose-code);
729
729
  }
730
- :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
730
+ :where(a code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
731
731
  color: inherit;
732
732
  }
733
- :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
733
+ :where(h1 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
734
734
  color: inherit;
735
735
  font-size: var(--text-2xl);
736
736
  }
737
- :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
737
+ :where(h2 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
738
738
  color: inherit;
739
739
  font-size: 0.875em;
740
740
  }
741
- :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
741
+ :where(h3 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
742
742
  color: inherit;
743
743
  font-size: 0.9em;
744
744
  }
745
- :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
745
+ :where(h4 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
746
746
  color: inherit;
747
747
  }
748
- :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
748
+ :where(blockquote code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
749
749
  color: inherit;
750
750
  }
751
- :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
751
+ :where(thead th code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
752
752
  color: inherit;
753
753
  }
754
- :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
754
+ :where(thead th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
755
755
  color: var(--tw-prose-headings);
756
756
  font-weight: 600;
757
757
  }
758
- :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
758
+ :where(figure):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
759
759
  margin-top: 2em;
760
760
  margin-bottom: 2em;
761
761
  }
762
- :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
762
+ :where(figure > *):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
763
763
  margin-top: 0;
764
764
  margin-bottom: 0;
765
765
  }
766
- :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
766
+ :where(figcaption):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
767
767
  color: var(--tw-prose-captions);
768
768
  font-size: 0.875em;
769
769
  line-height: 1.4285714;
770
770
  margin-top: 0.8571429em;
771
771
  }
772
- :where(a:not([data-card])):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
772
+ :where(a:not([data-card])):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
773
773
  color: var(--tw-prose-links);
774
774
  transition: opacity .2s;
775
775
  font-weight: 500;
@@ -778,7 +778,7 @@
778
778
  text-decoration-color: var(--color-fd-primary);
779
779
  text-decoration-thickness: 1.5px;
780
780
  }
781
- :where(a:not([data-card]):hover):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
781
+ :where(a:not([data-card]):hover):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
782
782
  opacity: 80%;
783
783
  }
784
784
  --tw-prose-body: color-mix(in srgb, hsl(0, 0%, 3.9%) 90%, transparent);
@@ -803,13 +803,13 @@
803
803
  @supports (color: color-mix(in lab, red, red)) {
804
804
  --tw-prose-kbd-shadows: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);
805
805
  }
806
- :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
806
+ :where(.prose > :first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
807
807
  margin-top: 0;
808
808
  }
809
- :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
809
+ :where(.prose > :last-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
810
810
  margin-bottom: 0;
811
811
  }
812
- :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
812
+ :where(table):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
813
813
  font-size: 0.875em;
814
814
  line-height: 1.7142857;
815
815
  width: 100%;
@@ -823,31 +823,31 @@
823
823
  border: 1px solid var(--color-fd-border);
824
824
  overflow: hidden;
825
825
  }
826
- :where(th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
826
+ :where(th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
827
827
  text-align: start;
828
828
  padding: calc(var(--spacing) * 2.5);
829
829
  border-inline-start: 1px solid var(--color-fd-border);
830
830
  background: var(--color-fd-muted);
831
831
  }
832
- :where(th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
832
+ :where(th:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
833
833
  border-inline-start: none;
834
834
  }
835
- :where(th:not(tr:last-child *), td:not(tr:last-child *)):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
835
+ :where(th:not(tr:last-child *), td:not(tr:last-child *)):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
836
836
  border-bottom: 1px solid var(--color-fd-border);
837
837
  }
838
- :where(td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
838
+ :where(td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
839
839
  text-align: start;
840
840
  border-inline-start: 1px solid var(--color-fd-border);
841
841
  padding: calc(var(--spacing) * 2.5);
842
842
  }
843
- :where(td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
843
+ :where(td:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
844
844
  border-inline-start: none;
845
845
  }
846
- :where(tfoot th, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
846
+ :where(tfoot th, tfoot td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
847
847
  border-top-width: 1px;
848
848
  border-top-color: var(--tw-prose-th-borders);
849
849
  }
850
- :where(thead th, thead td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
850
+ :where(thead th, thead td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
851
851
  border-bottom-width: 1px;
852
852
  border-bottom-color: var(--tw-prose-th-borders);
853
853
  }
@@ -861,7 +861,7 @@
861
861
  }
862
862
  }
863
863
  .mt-1 {
864
- margin-top: calc(var(--spacing) * 1);
864
+ margin-top: var(--spacing);
865
865
  }
866
866
  .mt-4 {
867
867
  margin-top: calc(var(--spacing) * 4);
@@ -876,7 +876,7 @@
876
876
  margin-bottom: -1px;
877
877
  }
878
878
  .mb-1 {
879
- margin-bottom: calc(var(--spacing) * 1);
879
+ margin-bottom: var(--spacing);
880
880
  }
881
881
  .mb-1\.5 {
882
882
  margin-bottom: calc(var(--spacing) * 1.5);
@@ -937,8 +937,8 @@
937
937
  display: table;
938
938
  }
939
939
  .size-1 {
940
- width: calc(var(--spacing) * 1);
941
- height: calc(var(--spacing) * 1);
940
+ width: var(--spacing);
941
+ height: var(--spacing);
942
942
  }
943
943
  .size-3 {
944
944
  width: calc(var(--spacing) * 3);
@@ -1045,7 +1045,7 @@
1045
1045
  min-height: var(--fd-docs-height);
1046
1046
  }
1047
1047
  .min-h-0 {
1048
- min-height: calc(var(--spacing) * 0);
1048
+ min-height: 0;
1049
1049
  }
1050
1050
  .min-h-11 {
1051
1051
  min-height: calc(var(--spacing) * 11);
@@ -1060,7 +1060,7 @@
1060
1060
  width: var(--radix-popover-trigger-width);
1061
1061
  }
1062
1062
  .w-0 {
1063
- width: calc(var(--spacing) * 0);
1063
+ width: 0;
1064
1064
  }
1065
1065
  .w-0\.5 {
1066
1066
  width: calc(var(--spacing) * 0.5);
@@ -1132,7 +1132,7 @@
1132
1132
  max-width: 100svw;
1133
1133
  }
1134
1134
  .min-w-0 {
1135
- min-width: calc(var(--spacing) * 0);
1135
+ min-width: 0;
1136
1136
  }
1137
1137
  .min-w-\[240px\] {
1138
1138
  min-width: 240px;
@@ -1271,7 +1271,7 @@
1271
1271
  gap: calc(var(--spacing) * 0.5);
1272
1272
  }
1273
1273
  .gap-1 {
1274
- gap: calc(var(--spacing) * 1);
1274
+ gap: var(--spacing);
1275
1275
  }
1276
1276
  .gap-1\.5 {
1277
1277
  gap: calc(var(--spacing) * 1.5);
@@ -1537,13 +1537,13 @@
1537
1537
  stroke: var(--color-fd-primary);
1538
1538
  }
1539
1539
  .p-0 {
1540
- padding: calc(var(--spacing) * 0);
1540
+ padding: 0;
1541
1541
  }
1542
1542
  .p-0\.5 {
1543
1543
  padding: calc(var(--spacing) * 0.5);
1544
1544
  }
1545
1545
  .p-1 {
1546
- padding: calc(var(--spacing) * 1);
1546
+ padding: var(--spacing);
1547
1547
  }
1548
1548
  .p-1\.5 {
1549
1549
  padding: calc(var(--spacing) * 1.5);
@@ -1561,7 +1561,7 @@
1561
1561
  padding-inline: calc(var(--spacing) * 0.5);
1562
1562
  }
1563
1563
  .px-1 {
1564
- padding-inline: calc(var(--spacing) * 1);
1564
+ padding-inline: var(--spacing);
1565
1565
  }
1566
1566
  .px-1\.5 {
1567
1567
  padding-inline: calc(var(--spacing) * 1.5);
@@ -1588,13 +1588,13 @@
1588
1588
  padding-inline: 1px;
1589
1589
  }
1590
1590
  .py-0 {
1591
- padding-block: calc(var(--spacing) * 0);
1591
+ padding-block: 0;
1592
1592
  }
1593
1593
  .py-0\.5 {
1594
1594
  padding-block: calc(var(--spacing) * 0.5);
1595
1595
  }
1596
1596
  .py-1 {
1597
- padding-block: calc(var(--spacing) * 1);
1597
+ padding-block: var(--spacing);
1598
1598
  }
1599
1599
  .py-1\.5 {
1600
1600
  padding-block: calc(var(--spacing) * 1.5);
@@ -1624,7 +1624,7 @@
1624
1624
  padding-block: calc(var(--spacing) * 16);
1625
1625
  }
1626
1626
  .ps-1 {
1627
- padding-inline-start: calc(var(--spacing) * 1);
1627
+ padding-inline-start: var(--spacing);
1628
1628
  }
1629
1629
  .ps-2 {
1630
1630
  padding-inline-start: calc(var(--spacing) * 2);
@@ -1639,7 +1639,7 @@
1639
1639
  padding-inline-start: calc(var(--spacing) * 8);
1640
1640
  }
1641
1641
  .pe-0 {
1642
- padding-inline-end: calc(var(--spacing) * 0);
1642
+ padding-inline-end: 0;
1643
1643
  }
1644
1644
  .pe-2 {
1645
1645
  padding-inline-end: calc(var(--spacing) * 2);
@@ -1651,7 +1651,7 @@
1651
1651
  padding-inline-end: calc(var(--spacing) * 4);
1652
1652
  }
1653
1653
  .pt-0 {
1654
- padding-top: calc(var(--spacing) * 0);
1654
+ padding-top: 0;
1655
1655
  }
1656
1656
  .pt-0\.5 {
1657
1657
  padding-top: calc(var(--spacing) * 0.5);
@@ -1669,7 +1669,7 @@
1669
1669
  padding-right: var(--removed-body-scroll-bar-size,0);
1670
1670
  }
1671
1671
  .pb-0 {
1672
- padding-bottom: calc(var(--spacing) * 0);
1672
+ padding-bottom: 0;
1673
1673
  }
1674
1674
  .pb-1\.5 {
1675
1675
  padding-bottom: calc(var(--spacing) * 1.5);
@@ -2056,7 +2056,7 @@
2056
2056
  }
2057
2057
  .\*\:gap-0\! {
2058
2058
  :is(& > *) {
2059
- gap: calc(var(--spacing) * 0) !important;
2059
+ gap: 0 !important;
2060
2060
  }
2061
2061
  }
2062
2062
  .\*\:gap-0\.5\! {
@@ -2126,7 +2126,7 @@
2126
2126
  .before\:inset-y-1 {
2127
2127
  &::before {
2128
2128
  content: var(--tw-content);
2129
- inset-block: calc(var(--spacing) * 1);
2129
+ inset-block: var(--spacing);
2130
2130
  }
2131
2131
  }
2132
2132
  .before\:inset-s-2\.5 {
@@ -2161,17 +2161,17 @@
2161
2161
  }
2162
2162
  .first\:ms-0 {
2163
2163
  &:first-child {
2164
- margin-inline-start: calc(var(--spacing) * 0);
2164
+ margin-inline-start: 0;
2165
2165
  }
2166
2166
  }
2167
2167
  .first\:mt-0 {
2168
2168
  &:first-child {
2169
- margin-top: calc(var(--spacing) * 0);
2169
+ margin-top: 0;
2170
2170
  }
2171
2171
  }
2172
2172
  .last\:me-0 {
2173
2173
  &:last-child {
2174
- margin-inline-end: calc(var(--spacing) * 0);
2174
+ margin-inline-end: 0;
2175
2175
  }
2176
2176
  }
2177
2177
  .last\:rounded-b-xl {
@@ -2190,7 +2190,7 @@
2190
2190
  }
2191
2191
  .empty\:mb-0 {
2192
2192
  &:empty {
2193
- margin-bottom: calc(var(--spacing) * 0);
2193
+ margin-bottom: 0;
2194
2194
  }
2195
2195
  }
2196
2196
  .empty\:hidden {
@@ -2699,7 +2699,7 @@
2699
2699
  }
2700
2700
  .sm\:p-1 {
2701
2701
  @media (width >= 40rem) {
2702
- padding: calc(var(--spacing) * 1);
2702
+ padding: var(--spacing);
2703
2703
  }
2704
2704
  }
2705
2705
  .md\:top-\[calc\(50\%-250px\)\] {
@@ -2970,7 +2970,7 @@
2970
2970
  display: inline-flex;
2971
2971
  width: 100%;
2972
2972
  align-items: center;
2973
- gap: calc(var(--spacing) * 1);
2973
+ gap: var(--spacing);
2974
2974
  }
2975
2975
  .shiki:not(.not-fumadocs-codeblock *) {
2976
2976
  --padding-left: calc(var(--spacing) * 4);
@@ -3025,8 +3025,8 @@
3025
3025
  .highlighted::after {
3026
3026
  position: absolute;
3027
3027
  content: '';
3028
- inset-block: calc(var(--spacing) * 0);
3029
- left: calc(var(--spacing) * 0);
3028
+ inset-block: 0;
3029
+ left: 0;
3030
3030
  border-left-style: var(--tw-border-style);
3031
3031
  border-left-width: 2px;
3032
3032
  border-color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);
@@ -3065,8 +3065,8 @@
3065
3065
  @supports (color: color-mix(in lab, red, red)) {
3066
3066
  color: color-mix( in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent );
3067
3067
  }
3068
- inset-block: calc(var(--spacing) * 0);
3069
- left: calc(var(--spacing) * 0);
3068
+ inset-block: 0;
3069
+ left: 0;
3070
3070
  width: calc(var(--spacing) * 7);
3071
3071
  text-align: right;
3072
3072
  }
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "16.10.3",
3
+ "version": "16.10.4",
4
4
  "description": "The Radix UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
7
7
  "Fumadocs"
8
8
  ],
9
9
  "homepage": "https://fumadocs.dev",
10
+ "bugs": {
11
+ "url": "https://github.com/fuma-nama/fumadocs/issues"
12
+ },
10
13
  "license": "MIT",
11
14
  "author": "Fuma Nama",
12
15
  "repository": {
13
16
  "type": "git",
14
17
  "url": "github:fuma-nama/fumadocs"
15
18
  },
16
- "bugs": {
17
- "url": "https://github.com/fuma-nama/fumadocs/issues"
18
- },
19
19
  "files": [
20
20
  "css",
21
21
  "dist"
@@ -127,18 +127,18 @@
127
127
  },
128
128
  "dependencies": {
129
129
  "@fuma-translate/react": "^1.0.2",
130
- "@radix-ui/react-accordion": "^1.2.13",
131
- "@radix-ui/react-collapsible": "^1.1.13",
132
- "@radix-ui/react-dialog": "^1.1.16",
130
+ "@radix-ui/react-accordion": "^1.2.14",
131
+ "@radix-ui/react-collapsible": "^1.1.14",
132
+ "@radix-ui/react-dialog": "^1.1.17",
133
133
  "@radix-ui/react-direction": "^1.1.2",
134
- "@radix-ui/react-navigation-menu": "^1.2.15",
135
- "@radix-ui/react-popover": "^1.1.16",
134
+ "@radix-ui/react-navigation-menu": "^1.2.16",
135
+ "@radix-ui/react-popover": "^1.1.17",
136
136
  "@radix-ui/react-presence": "^1.1.6",
137
- "@radix-ui/react-scroll-area": "^1.2.11",
138
- "@radix-ui/react-slot": "^1.2.5",
139
- "@radix-ui/react-tabs": "^1.1.14",
137
+ "@radix-ui/react-scroll-area": "^1.2.12",
138
+ "@radix-ui/react-slot": "^1.3.0",
139
+ "@radix-ui/react-tabs": "^1.1.15",
140
140
  "class-variance-authority": "^0.7.1",
141
- "lucide-react": "^1.17.0",
141
+ "lucide-react": "^1.20.0",
142
142
  "motion": "^12.40.0",
143
143
  "next-themes": "^0.4.6",
144
144
  "react-remove-scroll": "^2.7.2",
@@ -150,21 +150,21 @@
150
150
  "@fumadocs/tailwind": "0.0.5"
151
151
  },
152
152
  "devDependencies": {
153
- "@tailwindcss/cli": "^4.3.0",
154
- "@tailwindcss/oxide": "^4.3.0",
155
- "@tsdown/css": "^0.22.2",
153
+ "@tailwindcss/cli": "^4.3.1",
154
+ "@tailwindcss/oxide": "^4.3.1",
155
+ "@tsdown/css": "^0.22.3",
156
156
  "@types/hast": "^3.0.4",
157
157
  "@types/mdx": "^2.0.14",
158
158
  "@types/node": "^25.9.3",
159
159
  "@types/react": "^19.2.17",
160
160
  "@types/react-dom": "^19.2.3",
161
161
  "fuma-cli": "^0.1.1",
162
- "react-medium-image-zoom": "^5.4.7",
163
- "tailwindcss": "^4.3.0",
164
- "tsdown": "0.22.2",
162
+ "react-medium-image-zoom": "^5.4.8",
163
+ "tailwindcss": "^4.3.1",
164
+ "tsdown": "0.22.3",
165
165
  "unified": "^11.0.5",
166
166
  "@fumadocs/cli": "1.3.10",
167
- "fumadocs-core": "16.10.3",
167
+ "fumadocs-core": "16.10.4",
168
168
  "tsconfig": "0.0.0"
169
169
  },
170
170
  "peerDependencies": {
@@ -174,7 +174,7 @@
174
174
  "next": "16.x.x",
175
175
  "react": "^19.2.0",
176
176
  "react-dom": "^19.2.0",
177
- "fumadocs-core": "16.10.3"
177
+ "fumadocs-core": "16.10.4"
178
178
  },
179
179
  "peerDependenciesMeta": {
180
180
  "next": {
@@ -191,7 +191,7 @@
191
191
  }
192
192
  },
193
193
  "inlinedDependencies": {
194
- "react-medium-image-zoom": "5.4.7"
194
+ "react-medium-image-zoom": "5.4.8"
195
195
  },
196
196
  "scripts": {
197
197
  "build": "pnpm build:layout && pnpm build:tailwind",