fumadocs-ui 14.2.0 → 14.3.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.
Files changed (229) hide show
  1. package/dist/components/accordion.d.ts +4 -7
  2. package/dist/components/accordion.d.ts.map +1 -0
  3. package/dist/components/accordion.js +32 -104
  4. package/dist/components/api.d.ts +4 -13
  5. package/dist/components/api.d.ts.map +1 -0
  6. package/dist/components/api.js +3 -16
  7. package/dist/components/banner.d.ts +3 -5
  8. package/dist/components/banner.d.ts.map +1 -0
  9. package/dist/components/banner.js +53 -120
  10. package/dist/components/callout.d.ts +4 -7
  11. package/dist/components/callout.d.ts.map +1 -0
  12. package/dist/components/callout.js +13 -9
  13. package/dist/components/card.d.ts +5 -7
  14. package/dist/components/card.d.ts.map +1 -0
  15. package/dist/components/card.js +10 -10
  16. package/dist/components/codeblock.d.ts +6 -9
  17. package/dist/components/codeblock.d.ts.map +1 -0
  18. package/dist/components/codeblock.js +41 -15
  19. package/dist/components/dialog/search-algolia.d.ts +7 -11
  20. package/dist/components/dialog/search-algolia.d.ts.map +1 -0
  21. package/dist/components/dialog/search-algolia.js +19 -79
  22. package/dist/components/dialog/search-default.d.ts +6 -10
  23. package/dist/components/dialog/search-default.d.ts.map +1 -0
  24. package/dist/components/dialog/search-default.js +24 -73
  25. package/dist/components/dialog/search-orama.d.ts +7 -11
  26. package/dist/components/dialog/search-orama.d.ts.map +1 -0
  27. package/dist/components/dialog/search-orama.js +22 -79
  28. package/dist/components/dialog/search.d.ts +7 -9
  29. package/dist/components/dialog/search.d.ts.map +1 -0
  30. package/dist/components/dialog/search.js +98 -13
  31. package/dist/components/dialog/tag-list.d.ts +13 -0
  32. package/dist/components/dialog/tag-list.d.ts.map +1 -0
  33. package/dist/components/dialog/tag-list.js +20 -0
  34. package/dist/components/files.d.ts +7 -9
  35. package/dist/components/files.d.ts.map +1 -0
  36. package/dist/components/files.js +15 -63
  37. package/dist/components/heading.d.ts +4 -5
  38. package/dist/components/heading.d.ts.map +1 -0
  39. package/dist/components/heading.js +9 -9
  40. package/dist/components/image-zoom.d.ts +7 -8
  41. package/dist/components/image-zoom.d.ts.map +1 -0
  42. package/dist/components/image-zoom.js +16 -40
  43. package/dist/components/inline-toc.d.ts +4 -6
  44. package/dist/components/inline-toc.d.ts.map +1 -0
  45. package/dist/components/inline-toc.js +8 -46
  46. package/dist/components/layout/breadcrumb.d.ts +11 -0
  47. package/dist/components/layout/breadcrumb.d.ts.map +1 -0
  48. package/dist/components/layout/breadcrumb.js +20 -0
  49. package/dist/components/layout/language-toggle.d.ts +5 -7
  50. package/dist/components/layout/language-toggle.d.ts.map +1 -0
  51. package/dist/components/layout/language-toggle.js +24 -14
  52. package/dist/components/layout/nav.d.ts +28 -0
  53. package/dist/components/layout/nav.d.ts.map +1 -0
  54. package/dist/components/layout/nav.js +29 -0
  55. package/dist/components/layout/root-toggle.d.ts +5 -7
  56. package/dist/components/layout/root-toggle.d.ts.map +1 -0
  57. package/dist/components/layout/root-toggle.js +28 -13
  58. package/dist/components/layout/search-toggle.d.ts +4 -0
  59. package/dist/components/layout/search-toggle.d.ts.map +1 -0
  60. package/dist/components/layout/search-toggle.js +24 -0
  61. package/dist/components/layout/theme-toggle.d.ts +3 -0
  62. package/dist/components/layout/theme-toggle.d.ts.map +1 -0
  63. package/dist/components/layout/theme-toggle.js +21 -0
  64. package/dist/components/layout/toc-clerk.d.ts +6 -0
  65. package/dist/components/layout/toc-clerk.d.ts.map +1 -0
  66. package/dist/components/layout/toc-clerk.js +76 -0
  67. package/dist/components/layout/toc-popover.d.ts +8 -0
  68. package/dist/components/layout/toc-popover.d.ts.map +1 -0
  69. package/dist/components/layout/toc-popover.js +20 -0
  70. package/dist/components/layout/toc-thumb.d.ts +6 -0
  71. package/dist/components/layout/toc-thumb.d.ts.map +1 -0
  72. package/dist/components/layout/toc-thumb.js +53 -0
  73. package/dist/components/layout/toc.d.ts +19 -0
  74. package/dist/components/layout/toc.d.ts.map +1 -0
  75. package/dist/components/layout/toc.js +25 -0
  76. package/dist/components/registry.d.ts +3 -0
  77. package/dist/components/registry.d.ts.map +1 -0
  78. package/dist/components/registry.js +70 -0
  79. package/dist/components/steps.d.ts +4 -6
  80. package/dist/components/steps.d.ts.map +1 -0
  81. package/dist/components/steps.js +5 -16
  82. package/dist/components/tabs.d.ts +7 -21
  83. package/dist/components/tabs.d.ts.map +1 -0
  84. package/dist/components/tabs.js +61 -171
  85. package/dist/components/type-table.d.ts +5 -6
  86. package/dist/components/type-table.d.ts.map +1 -0
  87. package/dist/components/type-table.js +18 -59
  88. package/dist/components/ui/button.d.ts +5 -0
  89. package/dist/components/ui/button.d.ts.map +1 -0
  90. package/dist/components/ui/button.js +14 -0
  91. package/dist/components/ui/collapsible.d.ts +6 -0
  92. package/dist/components/ui/collapsible.d.ts.map +1 -0
  93. package/dist/components/ui/collapsible.js +12 -0
  94. package/dist/components/ui/navigation-menu.d.ts +11 -0
  95. package/dist/components/ui/navigation-menu.d.ts.map +1 -0
  96. package/dist/components/ui/navigation-menu.js +15 -0
  97. package/dist/components/ui/popover.d.ts +8 -0
  98. package/dist/components/ui/popover.d.ts.map +1 -0
  99. package/dist/components/ui/popover.js +11 -0
  100. package/dist/components/ui/scroll-area.d.ts +7 -0
  101. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  102. package/dist/components/ui/scroll-area.js +11 -0
  103. package/dist/components/ui/tabs.d.ts +8 -0
  104. package/dist/components/ui/tabs.d.ts.map +1 -0
  105. package/dist/components/ui/tabs.js +16 -0
  106. package/dist/{i18n-Db2HAPOu.d.ts → contexts/i18n.d.ts} +9 -5
  107. package/dist/contexts/i18n.d.ts.map +1 -0
  108. package/dist/contexts/i18n.js +23 -0
  109. package/dist/contexts/search.d.ts +50 -0
  110. package/dist/contexts/search.d.ts.map +1 -0
  111. package/dist/contexts/search.js +50 -0
  112. package/dist/contexts/sidebar.d.ts +18 -0
  113. package/dist/contexts/sidebar.d.ts.map +1 -0
  114. package/dist/contexts/sidebar.js +31 -0
  115. package/dist/contexts/tree.d.ts +13 -0
  116. package/dist/contexts/tree.d.ts.map +1 -0
  117. package/dist/contexts/tree.js +25 -0
  118. package/dist/i18n.d.ts +5 -6
  119. package/dist/i18n.d.ts.map +1 -0
  120. package/dist/i18n.js +31 -49
  121. package/dist/layouts/docs/navbar.d.ts +4 -0
  122. package/dist/layouts/docs/navbar.d.ts.map +1 -0
  123. package/dist/layouts/docs/navbar.js +22 -0
  124. package/dist/layouts/docs/sidebar.d.ts +40 -0
  125. package/dist/layouts/docs/sidebar.d.ts.map +1 -0
  126. package/dist/layouts/docs/sidebar.js +146 -0
  127. package/dist/layouts/docs.client.d.ts +14 -25
  128. package/dist/layouts/docs.client.d.ts.map +1 -0
  129. package/dist/layouts/docs.client.js +53 -195
  130. package/dist/layouts/docs.d.ts +34 -19
  131. package/dist/layouts/docs.d.ts.map +1 -0
  132. package/dist/layouts/docs.js +67 -202
  133. package/dist/layouts/home/menu.d.ts +6 -0
  134. package/dist/layouts/home/menu.d.ts.map +1 -0
  135. package/dist/layouts/home/menu.js +33 -0
  136. package/dist/layouts/home/navbar.d.ts +16 -0
  137. package/dist/layouts/home/navbar.d.ts.map +1 -0
  138. package/dist/layouts/home/navbar.js +48 -0
  139. package/dist/layouts/home.d.ts +5 -7
  140. package/dist/layouts/home.d.ts.map +1 -0
  141. package/dist/layouts/home.js +51 -59
  142. package/dist/layouts/links.d.ts +80 -0
  143. package/dist/layouts/links.d.ts.map +1 -0
  144. package/dist/layouts/links.js +14 -0
  145. package/dist/layouts/shared.d.ts +48 -2
  146. package/dist/layouts/shared.d.ts.map +1 -0
  147. package/dist/layouts/shared.js +27 -9
  148. package/dist/mdx.client.d.ts +3 -6
  149. package/dist/mdx.client.d.ts.map +1 -0
  150. package/dist/mdx.client.js +12 -19
  151. package/dist/mdx.d.ts +18 -20
  152. package/dist/mdx.d.ts.map +1 -0
  153. package/dist/mdx.js +47 -56
  154. package/dist/og.d.ts +6 -7
  155. package/dist/og.d.ts.map +1 -0
  156. package/dist/og.js +43 -102
  157. package/dist/page.client.d.ts +8 -41
  158. package/dist/page.client.d.ts.map +1 -0
  159. package/dist/page.client.js +71 -261
  160. package/dist/page.d.ts +28 -30
  161. package/dist/page.d.ts.map +1 -0
  162. package/dist/page.js +80 -168
  163. package/dist/provider.d.ts +12 -72
  164. package/dist/provider.d.ts.map +1 -0
  165. package/dist/provider.js +19 -55
  166. package/dist/style.css +1 -1
  167. package/dist/tailwind-plugin.d.ts +9 -20
  168. package/dist/tailwind-plugin.d.ts.map +1 -0
  169. package/dist/tailwind-plugin.js +191 -699
  170. package/dist/theme/animations.d.ts +170 -0
  171. package/dist/theme/animations.d.ts.map +1 -0
  172. package/dist/theme/animations.js +95 -0
  173. package/dist/theme/colors.d.ts +11 -0
  174. package/dist/theme/colors.d.ts.map +1 -0
  175. package/dist/theme/colors.js +327 -0
  176. package/dist/theme/typography.d.ts +70 -0
  177. package/dist/theme/typography.d.ts.map +1 -0
  178. package/dist/theme/typography.js +71 -0
  179. package/dist/utils/cn.d.ts +2 -0
  180. package/dist/utils/cn.d.ts.map +1 -0
  181. package/dist/utils/cn.js +1 -0
  182. package/dist/utils/get-sidebar-tabs.d.ts +7 -0
  183. package/dist/utils/get-sidebar-tabs.d.ts.map +1 -0
  184. package/dist/utils/get-sidebar-tabs.js +20 -0
  185. package/dist/utils/is-active.d.ts +2 -0
  186. package/dist/utils/is-active.d.ts.map +1 -0
  187. package/dist/utils/is-active.js +3 -0
  188. package/dist/utils/use-copy-button.d.ts +3 -0
  189. package/dist/utils/use-copy-button.d.ts.map +1 -0
  190. package/dist/utils/use-copy-button.js +25 -0
  191. package/package.json +9 -9
  192. package/dist/chunk-27HFSL7N.js +0 -53
  193. package/dist/chunk-2FLZOPQN.js +0 -54
  194. package/dist/chunk-2KMKNVSN.js +0 -29
  195. package/dist/chunk-45REPLUI.js +0 -259
  196. package/dist/chunk-5KVEK5A7.js +0 -139
  197. package/dist/chunk-5QPVK7QM.js +0 -542
  198. package/dist/chunk-CDPVENXR.js +0 -8
  199. package/dist/chunk-CPGKWLLV.js +0 -43
  200. package/dist/chunk-DGKCMOIC.js +0 -56
  201. package/dist/chunk-DN6Z5VW6.js +0 -61
  202. package/dist/chunk-E3VO2QQT.js +0 -29
  203. package/dist/chunk-EFMHXXHW.js +0 -24
  204. package/dist/chunk-ET4TW6M5.js +0 -70
  205. package/dist/chunk-GHOAONNQ.js +0 -48
  206. package/dist/chunk-IHIFNFRB.js +0 -38
  207. package/dist/chunk-IVBHRX3O.js +0 -31
  208. package/dist/chunk-JUOW3DZK.js +0 -212
  209. package/dist/chunk-KZTWSBYY.js +0 -68
  210. package/dist/chunk-MCX7E6ZW.js +0 -57
  211. package/dist/chunk-MLKGABMK.js +0 -9
  212. package/dist/chunk-PZTQPB4U.js +0 -125
  213. package/dist/chunk-QKOA6KEZ.js +0 -22
  214. package/dist/chunk-TK3TM3MR.js +0 -6
  215. package/dist/chunk-TQJ6YPJ3.js +0 -31
  216. package/dist/chunk-V6RONFCQ.js +0 -69
  217. package/dist/chunk-WRBUXI2A.js +0 -82
  218. package/dist/chunk-YL3MZH7N.js +0 -66
  219. package/dist/components/api.client.d.ts +0 -5
  220. package/dist/components/api.client.js +0 -8
  221. package/dist/dynamic-sidebar-MEINO4E2.js +0 -129
  222. package/dist/edit-on-github-PCTRDRD6.js +0 -49
  223. package/dist/layouts/home.client.d.ts +0 -11
  224. package/dist/layouts/home.client.js +0 -274
  225. package/dist/shared-SScCiV7b.d.ts +0 -152
  226. package/dist/sidebar-CQ4HmzQl.d.ts +0 -50
  227. package/dist/tag-list-BsEgfE3x.d.ts +0 -6
  228. package/dist/toc-clerk-SKE4LBT7.js +0 -158
  229. package/dist/tree-06ley65N.d.ts +0 -21
