@fumadocs/base-ui 16.8.5 → 16.8.7

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 (32) hide show
  1. package/css/generated/shared.css +13 -9
  2. package/dist/components/image-zoom.d.ts +1 -1
  3. package/dist/components/image-zoom.js +1 -1
  4. package/dist/components/toc/clerk.js +67 -55
  5. package/dist/components/ui/button.d.ts +1 -1
  6. package/dist/layouts/home/slots/header.d.ts +1 -1
  7. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/Controlled.d.ts → react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/controlled.d.ts} +2 -7
  8. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/Controlled.js → react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/controlled.js} +32 -8
  9. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/index.d.ts +2 -0
  10. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +7 -0
  11. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/Uncontrolled.js → react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/uncontrolled.js} +2 -2
  12. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js +53 -0
  13. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js +25 -0
  14. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/element-tests.js +12 -0
  15. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js +45 -0
  16. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js +8 -0
  17. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js +55 -0
  18. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js +21 -0
  19. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js +14 -0
  20. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js +22 -0
  21. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-scale.js +27 -0
  22. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js +31 -0
  23. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js +75 -0
  24. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js +4 -0
  25. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/parse-position.js +7 -0
  26. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js +5 -0
  27. package/dist/style.css +20 -13
  28. package/package.json +9 -9
  29. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/Uncontrolled.d.ts +0 -7
  30. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/icons.js +0 -24
  31. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/index.d.ts +0 -2
  32. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils.js +0 -372
