specra 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -2
- package/dist/components/index.mjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -871,7 +871,7 @@ function DocLoading() {
|
|
|
871
871
|
|
|
872
872
|
// src/components/docs/header.tsx
|
|
873
873
|
import Link4 from "next/link";
|
|
874
|
-
import { Search as Search2, Menu, Github,
|
|
874
|
+
import { Search as Search2, Menu, Github, MessageCircle } from "lucide-react";
|
|
875
875
|
|
|
876
876
|
// src/components/docs/version-switcher.tsx
|
|
877
877
|
import { useState as useState8 } from "react";
|
|
@@ -1346,6 +1346,9 @@ function SearchModal({ isOpen, onClose, config }) {
|
|
|
1346
1346
|
// src/components/docs/header.tsx
|
|
1347
1347
|
import { useState as useState12, useEffect as useEffect7 } from "react";
|
|
1348
1348
|
import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1349
|
+
function XIcon2({ className }) {
|
|
1350
|
+
return /* @__PURE__ */ jsx18("svg", { viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsx18("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) });
|
|
1351
|
+
}
|
|
1349
1352
|
function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
|
|
1350
1353
|
const contextConfig = useConfig();
|
|
1351
1354
|
const config = configProp || contextConfig;
|
|
@@ -1410,7 +1413,7 @@ function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
|
|
|
1410
1413
|
rel: "noopener noreferrer",
|
|
1411
1414
|
className: "hidden md:flex items-center justify-center h-9 w-9 rounded-md hover:bg-muted transition-colors",
|
|
1412
1415
|
"aria-label": "Twitter",
|
|
1413
|
-
children: /* @__PURE__ */ jsx18(
|
|
1416
|
+
children: /* @__PURE__ */ jsx18(XIcon2, { className: "h-4 w-4" })
|
|
1414
1417
|
}
|
|
1415
1418
|
),
|
|
1416
1419
|
config.social?.discord && /* @__PURE__ */ jsx18(
|