@@ -1,139 +0,0 @@
1
- import {
2
- useCopyButton
3
- } from "./chunk-2KMKNVSN.js";
4
- import {
5
- buttonVariants
6
- } from "./chunk-QKOA6KEZ.js";
7
- import {
8
- ScrollArea,
9
- ScrollBar,
10
- ScrollViewport
11
- } from "./chunk-2FLZOPQN.js";
12
- import {
13
- Check,
14
- Copy
15
- } from "./chunk-5QPVK7QM.js";
16
- import {
17
- twMerge
18
- } from "./chunk-TK3TM3MR.js";
19
-
20
- // src/components/codeblock.tsx
21
- import {
22
- forwardRef,
23
- useCallback,
24
- useRef
25
- } from "react";
26
- import { jsx, jsxs } from "react/jsx-runtime";
27
- var Pre = forwardRef(
28
- ({ className, ...props }, ref) => {
29
- return /* @__PURE__ */ jsx("pre", { ref, className: twMerge("max-h-[400px] p-4", className), ...props, children: props.children });
30
- }
31
- );
32
- Pre.displayName = "Pre";
33
- var CodeBlock = forwardRef(
34
- ({
35
- title,
36
- allowCopy = true,
37
- keepBackground = false,
38
- icon,
39
- className,
40
- ...props
41
- }, ref) => {
42
- const areaRef = useRef(null);
43
- const onCopy = useCallback(() => {
44
- const pre = areaRef.current?.getElementsByTagName("pre").item(0);
45
- if (!pre) return;
46
- const clone = pre.cloneNode(true);
47
- clone.querySelectorAll(".nd-copy-ignore").forEach((node) => {
48
- node.remove();
49
- });
50
- void navigator.clipboard.writeText(clone.textContent ?? "");
51
- }, []);
52
- return /* @__PURE__ */ jsxs(
53
- "figure",
54
- {
55
- ref,
56
- className: twMerge(
57
- "not-prose group fd-codeblock relative my-6 overflow-hidden rounded-lg border bg-fd-secondary/50 text-sm",
58
- keepBackground && "bg-[var(--shiki-light-bg)] dark:bg-[var(--shiki-dark-bg)]",
59
- className
60
- ),
61
- ...props,
62
- children: [
63
- title ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2 border-b bg-fd-muted px-4 py-1.5", children: [
64
- icon ? /* @__PURE__ */ jsx(
65
- "div",
66
- {
67
- className: "text-fd-muted-foreground [&_svg]:size-3.5",
68
- ...typeof icon === "string" ? {
69
- dangerouslySetInnerHTML: { __html: icon }
70
- } : {
71
- children: icon
72
- }
73
- }
74
- ) : null,
75
- /* @__PURE__ */ jsx("figcaption", { className: "flex-1 truncate text-fd-muted-foreground", children: title }),
76
- allowCopy ? /* @__PURE__ */ jsx(CopyButton, { className: "-me-2", onCopy }) : null
77
- ] }) : allowCopy && /* @__PURE__ */ jsx(
78
- CopyButton,
79
- {
80
- className: "absolute right-2 top-2 z-[2] backdrop-blur-md",
81
- onCopy
82
- }
83
- ),
84
- /* @__PURE__ */ jsxs(ScrollArea, { ref: areaRef, dir: "ltr", children: [
85
- /* @__PURE__ */ jsx(ScrollViewport, { children: props.children }),
86
- /* @__PURE__ */ jsx(ScrollBar, { orientation: "horizontal" })
87
- ] })
88
- ]
89
- }
90
- );
91
- }
92
- );
93
- CodeBlock.displayName = "CodeBlock";
94
- function CopyButton({
95
- className,
96
- onCopy,
97
- ...props
98
- }) {
99
- const [checked, onClick] = useCopyButton(onCopy);
100
- return /* @__PURE__ */ jsxs(
101
- "button",
102
- {
103
- type: "button",
104
- className: twMerge(
105
- buttonVariants({
106
- color: "ghost",
107
- className: "transition-all group-hover:opacity-100"
108
- }),
109
- !checked && "opacity-0",
110
- className
111
- ),
112
- "aria-label": "Copy Text",
113
- onClick,
114
- ...props,
115
- children: [
116
- /* @__PURE__ */ jsx(
117
- Check,
118
- {
119
- className: twMerge("size-3.5 transition-transform", !checked && "scale-0")
120
- }
121
- ),
122
- /* @__PURE__ */ jsx(
123
- Copy,
124
- {
125
- className: twMerge(
126
- "absolute size-3.5 transition-transform",
127
- checked && "scale-0"
128
- )
129
- }
130
- )
131
- ]
132
- }
133
- );
134
- }
135
-
136
- export {
137
- Pre,
138
- CodeBlock
139
- };
@@ -1,542 +0,0 @@
1
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
2
- import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
3
-
4
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
5
- var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
6
- var mergeClasses = (...classes) => classes.filter((className, index, array) => {
7
- return Boolean(className) && array.indexOf(className) === index;
8
- }).join(" ");
9
-
10
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
11
- import { forwardRef, createElement } from "react";
12
-
13
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
14
- var defaultAttributes = {
15
- xmlns: "http://www.w3.org/2000/svg",
16
- width: 24,
17
- height: 24,
18
- viewBox: "0 0 24 24",
19
- fill: "none",
20
- stroke: "currentColor",
21
- strokeWidth: 2,
22
- strokeLinecap: "round",
23
- strokeLinejoin: "round"
24
- };
25
-
26
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
27
- var Icon = forwardRef(
28
- ({
29
- color = "currentColor",
30
- size = 24,
31
- strokeWidth = 2,
32
- absoluteStrokeWidth,
33
- className = "",
34
- children,
35
- iconNode,
36
- ...rest
37
- }, ref) => {
38
- return createElement(
39
- "svg",
40
- {
41
- ref,
42
- ...defaultAttributes,
43
- width: size,
44
- height: size,
45
- stroke: color,
46
- strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
47
- className: mergeClasses("lucide", className),
48
- ...rest
49
- },
50
- [
51
- ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
52
- ...Array.isArray(children) ? children : [children]
53
- ]
54
- );
55
- }
56
- );
57
-
58
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
59
- var createLucideIcon = (iconName, iconNode) => {
60
- const Component = forwardRef2(
61
- ({ className, ...props }, ref) => createElement2(Icon, {
62
- ref,
63
- iconNode,
64
- className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
65
- ...props
66
- })
67
- );
68
- Component.displayName = `${iconName}`;
69
- return Component;
70
- };
71
-
72
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/check.js
73
- var Check = createLucideIcon("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
74
-
75
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/chevron-down.js
76
- var ChevronDown = createLucideIcon("ChevronDown", [
77
- ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
78
- ]);
79
-
80
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/chevron-left.js
81
- var ChevronLeft = createLucideIcon("ChevronLeft", [
82
- ["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
83
- ]);
84
-
85
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/chevron-right.js
86
- var ChevronRight = createLucideIcon("ChevronRight", [
87
- ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
88
- ]);
89
-
90
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/circle-x.js
91
- var CircleX = createLucideIcon("CircleX", [
92
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
93
- ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
94
- ["path", { d: "m9 9 6 6", key: "z0biqf" }]
95
- ]);
96
-
97
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/copy.js
98
- var Copy = createLucideIcon("Copy", [
99
- ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
100
- ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
101
- ]);
102
-
103
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/ellipsis.js
104
- var Ellipsis = createLucideIcon("Ellipsis", [
105
- ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
106
- ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
107
- ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
108
- ]);
109
-
110
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/file-text.js
111
- var FileText = createLucideIcon("FileText", [
112
- ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
113
- ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
114
- ["path", { d: "M10 9H8", key: "b1mrlr" }],
115
- ["path", { d: "M16 13H8", key: "t4e002" }],
116
- ["path", { d: "M16 17H8", key: "z1uh3a" }]
117
- ]);
118
-
119
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/file.js
120
- var File = createLucideIcon("File", [
121
- ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
122
- ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }]
123
- ]);
124
-
125
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/folder-open.js
126
- var FolderOpen = createLucideIcon("FolderOpen", [
127
- [
128
- "path",
129
- {
130
- d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",
131
- key: "usdka0"
132
- }
133
- ]
134
- ]);
135
-
136
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/folder.js
137
- var Folder = createLucideIcon("Folder", [
138
- [
139
- "path",
140
- {
141
- d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
142
- key: "1kt360"
143
- }
144
- ]
145
- ]);
146
-
147
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/hash.js
148
- var Hash = createLucideIcon("Hash", [
149
- ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
150
- ["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
151
- ["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
152
- ["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
153
- ]);
154
-
155
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/info.js
156
- var Info = createLucideIcon("Info", [
157
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
158
- ["path", { d: "M12 16v-4", key: "1dtifu" }],
159
- ["path", { d: "M12 8h.01", key: "e9boi3" }]
160
- ]);
161
-
162
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/languages.js
163
- var Languages = createLucideIcon("Languages", [
164
- ["path", { d: "m5 8 6 6", key: "1wu5hv" }],
165
- ["path", { d: "m4 14 6-6 2-3", key: "1k1g8d" }],
166
- ["path", { d: "M2 5h12", key: "or177f" }],
167
- ["path", { d: "M7 2h1", key: "1t2jsx" }],
168
- ["path", { d: "m22 22-5-10-5 10", key: "don7ne" }],
169
- ["path", { d: "M14 18h6", key: "1m8k6r" }]
170
- ]);
171
-
172
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/link.js
173
- var Link = createLucideIcon("Link", [
174
- ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
175
- ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
176
- ]);
177
-
178
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
179
- var LoaderCircle = createLucideIcon("LoaderCircle", [
180
- ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
181
- ]);
182
-
183
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/menu.js
184
- var Menu = createLucideIcon("Menu", [
185
- ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
186
- ["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
187
- ["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
188
- ]);
189
-
190
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/panel-left.js
191
- var PanelLeft = createLucideIcon("PanelLeft", [
192
- ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
193
- ["path", { d: "M9 3v18", key: "fh3hqa" }]
194
- ]);
195
-
196
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/search.js
197
- var Search = createLucideIcon("Search", [
198
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
199
- ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
200
- ]);
201
-
202
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/square-pen.js
203
- var SquarePen = createLucideIcon("SquarePen", [
204
- ["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
205
- [
206
- "path",
207
- {
208
- d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",
209
- key: "ohrbg2"
210
- }
211
- ]
212
- ]);
213
-
214
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/text.js
215
- var Text = createLucideIcon("Text", [
216
- ["path", { d: "M17 6.1H3", key: "wptmhv" }],
217
- ["path", { d: "M21 12.1H3", key: "1j38uz" }],
218
- ["path", { d: "M15.1 18H3", key: "1nb16a" }]
219
- ]);
220
-
221
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
222
- var TriangleAlert = createLucideIcon("TriangleAlert", [
223
- [
224
- "path",
225
- {
226
- d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
227
- key: "wmoenq"
228
- }
229
- ],
230
- ["path", { d: "M12 9v4", key: "juzpu7" }],
231
- ["path", { d: "M12 17h.01", key: "p32p05" }]
232
- ]);
233
-
234
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js
235
- var X = createLucideIcon("X", [
236
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
237
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
238
- ]);
239
-
240
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/external-link.js
241
- var ExternalLink = createLucideIcon("ExternalLink", [
242
- ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
243
- ["path", { d: "M10 14 21 3", key: "gplh6r" }],
244
- ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
245
- ]);
246
-
247
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/moon.js
248
- var Moon = createLucideIcon("Moon", [
249
- ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "a7tn18" }]
250
- ]);
251
-
252
- // ../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/sun.js
253
- var Sun = createLucideIcon("Sun", [
254
- ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
255
- ["path", { d: "M12 2v2", key: "tus03m" }],
256
- ["path", { d: "M12 20v2", key: "1lh1kg" }],
257
- ["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
258
- ["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
259
- ["path", { d: "M2 12h2", key: "1t8f8n" }],
260
- ["path", { d: "M20 12h2", key: "1q8mjw" }],
261
- ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
262
- ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
263
- ]);
264
-
265
- export {
266
- Check,
267
- ChevronDown,
268
- ChevronLeft,
269
- ChevronRight,
270
- CircleX,
271
- Copy,
272
- Ellipsis,
273
- ExternalLink,
274
- FileText,
275
- File,
276
- FolderOpen,
277
- Folder,
278
- Hash,
279
- Info,
280
- Languages,
281
- Link,
282
- LoaderCircle,
283
- Menu,
284
- Moon,
285
- PanelLeft,
286
- Search,
287
- SquarePen,
288
- Sun,
289
- Text,
290
- TriangleAlert,
291
- X
292
- };
293
- /*! Bundled license information:
294
-
295
- lucide-react/dist/esm/shared/src/utils.js:
296
- (**
297
- * @license lucide-react v0.453.0 - ISC
298
- *
299
- * This source code is licensed under the ISC license.
300
- * See the LICENSE file in the root directory of this source tree.
301
- *)
302
-
303
- lucide-react/dist/esm/defaultAttributes.js:
304
- (**
305
- * @license lucide-react v0.453.0 - ISC
306
- *
307
- * This source code is licensed under the ISC license.
308
- * See the LICENSE file in the root directory of this source tree.
309
- *)
310
-
311
- lucide-react/dist/esm/Icon.js:
312
- (**
313
- * @license lucide-react v0.453.0 - ISC
314
- *
315
- * This source code is licensed under the ISC license.
316
- * See the LICENSE file in the root directory of this source tree.
317
- *)
318
-
319
- lucide-react/dist/esm/createLucideIcon.js:
320
- (**
321
- * @license lucide-react v0.453.0 - ISC
322
- *
323
- * This source code is licensed under the ISC license.
324
- * See the LICENSE file in the root directory of this source tree.
325
- *)
326
-
327
- lucide-react/dist/esm/icons/check.js:
328
- (**
329
- * @license lucide-react v0.453.0 - ISC
330
- *
331
- * This source code is licensed under the ISC license.
332
- * See the LICENSE file in the root directory of this source tree.
333
- *)
334
-
335
- lucide-react/dist/esm/icons/chevron-down.js:
336
- (**
337
- * @license lucide-react v0.453.0 - ISC
338
- *
339
- * This source code is licensed under the ISC license.
340
- * See the LICENSE file in the root directory of this source tree.
341
- *)
342
-
343
- lucide-react/dist/esm/icons/chevron-left.js:
344
- (**
345
- * @license lucide-react v0.453.0 - ISC
346
- *
347
- * This source code is licensed under the ISC license.
348
- * See the LICENSE file in the root directory of this source tree.
349
- *)
350
-
351
- lucide-react/dist/esm/icons/chevron-right.js:
352
- (**
353
- * @license lucide-react v0.453.0 - ISC
354
- *
355
- * This source code is licensed under the ISC license.
356
- * See the LICENSE file in the root directory of this source tree.
357
- *)
358
-
359
- lucide-react/dist/esm/icons/circle-x.js:
360
- (**
361
- * @license lucide-react v0.453.0 - ISC
362
- *
363
- * This source code is licensed under the ISC license.
364
- * See the LICENSE file in the root directory of this source tree.
365
- *)
366
-
367
- lucide-react/dist/esm/icons/copy.js:
368
- (**
369
- * @license lucide-react v0.453.0 - ISC
370
- *
371
- * This source code is licensed under the ISC license.
372
- * See the LICENSE file in the root directory of this source tree.
373
- *)
374
-
375
- lucide-react/dist/esm/icons/ellipsis.js:
376
- (**
377
- * @license lucide-react v0.453.0 - ISC
378
- *
379
- * This source code is licensed under the ISC license.
380
- * See the LICENSE file in the root directory of this source tree.
381
- *)
382
-
383
- lucide-react/dist/esm/icons/file-text.js:
384
- (**
385
- * @license lucide-react v0.453.0 - ISC
386
- *
387
- * This source code is licensed under the ISC license.
388
- * See the LICENSE file in the root directory of this source tree.
389
- *)
390
-
391
- lucide-react/dist/esm/icons/file.js:
392
- (**
393
- * @license lucide-react v0.453.0 - ISC
394
- *
395
- * This source code is licensed under the ISC license.
396
- * See the LICENSE file in the root directory of this source tree.
397
- *)
398
-
399
- lucide-react/dist/esm/icons/folder-open.js:
400
- (**
401
- * @license lucide-react v0.453.0 - ISC
402
- *
403
- * This source code is licensed under the ISC license.
404
- * See the LICENSE file in the root directory of this source tree.
405
- *)
406
-
407
- lucide-react/dist/esm/icons/folder.js:
408
- (**
409
- * @license lucide-react v0.453.0 - ISC
410
- *
411
- * This source code is licensed under the ISC license.
412
- * See the LICENSE file in the root directory of this source tree.
413
- *)
414
-
415
- lucide-react/dist/esm/icons/hash.js:
416
- (**
417
- * @license lucide-react v0.453.0 - ISC
418
- *
419
- * This source code is licensed under the ISC license.
420
- * See the LICENSE file in the root directory of this source tree.
421
- *)
422
-
423
- lucide-react/dist/esm/icons/info.js:
424
- (**
425
- * @license lucide-react v0.453.0 - ISC
426
- *
427
- * This source code is licensed under the ISC license.
428
- * See the LICENSE file in the root directory of this source tree.
429
- *)
430
-
431
- lucide-react/dist/esm/icons/languages.js:
432
- (**
433
- * @license lucide-react v0.453.0 - ISC
434
- *
435
- * This source code is licensed under the ISC license.
436
- * See the LICENSE file in the root directory of this source tree.
437
- *)
438
-
439
- lucide-react/dist/esm/icons/link.js:
440
- (**
441
- * @license lucide-react v0.453.0 - ISC
442
- *
443
- * This source code is licensed under the ISC license.
444
- * See the LICENSE file in the root directory of this source tree.
445
- *)
446
-
447
- lucide-react/dist/esm/icons/loader-circle.js:
448
- (**
449
- * @license lucide-react v0.453.0 - ISC
450
- *
451
- * This source code is licensed under the ISC license.
452
- * See the LICENSE file in the root directory of this source tree.
453
- *)
454
-
455
- lucide-react/dist/esm/icons/menu.js:
456
- (**
457
- * @license lucide-react v0.453.0 - ISC
458
- *
459
- * This source code is licensed under the ISC license.
460
- * See the LICENSE file in the root directory of this source tree.
461
- *)
462
-
463
- lucide-react/dist/esm/icons/panel-left.js:
464
- (**
465
- * @license lucide-react v0.453.0 - ISC
466
- *
467
- * This source code is licensed under the ISC license.
468
- * See the LICENSE file in the root directory of this source tree.
469
- *)
470
-
471
- lucide-react/dist/esm/icons/search.js:
472
- (**
473
- * @license lucide-react v0.453.0 - ISC
474
- *
475
- * This source code is licensed under the ISC license.
476
- * See the LICENSE file in the root directory of this source tree.
477
- *)
478
-
479
- lucide-react/dist/esm/icons/square-pen.js:
480
- (**
481
- * @license lucide-react v0.453.0 - ISC
482
- *
483
- * This source code is licensed under the ISC license.
484
- * See the LICENSE file in the root directory of this source tree.
485
- *)
486
-
487
- lucide-react/dist/esm/icons/text.js:
488
- (**
489
- * @license lucide-react v0.453.0 - ISC
490
- *
491
- * This source code is licensed under the ISC license.
492
- * See the LICENSE file in the root directory of this source tree.
493
- *)
494
-
495
- lucide-react/dist/esm/icons/triangle-alert.js:
496
- (**
497
- * @license lucide-react v0.453.0 - ISC
498
- *
499
- * This source code is licensed under the ISC license.
500
- * See the LICENSE file in the root directory of this source tree.
501
- *)
502
-
503
- lucide-react/dist/esm/icons/x.js:
504
- (**
505
- * @license lucide-react v0.453.0 - ISC
506
- *
507
- * This source code is licensed under the ISC license.
508
- * See the LICENSE file in the root directory of this source tree.
509
- *)
510
-
511
- lucide-react/dist/esm/icons/external-link.js:
512
- (**
513
- * @license lucide-react v0.453.0 - ISC
514
- *
515
- * This source code is licensed under the ISC license.
516
- * See the LICENSE file in the root directory of this source tree.
517
- *)
518
-
519
- lucide-react/dist/esm/icons/moon.js:
520
- (**
521
- * @license lucide-react v0.453.0 - ISC
522
- *
523
- * This source code is licensed under the ISC license.
524
- * See the LICENSE file in the root directory of this source tree.
525
- *)
526
-
527
- lucide-react/dist/esm/icons/sun.js:
528
- (**
529
- * @license lucide-react v0.453.0 - ISC
530
- *
531
- * This source code is licensed under the ISC license.
532
- * See the LICENSE file in the root directory of this source tree.
533
- *)
534
-
535
- lucide-react/dist/esm/lucide-react.js:
536
- (**
537
- * @license lucide-react v0.453.0 - ISC
538
- *
539
- * This source code is licensed under the ISC license.
540
- * See the LICENSE file in the root directory of this source tree.
541
- *)
542
- */
@@ -1,8 +0,0 @@
1
- // src/utils/shared.ts
2
- function isActive(url, pathname, nested = true) {
3
- return url === pathname || nested && pathname.startsWith(`${url}/`);
4
- }
5
-
6
- export {
7
- isActive
8
- };