@@ -0,0 +1,21 @@
1
+ import { getScale } from "./get-scale.js";
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js
3
+ const getImgRegularStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, targetHeight, targetWidth }) => {
4
+ const scale = getScale({
5
+ containerHeight,
6
+ containerWidth,
7
+ hasScalableSrc,
8
+ offset,
9
+ targetHeight,
10
+ targetWidth
11
+ });
12
+ return {
13
+ top: containerTop,
14
+ left: containerLeft,
15
+ width: containerWidth * scale,
16
+ height: containerHeight * scale,
17
+ initialTransform: `translate(0,0) scale(${1 / scale})`
18
+ };
19
+ };
20
+ //#endregion
21
+ export { getImgRegularStyle };
@@ -0,0 +1,14 @@
1
+ import { testDiv, testImg } from "./element-tests.js";
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js
3
+ const URL_REGEX = /url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/;
4
+ const getImgSrc = (imgEl) => {
5
+ if (imgEl !== null) {
6
+ if (testImg(imgEl)) return imgEl.currentSrc === "" ? void 0 : imgEl.currentSrc;
7
+ else if (testDiv(imgEl)) {
8
+ const { backgroundImage: bgImg } = window.getComputedStyle(imgEl);
9
+ if (bgImg !== "") return URL_REGEX.exec(bgImg)?.[1];
10
+ }
11
+ }
12
+ };
13
+ //#endregion
14
+ export { getImgSrc };
@@ -0,0 +1,22 @@
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js
2
+ const getModalImgTransform = ({ height, initialTransform, isZoomed, left, top, userTransform, width }) => {
3
+ let centeredUserTransform = "";
4
+ if (userTransform !== "none" && userTransform !== "") {
5
+ const halfWidth = width / 2;
6
+ const halfHeight = height / 2;
7
+ centeredUserTransform = `translate(${halfWidth}px,${halfHeight}px) ${userTransform} translate(${-halfWidth}px,${-halfHeight}px)`;
8
+ }
9
+ if (!isZoomed) {
10
+ if (centeredUserTransform === "") return initialTransform;
11
+ return `${initialTransform} ${centeredUserTransform}`;
12
+ }
13
+ const viewportX = window.innerWidth / 2;
14
+ const viewportY = window.innerHeight / 2;
15
+ const childCenterX = left + width / 2;
16
+ const childCenterY = top + height / 2;
17
+ const base = `translate(${viewportX - childCenterX}px,${viewportY - childCenterY}px) scale(1)`;
18
+ if (centeredUserTransform === "") return base;
19
+ return `${base} ${centeredUserTransform}`;
20
+ };
21
+ //#endregion
22
+ export { getModalImgTransform };
@@ -0,0 +1,27 @@
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-scale.js
2
+ const getScaleToWindow = ({ height, offset, width }) => Math.min((window.innerWidth - offset * 2) / width, (window.innerHeight - offset * 2) / height);
3
+ const getScaleToWindowMax = ({ containerHeight, containerWidth, offset, targetHeight, targetWidth }) => {
4
+ const scale = getScaleToWindow({
5
+ height: targetHeight,
6
+ offset,
7
+ width: targetWidth
8
+ });
9
+ const ratio = targetWidth > targetHeight ? targetWidth / containerWidth : targetHeight / containerHeight;
10
+ return scale > 1 ? ratio : scale * ratio;
11
+ };
12
+ const getScale = ({ containerHeight, containerWidth, hasScalableSrc, offset, targetHeight, targetWidth }) => {
13
+ if (containerHeight === 0 || containerWidth === 0) return 1;
14
+ return !hasScalableSrc && targetHeight !== 0 && targetWidth !== 0 ? getScaleToWindowMax({
15
+ containerHeight,
16
+ containerWidth,
17
+ offset,
18
+ targetHeight,
19
+ targetWidth
20
+ }) : getScaleToWindow({
21
+ height: containerHeight,
22
+ offset,
23
+ width: containerWidth
24
+ });
25
+ };
26
+ //#endregion
27
+ export { getScale };
@@ -0,0 +1,31 @@
1
+ import { testSvg } from "./element-tests.js";
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js
3
+ const getStyleGhost = (imgEl) => {
4
+ if (imgEl == null) return {};
5
+ if (testSvg(imgEl)) {
6
+ const { parentElement: parentEl } = imgEl;
7
+ const rect = imgEl.getBoundingClientRect();
8
+ if (parentEl == null) return {
9
+ height: rect.height,
10
+ left: rect.left,
11
+ width: rect.width,
12
+ top: rect.top
13
+ };
14
+ else {
15
+ const parentRect = parentEl.getBoundingClientRect();
16
+ return {
17
+ height: rect.height,
18
+ left: parentRect.left - rect.left,
19
+ top: parentRect.top - rect.top,
20
+ width: rect.width
21
+ };
22
+ }
23
+ } else return {
24
+ height: imgEl.offsetHeight,
25
+ left: imgEl.offsetLeft,
26
+ width: imgEl.offsetWidth,
27
+ top: imgEl.offsetTop
28
+ };
29
+ };
30
+ //#endregion
31
+ export { getStyleGhost };
@@ -0,0 +1,75 @@
1
+ import { testDiv } from "./element-tests.js";
2
+ import { getImgRegularStyle } from "./get-img-regular-style.js";
3
+ import { getImgObjectFitStyle } from "./get-img-object-fit-style.js";
4
+ import { getDivImgStyle } from "./get-div-img-style.js";
5
+ import { getModalImgTransform } from "./get-modal-img-transform.js";
6
+ import { getTargetDimension } from "./get-target-dimension.js";
7
+ import { testHasScalableSrc } from "./test-has-scalable-src.js";
8
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js
9
+ const getStyleModalImg = ({ hasZoomImg, imgSrc, isSvg, isZoomed, loadedImgEl, offset, shouldRefresh, targetEl }) => {
10
+ const hasScalableSrc = testHasScalableSrc({
11
+ hasZoomImg,
12
+ imgSrc,
13
+ isSvg
14
+ });
15
+ const imgRect = targetEl.getBoundingClientRect();
16
+ const targetElComputedStyle = window.getComputedStyle(targetEl);
17
+ const isDivImg = loadedImgEl != null && testDiv(targetEl);
18
+ const isImgObjectFit = loadedImgEl != null && !isDivImg;
19
+ const targetHeight = getTargetDimension({
20
+ fallback: imgRect.height,
21
+ natural: loadedImgEl?.naturalHeight
22
+ });
23
+ const targetWidth = getTargetDimension({
24
+ fallback: imgRect.width,
25
+ natural: loadedImgEl?.naturalWidth
26
+ });
27
+ const { height: containerHeight, left: containerLeft, top: containerTop, width: containerWidth } = imgRect;
28
+ const position = isDivImg ? getDivImgStyle({
29
+ backgroundPosition: targetElComputedStyle.backgroundPosition,
30
+ backgroundSize: targetElComputedStyle.backgroundSize,
31
+ containerHeight,
32
+ containerLeft,
33
+ containerTop,
34
+ containerWidth,
35
+ hasScalableSrc,
36
+ offset,
37
+ targetHeight,
38
+ targetWidth
39
+ }) : isImgObjectFit ? getImgObjectFitStyle({
40
+ containerHeight,
41
+ containerLeft,
42
+ containerTop,
43
+ containerWidth,
44
+ hasScalableSrc,
45
+ objectFit: targetElComputedStyle.objectFit,
46
+ objectPosition: targetElComputedStyle.objectPosition,
47
+ offset,
48
+ targetHeight,
49
+ targetWidth
50
+ }) : getImgRegularStyle({
51
+ containerHeight,
52
+ containerLeft,
53
+ containerTop,
54
+ containerWidth,
55
+ hasScalableSrc,
56
+ offset,
57
+ targetHeight,
58
+ targetWidth
59
+ });
60
+ const result = {
61
+ top: position.top,
62
+ left: position.left,
63
+ width: position.width,
64
+ height: position.height,
65
+ transform: getModalImgTransform({
66
+ ...position,
67
+ isZoomed,
68
+ userTransform: targetElComputedStyle.transform
69
+ })
70
+ };
71
+ if (isZoomed && shouldRefresh) result.transitionDuration = "0.01ms";
72
+ return result;
73
+ };
74
+ //#endregion
75
+ export { getStyleModalImg };
@@ -0,0 +1,4 @@
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js
2
+ const getTargetDimension = ({ fallback, natural }) => natural !== void 0 && natural !== 0 ? natural : fallback;
3
+ //#endregion
4
+ export { getTargetDimension };
@@ -0,0 +1,7 @@
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/parse-position.js
2
+ const parsePosition = (position, relativeNum) => {
3
+ const positionNum = parseFloat(position);
4
+ return position.endsWith("%") ? relativeNum * positionNum / 100 : positionNum;
5
+ };
6
+ //#endregion
7
+ export { parsePosition };
@@ -0,0 +1,5 @@
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js
2
+ const SRC_SVG_REGEX = /\.svg$/i;
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
+ //#endregion
5
+ export { testHasScalableSrc };
package/dist/style.css CHANGED
@@ -340,9 +340,6 @@
340
340
  .top-0 {
341
341
  top: calc(var(--spacing) * 0);
342
342
  }
