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/components/index.js
CHANGED
|
@@ -1989,6 +1989,9 @@ function SearchModal({ isOpen, onClose, config }) {
|
|
|
1989
1989
|
// src/components/docs/header.tsx
|
|
1990
1990
|
var import_react13 = require("react");
|
|
1991
1991
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1992
|
+
function XIcon2({ className }) {
|
|
1993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", { viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("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" }) });
|
|
1994
|
+
}
|
|
1992
1995
|
function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
|
|
1993
1996
|
const contextConfig = useConfig();
|
|
1994
1997
|
const config = configProp || contextConfig;
|
|
@@ -2053,7 +2056,7 @@ function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
|
|
|
2053
2056
|
rel: "noopener noreferrer",
|
|
2054
2057
|
className: "hidden md:flex items-center justify-center h-9 w-9 rounded-md hover:bg-muted transition-colors",
|
|
2055
2058
|
"aria-label": "Twitter",
|
|
2056
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2059
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(XIcon2, { className: "h-4 w-4" })
|
|
2057
2060
|
}
|
|
2058
2061
|
),
|
|
2059
2062
|
config.social?.discord && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|