343
- .top-1\.5 {
344
- top: calc(var(--spacing) * 1.5);
345
- }
346
343
  .top-1\/2 {
347
344
  top: calc(1 / 2 * 100%);
348
345
  }
@@ -370,6 +367,9 @@
370
367
  .bottom-26 {
371
368
  bottom: calc(var(--spacing) * 26);
372
369
  }
370
+ .left-0 {
371
+ left: calc(var(--spacing) * 0);
372
+ }
373
373
  .left-1\/2 {
374
374
  left: calc(1 / 2 * 100%);
375
375
  }
@@ -1001,6 +1001,9 @@
1001
1001
  .h-14 {
1002
1002
  height: calc(var(--spacing) * 14);
1003
1003
  }
1004
+ .h-\[calc\(100\%\+--spacing\(1\.5\)\)\] {
1005
+ height: calc(100% + calc(var(--spacing) * 1.5));
1006
+ }
1004
1007
  .h-\[calc\(var\(--fd-docs-height\)-var\(--fd-docs-row-1\)\)\] {
1005
1008
  height: calc(var(--fd-docs-height) - var(--fd-docs-row-1));
1006
1009
  }
@@ -1154,10 +1157,8 @@
1154
1157
  .origin-\(--transform-origin\) {
1155
1158
  transform-origin: var(--transform-origin);
1156
1159
  }
1157
- .-translate-1\/2 {
1158
- --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
1159
- --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
1160
- translate: var(--tw-translate-x) var(--tw-translate-y);
1160
+ .origin-center {
1161
+ transform-origin: center;
1161
1162
  }
1162
1163
  .-translate-x-\(--fd-sidebar-width\) {
1163
1164
  --tw-translate-x: calc(var(--fd-sidebar-width) * -1);
@@ -1453,12 +1454,6 @@
1453
1454
  .bg-fd-card {
1454
1455
  background-color: var(--color-fd-card);
1455
1456
  }
1456
- .bg-fd-foreground\/10 {
1457
- background-color: color-mix(in srgb, hsl(0, 0%, 3.9%) 10%, transparent);
1458
- @supports (color: color-mix(in lab, red, red)) {
1459
- background-color: color-mix(in oklab, var(--color-fd-foreground) 10%, transparent);
1460
- }
1461
- }
1462
1457
  .bg-fd-muted {
1463
1458
  background-color: var(--color-fd-muted);
1464
1459
  }
@@ -1516,6 +1511,12 @@
1516
1511
  .fill-\(--callout-color\) {
1517
1512
  fill: var(--callout-color);
1518
1513
  }
1514
+ .fill-fd-muted {
1515
+ fill: var(--color-fd-muted);
1516
+ }
1517
+ .fill-fd-muted-foreground {
1518
+ fill: var(--color-fd-muted-foreground);
1519
+ }
1519
1520
  .fill-fd-primary {
1520
1521
  fill: var(--color-fd-primary);
1521
1522
  }
@@ -2974,6 +2975,12 @@
2974
2975
  translate: var(--tw-translate-x) var(--tw-translate-y);
2975
2976
  }
2976
2977
  }
2978
+ .rtl\:-scale-x-100 {
2979
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
2980
+ --tw-scale-x: calc(100% * -1);
2981
+ scale: var(--tw-scale-x) var(--tw-scale-y);
2982
+ }
2983
+ }
2977
2984
  .rtl\:rotate-90 {
2978
2985
  &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
2979
2986
  rotate: 90deg;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/base-ui",
3
- "version": "16.8.5",
3
+ "version": "16.8.7",
4
4
  "description": "The Base UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -118,7 +118,7 @@
118
118
  "dependencies": {
119
119
  "@base-ui/react": "^1.4.1",
120
120
  "class-variance-authority": "^0.7.1",
121
- "lucide-react": "^1.11.0",
121
+ "lucide-react": "^1.14.0",
122
122
  "motion": "^12.38.0",
123
123
  "next-themes": "^0.4.6",
124
124
  "react-remove-scroll": "^2.7.2",
@@ -138,14 +138,14 @@
138
138
  "@types/node": "^25.6.0",
139
139
  "@types/react": "^19.2.14",
140
140
  "@types/react-dom": "^19.2.3",
141
- "fuma-cli": "^0.0.5",
142
- "react-medium-image-zoom": "^5.4.3",
141
+ "fuma-cli": "^0.1.1",
142
+ "react-medium-image-zoom": "^5.4.4",
143
143
  "tailwindcss": "^4.2.4",
144
144
  "tsdown": "0.21.10",
145
145
  "unified": "^11.0.5",
146
- "fumadocs-core": "16.8.5",
147
- "tsconfig": "0.0.0",
148
- "@fumadocs/cli": "1.3.9"
146
+ "@fumadocs/cli": "1.3.10",
147
+ "fumadocs-core": "16.8.7",
148
+ "tsconfig": "0.0.0"
149
149
  },
150
150
  "peerDependencies": {
151
151
  "@takumi-rs/image-response": "*",
@@ -154,7 +154,7 @@
154
154
  "next": "16.x.x",
155
155
  "react": "^19.2.0",
156
156
  "react-dom": "^19.2.0",
157
- "fumadocs-core": "16.8.5"
157
+ "fumadocs-core": "16.8.7"
158
158
  },
159
159
  "peerDependenciesMeta": {
160
160
  "next": {
@@ -171,7 +171,7 @@
171
171
  }
172
172
  },
173
173
  "inlinedDependencies": {
174
- "react-medium-image-zoom": "5.4.3"
174
+ "react-medium-image-zoom": "5.4.4"
175
175
  },
176
176
  "scripts": {
177
177
  "build": "pnpm build:layout && pnpm build:tailwind",
@@ -1,7 +0,0 @@
1
- import { ControlledProps } from "./Controlled.js";
2
- import React from "react";
3
-
4
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/Uncontrolled.d.ts
5
- type UncontrolledProps = Omit<ControlledProps, 'isZoomed'>;
6
- //#endregion
7
- export { UncontrolledProps };
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-medium-image-zoom/dist/icons.js
3
- function ICompress() {
4
- return React.createElement("svg", {
5
- "aria-hidden": "true",
6
- "data-rmiz-btn-unzoom-icon": true,
7
- fill: "currentColor",
8
- focusable: "false",
9
- viewBox: "0 0 16 16",
10
- xmlns: "http://www.w3.org/2000/svg"
11
- }, React.createElement("path", { d: "M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z" }));
12
- }
13
- function IEnlarge() {
14
- return React.createElement("svg", {
15
- "aria-hidden": "true",
16
- "data-rmiz-btn-zoom-icon": true,
17
- fill: "currentColor",
18
- focusable: "false",
19
- viewBox: "0 0 16 16",
20
- xmlns: "http://www.w3.org/2000/svg"
21
- }, React.createElement("path", { d: "M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z" }));
22
- }
23
- //#endregion
24
- export { ICompress, IEnlarge };
@@ -1,2 +0,0 @@
1
- import { ControlledProps } from "./Controlled.js";
2
- import { UncontrolledProps } from "./Uncontrolled.js";